From b38f92681d3acd242c2e5b0e37d353d4e2a683c2 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Mon, 25 Oct 2021 19:30:42 +0000 Subject: Mon Oct 25 19:30:42 UTC 2021 ap/slackpkg-15.0.8-noarch-1.txz: Upgraded. Author: piterpunk To make it easier to do an unattended slackpkg update/upgrade process, this commit provides different exit codes for many situations: 0 Successful slackpkg execution. 1 Something wrong happened. 20 No package found to be downloaded, installed, reinstalled, upgraded, or removed. 50 Slackpkg itself was upgraded and you need to re-run it. 100 There are pending updates. Code and the main manpage are updated accordingly. In addition, this commit also: - removes the ChangeLog.txt in doinst.sh, so the needed 'slackpkg update' after Slackpkg upgrade won't say it's all OK and doesn't need to redo the package lists - removes AUTHORS from manpage. Nowadays there is code from many people in Slackpkg and it seems a bit unfair to have only my and Evaldo's name listed there. Signed-off-by: Robby Workman d/meson-0.60.0-x86_64-1.txz: Upgraded. l/ffmpeg-4.4.1-x86_64-1.txz: Upgraded. l/imagemagick-7.1.0_11-x86_64-1.txz: Upgraded. l/libcap-2.60-x86_64-1.txz: Upgraded. l/libsoup-2.74.1-x86_64-1.txz: Upgraded. l/sip-4.19.25-x86_64-3.txz: Rebuilt. Drop the Qt4 modules. Thanks to gmgf. n/dhcpcd-9.4.1-x86_64-1.txz: Upgraded. testing/packages/linux-5.14.x/kernel-generic-5.14.14-x86_64-3.txz: Rebuilt. testing/packages/linux-5.14.x/kernel-headers-5.14.14-x86-3.txz: Rebuilt. testing/packages/linux-5.14.x/kernel-huge-5.14.14-x86_64-3.txz: Rebuilt. testing/packages/linux-5.14.x/kernel-modules-5.14.14-x86_64-3.txz: Rebuilt. testing/packages/linux-5.14.x/kernel-source-5.14.14-noarch-3.txz: Rebuilt. Let's enable SCHED_AUTOGROUP, which should improve desktop latency under a heavy CPU load while being mostly inert on servers. It may be disabled at boot time with a "noautogroup" kernel parameter, or at runtime like this: echo 0 > /proc/sys/kernel/sched_autogroup_enabled Thanks to gbschenkel. SCHED_AUTOGROUP n -> y --- source/l/sip/sip.SlackBuild | 39 +-------------------------------------- 1 file changed, 1 insertion(+), 38 deletions(-) (limited to 'source/l/sip/sip.SlackBuild') diff --git a/source/l/sip/sip.SlackBuild b/source/l/sip/sip.SlackBuild index c722f9ed2..4668df16a 100755 --- a/source/l/sip/sip.SlackBuild +++ b/source/l/sip/sip.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=sip VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -86,30 +86,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ -python2 configure.py \ - -b "/usr/bin" \ - -d "$PYTHON2LIB" \ - CFLAGS="$SLKCFLAGS" \ - CXXFLAGS="$SLKCFLAGS" \ - || exit 1 -make $NUMJOBS || make || exit 1 -make install DESTDIR=$PKG || exit 1 - -# Add the PyQt4 private sip module: -make clean -python2 configure.py \ - --sip-module PyQt4.sip \ - --no-tools \ - -b "/usr/bin" \ - -d "$PYTHON2LIB" \ - CFLAGS="$SLKCFLAGS" \ - CXXFLAGS="$SLKCFLAGS" \ - || exit 1 -make $NUMJOBS || make || exit 1 -make install DESTDIR=$PKG || exit 1 - -# Add the PyQt5 private sip module: -make clean python2 configure.py \ --sip-module PyQt5.sip \ --no-tools \ @@ -124,21 +100,8 @@ make install DESTDIR=$PKG || exit 1 # Rename to avoid a clash: mv $PKG/usr/bin/sip $PKG/usr/bin/sip2 -make clean - -python3 configure.py \ - -b "/usr/bin" \ - -d "$PYTHON3LIB" \ - CFLAGS="$SLKCFLAGS" \ - CXXFLAGS="$SLKCFLAGS" || exit 1 -make $NUMJOBS || make || exit 1 -make install DESTDIR=$PKG || exit 1 - -# Add the PyQt4 private sip module: make clean python3 configure.py \ - --sip-module PyQt4.sip \ - --no-tools \ -b "/usr/bin" \ -d "$PYTHON3LIB" \ CFLAGS="$SLKCFLAGS" \ -- cgit v1.2.3-65-gdbad