Browse Source
20251004.1 global branch merge.
20251004.1 global branch merge.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>current current-20251004.1
1548 changed files with 25837 additions and 31789 deletions
-
16README
-
3academic/EMBASSY/EMBASSY.SlackBuild
-
2academic/WordNet/WordNet.SlackBuild
-
2academic/bedtools/bedtools.SlackBuild
-
6academic/bedtools/bedtools.info
-
4academic/cutadapt/cutadapt.SlackBuild
-
6academic/cutadapt/cutadapt.info
-
1academic/flexbar/flexbar.SlackBuild
-
1academic/geda-gaf/geda-gaf.SlackBuild
-
2academic/glpk/glpk.SlackBuild
-
23academic/labplot2/README
-
14academic/labplot2/doinst.sh
-
129academic/labplot2/labplot2.SlackBuild
-
10academic/labplot2/labplot2.info
-
19academic/labplot2/slack-desc
-
1academic/metis/metis.SlackBuild
-
13academic/python3-scipy/python3-scipy.SlackBuild
-
6academic/python3-scipy/python3-scipy.info
-
10academic/qalculate-gtk/README
-
9academic/qalculate-gtk/doinst.sh
-
111academic/qalculate-gtk/qalculate-gtk.SlackBuild
-
10academic/qalculate-gtk/qalculate-gtk.info
-
19academic/qalculate-gtk/slack-desc
-
1academic/speedcrunch/speedcrunch.SlackBuild
-
2academic/staden/staden.SlackBuild
-
1academic/stellarium/stellarium.SlackBuild
-
17academic/stellarsolver/README
-
7academic/stellarsolver/doinst.sh
-
19academic/stellarsolver/slack-desc
-
119academic/stellarsolver/stellarsolver.SlackBuild
-
10academic/stellarsolver/stellarsolver.info
-
31academic/suitesparse/README
-
19academic/suitesparse/slack-desc
-
111academic/suitesparse/suitesparse.SlackBuild
-
10academic/suitesparse/suitesparse.info
-
2academic/sundials/sundials.SlackBuild
-
7academic/veusz/veusz.SlackBuild
-
6academic/veusz/veusz.info
-
1accessibility/flite/flite.SlackBuild
-
1accessibility/ydotool/ydotool.SlackBuild
-
2audio/SuperCollider/SuperCollider.SlackBuild
-
237audio/SuperCollider/supercollider-3.12.2-libsndfile-110-compat.patch
-
2audio/TiMidity++/TiMidity++.SlackBuild
-
1audio/apulse/apulse.SlackBuild
-
6audio/audacity/audacity.SlackBuild
-
4audio/clementine/clementine.SlackBuild
-
32audio/clementine/cmake4.patch
-
39audio/flac-opt/README
-
15audio/flac-opt/flac-opt-dev.sh
-
147audio/flac-opt/flac-opt.SlackBuild
-
10audio/flac-opt/flac-opt.info
-
7audio/flac-opt/flac-opt.sh
-
19audio/flac-opt/slack-desc
-
2audio/guitarix/guitarix.SlackBuild
-
22audio/guitarix/patches/always_inline.patch
-
12audio/guitarix/patches/gcc-13.patch
-
1audio/hydrogen/hydrogen.SlackBuild
-
2audio/jack-rack/jack-rack.SlackBuild
-
2audio/jack/jack.SlackBuild
-
6audio/jack/jack.info
-
39audio/jack_capture/gcc14.patch
-
2audio/jack_capture/jack_capture.SlackBuild
-
1audio/libebur128/libebur128.SlackBuild
-
6audio/mpd/mpd.SlackBuild
-
8audio/mpd/mpd.info
-
1audio/mppenc/mppenc.SlackBuild
-
3audio/musepack-tools/musepack-tools.SlackBuild
-
2audio/musikcube/musikcube.SlackBuild
-
12audio/ncmpcpp/ncmpcpp.SlackBuild
-
8audio/ncmpcpp/ncmpcpp.info
-
72audio/quodlibet/python3.12.patch
-
1audio/quodlibet/quodlibet.SlackBuild
-
1audio/soxr/soxr.SlackBuild
-
25audio/wireplumber/README
-
5audio/wireplumber/doinst.sh
-
19audio/wireplumber/slack-desc
-
54audio/wireplumber/wireplumber-disable.sh
-
42audio/wireplumber/wireplumber-enable.sh
-
147audio/wireplumber/wireplumber.SlackBuild
-
10audio/wireplumber/wireplumber.desktop.sample
-
10audio/wireplumber/wireplumber.info
-
22business/ledger/boost-185.patch
-
1business/ledger/ledger.SlackBuild
-
2desktop/afterstep/afterstep.SlackBuild
-
1desktop/birdtray/birdtray.SlackBuild
-
37desktop/cmatrix/cmatrix.SlackBuild
-
4desktop/cmatrix/cmatrix.info
-
7desktop/enlightenment/enlightenment.SlackBuild
-
6desktop/enlightenment/enlightenment.info
-
41desktop/flatpak/flatpak.SlackBuild
-
8desktop/flatpak/flatpak.info
-
32desktop/florence/florence-c99.patch
-
6desktop/florence/florence.SlackBuild
-
6desktop/foot/foot.SlackBuild
-
6desktop/foot/foot.info
-
2desktop/glabels/glabels.SlackBuild
-
45desktop/labwc/README
-
3desktop/labwc/doinst.sh
-
114desktop/labwc/labwc.SlackBuild
-
10desktop/labwc/labwc.info
@ -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 |
@ -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 |
@ -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 |
|||
|
@ -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" |
@ -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,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. |
@ -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 |
@ -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 |
@ -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" |
@ -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,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. |
@ -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 |
@ -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: |
@ -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 |
@ -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" |
@ -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. |
@ -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: |
@ -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 |
@ -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" |
@ -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; |
@ -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) |
@ -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. |
@ -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 |
@ -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 |
@ -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" |
@ -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 |
@ -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: |
@ -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" |
|||
|
@ -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 ///////////////// |
|||
|
@ -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 |
|||
|
@ -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" |
@ -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,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 |
@ -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 |
|||
|
@ -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: |
@ -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 |
|||
|
@ -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 |
@ -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 |
|||
|
@ -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 |
@ -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" |
@ -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,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" |
@ -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 |
|||
} |
|||
|
@ -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 |
@ -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 |
@ -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 |
@ -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
Write
Preview
Loading…
Cancel
Save
Reference in new issue