mirror of
git://slackware.nl/current.git
synced 2025-02-14 08:48:37 +01:00
![Patrick J Volkerding](/assets/img/avatar_default.png)
a/dracut-106-x86_64-1.txz: Upgraded. a/kernel-firmware-20250131_722d0d1-noarch-1.txz: Upgraded. a/libcgroup-3.1.0-x86_64-3.txz: Rebuilt. Add an empty /usr/include/libcgroup/systemd.h to fix downstream breakage when --enable-systemd=no. Thanks to reddog83. d/cvs-1.11.23-x86_64-10.txz: Rebuilt. Recompiled to link with libcrypt.so.2 instead of libcrypt.so.1. d/gdb-16.2-x86_64-1.txz: Upgraded. d/nv-codec-headers-13.0.19.0-x86_64-1.txz: Upgraded. d/rust-1.84.1-x86_64-1.txz: Upgraded. kde/libindi-2.1.2-x86_64-1.txz: Upgraded. l/apr-util-1.6.3-x86_64-2.txz: Rebuilt. Recompiled to link with libcrypt.so.2 instead of libcrypt.so.1. l/mujs-1.3.6-x86_64-1.txz: Upgraded. l/python-babel-2.17.0-x86_64-1.txz: Upgraded. l/python-certifi-2025.1.31-x86_64-1.txz: Upgraded. l/qt6-6.8.2_20250124_480041bb-x86_64-1.txz: Upgraded. l/serf-1.3.10-x86_64-2.txz: Rebuilt. Recompiled to link with libcrypt.so.2 instead of libcrypt.so.1. l/sof-firmware-2025.01-noarch-1.txz: Upgraded. l/spirv-llvm-translator-19.1.4-x86_64-1.txz: Upgraded. n/alpine-2.26-x86_64-4.txz: Rebuilt. Recompiled to link with libcrypt.so.2 instead of libcrypt.so.1. n/ca-certificates-20250131-noarch-1.txz: Upgraded. This update provides the latest CA certificates to check for the authenticity of SSL connections. n/cyrus-sasl-2.1.28-x86_64-4.txz: Rebuilt. Recompiled to link with libcrypt.so.2 instead of libcrypt.so.1. n/dhcpcd-10.1.0-x86_64-2.txz: Rebuilt. [PATCH] linux: Allow the __NR_rt_sigprocmask syscall. This fixes using dhcpcd with glibc-2.41. Thanks to gwhl. n/netkit-rsh-0.17-x86_64-6.txz: Rebuilt. Recompiled to link with libcrypt.so.2 instead of libcrypt.so.1. n/vsftpd-3.0.5-x86_64-4.txz: Rebuilt. Recompiled to link with libcrypt.so.2 instead of libcrypt.so.1. n/yptools-4.2.3-x86_64-7.txz: Rebuilt. Recompiled to link with libcrypt.so.2 instead of libcrypt.so.1. x/noto-fonts-ttf-2025.02.01-noarch-1.txz: Upgraded. x/wayland-protocols-1.40-noarch-1.txz: Upgraded. xap/gparted-1.7.0-x86_64-1.txz: Upgraded. testing/packages/kernel-generic-6.13.1-x86_64-1.txz: Upgraded. testing/packages/kernel-headers-6.13.1-x86-1.txz: Upgraded. testing/packages/kernel-source-6.13.1-noarch-1.txz: Upgraded.
83 lines
2.6 KiB
Bash
Executable file
83 lines
2.6 KiB
Bash
Executable file
#!/bin/bash
|
|
# This script is not meant to be run directly:
|
|
if [ -z $DEMOVERS ]; then
|
|
exit 1
|
|
fi
|
|
|
|
# Now build/install a small subset of the demos:
|
|
export CWD SLKCFLAGS NUMJOBS PKG
|
|
( cd $TMP
|
|
rm -rf mesa-demos-$DEMOVERS
|
|
tar xvf $CWD/mesa-demos-$DEMOVERS.tar.?z || exit 1
|
|
cd mesa-demos-$DEMOVERS
|
|
|
|
# "Download" subprojects:
|
|
if [ -r $CWD/mesa-demos-subprojects.tar.lz ]; then
|
|
tar xvf $CWD/mesa-demos-subprojects.tar.lz || exit 1
|
|
fi
|
|
|
|
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 {} \+
|
|
# Architecture-specific settings can be configured in the mesa.SlackBuild
|
|
# within the variable 'SLK_MESADEMOS_CONF_OPTS'
|
|
export CFLAGS="$SLKCFLAGS"
|
|
export CXXFLAGS="$SLKCFLAGS"
|
|
mkdir meson-build
|
|
cd meson-build
|
|
meson setup \
|
|
--prefix=/usr \
|
|
--libdir=lib${LIBDIRSUFFIX} \
|
|
--libexecdir=/usr/libexec \
|
|
--bindir=/usr/bin \
|
|
--sbindir=/usr/sbin \
|
|
--includedir=/usr/include \
|
|
--datadir=/usr/share \
|
|
--mandir=/usr/man \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--buildtype=release \
|
|
$SLK_MESADEMOS_CONF_OPTS \
|
|
.. || exit 1
|
|
|
|
# If there's no mesa-subprojects.tar.lz in $CWD, let's try to make one:
|
|
if [ ! -r $CWD/mesa-demos-subprojects.tar.lz ]; then
|
|
cd ..
|
|
mkdir -p tmp/subprojects
|
|
for file in subprojects/* ; do
|
|
if [ "$file" -nt "$PKG" ]; then
|
|
cp -a -v $file tmp/subprojects
|
|
fi
|
|
done
|
|
cd tmp
|
|
find . -name ".git*" -exec rm -r "{}" \; 2> /dev/null
|
|
tar cf $CWD/mesa-demos-subprojects.tar subprojects
|
|
plzip -9 $CWD/mesa-demos-subprojects.tar
|
|
cd ..
|
|
rm -r tmp
|
|
cd meson-build
|
|
fi
|
|
|
|
"${NINJA:=ninja}" $NUMJOBS || exit 1
|
|
# Install all the demos (including the pointless ones) at first, in a
|
|
# temporary location:
|
|
DESTDIR=$PKG/cruft $NINJA install || exit 1
|
|
cd ..
|
|
# Install gears and glinfo, as well as a few other demos:
|
|
mkdir -p $PKG/usr/bin
|
|
MESA_DEMO_BINS="${MESA_DEMO_BINS:=eglinfo gears glinfo glthreads glxcontexts glxdemo \
|
|
glxgears glxgears_fbconfig glxheads glxinfo glxpbdemo glxpixmap}"
|
|
# Install the demo:
|
|
for demo in $MESA_DEMO_BINS ; do
|
|
mv --verbose $PKG/cruft/usr/bin/$demo $PKG/usr/bin
|
|
done
|
|
# Remove cruft:
|
|
rm -rf $PKG/cruft
|
|
# Add the README file(s):
|
|
rm -rf $PKG/usr/doc/mesa-demos-$DEMOVERS
|
|
mkdir -p $PKG/usr/doc/mesa-demos-$DEMOVERS
|
|
cp -a README* $PKG/usr/doc/mesa-demos-$DEMOVERS
|
|
) || exit 1
|