mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
audio/zynjacku: Fix lockups when guitarix installed.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
1e7521defb
commit
e8bcc6848f
2 changed files with 23 additions and 1 deletions
12
audio/zynjacku/fix_scan_lockup.diff
Normal file
12
audio/zynjacku/fix_scan_lockup.diff
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -Naur zynjacku-6/zynworld/lv2.py zynjacku-6.patched/zynworld/lv2.py
|
||||
--- zynjacku-6/zynworld/lv2.py 2011-03-17 23:32:37.000000000 -0400
|
||||
+++ zynjacku-6.patched/zynworld/lv2.py 2021-12-10 14:33:43.946341107 -0500
|
||||
@@ -119,8 +119,6 @@
|
||||
return list(result)
|
||||
if single:
|
||||
if len(anyprops) > 0:
|
||||
- if len(anyprops) > 1:
|
||||
- raise Exception, "More than one value of " + prop
|
||||
return list(anyprops)[0]
|
||||
else:
|
||||
return None
|
|
@ -6,11 +6,14 @@
|
|||
|
||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
# 20211210 bkw: BUILD=2
|
||||
# - Fix lockups that occur when guitarix is installed.
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=zynjacku
|
||||
VERSION=${VERSION:-6}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -66,6 +69,13 @@ if [ "$LIBDIRSUFFIX" != "" ]; then
|
|||
sed -i "s,/usr/lib/lv2,/usr/lib$LIBDIRSUFFIX/lv2,g" zynworld/lv2.py
|
||||
fi
|
||||
|
||||
# Stops zynjacku and lv2rack from freezing when they're scanning the
|
||||
# lv2 plugin dir(s) and hit the Guitarix tuner (and maybe others).
|
||||
# The tuner plugin still won't load ("Failed to construct") if
|
||||
# you select it, but at least the application doesn't crash and is
|
||||
# otherwise useful.
|
||||
patch -p1 < $CWD/fix_scan_lockup.diff
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
Loading…
Reference in a new issue