summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2005-06-16 16:48:15 +0000
committerAndreas Proschofsky <suka@gentoo.org>2005-06-16 16:48:15 +0000
commitbbc2642983facc4c282ab48096de9ef43b4ff315 (patch)
treeba81a200a0a515609b32753ae0f001bce907b33a /app-office
parentRemoved the mysql-query-browser mask. (diff)
downloadhistorical-bbc2642983facc4c282ab48096de9ef43b4ff315.tar.gz
historical-bbc2642983facc4c282ab48096de9ef43b4ff315.tar.bz2
historical-bbc2642983facc4c282ab48096de9ef43b4ff315.zip
new beta of OOo 2.0
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'app-office')
-rw-r--r--app-office/openoffice-bin/ChangeLog9
-rw-r--r--app-office/openoffice-bin/Manifest15
-rw-r--r--app-office/openoffice-bin/files/1.9/ooo-wrapper2150
-rw-r--r--app-office/openoffice-bin/files/digest-openoffice-bin-1.9.10932
-rw-r--r--app-office/openoffice-bin/openoffice-bin-1.9.109.ebuild156
5 files changed, 350 insertions, 12 deletions
diff --git a/app-office/openoffice-bin/ChangeLog b/app-office/openoffice-bin/ChangeLog
index 215c7891debe..83111279fbf5 100644
--- a/app-office/openoffice-bin/ChangeLog
+++ b/app-office/openoffice-bin/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-office/openoffice-bin
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.81 2005/06/05 21:32:16 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.82 2005/06/16 16:48:15 suka Exp $
+
+*openoffice-bin-1.9.109 (16 Jun 2005)
+
+ 16 Jun 2005; Andreas Proschofsky <suka@gentoo.org>
+ +files/1.9/ooo-wrapper2, +openoffice-bin-1.9.109.ebuild:
+ New beta version of OOo 2.0. This uses a new wrapper, also adds two new
+ languages (hr and lt) plus some minor fixes
05 Jun 2005; Andreas Proschofsky <suka@gentoo.org>
openoffice-bin-1.9.104.ebuild:
diff --git a/app-office/openoffice-bin/Manifest b/app-office/openoffice-bin/Manifest
index c753c422d7ae..bdc7a803ce26 100644
--- a/app-office/openoffice-bin/Manifest
+++ b/app-office/openoffice-bin/Manifest
@@ -1,21 +1,14 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 7f52bbd66845629478afc32e9f0753e3 openoffice-bin-1.9.109.ebuild 5858
MD5 506e205d7acdff08907fdca2b8f80332 openoffice-bin-1.9.104.ebuild 5610
MD5 1a091dd047f09cc05d99f025c6a65fff openoffice-bin-1.1.1.ebuild 5855
MD5 c304ae0ed4c510372ff5272a6bb4eefb openoffice-bin-1.1.4-r1.ebuild 5006
-MD5 06c9fee8dad0f86da652ed94689e3e9a ChangeLog 14114
+MD5 92854e9e513dac908ef1887eb5547a46 ChangeLog 14386
MD5 7134ec08f56019fc5db7f3e84acea4df metadata.xml 460
MD5 753fd14ec632a7fe71ab9abef357f93f files/digest-openoffice-bin-1.1.4-r1 141
MD5 2b70af485f57d1db6983b006f16a0587 files/digest-openoffice-bin-1.1.1 171
MD5 0f86c01ade990aa2607bcb973db780b5 files/digest-openoffice-bin-1.9.104 2554
+MD5 5df38e0d97a641ef5f53c45bf4cbd87b files/digest-openoffice-bin-1.9.109 2724
MD5 1a7afed026065dd18f0fc20030fb6496 files/1.9/ooffice-wrapper-1.9 2734
+MD5 387701c9958c7bb67787d8449600969e files/1.9/ooo-wrapper2 4878
MD5 4b2f3102e273ff72e281ed0d481b1526 files/1.1.1/ooffice-wrapper-1.3 9166
MD5 4045e7a45d5209ff0ac93c5c5db0114b files/1.1.4/ooffice-wrapper-1.3 6659
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCqELfI1lqEGTUzyQRAtktAJ0Q0Hm/B91xagbN6+HDmNlvFdIU+gCgolaf
-vo2y/cHHoi8bnuLZcRt4udI=
-=dUdZ
------END PGP SIGNATURE-----
diff --git a/app-office/openoffice-bin/files/1.9/ooo-wrapper2 b/app-office/openoffice-bin/files/1.9/ooo-wrapper2
new file mode 100644
index 000000000000..235d1c3c3f1c
--- /dev/null
+++ b/app-office/openoffice-bin/files/1.9/ooo-wrapper2
@@ -0,0 +1,150 @@
+#!/usr/bin/perl -w
+#*****************************************************************************
+#
+# ooffice - Wrapper script for OpenOffice.org
+#
+# Based on the Mandrake work.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2, as
+# published by the Free Software Foundation.
+#
+# 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.
+#
+#*****************************************************************************
+
+use strict;
+use IO::Handle;
+use Fcntl ':flock';
+
+my $Debug = $ENV{OOO_DEBUG};
+my $DebugRH = $ENV{OOO_RH_DEBUG};
+
+# Define the vendor of this particular OOo pacakge
+my $VendorName = 'Gentoo';
+# Define system installation directory
+# Autoconf totally sucks for @libdir@ type substitution
+my $SystemInstallDir = '/opt/OpenOffice.org';
+# Suffix for parallel installable versioning
+my $BinSuffix = '2';
+# ooo-build version
+my $OOO_BUILDVERSION = 'PV';
+# Debugging
+
+if ( $DebugRH ) {
+ $Debug = 1;
+ $VendorName = "RedHat";
+}
+if ($Debug && $BinSuffix =~ /^\@/) {
+ $SystemInstallDir = "/usr/lib/ooo-1.9";
+ $BinSuffix = '1.9';
+}
+
+#=============================================================================
+# Main
+#=============================================================================
+
+# Parse command line arguments
+my @ooo_argv;
+my $session_quickstart;
+my $icons_set;
+my $widgets_set;
+while ($ARGV[0]) {
+ $_ = shift;
+ if (m/^--session-quickstart/) {
+ $session_quickstart = 1;
+ } elsif (m/^--icons-set/) {
+ $icons_set = shift;
+ (defined $icons_set) || die "Error: The option --icons-set requires a value\n" .
+ "For example: --icons-set kde\n";
+ } elsif (m/^--widgets-set/) {
+ $widgets_set = shift;
+ (defined $widgets_set) || die "Error: The option --widgets-set requires a value\n" .
+ "For example: --widgets-set gtk\n";
+ } elsif (m/^--version/) {
+ print "This is OpenOffice.org built with ooo-build-$OOO_BUILDVERSION\n";
+ exit 0;
+ } else {
+ push @ooo_argv, $_;
+ }
+}
+
+if (!@ooo_argv) {
+ my $arg;
+ if ($0 =~ m/\/oo(calc|draw|impress|math|web|writer|base)$BinSuffix$/) {
+ $arg = "-$1";
+ } elsif ($0 =~ m/\/oofromtemplate$BinSuffix$/) {
+ $arg = "slot:5500";
+ }
+
+ if ($arg) {
+ push @ooo_argv, "$arg";
+ $Debug && print "Append arg: $arg\n";
+ }
+} else {
+ $Debug && print "Ignoring type - since have filenames\n";
+}
+
+if (defined $widgets_set) {
+ $ENV{SAL_USE_VCLPLUGIN} = $widgets_set;
+}
+
+# select the preferred icons set by the running windowmanager
+unless (defined $icons_set) {
+ if ((exists $ENV{GNOME_DESKTOP_SESSION_ID}) && (-d "$SystemInstallDir/program/resource.gnome")) {
+ $icons_set="gnome";
+ } elsif ((exists $ENV{KDE_FULL_SESSION}) && (-d "$SystemInstallDir/program/resource.kde")) {
+ $icons_set="kde";
+ }
+
+ if (not defined $icons_set) {
+ if ((exists $ENV{WINDOWMANAGER}) && (-d "$SystemInstallDir/program/resource.kde") &&
+ ("$ENV{WINDOWMANAGER}" =~ ".*kde\$")) {
+ $icons_set="kde";
+ } elsif ((exists $ENV{WINDOWMANAGER}) && (-d "$SystemInstallDir/program/resource.gnome") &&
+ ("$ENV{WINDOWMANAGER}" =~ ".*gnome\$")) {
+ $icons_set="gnome";
+ } elsif (-d "$SystemInstallDir/program/resource.default") {
+ $icons_set="default";
+ } elsif (-d "$SystemInstallDir/program/resource.kde") {
+ $icons_set="kde";
+ } elsif (-d "$SystemInstallDir/program/resource.gnome") {
+ $icons_set="gnome";
+ } else {
+ $icons_set="default";
+ }
+ }
+}
+
+# FIXME - re-enable for icon .zip files in due course
+# if (defined $icons_set) {
+# if (-d "$SystemInstallDir/program/resource.$icons_set") {
+# $ENV{OOO_PREFERRED_RESOURCE_PATH} = "$SystemInstallDir/program/resource.$icons_set";
+# } else {
+# print STDERR "\n\n --- Warning - Your installation of OpenOffice.org does not provide\n";
+# print STDERR " the selected icons set \"$icons_set\". ---\n\n\n";
+# }
+# }
+
+if (defined $widgets_set) {
+ $ENV{SAL_USE_VCLPLUGIN} = $widgets_set;
+}
+
+if ($session_quickstart) {
+ $Debug && print "Execute quickstarter\n";
+ push @ooo_argv, '-quickstart';
+}
+
+if (!(-f '/proc/version')) {
+ print STDERR "\n\n --- Warning - OO.o will not work without a mounted /proc filesystem --- \n\n\n";
+}
+
+# And here we go.
+exec "$SystemInstallDir/program/soffice", @ooo_argv
diff --git a/app-office/openoffice-bin/files/digest-openoffice-bin-1.9.109 b/app-office/openoffice-bin/files/digest-openoffice-bin-1.9.109
new file mode 100644
index 000000000000..ea5e9fbff6cf
--- /dev/null
+++ b/app-office/openoffice-bin/files/digest-openoffice-bin-1.9.109
@@ -0,0 +1,32 @@
+MD5 de253fe1ac64bac5993514b681e83e4d OOo_1.9.109_LinuxIntel_install.tar.gz 104654719
+MD5 d7ef5a7f9de7572cde1725dfd149a321 openofficeorg-af-1.9.109-1.i586.tar.gz 14057276
+MD5 35a5199a6dac9673299a88b44c1ea7be openofficeorg-bg-1.9.109-1.i586.tar.gz 14412483
+MD5 6865c844e153e1c67b4740d04a797e0e openofficeorg-cs-1.9.109-1.i586.tar.gz 14739980
+MD5 68b7de65a054a35e2859320a846e0d1f openofficeorg-cy-1.9.109-1.i586.tar.gz 13966824
+MD5 6ab4ab9813825c4541bc13f59e14a818 openofficeorg-da-1.9.109-1.i586.tar.gz 14601708
+MD5 aa05bc33c847946fde861ec8fea4119b openofficeorg-de-1.9.109-1.i586.tar.gz 15525811
+MD5 7049642e03573b607acd44ea113e0464 openofficeorg-en-GB-1.9.109-1.i586.tar.gz 14008474
+MD5 ad303cfa61c7eb61bd1a434aec84eb83 OOo_1.9.109_LinuxIntel_langpack_es.sh 14870774
+MD5 c613e0bd69b79631377dee4c169919eb openofficeorg-et-1.9.109-1.i586.tar.gz 14756240
+MD5 f52c163a365da39f8e915f3954c920cd openofficeorg-fi-1.9.109-1.i586.tar.gz 14052836
+MD5 81a1675906dda868d3b3ab4fcf1d9515 openofficeorg-fr-1.9.109-1.i586.tar.gz 15034762
+MD5 9ee4caa6f080effcbad6b1ad3d509d17 openofficeorg-hr-1.9.109-1.i586.tar.gz 14350100
+MD5 7483dcdcfc39589ada435f4f185dcbc3 openofficeorg-hu-1.9.109-1.i586.tar.gz 14023380
+MD5 3459e3927a30282719f8e09694fe35a7 OOo_1.9.109_LinuxIntel_langpack_it.sh 14831829
+MD5 b8900a56d309da2e023ede3556153b99 OOo_1.9.109_LinuxIntel_langpack_ja.sh 15624378
+MD5 39cb329d37f5b47ecd7cbc9e1d4b349e openofficeorg-km-1.9.109-1.i586.tar.gz 16608827
+MD5 386f4c25597552786b44357d8b6407eb OOo_1.9.109_LinuxIntel_langpack_ko.sh 14758817
+MD5 6f5727efdf9740038894f74154c60b0a openofficeorg-lt-1.9.109-1.i586.tar.gz 13949278
+MD5 b78d600c36ac4004b2510764b57c32e3 openofficeorg-nb-1.9.109-1.i586.tar.gz 14021592
+MD5 dd73fc379ef209be90a2de06eb39d8ac openofficeorg-nl-1.9.109-1.i586.tar.gz 13955114
+MD5 529ec615dcb8756dbd6302a074fa3a2d openofficeorg-nn-1.9.109-1.i586.tar.gz 14004841
+MD5 817e7c515a2f9e1897f20cd8ed9a571a openofficeorg-ns-1.9.109-1.i586.tar.gz 13916481
+MD5 7bef959cac5d6f8a01c8d99ccbe07fbe OOo_1.9.109_LinuxIntel_langpack_pt-BR.sh 14834453
+MD5 87816c83308feecdd95f6165559e96b6 openofficeorg-sk-1.9.109-1.i586.tar.gz 14515917
+MD5 ef609774ebe31cf05462c18aa34e0c09 openofficeorg-sl-1.9.109-1.i586.tar.gz 13989522
+MD5 0454666f56ae779c67013a0602ad3cbf OOo_1.9.109_LinuxIntel_langpack_sv.sh 14666391
+MD5 b89c9c11fd86fe49dd1d4b3344c9bbb9 openofficeorg-tn-1.9.109-1.i586.tar.gz 14228122
+MD5 80302e883df7bcc7a31ed1843417540c openofficeorg-xh-1.9.109-1.i586.tar.gz 14015669
+MD5 f1589a9eb1b75254f54d0d33743069a0 OOo_1.9.109_LinuxIntel_langpack_zh-CN.sh 14945120
+MD5 7578f01d3dbe340795e9d66ea965a0fd OOo_1.9.109_LinuxIntel_langpack_zh-TW.sh 15104053
+MD5 3c594ffccf6fd1ce5a9f0c36e9a71b30 openofficeorg-zu-1.9.109-1.i586.tar.gz 14330586
diff --git a/app-office/openoffice-bin/openoffice-bin-1.9.109.ebuild b/app-office/openoffice-bin/openoffice-bin-1.9.109.ebuild
new file mode 100644
index 000000000000..cb109dc08ae1
--- /dev/null
+++ b/app-office/openoffice-bin/openoffice-bin-1.9.109.ebuild
@@ -0,0 +1,156 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-1.9.109.ebuild,v 1.1 2005/06/16 16:48:15 suka Exp $
+
+inherit eutils fdo-mime rpm versionator
+
+IUSE="gnome java kde"
+
+INSTDIR="/opt/OpenOffice.org"
+
+S="${WORKDIR}/RPMS"
+DESCRIPTION="OpenOffice productivity suite"
+
+SNV="$(get_version_component_range 3)"
+LANGPACK="OOo_${PV}_LinuxIntel_langpack"
+LANGPACKPATH="http://oootranslation.services.openoffice.org/pub/OpenOffice.org/680m${SNV}/${LANGPACK}"
+LANGLOC="http://ftp.linux.cz/pub/localization/OpenOffice.org/devel/680/SRC680_m${SNV}/Build-1/OOo_SRC680_m${SNV}_native_LinuxIntel_langpacks_rpm"
+LANGSUFFIX="${PV}-1.i586.tar.gz"
+
+SRC_URI="mirror://openoffice/developer/680_m${SNV}/OOo_${PV}_LinuxIntel_install.tar.gz
+ linguas_af? ( ${LANGLOC}/openofficeorg-af-${LANGSUFFIX} )
+ linguas_bg? ( ${LANGLOC}/openofficeorg-bg-${LANGSUFFIX} )
+ linguas_cs? ( ${LANGLOC}/openofficeorg-cs-${LANGSUFFIX} )
+ linguas_cy? ( ${LANGLOC}/openofficeorg-cy-${LANGSUFFIX} )
+ linguas_da? ( ${LANGLOC}/openofficeorg-da-${LANGSUFFIX} )
+ linguas_de? ( ${LANGLOC}/openofficeorg-de-${LANGSUFFIX} )
+ linguas_en_GB? ( ${LANGLOC}/openofficeorg-en-GB-${LANGSUFFIX} )
+ linguas_es? ( ${LANGPACKPATH}_es.sh )
+ linguas_et? ( ${LANGLOC}/openofficeorg-et-${LANGSUFFIX} )
+ linguas_fi? ( ${LANGLOC}/openofficeorg-fi-${LANGSUFFIX} )
+ linguas_fr? ( ${LANGLOC}/openofficeorg-fr-${LANGSUFFIX} )
+ linguas_hr? ( ${LANGLOC}/openofficeorg-hr-${LANGSUFFIX} )
+ linguas_hu? ( ${LANGLOC}/openofficeorg-hu-${LANGSUFFIX} )
+ linguas_it? ( ${LANGPACKPATH}_it.sh )
+ linguas_ja? ( ${LANGPACKPATH}_ja.sh )
+ linguas_km? ( ${LANGLOC}/openofficeorg-km-${LANGSUFFIX} )
+ linguas_ko? ( ${LANGPACKPATH}_ko.sh )
+ linguas_lt? ( ${LANGLOC}/openofficeorg-lt-${LANGSUFFIX} )
+ linguas_nb? ( ${LANGLOC}/openofficeorg-nb-${LANGSUFFIX} )
+ linguas_nl? ( ${LANGLOC}/openofficeorg-nl-${LANGSUFFIX} )
+ linguas_nn? ( ${LANGLOC}/openofficeorg-nn-${LANGSUFFIX} )
+ linguas_ns? ( ${LANGLOC}/openofficeorg-ns-${LANGSUFFIX} )
+ linguas_pt_BR? ( ${LANGPACKPATH}_pt-BR.sh )
+ linguas_sk? ( ${LANGLOC}/openofficeorg-sk-${LANGSUFFIX} )
+ linguas_sl? ( ${LANGLOC}/openofficeorg-sl-${LANGSUFFIX} )
+ linguas_sv? ( ${LANGPACKPATH}_sv.sh )
+ linguas_tn? ( ${LANGLOC}/openofficeorg-tn-${LANGSUFFIX} )
+ linguas_xh? ( ${LANGLOC}/openofficeorg-xh-${LANGSUFFIX} )
+ linguas_zh_CN? ( ${LANGPACKPATH}_zh-CN.sh )
+ linguas_zh_TW? ( ${LANGPACKPATH}_zh-TW.sh )
+ linguas_zu? ( ${LANGLOC}/openofficeorg-zu-${LANGSUFFIX} )"
+
+HOMEPAGE="http://www.openoffice.org/"
+
+LICENSE="|| ( LGPL-2 SISSL-1.1 )"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+RDEPEND="!app-office/openoffice
+ virtual/x11
+ virtual/libc
+ >=dev-lang/perl-5.0
+ app-arch/zip
+ app-arch/unzip
+ java? ( >=virtual/jre-1.4.1 )
+ amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.0 )
+ linguas_ja? ( >=media-fonts/kochi-substitute-20030809-r3 )
+ linguas_zh_CN? ( >=media-fonts/arphicfonts-0.1-r2 )
+ linguas_zh_TW? ( >=media-fonts/arphicfonts-0.1-r2 )"
+
+DEPEND="${RDEPEND}
+ sys-apps/findutils"
+
+PROVIDE="virtual/ooo"
+
+src_unpack() {
+ unpack OOo_${PV}_LinuxIntel_install.tar.gz
+
+ for i in core01 core02 core03 core04 core05 core06 core07 core08 core09 core10 calc draw impress math writer graphicfilter pyuno spellcheck testtool xsltfilter core03u core04u core05u ; do
+ rpm_unpack ${S}/openofficeorg-${i}-${PV}-1.i586.rpm
+ done
+
+ rpm_unpack ${S}/desktop-integration/openofficeorg-freedesktop-menus-${PV}-1.noarch.rpm
+ use kde && rpm_unpack ${S}/desktop-integration/openofficeorg-suse-menus-${PV}-1.noarch.rpm
+
+ use gnome && rpm_unpack ${S}/openofficeorg-gnome-integration-${PV}-1.i586.rpm
+ use java && rpm_unpack ${S}/openofficeorg-javafilter-${PV}-1.i586.rpm
+
+ strip-linguas en af bg cs cy da de en_GB es et fi fr hr hu it ja km ko lt nb nl nn ns pt_BR sk sl sv tn xh zh_CN zh_TW zu
+
+ for i in ${LINGUAS}; do
+ i="${i/_/-}"
+ if [ ${i} != "en" ] ; then
+ if [ -e ${DISTDIR}/${LANGPACK}_${i}.sh ] ; then
+ tail -n +159 ${DISTDIR}/${LANGPACK}_${i}.sh > ${S}/${LANGPACK}_${i}.tar.gz || die
+ tar -xvf ${S}/${LANGPACK}_${i}.tar.gz || die
+ else
+ unpack openofficeorg-${i}-${LANGSUFFIX}
+ fi
+ rpm_unpack openofficeorg-${i}-${PV}-1.i586.rpm
+ rpm_unpack openofficeorg-${i}-help-${PV}-1.i586.rpm
+ rpm_unpack openofficeorg-${i}-res-${PV}-1.i586.rpm
+ fi
+ done
+}
+
+src_install () {
+
+ einfo "Installing OpenOffice.org into build root..."
+ dodir ${INSTDIR}
+ dodir /usr/share/icons
+ dodir /usr/share/mime
+ mv ${WORKDIR}/opt/openoffice.org${PV}/* ${D}${INSTDIR}
+ mv ${WORKDIR}/usr/share/icons/* ${D}/usr/share/icons
+
+ use kde && dodir /usr/share/mimelnk/application && mv ${WORKDIR}/opt/kde3/share/mimelnk/application/* ${D}/usr/share/mimelnk/application
+
+ #Menu entries
+ cd ${D}${INSTDIR}/share/xdg/
+
+ sed -i -e s/'Exec=openoffice.org-1.9-printeradmin'/'Exec=oopadmin2'/g printeradmin.desktop || die
+
+ for desk in base calc draw impress math writer printeradmin; do
+ mv ${desk}.desktop openoffice.org-1.9-${desk}.desktop
+ sed -i -e s/openoffice.org-1.9/ooffice2/g openoffice.org-1.9-${desk}.desktop || die
+ domenu openoffice.org-1.9-${desk}.desktop
+ done
+
+ # Install wrapper script
+ newbin ${FILESDIR}/1.9/ooo-wrapper2 ooffice2
+ sed -i -e s/PV/${PV}/g ${D}/usr/bin/ooffice2 || die
+
+ # Component symlinks
+ for app in base calc draw fromtemplate impress math web writer; do
+ dosym ooffice2 /usr/bin/oo${app}2
+ done
+
+ dosym ${INSTDIR}/program/spadmin.bin /usr/bin/oopadmin2
+
+ # Change user install dir
+ sed -i -e s/.openoffice.org${PV}/.ooo-2.0-pre/g ${D}${INSTDIR}/program/bootstraprc || die
+}
+
+pkg_postinst() {
+
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+
+ einfo " To start OpenOffice.org, run:"
+ einfo
+ einfo " $ ooffice2"
+ einfo
+ einfo " Also, for individual components, you can use any of:"
+ einfo
+ einfo " oocalc2, oodraw2, ooimpress2, oomath2, ooweb2 or oowriter2"
+}