Finish adding --buildtype=release

Most meson based packages should be built with --buildtype=release.
There are a lot of these packages in BLFS.  Not all meson based
packages need this.  For example gnome-backgrounds only installs
data and mutteer needs --buildtype=debugoptimized for tests.

This commit finishes all of BLFS.
This commit is contained in:
Bruce Dubbs 2021-07-18 12:41:51 -05:00
parent 126313f846
commit b9fc02af1f
12 changed files with 32 additions and 30 deletions

View File

@ -8,7 +8,7 @@
<!ENTITY baobab-download-ftp "&gnome-download-ftp;/baobab/&gnome-40;/baobab-&baobab-version;.tar.xz">
<!ENTITY baobab-md5sum "7b95ce82fa0607104fee9da78f3b17c7">
<!ENTITY baobab-size "572 KB">
<!ENTITY baobab-buildsize "13 MB">
<!ENTITY baobab-buildsize "7.4 MB">
<!ENTITY baobab-time "0.1 SBU (Using parallelism=4)">
]>
@ -96,7 +96,7 @@
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson --prefix=/usr .. &amp;&amp;
meson --prefix=/usr --buildtype=release .. &amp;&amp;
ninja</userinput></screen>
<para>

View File

@ -10,7 +10,7 @@
"&gnome-download-ftp;/gnome-calculator/&gnome-40;/gnome-calculator-&gnome-calculator-version;.tar.xz">
<!ENTITY gnome-calculator-md5sum "57e05479d89a68a3649aa4bad69a02da">
<!ENTITY gnome-calculator-size "1000 KB">
<!ENTITY gnome-calculator-buildsize "45 MB (with tests)">
<!ENTITY gnome-calculator-buildsize "36 MB (with tests)">
<!ENTITY gnome-calculator-time "0.4 SBU (with tests)">
]>
@ -115,7 +115,7 @@
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson --prefix=/usr .. &amp;&amp;
meson --prefix=/usr --buildtype=release .. &amp;&amp;
ninja</userinput></screen>
<para>

View File

@ -10,7 +10,7 @@
"&gnome-download-ftp;/gnome-color-manager/&gnome-minor-36;/gnome-color-manager-&gnome-color-manager-version;.tar.xz">
<!ENTITY gnome-color-manager-md5sum "c5360705a68e88455b1801200e9aaa2e">
<!ENTITY gnome-color-manager-size "2.1 MB">
<!ENTITY gnome-color-manager-buildsize "18 MB">
<!ENTITY gnome-color-manager-buildsize "12 MB">
<!ENTITY gnome-color-manager-time "0.1 SBU">
]>
@ -118,7 +118,7 @@
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson --prefix=/usr .. &amp;&amp;
meson --prefix=/usr --buildtype=release .. &amp;&amp;
ninja</userinput></screen>
<para>

View File

@ -10,7 +10,7 @@
"&gnome-download-ftp;/gnome-disk-utility/&gnome-40;/gnome-disk-utility-&gnome-disk-utility-version;.tar.xz">
<!ENTITY gnome-disk-utility-md5sum "fc26e4437418da1ce6b08f117745ae60">
<!ENTITY gnome-disk-utility-size "1.3 MB">
<!ENTITY gnome-disk-utility-buildsize "28 MB">
<!ENTITY gnome-disk-utility-buildsize "25 MB">
<!ENTITY gnome-disk-utility-time "0.2 SBU">
]>
@ -106,7 +106,7 @@
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson --prefix=/usr &amp;&amp;
meson --prefix=/usr --buildtype=release .. &amp;&amp;
ninja</userinput></screen>
<para>

View File

@ -10,7 +10,7 @@
"&gnome-download-ftp;/gnome-maps/&gnome-40;/gnome-maps-&gnome-maps-version;.tar.xz">
<!ENTITY gnome-maps-md5sum "59807f1cfcb73637e6c19a1774ef8f25">
<!ENTITY gnome-maps-size "3.4 MB">
<!ENTITY gnome-maps-buildsize "17 MB">
<!ENTITY gnome-maps-buildsize "12 MB">
<!ENTITY gnome-maps-time "less than 0.1 SBU">
]>
@ -104,7 +104,7 @@
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson --prefix=/usr .. &amp;&amp;
meson --prefix=/usr --buildtype=release .. &amp;&amp;
ninja</userinput></screen>
<para>

View File

@ -10,7 +10,7 @@
"&gnome-download-ftp;/gnome-power-manager/&gnome-minor-32;/gnome-power-manager-&gnome-power-manager-version;.tar.xz">
<!ENTITY gnome-power-manager-md5sum "9349e6447c80bcbd71d5a4f1469f508e">
<!ENTITY gnome-power-manager-size "372 KB">
<!ENTITY gnome-power-manager-buildsize "6.4 MB">
<!ENTITY gnome-power-manager-buildsize "4.3 MB">
<!ENTITY gnome-power-manager-time "less than 0.1 SBU (with tests)">
]>
@ -102,7 +102,7 @@
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson --prefix=/usr .. &amp;&amp;
meson --prefix=/usr --buildtype=release .. &amp;&amp;
ninja</userinput></screen>
<para>

View File

@ -10,7 +10,7 @@
"&gnome-download-ftp;/gnome-screenshot/&gnome-40;/gnome-screenshot-&gnome-screenshot-version;.tar.xz">
<!ENTITY gnome-screenshot-md5sum "9300f1ef8edd9f1ec7903c4121dea247">
<!ENTITY gnome-screenshot-size "352 KB">
<!ENTITY gnome-screenshot-buildsize "6.5 MB">
<!ENTITY gnome-screenshot-buildsize "3.8 MB">
<!ENTITY gnome-screenshot-time "less than 0.1 SBU">
]>
@ -97,7 +97,7 @@
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson --prefix=/usr .. &amp;&amp;
meson --prefix=/usr --buildtype=release .. &amp;&amp;
ninja</userinput></screen>
<para>

View File

@ -10,7 +10,7 @@
"&gnome-download-ftp;/gnome-system-monitor/&gnome-40;/gnome-system-monitor-&gnome-system-monitor-version;.tar.xz">
<!ENTITY gnome-system-monitor-md5sum "aad861b88ccd59a6a41217457600ba13">
<!ENTITY gnome-system-monitor-size "748 KB">
<!ENTITY gnome-system-monitor-buildsize "24 MB">
<!ENTITY gnome-system-monitor-buildsize "15 MB">
<!ENTITY gnome-system-monitor-time "0.2 SBU (with parallelism=4)">
]>
@ -105,13 +105,13 @@
<screen revision="sysv"><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson --prefix=/usr -Dsystemd=false .. &amp;&amp;
meson --prefix=/usr -Dsystemd=false --buildtype=release .. &amp;&amp;
ninja</userinput></screen>
<screen revision="systemd"><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson --prefix=/usr .. &amp;&amp;
meson --prefix=/usr --buildtype=release .. &amp;&amp;
ninja</userinput></screen>
<para>

View File

@ -11,7 +11,7 @@
<!ENTITY gucharmap-download-ftp " ">
<!ENTITY gucharmap-md5sum "5dbe3a3f6d063f819f82f15d6613a7a4">
<!ENTITY gucharmap-size "1.3 MB">
<!ENTITY gucharmap-buildsize "77 MB">
<!ENTITY gucharmap-buildsize "68 MB">
<!ENTITY gucharmap-time "0.1 SBU">
]>
@ -130,15 +130,17 @@
commands:
</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
mkdir ucd &amp;&amp;
pushd ucd &amp;&amp;
unzip ../../../UCD.zip &amp;&amp;
cp -v ../../../Unihan.zip . &amp;&amp;
popd &amp;&amp;
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
mkdir ucd &amp;&amp;
pushd ucd &amp;&amp;
unzip ../../../UCD.zip &amp;&amp;
cp -v ../../../Unihan.zip . &amp;&amp;
popd &amp;&amp;
meson --prefix=/usr \
--strip \
--buildtype=release \
-Ducd_path=./ucd \
-Ddocs=false .. &amp;&amp;
ninja</userinput></screen>

View File

@ -8,7 +8,7 @@
<!ENTITY folks-download-ftp "&gnome-download-ftp;/folks/0.15/folks-&folks-version;.tar.xz">
<!ENTITY folks-md5sum "db7d824bcc7b2404c9570451028f1aa6">
<!ENTITY folks-size "480 KB">
<!ENTITY folks-buildsize "47 MB (add 22 MB for tests)">
<!ENTITY folks-buildsize "28 MB (add 22 MB for tests)">
<!ENTITY folks-time "0.2 SBU (Using parallelism=4, add 0.3 SBU for tests)">
]>
@ -112,7 +112,7 @@
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson --prefix=/usr .. &amp;&amp;
meson --prefix=/usr --buildtype=release .. &amp;&amp;
ninja</userinput></screen>
<para>

View File

@ -87,7 +87,7 @@
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson --prefix=/usr .. &amp;&amp;
meson --prefix=/usr --buildtype=release .. &amp;&amp;
ninja</userinput></screen>
<para>

View File

@ -10,7 +10,7 @@
"&gnome-download-ftp;/gsettings-desktop-schemas/&gnome-40;/gsettings-desktop-schemas-&gsettings-desktop-schemas-version;.tar.xz">
<!ENTITY gsettings-desktop-schemas-md5sum "345e5b2340f4c6fd1b90597745761ddf">
<!ENTITY gsettings-desktop-schemas-size "688 KB">
<!ENTITY gsettings-desktop-schemas-buildsize "18 MB">
<!ENTITY gsettings-desktop-schemas-buildsize "12 MB">
<!ENTITY gsettings-desktop-schemas-time "less than 0.1 SBU">
]>
@ -98,7 +98,7 @@
mkdir build &amp;&amp;
cd build &amp;&amp;
meson --prefix=/usr .. &amp;&amp;
meson --prefix=/usr --buildtype=release .. &amp;&amp;
ninja</userinput></screen>
<para>