~ubuntu-branches/ubuntu/natty/libreoffice-l10n/natty-proposed

« back to all changes in this revision

Viewing changes to debian/patches/pyuno-demo-fix-PYTHONPATH.diff

  • Committer: Package Import Robot
  • Author(s): Bjoern Michaelsen
  • Date: 2011-03-08 11:52:26 UTC
  • mfrom: (0.10.1) (0.9.1) (0.8.1) (0.7.1) (0.6.2)
  • Revision ID: package-import@ubuntu.com-20110308115226-hfm7skzopu97fybt
Tags: 1:3.3.1-1ubuntu5
* merged all changes from libreoffice package up to 1:3.3.1-1ubuntu5
* regenerate control file

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff --git a/patches/dev300/apply b/patches/dev300/apply
 
2
index 6d6f28f..3661292 100755
 
3
--- libreoffice-3.3.0/libreoffice-build/patches/dev300/apply
 
4
+++ libreoffice-3.3.0/libreoffice-build/patches/dev300/apply
 
5
@@ -837,6 +837,8 @@ system-python-ure-bootstrap.diff, deb#501028, i#90701
 
6
 pyuno-ooodir.diff, i#90701
 
7
 system-python-uno-path.diff, i#97629
 
8
 
 
9
+pyuno-demo-fix-PYTHONPATH.diff
 
10
+
 
11
 [ LiberationFontsOnWindows ]
 
12
 
 
13
 # Use Liberation fonts on Windows, too
 
14
--- /dev/null   2011-01-09 13:55:42.933962422 +0100
 
15
+++ libreoffice-3.3.0/libreoffice-build/patches/dev300/pyuno-demo-fix-PYTHONPATH.diff   2011-01-09 18:00:27.000000000 +0100
 
16
@@ -0,0 +1,18 @@
 
17
+diff --git a/pyuno/demo/pyunoenv.tcsh b/pyuno/demo/pyunoenv.tcsh
 
18
+index 1a83199..1c86ca7 100644
 
19
+--- pyuno/demo/pyunoenv.tcsh
 
20
++++ pyuno/demo/pyunoenv.tcsh
 
21
+@@ -17,7 +17,12 @@ if( ! $?LD_LIBRARY_PATH ) then
 
22
+ setenv LD_LIBRARY_PATH
 
23
+ endif
 
24
 
25
+-setenv PYTHONPATH .:$OOOHOME/program:$OOOHOME/program/pydemo:$OOOHOME/program/python/lib:$PYTHONPATH
 
26
++if ( $?PYTHOHOME )
 
27
++      setenv PYTHONPATH $OOOHOME/program:$OOOHOME/program/pydemo:$OOOHOME/program/python/lib:$PYTHONPATH
 
28
++else
 
29
++      setenv PYTHONPATH $OOOHOME/program:$OOOHOME/program/pydemo:$OOOHOME/program/python/lib
 
30
++endif
 
31
++      
 
32
+ setenv LD_LIBRARY_PATH $OOOHOME/program:$LD_LIBRARY_PATH
 
33
 
34
+ if( $?PYTHONHOME ) then