archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libreoffice-still / repos / extra-x86_64 / make-pyuno-work-with-system-wide-module-install.diff
blob53fdc3c1f740ad5870a2e67fb8c05ade7fa1f61b
1 --- a/pyuno/source/module/uno.py 2017-05-03 18:46:29.000000000 +0200
2 +++ b/pyuno/source/module/uno.py.new 2017-06-06 17:11:27.585959637 +0200
3 @@ -16,8 +16,14 @@
4 # except in compliance with the License. You may obtain a copy of
5 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
7 -import pyuno
9 +# Special modification to make uno load on Arch
10 +import os
11 import sys
12 +sys.path.append("/usr/lib/libreoffice/program/")
13 +os.putenv("URE_BOOTSTRAP", "vnd.sun.star.pathname:/usr/lib/libreoffice/program/fundamentalrc")
15 +import pyuno
16 import traceback
17 import warnings