2017-06-06 23:49:49 +00:00
|
|
|
--- a/pyuno/source/module/uno.py 2017-05-03 18:46:29.000000000 +0200
|
|
|
|
+++ b/pyuno/source/module/uno.py.new 2017-06-06 17:11:27.585959637 +0200
|
|
|
|
@@ -16,8 +16,14 @@
|
2014-08-01 23:59:06 +00:00
|
|
|
# except in compliance with the License. You may obtain a copy of
|
|
|
|
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
#
|
2017-06-06 23:49:49 +00:00
|
|
|
-import pyuno
|
|
|
|
+
|
|
|
|
+# Special modification to make uno load on Arch
|
2014-08-01 23:59:06 +00:00
|
|
|
+import os
|
|
|
|
import sys
|
2017-06-06 23:49:49 +00:00
|
|
|
+sys.path.append("/usr/lib/libreoffice/program/")
|
2017-09-03 17:34:51 +00:00
|
|
|
+os.putenv("URE_BOOTSTRAP", "vnd.sun.star.pathname:/usr/lib/libreoffice/program/fundamentalrc")
|
2017-06-06 23:49:49 +00:00
|
|
|
+
|
|
|
|
+import pyuno
|
|
|
|
import traceback
|
|
|
|
import warnings
|
2014-08-01 23:59:06 +00:00
|
|
|
|