libreoffice/pyuno-path.diff

16 lines
553 B
Diff
Raw Normal View History

--- pyuno/source/module/uno.py 2011-11-30 18:39:37 -0500
+++ pyuno/source/module/uno.py 2011-11-30 19:38:14 -0500
@@ -26,6 +26,12 @@
#*************************************************************************
import os
import sys
+import platform
+
+if platform.machine() == 'x86_64':
Accepting request 114864 from LibreOffice:Unstable this is needed to fix build in Factory - buildfix-icu-4.9.diff: fix build with icu-4.9; needed for openSUSE-12.2 - clean up configure switches: * move switches from SUSE*.conf to spec files * use --with-system-headers and --with-system-libs to prefer system stuff over internal copies * use --without-system-<library> only for stuff that is not packaged or not patched in the SUSE distribution, for example libvisio, redland, mythes * bin not longer existing options - remove unused python-devel from BuildRequires - build zip-3.0 only for openSUSE < 11.4 - add patches for the extra zip-3.0 from the last zip package - make sure that parallel build is used for dmake and GNU make build parts - buildfix-icu-4.9.diff: fix build with icu-4.9; needed for openSUSE-12.2 - clean up configure switches: * move switches from SUSE*.conf to spec files * use --with-system-headers and --with-system-libs to prefer system stuff over internal copies * use --without-system-<library> only for stuff that is not packaged or not patched in the SUSE distribution, for example libvisio, redland, mythes * bin not longer existing options - build zip-3.0 only for openSUSE < 11.4 - add patches for the extra zip-3.0 from the last zip package - make sure that parallel build is used for dmake and GNU make build parts OBS-URL: https://build.opensuse.org/request/show/114864 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libreoffice?expand=0&rev=31
2012-04-26 15:35:13 +00:00
+ sys.path.append('/usr/lib64/libreoffice/program')
+else:
Accepting request 114864 from LibreOffice:Unstable this is needed to fix build in Factory - buildfix-icu-4.9.diff: fix build with icu-4.9; needed for openSUSE-12.2 - clean up configure switches: * move switches from SUSE*.conf to spec files * use --with-system-headers and --with-system-libs to prefer system stuff over internal copies * use --without-system-<library> only for stuff that is not packaged or not patched in the SUSE distribution, for example libvisio, redland, mythes * bin not longer existing options - remove unused python-devel from BuildRequires - build zip-3.0 only for openSUSE < 11.4 - add patches for the extra zip-3.0 from the last zip package - make sure that parallel build is used for dmake and GNU make build parts - buildfix-icu-4.9.diff: fix build with icu-4.9; needed for openSUSE-12.2 - clean up configure switches: * move switches from SUSE*.conf to spec files * use --with-system-headers and --with-system-libs to prefer system stuff over internal copies * use --without-system-<library> only for stuff that is not packaged or not patched in the SUSE distribution, for example libvisio, redland, mythes * bin not longer existing options - build zip-3.0 only for openSUSE < 11.4 - add patches for the extra zip-3.0 from the last zip package - make sure that parallel build is used for dmake and GNU make build parts OBS-URL: https://build.opensuse.org/request/show/114864 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libreoffice?expand=0&rev=31
2012-04-26 15:35:13 +00:00
+ sys.path.append('/usr/lib/libreoffice/program')
if getattr(os.environ, 'URE_BOOTSTRAP', None) is None:
os.environ['URE_BOOTSTRAP'] = "vnd.sun.star.pathname:@INSTALLDIR@/program/fundamentalrc"