aboutsummaryrefslogtreecommitdiff
path: root/audio/tap_plugins
diff options
context:
space:
mode:
Diffstat (limited to 'audio/tap_plugins')
-rw-r--r--audio/tap_plugins/128.pngbin0 -> 20988 bytes
-rw-r--r--audio/tap_plugins/doinst.sh7
-rw-r--r--audio/tap_plugins/reverbed.194
-rw-r--r--audio/tap_plugins/reverbed.pngbin5752 -> 27407 bytes
-rw-r--r--audio/tap_plugins/reverbed.rst83
-rw-r--r--audio/tap_plugins/tap_plugins.SlackBuild67
-rw-r--r--audio/tap_plugins/tap_plugins.info12
7 files changed, 228 insertions, 35 deletions
diff --git a/audio/tap_plugins/128.png b/audio/tap_plugins/128.png
new file mode 100644
index 000000000000..642c4b1c07ce
--- /dev/null
+++ b/audio/tap_plugins/128.png
Binary files differ
diff --git a/audio/tap_plugins/doinst.sh b/audio/tap_plugins/doinst.sh
index 696d35bad7e6..3e5691a052b5 100644
--- a/audio/tap_plugins/doinst.sh
+++ b/audio/tap_plugins/doinst.sh
@@ -1,4 +1,9 @@
-
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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/audio/tap_plugins/reverbed.1 b/audio/tap_plugins/reverbed.1
new file mode 100644
index 000000000000..d751f91d426e
--- /dev/null
+++ b/audio/tap_plugins/reverbed.1
@@ -0,0 +1,94 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "REVERBED" 1 "2021-12-01" "r0" "SlackBuilds.org"
+.SH NAME
+reverbed \- reverb (room acoustics simulation) for JACK
+.\" RST source for reverbed(1) man page. Convert with:
+.
+.\" rst2man.py reverbed.rst > reverbed.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH SYNOPSIS
+.sp
+reverbed [\fB\-a\fP | \fB\-i\fP | \fB\-o\fP] [\fB\-c\fP \fIclient_name\fP]
+.SH DESCRIPTION
+.sp
+\fBreverbed\fP, aka TAP Reverb Editor, is a standalone JACK application
+that implements a reverb effect, with graphical interface to allow
+changing parameters on the fly.
+.sp
+\fBreverbed\fP creates two JACK inputs and two JACK outputs, which must
+be connected to other JACK inputs/outputs in order to route audio
+through the application. By default, these aren\(aqt connected to anything
+at startup, but see the options below.
+.SH OPTIONS
+.INDENT 0.0
+.TP
+.B \fB\-i\fP
+Autoconnect JACK inputs to the first two hardware capture ports.
+.TP
+.B \fB\-o\fP
+Autoconnect JACK outputs to the first two hardware playback ports.
+.TP
+.B \fB\-a\fP
+Autoconnect both input and output ports (same as \fB\-i\fP \fB\-o\fP).
+.TP
+.B \fB\-c\fP \fIclient_name\fP
+Use \fBclient_name\fP instead of the default \fIreverbED\fP when
+connecting to JACK. You need this option if you want to run more
+than one instance of the program at the same time, since JACK
+client programs must have unique client names.
+.UNINDENT
+.SH FILES
+.INDENT 0.0
+.TP
+.B \fB$HOME/.reverbed\fP
+Presets are loaded from here at startup, if this file exists.
+.TP
+.B \fB/etc/reverbed/reverbed.conf\fP
+Presets are loaded from here if \fB$HOME/.reverbed\fP doesn\(aqt exist.
+.UNINDENT
+.SH COPYRIGHT
+.sp
+See the file /usr/doc/tap_plugins\-1.0.1/COPYING for license information.
+.SH AUTHORS
+.sp
+reverbed was written by Tom Szilagyi.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+The user manual for reverbed:
+.sp
+\fI/usr/doc/tap_plugins\-1.0.1/tap\-plugins\-doc\-20140526/reverbed/manual.html\fP
+.\" Generated by docutils manpage writer.
+.
diff --git a/audio/tap_plugins/reverbed.png b/audio/tap_plugins/reverbed.png
index ba3af7ecc5c1..fbe739880e47 100644
--- a/audio/tap_plugins/reverbed.png
+++ b/audio/tap_plugins/reverbed.png
Binary files differ
diff --git a/audio/tap_plugins/reverbed.rst b/audio/tap_plugins/reverbed.rst
new file mode 100644
index 000000000000..136da3e79a63
--- /dev/null
+++ b/audio/tap_plugins/reverbed.rst
@@ -0,0 +1,83 @@
+.. RST source for reverbed(1) man page. Convert with:
+.. rst2man.py reverbed.rst > reverbed.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: r0
+.. |date| date::
+
+========
+reverbed
+========
+
+-------------------------------------------
+reverb (room acoustics simulation) for JACK
+-------------------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+reverbed [**-a** | **-i** | **-o**] [**-c** *client_name*]
+
+DESCRIPTION
+===========
+
+**reverbed**, aka TAP Reverb Editor, is a standalone JACK application
+that implements a reverb effect, with graphical interface to allow
+changing parameters on the fly.
+
+**reverbed** creates two JACK inputs and two JACK outputs, which must
+be connected to other JACK inputs/outputs in order to route audio
+through the application. By default, these aren't connected to anything
+at startup, but see the options below.
+
+OPTIONS
+=======
+
+**-i**
+ Autoconnect JACK inputs to the first two hardware capture ports.
+
+**-o**
+ Autoconnect JACK outputs to the first two hardware playback ports.
+
+**-a**
+ Autoconnect both input and output ports (same as **-i** **-o**).
+
+**-c** *client_name*
+ Use **client_name** instead of the default *reverbED* when
+ connecting to JACK. You need this option if you want to run more
+ than one instance of the program at the same time, since JACK
+ client programs must have unique client names.
+
+FILES
+=====
+
+**$HOME/.reverbed**
+ Presets are loaded from here at startup, if this file exists.
+
+**/etc/reverbed/reverbed.conf**
+ Presets are loaded from here if **$HOME/.reverbed** doesn't exist.
+
+COPYRIGHT
+=========
+
+See the file /usr/doc/tap_plugins-1.0.1/COPYING for license information.
+
+AUTHORS
+=======
+
+reverbed was written by Tom Szilagyi.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+The user manual for reverbed:
+
+*/usr/doc/tap_plugins-1.0.1/tap-plugins-doc-20140526/reverbed/manual.html*
diff --git a/audio/tap_plugins/tap_plugins.SlackBuild b/audio/tap_plugins/tap_plugins.SlackBuild
index 031ce0a08a42..bb392063012a 100644
--- a/audio/tap_plugins/tap_plugins.SlackBuild
+++ b/audio/tap_plugins/tap_plugins.SlackBuild
@@ -6,6 +6,11 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20211201 bkw: update for v1.0.1.
+# - fix -current build.
+# - new-style icons.
+# - man page for reverbed.
+# - don't install 2 identical COPYING.* in doc dir.
# 20171221 bkw: update for v1.0.0
# 20151104 bkw:
@@ -17,14 +22,11 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tap_plugins
-VERSION=${VERSION:-1.0.0}
+VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# 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
@@ -77,11 +79,8 @@ rm -rf $PLUGINS_SRCNAM-$VERSION
tar xvf $CWD/$PLUGINS_SRCNAM-$VERSION.tar.gz
cd $PLUGINS_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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
if [ "$FORCE_SLACK_CFLAGS" = "yes" ]; then
sed -i '/^CFLAGS/s/\(=.*\) -O3 \(.*\)\(-c\)/\1 '"$SLKCFLAGS"' \3/' Makefile
@@ -99,8 +98,9 @@ make install \
INSTALL_LRDF_DIR=$PKG/usr/share/ladspa/rdf/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-for i in COPYING CREDITS README; do
- cat $i > $PKG/usr/doc/$PRGNAM-$VERSION/$i.plugins
+cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
+for i in CREDITS README; do
+ cp -a $i $PKG/usr/doc/$PRGNAM-$VERSION/$i.plugins
done
# Now build the reverb editor
@@ -109,11 +109,8 @@ rm -rf $REVERBED_SRCNAM-$REVERBED_VERSION
tar xvf $CWD/$REVERBED_SRCNAM-$REVERBED_VERSION.tar.gz
cd $REVERBED_SRCNAM-$REVERBED_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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# patch by SlackBuild author, makes reverbed load its config from /etc
# if no ~/.reverbed found (rather than aborting with an error message).
@@ -127,6 +124,9 @@ patch -p1 < $CWD/reverbed-default-config.diff
--mandir=/usr/man \
--build=$ARCH-slackware-linux
+# 20211201 bkw: fix -current build, force this flag always.
+sed -i '/^CFLAGS/s/$/ -fcommon/' src/Makefile
+
if [ "$FORCE_SLACK_CFLAGS" = "yes" ]; then
# CFLAGS not supported by autoconf!
sed -i '/^CFLAGS/s/=.*-fPIC/= '"$SLKCFLAGS"' -fPIC/' src/Makefile
@@ -139,30 +139,41 @@ mkdir -p $PKG/usr/bin $PKG/etc/reverbed
install -s -m0755 -oroot -groot src/reverbed $PKG/usr/bin/
cat src/.reverbed > $PKG/etc/reverbed/reverbed.conf
-# icon came from:
-# https://www.hscripts.com/freeimages/icons/mechanical/spring-clipart.php
-# and turned into a PNG via ImageMagick's convert.
-mkdir -p $PKG/usr/share/pixmaps
-cat $CWD/reverbed.png > $PKG/usr/share/pixmaps/reverbed.png
+# man page written by SlackBuild author
+mkdir -p $PKG/usr/man/man1
+gzip -9c < $CWD/reverbed.1 > $PKG/usr/man/man1/reverbed.1.gz
# .desktop written by SlackBuild author
mkdir -p $PKG/usr/share/applications
cat $CWD/reverbed.desktop > $PKG/usr/share/applications/reverbed.desktop
+# icon came from:
+# https://www.hscripts.com/freeimages/icons/mechanical/spring-clipart.php
+# and turned into a PNG via ImageMagick's convert.
+for px in 16 32 48 64; do
+ size=${px}x${px}
+ dir=$PKG/usr/share/icons/hicolor/$size/apps
+ mkdir -p $dir
+ convert -resize $size $CWD/reverbed.png $dir/reverbed.png
+done
+
+mkdir -p $PKG/usr/share/icons/hicolor/128x128/apps
+cat $CWD/128.png > $PKG/usr/share/icons/hicolor/128x128/apps/reverbed.png
+
+mkdir -p $PKG/usr/share/pixmaps
+ln -s ../icons/hicolor/48x48/apps/reverbed.png $PKG/usr/share/pixmaps/reverbed.png
+
# ChangeLog and NEWS are 0-length placeholders
-for i in AUTHORS COPYING README; do
- cat $i > $PKG/usr/doc/$PRGNAM-$VERSION/$i.reverbed
+for i in AUTHORS README; do
+ cp -a $i $PKG/usr/doc/$PRGNAM-$VERSION/$i.reverbed
done
# Now package up the HTML docs
cd $PKG/usr/doc/$PRGNAM-$VERSION
tar xvf $CWD/$DOCS_SRCNAM-$DOCS_VERSION.tar.gz
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ find . -type d -exec chmod 755 {} \+
+ find . -type f -exec chmod 644 {} \+
cd -
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/audio/tap_plugins/tap_plugins.info b/audio/tap_plugins/tap_plugins.info
index 6f51a9834572..376eb25eeacf 100644
--- a/audio/tap_plugins/tap_plugins.info
+++ b/audio/tap_plugins/tap_plugins.info
@@ -1,10 +1,10 @@
PRGNAM="tap_plugins"
-VERSION="1.0.0"
-HOMEPAGE="http://tap-plugins.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/tap-plugins/tap-plugins/1.0.0/tap-plugins-1.0.0.tar.gz \
- http://downloads.sourceforge.net/project/tap-plugins/tap-reverbed/Release%200/tap-reverbed-r0.tar.gz \
- http://downloads.sourceforge.net/project/tap-plugins/tap-plugins-doc/2014-05-26/tap-plugins-doc-20140526.tar.gz"
-MD5SUM="86c217d8774974fbbe87909304195e5a \
+VERSION="1.0.1"
+HOMEPAGE="https://tomscii.sig7.se/tap-plugins/"
+DOWNLOAD="https://github.com/tomszilagyi/tap-plugins/archive/v1.0.1/tap-plugins-1.0.1.tar.gz \
+ https://tomscii.sig7.se/files/tap-plugins/tap-reverbed-r0.tar.gz \
+ https://slackware.uk/~urchlay/src/tap-plugins-doc-20140526.tar.gz"
+MD5SUM="d36cf5f136c53f116a3f8496ad592355 \
f8b15df131b45d2d5ef2e8d7c34e9a29 \
8af9ad9be0aac9f577056311d7ebbd5e"
DOWNLOAD_x86_64=""