Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 392098 Details for
Bug 533138
app-office/libreoffice-9999-r2: fix configure for 4.4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libreoffice-4.4-system-pyuno.patch
libreoffice-4.4-system-pyuno.patch (text/plain), 1.56 KB, created by
Andreas Sturmlechner
on 2014-12-20 18:49:27 UTC
(
hide
)
Description:
libreoffice-4.4-system-pyuno.patch
Filename:
MIME Type:
Creator:
Andreas Sturmlechner
Created:
2014-12-20 18:49:27 UTC
Size:
1.56 KB
patch
obsolete
>diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh >index a259bf6..672fa23 100755 >--- a/desktop/scripts/soffice.sh >+++ b/desktop/scripts/soffice.sh >@@ -129,6 +129,9 @@ if echo "$checks" | grep -q "cc" ; then > exit 1; > fi > >+PYTHONPATH=$sd_prog${PYTHONPATH+:$PYTHONPATH} >+export PYTHONPATH >+ > case "`uname -s`" in > NetBSD|OpenBSD|FreeBSD|DragonFly) > # this is a temporary hack until we can live with the default search paths >diff --git a/pyuno/source/module/uno.py b/pyuno/source/module/uno.py >index 4ff2606..6a05eed 100644 >--- a/pyuno/source/module/uno.py >+++ b/pyuno/source/module/uno.py >@@ -16,8 +16,12 @@ > # except in compliance with the License. You may obtain a copy of > # the License at http://www.apache.org/licenses/LICENSE-2.0 . > # >+import os > import sys > >+sys.path.append('%eprefix%/usr/%libdir%/libreoffice/program') >+if getattr(os.environ, 'URE_BOOTSTRAP', None) is None: >+ os.environ['URE_BOOTSTRAP'] = "vnd.sun.star.pathname:%eprefix%/usr/%libdir%/libreoffice/program/fundamentalrc" > import pyuno > > try: >diff --git a/pyuno/source/officehelper.py b/pyuno/source/officehelper.py >index 99d3b03..704edab 100755 >--- a/pyuno/source/officehelper.py >+++ b/pyuno/source/officehelper.py >@@ -44,7 +44,7 @@ def bootstrap(): > if "UNO_PATH" in os.environ: > sOffice = os.environ["UNO_PATH"] > else: >- sOffice = "" # lets hope for the best >+ sOffice = "%eprefix%/usr/%libdir%/libreoffice/program" > sOffice = os.path.join(sOffice, "soffice") > if platform.startswith("win"): > sOffice += ".exe"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 533138
:
392096
| 392098 |
392102
|
392444
|
392446
|
393632
|
395314
|
395750