~ubuntu-branches/ubuntu/karmic/openoffice.org-l10n/karmic

« back to all changes in this revision

Viewing changes to debian/shell-lib.sh

  • Committer: Bazaar Package Importer
  • Author(s): Chris Cheney
  • Date: 2009-05-26 18:00:00 UTC
  • Revision ID: james.westby@ubuntu.com-20090526180000-t5otxzhj1rru5ovt
Tags: 1:3.1.0-3ubuntu2
* Copy of the openoffice.org source.
  - debian/changelog: Change source name.
  - debian/control.in: Change source name.
  - debian/control: Regenerate control file.

* Correct path to splitgsi in convert2po.
* Disable gsi-export for Rosetta due to bug in localize.pl.
* Reenable building on sparc.
* Switch boost to 1.38.
* Resynchronise with ooo-build-3-1 (271b85e5ce6b601d75d0693b9c937d1eabd069dc).

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
    export PYTHONPATH="/@OOBASISDIR@/program"
64
64
    /usr/lib/openoffice/program/unopkg remove --shared $1 \
65
65
      "-env:UserInstallation=file://$INSTDIR" \
66
 
      '-env:UNO_JAVA_JFW_INSTALL_DATA=file:///var/lib/openoffice/javasettingsunopkginstall.xml' \
 
66
      '-env:UNO_JAVA_JFW_INSTALL_DATA=file:///var/lib/openoffice/share/config/javasettingsunopkginstall.xml' \
67
67
      "-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1"
68
68
    if [ -n $INSTDIR ]; then rm -rf $INSTDIR; fi
69
69
    echo " done."
77
77
  export PYTHONPATH="/@OOBASISDIR@/program"
78
78
  /usr/lib/openoffice/program/unopkg add --shared $1 \
79
79
    "-env:UserInstallation=file:///$INSTDIR" \
80
 
    '-env:UNO_JAVA_JFW_INSTALL_DATA=file:///var/lib/openoffice/javasettingsunopkginstall.xml' \
 
80
    '-env:UNO_JAVA_JFW_INSTALL_DATA=file:///var/lib/openoffice/share/config/javasettingsunopkginstall.xml' \
81
81
    "-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1"
82
82
  if [ -n $INSTDIR ]; then rm -rf $INSTDIR; fi
83
83
  echo " done."
84
84
}
85
85
 
 
86
revoke_from_services_rdb() {
 
87
  rdb="`echo /@OOBASISDIR@/program | sed -e s/usr/var/`/services.rdb"
 
88
  lib="`basename $1`"
 
89
  if [ -e "$rdb" ] && /usr/lib/ure/bin/regview $rdb | grep -q $lib; then
 
90
    /usr/lib/ure/bin/regcomp -revoke -r $rdb -br $rdb -c file://$1
 
91
  fi
 
92
}
 
93
 
 
94
register_to_services_rdb() {
 
95
  rdb="`echo /@OOBASISDIR@/program | sed -e s/usr/var/`/services.rdb"
 
96
  /usr/lib/ure/bin/regcomp -register -r $rdb -br $rdb -c file://$1
 
97
}
 
98
 
86
99
VER=
87
100