[SCM] zynjacku/master: 0001-fix_scan_without_plugins_installed.patch: Properly handle scan when there are no LV2 plugins installed.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Thu Feb 10 13:35:33 UTC 2011


The following commit has been merged in the master branch:
commit bede1f10afb417df280666f8558f859e56e8c4c1
Author: Alessio Treglia <alessio at debian.org>
Date:   Thu Feb 10 14:29:43 2011 +0100

    0001-fix_scan_without_plugins_installed.patch: Properly handle scan when there are no LV2 plugins installed.

diff --git a/debian/patches/0001-fix_scan_without_plugins_installed.patch b/debian/patches/0001-fix_scan_without_plugins_installed.patch
new file mode 100644
index 0000000..2643559
--- /dev/null
+++ b/debian/patches/0001-fix_scan_without_plugins_installed.patch
@@ -0,0 +1,22 @@
+Description: Properly handle scan when there are no lv2 plugins installed.
+Origin: upstream, commit:22f9d93196735ae5816296a7d00c76f9aac9dea6
+From: Nedko Arnaudov <nedko at arnaudov.name>
+Bug-Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=551480
+---
+ zynworld/host.py |    5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+--- zynjacku.orig/zynworld/host.py
++++ zynjacku/zynworld/host.py
+@@ -2419,7 +2419,10 @@ class host:
+ 
+             plugins = self.lv2db.getPluginList()
+ 
+-            step = 1.0 / len(plugins)
++            if len(plugins) > 0:
++                step = 1.0 / len(plugins)
++            else:
++                step = 1.0
+             progress = 0.0
+ 
+             for uri in plugins:

-- 
zynjacku packaging



More information about the pkg-multimedia-commits mailing list