ooo-build r14278 - in branches/ooo-build-3-0: . patches/dev300



Author: rengelhard
Date: Fri Oct 10 13:17:24 2008
New Revision: 14278
URL: http://svn.gnome.org/viewvc/ooo-build?rev=14278&view=rev

Log:
2008-10-10  Daniel Watkins   <daniel watkins credativ co uk>

        * patches/dev300/system-python-ure-bootstrap.diff: set URE_BOOTSTRAP
          (DebanBaseOnly for now as it hardcodes /usr/lib/openoffice)


Added:
   branches/ooo-build-3-0/patches/dev300/system-python-ure-bootstrap.diff
Modified:
   branches/ooo-build-3-0/ChangeLog
   branches/ooo-build-3-0/patches/dev300/apply

Modified: branches/ooo-build-3-0/patches/dev300/apply
==============================================================================
--- branches/ooo-build-3-0/patches/dev300/apply	(original)
+++ branches/ooo-build-3-0/patches/dev300/apply	Fri Oct 10 13:17:24 2008
@@ -928,6 +928,7 @@
 # to download it from elsewhere
 reportdesign-mention-package.diff, rengelha
 
+system-python-ure-bootstrap, deb#501028, i#90701
 
 [ DebianOnly >= dev300-m20 >= ooo300-m1]
 SectionOwner => rengelha

Added: branches/ooo-build-3-0/patches/dev300/system-python-ure-bootstrap.diff
==============================================================================
--- (empty file)
+++ branches/ooo-build-3-0/patches/dev300/system-python-ure-bootstrap.diff	Fri Oct 10 13:17:24 2008
@@ -0,0 +1,20 @@
+--- pyuno/source/module/uno.py 2008-10-07 11:49:54 +0000
++++ pyuno/source/module/uno.py 2008-10-07 11:57:11 +0000
+@@ -28,6 +28,7 @@
+ # for a copy of the LGPLv3 License.
+ #
+ #*************************************************************************
++import os
+ import sys
+ 
+ import pyuno
+@@ -38,6 +39,9 @@
+ _g_ctx = pyuno.getComponentContext( )
+ _g_delegatee = __builtin__.__dict__["__import__"]
+ 
++if getattr(os.environ, 'URE_BOOTSTRAP', None) is None:
++    os.environ['URE_BOOTSTRAP'] = "vnd.sun.star.pathname:/usr/lib/openoffice/program/fundamentalrc"
++
+ def getComponentContext():
+     """ returns the UNO component context, that was used to initialize the python runtime.
+     """ 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]