From 8e3a8405e545babc35bb20f909761c9ce5894335 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20B=C3=A5ngens?= Date: Thu, 24 Oct 2024 10:37:36 +0200 Subject: [PATCH] add new pkgs --- README.md | 67 +++---- builds/csound/README | 14 ++ builds/csound/csound.SlackBuild | 118 +++++++++++++ builds/csound/csound.info | 10 ++ builds/csound/slack-desc | 19 ++ builds/guitarix/ChangeLog.old | 95 ++++++++++ builds/guitarix/README | 23 +++ builds/guitarix/README.online | 28 +++ builds/guitarix/doinst.sh | 13 ++ builds/guitarix/guitarix.1 | 260 ++++++++++++++++++++++++++++ builds/guitarix/guitarix.SlackBuild | 138 +++++++++++++++ builds/guitarix/guitarix.info | 10 ++ builds/guitarix/guitarix.rst | 123 +++++++++++++ builds/guitarix/setcap.sh | 2 + builds/guitarix/slack-desc | 19 ++ builds/libffado/README | 23 +++ builds/libffado/doinst.sh | 8 + builds/libffado/libffado.SlackBuild | 123 +++++++++++++ builds/libffado/libffado.info | 10 ++ builds/libffado/slack-desc | 19 ++ 20 files changed, 1090 insertions(+), 32 deletions(-) create mode 100644 builds/csound/README create mode 100755 builds/csound/csound.SlackBuild create mode 100644 builds/csound/csound.info create mode 100644 builds/csound/slack-desc create mode 100644 builds/guitarix/ChangeLog.old create mode 100644 builds/guitarix/README create mode 100644 builds/guitarix/README.online create mode 100644 builds/guitarix/doinst.sh create mode 100644 builds/guitarix/guitarix.1 create mode 100755 builds/guitarix/guitarix.SlackBuild create mode 100644 builds/guitarix/guitarix.info create mode 100644 builds/guitarix/guitarix.rst create mode 100644 builds/guitarix/setcap.sh create mode 100644 builds/guitarix/slack-desc create mode 100644 builds/libffado/README create mode 100644 builds/libffado/doinst.sh create mode 100755 builds/libffado/libffado.SlackBuild create mode 100644 builds/libffado/libffado.info create mode 100644 builds/libffado/slack-desc diff --git a/README.md b/README.md index c92acbc..e7fd74c 100644 --- a/README.md +++ b/README.md @@ -15,54 +15,57 @@ set sbopkg to SBo-git (current) ## SlackBuilds ### Git Download -* SoundScapeRenderer -* ams-lv2 -* bangr -* boops -* carla -* jack-stdio -* luppp -* surge-xt -* yabridge * adlplug +* aida-x +* airwindows +* ambix +* ams-lv2 * artyfx +* asio +* avldrums-lv2-git +* bangr +* bambootracker +* beatslash-lv2 +* bespokesynth * bchoppr +* bjumblr +* boops * bschaffl +* bsequencer +* bshapr +* bslizr +* carla * cliconnect +* fabla +* fasttracker2 +* geonkick +* jack-stdio * kernel +* libwebsocketpp +* lsp-plugins +* luppp * lv2lint -* swh-plugins -* aida-x -* asio -* beatslash-lv2 -* bsequencer -* fabla * midimsg-lv2 -* sfizz -* airwindows -* avldrums-lv2-git -* bespokesynth -* bshapr -* libwebsocketpp * ninjas2 +* reaper-sws +* reapack * sherlock-lv2 -* wine-tkg -* ambix -* bambootracker -* bjumblr -* bslizr -* geonkick -* lsp-plugins +* sfizz * sorcer +* SoundScapeRenderer +* surge-xt +* swh-plugins * xmonk-lv2 +* yabridge +* wine-tkg ### Normal Download * perl-xml-parser +* reaper * vst2sdk ### New -* reaper -* reaper-sws -* reapack -* fasttracker2 +* csound +* libffado +* guitarix ### Will Probably Be Dropped * radium (broken) * kernel-headers (I have an idea of an overlay filesystem headers swap script) diff --git a/builds/csound/README b/builds/csound/README new file mode 100644 index 0000000..c7e4936 --- /dev/null +++ b/builds/csound/README @@ -0,0 +1,14 @@ +Csound is a sound and music computing system that has its roots in the earliest +of computer software, the MUSIC-N series by Max Mathews. Csound was originally +released in 1986 by Barry Vercoe and it has been a part of the computer music +world since. Today’s Csound works on desktop, mobile, embedded, server, and web +platforms and powers music software and music-making for musicians around the world. + +I tried this example: +https://raw.githubusercontent.com/gogins/csound-examples/refs/heads/master/csd/oblivion.csd +csound --output=test.wav oblivion.csd + +It creates some synth symphony +A lot of old csound example seem to not work anymore + +Build options: VERSION=git ./csound.SlackBuild # for latest git diff --git a/builds/csound/csound.SlackBuild b/builds/csound/csound.SlackBuild new file mode 100755 index 0000000..b75ef5d --- /dev/null +++ b/builds/csound/csound.SlackBuild @@ -0,0 +1,118 @@ +#!/bin/bash + +# Slackware build script for csound + +# Copyright 2024 Martin Bångens +# 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=csound +VERSION=${VERSION:-6.18.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 [ -n "${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 + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + LIBDIRSUFFIX="ON" +else + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf "$PKG" +mkdir -p "$TMP" "$PKG" "$OUTPUT" +cd "$TMP" +rm -rf "$PRGNAM" + +if [ "$VERSION" != "git" ]; then + git clone --depth 1 -b "$VERSION" -c advice.detachedHead=false \ + https://github.com/csound/csound +else + git clone https://github.com/csound/csound +fi + +cd "$PRGNAM" +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + ! -type l -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + ! -type l -exec chmod 644 {} \; + +git submodule update --init --recursive + +mkdir -p build +cd build + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DUSE_LIB64="$LIBDIRSUFFIX" \ + -W no-dev \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR="$PKG" +cd .. + #-D BUILD_SCANSYN_OPCODES=OFF + #-D BUILD_STATIC_LIBRARY=ON + +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 {} \; +#while IFS= read -r i; do +# ln -s "$(readlink "$i").gz" "$i.gz" +# rm "$i" +#done < <(find "$PKG/usr/man" -type l) + +mkdir -p "$PKG/usr/doc/$PRGNAM-$VERSION" +cp -a \ + AUTHORS \ + BUILD.md \ + COPYING \ + 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" diff --git a/builds/csound/csound.info b/builds/csound/csound.info new file mode 100644 index 0000000..a29a7de --- /dev/null +++ b/builds/csound/csound.info @@ -0,0 +1,10 @@ +PRGNAM="csound" +VERSION="6.18.1" +HOMEPAGE="https://csound.com/index.html" +DOWNLOAD="https://github.com/csound/csound" +MD5SUM="" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Martin Bångens" +EMAIL="noisecode3@gmail.com" diff --git a/builds/csound/slack-desc b/builds/csound/slack-desc new file mode 100644 index 0000000..6590baa --- /dev/null +++ b/builds/csound/slack-desc @@ -0,0 +1,19 @@ +# 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------------------------------------------------------| +csound: csound (A sound and music computing system) +csound: +csound: Csound was originally written at MIT by Barry Vercoe in 1985, based +csound: on his earlier system called Music 11, which in its turn followed the +csound: MUSIC-N model initiated by Max Mathews at the Bell Labs. Its +csound: development continued throughout the 1990s and 2000s, led by John +csound: Fitch at the University of Bath. +csound: +csound: +csound: +csound: diff --git a/builds/guitarix/ChangeLog.old b/builds/guitarix/ChangeLog.old new file mode 100644 index 0000000..7b48c9c --- /dev/null +++ b/builds/guitarix/ChangeLog.old @@ -0,0 +1,95 @@ +# This stuff used to be in the script, but it was getting annoyingly +# long. Probably only of interest to me, and maybe future archaeologists. + +# 20180619 bkw: +# - Updated for 0.37.1. +# - Force building with bundled zita-convolver and resampler libs. +# Previously, system libs would be linked if they were installed, +# otherwise bundled libs were used... caused a problem if the +# system zita-convolver was updated to an incompatible version. +# - Add config options to re-enable ladspa and lv2 mod-gui stuff that +# used to be enabled by default in 0.36.1. +# - Add patches from upstream git, to fix segfaults when online +# button gets clicked. Also if dbus isn't running, guitarix will now +# actually say so, in its error message. +# - Move old changelog entries to ChangeLog.old. + +# 20171223 bkw: Updated for 0.36.1. +# 20170825 bkw: Updated for 0.35.6. Install the bundled roboto font. +# 20170725 bkw: Updated for 0.35.5 + +# 20170710 bkw: +# - Updated for 0.35.4 +# - Remove README stuff about webkitgtk, since upstream dropped it. +# - Add README.online with troubleshooting info. I had trouble +# getting the new Online Presets stuff to work, so hopefully this +# might help the next guy. + +# 20170404 bkw: +# - Updated for 0.35.3 +# - Use + rather than ; in find/chmod. Noticeably faster. + +# 20170306 bkw: +# - Flip changelog comments right-side up +# - Stop writing outside of $TMP. + +# 20161016 bkw: Updated for 0.35.2 + +# 20160806 bkw: +# - Updated for 0.35.1 +# - removed WEBKIT=no option from README (it was removed from the +# script in March, should have been removed from README then). +# - removed webkitgtk from REQUIRES, as it's now optional (and +# autodetected, no way to force-disable it). +# - removed patches, since they're already included in the new release. +# - remove unimplemented SSE=no option. Note that SSE support is still +# autodetected, so if someone's trying this on e.g. ARCH=arm, it should +# automatically build without SSE (I have no idea if the build will +# actually complete, in that case). +# - remove .desktop sed stuff, upstream fixed it. +# - update man page. +# - note: zita-convolver and zita-resampler are not requirements. they +# will be linked if installed, otherwise guitarix's bundled copies will +# be used. I only mention this here so I won't forget again... + +# 20160329 dbs: +# - Updated for Slackware-14.2. Forced -msse in SLKCFLAGS. +# This just won't build without SSE on 32 bit gcc-5.3.0 :( +# xmmintrin.h:857:1: error: inlining failed in call to always_inline +# ‘void _MM_SET_EXCEPTION_STATE(unsigned int)’: target specific option mismatch +# Patch 0003-fix-build-even-for-gcc4.8.patch doesn't fix it, and there +# are no further fixes upstream at this time. + +# 20151108 bkw: +# - Updated for 0.34.0 +# - Added --disable-cxx11 to ./waf flags, as bluetooth.h uses the gcc +# typeof() extension. Not sure if newer versions of bluez would have +# this issue (but Slackware 14.1's bluez is pretty old by now). +# - Added patch from upstream git to allow building without webkitgtk. +# The author added support for downloading presets, but didn't make +# it optional in 0.34.0. Also added a couple of bugfix patches. +# - Support building 0.33.0 with VERSION=0.33.0 in the env. +# - Add SSE=no option. +# - Add WEBKIT=no option. +# - Remove LV2=no option from README (but not from script). + +# 20150514 bkw: +# - Updated for 0.32.3 +# - Fix some issues with the shared libs: they were being installed +# to /usr/lib/ on 64-bit, and they were missing the +x bits. +# - Made LV2 option default to yes, since upstream is requiring lilv +# even if --no-lv2 is used. Also, the lv2 plugins were being +# installed to /usr/lib/ on 64-bit. Grr. +# - Upstream wants avahi by default. For now, hardcoded --no-avahi. + +# 20130430 bkw: +# - Updated for 0.27.1 +# - Replaced slack-desc with updated text from guitarix site +# - Added LV2 option + +# 20121216 bkw: +# - Upgraded to guitarix2 +# - Added man page +# - Added realtime capabilities +# - Make .desktop file validate +# - Add guitarix's README to /usr/doc diff --git a/builds/guitarix/README b/builds/guitarix/README new file mode 100644 index 0000000..1fa5b6c --- /dev/null +++ b/builds/guitarix/README @@ -0,0 +1,23 @@ +guitarix (virtual guitar amplifier for jack) + +guitarix offers the range of sounds you would expect from a +full-featured universal guitar-amp. You can get crisp clean-sounds, +nice overdrive, fat distortion and a diversity of crazy sounds never +heard before. Guitarix can be used as a standalone application, as +LADSPA plugins, or as LV2 plugins. + +For 32-bit x86, a CPU with SSE instructions is required. For other +architectures, SSE will be used if available. + +meterbridge is an optional runtime dependency. + +Starting with version 0.35.4, guitarix's 'Online presets' feature no +longer requires webkitgtk. See README.online for more information. + +This package uses POSIX filesystem capabilities to execute with +elevated privileges (required for realtime audio processing). This +may be considered a security/stability risk. Please read +http://www.slackbuilds.org/caps/ for more information. To disable +capabilities, pass SETCAP=no to the script. + +VERSION=V0.46.0 ./guitarix.SlackBuild diff --git a/builds/guitarix/README.online b/builds/guitarix/README.online new file mode 100644 index 0000000..01bd317 --- /dev/null +++ b/builds/guitarix/README.online @@ -0,0 +1,28 @@ +In case you have trouble downloading presets with the 'Online' button: + +1. Make sure the site is actually up. Open https://musical-artifacts.com + in a browser. If it won't load at all, the site might be down. Also + if you see a 'too many users' error, wait a while and it should work + again. Hopefully. Anyway there's not much you can do about it :( + +2. If the site works fine in a browser, but you get 'Operation not supported' + in guitarix, it's probably a dbus error. The file /etc/rc.d/rc.dbus + should be executable, and when you start your X session, it needs + to be running within a dbus session. Most of the window manager + startup scripts in /etc/X11/xinit/xinit.* already do this (KDE, + XFCE, WindowMaker, and FVWM2, but not fluxbox or twm), but if you + have a custom ~/.xinitrc, you might need to edit it to add dbus + support. See /etc/X11/xinit/xinitrc.fvwm2 for an example of how to do + this. Note that it's NOT enough for the system dbus to be running, + or a user instance spawned by some X application: dbus-launch sets + environment variables, and your window manager needs to have them + set in its environment! If you're not sure, launch a terminal in your + X session and type: + + echo $DBUS_SESSION_BUS_ADDRESS + + If you get a string of gobbledegook similar to this: + + unix:abstract=/tmp/dbus-mrYuKLNcnn,guid=2bbb2710726acb1cdbc4511f59641e0a + + ...then all is well with dbus. If you get no output, fix your .xinitrc. diff --git a/builds/guitarix/doinst.sh b/builds/guitarix/doinst.sh new file mode 100644 index 0000000..8db1973 --- /dev/null +++ b/builds/guitarix/doinst.sh @@ -0,0 +1,13 @@ +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 + +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f usr/share/fonts/TTF +fi diff --git a/builds/guitarix/guitarix.1 b/builds/guitarix/guitarix.1 new file mode 100644 index 0000000..dd92b4c --- /dev/null +++ b/builds/guitarix/guitarix.1 @@ -0,0 +1,260 @@ +.\" Man page generated from reStructuredText. +. +.TH GUITARIX 1 "2016-08-06" "0.35.1" "SlackBuilds.org" +.SH NAME +guitarix \- guitar amp simulator and effects processor +. +.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 +.. +.\" RST source for guitarix(1) man page. Convert with: +. +.\" rst2man.py guitarix.rst > guitarix.1 +. +.\" rst2man.py comes from the SBo development/docutils package. +. +.\" converting from pod: +. +.\" s/B<\([^>]*\)>/**\1**/g +. +.\" s/I<\([^>]*\)>/*\1*/g +. +.SH SYNOPSIS +.sp +guitarix [\fI\-options\fP] +.SH DESCRIPTION +.sp +Guitarix is a rock guitar amplifier for Jack (Jack Audio Connection +Kit) with one input and two outputs. It is designed to get nice +trash/metal/rock guitar sounds. Guitarix comes with a GTK+ graphical +user interface and a set of LADSPA plugins. This manual page describes +the GTK+ interface. +.sp +Guitarix provides one JACK input port and two JACK output ports. +Controls for bass, treble, gain, compressor, preamp, balance, distortion, +freeverb, crybaby (wah) and echo are available. A fixed resonator is +used when distortion is disabled. To modify the sound \(aqpressure\(aq, you +can use the feedback and feedforward sliders. +.sp +Guitarix includes an experimental tuner and a JACK MIDI output port +with 3 channels. They are fed by a mix from a pitch tracker and a +beat detector. You can pitch the octave (2 octaves up or down), choose the +MIDI channel, the MIDI program, the velocity and the sensitiviy, which +translates into how fast the note will read after the beat detector +emits a signal. Values for the beat detector can be set for all +channels. +.SH OPTIONS +.sp +All parameters are optional. Examples: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +guitarix +guitarix \-r Guitarix_Oak \-i system:capture_3 +guitarix \-c \-o system:playback_1 \-o system:playback_2 +.ft P +.fi +.UNINDENT +.UNINDENT +.INDENT 0.0 +.TP +.B Help Options: +.INDENT 7.0 +.TP +.B \-h\fP,\fB \-\-help +Show help options +.TP +.B \-\-help\-all +Show all help options +.TP +.B \-\-help\-style +GTK style configuration options +.TP +.B \-\-help\-jack +JACK configuration options +.TP +.B \-\-help\-overload +Switch to bypass mode on overload condition +.TP +.B \-\-help\-file +File options +.TP +.B \-\-help\-debug +Debug options +.TP +.B \-\-help\-gtk +Show GTK+ Options +.UNINDENT +.TP +.B GTK style configuration options +.INDENT 7.0 +.TP +.B \-c\fP,\fB \-\-clear +Use \(aqdefault\(aq GTK style +.TP +.BI \-r\fP,\fB \-\-rcset\fB=