slackware-current/source/ap/rpm/rpm.SlackBuild

194 lines
5.8 KiB
Text
Raw Normal View History

#!/bin/bash
# Copyright 2008, 2009, 2010, 2018, 2019, 2023 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Build RPM (of all things) for Slackware.
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=rpm
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
Fri Sep 21 18:51:07 UTC 2018 a/eudev-3.2.6-x86_64-1.txz: Upgraded. a/glibc-solibs-2.28-x86_64-2.txz: Upgraded. a/grub-2.02-x86_64-3.txz: Rebuilt. Patched to fix compatibility with recent xfsprogs. Thanks to Markus Wiesner. a/kernel-generic-4.14.71-x86_64-1.txz: Upgraded. a/kernel-huge-4.14.71-x86_64-1.txz: Upgraded. a/kernel-modules-4.14.71-x86_64-1.txz: Upgraded. ap/opus-tools-0.2-x86_64-1.txz: Upgraded. ap/sqlite-3.25.1-x86_64-1.txz: Upgraded. d/icecream-20180905_cdc6ff8-x86_64-1.txz: Upgraded. d/kernel-headers-4.14.71-x86-1.txz: Upgraded. d/llvm-7.0.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. k/kernel-source-4.14.71-noarch-1.txz: Upgraded. l/ffmpeg-3.4.4-x86_64-2.txz: Rebuilt. Don't try to link with Samba since the latest version is not compatible. l/glibc-2.28-x86_64-2.txz: Upgraded. All packages have been patched where needed for glibc-2.28 and compile tested here. Thanks to nobodino for the help. l/glibc-i18n-2.28-x86_64-2.txz: Upgraded. l/glibc-profile-2.28-x86_64-2.txz: Upgraded. l/gst-plugins-base-1.14.3-x86_64-1.txz: Upgraded. l/gst-plugins-good-1.14.3-x86_64-1.txz: Upgraded. l/gst-plugins-libav-1.14.3-x86_64-1.txz: Upgraded. l/gstreamer-1.14.3-x86_64-1.txz: Upgraded. l/imagemagick-6.9.10_11-x86_64-1.txz: Upgraded. l/libopusenc-0.2-x86_64-1.txz: Added. l/librsvg-2.44.3-x86_64-1.txz: Upgraded. l/opus-1.3_rc2-x86_64-1.txz: Upgraded. l/opusfile-0.11-x86_64-1.txz: Upgraded. l/soprano-2.9.4-x86_64-3.txz: Rebuilt. Recompiled to drop virtuoso dependency. l/virtuoso-ose-6.1.8-x86_64-9.txz: Removed. Even KDE4 has migrated away from actually using this for anything. The last thing in Slackware that was dependent on it was Soprano, which has been recompiled to no longer use it. n/postfix-3.3.1-x86_64-2.txz: Rebuilt. Recompiled so that it quits whining about OpenSSL. Thanks to shastah. x/mesa-18.2.1-x86_64-1.txz: Upgraded. Compiled against llvm-7.0.0. x/xf86-video-vmware-13.3.0-x86_64-2.txz: Rebuilt. Recompiled against llvm-7.0.0. x/xterm-336-x86_64-1.txz: Upgraded. extra/pure-alsa-system/ffmpeg-3.4.4-x86_64-2_alsa.txz: Rebuilt. Don't try to link with Samba since the latest version is not compatible. extra/pure-alsa-system/gst-plugins-good-1.14.3-x86_64-1_alsa.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
2018-09-21 20:51:07 +02:00
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
exit 0
fi
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
elif [ "$ARCH" = "arm" ]; then
SLKCFLAGS="-O2 -march=armv4 -mtune=xscale"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "armel" ]; then
SLKCFLAGS="-O2 -march=armv4t"
LIBDIRSUFFIX=""
fi
if [ -x /usr/bin/rpm ]; then
echo "RPM detected."
echo
echo "The rpm package needs to be removed before building to ensure that"
echo "the binaries do not link to earlier library versions."
echo
echo "Removing the rpm package in 15 seconds, and then continuing with the build."
sleep 15
removepkg rpm
fi
DB_INC="/usr/include/db48"
TMP=${TMP:-/tmp}
PKG=/tmp/package-rpm
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf rpm-$VERSION
tar xvf $CWD/rpm-$VERSION.tar.?z || exit 1
cd rpm-$VERSION || exit 1
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
## We need to do this since there's a bugfix for python3.10 detection in
## the latest automake:
#autoreconf -vif
Sun Oct 10 00:11:13 UTC 2021 A new Python (and related rebuilds), the latest release of the KDE Gear applications, and a new kernel. Enjoy! :-) a/aaa_libraries-15.0-x86_64-10.txz: Rebuilt. Upgraded: libcap.so.2.59, libglib-2.0.so.0.7000.0, libgmodule-2.0.so.0.7000.0, libgobject-2.0.so.0.7000.0, libgthread-2.0.so.0.7000.0, libpcre2-8.so.0.10.3. Removed: libboost*.so.1.76.0, libicu*.so.68.2 a/kernel-generic-5.14.11-x86_64-1.txz: Upgraded. a/kernel-huge-5.14.11-x86_64-1.txz: Upgraded. a/kernel-modules-5.14.11-x86_64-1.txz: Upgraded. a/libblockdev-2.26-x86_64-2.txz: Rebuilt. a/libbytesize-2.6-x86_64-2.txz: Rebuilt. a/libpwquality-1.4.4-x86_64-5.txz: Rebuilt. a/util-linux-2.37.2-x86_64-5.txz: Rebuilt. a/volume_key-0.3.12-x86_64-4.txz: Rebuilt. ap/hplip-3.20.5-x86_64-4.txz: Rebuilt. ap/linuxdoc-tools-0.9.82-x86_64-2.txz: Rebuilt. ap/rpm-4.16.1.3-x86_64-2.txz: Rebuilt. ap/undervolt-20201024_13fa33d-x86_64-4.txz: Rebuilt. ap/vim-8.2.3487-x86_64-1.txz: Upgraded. d/Cython-0.29.24-x86_64-2.txz: Rebuilt. d/automake-1.16.5-noarch-1.txz: Upgraded. Needed to properly detect python-3.10. If you see anything detecting the Python version as 3.1, you'll need to run autoreconf -vif before ./configure. d/distcc-3.4-x86_64-2.txz: Rebuilt. d/gdb-11.1-x86_64-3.txz: Rebuilt. d/gyp-20200512_caa60026-x86_64-5.txz: Rebuilt. d/kernel-headers-5.14.11-x86-1.txz: Upgraded. d/llvm-12.0.1-x86_64-2.txz: Rebuilt. d/mercurial-5.9.2-x86_64-2.txz: Rebuilt. d/meson-0.59.2-x86_64-2.txz: Rebuilt. d/python-pip-21.2.4-x86_64-2.txz: Rebuilt. d/python-setuptools-58.2.0-x86_64-2.txz: Rebuilt. d/python3-3.10.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. d/scons-4.0.1-x86_64-5.txz: Rebuilt. k/kernel-source-5.14.11-noarch-1.txz: Upgraded. kde/akonadi-21.08.2-x86_64-1.txz: Upgraded. kde/akonadi-calendar-21.08.2-x86_64-1.txz: Upgraded. kde/akonadi-calendar-tools-21.08.2-x86_64-1.txz: Upgraded. kde/akonadi-contacts-21.08.2-x86_64-1.txz: Upgraded. kde/akonadi-import-wizard-21.08.2-x86_64-1.txz: Upgraded. kde/akonadi-mime-21.08.2-x86_64-1.txz: Upgraded. kde/akonadi-notes-21.08.2-x86_64-1.txz: Upgraded. kde/akonadi-search-21.08.2-x86_64-1.txz: Upgraded. kde/akonadiconsole-21.08.2-x86_64-1.txz: Upgraded. kde/akregator-21.08.2-x86_64-1.txz: Upgraded. kde/analitza-21.08.2-x86_64-1.txz: Upgraded. kde/ark-21.08.2-x86_64-1.txz: Upgraded. kde/artikulate-21.08.2-x86_64-1.txz: Upgraded. kde/audiocd-kio-21.08.2-x86_64-1.txz: Upgraded. kde/baloo-widgets-21.08.2-x86_64-1.txz: Upgraded. kde/blinken-21.08.2-x86_64-1.txz: Upgraded. kde/bomber-21.08.2-x86_64-1.txz: Upgraded. kde/bovo-21.08.2-x86_64-1.txz: Upgraded. kde/calendarsupport-21.08.2-x86_64-1.txz: Upgraded. kde/cantor-21.08.2-x86_64-1.txz: Upgraded. kde/cervisia-21.08.2-x86_64-1.txz: Upgraded. kde/dolphin-21.08.2-x86_64-1.txz: Upgraded. kde/dolphin-plugins-21.08.2-x86_64-1.txz: Upgraded. kde/dragon-21.08.2-x86_64-1.txz: Upgraded. kde/elisa-21.08.2-x86_64-1.txz: Upgraded. kde/eventviews-21.08.2-x86_64-1.txz: Upgraded. kde/extra-cmake-modules-5.86.0-x86_64-3.txz: Rebuilt. Increment maximum python3 version. kde/ffmpegthumbs-21.08.2-x86_64-1.txz: Upgraded. kde/filelight-21.08.2-x86_64-1.txz: Upgraded. kde/granatier-21.08.2-x86_64-1.txz: Upgraded. kde/grantlee-editor-21.08.2-x86_64-1.txz: Upgraded. kde/grantleetheme-21.08.2-x86_64-1.txz: Upgraded. kde/gwenview-21.08.2-x86_64-1.txz: Upgraded. kde/incidenceeditor-21.08.2-x86_64-1.txz: Upgraded. kde/itinerary-21.08.2-x86_64-1.txz: Upgraded. kde/juk-21.08.2-x86_64-1.txz: Upgraded. kde/k3b-21.08.2-x86_64-1.txz: Upgraded. kde/kaddressbook-21.08.2-x86_64-1.txz: Upgraded. kde/kalarm-21.08.2-x86_64-1.txz: Upgraded. kde/kalarmcal-21.08.2-x86_64-1.txz: Upgraded. kde/kalgebra-21.08.2-x86_64-1.txz: Upgraded. kde/kalzium-21.08.2-x86_64-1.txz: Upgraded. kde/kamera-21.08.2-x86_64-1.txz: Upgraded. kde/kamoso-21.08.2-x86_64-1.txz: Upgraded. kde/kanagram-21.08.2-x86_64-1.txz: Upgraded. kde/kapidox-5.86.0-x86_64-3.txz: Rebuilt. kde/kapman-21.08.2-x86_64-1.txz: Upgraded. kde/kapptemplate-21.08.2-x86_64-1.txz: Upgraded. kde/kate-21.08.2-x86_64-1.txz: Upgraded. kde/katomic-21.08.2-x86_64-1.txz: Upgraded. kde/kauth-5.86.0-x86_64-3.txz: Rebuilt. kde/kbackup-21.08.2-x86_64-1.txz: Upgraded. kde/kblackbox-21.08.2-x86_64-1.txz: Upgraded. kde/kblocks-21.08.2-x86_64-1.txz: Upgraded. kde/kbounce-21.08.2-x86_64-1.txz: Upgraded. kde/kbreakout-21.08.2-x86_64-1.txz: Upgraded. kde/kbruch-21.08.2-x86_64-1.txz: Upgraded. kde/kcachegrind-21.08.2-x86_64-1.txz: Upgraded. kde/kcalc-21.08.2-x86_64-1.txz: Upgraded. kde/kcalutils-21.08.2-x86_64-1.txz: Upgraded. kde/kcharselect-21.08.2-x86_64-1.txz: Upgraded. kde/kcodecs-5.86.0-x86_64-3.txz: Rebuilt. kde/kcolorchooser-21.08.2-x86_64-1.txz: Upgraded. kde/kcompletion-5.86.0-x86_64-3.txz: Rebuilt. kde/kconfig-5.86.0-x86_64-3.txz: Rebuilt. kde/kconfigwidgets-5.86.0-x86_64-3.txz: Rebuilt. kde/kcoreaddons-5.86.0-x86_64-3.txz: Rebuilt. kde/kcron-21.08.2-x86_64-1.txz: Upgraded. kde/kdbusaddons-5.86.0-x86_64-3.txz: Rebuilt. kde/kde-dev-scripts-21.08.2-x86_64-1.txz: Upgraded. kde/kde-dev-utils-21.08.2-x86_64-1.txz: Upgraded. kde/kdebugsettings-21.08.2-x86_64-1.txz: Upgraded. kde/kdeconnect-kde-21.08.2-x86_64-1.txz: Upgraded. kde/kdeedu-data-21.08.2-x86_64-1.txz: Upgraded. kde/kdegraphics-mobipocket-21.08.2-x86_64-1.txz: Upgraded. kde/kdegraphics-thumbnailers-21.08.2-x86_64-1.txz: Upgraded. kde/kdenetwork-filesharing-21.08.2-x86_64-1.txz: Upgraded. kde/kdenlive-21.08.2-x86_64-1.txz: Upgraded. kde/kdepim-addons-21.08.2-x86_64-1.txz: Upgraded. kde/kdepim-runtime-21.08.2-x86_64-1.txz: Upgraded. kde/kdesdk-kioslaves-21.08.2-x86_64-1.txz: Upgraded. kde/kdesdk-thumbnailers-21.08.2-x86_64-1.txz: Upgraded. kde/kdev-python-5.6.2-x86_64-3.txz: Removed. Due to the removal of the old parser from Python 3.10, this is no longer compatible. We'll keep an eye on upstream to see if this changes, though. kde/kdf-21.08.2-x86_64-1.txz: Upgraded. kde/kdialog-21.08.2-x86_64-1.txz: Upgraded. kde/kdiamond-21.08.2-x86_64-1.txz: Upgraded. kde/keditbookmarks-21.08.2-x86_64-1.txz: Upgraded. kde/kfind-21.08.2-x86_64-1.txz: Upgraded. kde/kfloppy-21.08.2-x86_64-1.txz: Upgraded. kde/kfourinline-21.08.2-x86_64-1.txz: Upgraded. kde/kgeography-21.08.2-x86_64-1.txz: Upgraded. kde/kget-21.08.2-x86_64-1.txz: Upgraded. kde/kgoldrunner-21.08.2-x86_64-1.txz: Upgraded. kde/kgpg-21.08.2-x86_64-1.txz: Upgraded. kde/kguiaddons-5.86.0-x86_64-3.txz: Rebuilt. kde/khangman-21.08.2-x86_64-1.txz: Upgraded. kde/khelpcenter-21.08.2-x86_64-1.txz: Upgraded. kde/ki18n-5.86.0-x86_64-3.txz: Rebuilt. kde/kidentitymanagement-21.08.2-x86_64-1.txz: Upgraded. kde/kig-21.08.2-x86_64-1.txz: Upgraded. kde/kigo-21.08.2-x86_64-1.txz: Upgraded. kde/killbots-21.08.2-x86_64-1.txz: Upgraded. kde/kimagemapeditor-21.08.2-x86_64-1.txz: Upgraded. kde/kimap-21.08.2-x86_64-1.txz: Upgraded. kde/kio-extras-21.08.2-x86_64-1.txz: Upgraded. kde/kio-gdrive-21.08.2-x86_64-1.txz: Upgraded. kde/kipi-plugins-21.08.2-x86_64-1.txz: Upgraded. kde/kirigami-gallery-21.08.2-x86_64-1.txz: Upgraded. kde/kiriki-21.08.2-x86_64-1.txz: Upgraded. kde/kitemmodels-5.86.0-x86_64-3.txz: Rebuilt. kde/kitemviews-5.86.0-x86_64-3.txz: Rebuilt. kde/kiten-21.08.2-x86_64-1.txz: Upgraded. kde/kitinerary-21.08.2-x86_64-1.txz: Upgraded. kde/kjobwidgets-5.86.0-x86_64-3.txz: Rebuilt. kde/kjumpingcube-21.08.2-x86_64-1.txz: Upgraded. kde/kldap-21.08.2-x86_64-1.txz: Upgraded. kde/kleopatra-21.08.2-x86_64-1.txz: Upgraded. kde/klickety-21.08.2-x86_64-1.txz: Upgraded. kde/klines-21.08.2-x86_64-1.txz: Upgraded. kde/kmag-21.08.2-x86_64-1.txz: Upgraded. kde/kmahjongg-21.08.2-x86_64-1.txz: Upgraded. kde/kmail-21.08.2-x86_64-1.txz: Upgraded. kde/kmail-account-wizard-21.08.2-x86_64-1.txz: Upgraded. kde/kmailtransport-21.08.2-x86_64-1.txz: Upgraded. kde/kmbox-21.08.2-x86_64-1.txz: Upgraded. kde/kmime-21.08.2-x86_64-1.txz: Upgraded. kde/kmines-21.08.2-x86_64-1.txz: Upgraded. kde/kmix-21.08.2-x86_64-1.txz: Upgraded. kde/kmousetool-21.08.2-x86_64-1.txz: Upgraded. kde/kmouth-21.08.2-x86_64-1.txz: Upgraded. kde/kmplot-21.08.2-x86_64-1.txz: Upgraded. kde/kmymoney-5.1.2-x86_64-3.txz: Rebuilt. kde/knavalbattle-21.08.2-x86_64-1.txz: Upgraded. kde/knetwalk-21.08.2-x86_64-1.txz: Upgraded. kde/knights-21.08.2-x86_64-1.txz: Upgraded. kde/knotes-21.08.2-x86_64-1.txz: Upgraded. kde/kolf-21.08.2-x86_64-1.txz: Upgraded. kde/kollision-21.08.2-x86_64-1.txz: Upgraded. kde/kolourpaint-21.08.2-x86_64-1.txz: Upgraded. kde/kompare-21.08.2-x86_64-1.txz: Upgraded. kde/konqueror-21.08.2-x86_64-1.txz: Upgraded. kde/konquest-21.08.2-x86_64-1.txz: Upgraded. kde/konsole-21.08.2-x86_64-1.txz: Upgraded. kde/kontact-21.08.2-x86_64-1.txz: Upgraded. kde/kontactinterface-21.08.2-x86_64-1.txz: Upgraded. kde/kontrast-21.08.2-x86_64-1.txz: Upgraded. kde/konversation-21.08.2-x86_64-1.txz: Upgraded. kde/kopeninghours-21.08.2-x86_64-1.txz: Upgraded. kde/kopete-21.08.2-x86_64-1.txz: Upgraded. kde/korganizer-21.08.2-x86_64-1.txz: Upgraded. kde/kosmindoormap-21.08.2-x86_64-1.txz: Upgraded. kde/kpat-21.08.2-x86_64-1.txz: Upgraded. kde/kpimtextedit-21.08.2-x86_64-1.txz: Upgraded. kde/kpkpass-21.08.2-x86_64-1.txz: Upgraded. kde/kpmcore-21.08.2-x86_64-1.txz: Upgraded. kde/kpublictransport-21.08.2-x86_64-1.txz: Upgraded. kde/kqtquickcharts-21.08.2-x86_64-1.txz: Upgraded. kde/krdc-21.08.2-x86_64-1.txz: Upgraded. kde/kreversi-21.08.2-x86_64-1.txz: Upgraded. kde/krfb-21.08.2-x86_64-1.txz: Upgraded. kde/krita-4.4.8-x86_64-5.txz: Rebuilt. kde/kross-interpreters-21.08.2-x86_64-1.txz: Upgraded. kde/kruler-21.08.2-x86_64-1.txz: Upgraded. kde/kshisen-21.08.2-x86_64-1.txz: Upgraded. kde/ksirk-21.08.2-x86_64-1.txz: Upgraded. kde/ksmtp-21.08.2-x86_64-1.txz: Upgraded. kde/ksnakeduel-21.08.2-x86_64-1.txz: Upgraded. kde/kspaceduel-21.08.2-x86_64-1.txz: Upgraded. kde/ksquares-21.08.2-x86_64-1.txz: Upgraded. kde/ksudoku-21.08.2-x86_64-1.txz: Upgraded. kde/ksystemlog-21.08.2-x86_64-1.txz: Upgraded. kde/kteatime-21.08.2-x86_64-1.txz: Upgraded. kde/ktimer-21.08.2-x86_64-1.txz: Upgraded. kde/ktnef-21.08.2-x86_64-1.txz: Upgraded. kde/ktorrent-21.08.2-x86_64-1.txz: Upgraded. kde/ktouch-21.08.2-x86_64-1.txz: Upgraded. kde/kturtle-21.08.2-x86_64-1.txz: Upgraded. kde/kubrick-21.08.2-x86_64-1.txz: Upgraded. kde/kwalletmanager-21.08.2-x86_64-1.txz: Upgraded. kde/kwave-21.08.2-x86_64-1.txz: Upgraded. kde/kwidgetsaddons-5.86.0-x86_64-3.txz: Rebuilt. kde/kwordquiz-21.08.2-x86_64-1.txz: Upgraded. kde/libgravatar-21.08.2-x86_64-1.txz: Upgraded. kde/libkcddb-21.08.2-x86_64-1.txz: Upgraded. kde/libkcompactdisc-21.08.2-x86_64-1.txz: Upgraded. kde/libkdcraw-21.08.2-x86_64-1.txz: Upgraded. kde/libkdegames-21.08.2-x86_64-1.txz: Upgraded. kde/libkdepim-21.08.2-x86_64-1.txz: Upgraded. kde/libkeduvocdocument-21.08.2-x86_64-1.txz: Upgraded. kde/libkexiv2-21.08.2-x86_64-1.txz: Upgraded. kde/libkgapi-21.08.2-x86_64-1.txz: Upgraded. kde/libkipi-21.08.2-x86_64-1.txz: Upgraded. kde/libkleo-21.08.2-x86_64-1.txz: Upgraded. kde/libkmahjongg-21.08.2-x86_64-1.txz: Upgraded. kde/libkomparediff2-21.08.2-x86_64-1.txz: Upgraded. kde/libksane-21.08.2-x86_64-1.txz: Upgraded. kde/libksieve-21.08.2-x86_64-1.txz: Upgraded. kde/libktorrent-21.08.2-x86_64-1.txz: Upgraded. kde/lokalize-21.08.2-x86_64-1.txz: Upgraded. kde/lskat-21.08.2-x86_64-1.txz: Upgraded. kde/mailcommon-21.08.2-x86_64-1.txz: Upgraded. kde/mailimporter-21.08.2-x86_64-1.txz: Upgraded. kde/marble-21.08.2-x86_64-1.txz: Upgraded. kde/markdownpart-21.08.2-x86_64-1.txz: Upgraded. kde/mbox-importer-21.08.2-x86_64-1.txz: Upgraded. kde/messagelib-21.08.2-x86_64-1.txz: Upgraded. kde/minuet-21.08.2-x86_64-1.txz: Upgraded. kde/okular-21.08.2-x86_64-1.txz: Upgraded. kde/palapeli-21.08.2-x86_64-1.txz: Upgraded. kde/parley-21.08.2-x86_64-1.txz: Upgraded. kde/partitionmanager-21.08.2-x86_64-1.txz: Upgraded. kde/picmi-21.08.2-x86_64-1.txz: Upgraded. kde/pim-data-exporter-21.08.2-x86_64-1.txz: Upgraded. kde/pim-sieve-editor-21.08.2-x86_64-1.txz: Upgraded. kde/pimcommon-21.08.2-x86_64-1.txz: Upgraded. kde/poxml-21.08.2-x86_64-1.txz: Upgraded. kde/print-manager-21.08.2-x86_64-1.txz: Upgraded. kde/rocs-21.08.2-x86_64-1.txz: Upgraded. kde/skanlite-21.08.2-x86_64-1.txz: Upgraded. kde/spectacle-21.08.2-x86_64-1.txz: Upgraded. kde/step-21.08.2-x86_64-1.txz: Upgraded. kde/svgpart-21.08.2-x86_64-1.txz: Upgraded. kde/sweeper-21.08.2-x86_64-1.txz: Upgraded. kde/umbrello-21.08.2-x86_64-1.txz: Upgraded. kde/yakuake-21.08.2-x86_64-1.txz: Upgraded. kde/zeroconf-ioslave-21.08.2-x86_64-1.txz: Upgraded. l/M2Crypto-0.38.0-x86_64-2.txz: Rebuilt. l/Mako-1.1.4-x86_64-4.txz: Rebuilt. l/PyQt5-5.15.2-x86_64-4.txz: Rebuilt. l/QScintilla-2.11.6-x86_64-4.txz: Rebuilt. l/brotli-1.0.9-x86_64-6.txz: Rebuilt. l/dbus-python-1.2.18-x86_64-2.txz: Rebuilt. l/gexiv2-0.14.0-x86_64-2.txz: Rebuilt. l/glade-3.38.2-x86_64-4.txz: Rebuilt. l/gobject-introspection-1.70.0-x86_64-2.txz: Rebuilt. l/lensfun-0.3.95-x86_64-4.txz: Rebuilt. l/libcaca-0.99.beta19-x86_64-10.txz: Rebuilt. l/libcap-ng-0.8.2-x86_64-4.txz: Rebuilt. l/libimobiledevice-20200615_4791a82-x86_64-5.txz: Rebuilt. l/libproxy-0.4.17-x86_64-4.txz: Rebuilt. l/libwebp-1.2.1-x86_64-2.txz: Rebuilt. l/libxml2-2.9.12-x86_64-2.txz: Rebuilt. l/newt-0.52.21-x86_64-6.txz: Rebuilt. l/openexr-2.5.7-x86_64-3.txz: Rebuilt. l/pycairo-1.20.1-x86_64-2.txz: Rebuilt. l/pycups-2.0.1-x86_64-5.txz: Rebuilt. l/pycurl-7.44.1-x86_64-2.txz: Rebuilt. l/pygobject3-3.42.0-x86_64-2.txz: Rebuilt. l/pyparsing-2.4.7-x86_64-5.txz: Rebuilt. l/python-appdirs-1.4.4-x86_64-5.txz: Rebuilt. l/python-certifi-2021.5.30-x86_64-2.txz: Rebuilt. l/python-cffi-1.14.6-x86_64-2.txz: Rebuilt. l/python-chardet-4.0.0-x86_64-4.txz: Rebuilt. l/python-charset-normalizer-2.0.6-x86_64-2.txz: Rebuilt. l/python-distro-1.5.0-x86_64-5.txz: Rebuilt. l/python-dnspython-2.1.0-x86_64-2.txz: Rebuilt. l/python-docutils-0.17.1-x86_64-2.txz: Rebuilt. l/python-future-0.18.2-x86_64-6.txz: Rebuilt. l/python-idna-3.2-x86_64-2.txz: Rebuilt. l/python-markdown-3.3.4-x86_64-2.txz: Rebuilt. l/python-notify2-0.3.1-x86_64-9.txz: Rebuilt. l/python-packaging-21.0-x86_64-2.txz: Rebuilt. l/python-pillow-8.3.2-x86_64-2.txz: Rebuilt. l/python-ply-3.11-x86_64-7.txz: Rebuilt. l/python-pycparser-2.20-x86_64-2.txz: Rebuilt. l/python-pygments-2.10.0-x86_64-2.txz: Rebuilt. l/python-pysol_cards-0.10.2-x86_64-2.txz: Rebuilt. l/python-random2-1.0.1-x86_64-4.txz: Rebuilt. l/python-requests-2.26.0-x86_64-2.txz: Rebuilt. l/python-sane-2.9.1-x86_64-4.txz: Rebuilt. l/python-six-1.16.0-x86_64-2.txz: Rebuilt. l/python-urllib3-1.26.7-x86_64-2.txz: Rebuilt. l/sip-4.19.25-x86_64-2.txz: Rebuilt. l/speech-dispatcher-0.10.2-x86_64-4.txz: Rebuilt. l/system-config-printer-1.5.15-x86_64-4.txz: Rebuilt. l/talloc-2.3.3-x86_64-2.txz: Rebuilt. l/tdb-1.4.5-x86_64-2.txz: Rebuilt. l/tevent-0.11.0-x86_64-2.txz: Rebuilt. n/bind-9.16.21-x86_64-5.txz: Rebuilt. n/epic5-2.1.6-x86_64-2.txz: Rebuilt. n/fetchmail-6.4.22-x86_64-2.txz: Rebuilt. n/getmail-6.18.4-x86_64-2.txz: Rebuilt. n/gpgme-1.16.0-x86_64-2.txz: Rebuilt. n/net-snmp-5.9.1-x86_64-2.txz: Rebuilt. n/nftables-1.0.0-x86_64-3.txz: Rebuilt. n/nss-pam-ldapd-0.9.11-x86_64-4.txz: Rebuilt. n/obexftp-0.24.2-x86_64-9.txz: Rebuilt. n/pssh-2.3.4-x86_64-5.txz: Rebuilt. n/samba-4.15.0-x86_64-2.txz: Rebuilt. x/ibus-1.5.25-x86_64-2.txz: Rebuilt. x/ibus-anthy-1.5.13-x86_64-2.txz: Rebuilt. x/ibus-hangul-1.5.4-x86_64-4.txz: Rebuilt. x/ibus-libpinyin-1.12.1-x86_64-2.txz: Rebuilt. x/ibus-table-1.14.1-x86_64-2.txz: Rebuilt. x/pyxdg-0.27-x86_64-5.txz: Rebuilt. x/xcb-proto-1.14.1-x86_64-5.txz: Rebuilt. xap/blueman-2.2.2-x86_64-2.txz: Rebuilt. xap/hexchat-2.16.0-x86_64-2.txz: Rebuilt. xap/vim-gvim-8.2.3487-x86_64-1.txz: Upgraded. extra/brltty/brltty-6.4-x86_64-2.txz: Rebuilt. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
2021-10-10 02:11:13 +02:00
# We have to tell it where to find NSS and NSPR
# Also, --enable-sqlite3 needs "-ldl" in LDFLAGS
# And --enable-broken-chown fits, as ours follows symlinks.
CFLAGS="$SLKCFLAGS -I${DB_INC} $(pkg-config --cflags nspr nss)" \
LDFLAGS="-ldl" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--sysconfdir=/etc \
--mandir=/usr/man \
--enable-python \
--with-external-db \
--enable-broken-chown \
--without-hackingdocs \
--without-selinux \
--without-dmalloc \
--enable-sqlite3 \
--build=$ARCH-slackware-linux || exit 1
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
# Put this in the system directory:
mkdir $PKG/usr/share
mv $PKG/etc/dbus-1 $PKG/usr/share
rmdir $PKG/etc
# It seems this doesn't work...
#make install-man DESTDIR=$PKG || exit 1
for dir in . fr ja ko pl ru sk ; do
if /bin/ls docs/man/$dir/*.1 1> /dev/null 2> /dev/null ; then
mkdir -p $PKG/usr/man/$dir/man1
cp -a docs/man/$dir/*.1 $PKG/usr/man/$dir/man1
fi
if /bin/ls docs/man/$dir/*.8 1> /dev/null 2> /dev/null ; then
mkdir -p $PKG/usr/man/$dir/man8
cp -a docs/man/$dir/*.8 $PKG/usr/man/$dir/man8
fi
done
# Fails, looks like it did this already
#cd python
# python3 setup.py install --root=$PKG || exit 1
#cd -
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
# This used to be at /bin/rpm, so make a symlink from there to the new
# location:
mkdir -p $PKG/bin
ln -s ../usr/bin/rpm $PKG/bin/rpm
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
# Here's a bug - /var/tmp should NOT have mode 0755
rmdir $PKG/var/tmp || exit 1
# Compress manual pages:
find $PKG/usr/man -type f -exec gzip -9 {} \+
for i in $( find $PKG/usr/man -type l ) ; do
ln -s $( readlink $i ).gz $i.gz
rm $i
done
# Initialize a dummy package database
mkdir -p $PKG/var/lib/rpm/tmp
zcat $CWD/Packages.gz > $PKG/var/lib/rpm/tmp/Packages
# Install docs
mkdir -p $PKG/usr/doc/rpm-$VERSION
cp -a \
COPYING* CREDITS* GROUPS* INSTALL* README* TODO* doc/manual \
$PKG/usr/doc/rpm-$VERSION
# If there's a ChangeLog file, installing at least part of the recent history
# is useful, but don't let it get totally out of control:
if [ -r ChangeLog ]; then
DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION)
cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
touch -r ChangeLog $DOCSDIR/ChangeLog
fi
mkdir -p $PKG/install
zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $TMP/rpm-$VERSION-$ARCH-$BUILD.txz