audio/caps: Updated for version 0.9.26.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2018-12-18 05:45:20 -05:00 committed by Willy Sudiarto Raharjo
parent b60b46e217
commit 9e43b1f00c
No known key found for this signature in database
GPG key ID: 887B8374D7333381
4 changed files with 71 additions and 39 deletions

View file

@ -18,4 +18,5 @@ the package, set DOCS=no in the script's environment. Note that the HTML
doc is also available online (it's the caps homepage)... but only the doc is also available online (it's the caps homepage)... but only the
most recent version, which might be newer than this build. most recent version, which might be newer than this build.
If you're upgrading from an older version of caps, read UPGRADE.txt. If you're upgrading from an older version of caps, or need to install
an older version of caps for e.g. an old Ardour session, read UPGRADE.txt.

View file

@ -1,32 +1,56 @@
Upgrade notes:
0.9.24 upgrade notes: It's a terrible idea to upgrade plugins while running programs are
still using them. Make sure you exit any application(s) that use the
caps plugins before upgrading.
Some of the plugin names and/or their parameters have changed since the Plugin names and parameters can and do change, between caps releases. If
old (0.9.7 or 0.9.20) SlackBuild. you're upgrading from an older version, be aware that any of your scripts
If you're upgrading from 0.9.7, be aware that any of your scripts
or projects that use caps (e.g. Ardour sessions, or jack-rack presets) or projects that use caps (e.g. Ardour sessions, or jack-rack presets)
will need updating. For Ardour 2.x, if the changes prevent your session might need updating, especially if you're upgrading from a really old
from loading, try: version.
For Ardour, if the changes prevent your session from loading, try:
- Make a backup of your session directory (done with cp or tar, whatever). - Make a backup of your session directory (done with cp or tar, whatever).
- Start ardour2 with the -d (or --disable-plugins) option, load the session. - Start ardour3 with the -d (or --disable-plugins) option.
- Load the session.
- Remove the offending plugins from their tracks or busses. - Remove the offending plugins from their tracks or busses.
- Save and exit - Save the session.
- Start ardour2 normally, load the session. - Exit Ardour.
- Add the plugins back. - Start ardour3 normally.
- Load the session again.
- Add the plugins back. Manually.
If all else fails and you want to downgrade back to 0.9.7, you can If all else fails and you want to downgrade back to an older version,
still build it with this SlackBuild. Upstream removed the 0.9.7 you can still build many of them with this SlackBuild. Upstream removes
source from their site, but there's a copy here: the old sources from their site, but there are several versions archived
here:
http://urchlay.naptime.net/~urchlay/src/caps_0.9.7.tar.bz2 http://urchlay.naptime.net/~urchlay/src/caps_0.9.7.tar.bz2
[no documentation available for 0.9.7; package won't contain docs]
Build with: VERSION=0.9.7 DOCS=no ./caps.SlackBuild
You can still build 0.9.20 as well:
http://urchlay.naptime.net/~urchlay/src/caps_0.9.20.tar.bz2 http://urchlay.naptime.net/~urchlay/src/caps_0.9.20.tar.bz2
http://urchlay.naptime.net/~urchlay/src/caps-doc-unofficial_0.9.20.tar.bz2 http://urchlay.naptime.net/~urchlay/src/caps-doc-unofficial_0.9.20.tar.bz2
Build with: VERSION=0.9.20 ./caps.SlackBuild http://urchlay.naptime.net/~urchlay/src/caps_0.9.24.tar.bz2
http://urchlay.naptime.net/~urchlay/src/caps-doc-unofficial_0.9.24.tar.bz2
Build with a command like:
root@box:caps# VERSION=0.9.7 ./caps.SlackBuild
md5sums of the above files:
7eea7c1f30363cca78f600544de271f4 caps-doc-unofficial_0.9.20.tar.bz2
58eec76a6db744e13539101dd1f7c647 caps-doc-unofficial_0.9.24.tar.bz2
0bb3935f6747a7087ca32a67bd0d8793 caps_0.9.20.tar.bz2
c1d634038dcb54702306c0e30cb1c626 caps_0.9.24.tar.bz2
d74582d3ae7a4244d3a77501693bbdf3 caps_0.9.7.tar.bz2
Other old versions not listed here may work, but haven't been tested.
At some point, I may be forced to change the SlackBuild in a way that
will break compatibility with old versions. If that happens, and you
still need an old version, please let me know (at the email address in
the .info file).

View file

@ -6,10 +6,16 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20181218 bkw:
# - update for v0.9.26.
# - expand UPGRADE.txt.
# - test script with versions 0.9.7, 0.9.20, 0.9.24 (it still works).
# - minor script cleanups/simplifications.
# 20170622 bkw: fix build on -current # 20170622 bkw: fix build on -current
PRGNAM=caps PRGNAM=caps
VERSION=${VERSION:-0.9.24} VERSION=${VERSION:-0.9.26}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -51,13 +57,12 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/${PRGNAM}_$VERSION.tar.bz2 tar xvf $CWD/${PRGNAM}_$VERSION.tar.bz2
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
patch -p1 < $CWD/gcc7fix.diff # 0.9.26 doesn't need this (and it won't apply), leaving it here
# in case someone really needs 0.9.24 for existing projects.
[ "$VERSION" = "0.9.24" ] && patch -p1 < $CWD/gcc7fix.diff
if [ "$FORCE_SLACK_CFLAGS" = "yes" ]; then if [ "$FORCE_SLACK_CFLAGS" = "yes" ]; then
make OPTS="$SLKCFLAGS" ARCH="" make OPTS="$SLKCFLAGS" ARCH=""
@ -66,22 +71,24 @@ else
make make
fi fi
make install \ LADSPALIB=$PKG/usr/lib$LIBDIRSUFFIX/ladspa
DEST=$PKG/usr/lib$LIBDIRSUFFIX/ladspa \ make install DEST=$LADSPALIB RDFDEST=$PKG/usr/share/ladspa/rdf
RDFDEST=$PKG/usr/share/ladspa/rdf \
# LADSPA standard seems to be mode 0755 # LADSPA standard seems to be mode 0755
chmod 0755 $PKG/usr/lib$LIBDIRSUFFIX/ladspa/*.so chmod 0755 $LADSPALIB
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES COPYING README $PKG/usr/doc/$PRGNAM-$VERSION cp -a CHANGES COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# docs are in a separate tarball now, just a wget -r of upstream's site # docs are in a separate tarball now, just a wget -r of upstream's site
if [ "${DOCS:-yes}" = "yes" ]; then DOCVER="${DOCVER:-$VERSION}"
DOCFILE="$CWD/$PRGNAM-doc-unofficial_$DOCVER.tar.bz2"
if [ "${DOCS:-yes}" = "yes" ] && [ -e "$DOCFILE" ]; then
( cd $PKG/usr/doc/$PRGNAM-$VERSION ( cd $PKG/usr/doc/$PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-doc-unofficial_$VERSION.tar.bz2 --no-same-owner tar xvf "$DOCFILE" --no-same-owner
mv $PRGNAM-doc-unofficial_$VERSION html mv $PRGNAM-doc-unofficial_$DOCVER html
chown root.root html/* chown root.root html/*
chmod 644 html/* chmod 644 html/*
) )

View file

@ -1,10 +1,10 @@
PRGNAM="caps" PRGNAM="caps"
VERSION="0.9.24" VERSION="0.9.26"
HOMEPAGE="http://quitte.de/dsp/caps.html" HOMEPAGE="http://quitte.de/dsp/caps.html"
DOWNLOAD="http://quitte.de/dsp/caps_0.9.24.tar.bz2 \ DOWNLOAD="http://quitte.de/dsp/caps_0.9.26.tar.bz2 \
http://urchlay.naptime.net/~urchlay/src/caps-doc-unofficial_0.9.24.tar.bz2" http://urchlay.naptime.net/~urchlay/src/caps-doc-unofficial_0.9.26.tar.bz2"
MD5SUM="c1d634038dcb54702306c0e30cb1c626 \ MD5SUM="36b30c7c7db2d2bc5f4f54077e97b5ee \
58eec76a6db744e13539101dd1f7c647" 3c3eb99856f0d21b5a7212622ff0b55f"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="ladspa_sdk" REQUIRES="ladspa_sdk"