summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2015-09-08 13:47:28 +0200
committerJulian Ospald <hasufell@gentoo.org>2015-09-08 19:40:16 +0200
commit57a0b02a89b8e902bf8c8e28cd5a71c015db4590 (patch)
treed741829324c0bfd4da37d2508c50c6ed5c8b7568 /net-voip/blink/files
parentdev-python/python-eventlib: fix build with libressl (diff)
downloadgentoo-57a0b02a89b8e902bf8c8e28cd5a71c015db4590.tar.gz
gentoo-57a0b02a89b8e902bf8c8e28cd5a71c015db4590.tar.bz2
gentoo-57a0b02a89b8e902bf8c8e28cd5a71c015db4590.zip
net-voip/blink: initial import of version 1.4.1
Gentoo-Bug: 365131
Diffstat (limited to 'net-voip/blink/files')
-rw-r--r--net-voip/blink/files/blink-1.4.1-data-path.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/net-voip/blink/files/blink-1.4.1-data-path.patch b/net-voip/blink/files/blink-1.4.1-data-path.patch
new file mode 100644
index 000000000000..1add3ab55a23
--- /dev/null
+++ b/net-voip/blink/files/blink-1.4.1-data-path.patch
@@ -0,0 +1,19 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Tue Sep 8 10:10:18 UTC 2015
+Subject: Fix data path fallback
+
+Distutils installs into "/usr/share/blink", but
+blink was unable to find it on gentoo, probably due
+to python-exec magic.
+
+--- blink-1.4.1/blink/resources.py
++++ blink-1.4.1/blink/resources.py
+@@ -71,7 +71,7 @@
+ if os.path.exists(os.path.join(application_directory, 'resources', 'blink.ui')):
+ cls._cached_directory = os.path.join(application_directory, 'resources').decode(sys.getfilesystemencoding())
+ else:
+- cls._cached_directory = os.path.join(application_directory, 'share', 'blink').decode(sys.getfilesystemencoding())
++ cls._cached_directory = os.path.join(sys.prefix, 'share', 'blink').decode(sys.getfilesystemencoding())
+ return DirectoryContextManager(cls._cached_directory)
+
+ @classmethod