summaryrefslogtreecommitdiff
path: root/source/xap/mozilla-thunderbird
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2021-03-25 01:29:36 +0000
committerEric Hameleers <alien@slackware.com>2021-03-25 08:59:54 +0100
commit74147bf26e89436f62ddf9e4390aba27fa6c4581 (patch)
treec238ad6aa109a6fe1362a74aad4d438693a56981 /source/xap/mozilla-thunderbird
parent0f03f1b385050b37bf9e0adc1f93b6e45788b99b (diff)
downloadcurrent-74147bf26e89436f62ddf9e4390aba27fa6c4581.tar.gz
Thu Mar 25 01:29:36 UTC 202120210325012936
a/dialog-1.3_20210319-x86_64-2.txz: Rebuilt. Install /etc/dialogrc as /etc/dialogrc.new. This won't protect the file with this update, but it will moving forward. Thanks to Tonus. l/libsigc++3-3.0.6-x86_64-1.txz: Added. x/libinput-1.17.1-x86_64-1.txz: Upgraded. xap/mozilla-firefox-87.0-x86_64-2.txz: Rebuilt. Pass --enable-optimize to let the build handle optimizations (apparently which optimizations work best differs throughout the tree). Don't pass optimization options in CFLAGS/CXXFLAGS. Build with --enable-rust-simd since upstream's binary releases do. xap/mozilla-thunderbird-78.9.0-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/thunderbird/78.9.0/releasenotes/ https://www.mozilla.org/en-US/security/advisories/mfsa2021-12/ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23981 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23982 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23984 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23987 (* Security fix *) testing/packages/linux-5.11.x/kernel-generic-5.11.9-x86_64-1.txz: Upgraded. testing/packages/linux-5.11.x/kernel-headers-5.11.9-x86-1.txz: Upgraded. testing/packages/linux-5.11.x/kernel-huge-5.11.9-x86_64-1.txz: Upgraded. testing/packages/linux-5.11.x/kernel-modules-5.11.9-x86_64-1.txz: Upgraded. testing/packages/linux-5.11.x/kernel-source-5.11.9-noarch-1.txz: Upgraded. -ADI_AXI_ADC m AD9467 m -> n FONT_TER16x32 n -> y
Diffstat (limited to 'source/xap/mozilla-thunderbird')
-rwxr-xr-xsource/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild27
1 files changed, 13 insertions, 14 deletions
diff --git a/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild b/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild
index e81df3bd..58667bf8 100755
--- a/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild
+++ b/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild
@@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=mozilla-thunderbird
VERSION=$(basename $(ls thunderbird-*.tar.?z | cut -d - -f 2 | rev | cut -f 3- -d . | rev) .source)
RELEASEVER=$(echo $VERSION | cut -f 1 -d e | cut -f 1 -d b)
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
# Specify this variable for a localized build.
# For example, to build a version of Thunderbird with Italian support, run
@@ -92,25 +92,26 @@ if [ "$(uname -m)" = "x86_64" -a "$(file -L /usr/bin/gcc | grep 80386 | grep 32-
fi
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS=""
+ SLKCFLAGS="-g0"
LIBDIRSUFFIX=""
- OPTIMIZE=${OPTIMIZE:-"-O2 -g0"}
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS=""
+ SLKCFLAGS="-g0"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-g0"
LIBDIRSUFFIX=""
- OPTIMIZE=${OPTIMIZE:-"-O2 -g0"}
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-fPIC"
+ SLKCFLAGS="-g0 -fPIC"
LIBDIRSUFFIX="64"
- OPTIMIZE=${OPTIMIZE:-"-O2 -g0"}
elif [ "$ARCH" = "arm" ]; then
- SLKCFLAGS="-march=armv4 -mtune=xscale"
+ SLKCFLAGS="-g0 -march=armv4 -mtune=xscale"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "armel" ]; then
+ SLKCFLAGS="-g0 -march=armv4t"
LIBDIRSUFFIX=""
- OPTIMIZE=${OPTIMIZE:-"-O2 -g0"}
else
- SLKCFLAGS=""
+ SLKCFLAGS="-g0"
LIBDIRSUFFIX=""
- OPTIMIZE=${OPTIMIZE:-"-O2 -g0"}
fi
# Choose a compiler (gcc/g++ or clang/clang++):
@@ -222,6 +223,7 @@ OPTIONS="\
--disable-install-strip \
--enable-cpp-rtti \
--enable-accessibility \
+ --enable-optimize \
$GOOGLE_API_KEY \
--disable-crashreporter \
--disable-debug-symbols \
@@ -272,9 +274,6 @@ echo "mk_add_options MOZ_OBJDIR=$(pwd)/obj" >> .mozconfig
# This directory is also needed or the build will fail:
mkdir -p mozilla/obj
-# Set options for $OPTIMIZE:
-echo "ac_add_options --enable-optimize=\"${OPTIMIZE}\"" >> .mozconfig
-
if [ "$COMPILE_X86_UNDER_X86_64" = "true" ]; then
# Compile for i686 under an x86_64 kernel:
echo "ac_add_options --host=i686-pc-linux-gnu" >> .mozconfig