summaryrefslogtreecommitdiff
path: root/source/xap
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-11-15 00:02:28 +0000
committerEric Hameleers <alien@slackware.com>2020-11-15 08:59:52 +0100
commitafa84d07f6404ecde7102e1e1c3c31a8cfe16c21 (patch)
tree5b5fc24ce568d113ef96616f6f954f1488f300ac /source/xap
parentb22bcef8a48210e2abd55e7e5f653d4c0086958f (diff)
downloadcurrent-afa84d07f6404ecde7102e1e1c3c31a8cfe16c21.tar.gz
Sun Nov 15 00:02:28 UTC 202020201115000228
a/inotify-tools-3.20.11.0-x86_64-1.txz: Upgraded. d/bison-3.7.4-x86_64-1.txz: Upgraded. l/gmp-6.2.1-x86_64-1.txz: Upgraded. l/mozilla-nss-3.59-x86_64-1.txz: Upgraded. xap/seamonkey-2.53.5-x86_64-1.txz: Upgraded. This update contains security fixes and improvements. For more information, see: https://www.seamonkey-project.org/releases/seamonkey2.53.5 (* Security fix *) testing/packages/vtown/kde/attica-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/baloo-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/bluez-qt-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/breeze-icons-5.76.0-noarch-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/digikam-7.1.0-x86_64-1_vtown_2.txz: Rebuilt. Moved to the correct directory. :-) testing/packages/vtown/kde/extra-cmake-modules-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/frameworkintegration-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kactivities-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kactivities-stats-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kapidox-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/karchive-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kauth-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kbookmarks-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kcalendarcore-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kcmutils-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kcodecs-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kcompletion-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kconfig-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kconfigwidgets-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kcontacts-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kcoreaddons-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kcrash-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kdav-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kdbusaddons-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kdeclarative-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kded-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kdelibs4support-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kdesignerplugin-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kdesu-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kdewebkit-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kdnssd-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kdoctools-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kemoticons-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kfilemetadata-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kglobalaccel-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kguiaddons-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kholidays-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/khtml-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/ki18n-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kiconthemes-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kidletime-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kimageformats-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kinit-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kio-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kirigami2-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kitemmodels-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kitemviews-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kjobwidgets-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kjs-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kjsembed-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kmediaplayer-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/knewstuff-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/knotifications-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/knotifyconfig-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kpackage-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kparts-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kpeople-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kplotting-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kpty-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kquickcharts-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kross-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/krunner-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kservice-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/ktexteditor-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/ktextwidgets-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kunitconversion-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kwallet-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kwayland-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kwidgetsaddons-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kwindowsystem-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kxmlgui-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/kxmlrpcclient-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/modemmanager-qt-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/networkmanager-qt-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/oxygen-icons5-5.76.0-noarch-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/plasma-framework-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/prison-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/purpose-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/qqc2-desktop-style-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/solid-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/sonnet-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/syndication-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/syntax-highlighting-5.76.0-x86_64-1_vtown_1.txz: Upgraded. testing/packages/vtown/kde/threadweaver-5.76.0-x86_64-1_vtown_1.txz: Upgraded.
Diffstat (limited to 'source/xap')
-rwxr-xr-xsource/xap/mozilla-firefox/mozilla-firefox.SlackBuild24
l---------source/xap/mozilla-thunderbird/gold/gold1
l---------source/xap/mozilla-thunderbird/gold/ld1
-rwxr-xr-xsource/xap/mozilla-thunderbird/gold/ld.gold6
-rwxr-xr-xsource/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild31
-rwxr-xr-xsource/xap/seamonkey/seamonkey.SlackBuild22
6 files changed, 41 insertions, 44 deletions
diff --git a/source/xap/mozilla-firefox/mozilla-firefox.SlackBuild b/source/xap/mozilla-firefox/mozilla-firefox.SlackBuild
index 6f3dd999..0e9a94b5 100755
--- a/source/xap/mozilla-firefox/mozilla-firefox.SlackBuild
+++ b/source/xap/mozilla-firefox/mozilla-firefox.SlackBuild
@@ -89,10 +89,13 @@ export CC=${CC:-gcc}
export CXX=${CXX:-g++}
# Keep memory usage as low as possible when linking:
-SLKLDFLAGS=" -Wl,--as-needed -Wl,--no-keep-memory -Wl,--stats"
+SLKLDFLAGS=" -Wl,--as-needed -Wl,--no-keep-memory -Wl,--stats -Wl,--reduce-memory-overheads"
export LDFLAGS="$SLKLDFLAGS"
export MOZ_LINK_FLAGS="$SLKLDFLAGS"
+# Set linker to use:
+LINKER=bfd
+
# Put Rust objects on a diet to keep the linker from running into memory
# issues (especially on 32-bit):
export RUSTFLAGS="-Cdebuginfo=0"
@@ -125,25 +128,25 @@ export RUSTFLAGS="-Cdebuginfo=0"
PGO=${PGO:-no}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-Os"
+ SLKCFLAGS="-O2 -g0"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-Os"
+ SLKCFLAGS="-O2 -g0"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
+ SLKCFLAGS="-O2 -g0"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ SLKCFLAGS="-O2 -g0 -fPIC"
LIBDIRSUFFIX="64"
elif [ "$ARCH" = "arm" ]; then
- SLKCFLAGS="-O2 -march=armv4 -mtune=xscale"
+ SLKCFLAGS="-O2 -g0 -march=armv4 -mtune=xscale"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "armel" ]; then
- SLKCFLAGS="-O2 -march=armv4t"
+ SLKCFLAGS="-O2 -g0 -march=armv4t"
LIBDIRSUFFIX=""
else
- SLKCFLAGS="-O2"
+ SLKCFLAGS="-O2 -g0"
LIBDIRSUFFIX=""
fi
@@ -230,9 +233,10 @@ OPTIONS="\
--enable-alsa \
--enable-application=browser \
--enable-default-toolkit=cairo-gtk3-wayland \
- --enable-linker=gold \
+ --enable-linker=$LINKER \
$GOOGLE_API_KEY \
- --enable-strip \
+ --disable-strip \
+ --disable-install-strip \
--enable-cpp-rtti \
--enable-accessibility \
--disable-crashreporter \
diff --git a/source/xap/mozilla-thunderbird/gold/gold b/source/xap/mozilla-thunderbird/gold/gold
deleted file mode 120000
index 6cd03701..00000000
--- a/source/xap/mozilla-thunderbird/gold/gold
+++ /dev/null
@@ -1 +0,0 @@
-ld.gold \ No newline at end of file
diff --git a/source/xap/mozilla-thunderbird/gold/ld b/source/xap/mozilla-thunderbird/gold/ld
deleted file mode 120000
index 6cd03701..00000000
--- a/source/xap/mozilla-thunderbird/gold/ld
+++ /dev/null
@@ -1 +0,0 @@
-ld.gold \ No newline at end of file
diff --git a/source/xap/mozilla-thunderbird/gold/ld.gold b/source/xap/mozilla-thunderbird/gold/ld.gold
deleted file mode 100755
index f1d76b3a..00000000
--- a/source/xap/mozilla-thunderbird/gold/ld.gold
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/bash
-# Doing this for 32-bit... sigh. May have to try to figure out how to only
-# use it in 32-bit userspace even when running under a 64-bit kernel.
-/usr/bin/ld.gold --no-map-whole-files --no-keep-memory --no-keep-files-mapped "$@"
-# Old simple way:
-#/usr/bin/ld.gold "$@"
diff --git a/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild b/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild
index 4804e26d..ee2442ff 100755
--- a/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild
+++ b/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2011, 2012, 2014, 2016, 2017, 2018, 2019 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010, 2011, 2012, 2014, 2016, 2017, 2018, 2019, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -94,47 +94,40 @@ fi
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS=""
LIBDIRSUFFIX=""
- OPTIMIZE=${OPTIMIZE:-"-Os"}
+ OPTIMIZE=${OPTIMIZE:-"-O2 -g0"}
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS=""
LIBDIRSUFFIX=""
- OPTIMIZE=${OPTIMIZE:-"-Os"}
+ OPTIMIZE=${OPTIMIZE:-"-O2 -g0"}
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-fPIC"
LIBDIRSUFFIX="64"
- OPTIMIZE=${OPTIMIZE:-"-O2"}
+ OPTIMIZE=${OPTIMIZE:-"-O2 -g0"}
elif [ "$ARCH" = "arm" ]; then
SLKCFLAGS="-march=armv4 -mtune=xscale"
LIBDIRSUFFIX=""
- OPTIMIZE=${OPTIMIZE:-"-O2"}
+ OPTIMIZE=${OPTIMIZE:-"-O2 -g0"}
else
SLKCFLAGS=""
LIBDIRSUFFIX=""
- OPTIMIZE=${OPTIMIZE:-"-O2"}
+ OPTIMIZE=${OPTIMIZE:-"-O2 -g0"}
fi
# Choose a compiler (gcc/g++ or clang/clang++):
export CC=${CC:-gcc}
export CXX=${CXX:-g++}
-## Link using gold. This avoids running out of memory on 32-bit systems, and
-## avoids a recurring build failure with GNU ld on other systems.
-#PATH="$(pwd)/gold:$PATH"
-#export CC="$CC -B$(pwd)/gold"
-#export CXX="$CXX -B$(pwd)/gold"
-
# Keep memory usage as low as possible when linking:
-SLKLDFLAGS=" -Wl,--as-needed -Wl,--no-keep-memory -Wl,--stats"
+SLKLDFLAGS=" -Wl,--as-needed -Wl,--no-keep-memory -Wl,--stats -Wl,--reduce-memory-overheads"
export LDFLAGS="$SLKLDFLAGS"
export MOZ_LINK_FLAGS="$SLKLDFLAGS"
-# If you don't give this _something_ then it defaults to -g, causing more
-# link time memory issues:
-export MOZ_DEBUG_FLAGS="-g0"
+# Set linker to use:
+LINKER=bfd
# Put Rust objects on a diet to keep the linker from running into memory
# issues (especially on 32-bit):
-export RUSTFLAGS="-Cdebuginfo=0 -Copt-level=0"
+export RUSTFLAGS="-Cdebuginfo=0"
TMP=${TMP:-/tmp}
PKG=$TMP/package-mozilla-thunderbird
@@ -221,7 +214,9 @@ OPTIONS="\
--enable-application=comm/mail \
$ENABLE_CALENDAR \
--enable-default-toolkit=cairo-gtk3-wayland \
- --enable-strip \
+ --enable-linker=$LINKER \
+ --disable-strip \
+ --disable-install-strip \
--enable-cpp-rtti \
--enable-accessibility \
$GOOGLE_API_KEY \
diff --git a/source/xap/seamonkey/seamonkey.SlackBuild b/source/xap/seamonkey/seamonkey.SlackBuild
index cd4a58f2..80f9c8bf 100755
--- a/source/xap/seamonkey/seamonkey.SlackBuild
+++ b/source/xap/seamonkey/seamonkey.SlackBuild
@@ -58,13 +58,13 @@ fi
if [ "$ARCH" = "i686" ]; then
LIBDIRSUFFIX=""
- OPTIMIZE_FLAG=${OPTIMIZE_FLAG:-"-O1"}
+ OPTIMIZE_FLAG=${OPTIMIZE_FLAG:-"-O1 -g0"}
elif [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
- OPTIMIZE_FLAG=${OPTIMIZE_FLAG:-"-O1"}
+ OPTIMIZE_FLAG=${OPTIMIZE_FLAG:-"-O1 -g0"}
else
LIBDIRSUFFIX=""
- OPTIMIZE_FLAG=${OPTIMIZE_FLAG:-"-O1"}
+ OPTIMIZE_FLAG=${OPTIMIZE_FLAG:-"-O1 -g0"}
fi
# Choose a compiler (gcc/g++ or clang/clang++):
@@ -77,12 +77,17 @@ export CFLAGS="-Wformat -fno-delete-null-pointer-checks"
export CXXFLAGS="-Wformat -fno-delete-null-pointer-checks -fpermissive"
# Keep memory usage as low as possible when linking:
-SLKLDFLAGS=" -Wl,--as-needed -Wl,--no-keep-memory -Wl,--stats"
+SLKLDFLAGS=" -Wl,--as-needed -Wl,--no-keep-memory -Wl,--stats -Wl,--reduce-memory-overheads"
export LDFLAGS="$SLKLDFLAGS"
export MOZ_LINK_FLAGS="$SLKLDFLAGS"
-# Don't use icecream:
-PATH=$(echo $PATH | sed "s|/usr/libexec/icecc/bin||g" | tr -s : | sed "s/^://g" | sed "s/:$//g")
+# Don't use icecream with clang:
+if [ "$CC" = "clang" ]; then
+ PATH=$(echo $PATH | sed "s|/usr/libexec/icecc/bin||g" | tr -s : | sed "s/^://g" | sed "s/:$//g")
+fi
+
+# Set linker to use:
+LINKER=bfd
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -139,8 +144,9 @@ OPTIONS="\
--enable-startup-notification \
--enable-alsa \
--disable-debug \
- --enable-gold \
- --enable-strip \
+ --enable-linker=$LINKER \
+ --disable-strip \
+ --disable-install-strip \
--disable-tests \
--disable-crashreporter \
--enable-accessibility \