/[packages]/cauldron/libreoffice/pristine/SOURCES/openoffice.org-2.4.0.ooo86080.unopkg.bodge.patch
ViewVC logotype

Annotation of /cauldron/libreoffice/pristine/SOURCES/openoffice.org-2.4.0.ooo86080.unopkg.bodge.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 121403 - (hide annotations) (download)
Sat Jul 9 21:35:22 2011 UTC (12 years, 9 months ago) by dmorgan
Original Path: cauldron/libreoffice/current/SOURCES/openoffice.org-2.4.0.ooo86080.unopkg.bodge.patch
File size: 1601 byte(s)
various renames
1 dmorgan 42455 --- openoffice.org.orig/desktop/scripts/unopkg.sh 2008-01-14 15:55:26.000000000 +0000
2     +++ openoffice.org/desktop/scripts/unopkg.sh 2008-02-14 10:52:10.000000000 +0000
3 dmorgan 121403 @@ -62,6 +62,33 @@
4 dmorgan 42455 ;;
5     esac
6    
7 dmorgan 121403 +isnotuser=0
8 dmorgan 42455 +for arg in $@
9     +do
10 dmorgan 121403 +if [ "$arg" = "--shared" -o "$arg" = "--bundled" ]; then
11     + isnotuser=1
12 dmorgan 42455 +fi
13     +done
14 dmorgan 121403 +if [ $isnotuser -eq 1 ]; then
15 dmorgan 42455 + echo $@ | grep -q env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY
16     + if [ $? -ne 0 ]; then
17     + set -- $@ '-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1'
18     + fi
19     + echo $@ | grep -q env:UNO_JAVA_JFW_INSTALL_DATA
20     + if [ $? -ne 0 -a -w $sd_prog/../share/config/javasettingsunopkginstall.xml ]; then
21     + set -- $@ '-env:UNO_JAVA_JFW_INSTALL_DATA=$$ORIGIN/../share/config/javasettingsunopkginstall.xml'
22     + fi
23     + echo $@ | grep -q env:UserInstallation
24     + if [ $? -ne 0 ]; then
25     + INSTDIR=`/bin/mktemp -d --tmpdir unoinstall.XXXXXX`
26     + if [ $? -ne 0 ]; then
27     + echo "Could not create tmp dir" >&2
28     + exit 1
29     + fi
30     + set -- $@ '-env:UserInstallation=file://'$INSTDIR
31     + fi
32     +fi
33     +
34     #collect all bootstrap variables specified on the command line
35     #so that they can be passed as arguments to javaldx later on
36 dmorgan 121403 #Recognize the "sync" option. sync must be applied without any other
37     @@ -110,6 +137,8 @@
38 dmorgan 42455 # SAL_NO_XINITTHREADS=true; export SAL_NO_XINITTHREADS
39    
40     # execute binary
41 dmorgan 121403 -exec "$sd_prog/unopkg.bin" "$@" "$JVMFWKPARAMS" \
42     +"$sd_prog/unopkg.bin" "$@" "$JVMFWKPARAMS" \
43 dmorgan 42455 "-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc"
44     -
45     +if [ -n "$INSTDIR" ]; then
46     + rm -rf $INSTDIR
47     +fi

  ViewVC Help
Powered by ViewVC 1.1.30