1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Last-Update: 2016-03-13
Forwarded: not-needed
Author: Dmitry Smirnov <onlyjob@member.fsf.org>
Description: locate private fakeXinerama library.
--- a/xpra/os_util.py
+++ b/xpra/os_util.py
@@ -294,8 +294,9 @@
#but I cannot find a way of getting ctypes to tell us the path
#it found the library in
assert os.name=="posix"
libpaths = os.environ.get("LD_LIBRARY_PATH", "").split(":")
+ libpaths.append("/usr/lib/xpra")
libpaths.append("/usr/lib64")
libpaths.append("/usr/lib")
for libpath in libpaths:
if not libpath or not os.path.exists(libpath):
--- a/xpra/x11/fakeXinerama.py
+++ b/xpra/x11/fakeXinerama.py
@@ -28,9 +28,9 @@
if libpath:
return libpath
except Exception as e:
log.warn("Failed to launch ldconfig -p: %s", e)
- return find_lib("libfakeXinerama.so.1")
+ return find_lib("libfakeXinerama.so.1.0")
current_xinerama_config = None
def save_fakeXinerama_config(supported=True, source="", ss=[]):
|