commit e298a299a968eed416ffe7a42d1f510bf1acb288
Author: Martin Gansser <mgansser(a)alice.de>
Date: Sat Jul 9 21:24:18 2016 +0200
Update to 1.6.0-2.gitc847b32
.gitignore | 1 +
flowblade-001_sys_path.patch | 19 +++++++++++++++++++
sources | 1 +
3 files changed, 21 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f2f0a2b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/flowblade-1.6.0-c847b32.tar.gz
diff --git a/flowblade-001_sys_path.patch b/flowblade-001_sys_path.patch
new file mode 100644
index 0000000..41f84c2
--- /dev/null
+++ b/flowblade-001_sys_path.patch
@@ -0,0 +1,19 @@
+--- ./flowblade 2015-06-16 22:25:18.000000000 +0100
++++ ./flowblade 2015-06-21 06:58:24.782414252 +0100
+@@ -34,13 +34,14 @@ print "Launch script dir:", launch_dir
+ # Update sys.path to include modules
+ if launch_dir == "/usr/bin":
+ print "Running from installation..."
+- modules_path = "/usr/share/flowblade/Flowblade"
++ from distutils.sysconfig import get_python_lib
++ modules_path = "%s/Flowblade" % get_python_lib()
+ if not os.path.isdir(modules_path):
+ modules_path = "/usr/share/pyshared/Flowblade"
+- print "modules path:", modules_path
+ else:
+ print "Running from filesystem..."
+ modules_path = launch_dir + "/Flowblade"
++print "modules path:", modules_path
+
+ sys.path.insert(0, modules_path)
+ sys.path.insert(0, modules_path + "/vieweditor")
diff --git a/sources b/sources
index e69de29..f78b9b7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1c88e896acd91b001a64425a0c9860fe flowblade-1.6.0-c847b32.tar.gz