Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
OpenLP
uno-path.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File uno-path.patch of Package OpenLP
Index: OpenLP-1.9.7/openlp/plugins/presentations/lib/impresscontroller.py =================================================================== --- OpenLP-1.9.7/openlp/plugins/presentations/lib/impresscontroller.py.orig 2011-09-24 11:46:20.000000000 -0400 +++ OpenLP-1.9.7/openlp/plugins/presentations/lib/impresscontroller.py 2011-12-05 18:58:25.859022633 -0500 @@ -44,7 +44,16 @@ if os.name == u'nt': import pywintypes else: try: + import platform + import sys + + if platform.machine() == 'x86_64': + sys.path.append('/usr/lib64/libreoffice/basis-link/program') + else: + sys.path.append('/usr/lib/libreoffice/basis-link/program') + import uno + from com.sun.star.beans import PropertyValue from com.sun.star.task import ErrorCodeIOException uno_available = True Index: OpenLP-1.9.7/openlp/plugins/songs/lib/oooimport.py =================================================================== --- OpenLP-1.9.7/openlp/plugins/songs/lib/oooimport.py.orig 2011-09-24 11:46:20.000000000 -0400 +++ OpenLP-1.9.7/openlp/plugins/songs/lib/oooimport.py 2011-12-05 18:57:17.363027840 -0500 @@ -39,6 +39,14 @@ if os.name == u'nt': from win32com.client import Dispatch NoConnectException = Exception else: + import platform + import sys + + if platform.machine() == 'x86_64': + sys.path.append('/usr/lib64/libreoffice/basis-link/program') + else: + sys.path.append('/usr/lib/libreoffice/basis-link/program') + import uno from com.sun.star.connection import NoConnectException try:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor