summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2004-01-21 18:03:34 +0000
committerAndreas Proschofsky <suka@gentoo.org>2004-01-21 18:03:34 +0000
commit21b62589a9f861866420a6a495254739191852ae (patch)
tree78b34d717357f5b2af655b9f43dd8e6dc3439a51 /app-office/openoffice-ximian/files/1.1.0
parentadd metadata (diff)
downloadgentoo-2-21b62589a9f861866420a6a495254739191852ae.tar.gz
gentoo-2-21b62589a9f861866420a6a495254739191852ae.tar.bz2
gentoo-2-21b62589a9f861866420a6a495254739191852ae.zip
Parallel installable version, masking for now
Diffstat (limited to 'app-office/openoffice-ximian/files/1.1.0')
-rw-r--r--app-office/openoffice-ximian/files/1.1.0/ximian-openoffice.applications8
-rw-r--r--app-office/openoffice-ximian/files/1.1.0/xoo-drawing.desktop54
-rw-r--r--app-office/openoffice-ximian/files/1.1.0/xoo-presentation.desktop54
-rw-r--r--app-office/openoffice-ximian/files/1.1.0/xoo-spreadsheet.desktop55
-rw-r--r--app-office/openoffice-ximian/files/1.1.0/xoo-textdoc.desktop55
-rw-r--r--app-office/openoffice-ximian/files/1.1.0/xooffice-wrapper-1.3275
6 files changed, 501 insertions, 0 deletions
diff --git a/app-office/openoffice-ximian/files/1.1.0/ximian-openoffice.applications b/app-office/openoffice-ximian/files/1.1.0/ximian-openoffice.applications
new file mode 100644
index 000000000000..5e56216d203a
--- /dev/null
+++ b/app-office/openoffice-ximian/files/1.1.0/ximian-openoffice.applications
@@ -0,0 +1,8 @@
+ximian-openoffice
+ command=xooffice
+ name=Ximian OpenOffice.org
+ can_open_multiple_files=true
+ expects_uris=true
+ uses_gnomevfs=true
+ requires_terminal=false
+ mime_types=application/vnd.lotus-1-2-3,application/vnd.ms-excel,application/rtf,application/msword,application/vnd.ms-powerpoint,application/vnd.stardivision.calc,application/vnd.stardivision.chart,application/vnd.stardivision.draw,application/vnd.stardivision.impress,application/vnd.stardivision.mail,application/vnd.stardivision.math,application/vnd.stardivision.writer,application/vnd.sun.xml.calc,application/vnd.sun.xml.calc.template,application/vnd.sun.xml.draw,application/vnd.sun.xml.draw.template,application/vnd.sun.xml.impress,application/vnd.sun.xml.impress.template,application/vnd.sun.xml.math,application/vnd.sun.xml.writer,application/vnd.sun.xml.writer.global,application/vnd.sun.xml.writer.template,image/x-emf,image/x-pcx,image/x-photo-cd,image/x-pict
diff --git a/app-office/openoffice-ximian/files/1.1.0/xoo-drawing.desktop b/app-office/openoffice-ximian/files/1.1.0/xoo-drawing.desktop
new file mode 100644
index 000000000000..10d7ab226117
--- /dev/null
+++ b/app-office/openoffice-ximian/files/1.1.0/xoo-drawing.desktop
@@ -0,0 +1,54 @@
+[Desktop Entry]
+Name=Drawing
+Name[az]=Rəsm
+Name[ca]=Dibuix
+Name[cs]=Kreslení
+Name[da]=Tegneprogram
+Name[de]=Zeichnung
+Name[es]=Dibujo
+Name[fr]=Dessin
+Name[hr]=Crtanje
+Name[ms]=Lukisan
+Name[nl]=Tekenen
+Name[no]=Tegning
+Name[pl]=Rysunek
+Name[pt]=Drawing
+Name[sq]=Vizatim
+Name[sr]=Цртање
+Name[sr@Latn]=Crtanje
+Name[sv]=Teckning
+Name[vi]=Drawing
+Name[wa]=Dessinaedje
+Name[zh_CN]=画图工具
+Name[zh_TW]=繪圖
+Comment=OpenOffice.org drawing package
+Comment[az]=OpenOffice.org rəsm çəkmə paketi
+Comment[ca]=Paquet de dibuix d'OpenOffice.org
+Comment[cs]=Kreslicí balík OpenOffice.org
+Comment[da]=OpenOffice.org-tegnepakke
+Comment[de]=OpenOffice.org Zeichnungspaket
+Comment[es]=Paquete de dibujo de OpenOffice.org
+Comment[fr]=Dessin OpenOffice.org
+Comment[hr]=OpenOffice.org paket za crtanje
+Comment[ms]=Pakej lukisan OpenOffice.org
+Comment[nl]=OpenOffice.org tekenpakket
+Comment[no]=OpenOffice.org tegneprogram
+Comment[pl]=Rysunek OpenOffice.org
+Comment[pt]=Pacote de desenho OpenOffice.org
+Comment[sq]=Paketa për vizatimet në OpenOffice.org
+Comment[sr]=Пакет за цртање из Отворене канцеларије
+Comment[sr@Latn]=Paket za crtanje iz Otvorene kancelarije
+Comment[sv]=OpenOffice.org-teckningspaket
+Comment[vi]=Gói OpenOffice.org Drawing
+Comment[wa]=Programe di dessinaedje d' OpenOffice.org
+Comment[zh_CN]=OpenOffice.org 画图工具包
+Comment[zh_TW]=OpenOffice.org 繪圖軟體
+TryExec=xoodraw
+Exec=xoodraw
+Icon=ximian-openoffice-draw.png
+Terminal=false
+Type=Application
+MimeType=application/vnd.sun.xml.draw;application/vnd.stardivision.draw
+Categories=GNOME;Application;Office;X-Ximian-Main;
+X-GNOME-Bugzilla-Bugzilla=Ximian
+X-GNOME-Bugzilla-Product=OpenOffice.org Ximian Edition
diff --git a/app-office/openoffice-ximian/files/1.1.0/xoo-presentation.desktop b/app-office/openoffice-ximian/files/1.1.0/xoo-presentation.desktop
new file mode 100644
index 000000000000..a88d980acb8a
--- /dev/null
+++ b/app-office/openoffice-ximian/files/1.1.0/xoo-presentation.desktop
@@ -0,0 +1,54 @@
+[Desktop Entry]
+Name=Presentation
+Name[az]=Təqdimat
+Name[ca]=Presentació
+Name[cs]=Prezentace
+Name[da]=Præsentation
+Name[de]=Präsentation
+Name[es]=Presentación
+Name[fr]=Présentation
+Name[hr]=Prezentacija
+Name[ms]=Persembahan
+Name[nl]=Presentatie
+Name[no]=Presentasjon
+Name[pl]=Prezentacja
+Name[pt]=Presentation
+Name[sq]=Prezantime
+Name[sr]=Презентација
+Name[sr@Latn]=Prezentacija
+Name[sv]=Presentation
+Name[vi]=Presentation
+Name[wa]=Prezintåcion
+Name[zh_CN]=文档演示
+Name[zh_TW]=簡報
+Comment=OpenOffice.org presentation application
+Comment[az]=OpenOffice.org təqdimat proqramı
+Comment[ca]=Aplicació de presentacions d'OpenOffice.org
+Comment[cs]=Aplikace OpenOffice.org pro prezentace
+Comment[da]=OpenOffice.org-præsentationsprogram
+Comment[de]=OpenOffice.org Präsentationsanwendung
+Comment[es]=Aplicación de presentaciones de OpenOffice.org
+Comment[fr]=Application de présentation OpenOffice.org
+Comment[hr]=OpenOffice.org aplikacija za prezentacije
+Comment[ms]=Aplikasi persembahan OpenOffice.org
+Comment[nl]=OpenOffice.org presentatie-programma
+Comment[no]=Openoffice.org presentasjonsprogram
+Comment[pl]=Prezentacje OpenOffice.org
+Comment[pt]=Aplicação de apresentações OpenOffice.org
+Comment[sq]=Aplikativi për prezantimet i OpenOffice.org
+Comment[sr]=Програм за презентације из Отворене канцеларије
+Comment[sr@Latn]=Program za prezentacije iz Otvorene kancelarije
+Comment[sv]=OpenOffice.org-presentationsprogram
+Comment[vi]=Ứng dụng OpenOffice.org Presentation
+Comment[wa]=Programe di prezintåcion d' OpenOffice.org
+Comment[zh_CN]=OpenOffice.org 文档演示程序
+Comment[zh_TW]=OpenOffice.org 簡報應用程式
+TryExec=xooimpress
+Exec=xooimpress
+Icon=ximian-openoffice-impress.png
+Terminal=false
+Type=Application
+MimeType=application/vnd.sun.xml.impress;application/vnd.stardivision.impress;application/mspowerpoint
+Categories=GNOME;Application;Office;X-Ximian-Main;
+X-GNOME-Bugzilla-Bugzilla=Ximian
+X-GNOME-Bugzilla-Product=OpenOffice.org Ximian Edition
diff --git a/app-office/openoffice-ximian/files/1.1.0/xoo-spreadsheet.desktop b/app-office/openoffice-ximian/files/1.1.0/xoo-spreadsheet.desktop
new file mode 100644
index 000000000000..d88e8d662da7
--- /dev/null
+++ b/app-office/openoffice-ximian/files/1.1.0/xoo-spreadsheet.desktop
@@ -0,0 +1,55 @@
+[Desktop Entry]
+Name=Spreadsheet
+Name[az]=Hesab Cədvəli
+Name[ca]=Full de càlcul
+Name[cs]=Tabulkový kalkulátor
+Name[da]=Regneark
+Name[de]=Tabellenkalkulation
+Name[es]=Hoja de cálculo
+Name[fr]=Tableur
+Name[hr]=Tablični kalkulator
+Name[ms]=Hamparan
+Name[nl]=Spreadsheet
+Name[no]=Regneark
+Name[pl]=Arkusz Kalkulacyjny
+Name[pt]=Spreadsheet
+Name[sq]=Fleta elektronike
+Name[sr]=Табеле
+Name[sr@Latn]=Tabele
+Name[sv]=Kalkylblad
+Name[vi]=Spreadsheet
+Name[wa]=Tåvleu
+Name[zh_CN]=电子表格
+Name[zh_TW]=試算表
+Comment=OpenOffice.org spreadsheet
+Comment[az]=OpenOffice.org hesab cədvəli
+Comment[ca]=Full de càlcul d'OpenOffice.org
+Comment[cs]=Tabulkový kalkulátor OpenOffice.org
+Comment[da]=OpenOffice.org-regneark
+Comment[de]=OpenOffice.org Tabellenkalkulation
+Comment[es]=Hoja de cálculo de OpenOffice.org
+Comment[fr]=Tableur OpenOffice.org
+Comment[hr]=Proračunska tablica OpenOffice.org
+Comment[ms]=hamparan OpenOffice.org
+Comment[nl]=OpenOffice.org spreadsheet
+Comment[no]=OpenOffice.org regneark
+Comment[pl]=Arkusz Kalkulacyjny OpenOffice.org
+Comment[pt]=Folha de cálculo OpenOffice.org
+Comment[sq]=Fleta elektronike e OpenOffice.org
+Comment[sr]=Табеле из Отворене канцеларије
+Comment[sr@Latn]=Tabele iz Otvorene kancelarije
+Comment[sv]=OpenOffice.org-kalkylblad
+Comment[vi]=OpenOffice.org spreadsheet
+Comment[wa]=Tåvleu d' OpenOffice.org
+Comment[zh_CN]=OpenOffice.org 电子表格
+Comment[zh_TW]=OpenOffice.org 試算表
+TryExec=xoocalc
+Exec=xoocalc
+Icon=ximian-openoffice-calc.png
+Terminal=false
+Type=Application
+MimeType=application/vnd.sun.xml.calc;application/vnd.stardivision.calc;application/vnd.stardivision.chart;application/msexcel;application/vnd.ms-excel
+Categories=GNOME;Application;Office;Finance;X-Ximian-Main;
+X-GNOME-Bugzilla-Bugzilla=Ximian
+X-GNOME-Bugzilla-Product=OpenOffice.org Ximian Edition
+
diff --git a/app-office/openoffice-ximian/files/1.1.0/xoo-textdoc.desktop b/app-office/openoffice-ximian/files/1.1.0/xoo-textdoc.desktop
new file mode 100644
index 000000000000..985f5029a1a9
--- /dev/null
+++ b/app-office/openoffice-ximian/files/1.1.0/xoo-textdoc.desktop
@@ -0,0 +1,55 @@
+[Desktop Entry]
+Name=Word Processor
+Name[az]=Kəlmə İşlədici
+Name[ca]=Processador de textos
+Name[cs]=Textový procesor
+Name[da]=Tekstbehandler
+Name[de]=Textverarbeitung
+Name[es]=Procesador de textos
+Name[fr]=Traitement de texte
+Name[hr]=Program za obradu teksta
+Name[ms]=Pemproses Perkataan
+Name[nl]=Tekstverwerker
+Name[no]=Tekstbehandling
+Name[pl]=Procesor tekstu
+Name[pt]=Word Processor
+Name[sq]=Procesues teksti
+Name[sr]=Обрада текста
+Name[sr@Latn]=Obrada teksta
+Name[sv]=Ordbehandlare
+Name[vi]=Word Processor
+Name[wa]=Aspougneu d' tecse
+Name[zh_CN]=文字处理工具
+Name[zh_TW]=文書處理器
+Comment=OpenOffice.org word processor
+Comment[az]=OpenOffice.org kəlmə işlədicisi
+Comment[ca]=Processador de textos d'OpenOffice.org
+Comment[cs]=Textový procesor OpenOffice.org
+Comment[da]=OpenOffice.org-tekstbehandler
+Comment[de]=OpenOffice.org Textverarbeitung
+Comment[es]=Procesador de textos de OpenOffice.org
+Comment[fr]=Traitement de texte OpenOffice.org
+Comment[hr]=OpenOffice.org program za obradu teksta
+Comment[ms]=Pemproses perkataan OpenOffice.org
+Comment[nl]=OpenOffice.org tekstverwerker
+Comment[no]=OpenOffice.org tekstbehandling
+Comment[pl]=Procesor tekstu OpenOffice.org
+Comment[pt]=Processador de texto OpenOffice.org
+Comment[sq]=Procesuesi i tekstit i OpenOffice.org
+Comment[sr]=Обрада текста из Отворене канцеларије
+Comment[sr@Latn]=Obrada teksta iz Otvorene kancelarije
+Comment[sv]=OpenOffice.org-ordbehandlare
+Comment[vi]=OpenOffice.org word processor
+Comment[wa]=Aspougneu d' tecse d' OpenOffice.org
+Comment[zh_CN]=OpenOffice.org 文字处理工具
+Comment[zh_TW]=OpenOffice.org 文書處理器
+TryExec=xoowriter
+Exec=xoowriter
+Icon=ximian-openoffice-writer.png
+Terminal=false
+Type=Application
+MimeType=application/vnd.sun.xml.writer;application/vnd.stardivision.writer;application/msword;application/vnd.ms-word;application/x-doc;text/rtf
+Categories=GNOME;Application;Office;X-Ximian-Main;
+X-GNOME-Bugzilla-Bugzilla=Ximian
+X-GNOME-Bugzilla-Product=OpenOffice.org Ximian Edition
+X-GNOME-Bugzilla-OtherBinaries=soffice.bin;getstyle-gnome
diff --git a/app-office/openoffice-ximian/files/1.1.0/xooffice-wrapper-1.3 b/app-office/openoffice-ximian/files/1.1.0/xooffice-wrapper-1.3
new file mode 100644
index 000000000000..7dfcf398180d
--- /dev/null
+++ b/app-office/openoffice-ximian/files/1.1.0/xooffice-wrapper-1.3
@@ -0,0 +1,275 @@
+#!/bin/sh
+#
+# Wrapper script for openoffice
+#
+# (C) Peter 'Nidd' Novodvorsky, 2001,2002
+# (C) Martin 'empty' Quinson, 2002.
+# Modifications by Chris Halls
+# Modifications by Lucien Saviot
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+# this string should be exactly as in ~/.xversionrc
+PV=<pv>
+OOVERSION="OpenOffice.org ${PV}"
+
+##
+## Source system configuration file
+##
+[ -r /etc/openoffice/openoffice.conf ] && . /etc/openoffice/openoffice.conf
+
+# Migration to new user install dir
+if [ -x "$HOME/.openoffice" ] ; then
+ SETUPLINK="`readlink $HOME/.openoffice/1.1.0/setup`"
+ if [ "$SETUPLINK" = "/opt/Ximian-OpenOffice/program/setup" ] ; then
+ mv $HOME/.openoffice $HOME/.xopenoffice
+ mv $HOME/.sversionrc $HOME/.xversionrc
+ sed -i -e s/.openoffice/.xopenoffice/g $HOME/.xversionrc $HOME/.xopenoffice/1.1.0/user/basic/*.xlc
+ fi
+fi
+
+###
+### Get user settings directory from ~/.xversionrc and echo directory name to stdout
+### get_settings_dir <Version>
+### return: 0 - directory found,
+### 1 - ~/.xversionrc non existent
+### 2 - entry exists in ~/.xversionrc but directory not found
+### 3 - ~/.xversionrc exists but no entry found
+get_settings_dir()
+{
+ [ -r ${HOME}/.xversionrc ] || exit 1
+ # warning, .xversionrc is DOS encoded so strip ^M
+ settings_dir="`tr -d '\r' < ~/.xversionrc | sed -n "/^$1=/s%^$1=file://\(.*\)$%\1%p"`"
+ echo "$settings_dir"
+ [ -n "$settings_dir" ] || exit 3
+ [ -d "$settings_dir" ] || exit 2
+}
+
+##
+## where does OO live for this user ?
+##
+OOHOME="`get_settings_dir "$OOVERSION"`"
+if [ $? -eq 2 ] ; then
+ # .xversionrc contains a version yet the directory does not exist
+ echo "I'm confused because I can't find OpenOffice's user files."
+ echo "Your ~/.xversionrc file tells they should be under $OOHOME,"
+ echo "but they are not. Please fix the situation manually."
+ echo "You may want to edit ~/.xversionrc to indicate where is OO"
+ echo "installed, or remove it if you did remove your installation"
+ echo "directory manually (you bad one)."
+ exit 1
+fi
+
+##
+## Unset SESSION_MANAGER if gnome-session is the session manager
+## See http://www.openoffice.org/issues/show_bug.cgi?id=4494
+##
+SMPID=`echo $SESSION_MANAGER | sed --quiet "s,local.*/,,p"`
+if [ -n "$SMPID" ] && [ -L /proc/"$SMPID"/exe ]; then
+
+ SESMGR="`readlink -f /proc/$SMPID/exe`"
+ case "$SESMGR" in
+ /usr/bin/gnome-session*)
+ echo "Gnome session manager detected - session management disabled"
+ unset SESSION_MANAGER
+ ;;
+ esac
+fi
+
+##
+## Add known Debian fonts locations to search path
+##
+## Please report if you have problems with fonts, or know of non-defoma integrated packages that place fonts in other
+## paths.
+##
+
+# Default font path. This is used if SAL_FONTPATH_USER is not defined.
+DEBOO_FONTPATH="/usr/lib/X11/fonts/misc/;/usr/lib/X11/fonts/cyrillic/;\
+/usr/lib/X11/fonts/100dpi/:unscaled;/usr/lib/X11/fonts/75dpi/:unscaled;\
+/usr/lib/X11/fonts/Type1/;/usr/lib/X11/fonts/CID;/usr/lib/X11/fonts/Speedo/;\
+/usr/lib/X11/fonts/100dpi/;/usr/lib/X11/fonts/75dpi/;\
+/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType;\
+/usr/lib/X11/fonts/TrueType;\
+/usr/share/fonts/truetype/kochi;\
+/usr/lib/X11/fonts/TrueType/larabie-straight;\
+/usr/lib/X11/fonts/TrueType/larabie-uncommon"
+
+SAL_FONTPATH_USER=${SAL_FONTPATH_USER:-"$DEBOO_FONTPATH"}
+export SAL_FONTPATH_USER
+
+## search LOCALE
+if [ -n "$LC_ALL" ]; then
+ LOCALE="$LC_ALL"
+ # OOo doesn't understand LC_ALL, so set LANG
+ LANG="$LC_ALL"
+elif [ -n "$LANG" ]; then
+ LOCALE="$LANG"
+elif [ -n "$LC_MESSAGES" ]; then
+ LOCALE="$LC_MESSAGES"
+ LANG="$LC_MESSAGES"
+else
+ LOCALE="en_US"
+fi
+
+# Set locale to en_US if locale is C
+if [ "x$LOCALE" = "xC" ] ; then LOCALE="en_US"; fi
+
+LOCALEOO=`echo $LOCALE | sed 's/_/-/'`
+
+##
+## install OO for this user if needed
+##
+if [ -z "$OOHOME" ] ; then
+ if [ -e /etc/ximian-openoffice/autoresponse-<pv>.conf ] && \
+ grep -q DESTINATIONPATH /etc/ximian-openoffice/autoresponse-<pv>.conf ; then
+
+# Do not take old settings as migration results in broken behaviour
+#
+# UPDATEFLAG=""
+# if oldhome="`get_settings_dir "OpenOffice.org 1.0.3"`" ; then
+# OOHOME="$oldhome"
+# echo "Using settings from 1.0.3: /${oldhome}"
+# /bin/echo -e "OpenOffice.org <pv>=file://$oldhome\r" >> ~/.xversionrc
+# UPDATEFLAG="-update:/$oldhome"
+# fi
+
+ # first install
+ OOHOME=`grep DESTINATIONPATH /etc/ximian-openoffice/autoresponse-<pv>.conf | \
+ sed -e 's/DESTINATIONPATH=//' -e "s|<home>|$HOME|"`
+
+ if [ -d "$OOHOME" ]; then
+ echo "openoffice.org: You have no entry for $OOVERSION in ~/.xversionrc, "
+ echo "yet the directory $OOHOME exists."
+ echo "Please remove $OOHOME and try again."
+ exit 1
+ fi
+
+ echo "running openoffice.org setup..."
+ if ! /opt/Ximian-OpenOffice/program/setup ${UPDATEFLAG} -R:/etc/ximian-openoffice/autoresponse-<pv>.conf >& /dev/null; then
+ echo "setup failed.. abort"
+ exit 1
+ fi
+
+
+ echo "Setup complete. Running openoffice.org..."
+
+else
+ echo "openoffice.org: Damnit! I can't find OpenOffice's user files. Did you break"
+ echo "the /etc/ximian-openoffice/autoresponse-<pv>.conf file manually ?"
+ echo "This file should contain DESTINATIONPATH"
+ exit 1
+ fi
+fi
+
+##
+## If no file is specified on the command line, which application to start?
+## The wrapper can be called from several links in /usr/bin
+##
+if [ $# = 0 ]; then
+ case `basename $0` in
+ xoocalc) set -- private:factory/scalc;;
+ xoodraw) set -- private:factory/sdraw;;
+ xooimpress) set -- private:factory/simpress;;
+ xoomath) set -- private:factory/smath;;
+ xoowriter) set -- private:factory/swriter;;
+ xoohtml) set -- private:factory/swriter/web;;
+ xoomaster) set -- private:factory/swriter/Global;;
+ esac
+fi
+
+## Previous dead installation?
+[ -d $HOME/.xopenoffice/user ] && echo "Warning: you have a user settings directory from 1.0.0 in ~/.openoffice/user - this is no longer used"
+
+# There is no locale import file
+## Change the ooLocale key in SETUPFILE acording to LOCALE
+#TMPFILE=`mktemp -t oooLocale.XXXXXXXXXX` && {
+# cat >${TMPFILE} <<EOF
+#<?xml version="1.0" encoding="UTF-8"?>
+#<oor:node xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Setup" oor:package="org.openoffice">
+# <node oor:name="L10N">
+# <prop oor:name="ooLocale" oor:type="xs:string">
+# <value>$LOCALEOO</value>
+# </prop>
+# </node>
+#</oor:node>
+#EOF
+# ooconfigimport $TMPFILE >/dev/null
+# rm -f ${TMPFILE}
+#}
+
+# Check whether the programs actually link to anything, or are from an old
+# version.
+
+if [ ! -s $OOHOME/setup ]; then
+ echo "${OOHOME}/setup links to nothing, resetting link"
+ ln -sf /opt/Ximian-OpenOffice/program/setup ${OOHOME}/setup
+fi
+if [ ! -s $OOHOME/soffice ]; then
+ echo "${OOHOME}/soffice links to nothing, resetting link"
+ ln -sf /opt/Ximian-OpenOffice/program/soffice ${OOHOME}/soffice
+fi
+if [ ! -s $OOHOME/spadmin ]; then
+ echo "${OOHOME}/spadmin links to nothing, resetting link"
+ ln -sf /opt/Ximian-OpenOffice/program/soffice ${OOHOME}/spadmin
+fi
+
+
+##
+## That's it. Launch the beast (with the given args)
+##
+LANG=$LOCALE
+export LANG
+case `basename $0` in
+ xoosetup) exec "$OOHOME/setup"
+ ;;
+ xoopadmin) exec "$OOHOME/spadmin"
+ ;;
+ *) exec "$OOHOME/soffice" "$@"
+ ;;
+esac
+## Changelog
+# 2003/04/01 halls
+# * Version 1.1beta
+# 2003/02/03 halls
+# * Check for nonexistent ooLocale every run
+# 2003/01/09 halls
+# * Version 1.0.2
+# 12/15 saviot
+# * Change ooLocale at startup in Setup.xml
+# <ooLocale cfg:type="string"/> doesn't work for help.
+# 12/03 challs
+# * Add Debian font paths to user font path
+# 11/14 saviot
+# * correct handling of UI language
+# * don't change Linguistic.xml after first startup(#168780)
+# * TODO: provide better defaults on first startup
+# 10/03 challs
+# * Fix use with LC_ALL
+# 07/10 challs
+# * use 1.0.1 directory and improve error checking
+# 07/02 challs
+# * use readlink in /proc/PID/exe to get
+# real session manager name
+# 06/12 challs
+# * merge into main package
+# * change $@ to "$@"
+# * source configuration file:
+# /etc/openoffice/openoffice.conf
+# 06/12 mquinson
+# * strace only when DEBUG is set to yes
+# * readd the $@ to pass the args to soffice
+# 06/06 mquinson
+# * Make sure the OLDLOCALE is never empty
+# * handle the case where the locale is C