Browse Source

20251004.1 global branch merge.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
current current-20251004.1
Matteo Bernardini 1 day ago
parent
commit
94420012e9
  1. 16
      README
  2. 3
      academic/EMBASSY/EMBASSY.SlackBuild
  3. 2
      academic/WordNet/WordNet.SlackBuild
  4. 2
      academic/bedtools/bedtools.SlackBuild
  5. 6
      academic/bedtools/bedtools.info
  6. 4
      academic/cutadapt/cutadapt.SlackBuild
  7. 6
      academic/cutadapt/cutadapt.info
  8. 1
      academic/flexbar/flexbar.SlackBuild
  9. 1
      academic/geda-gaf/geda-gaf.SlackBuild
  10. 2
      academic/glpk/glpk.SlackBuild
  11. 23
      academic/labplot2/README
  12. 14
      academic/labplot2/doinst.sh
  13. 129
      academic/labplot2/labplot2.SlackBuild
  14. 10
      academic/labplot2/labplot2.info
  15. 19
      academic/labplot2/slack-desc
  16. 1
      academic/metis/metis.SlackBuild
  17. 13
      academic/python3-scipy/python3-scipy.SlackBuild
  18. 6
      academic/python3-scipy/python3-scipy.info
  19. 10
      academic/qalculate-gtk/README
  20. 9
      academic/qalculate-gtk/doinst.sh
  21. 111
      academic/qalculate-gtk/qalculate-gtk.SlackBuild
  22. 10
      academic/qalculate-gtk/qalculate-gtk.info
  23. 19
      academic/qalculate-gtk/slack-desc
  24. 1
      academic/speedcrunch/speedcrunch.SlackBuild
  25. 2
      academic/staden/staden.SlackBuild
  26. 1
      academic/stellarium/stellarium.SlackBuild
  27. 17
      academic/stellarsolver/README
  28. 7
      academic/stellarsolver/doinst.sh
  29. 19
      academic/stellarsolver/slack-desc
  30. 119
      academic/stellarsolver/stellarsolver.SlackBuild
  31. 10
      academic/stellarsolver/stellarsolver.info
  32. 31
      academic/suitesparse/README
  33. 19
      academic/suitesparse/slack-desc
  34. 111
      academic/suitesparse/suitesparse.SlackBuild
  35. 10
      academic/suitesparse/suitesparse.info
  36. 2
      academic/sundials/sundials.SlackBuild
  37. 7
      academic/veusz/veusz.SlackBuild
  38. 6
      academic/veusz/veusz.info
  39. 1
      accessibility/flite/flite.SlackBuild
  40. 1
      accessibility/ydotool/ydotool.SlackBuild
  41. 2
      audio/SuperCollider/SuperCollider.SlackBuild
  42. 237
      audio/SuperCollider/supercollider-3.12.2-libsndfile-110-compat.patch
  43. 2
      audio/TiMidity++/TiMidity++.SlackBuild
  44. 1
      audio/apulse/apulse.SlackBuild
  45. 6
      audio/audacity/audacity.SlackBuild
  46. 4
      audio/clementine/clementine.SlackBuild
  47. 32
      audio/clementine/cmake4.patch
  48. 39
      audio/flac-opt/README
  49. 15
      audio/flac-opt/flac-opt-dev.sh
  50. 147
      audio/flac-opt/flac-opt.SlackBuild
  51. 10
      audio/flac-opt/flac-opt.info
  52. 7
      audio/flac-opt/flac-opt.sh
  53. 19
      audio/flac-opt/slack-desc
  54. 2
      audio/guitarix/guitarix.SlackBuild
  55. 22
      audio/guitarix/patches/always_inline.patch
  56. 12
      audio/guitarix/patches/gcc-13.patch
  57. 1
      audio/hydrogen/hydrogen.SlackBuild
  58. 2
      audio/jack-rack/jack-rack.SlackBuild
  59. 2
      audio/jack/jack.SlackBuild
  60. 6
      audio/jack/jack.info
  61. 39
      audio/jack_capture/gcc14.patch
  62. 2
      audio/jack_capture/jack_capture.SlackBuild
  63. 1
      audio/libebur128/libebur128.SlackBuild
  64. 6
      audio/mpd/mpd.SlackBuild
  65. 8
      audio/mpd/mpd.info
  66. 1
      audio/mppenc/mppenc.SlackBuild
  67. 3
      audio/musepack-tools/musepack-tools.SlackBuild
  68. 2
      audio/musikcube/musikcube.SlackBuild
  69. 12
      audio/ncmpcpp/ncmpcpp.SlackBuild
  70. 8
      audio/ncmpcpp/ncmpcpp.info
  71. 72
      audio/quodlibet/python3.12.patch
  72. 1
      audio/quodlibet/quodlibet.SlackBuild
  73. 1
      audio/soxr/soxr.SlackBuild
  74. 25
      audio/wireplumber/README
  75. 5
      audio/wireplumber/doinst.sh
  76. 19
      audio/wireplumber/slack-desc
  77. 54
      audio/wireplumber/wireplumber-disable.sh
  78. 42
      audio/wireplumber/wireplumber-enable.sh
  79. 147
      audio/wireplumber/wireplumber.SlackBuild
  80. 10
      audio/wireplumber/wireplumber.desktop.sample
  81. 10
      audio/wireplumber/wireplumber.info
  82. 22
      business/ledger/boost-185.patch
  83. 1
      business/ledger/ledger.SlackBuild
  84. 2
      desktop/afterstep/afterstep.SlackBuild
  85. 1
      desktop/birdtray/birdtray.SlackBuild
  86. 37
      desktop/cmatrix/cmatrix.SlackBuild
  87. 4
      desktop/cmatrix/cmatrix.info
  88. 7
      desktop/enlightenment/enlightenment.SlackBuild
  89. 6
      desktop/enlightenment/enlightenment.info
  90. 41
      desktop/flatpak/flatpak.SlackBuild
  91. 8
      desktop/flatpak/flatpak.info
  92. 32
      desktop/florence/florence-c99.patch
  93. 6
      desktop/florence/florence.SlackBuild
  94. 6
      desktop/foot/foot.SlackBuild
  95. 6
      desktop/foot/foot.info
  96. 2
      desktop/glabels/glabels.SlackBuild
  97. 45
      desktop/labwc/README
  98. 3
      desktop/labwc/doinst.sh
  99. 114
      desktop/labwc/labwc.SlackBuild
  100. 10
      desktop/labwc/labwc.info

16
README

@ -1,3 +1,19 @@
SBo-git - slackbuilds repository for slackware-current
- - -
this is an unofficial fork of master branch from slackbuilds.org's
git repository (http://slackbuilds.org/cgit/slackbuilds/).
here I put my unofficial mods to their slackbuilds to run on
slackware-current with sbopkg (http://www.sbopkg.org).
Check https://github.com/Ponce/slackbuilds/wiki for additional informations.
See https://github.com/Ponce/slackbuilds/wiki/configuring-the-current-repository-with-sbopkg
for instructions on how to use this repository with sbopkg.
original README from slackbuilds.org follows:
---------------------------------------------
See https://slackbuilds.org/howto/ for instructions on
how to use the contents of this directory.

3
academic/EMBASSY/EMBASSY.SlackBuild

@ -295,6 +295,9 @@ make install DESTDIR=$PKG
# Build MSE
cd $TMP/$PRGNAM-$VERSION/$MSE
# Use sed to fix the ncurses issue in mse.c
sed -i 's/Display->_maxx/COLS/' src/mse.c || exit 1
sed -i 's/Display->_maxy/LINES/' src/mse.c || exit 1
CFLAGS="$SLKCFLAGS $LIBDIRPATH" \
CXXFLAGS="$SLKCFLAGS $LIBDIRPATH" \
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}/EMBOSS" \

2
academic/WordNet/WordNet.SlackBuild

@ -104,7 +104,7 @@ CXXFLAGS="$SLKCFLAGS" \
--datadir=/usr/share/wordnet \
--build=$ARCH-slackware-linux
make CFLAGS="$CFLAGS -DUSE_INTERP_RESULT"
make CFLAGS="$CFLAGS -DUSE_INTERP_RESULT -std=c89"
make install-strip DESTDIR=$PKG
gzip -9 $PKG/usr/man/man*/*

2
academic/bedtools/bedtools.SlackBuild

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=bedtools
DIRNAM=bedtools2
VERSION=${VERSION:-2.31.0}
VERSION=${VERSION:-2.31.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}

6
academic/bedtools/bedtools.info

@ -1,8 +1,8 @@
PRGNAM="bedtools"
VERSION="2.31.0"
VERSION="2.31.1"
HOMEPAGE="http://bedtools.readthedocs.org/"
DOWNLOAD="https://github.com/arq5x/bedtools2/releases/download/v2.31.0/bedtools-2.31.0.tar.gz"
MD5SUM="d840193968e345947b076eaa322a9420"
DOWNLOAD="https://github.com/arq5x/bedtools2/releases/download/v2.31.1/bedtools-2.31.1.tar.gz"
MD5SUM="d1eb463c07c0753a4ee3af614b2ae387"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

4
academic/cutadapt/cutadapt.SlackBuild

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=cutadapt
VERSION=${VERSION:-1.14}
VERSION=${VERSION:-4.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -85,7 +85,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES.rst CITATION LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES.rst LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

6
academic/cutadapt/cutadapt.info

@ -1,8 +1,8 @@
PRGNAM="cutadapt"
VERSION="1.14"
VERSION="4.9"
HOMEPAGE="https://pypi.python.org/pypi/cutadapt/"
DOWNLOAD="https://pypi.python.org/packages/16/e3/06b45eea35359833e7c6fac824b604f1551c2fc7ba0f2bd318d8dd883eb9/cutadapt-1.14.tar.gz"
MD5SUM="57403c3794aa940699df3032a5e9b208"
DOWNLOAD="https://files.pythonhosted.org/packages/cb/15/85799e7fa1dfb86b8f79f8f98902b28003a054c46447a0580f21e535dbf3/cutadapt-4.9.tar.gz"
MD5SUM="8642bd2807ab04cb6207e6c72f595a6d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="xopen"

1
academic/flexbar/flexbar.SlackBuild

@ -88,6 +88,7 @@ cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make

1
academic/geda-gaf/geda-gaf.SlackBuild

@ -76,6 +76,7 @@ CXXFLAGS="$SLKCFLAGS" \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux \
--without-libfam \
--disable-update-xdg-database
make

2
academic/glpk/glpk.SlackBuild

@ -81,7 +81,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS -ansi" \
LDFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \

23
academic/labplot2/README

@ -1,23 +0,0 @@
labplot2 (interactive graphing and analysis of scientific data)
LabPlot is a KDE-application for interactive graphing and analysis of
scientific data.
LabPlot provides an easy way to create, manage and edit plots. It
allows you to produce plots based on data from a spreadsheet or on
data imported from external files. Plots can be exported to several
pixmap and vector graphic formats.
LabPlot2 is a complete rewrite of LabPlot1 and lacks in the first
release a lot of features available in the predecessor. On the other
hand, the GUI and the usability is more superior as compared to
LabPlot1 and there are several new features that were not available
in LabPlot1.
optional dependencies:
- hdf5
- netcdf
- cfitsio
- matio
- discount

14
academic/labplot2/doinst.sh

@ -1,14 +0,0 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

129
academic/labplot2/labplot2.SlackBuild

@ -1,129 +0,0 @@
#!/bin/bash
#
# Slackware build script for LabPlot
# Based on the Slackware 15.0 SlackBuild and AUR PKGBUILD for labplot
#
# Copyright 2014-2024, Fellype do Nascimento, Guaratingueta - Brazil
# 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.
cd $(dirname $0) ; CWD=$(pwd)
NAME=labplot
PRGNAM=labplot2
VERSION=${VERSION:-2.11.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) 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 "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
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"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $NAME-$VERSION
tar -xJf $CWD/$NAME-$VERSION.tar.xz
cd $NAME-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir build
( cd build/
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE=Release \
-DMAN_INSTALL_DIR=/usr/man \
-DENABLE_READSTAT=OFF \
-DENABLE_TESTS=OFF \
-DLOCAL_DBC_PARSER=OFF \
-DLOCAL_VECTOR_BLF=OFF \
..
make
make install/strip DESTDIR=$PKG
)
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# no usr/share/doc dir
mkdir -p $PKG/usr/doc
mv $PKG/usr/share/doc/* $PKG/usr/doc
rmdir $PKG/usr/share/doc
# Leave only one main category in key "Categories" for the .desktop file
sed -i "s:Qt;KDE;Education;Science;Physics;Math;:Science;:" $PKG/usr/share/applications/org.kde.labplot2.desktop
# Fix permissions in .desktop file
chmod 0644 $PKG/usr/share/applications/org.kde.labplot2.desktop
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog README.md LICENSES/* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE

10
academic/labplot2/labplot2.info

@ -1,10 +0,0 @@
PRGNAM="labplot2"
VERSION="2.11.1"
HOMEPAGE="https://labplot.kde.org/"
DOWNLOAD="https://download.kde.org/stable/labplot/labplot-2.11.1.tar.xz"
MD5SUM="5113391e0eb304974238becfa82c0a70"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Fellype do Nascimento"
EMAIL="fellype (at) gmail (dot) com"

19
academic/labplot2/slack-desc

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
labplot2: labplot2 (interactive graphing and analysis of scientific data)
labplot2:
labplot2: LabPlot is a KDE-application for interactive graphing and analysis of
labplot2: scientific data. LabPlot provides an easy way to create, manage and
labplot2: edit plots.
labplot2: LabPlot2 is a complete rewrite of LabPlot1 and lacks in the first
labplot2: release a lot of features available in the predecessor. On the other
labplot2: hand, the GUI and the usability is more superior as compared to
labplot2: LabPlot1 and there are several new features that were not available
labplot2: in LabPlot1.
labplot2:

1
academic/metis/metis.SlackBuild

@ -100,6 +100,7 @@ cd build
-DCMAKE_SKIP_RPATH=YES \
-DCMAKE_RULE_MESSAGES=OFF \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
-DCMAKE_POLICY_VERSION_MINIMUM=3.10 \
-DOPENMP=ON \
..
make install/strip DESTDIR=$PKG

13
academic/python3-scipy/python3-scipy.SlackBuild

@ -34,7 +34,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM="python3-scipy"
SRCNAM="scipy"
VERSION=${VERSION:-1.12.0}
VERSION=${VERSION:-1.15.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -72,15 +72,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Allow our version of numpy and pythran to work
sed -i 's|numpy==1.22.4|numpy>=1.22.4|' pyproject.toml
sed -i 's|numpy==1.23.2|numpy>=1.23.2|' pyproject.toml
sed -i 's|pythran>=0.15.0,<0.16.0|pythran|' pyproject.toml
sed -i 's|meson-python>=0.15.0,<0.16.0|meson-python>=0.15.0|' pyproject.toml
# needs newer meson
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH=/opt/python$PYVER/site-packages/
# Cython in current is too new
sed -i "s|3\.1\.0\"|3.2.0\"|" pyproject.toml
python3 -m build --wheel --no-isolation
python3 -m installer --destdir "$PKG" dist/*.whl

6
academic/python3-scipy/python3-scipy.info

@ -1,8 +1,8 @@
PRGNAM="python3-scipy"
VERSION="1.12.0"
VERSION="1.15.3"
HOMEPAGE="https://www.scipy.org/"
DOWNLOAD="https://github.com/scipy/scipy/releases/download/v1.12.0/scipy-1.12.0.tar.gz"
MD5SUM="22683fcf9a411f0a5254b7509bea0a6b"
DOWNLOAD="https://github.com/scipy/scipy/releases/download/v1.15.3/scipy-1.15.3.tar.gz"
MD5SUM="8959dabb9bf7b10075eecd08b708e573"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pybind11 python3-pythran OpenBLAS"

10
academic/qalculate-gtk/README

@ -1,10 +0,0 @@
qalculate-gtk (GTK interface to libqalculate)
Qalculate! is a multi-purpose cross-platform desktop calculator. It is
simple to use but provides power and versatility normally reserved for
complicated math packages, as well as useful tools for everyday needs
(such as currency conversion and percent calculation). Features include
a large library of customizable functions, unit calculations and
conversion, symbolic calculations (including integers and equations),
arbitrary precision, uncertainty propagation, interval arithmetic,
plotting and a user-friendly interface.

9
academic/qalculate-gtk/doinst.sh

@ -1,9 +0,0 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

111
academic/qalculate-gtk/qalculate-gtk.SlackBuild

@ -1,111 +0,0 @@
#!/bin/bash
# Slackware build script for qalculate-gtk
# Copyright 2016-2020 Larry Hajali <email redacted>
# Copyright 2024 K. Eugene Carlson Tsukuba, Japan
# 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.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qalculate-gtk
VERSION=${VERSION:-3.22.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) 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 "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
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"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
OSNAME="$(awk -F= '/^ID=/{print $2}' /etc/os-release)"
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--mandir=/usr/man \
--libdir=/usr/lib$LIBDIRSUFFIX \
--disable-silent-rules \
--build=$ARCH-$OSNAME-linux
make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
cp -a AUTHORS ChangeLog COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE

10
academic/qalculate-gtk/qalculate-gtk.info

@ -1,10 +0,0 @@
PRGNAM="qalculate-gtk"
VERSION="3.22.0"
HOMEPAGE="https://qalculate.github.io/"
DOWNLOAD="https://github.com/Qalculate/qalculate-gtk/releases/download/v3.22.0/qalculate-gtk-3.22.0.tar.gz"
MD5SUM="856b04752c5f7157797c4548d5ad73ef"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="K. Eugene Carlson"
EMAIL="kvngncrlsn@gmail.com"

19
academic/qalculate-gtk/slack-desc

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
qalculate-gtk: qalculate-gtk (GTK interface to libqalculate)
qalculate-gtk:
qalculate-gtk: Qalculate! is a multi-purpose cross-platform desktop calculator.
qalculate-gtk:
qalculate-gtk: Homepage: https://qalculate.github.io/
qalculate-gtk:
qalculate-gtk:
qalculate-gtk:
qalculate-gtk:
qalculate-gtk:
qalculate-gtk:

1
academic/speedcrunch/speedcrunch.SlackBuild

@ -88,6 +88,7 @@ cmake -G "Unix Makefiles" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
src
make VERBOSE=1

2
academic/staden/staden.SlackBuild

@ -81,6 +81,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sed -i '11i #include <xalloc.h>' stops/stops.c
# Make sure libraries path is correct.
sed -i "s:$STADENROOT/lib:$STADENROOT/lib${LIBDIRSUFFIX}:g" \
global.mk staden.profile

1
academic/stellarium/stellarium.SlackBuild

@ -122,6 +122,7 @@ cd build
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
-DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
-DCMAKE_INSTALL_MANDIR=/usr/man \
-DPREFER_SYSTEM_INDILIB=NO \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG

17
academic/stellarsolver/README

@ -1,17 +0,0 @@
stellarsolver Astrometric Plate Solver
stellarsolver is a cross platform SEP-based star extractor and
astrometry.net-based internal astrometric solver. Also refered to as
Plate solving or Astrometric calibration of an astronomical image,
this is a technique used in astronomy and applied on celestial images.
the astrometric solution it is possible to calculate the celestial
coordinates of any object on the image or synchronize the telescope
mount or satellite pointing position to the center of the image taken.
stellarsolver is required to compile Kstars with INDI support.
For initial QT6 support, try
QT6=yes ./stellarsolver.SlackBuild
NOTE: Kstars still requires QT5 support.

7
academic/stellarsolver/doinst.sh

@ -1,7 +0,0 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi

19
academic/stellarsolver/slack-desc

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
stellarsolver: stellarsolver (Astrometric Plate Solver)
stellarsolver:
stellarsolver: stellarsolver is a cross platform SEP-based star extractor and
stellarsolver: astrometry.net-based internal astrometric solver.
stellarsolver:
stellarsolver:
stellarsolver:
stellarsolver: https://github.com/rlancaste/stellarsolver
stellarsolver:
stellarsolver:
stellarsolver:

119
academic/stellarsolver/stellarsolver.SlackBuild

@ -1,119 +0,0 @@
#!/bin/bash
# Slackware build script for stellarsolver
# Copyright 2022 Edward W. Koenig, Vancouver, WA, 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.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=stellarsolver
VERSION=${VERSION:-2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
case "$ARCH" in
x86_64) ;;
arm*) ;;
*) echo "Unsupported ARCH '$ARCH'"; exit 1 ;;
esac
# 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 "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
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"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
if [ "QT6=${QT6:-no}" = "yes" ]; then
USEQT6="-DUSE_QT5=no"
else
USEQT6=""
fi
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
mkdir -p build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
$USEQT6 \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTER=ON ..
make
make install DESTDIR=$PKG
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE

10
academic/stellarsolver/stellarsolver.info

@ -1,10 +0,0 @@
PRGNAM="stellarsolver"
VERSION="2.6"
HOMEPAGE="https://github.com/rlancaste/stellarsolver"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://github.com/rlancaste/stellarsolver/archive/2.6/stellarsolver-2.6.tar.gz"
MD5SUM_x86_64="f01db3dfcbab439b1b09d78f4833b1a6"
REQUIRES="wcslib"
MAINTAINER="Edward W. Koenig"
EMAIL="kingbeowulf@linuxgalaxy.org"

31
academic/suitesparse/README

@ -1,31 +0,0 @@
suitesparse is a collection of libraries for computations involving
sparse matrices. The package includes the following libraries:
AMD: approximate minimum degree ordering.
CAMD: constrained approximate minimum degree ordering.
COLAMD: column approximate minimum degree ordering.
CCOLAMD: constrained column approximate minimum degree ordering.
CHOLMOD: sparse Cholesky factorization.
CXSparse: CSparse extended: complex matrix, int and long int support.
KLU & BTF: sparse LU factorization, primarily for circuit simulation.
LDL: a simple LDL^t factorization.
SQPR: a multithread, multifrontal, rank-revealing sparse QR
factorization method.
UMFPACK: sparse LU factorization.
RBio: read/write files in Rutherford/Boeing format.
GraphBLAS: graph algorithms in the language of linear algebra
Mongoose: graph partitioning
ssget: MATLAB and Java interface to the SuiteSparse Matrix Collection
Suitesparse is an optional dependency for the octave package.
CXSparse is a superset of CSparse, and the two share common header
names, so it does not make sense to build both. CXSparse is built
by default.
SlackBuilds.org also has all the parts of this suite as individual
builds - DO NOT try and install the individual parts and the suite;
choose one or the other.
For Slackware 15.0, suitesparse's version is being held at 5.13.0.
Later versions are not compatible with 15.0 supplied version of cmake.

19
academic/suitesparse/slack-desc

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
suitesparse: suitesparse (A collection of sparse matrix libraries)
suitesparse:
suitesparse: suitesparse is a collection of libraries for computations involving
suitesparse: sparse matrices. The package includes the following libraries:
suitesparse: AMD, BTF, CAMD, COLAMD, CCOLAMD, CHOLMOD, CXSparse, KLU, LDL,
suitesparse: SQPR, UMFPACK, GraphBLAS, Mongoose.
suitesparse:
suitesparse:
suitesparse:
suitesparse:
suitesparse:

111
academic/suitesparse/suitesparse.SlackBuild

@ -1,111 +0,0 @@
#!/bin/bash
# Slackware build script for suitesparse
# Copyright 2017-2023 Christoph Willing, Brisbane Australia
# All rights reserved.
# Thanks to Pablo Santamaria for previous versions
#
# 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.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=suitesparse
SRCNAM=SuiteSparse
VERSION=${VERSION:-5.13.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
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"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/usr/include/suitesparse
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
export BLAS="$(pkg-config --libs openblas)"
make
make install \
INSTALL_INCLUDE=$PKG/usr/include/suitesparse \
INSTALL_LIB=$PKG/usr/lib$LIBDIRSUFFIX \
INSTALL_DOC=$PKG/usr/doc/$PRGNAM-$VERSION
# Check that each library already has an rpath before attempting to modify it
# (libmetis.so does not, causing `chrpath --replace` to fail)
for l in $PKG/usr/lib${LIBDIRSUFFIX}/*
do
if chrpath -l $l ; then
chrpath --replace /usr/lib$LIBDIRSUFFIX $l
fi
done
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
cp -a LICENSE.txt CONTRIBUTOR-LICENSE.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE

10
academic/suitesparse/suitesparse.info

@ -1,10 +0,0 @@
PRGNAM="suitesparse"
VERSION="5.13.0"
HOMEPAGE="http://faculty.cse.tamu.edu/davis/suitesparse.html"
DOWNLOAD="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v5.13.0/SuiteSparse-5.13.0.tar.gz"
MD5SUM="e9e7bc594b77ae4b58d943cdc286d679"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lapack OpenBLAS chrpath"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"

2
academic/sundials/sundials.SlackBuild

@ -92,7 +92,7 @@ sed -i \
src/*/CMakeLists.txt \
src/*/*/CMakeLists.txt
export PATH=/opt/cmake-202x/bin:$PATH
export CMAKE_POLICY_VERSION_MINIMUM=3.5
mkdir -p build
cd build

7
academic/veusz/veusz.SlackBuild

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=veusz
VERSION=${VERSION:-3.3.1}
VERSION=${VERSION:-3.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
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 "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -87,7 +84,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING INSTALL README.md VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING INSTALL.md README.md VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cp Documents/manual/pdf/veusz.pdf $PKG/usr/doc/$PRGNAM-$VERSION

6
academic/veusz/veusz.info

@ -1,8 +1,8 @@
PRGNAM="veusz"
VERSION="3.3.1"
VERSION="3.6.2"
HOMEPAGE="https://veusz.github.io/"
DOWNLOAD="https://github.com/veusz/veusz/releases/download/veusz-3.3.1/veusz-3.3.1.tar.gz"
MD5SUM="1c7d42d6f87ea3b98fafc8dc52dbbc58"
DOWNLOAD="https://github.com/veusz/veusz/releases/download/veusz-3.6.2/veusz-3.6.2.tar.gz"
MD5SUM="5f79427f7d704437bb984e23393f838f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-numpy"

1
accessibility/flite/flite.SlackBuild

@ -144,6 +144,7 @@ done
# "cd -", as they don't nest.
( cd doc
# build the HTML docs.
sed -i -e "s|html/flite\ |html/flite_html |" -e "s|html/flite\;|html/flite_html;|" -e "s|html/flite/|html/flite_html/|" Makefile
make $PRGNAM.html
( cd html

1
accessibility/ydotool/ydotool.SlackBuild

@ -93,6 +93,7 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
make install/strip DESTDIR=$PKG

2
audio/SuperCollider/SuperCollider.SlackBuild

@ -60,6 +60,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
patch -p1 < $CWD/supercollider-3.12.2-libsndfile-110-compat.patch
# Pass AVAHI=yes to the script to enable avahi support
if [ "${AVAHI:-no}" = "yes" ]; then avahi="OFF"; else avahi="ON"; fi

237
audio/SuperCollider/supercollider-3.12.2-libsndfile-110-compat.patch

@ -0,0 +1,237 @@
From b9dd70c4c8d61c93d7a70645e0bd18fa76e6834e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcin=20P=C4=85czkowski?= <dyfeer@gmail.com>
Date: Mon, 18 Apr 2022 13:51:53 -0700
Subject: [PATCH 1/2] libsndfile: use a macro instead of redefining the struct
Co-Authored-By: Christof Ressi <info@christofressi.com>
---
include/plugin_interface/SC_SndBuf.h | 4 +--
server/plugins/DiskIO_UGens.cpp | 29 +++++++++++----------
server/scsynth/SC_HiddenWorld.h | 4 +++
server/scsynth/SC_SequencedCommand.cpp | 10 +++----
server/scsynth/SC_World.cpp | 4 +--
server/supernova/sc/sc_plugin_interface.cpp | 4 +--
6 files changed, 30 insertions(+), 25 deletions(-)
diff --git a/include/plugin_interface/SC_SndBuf.h b/include/plugin_interface/SC_SndBuf.h
index daccfef8438..2cc129edbf9 100644
--- a/include/plugin_interface/SC_SndBuf.h
+++ b/include/plugin_interface/SC_SndBuf.h
@@ -22,7 +22,7 @@
#include <stdint.h>
-typedef struct SNDFILE_tag SNDFILE;
+#define GETSNDFILE(x) ((SNDFILE*)x->sndfile)
#ifdef SUPERNOVA
@@ -145,7 +145,7 @@ struct SndBuf {
int mask; // for delay lines
int mask1; // for interpolating oscillators.
int coord; // used by fft ugens
- SNDFILE* sndfile; // used by disk i/o
+ void* sndfile; // used by disk i/o
// SF_INFO fileinfo; // used by disk i/o
#ifdef SUPERNOVA
bool isLocal;
diff --git a/server/plugins/DiskIO_UGens.cpp b/server/plugins/DiskIO_UGens.cpp
index 825d2d52ab3..3ace3ca8ffe 100644
--- a/server/plugins/DiskIO_UGens.cpp
+++ b/server/plugins/DiskIO_UGens.cpp
@@ -111,7 +111,7 @@ void DiskIOMsg::Perform() {
sf_count_t count;
switch (mCommand) {
case kDiskCmd_Read:
- count = buf->sndfile ? sf_readf_float(buf->sndfile, buf->data + mPos * buf->channels, mFrames) : 0;
+ count = buf->sndfile ? sf_readf_float(GETSNDFILE(buf), buf->data + mPos * buf->channels, mFrames) : 0;
if (count < mFrames) {
memset(buf->data + (mPos + count) * buf->channels, 0, (mFrames - count) * buf->channels * sizeof(float));
World_GetBuf(mWorld, mBufNum)->mask = mPos + count;
@@ -126,17 +126,17 @@ void DiskIOMsg::Perform() {
memset(buf->data + mPos * buf->channels, 0, mFrames * buf->channels * sizeof(float));
goto leave;
}
- count = sf_readf_float(buf->sndfile, buf->data + mPos * buf->channels, mFrames);
+ count = sf_readf_float(GETSNDFILE(buf), buf->data + mPos * buf->channels, mFrames);
while (mFrames -= count) {
- sf_seek(buf->sndfile, 0, SEEK_SET);
- count = sf_readf_float(buf->sndfile, buf->data + (mPos + count) * buf->channels, mFrames);
+ sf_seek(GETSNDFILE(buf), 0, SEEK_SET);
+ count = sf_readf_float(GETSNDFILE(buf), buf->data + (mPos + count) * buf->channels, mFrames);
}
break;
case kDiskCmd_Write:
// printf("kDiskCmd_Write %d %p\n", mBufNum, buf->sndfile);
if (!buf->sndfile)
goto leave;
- count = sf_writef_float(buf->sndfile, buf->data + mPos * buf->channels, mFrames);
+ count = sf_writef_float(GETSNDFILE(buf), buf->data + mPos * buf->channels, mFrames);
break;
}
@@ -287,14 +287,14 @@ void DiskIn_next(DiskIn* unit, int inNumSamples) {
if ((int)ZIN0(1)) { // loop
if (!bufr->sndfile)
memset(bufr->data + mPos * bufr->channels, 0, bufFrames2 * bufr->channels * sizeof(float));
- count = sf_readf_float(bufr->sndfile, bufr->data + mPos * bufr->channels, bufFrames2);
+ count = sf_readf_float(GETSNDFILE(bufr), bufr->data + mPos * bufr->channels, bufFrames2);
while (bufFrames2 -= count) {
- sf_seek(bufr->sndfile, 0, SEEK_SET);
- count = sf_readf_float(bufr->sndfile, bufr->data + (mPos + count) * bufr->channels, bufFrames2);
+ sf_seek(GETSNDFILE(bufr), 0, SEEK_SET);
+ count = sf_readf_float(GETSNDFILE(bufr), bufr->data + (mPos + count) * bufr->channels, bufFrames2);
}
} else { // non-loop
- count =
- bufr->sndfile ? sf_readf_float(bufr->sndfile, bufr->data + mPos * bufr->channels, bufFrames2) : 0;
+ count = bufr->sndfile ? sf_readf_float(GETSNDFILE(bufr), bufr->data + mPos * bufr->channels, bufFrames2)
+ : 0;
if (count < bufFrames2) {
memset(bufr->data + (mPos + count) * bufr->channels, 0,
(bufFrames2 - count) * bufr->channels * sizeof(float));
@@ -469,13 +469,14 @@ static void VDiskIn_request_buffer(VDiskIn* unit, float fbufnum, uint32 bufFrame
if ((int)ZIN0(2)) { // loop
if (!bufr->sndfile)
memset(bufr->data + mPos * bufr->channels, 0, bufFrames2 * bufr->channels * sizeof(float));
- count = sf_readf_float(bufr->sndfile, bufr->data + mPos * bufr->channels, bufFrames2);
+ count = sf_readf_float(GETSNDFILE(bufr), bufr->data + mPos * bufr->channels, bufFrames2);
while (bufFrames2 -= count) {
- sf_seek(bufr->sndfile, 0, SEEK_SET);
- count = sf_readf_float(bufr->sndfile, bufr->data + (mPos + count) * bufr->channels, bufFrames2);
+ sf_seek(GETSNDFILE(bufr), 0, SEEK_SET);
+ count = sf_readf_float(GETSNDFILE(bufr), bufr->data + (mPos + count) * bufr->channels, bufFrames2);
}
} else { // non-loop
- count = bufr->sndfile ? sf_readf_float(bufr->sndfile, bufr->data + mPos * bufr->channels, bufFrames2) : 0;
+ count =
+ bufr->sndfile ? sf_readf_float(GETSNDFILE(bufr), bufr->data + mPos * bufr->channels, bufFrames2) : 0;
if (count < bufFrames2) {
memset(bufr->data + (mPos + count) * bufr->channels, 0,
(bufFrames2 - count) * bufr->channels * sizeof(float));
diff --git a/server/scsynth/SC_HiddenWorld.h b/server/scsynth/SC_HiddenWorld.h
index 1782ae8e5c4..1f1d924e83d 100644
--- a/server/scsynth/SC_HiddenWorld.h
+++ b/server/scsynth/SC_HiddenWorld.h
@@ -37,6 +37,10 @@
#include "../../common/server_shm.hpp"
+#ifndef NO_LIBSNDFILE
+# include <sndfile.h>
+#endif
+
extern HashTable<struct UnitDef, Malloc>* gUnitDefLib;
diff --git a/server/scsynth/SC_SequencedCommand.cpp b/server/scsynth/SC_SequencedCommand.cpp
index 4227355f3e9..6f54e87a5e4 100644
--- a/server/scsynth/SC_SequencedCommand.cpp
+++ b/server/scsynth/SC_SequencedCommand.cpp
@@ -375,7 +375,7 @@ bool BufFreeCmd::Stage2() {
mFreeData = buf->data;
#ifndef NO_LIBSNDFILE
if (buf->sndfile)
- sf_close(buf->sndfile);
+ sf_close(GETSNDFILE(buf));
#endif
SndBuf_Init(buf);
return true;
@@ -600,7 +600,7 @@ bool BufReadCmd::Stage2() {
}
if (buf->sndfile)
- sf_close(buf->sndfile);
+ sf_close(GETSNDFILE(buf));
if (mLeaveFileOpen) {
buf->sndfile = sf;
@@ -903,7 +903,7 @@ bool BufReadChannelCmd::Stage2() {
leave:
if (buf->sndfile)
- sf_close(buf->sndfile);
+ sf_close(GETSNDFILE(buf));
if (mLeaveFileOpen) {
buf->sndfile = sf;
@@ -1014,7 +1014,7 @@ bool BufWriteCmd::Stage2() {
}
if (buf->sndfile)
- sf_close(buf->sndfile);
+ sf_close(GETSNDFILE(buf));
if (mLeaveFileOpen) {
buf->sndfile = sf;
@@ -1057,7 +1057,7 @@ bool BufCloseCmd::Stage2() {
#else
SndBuf* buf = World_GetNRTBuf(mWorld, mBufIndex);
if (buf->sndfile) {
- sf_close(buf->sndfile);
+ sf_close(GETSNDFILE(buf));
buf->sndfile = nullptr;
}
return true;
diff --git a/server/scsynth/SC_World.cpp b/server/scsynth/SC_World.cpp
index e6ee49023b2..e3de39e4ce2 100644
--- a/server/scsynth/SC_World.cpp
+++ b/server/scsynth/SC_World.cpp
@@ -968,9 +968,9 @@ void World_Cleanup(World* world, bool unload_plugins) {
#ifndef NO_LIBSNDFILE
if (nrtbuf->sndfile)
- sf_close(nrtbuf->sndfile);
+ sf_close(GETSNDFILE(nrtbuf));
if (rtbuf->sndfile && rtbuf->sndfile != nrtbuf->sndfile)
- sf_close(rtbuf->sndfile);
+ sf_close(GETSNDFILE(rtbuf));
#endif
}
diff --git a/server/supernova/sc/sc_plugin_interface.cpp b/server/supernova/sc/sc_plugin_interface.cpp
index 0ca778730b4..2a938600a4d 100644
--- a/server/supernova/sc/sc_plugin_interface.cpp
+++ b/server/supernova/sc/sc_plugin_interface.cpp
@@ -1041,7 +1041,7 @@ void sc_plugin_interface::buffer_close(uint32_t index) {
if (buf->sndfile == nullptr)
return;
- sf_close(buf->sndfile);
+ sf_close(GETSNDFILE(buf));
buf->sndfile = nullptr;
}
@@ -1070,7 +1070,7 @@ void sc_plugin_interface::buffer_sync(uint32_t index) noexcept {
void sc_plugin_interface::free_buffer(uint32_t index) {
SndBuf* buf = world.mSndBufsNonRealTimeMirror + index;
if (buf->sndfile)
- sf_close(buf->sndfile);
+ sf_close(GETSNDFILE(buf));
sndbuf_init(buf);
}
From e93a0c81ca7afdeb69f1aaf5d6167be7e8097f39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcin=20P=C4=85czkowski?= <dyfeer@gmail.com>
Date: Mon, 18 Apr 2022 16:07:18 -0700
Subject: [PATCH 2/2] libsndfile: add windows prototypes on additional sndfile
include
---
server/scsynth/SC_HiddenWorld.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/scsynth/SC_HiddenWorld.h b/server/scsynth/SC_HiddenWorld.h
index 1f1d924e83d..57a26147eb3 100644
--- a/server/scsynth/SC_HiddenWorld.h
+++ b/server/scsynth/SC_HiddenWorld.h
@@ -38,7 +38,7 @@
#include "../../common/server_shm.hpp"
#ifndef NO_LIBSNDFILE
-# include <sndfile.h>
+# include <SC_SndFileHelpers.hpp> // includes sndfile.h with appropriate configuration
#endif
extern HashTable<struct UnitDef, Malloc>* gUnitDefLib;

2
audio/TiMidity++/TiMidity++.SlackBuild

@ -108,7 +108,7 @@ done
# Required for --docdir
autoreconf -vif
EXTRACFLAGS="$SLKCFLAGS" \
EXTRACFLAGS="$SLKCFLAGS -std=gnu11" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \

1
audio/apulse/apulse.SlackBuild

@ -81,6 +81,7 @@ buildit() {
mkdir -p build
cd build
cmake \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DAPULSEPATH=/usr/lib$2${AP_SUBDIR} \
-DAPULSE_SEARCH_PATHS=/usr/lib${AP_SUBDIR}:/usr/lib${LIBDIRSUFFIX}${AP_SUBDIR} \
-DCMAKE_INSTALL_PREFIX=/usr \

6
audio/audacity/audacity.SlackBuild

@ -105,11 +105,11 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DAUDACITY_BUILD_LEVEL=2 \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -std=gnu17" \
-DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS -std=gnu17" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -DHAVE_VISIBILITY=1" \
-DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS -DHAVE_VISIBILITY=1" \
-DCMAKE_CXX_STANDARD=11 \
-DCMAKE_CXX_STANDARD=17 \
-DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
-DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
-DCMAKE_INSTALL_MANDIR=/usr/man \

4
audio/clementine/clementine.SlackBuild

@ -76,6 +76,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
export CMAKE_POLICY_VERSION_MINIMUM=3.10
patch -p1 < $CWD/cmake4.patch
# Prevent forced git revision detection
patch -p1 < $CWD/make-git-rev-detection-optional.patch
sed -i 's|INCLUDE_GIT_REVISION ON|INCLUDE_GIT_REVISION OFF|' cmake/Version.cmake
@ -93,6 +96,7 @@ cd build
-DCMAKE_CXX_STANDARD=17 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-Wno-dev \
..
make
make install DESTDIR=$PKG

32
audio/clementine/cmake4.patch

@ -0,0 +1,32 @@
April 11th 2025 - Matteo Bernardini <ponce@slackbuilds.org>
Fix building with cmake >= 4.x
diff -Naur Clementine-1.4.1.orig/3rdparty/libprojectm/CMakeLists.txt Clementine-1.4.1/3rdparty/libprojectm/CMakeLists.txt
--- Clementine-1.4.1.orig/3rdparty/libprojectm/CMakeLists.txt 2024-10-10 04:42:33.000000000 +0200
+++ Clementine-1.4.1/3rdparty/libprojectm/CMakeLists.txt 2025-04-11 17:57:22.555230000 +0200
@@ -4,11 +4,11 @@
include(CheckCXXCompilerFlag)
-cmake_policy(SET CMP0005 OLD)
+cmake_policy(SET CMP0005 NEW)
# This policy was only added in cmake 2.8.4
if (CMAKE_VERSION VERSION_GREATER "2.8.3")
- cmake_policy(SET CMP0017 OLD)
+ cmake_policy(SET CMP0017 NEW)
endif (CMAKE_VERSION VERSION_GREATER "2.8.3")
diff -Naur Clementine-1.4.1.orig/CMakeLists.txt Clementine-1.4.1/CMakeLists.txt
--- Clementine-1.4.1.orig/CMakeLists.txt 2024-10-10 04:42:33.000000000 +0200
+++ Clementine-1.4.1/CMakeLists.txt 2025-04-11 17:59:11.152230000 +0200
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.0.0)
project(clementine)
-cmake_policy(SET CMP0053 OLD)
+cmake_policy(SET CMP0053 NEW)
include(CheckCXXCompilerFlag)
include(FindPkgConfig)

39
audio/flac-opt/README

@ -1,39 +0,0 @@
flac-opt (free lossless audio codec)
flac is open source software that can reduce the amount of storage
space needed to store digital audio signals without needing to remove
information in doing so. This version of flac is newer than the one
included in Slackware, and is installed in /opt/flac-opt so it won't
conflict with Slackware's flac package.
The main reason for using this is that this newer version of flac
supports multithreaded encoding (via the -j option), which speeds up
the process dramatically. Even without using -j, encodes about 25%
faster than Slackware's flac.
Decoding speed is the same (and can't use multiple threads), so
recompiling e.g. media player apps to use this version of flac doesn't
make sense.
After the package is installed, either log out & back in, or run
"source /etc/profile.d/flac-opt.sh" to put the new flac and metaflac
commands in your PATH. flac-opt.sh is installed +x by default.
SlackBuild developers: if you're writing a SlackBuild that needs the
flac libraries in this package, put this somewhere near the top of
your build script (after the "set -e"):
source /etc/profile.d/flac-opt-dev.sh
The -dev file is not installed executable, to avoid conflicting with
the standard flac libraries. It can also be sourced in an interactive
shell, if needed, but DO NOT "chmod +x" this file.
By default, flac-opt is built with assembly language optimizations. If
you get "illegal instruction" errors at runtime, rebuild the package
with ASM=no in the environment. This should only happen on elderly
(first-generation) x86_64 hardware, such as the original Athlon64.
By default, flac-opt is built with upstream's default C optimization,
which is -O3. There's no reason this should bother anyone... but if it
does, you can built with FORCE_O2=yes in the environment.

15
audio/flac-opt/flac-opt-dev.sh

@ -1,15 +0,0 @@
# profile.d script for SBo flac-opt build, WTFPL, B. Watson.
# Note: DO NOT chmod +x this file. It exists to be sourced only when
# actually needed, and can cause problems when not needed.
Ptmp=@LIBDIR@/pkgconfig
if [ -z "$PKG_CONFIG_PATH" ]; then
PKG_CONFIG_PATH="$Ptmp"
else
PKG_CONFIG_PATH="$Ptmp:$PKG_CONFIG_PATH"
fi
export PKG_CONFIG_PATH
unset Ptmp

147
audio/flac-opt/flac-opt.SlackBuild

@ -1,147 +0,0 @@
#!/bin/bash
# Slackware build script for flac-opt
# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20250512 bkw: BUILD=2
# - fix man breakage that occurred if MANPATH wasn't already set
# when the profile script ran. Thanks to fourtysixandtwo for
# catching this.
# Notes:
# - Not based on PV's flac.SlackBuild. Started with SBo template.
# - Static libraries, not shared, because they live in a weird prefix.
# - It's possible to export PREFIX=/whatever, but not documented in README
# because I really don't expect anyone to do this.
# - I include the API docs and examples even though PV leaves them
# out of his flac package.
# - Encoding really is about 25% faster than Slackware's older flac, even if
# you don't use the new -j option to run in parallel. With -j8 on my 8-core
# workstation, it's 4-5x as fast as the old flac.
# - It's possible to build with either autoconf or cmake. I tried both,
# didn't see any difference. Went with autoconf because it's more
# familiar. May change in the future, if upstream drops autoconf.
# - I see no advantage to building with -O2 rather than upstream's
# default -O3, but I added an option to use -O2 if you're that
# fanatical about using default CFLAGS.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=flac-opt
SRCNAM=flac
VERSION=${VERSION:-1.5.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" -o "$ARCH" = "aarch64" ]; then
SLKCFLAGS="-fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS=""
LIBDIRSUFFIX=""
fi
# upstream uses -O3, we'll go with that unless the user insists.
COPT=-O3
[ "${FORCE_O2:-no}" = "yes" ] && COPT=-O2
SLKCFLAGS="$COPT $SLKCFLAGS"
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod -h 755 {} + -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod -h 644 {} +
if [ "${ASM:-yes}" = "no" ]; then
ASMOPT=disable
WITHASM="WITHOUT"
else
ASMOPT=enable
WITHASM="WITH"
fi
PREFIX=${PREFIX:-/opt/$PRGNAM}
DOCDIR=/usr/doc/$PRGNAM-$VERSION
PKGDOC=$PKG/$DOCDIR
LIBDIR=$PREFIX/lib$LIBDIRSUFFIX
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--disable-examples \
--disable-werror \
--$ASMOPT-asm-optimizations \
--prefix=$PREFIX \
--libdir=$LIBDIR \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=$PREFIX/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-shared \
--enable-static \
--build=$ARCH-slackware-linux
make V=1
make install-strip DESTDIR=$PKG
rm -f $PKG/$PREFIX/lib*/*.la
gzip -9 $PKG/$PREFIX/man/man*/*
PROF=$PKG/etc/profile.d
mkdir -p $PROF
for i in flac-opt.sh flac-opt-dev.sh; do
sed -e "s,@PREFIX@,$PREFIX,g" -e "s,@LIBDIR@,$LIBDIR,g" $CWD/$i > $PROF/$i
done
chmod 755 $PROF/flac-opt.sh
# pkgconfig needs a bit of help. we do this so callers don't have to
# specify --static as a pkg-config option.
sed -i -e '/^Libs\.private/d' \
-e '/^Libs:/s,$, -logg -lm,' \
$PKG/$LIBDIR/pkgconfig/flac.pc
# we didn't build the examples, but include their source in the doc dir.
mkdir -p $PKGDOC
cp -a examples/ AUTHORS *.md COPYING* $PKGDOC
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
sed -e "s,@WITHASM@,$WITHASM," \
-e "s,@PREFIX@,$PREFIX," \
-e "s,@SLKCFLAGS@,$SLKCFLAGS," \
$CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE

10
audio/flac-opt/flac-opt.info

@ -1,10 +0,0 @@
PRGNAM="flac-opt"
VERSION="1.5.0"
HOMEPAGE="https://github.com/xiph/flac/"
DOWNLOAD="https://github.com/xiph/flac/releases/download/1.5.0/flac-1.5.0.tar.xz"
MD5SUM="0bb45bcf74338b00efeec121fff27367"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
EMAIL="urchlay@slackware.uk"

7
audio/flac-opt/flac-opt.sh

@ -1,7 +0,0 @@
# profile.d script for SBo flac-opt build, WTFPL, B. Watson.
MANPATH="@PREFIX@/man:$MANPATH"
PATH=@PREFIX@/bin:$PATH
export PATH
export MANPATH

19
audio/flac-opt/slack-desc

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
flac-opt: flac-opt (free lossless audio codec)
flac-opt:
flac-opt: flac is open source software that can reduce the amount of storage
flac-opt: space needed to store digital audio signals without needing to remove
flac-opt: information in doing so. This version of flac is newer than the one
flac-opt: included in Slackware, and is installed in /opt so it won't conflict
flac-opt: with Slackware's flac package.
flac-opt:
flac-opt: This package built @WITHASM@ assembly optimizations.
flac-opt: C flags: @SLKCFLAGS@. Install prefix: @PREFIX@
flac-opt:

2
audio/guitarix/guitarix.SlackBuild

@ -90,6 +90,8 @@ if [ "${LV2:-yes}" = "no" ]; then
LV2OPT=--no-lv2
fi
for i in $CWD/patches/*; do patch -p2 < $i ; done
# grrr, -DNDEBUG doesn't get added to the flags automatically...
LIBDIR="/usr/lib${LIBDIRSUFFIX}"
./waf configure \

22
audio/guitarix/patches/always_inline.patch

@ -0,0 +1,22 @@
diff --git a/trunk/src/ladspa/ladspa_guitarix.cpp b/trunk/src/ladspa/ladspa_guitarix.cpp
index 1fccffb3..85c3a766 100644
--- a/trunk/src/ladspa/ladspa_guitarix.cpp
+++ b/trunk/src/ladspa/ladspa_guitarix.cpp
@@ -16,8 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define always_inline inline __attribute__((always_inline))
-
#include <stdlib.h>
#include <string.h>
#include <ladspa.h>
@@ -34,6 +32,8 @@
#include "gx_faust_plugins.h"
#include "../plugins/pluginlib.h"
+#define always_inline inline __attribute__((always_inline))
+
#include "faust/gx_ampout_ladspa.cc"
#include "faust/gx_outputlevel_ladspa.cc"

12
audio/guitarix/patches/gcc-13.patch

@ -0,0 +1,12 @@
diff --git a/trunk/src/LV2/DSP/gx_common.h b/trunk/src/LV2/DSP/gx_common.h
index 71108442..ea230e34 100644
--- a/trunk/src/LV2/DSP/gx_common.h
+++ b/trunk/src/LV2/DSP/gx_common.h
@@ -28,6 +28,7 @@
#include <iostream>
#include <cstring>
#include <unistd.h>
+#include <cstdint>
///////////////////////// DENORMAL PROTECTION WITH SSE /////////////////

1
audio/hydrogen/hydrogen.SlackBuild

@ -91,6 +91,7 @@ cd build
-DWANT_PORTMIDI=ON \
-DWANT_RUBBERBAND=ON \
-DLADSPA_LIBRARIES=/usr/lib$LIBDIRSUFIX/ladspa \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG

2
audio/jack-rack/jack-rack.SlackBuild

@ -72,7 +72,7 @@ fi
# --docdir not supported
LDFLAGS="-lm -ldl" \
CFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS -std=gnu17 -Wno-implicit-function-declaration" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \

2
audio/jack/jack.SlackBuild

@ -97,6 +97,8 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
patch -p1 < $CWD/jack2_1.9.22_update_to_waf_2.0.26.patch
# Minor source of incompatibility between jack 1.x and 2.x: some jack
# apps don't add -lpthread to their CFLAGS because they assume jack.pc
# will already include it (it does, in 1.x). So make 2 act like 1:

6
audio/jack/jack.info

@ -2,9 +2,11 @@ PRGNAM="jack"
VERSION="1.9.22"
HOMEPAGE="http://jackaudio.org/"
DOWNLOAD="https://github.com/jackaudio/jack2/archive/v1.9.22/jack2-1.9.22.tar.gz \
https://github.com/jackaudio/jack-example-tools/archive/4/jack-example-tools-4.tar.gz"
https://github.com/jackaudio/jack-example-tools/archive/4/jack-example-tools-4.tar.gz \
https://ponce.cc/slackware/sources/repo/jack2_1.9.22_update_to_waf_2.0.26.patch"
MD5SUM="e57c8ad3de75f78b6eb7aacea4e25755 \
282f4c913489b32edc9926c8f84a73ae"
282f4c913489b32edc9926c8f84a73ae \
7ba0b85ffedc67e8c850e463076bd28e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

39
audio/jack_capture/gcc14.patch

@ -0,0 +1,39 @@
--- a/jack_capture.c 2017-05-19 05:56:00.000000000 -0500
+++ b/jack_capture.c 2025-04-05 23:16:46.219938571 -0500
@@ -909,6 +909,7 @@
#define vsnprintf _vsnprintf
#endif
#ifndef __APPLE__
+#ifndef HAVE_ASPRINTF
int asprintf(char **buffer, char *fmt, ...) {
/* Guess we need no more than 200 chars of space. */
int size = 200;
@@ -947,6 +948,7 @@
}
#endif
#endif
+#endif
#define ARGS_ADD_ARGV(FMT,ARG) \
argv=(char**) realloc((void*)argv, (argc+2)*sizeof(char*)); \
--- a/gen_das_config_h.sh 2017-05-19 05:56:00.000000000 -0500
+++ b/gen_das_config_h.sh 2025-04-05 23:47:40.843411772 -0500
@@ -54,6 +54,18 @@
echo "#define NEW_JACK_LATENCY_API 0"
fi
+echo "#include <stdio.h>" >temp$$.c
+echo "int main() {" >>temp$$.c
+echo " char *buf;" >>temp$$.c
+echo " asprintf(&buf, "test %d", 42);" >>temp$$.c
+echo " return 0;" >>temp$$.c
+echo "}" >>temp$$.c
+
+if gcc temp$$.c 2>/dev/null; then
+ echo "#define HAVE_ASPRINTF 1"
+else
+ echo "#define HAVE_ASPRINTF 0"
+fi
rm temp$$.c

2
audio/jack_capture/jack_capture.SlackBuild

@ -83,6 +83,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 < $CWD/gcc14.patch
sed -i -e "s/OPTIMIZE=-O3.*/OPTIMIZE=${SLKCFLAGS}/g" Makefile
make

1
audio/libebur128/libebur128.SlackBuild

@ -74,6 +74,7 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_STATIC_LIBS=OFF \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG

6
audio/mpd/mpd.SlackBuild

@ -42,7 +42,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mpd
VERSION=${VERSION:-0.23.16}
VERSION=${VERSION:-0.23.17}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -97,15 +97,17 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# LDFLAGS="-L/usr/lib${LIBDIRSUFFIX} -lnsl" \
cd build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX} -lnsl" \
CPPFLAGS="-I/usr/include/yajl" \
meson .. \
-Dsystemd=disabled \
-Dpulse=$PULSE \
-Dupnp=disabled \
-Dmikmod=disabled \
-Dsndio=disabled \
--buildtype=release \
--infodir=/usr/info \
--libdir=/usr/lib${LIBDIRSUFFIX} \

8
audio/mpd/mpd.info

@ -1,10 +1,10 @@
PRGNAM="mpd"
VERSION="0.23.16"
VERSION="0.23.17"
HOMEPAGE="https://www.musicpd.org/"
DOWNLOAD="http://www.musicpd.org/download/mpd/0.23/mpd-0.23.16.tar.xz"
MD5SUM="12cf077f7d1563ff95604734d45e941a"
DOWNLOAD="http://www.musicpd.org/download/mpd/0.23/mpd-0.23.17.tar.xz"
MD5SUM="4182e740600c233b308dddfddb379fc3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="fmt"
REQUIRES="yajl"
MAINTAINER="DhabyX"
EMAIL="slack.dhabyx@gmail.com"

1
audio/mppenc/mppenc.SlackBuild

@ -67,6 +67,7 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1

3
audio/musepack-tools/musepack-tools.SlackBuild

@ -69,9 +69,10 @@ patch -p1 < $CWD/musepack-tools-465-fno-common.patch
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -Wno-error=incompatible-pointer-types" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=$LIBDIRSUFFIX \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE=Release ..
make -j1
make install DESTDIR=$PKG

2
audio/musikcube/musikcube.SlackBuild

@ -82,6 +82,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
sed -i "s|ncursesw/||" src/musikcube/cursespp/cursespp/curses_config.h
# Install .so files to /usr/lib$LIBDIRSUFFIX instead of /usr/share
cp $CWD/fix-install-locations.patch .
sed -i "s/lib\//lib$LIBDIRSUFFIX\//" fix-install-locations.patch

12
audio/ncmpcpp/ncmpcpp.SlackBuild

@ -28,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ncmpcpp
VERSION=${VERSION:-0.9.2}
VERSION=${VERSION:-0.10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -41,9 +41,6 @@ if [ -z "$ARCH" ]; then
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 "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -73,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -82,9 +79,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Needed for boost 1.89.0, thanks to MLanden on LQ!
cp -a $CWD/boost.m4 m4/
sed -ie 's/if (!mpeg_file->save(TagLib::MPEG::File::ID3v2, true, 4, false))/if (!mpeg_file->save(TagLib::MPEG::File::ID3v2, true, 4))/g' src/tags.cpp
./autogen.sh
autoreconf -fi
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \

8
audio/ncmpcpp/ncmpcpp.info

@ -1,8 +1,10 @@
PRGNAM="ncmpcpp"
VERSION="0.9.2"
VERSION="0.10.1"
HOMEPAGE="http://ncmpcpp.rybczak.net"
DOWNLOAD="https://github.com/arybczak/ncmpcpp/archive/0.9.2/ncmpcpp-0.9.2.tar.gz"
MD5SUM="4ce5ed2d2dc26e2c703a0c437ee1a14c"
DOWNLOAD="https://github.com/arybczak/ncmpcpp/archive/0.10.1/ncmpcpp-0.10.1.tar.gz \
https://raw.githubusercontent.com/tsuna/boost.m4/c88f9d1d27707d85ba39fbaeedddddd505e76e6c/build-aux/boost.m4"
MD5SUM="2c90b825291c51bd7630b909daee7cd6 \
ec6c1e787d465ad13bd6a3283bcb5a2f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libmpdclient"

72
audio/quodlibet/python3.12.patch

@ -0,0 +1,72 @@
From a8b6f6bb34864a6821174edbf7802b689e440db3 Mon Sep 17 00:00:00 2001
From: LuK1337 <priv.luk@gmail.com>
Date: Wed, 23 Aug 2023 17:13:23 +0200
Subject: [PATCH] Fix startup on Python 3.12
---
quodlibet/_import.py | 6 ++++++
quodlibet/util/config.py | 2 +-
quodlibet/util/importhelper.py | 6 +++---
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/quodlibet/_import.py b/quodlibet/_import.py
index 5e76b67295..22bd5e3140 100644
--- a/quodlibet/_import.py
+++ b/quodlibet/_import.py
@@ -8,6 +8,7 @@
import sys
import importlib
+import importlib.util
class RedirectImportHook:
@@ -31,6 +32,11 @@ def __init__(self, name, packages):
self._name = name
self._packages = packages
+ def find_spec(self, fullname, path, target=None):
+ loader = self.find_module(fullname, path)
+ if loader is not None:
+ return importlib.util.spec_from_loader(fullname, loader)
+
def find_module(self, fullname, path=None):
package = fullname.split(".")[0]
if package in self._packages:
diff --git a/quodlibet/util/config.py b/quodlibet/util/config.py
index 1c214ac0b4..f0688f9bf9 100644
--- a/quodlibet/util/config.py
+++ b/quodlibet/util/config.py
@@ -377,7 +377,7 @@ def read(self, filename):
with open(filename, "rb") as fileobj:
fileobj = StringIO(
fileobj.read().decode("utf-8", "surrogateescape"))
- self._config.readfp(fileobj, filename)
+ self._config.read_file(fileobj, filename)
except (IOError, OSError):
return
diff --git a/quodlibet/util/importhelper.py b/quodlibet/util/importhelper.py
index f14b11f4b6..c82ded5878 100644
--- a/quodlibet/util/importhelper.py
+++ b/quodlibet/util/importhelper.py
@@ -92,8 +92,8 @@ def load_module(name, package, path):
except KeyError:
pass
- loader = importlib.find_loader(fullname, [path])
- if loader is None:
+ spec = importlib.machinery.PathFinder.find_spec(fullname, [path])
+ if spec is None:
return
# modules need a parent package
@@ -101,7 +101,7 @@ def load_module(name, package, path):
spec = importlib.machinery.ModuleSpec(package, None, is_package=True)
sys.modules[package] = importlib.util.module_from_spec(spec)
- mod = loader.load_module(fullname)
+ mod = spec.loader.load_module(fullname)
# make it accessible from the parent, like __import__ does
vars(sys.modules[package])[name] = mod

1
audio/quodlibet/quodlibet.SlackBuild

@ -61,6 +61,7 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
patch -p1 < $CWD/python3.12.patch
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \

1
audio/soxr/soxr.SlackBuild

@ -75,6 +75,7 @@ cmake -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=${PREFIX} \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DDOC_INSTALL_DIR=/usr/doc/$PRGNAM-$VERSION \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE=Release -Wno-dev ..
make
make install DESTDIR=$PKG

25
audio/wireplumber/README

@ -1,25 +0,0 @@
Wireplumber - Session / policy manager implementation for PipeWire
WirePlumber is a modular session / policy manager for PipeWire and a
GObject-based high-level library that wraps PipeWire’s API,
providing convenience for writing the daemon’s modules as well as
external tools for managing PipeWire.
The WirePlumber daemon implements the session & policy management
service. It follows a modular design, having plugins that implement
the actual management functionality.
The WirePlumber Library provides API that allows you to extend the
WirePlumber daemon, to write management or status tools for PipeWire
(apps that don’t do actual media streaming) and to write custom
session managers for embedded devices.
Replacement of pipewire-media :
Based on what P. Volkerding did for pulseaudio/pipewire
There are 2 scripts to enable/disable wireplumber, in /usr/sbin :
- wireplumber-enable.sh
- wireplumber-disable.sh
For the changes to take effect :
logout / login

5
audio/wireplumber/doinst.sh

@ -1,5 +0,0 @@
# Toss redundant sample files:
for file in wireplumber.desktop ; do
cmp etc/xdg/autostart/${file} etc/xdg/autostart/${file}.sample 2> /dev/null && rm etc/xdg/autostart/${file}.sample
done

19
audio/wireplumber/slack-desc

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
wireplumber: wireplumber (Session / policy manager implementation for PipeWire)
wireplumber:
wireplumber: WirePlumber is a modular session / policy manager for
wireplumber: PipeWire and a GObject-based high-level library
wireplumber: that wraps PipeWire's API, providing convenience for writini
wireplumber: the daemon's modules as well as external tools for managing PipeWire.
wireplumber: It follows a modular design, having plugins that implement the actual
wireplumber: management functionality.
wireplumber:
wireplumber: https://gitlab.com/pipewire/wireplumber
wireplumber:

54
audio/wireplumber/wireplumber-disable.sh

@ -1,54 +0,0 @@
#!/bin/bash
# Copyright 2022 Patrick J. Volkerding, Sebeka, Minnesota, 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.
# This script will attempt to disable pipewire as the default audio server,
# changing it back to pulseaudio.
# Remove or rename the XDG autostart files:
for file in /etc/xdg/autostart/wireplumber.desktop ; do
if [ -r ${file}.sample ]; then
rm -f $file
elif [ -r $file ]; then
mv ${file} ${file}.sample
fi
done
# Condition: check if pipewire is enabled
if [ -f /etc/xdg/autostart/pipewire.desktop ] ; then
# Enable pipewire-media-session.desktop:
if grep -q "^Hidden=true$" /etc/xdg/autostart/pipewire-media-session.desktop ; then
grep -v "^Hidden=true$" /etc/xdg/autostart/pipewire-media-session.desktop > /etc/xdg/autostart/pipewire-media-session.desktop.new
mv /etc/xdg/autostart/pipewire-media-session.desktop.new /etc/xdg/autostart/pipewire-media-session.desktop
fi
echo "Pipewire Media Session enabled as media session server."
if ps ax | grep -q wireplumber ; then
echo
echo "You may need to stop running daemon/wireplumber processes."
echo "The clean way is to run these commands as the user that owns the processes:"
echo "/usr/bin/daemon --pidfiles=~/.run --name=wireplumber --stop"
echo
echo "The quick and dirty way if nothing else on the machine is using the daemon"
echo "utility is to issue this command:"
echo "killall daemon"
fi
fi

42
audio/wireplumber/wireplumber-enable.sh

@ -1,42 +0,0 @@
#!/bin/bash
# Copyright 2022 Patrick J. Volkerding, Sebeka, Minnesota, 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.
# This script will attempt to enable wireplumber as the default media session server.
# Condition: check if pipewire is enabled
if [ -f /etc/xdg/autostart/pipewire.desktop ] ; then
# Rename the XDG autostart files:
for file in /etc/xdg/autostart/wireplumber.desktop.sample ; do
if [ -r $file ]; then
mv $file /etc/xdg/autostart/$(basename $file .sample)
fi
done
# Disable pipewire-media-session.desktop:
if ! grep -q "^Hidden=true$" /etc/xdg/autostart/pipewire-media-session.desktop ; then
echo "Hidden=true" >> /etc/xdg/autostart/pipewire-media-session.desktop
fi
echo "Wireplumber enabled as system media session server."
else
echo "Pipewire is disabled"
echo "you must enable pipewire first : /usr/sbin/pipewire-enable.sh"
fi

147
audio/wireplumber/wireplumber.SlackBuild

@ -1,147 +0,0 @@
#!/bin/bash
# Copyright 2022, marav, Paris, FR
# 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.
# 20241018 bkw: Modified by SlackBuilds.org, BUILD=3: build with lua 5.4.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wireplumber
VERSION=${VERSION:-0.4.7}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
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"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z || exit 1
cd $PRGNAM-$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 {} \+
# Set options to build with or without documentation / introspection
# These options are disabled by default
WITHDOC=${WITHDOC:-no}
WITHINTROSPEC=${WITHINTROSPEC:-no}
if [ $WITHDOC == "no" ]; then
DOC_OPTION="-Ddoc=disabled"
else
DOC_OPTION="-Ddoc=auto"
fi
if [ $WITHINTROSPEC == "no" ]; then
INTROSPEC_OPTION="-Dintrospection=disabled"
else
INTROSPEC_OPTION="-Dintrospection=auto"
fi
# Configure, build, and install:
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 \
-Dsystem-lua=true \
-Dsystemd=disabled \
-Dsystemd-user-service=false \
$DOC_OPTION \
$INTROSPEC_OPTION \
..
"${NINJA:=ninja}"
DESTDIR=$PKG $NINJA install
cd ..
# Add sample configuation files:
mkdir -p $PKG/etc/xdg/autostart
cp -a $CWD/wireplumber.desktop.sample $PKG/etc/xdg/autostart
chown root:root $PKG/etc/xdg/autostart/*
chmod 644 $PKG/etc/xdg/autostart/*
mkdir -p $PKG/usr/sbin
cp -a $CWD/wireplumber-disable.sh $PKG/usr/sbin
cp -a $CWD/wireplumber-enable.sh $PKG/usr/sbin
chown root:root $PKG/usr/sbin/wireplumber-disable.sh $PKG/usr/sbin/wireplumber-enable.sh
chmod 755 $PKG/usr/sbin/wireplumber-disable.sh $PKG/usr/sbin/wireplumber-enable.sh
# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
LICENSE NEWS.rst README.rst \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE

10
audio/wireplumber/wireplumber.desktop.sample

@ -1,10 +0,0 @@
[Desktop Entry]
Version=1.0
Name=Wireplumber
Comment=Start the Wireplumber
Exec=/usr/bin/daemon -frB --pidfiles=~/.run --name=wireplumber /usr/bin/wireplumber
Terminal=false
Type=Application
X-GNOME-Autostart-Phase=Initialization
X-KDE-autostart-after=pipewire
X-KDE-autostart-phase=1

10
audio/wireplumber/wireplumber.info

@ -1,10 +0,0 @@
PRGNAM="wireplumber"
VERSION="0.4.7"
HOMEPAGE="https://gitlab.freedesktop.org/pipewire/wireplumber"
DOWNLOAD="https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/0.4.7/wireplumber-0.4.7.tar.gz"
MD5SUM="9e63d8944f91b6a4646a736b1f1db251"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"
MAINTAINER="marav"
EMAIL="marav8@free.fr"

22
business/ledger/boost-185.patch

@ -0,0 +1,22 @@
From 1da89f6ffb44a44257b9774c4ceb71e7b495d677 Mon Sep 17 00:00:00 2001
From: Michael Cho <michael@michaelcho.dev>
Date: Thu, 25 Apr 2024 11:29:49 -0400
Subject: [PATCH] Fix build with Boost 1.85.0
Signed-off-by: Michael Cho <michael@michaelcho.dev>
---
src/system.hh.in | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/system.hh.in b/src/system.hh.in
index 05f28fc24..070f1cd4a 100644
--- a/src/system.hh.in
+++ b/src/system.hh.in
@@ -140,7 +140,6 @@
#include <boost/date_time/posix_time/posix_time_io.hpp>
#include <boost/date_time/gregorian/gregorian_io.hpp>
-#include <boost/filesystem/convenience.hpp>
#include <boost/filesystem/exception.hpp>
#include <boost/filesystem/fstream.hpp>
#include <boost/filesystem/operations.hpp>

1
business/ledger/ledger.SlackBuild

@ -52,6 +52,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
patch -p1 < $CWD/boost-176.patch
patch -p1 < $CWD/boost-185.patch
# 20220301 bkw: do not look for utfcpp's headers in /usr/include, use
# only the bundled copy (otherwise the build breaks if utfcpp is installed).

2
desktop/afterstep/afterstep.SlackBuild

@ -88,7 +88,7 @@ patch -p1 < $CWD/binutils-2.36.patch
# /etc/alternatives (not inside $PKG). Stop it.
sed -i '/^install:/s, *install\.alternative,,' src/afterstep/Makefile.in
CFLAGS="$SLKCFLAGS -fgnu89-inline" \
CFLAGS="$SLKCFLAGS -std=gnu89 -fgnu89-inline" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \

1
desktop/birdtray/birdtray.SlackBuild

@ -87,6 +87,7 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG

37
desktop/cmatrix/cmatrix.SlackBuild

@ -21,8 +21,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=cmatrix
VERSION=${VERSION:-1.2a}
BUILD=${BUILD:-3}
VERSION=${VERSION:-20231209_5c082c6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -63,33 +63,34 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
make
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_POLICY_VERSION_MINIMUM=3.10 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
cd ..
# Manual install - patching the Makefile not worth it
mkdir -p $PKG/usr/{bin,man/man1,share/{kbd/consolefonts,fonts/misc}}
install -s $PRGNAM $PKG/usr/bin
mkdir -p $PKG/usr/share/{kbd/consolefonts,fonts/misc}
cp -a matrix.fnt matrix.psf.gz $PKG/usr/share/kbd/consolefonts
gzip -9c < cmatrix.1 > $PKG/usr/man/man1/cmatrix.1.gz
gzip -9c < mtx.pcf > $PKG/usr/share/fonts/misc/mtx.pcf.gz
mv $PKG/usr/share/man $PKG/usr
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING README ChangeLog NEWS TODO $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING README* ChangeLog NEWS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

4
desktop/cmatrix/cmatrix.info

@ -1,8 +1,8 @@
PRGNAM="cmatrix"
VERSION="1.2a"
HOMEPAGE="http://www.asty.org/cmatrix/"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/cmatrix-1.2a.tar.gz"
MD5SUM="ebfb5733104a258173a9ccf2669968a1"
DOWNLOAD="https://ponce.cc/slackware/sources/repo/cmatrix-20231209_5c082c6.tar.xz"
MD5SUM="c878071e2e8a5fdbf581b46069cb9e79"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

7
desktop/enlightenment/enlightenment.SlackBuild

@ -31,8 +31,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=enlightenment
VERSION=${VERSION:-0.26.0}
BUILD=${BUILD:-2}
VERSION=${VERSION:-0.27.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -46,9 +46,6 @@ if [ -z "$ARCH" ]; then
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 "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0

6
desktop/enlightenment/enlightenment.info

@ -1,8 +1,8 @@
PRGNAM="enlightenment"
VERSION="0.26.0"
VERSION="0.27.1"
HOMEPAGE="https://www.enlightenment.org/"
DOWNLOAD="https://download.enlightenment.org/rel/apps/enlightenment/enlightenment-0.26.0.tar.xz"
MD5SUM="17cbf0f2dfe419019cc90f4392d9980d"
DOWNLOAD="https://download.enlightenment.org/rel/apps/enlightenment/enlightenment-0.27.1.tar.xz"
MD5SUM="03834b8ac5fa249c0659e37094ae52ca"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="efl"

41
desktop/flatpak/flatpak.SlackBuild

@ -28,8 +28,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=flatpak
VERSION=${VERSION:-1.12.7}
BUILD=${BUILD:-1}
VERSION=${VERSION:-1.16.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -79,26 +79,31 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux \
--with-system-bubblewrap
make
make install-strip DESTDIR=$PKG
gzip -9 $PKG/usr/man/man*/*
mkdir build
cd build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
meson .. \
--buildtype=release \
--infodir=/usr/info \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--mandir=/usr/man \
--prefix=/usr \
--sysconfdir=/etc \
-Dsystem_bubblewrap=bwrap \
-Ddocdir=/usr/doc/$PRGNAM-$VERSION \
-Dstrip=true
"${NINJA:=ninja}"
DESTDIR=$PKG $NINJA install
cd ..
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
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
chmod +x $PKG/etc/profile.d/flatpak.sh
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

8
desktop/flatpak/flatpak.info

@ -1,10 +1,10 @@
PRGNAM="flatpak"
VERSION="1.12.7"
VERSION="1.16.0"
HOMEPAGE="https://flatpak.org/"
DOWNLOAD="https://github.com/flatpak/flatpak/releases/download/1.12.7/flatpak-1.12.7.tar.xz"
MD5SUM="07d32580019572d5952cb0cadb073493"
DOWNLOAD="https://github.com/flatpak/flatpak/releases/download/1.16.0/flatpak-1.16.0.tar.xz"
MD5SUM="bdf866646fb312a341f84669f625488b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="bubblewrap ostree appstream-glib xdg-desktop-portal-gtk"
REQUIRES="bubblewrap ostree AppStream xdg-desktop-portal-gtk"
MAINTAINER="Vincent Batts"
EMAIL="vbatts@hashbangbash.com"

32
desktop/florence/florence-c99.patch

@ -0,0 +1,32 @@
Do not call the undeclared wait function. Part of this upstream
commit:
commit d1bc2d6b932d6f09a34d391a7e1f56ff1d622e0e
Author: François Agrech <f.agrech@gmail.com>
Date: Wed Nov 5 08:26:54 2014 +0100
Use pango instead of cairo toy text api.
This fixes a regression on previous fallback font patch.
diff --git a/src/controller.c b/src/controller.c
index a0754993fa0a42e9..686146f2e29f4fff 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -28,6 +28,7 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/extensions/shape.h>
+#include <sys/wait.h>
#define MOVING_THRESHOLD 15
@@ -46,7 +47,7 @@ void controller_icon_expose (GtkWidget *window, cairo_t* context, void *userdata
cairo_paint(context);
cairo_set_operator(context, CAIRO_OPERATOR_SOURCE);
style_render_svg(context, handle, w, h, FALSE, NULL);
- wait();
+ wait(NULL);
END_FUNC
}

6
desktop/florence/florence.SlackBuild

@ -60,9 +60,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 < $CWD/florence-c99.patch
# disable docs, needs scrollkeeper (gnome dependency)
CFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS -std=gnu17" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@ -73,6 +75,8 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--without-docs \
--disable-static \
--without-at-spi \
--without-notification \
--build=$ARCH-slackware-linux
# Arch was those. Why?

6
desktop/foot/foot.SlackBuild

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=foot
VERSION=${VERSION:-1.15.3}
VERSION=${VERSION:-1.24.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -66,9 +66,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \

6
desktop/foot/foot.info

@ -1,8 +1,8 @@
PRGNAM="foot"
VERSION="1.15.3"
VERSION="1.24.0"
HOMEPAGE="https://codeberg.org/dnkl/foot"
DOWNLOAD="https://codeberg.org/dnkl/foot/archive/1.15.3.tar.gz"
MD5SUM="a5dd0c558eaf5bd6ff139e33d2b46a0b"
DOWNLOAD="https://codeberg.org/dnkl/foot/releases/download/1.24.0/foot-1.24.0.tar.gz"
MD5SUM="fae6b10b386317445f02431ba1b75545"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="fcft"

2
desktop/glabels/glabels.SlackBuild

@ -81,7 +81,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" \
CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition -Wno-incompatible-pointer-types" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \

45
desktop/labwc/README

@ -1,45 +0,0 @@
Labwc is a wlroots-based stacking compositor aiming to be lightweight
and independent, with a focus on simply stacking windows well and
rendering some window decorations. It relies on clients for wallpaper,
panels, screenshots, and so on to create a full desktop environment.
Labwc tries to stay in keeping with wlroots and sway in terms of general
approach and coding style.
In order to avoid reinventing configuration and theme syntax,
the openbox-3.4 specification is used. This does not mean that labwc
is an openbox clone but rather that configuration files will look and
feel familiar.
labwc supports the following:
•Config files (rc.xml, autostart, environment)
•Theme files and xbm icons
•Damage tracking to reduce CPU usage
•A basic root-menu (configured with menu.xml)
•HiDPI
•wlr-output-management protocol
•layer-shell protocol
•foreign-toplevel protocol (e.g. to integrate with panels and bars)
•Optionally xwayland
Labwc uses the files listed below for configuration and theming.
get them from labwc github web page.
file user over-ride location
•rc.xml ~/.config/labwc/
•menu.xml ~/.config/labwc/
•autostart ~/.config/labwc/
•environment ~/.config/labwc/
•themerc ~/.local/share/themes/<theme-name>/openbox-3/
Suggested apps to use with labwc:
Suggested apps to use with labwc:
•Screen shooter: grim
•Screen recorder: wf-recorder
•Background image: swaybg
•Panel: waybar, yambar, lavalauncher, sfwbar
•Launchers: bemenu, fuzzel, wofi
•Output managers: wlopm, kanshi, wlr-randr
•Screen locker: swaylock

3
desktop/labwc/doinst.sh

@ -1,3 +0,0 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi

114
desktop/labwc/labwc.SlackBuild

@ -1,114 +0,0 @@
#!/bin/bash
# Slackware build script for labwc
# Copyright 2022 Damian Perticone, Berisso, Argentina
# 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.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=labwc
VERSION=${VERSION:-0.5.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
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"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir build
cd build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
meson .. \
--buildtype=release \
--infodir=/usr/info \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--mandir=/usr/man \
--prefix=/usr \
--sysconfdir=/etc \
-Dstrip=true \
-Dxwayland=enabled \
"${NINJA:=ninja}"
DESTDIR=$PKG $NINJA install
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CONTRIBUTING.md LICENSE NEWS.md README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE

10
desktop/labwc/labwc.info

@ -1,10 +0,0 @@
PRGNAM="labwc"
VERSION="0.5.3"
HOMEPAGE="https://github.com/labwc/labwc"
DOWNLOAD="https://github.com/labwc/labwc/archive/0.5.3/labwc-0.5.3.tar.gz"
MD5SUM="817c72eb416ed3d2e079e891d93a326b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="wlroots"
MAINTAINER="Damian Perticone"
EMAIL="mjolnirdam@gmail.com"

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save