summaryrefslogtreecommitdiff
blob: 6b9ff00fcff504e69efdb13a67d62dbc1e144120 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
--- bin/package-ooo 
+++ bin/package-ooo 
@@ -57,6 +57,7 @@
 #!/bin/sh
 export OOO_EXTRA_ARG='$2'
+unset PYTHONPATH
 $OOINSTBASE/program/ooqstart $3 "\$@"
 EOT
     chmod 755 $1
 }
--- bin/ooo-wrapper.in 
+++ bin/ooo-wrapper.in 
@@ -92,6 +89,9 @@
     print STDERR "\n\n --- Warning - OO.o will not work without a mounted /proc filesystem --- \n\n\n";
 }
 
+# Clear PYTHONPATH, otherwise Python scripting does not work
+delete $ENV{'PYTHONPATH'};
+
 # And here we go.
 exec "$SystemInstallDir/program/$Binary", @ooo_argv
 
--- bin/unpack 
+++ bin/unpack 
@@ -89,7 +89,7 @@
 # it is necessary in ODK
 # it can be built even on linux by mingw32, though
 if test "$USE_PREBUILD_UNOWINREG_DLL" = "YES" ; then
-    cp -f $TOOLSDIR/src/unowinreg.dll $OOBUILDDIR/external/unowinreg/ || exit 1;
+    cp -f $SRCDIR/unowinreg.dll $OOBUILDDIR/external/unowinreg/ || exit 1;
 fi
 
 # copy in misc Mono related dlls if we need to
@@ -319,7 +319,7 @@
 cp -af $TOOLSDIR/src/evolocal.odb $OOBUILDDIR/extras/source/database || exit 1;
 
 echo "Installing bibliography overwrides";
-tar xjf $TOOLSDIR/src/biblio.tar.bz2 -C $OOBUILDDIR/extras/source/database
+tar xjf $SRCDIR/biblio.tar.bz2 -C $OOBUILDDIR/extras/source/database
 
 echo "Copying custom user-dicts into tree"
 cp -af $TOOLSDIR/src/*.dic $OOBUILDDIR/extras/source/wordbook || exit 1;
--- patches/src680/apply 
+++ patches/src680/apply 
@@ -1014,8 +1014,6 @@
 jni-throw-exception.diff, i#65977
 # system db check
 system-db-check.diff, i#65979
-# Gentoo's portaudio ...
-system-portaudio-use-lpthread.diff
 # use IBM j9vm over IBM classic JVM
 ibm-j9vm.diff
 
@@ -1031,7 +1029,10 @@
 gentoo-gcc-naming-and-versioning.diff, hmth
 # build with -fomit-frame-pointer
 #omit-fp-workaround.diff, i#50625, hmth
-
+# use libxslt from system for xmlhelp / disable sablot
+xmlhelp-use-libxslt-from-system.diff, i#30380, rengelha
+# Gentoo's portaudio ...
+system-portaudio-use-lpthread.diff, hmth
 
 [ DebianBaseOnly ]
 SectionOwner => rengelha
@@ -1494,8 +1495,6 @@
 [ GentooExperimental ]
 SectionOwner => hmth
 
-# use libxslt from system for xmlhelp / disable sablot
-xmlhelp-use-libxslt-from-system.diff, i#30380
 # Gnu JRE paths.
 gentooexperimental-gnujre.diff