mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
add xinclude for --buildtype=release
This commit is contained in:
parent
307e799f8d
commit
3918112abd
@ -173,8 +173,8 @@ cd build &&
|
||||
meson --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--buildtype=release \
|
||||
-Dblkid=true \
|
||||
-Dbuildtype=release \
|
||||
-Ddefault-dnssec=no \
|
||||
-Dfirstboot=false \
|
||||
-Dinstall-tests=false \
|
||||
@ -252,6 +252,9 @@ ninja</userinput></screen>
|
||||
</para>
|
||||
-->
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/meson-buildtype-release.xml"/>
|
||||
|
||||
<para>
|
||||
<parameter>-Dpamconfdir=/etc/pam.d</parameter>: Forces the PAM files to
|
||||
be installed in /etc/pam.d rather than /usr/lib/pam.d.
|
||||
|
@ -103,7 +103,7 @@
|
||||
<screen><userinput>mkdir build &&
|
||||
cd build &&
|
||||
|
||||
meson --prefix=/usr -Dbuildtype=release .. &&
|
||||
meson --prefix=/usr --buildtype=release .. &&
|
||||
ninja</userinput></screen>
|
||||
|
||||
<para>
|
||||
@ -121,6 +121,9 @@ ninja</userinput></screen>
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/meson-buildtype-release.xml"/>
|
||||
|
||||
<para>
|
||||
<option>-Dgtk_doc=true</option>: Use this option
|
||||
to build the API reference manual.
|
||||
|
@ -112,7 +112,7 @@
|
||||
cd build &&
|
||||
|
||||
meson --prefix=/usr \
|
||||
-Dbuildtype=release \
|
||||
--buildtype=release \
|
||||
-Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/svn/ \
|
||||
-Dpackage-name="GStreamer &gst10-libav-version; BLFS" &&
|
||||
ninja</userinput></screen>
|
||||
@ -129,17 +129,12 @@ ninja</userinput></screen>
|
||||
<screen role="root"><userinput>ninja install</userinput></screen>
|
||||
</sect2>
|
||||
|
||||
<!-- No longer included with Meson change
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para>
|
||||
<option>- -with-libav-extra-configure="- -disable-yasm"</option>: Use this
|
||||
switch if you don't have <application>yasm</application> installed.
|
||||
</para>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/meson-buildtype-release.xml"/>
|
||||
</sect2>
|
||||
-->
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
@ -193,7 +193,7 @@
|
||||
cd build &&
|
||||
|
||||
meson --prefix=/usr \
|
||||
-Dbuildtype=release \
|
||||
--buildtype=release \
|
||||
-Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/svn/ \
|
||||
-Dpackage-name="GStreamer &gst10-plugins-bad-version; BLFS" &&
|
||||
ninja</userinput></screen>
|
||||
@ -210,6 +210,13 @@ ninja</userinput></screen>
|
||||
<screen role="root"><userinput>ninja install</userinput></screen>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/meson-buildtype-release.xml"/>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
|
@ -145,7 +145,7 @@
|
||||
cd build &&
|
||||
|
||||
meson --prefix=/usr \
|
||||
-Dbuildtype=release \
|
||||
--buildtype=release \
|
||||
-Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/svn/ \
|
||||
-Dpackage-name="GStreamer &gst10-plugins-base-version; BLFS" \
|
||||
--wrap-mode=nodownload &&
|
||||
@ -178,8 +178,12 @@ ninja</userinput></screen>
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/meson-buildtype-release.xml"/>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/meson-wrap-nodownload.xml"/>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
|
@ -163,7 +163,7 @@ mkdir build &&
|
||||
cd build &&
|
||||
|
||||
meson --prefix=/usr \
|
||||
-Dbuildtype=release \
|
||||
--buildtype=release \
|
||||
-Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/svn/ \
|
||||
-Dpackage-name="GStreamer &gst10-plugins-good-version; BLFS" &&
|
||||
ninja</userinput></screen>
|
||||
@ -180,6 +180,13 @@ ninja</userinput></screen>
|
||||
<screen role="root"><userinput>ninja install</userinput></screen>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/meson-buildtype-release.xml"/>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
|
@ -126,7 +126,7 @@
|
||||
cd build &&
|
||||
|
||||
meson --prefix=/usr \
|
||||
-Dbuildtype=release \
|
||||
--buildtype=release \
|
||||
-Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/svn/ \
|
||||
-Dpackage-name="GStreamer &gst10-plugins-good-version; BLFS" &&
|
||||
ninja</userinput></screen>
|
||||
@ -142,6 +142,13 @@ ninja</userinput></screen>
|
||||
<screen role="root"><userinput>ninja install</userinput></screen>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/meson-buildtype-release.xml"/>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
|
@ -107,7 +107,7 @@
|
||||
cd build &&
|
||||
|
||||
meson --prefix=/usr \
|
||||
-Dbuildtype=release \
|
||||
--buildtype=release \
|
||||
-Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/svn/ &&
|
||||
ninja</userinput></screen>
|
||||
|
||||
@ -123,6 +123,13 @@ ninja</userinput></screen>
|
||||
<screen role="root"><userinput>ninja install</userinput></screen>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/meson-buildtype-release.xml"/>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
|
@ -129,7 +129,7 @@
|
||||
cd build &&
|
||||
|
||||
meson --prefix=/usr \
|
||||
-Dbuildtype=release \
|
||||
--buildtype=release \
|
||||
-Dgst_debug=false \
|
||||
-Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/svn/ \
|
||||
-Dpackage-name="GStreamer &gstreamer10-version; BLFS" &&
|
||||
@ -159,6 +159,13 @@ ninja</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/meson-buildtype-release.xml"/>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
|
@ -113,7 +113,7 @@
|
||||
<screen><userinput>mkdir build &&
|
||||
cd build &&
|
||||
|
||||
meson --prefix=/usr -Dbuildtype=release .. &&
|
||||
meson --prefix=/usr --buildtype=release .. &&
|
||||
ninja</userinput></screen>
|
||||
|
||||
<para>
|
||||
@ -134,6 +134,9 @@ ninja</userinput></screen>
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/meson-buildtype-release.xml"/>
|
||||
|
||||
<para>
|
||||
<parameter>-Duser_documentation=false</parameter>: This switch disables
|
||||
generating the user documentation. Omit this switch if you have
|
||||
|
@ -137,11 +137,8 @@ ln -sfv /usr/libexec/p11-kit/trust-extract-compat \
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para>
|
||||
<parameter>--buildtype=release</parameter>: Override the default
|
||||
buildtype (<quote>debug</quote>), which would produce unoptimized
|
||||
binaries.
|
||||
</para>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="../../xincludes/meson-buildtype-release.xml"/>
|
||||
|
||||
<para>
|
||||
<parameter>-Dtrust_paths=/etc/pki/anchors</parameter>: this switch
|
||||
|
@ -230,7 +230,7 @@ DRI_DRIVERS="i965,nouveau"</userinput></screen>
|
||||
cd build &&
|
||||
|
||||
meson --prefix=$XORG_PREFIX \
|
||||
-Dbuildtype=release \
|
||||
--buildtype=release \
|
||||
-Ddri-drivers=$DRI_DRIVERS \
|
||||
-Dgallium-drivers=$GALLIUM_DRV \
|
||||
-Dgallium-nine=false \
|
||||
@ -274,7 +274,7 @@ cp -rfv ../docs/* /usr/share/doc/mesa-&mesa-version;</userinput></screen>
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para>
|
||||
<parameter>-Dbuildtype=release</parameter>: This switch ensures a
|
||||
<parameter>--buildtype=release</parameter>: This switch ensures a
|
||||
fully-optimized build, and disables debug assertions which will
|
||||
severely slow down the libraries in certain use-cases. Without this
|
||||
switch, build sizes can span into the 2GB range.
|
||||
|
Loading…
Reference in New Issue
Block a user