summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2006-09-28 19:26:33 +0000
committerAndreas Proschofsky <suka@gentoo.org>2006-09-28 19:26:33 +0000
commitaafc5f997d4284f0b43a16b9f3e31ffdcb8787dc (patch)
treefffbf7afa38ef36fc67120be1f52ba0bb4948c33 /app-office/openoffice-bin
parentNew upstream version, plus remove old versions (diff)
downloadgentoo-2-aafc5f997d4284f0b43a16b9f3e31ffdcb8787dc.tar.gz
gentoo-2-aafc5f997d4284f0b43a16b9f3e31ffdcb8787dc.tar.bz2
gentoo-2-aafc5f997d4284f0b43a16b9f3e31ffdcb8787dc.zip
Bump to next RC for 2.0.4
(Portage version: 2.1.2_pre1-r4)
Diffstat (limited to 'app-office/openoffice-bin')
-rw-r--r--app-office/openoffice-bin/ChangeLog10
-rw-r--r--app-office/openoffice-bin/files/2.0.4_rc3/50-openoffice-bin1
-rwxr-xr-xapp-office/openoffice-bin/files/2.0.4_rc3/ooo-wrapper2122
-rw-r--r--app-office/openoffice-bin/files/digest-openoffice-bin-2.0.4_rc3195
-rw-r--r--app-office/openoffice-bin/openoffice-bin-2.0.4_rc3.ebuild155
5 files changed, 482 insertions, 1 deletions
diff --git a/app-office/openoffice-bin/ChangeLog b/app-office/openoffice-bin/ChangeLog
index 5f1438c4116a..e64537733868 100644
--- a/app-office/openoffice-bin/ChangeLog
+++ b/app-office/openoffice-bin/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-office/openoffice-bin
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.142 2006/09/15 20:08:43 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.143 2006/09/28 19:26:32 suka Exp $
+
+*openoffice-bin-2.0.4_rc3 (28 Sep 2006)
+
+ 28 Sep 2006; Andreas Proschofsky <suka@gentoo.org>
+ -files/2.0.4_rc2/50-openoffice-bin, +files/2.0.4_rc3/50-openoffice-bin,
+ -files/2.0.4_rc2/ooo-wrapper2, +files/2.0.4_rc3/ooo-wrapper2,
+ -openoffice-bin-2.0.4_rc2.ebuild, +openoffice-bin-2.0.4_rc3.ebuild:
+ Bump to next RC for 2.0.4
*openoffice-bin-2.0.4_rc2 (15 Sep 2006)
diff --git a/app-office/openoffice-bin/files/2.0.4_rc3/50-openoffice-bin b/app-office/openoffice-bin/files/2.0.4_rc3/50-openoffice-bin
new file mode 100644
index 000000000000..6b16e47f0187
--- /dev/null
+++ b/app-office/openoffice-bin/files/2.0.4_rc3/50-openoffice-bin
@@ -0,0 +1 @@
+SEARCH_DIRS_MASK="/usr/lib/openoffice /usr/lib32/openoffice"
diff --git a/app-office/openoffice-bin/files/2.0.4_rc3/ooo-wrapper2 b/app-office/openoffice-bin/files/2.0.4_rc3/ooo-wrapper2
new file mode 100755
index 000000000000..5f4e4bae055d
--- /dev/null
+++ b/app-office/openoffice-bin/files/2.0.4_rc3/ooo-wrapper2
@@ -0,0 +1,122 @@
+#!/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};
+
+# Define the vendor of this particular OOo package
+my $VendorName = 'Gentoo';
+# Define system installation directory
+# Autoconf totally sucks for @libdir@ type substitution
+my $SystemInstallDir = 'INSTDIR';
+# Suffix for parallel installable versioning
+my $BinSuffix = '2';
+# ooo-build version
+my $OOO_BUILDVERSION = 'PV';
+
+#=============================================================================
+# Main
+#=============================================================================
+
+# Parse command line arguments
+my @ooo_argv;
+my $session_quickstart;
+my $widgets_set;
+while ($ARGV[0]) {
+ $_ = shift;
+ if (m/^--session-quickstart/) {
+ $session_quickstart = 1;
+ } 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 $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;
+}
+
+# overcome ghastly up-stream evilness
+$ENV{SAL_NOEXPANDFPICKER}='TRUE';
+
+if ($session_quickstart) {
+ $Debug && print "Execute quickstarter\n";
+ push @ooo_argv, '-quickstart';
+}
+
+# FIXME: the following two fixes should be done by OOo itself
+# create the user config directory with safe rights 700 if it we find
+# the right path and the directory does not exist
+if (open BOOTSTRAPRC, "$SystemInstallDir/program/bootstraprc") {
+ while (my $line = <BOOTSTRAPRC>) {
+ chomp $line;
+ if (($line =~ m/^\s*UserInstallation\s*=\s*([^\s]*)\s*$/) && ($1)) {
+ my $userConfDir=$1;
+ $userConfDir =~ s|\$SYSUSERCONFIG|$ENV{HOME}|;
+ $userConfDir =~ s|file://||;
+ mkdir ($userConfDir,0700) unless (-d $userConfDir);
+ last;
+ }
+ }
+ close BOOTSTRAPRC;
+}
+# touch ~/.recently-used with safe rights 700 if it does not exist
+if (! -f "$ENV{HOME}/.recently-used") {
+ open (RECENTLY_USED, ">$ENV{HOME}/.recently-used") &&
+ close RECENTLY_USED &&
+ chmod 0600, "$ENV{HOME}/.recently-used";
+}
+
+if (!(-f '/proc/version')) {
+ 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/soffice", @ooo_argv
diff --git a/app-office/openoffice-bin/files/digest-openoffice-bin-2.0.4_rc3 b/app-office/openoffice-bin/files/digest-openoffice-bin-2.0.4_rc3
new file mode 100644
index 000000000000..f112b19788f0
--- /dev/null
+++ b/app-office/openoffice-bin/files/digest-openoffice-bin-2.0.4_rc3
@@ -0,0 +1,195 @@
+MD5 736a546f2a2518e49c94f6c7995dc055 OOo_2.0.4rc3_060927_LinuxIntel_install.tar.gz 126498407
+RMD160 f75d1393ecb1267e7cb0397f7fbafd443c35f695 OOo_2.0.4rc3_060927_LinuxIntel_install.tar.gz 126498407
+SHA256 d84997c5c37cfca139dc5508cf7a95187a4a003bb40afdb23fc7881fb391f8dd OOo_2.0.4rc3_060927_LinuxIntel_install.tar.gz 126498407
+MD5 eff1ed67044019816744216b3f44d14a OOo_2.0.4rc3_060927_LinuxIntel_langpack_af.tar.gz 13416571
+RMD160 21eabb62b85a8693543e76abbf3269842c5a8ec8 OOo_2.0.4rc3_060927_LinuxIntel_langpack_af.tar.gz 13416571
+SHA256 fd7ec17b7551cff766f53e49df049b531c2d263b43829681f4d510ab778d3e4f OOo_2.0.4rc3_060927_LinuxIntel_langpack_af.tar.gz 13416571
+MD5 66ad8cb9cc8f793596c12d6092a7c21c OOo_2.0.4rc3_060927_LinuxIntel_langpack_as-IN.tar.gz 13476039
+RMD160 55d2d4639e19fe03f0a199f9905f8f5bc103ac3b OOo_2.0.4rc3_060927_LinuxIntel_langpack_as-IN.tar.gz 13476039
+SHA256 679b53123c9313dee548dbd47aaaf224ca52e290285a4d51d6b0aeb652453abb OOo_2.0.4rc3_060927_LinuxIntel_langpack_as-IN.tar.gz 13476039
+MD5 60a938358fc63b5fd5d198d3a4161927 OOo_2.0.4rc3_060927_LinuxIntel_langpack_be-BY.tar.gz 13467793
+RMD160 c8236f24a8e968567729772776b7e666e3c35ff5 OOo_2.0.4rc3_060927_LinuxIntel_langpack_be-BY.tar.gz 13467793
+SHA256 2b1c9273ecd6158e7df8a90460ba204f7d8b9af14b0cf02ec520bfe563df1365 OOo_2.0.4rc3_060927_LinuxIntel_langpack_be-BY.tar.gz 13467793
+MD5 9d2b213904bb0fa38b2178025f4ae019 OOo_2.0.4rc3_060927_LinuxIntel_langpack_bg.tar.gz 14543108
+RMD160 28a7c99380a7152cea832b0c3d804f87d9731323 OOo_2.0.4rc3_060927_LinuxIntel_langpack_bg.tar.gz 14543108
+SHA256 593ff9a5dff406e69d11065ce2bf8a464d85ec2329beabb3baee76cb66f61a82 OOo_2.0.4rc3_060927_LinuxIntel_langpack_bg.tar.gz 14543108
+MD5 6c70bc7a297ef6627870b30497bee668 OOo_2.0.4rc3_060927_LinuxIntel_langpack_bs.tar.gz 13413952
+RMD160 a21210c92959e028e13df55480b31225abedcd4d OOo_2.0.4rc3_060927_LinuxIntel_langpack_bs.tar.gz 13413952
+SHA256 3c9197dad1ba8e349ce63e85af30e5e24ac4e307f0647747de078442b5fcb3ae OOo_2.0.4rc3_060927_LinuxIntel_langpack_bs.tar.gz 13413952
+MD5 1acf3eff35f0ac7d7b58fe5686d8f586 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ca.tar.gz 13457148
+RMD160 2a129bf39639e8acf98a8bbbbcf25f01374ffce4 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ca.tar.gz 13457148
+SHA256 62c98b8239bd83f7aba46f771a108e2fb66765b436c682b780cd7bc049bbea3f OOo_2.0.4rc3_060927_LinuxIntel_langpack_ca.tar.gz 13457148
+MD5 00c6c4c4ceb1a9c3c43774450331fdee OOo_2.0.4rc3_060927_LinuxIntel_langpack_cs.tar.gz 14064422
+RMD160 445fe58103bc66077deb1dfda3b03418fdbdcc3a OOo_2.0.4rc3_060927_LinuxIntel_langpack_cs.tar.gz 14064422
+SHA256 687432a8c7f3199c64d3fa72788ec4d213a87ca7896037fb1369e873f7727f5e OOo_2.0.4rc3_060927_LinuxIntel_langpack_cs.tar.gz 14064422
+MD5 f2d2b3f86da2e4a36e3f1f57ca71b85f OOo_2.0.4rc3_060927_LinuxIntel_langpack_cy.tar.gz 13389336
+RMD160 f4831e72a1bab23d7ed7615dada09794c576cae1 OOo_2.0.4rc3_060927_LinuxIntel_langpack_cy.tar.gz 13389336
+SHA256 99672aa922adf1e3a1f479e285b6004a74da1e82e418859a2d3e6277714db7c9 OOo_2.0.4rc3_060927_LinuxIntel_langpack_cy.tar.gz 13389336
+MD5 d3ec119842dfe63ff9da28755e518233 OOo_2.0.4rc3_060927_LinuxIntel_langpack_da.tar.gz 13929595
+RMD160 23cddd3ba24374a941727fcc1eaff2ca67267f81 OOo_2.0.4rc3_060927_LinuxIntel_langpack_da.tar.gz 13929595
+SHA256 e53d43b3223dd5345ec4d1bdad1794232482878d756ea3136aeb88ee220f079d OOo_2.0.4rc3_060927_LinuxIntel_langpack_da.tar.gz 13929595
+MD5 5318fafaa4e4761bbd0f6231fc2e558c OOo_2.0.4rc3_060927_LinuxIntel_langpack_de.tar.gz 14827177
+RMD160 fda85b80c52d88a91bf0e387f87b99c423cebe17 OOo_2.0.4rc3_060927_LinuxIntel_langpack_de.tar.gz 14827177
+SHA256 5e356a37c374bff0237f361ede4de521922409e3ef67bfe768f309298f17717a OOo_2.0.4rc3_060927_LinuxIntel_langpack_de.tar.gz 14827177
+MD5 d6e0fc64930df24991422ac91b2ae09a OOo_2.0.4rc3_060927_LinuxIntel_langpack_el.tar.gz 13987732
+RMD160 b674172d733acb09e13bea342746e72021c65712 OOo_2.0.4rc3_060927_LinuxIntel_langpack_el.tar.gz 13987732
+SHA256 11544d2878fad6d963ce01cc0c5158ece1d4d63a4de0b9584a9761c8d96025bf OOo_2.0.4rc3_060927_LinuxIntel_langpack_el.tar.gz 13987732
+MD5 f9d8764aa66075735e02cb24777386a8 OOo_2.0.4rc3_060927_LinuxIntel_langpack_en-GB.tar.gz 13463891
+RMD160 0e71ca81fb5d3a4590fb1bf15f1ab92024ee8e24 OOo_2.0.4rc3_060927_LinuxIntel_langpack_en-GB.tar.gz 13463891
+SHA256 ef92c4170103426f26704759da1123a3c9975496a08826b854cedf6a4a6cdf86 OOo_2.0.4rc3_060927_LinuxIntel_langpack_en-GB.tar.gz 13463891
+MD5 54c3349c125941953dbb98f1394a928c OOo_2.0.4rc3_060927_LinuxIntel_langpack_en-ZA.tar.gz 13369509
+RMD160 c0036c314d311a10744066b92671f44ee829ae79 OOo_2.0.4rc3_060927_LinuxIntel_langpack_en-ZA.tar.gz 13369509
+SHA256 637822509f9094abc61ad6fa20c9ce4b96fbe7f847e5afc1de18c979013a0c44 OOo_2.0.4rc3_060927_LinuxIntel_langpack_en-ZA.tar.gz 13369509
+MD5 556ff555c05d21619bd2dd9289690406 OOo_2.0.4rc3_060927_LinuxIntel_langpack_es.tar.gz 14190263
+RMD160 59582a32233dced8cc8701686e6f8414f3ade78d OOo_2.0.4rc3_060927_LinuxIntel_langpack_es.tar.gz 14190263
+SHA256 01571ab406976e30b833d1a6b26839eec2683c7249d2667217881862bcd89817 OOo_2.0.4rc3_060927_LinuxIntel_langpack_es.tar.gz 14190263
+MD5 e3f32f6b9e181ecd9a6735dfb3ec2ecc OOo_2.0.4rc3_060927_LinuxIntel_langpack_et.tar.gz 14089663
+RMD160 530d1ef7ebd5daad54a4cd490f26e091888969f6 OOo_2.0.4rc3_060927_LinuxIntel_langpack_et.tar.gz 14089663
+SHA256 798401588232916c07df1a33f18dc6e7044d8513c35349fc64abdffab539b91c OOo_2.0.4rc3_060927_LinuxIntel_langpack_et.tar.gz 14089663
+MD5 6ef15f24f7ac75785bd12aef01274892 OOo_2.0.4rc3_060927_LinuxIntel_langpack_fa.tar.gz 13486868
+RMD160 d8be7b62f0c9239b8d6b7d7ca5d14fc1c386eede OOo_2.0.4rc3_060927_LinuxIntel_langpack_fa.tar.gz 13486868
+SHA256 602078750ac21d7b69ab3a1be5691a0f4f75493d07f4c733c1dae99b228d73d7 OOo_2.0.4rc3_060927_LinuxIntel_langpack_fa.tar.gz 13486868
+MD5 fe54f727dac43a9d4ca2664a5efa5610 OOo_2.0.4rc3_060927_LinuxIntel_langpack_fi.tar.gz 13437966
+RMD160 8cc8c8c01d7163ca2752a6063b4d818bf21a2f7b OOo_2.0.4rc3_060927_LinuxIntel_langpack_fi.tar.gz 13437966
+SHA256 714566e93db73c1a3503847cdf838ad389a97610de6286dd8a35058fa2f9023a OOo_2.0.4rc3_060927_LinuxIntel_langpack_fi.tar.gz 13437966
+MD5 797d4ae2a3e1cc306eb827e68e8ef28a OOo_2.0.4rc3_060927_LinuxIntel_langpack_fr.tar.gz 14445172
+RMD160 33ca8dfe0a5603a310495e5e63d27b0f828d199b OOo_2.0.4rc3_060927_LinuxIntel_langpack_fr.tar.gz 14445172
+SHA256 aa11cf9607ae446886fd4e1620b435851b7fcab6306bf4f2b7a6353a94e20b03 OOo_2.0.4rc3_060927_LinuxIntel_langpack_fr.tar.gz 14445172
+MD5 05e934017b72387a05e47d6ad7015a39 OOo_2.0.4rc3_060927_LinuxIntel_langpack_gu-IN.tar.gz 13482941
+RMD160 a126a4283dd7c99df16cbcfbb8afd82b032d3762 OOo_2.0.4rc3_060927_LinuxIntel_langpack_gu-IN.tar.gz 13482941
+SHA256 5e27c56205926080dd13507d7a229701ef9e0df3e93f4d971693b379aaa6e3f9 OOo_2.0.4rc3_060927_LinuxIntel_langpack_gu-IN.tar.gz 13482941
+MD5 91ed0823a9487b6c4a9ba9167f69e57e OOo_2.0.4rc3_060927_LinuxIntel_langpack_he.tar.gz 13437913
+RMD160 12c3b3af47ba6579f597c4182582394958bcb711 OOo_2.0.4rc3_060927_LinuxIntel_langpack_he.tar.gz 13437913
+SHA256 cf6dae6b23ed0eedcca2a4043a34c9b26efc5716815d26af70a0e6c39d318529 OOo_2.0.4rc3_060927_LinuxIntel_langpack_he.tar.gz 13437913
+MD5 41081dd4ea53c79a4507415a8f0099d0 OOo_2.0.4rc3_060927_LinuxIntel_langpack_hi-IN.tar.gz 15136784
+RMD160 6cd6a5e58c4fae31749174b0e36428f438c4c4fd OOo_2.0.4rc3_060927_LinuxIntel_langpack_hi-IN.tar.gz 15136784
+SHA256 29b9a115e3e2fd3a325be7fcf79da3d19c7a42a8912b6e7d5c3041ff1d4fae50 OOo_2.0.4rc3_060927_LinuxIntel_langpack_hi-IN.tar.gz 15136784
+MD5 afb7bb013e8707cb344c686e440a2452 OOo_2.0.4rc3_060927_LinuxIntel_langpack_hr.tar.gz 13714714
+RMD160 8bbef4c72dff06418a6b51277a65cd3d65e38a8c OOo_2.0.4rc3_060927_LinuxIntel_langpack_hr.tar.gz 13714714
+SHA256 0053fd80ab98f6aa0242f5cf182ff5357d0b8e9a6274f1feb171f45dc31d0bb9 OOo_2.0.4rc3_060927_LinuxIntel_langpack_hr.tar.gz 13714714
+MD5 c04368d5ff84494602abcca8d6ccb5e1 OOo_2.0.4rc3_060927_LinuxIntel_langpack_hu.tar.gz 14863775
+RMD160 229454633380ca9fe327141b336c6630f08dbec0 OOo_2.0.4rc3_060927_LinuxIntel_langpack_hu.tar.gz 14863775
+SHA256 3982fa12e2492d85615a71a1f0d783718cc7f653bda4a8d9a9e67e8558152213 OOo_2.0.4rc3_060927_LinuxIntel_langpack_hu.tar.gz 14863775
+MD5 1358c05129076f7df3fcdb2d9b71b6ca OOo_2.0.4rc3_060927_LinuxIntel_langpack_it.tar.gz 14218887
+RMD160 3ae67a611333dfd4ba320b76bd1200de38954e54 OOo_2.0.4rc3_060927_LinuxIntel_langpack_it.tar.gz 14218887
+SHA256 6f86dc84bb3cb521ab52f22c110628ac41fef87c7a28247fe4c9f1f035cf9197 OOo_2.0.4rc3_060927_LinuxIntel_langpack_it.tar.gz 14218887
+MD5 350d4d59a9bf9f2a0be140f2ea58d82c OOo_2.0.4rc3_060927_LinuxIntel_langpack_ja.tar.gz 14987402
+RMD160 ec4b6910d7de6857d891eeae6adfae48d56af157 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ja.tar.gz 14987402
+SHA256 da54296b1f677a66e772a83de7c995785c14b05ea2a4552950844ab9c6173f62 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ja.tar.gz 14987402
+MD5 63983896d7cf20f8fd9fd4bab533f80c OOo_2.0.4rc3_060927_LinuxIntel_langpack_km.tar.gz 16260674
+RMD160 b7df252cfacee785ed96558e37455ada740688e7 OOo_2.0.4rc3_060927_LinuxIntel_langpack_km.tar.gz 16260674
+SHA256 46191829dfc162f530d8714790cf8dbf39deac70629999df52a7337b877b7276 OOo_2.0.4rc3_060927_LinuxIntel_langpack_km.tar.gz 16260674
+MD5 58b243462c1ae68d6dd8963487d4d9ae OOo_2.0.4rc3_060927_LinuxIntel_langpack_ko.tar.gz 14153257
+RMD160 3a3859b0c40cc2e640fd8bfa3bf243a0781044b9 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ko.tar.gz 14153257
+SHA256 937930af8f0c1515d08d86402c668a4e4e164151acc6a6024891a58d9d8f0c2e OOo_2.0.4rc3_060927_LinuxIntel_langpack_ko.tar.gz 14153257
+MD5 c96b64c2ffa6a5cebebea570af667f54 OOo_2.0.4rc3_060927_LinuxIntel_langpack_lt.tar.gz 13379127
+RMD160 944a0af5630f89887a10992d52659abb5e980402 OOo_2.0.4rc3_060927_LinuxIntel_langpack_lt.tar.gz 13379127
+SHA256 b6b6c422dcff3e9402ea3afa8495f7240ec7b1b492ca365404cc76a7b1538662 OOo_2.0.4rc3_060927_LinuxIntel_langpack_lt.tar.gz 13379127
+MD5 00fa45737aa1f44ddec3065a0a3728cd OOo_2.0.4rc3_060927_LinuxIntel_langpack_mk.tar.gz 14645939
+RMD160 71393a94347cd2f570c1bd9b55b070af57eb1f24 OOo_2.0.4rc3_060927_LinuxIntel_langpack_mk.tar.gz 14645939
+SHA256 bce16e4ecd8b2f7845097a8b5096edd2d34ed6c3560594b02d00f35af150c86d OOo_2.0.4rc3_060927_LinuxIntel_langpack_mk.tar.gz 14645939
+MD5 b5998388d7c5b8fa389dee9d4589ba9a OOo_2.0.4rc3_060927_LinuxIntel_langpack_ml-IN.tar.gz 13485822
+RMD160 c2d1d5dd8801906b9f0dadb2299f4680ef17f475 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ml-IN.tar.gz 13485822
+SHA256 86b16a1fd887eec3213a349cfe72eeb8da0a7a705e17d2f641fd3d985f000a58 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ml-IN.tar.gz 13485822
+MD5 fca5efbbca54b8a06f763f051c717fcb OOo_2.0.4rc3_060927_LinuxIntel_langpack_mr-IN.tar.gz 13482343
+RMD160 6649347e57bb58ed2d47f0fbdc4d9a35cab29e9d OOo_2.0.4rc3_060927_LinuxIntel_langpack_mr-IN.tar.gz 13482343
+SHA256 f5a373bc0c278caec2f6f02bee8e40d526767721350fc6120eddf52df822a209 OOo_2.0.4rc3_060927_LinuxIntel_langpack_mr-IN.tar.gz 13482343
+MD5 394f951595b048ccf4ebb139d2581458 OOo_2.0.4rc3_060927_LinuxIntel_langpack_nb.tar.gz 13454063
+RMD160 c7978e3eadf9493963e147e40f84b56e98c93083 OOo_2.0.4rc3_060927_LinuxIntel_langpack_nb.tar.gz 13454063
+SHA256 10f706693cc6da58e1f3ddd22133baa0ad7dc171738f4e722bb1ef5691d703ad OOo_2.0.4rc3_060927_LinuxIntel_langpack_nb.tar.gz 13454063
+MD5 0c3d05c2867a5e5e4c58d7d9ab87cb36 OOo_2.0.4rc3_060927_LinuxIntel_langpack_nl.tar.gz 14368934
+RMD160 eb9252ba8553d5c957e59718b066c6181c7b9b78 OOo_2.0.4rc3_060927_LinuxIntel_langpack_nl.tar.gz 14368934
+SHA256 c61e58376a98879a43853d0a0be86b4937bf5c4a9aa96b133efd7e2bd21564b2 OOo_2.0.4rc3_060927_LinuxIntel_langpack_nl.tar.gz 14368934
+MD5 326a1379100f740fb174b593667288e1 OOo_2.0.4rc3_060927_LinuxIntel_langpack_nn.tar.gz 13424201
+RMD160 347e339743838983ee60e7102158133b3dfeff73 OOo_2.0.4rc3_060927_LinuxIntel_langpack_nn.tar.gz 13424201
+SHA256 baec1d893c54e04a4ca2334db19a1651121c6ed6e7c1542d53c788c1e0b2659c OOo_2.0.4rc3_060927_LinuxIntel_langpack_nn.tar.gz 13424201
+MD5 b4aa9fbf35599e6e426fbf045bf1b610 OOo_2.0.4rc3_060927_LinuxIntel_langpack_nr.tar.gz 13470967
+RMD160 6b1cf2f5659808fddd7db3f71cdef3ee20400329 OOo_2.0.4rc3_060927_LinuxIntel_langpack_nr.tar.gz 13470967
+SHA256 a79522facf59a6925cad209b16861638981c65cd5b88899ead61c70ebff4da53 OOo_2.0.4rc3_060927_LinuxIntel_langpack_nr.tar.gz 13470967
+MD5 db6009c769ffe0e3fc1ff4bd4d419b45 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ns.tar.gz 13474917
+RMD160 4747f061b2fe524ece01abca77553d54fb12723f OOo_2.0.4rc3_060927_LinuxIntel_langpack_ns.tar.gz 13474917
+SHA256 246f84984439afd32d7f689c156b8eb20333697043ae26e4abf36827cd4ed49a OOo_2.0.4rc3_060927_LinuxIntel_langpack_ns.tar.gz 13474917
+MD5 c657aa6173ae2d00a70bb028085377f2 OOo_2.0.4rc3_060927_LinuxIntel_langpack_or-IN.tar.gz 13480876
+RMD160 229783f99df1f2bc11d7a4402e6ecda6f31f9167 OOo_2.0.4rc3_060927_LinuxIntel_langpack_or-IN.tar.gz 13480876
+SHA256 9539b8b8fef552a98a325def2c25cfe0871e93e427a7e1dc46f17dc22344de7f OOo_2.0.4rc3_060927_LinuxIntel_langpack_or-IN.tar.gz 13480876
+MD5 9e4e9c3fd5734618b87febea945738da OOo_2.0.4rc3_060927_LinuxIntel_langpack_pa-IN.tar.gz 13461566
+RMD160 0815fc297f45847450f6cdcb199e0dea40d40c76 OOo_2.0.4rc3_060927_LinuxIntel_langpack_pa-IN.tar.gz 13461566
+SHA256 822a26b6ae5779066ef9aa8be708be55353812801ceff342c3006b62a95c2a2a OOo_2.0.4rc3_060927_LinuxIntel_langpack_pa-IN.tar.gz 13461566
+MD5 d00d7db284b3d0e4bde3acb3408aaf18 OOo_2.0.4rc3_060927_LinuxIntel_langpack_pl.tar.gz 14412669
+RMD160 042898bdab7ae6cd1097941662fd89afd956af60 OOo_2.0.4rc3_060927_LinuxIntel_langpack_pl.tar.gz 14412669
+SHA256 08147997527b33a1a76ea5967668da4f4679a1eb2008ccecb3c86539cd66b5d9 OOo_2.0.4rc3_060927_LinuxIntel_langpack_pl.tar.gz 14412669
+MD5 f3a2debeaa573d8da36fe70138f08eca OOo_2.0.4rc3_060927_LinuxIntel_langpack_pt-BR.tar.gz 14241430
+RMD160 80760148ddeecfd0503242c22c319916530295ee OOo_2.0.4rc3_060927_LinuxIntel_langpack_pt-BR.tar.gz 14241430
+SHA256 71d30fc2ace9fe006918aa515bc9265f8da3b07465c3e7375fc3fad0db51fab8 OOo_2.0.4rc3_060927_LinuxIntel_langpack_pt-BR.tar.gz 14241430
+MD5 60bd35221537094e55cbd69feae6b99b OOo_2.0.4rc3_060927_LinuxIntel_langpack_ru.tar.gz 15549755
+RMD160 65c63b1fc6cb7a149f39e163af7fb3344b44bda0 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ru.tar.gz 15549755
+SHA256 ce6f3bfaff1d748d5dc49a5801cc4cfc1aeee0ff687e72ca98c3337413bf4818 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ru.tar.gz 15549755
+MD5 eec82bbe910feb4d6b3e5c9da2d804ff OOo_2.0.4rc3_060927_LinuxIntel_langpack_rw.tar.gz 13748313
+RMD160 3a0228c875b9889ea73426730e58ae154577d626 OOo_2.0.4rc3_060927_LinuxIntel_langpack_rw.tar.gz 13748313
+SHA256 4390f2655d661e716ccd368d559a76c27374623741a00d89c2459ae6c9ec7b1b OOo_2.0.4rc3_060927_LinuxIntel_langpack_rw.tar.gz 13748313
+MD5 711a0e8a39ed66a84398d21a012fc703 OOo_2.0.4rc3_060927_LinuxIntel_langpack_sh-YU.tar.gz 13407804
+RMD160 3829eb21c227021c1ce7b0b7ebbc4f1a7a730e2f OOo_2.0.4rc3_060927_LinuxIntel_langpack_sh-YU.tar.gz 13407804
+SHA256 bbfc398992ac5d1555016214e629e53ada356b853f7e3891c73b17ece5fbee3f OOo_2.0.4rc3_060927_LinuxIntel_langpack_sh-YU.tar.gz 13407804
+MD5 f157d3be825ade6d50f53de8adb21b6c OOo_2.0.4rc3_060927_LinuxIntel_langpack_sk.tar.gz 14106382
+RMD160 7b61a4438058bba0ff803ae2d7b9873e93736fa1 OOo_2.0.4rc3_060927_LinuxIntel_langpack_sk.tar.gz 14106382
+SHA256 7c362d3649442ea7e6126c3a2bc662e2b161cb3f56b1975227b1bd9c409a7aff OOo_2.0.4rc3_060927_LinuxIntel_langpack_sk.tar.gz 14106382
+MD5 273e78b0517099c93e78b13fe53d2783 OOo_2.0.4rc3_060927_LinuxIntel_langpack_sl.tar.gz 14342426
+RMD160 b3e3ff6645f024b927fde626a92a19d4586b34a1 OOo_2.0.4rc3_060927_LinuxIntel_langpack_sl.tar.gz 14342426
+SHA256 be5a4a07747fc2bb650464b3efc7147cdc6d968be3bb59bdab68c488fec77600 OOo_2.0.4rc3_060927_LinuxIntel_langpack_sl.tar.gz 14342426
+MD5 89fefe61c31108dcb47f0e0c8cdc4d27 OOo_2.0.4rc3_060927_LinuxIntel_langpack_sr-CS.tar.gz 13452899
+RMD160 598d0af26f0d6f09a8911a9a23c1d0f0e994bef1 OOo_2.0.4rc3_060927_LinuxIntel_langpack_sr-CS.tar.gz 13452899
+SHA256 ba60a0dd88e793c0e8ad25486dcd73c209613e7e58b7e64a8533de369756c628 OOo_2.0.4rc3_060927_LinuxIntel_langpack_sr-CS.tar.gz 13452899
+MD5 85db0f84903f3fad2665e6572bb52a4e OOo_2.0.4rc3_060927_LinuxIntel_langpack_st.tar.gz 13443381
+RMD160 7799c9043a216a7b6d39419b8332eac4ada0b569 OOo_2.0.4rc3_060927_LinuxIntel_langpack_st.tar.gz 13443381
+SHA256 9b2627e46e9465a006cc00d8473fca10ed6a7083918123e1fb45bb759aa6149c OOo_2.0.4rc3_060927_LinuxIntel_langpack_st.tar.gz 13443381
+MD5 47c0092bafd845d6bbd3b161acedcb78 OOo_2.0.4rc3_060927_LinuxIntel_langpack_sv.tar.gz 13971271
+RMD160 dcc080df31f7ce21e58f88da48b893fac79fca47 OOo_2.0.4rc3_060927_LinuxIntel_langpack_sv.tar.gz 13971271
+SHA256 c92c1bab26a713551b3beccad1bf72ac2bf6b62004efb9b3be11d2a624bac72b OOo_2.0.4rc3_060927_LinuxIntel_langpack_sv.tar.gz 13971271
+MD5 38b1d8866fc37e17470f1a2235c07dd5 OOo_2.0.4rc3_060927_LinuxIntel_langpack_sw-TZ.tar.gz 13536807
+RMD160 ff419d2790e5e44709d68496db1fe62def421612 OOo_2.0.4rc3_060927_LinuxIntel_langpack_sw-TZ.tar.gz 13536807
+SHA256 36b6a23b01a379fc48cfa7655e272d4807aa37271de8cb1cfd27ba5b13a20c32 OOo_2.0.4rc3_060927_LinuxIntel_langpack_sw-TZ.tar.gz 13536807
+MD5 ac7804fe97ffbc3034402504e30b4c0c OOo_2.0.4rc3_060927_LinuxIntel_langpack_ta-IN.tar.gz 13468289
+RMD160 9c04f94e8ee897e138f71aa8596d4e4b2e8e8ca5 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ta-IN.tar.gz 13468289
+SHA256 07d4774ba5e083c54736960c05624145346f6f97a3b126f066e65d06da36da96 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ta-IN.tar.gz 13468289
+MD5 f8c134884e3a6c14e76b0a427bff74f6 OOo_2.0.4rc3_060927_LinuxIntel_langpack_te-IN.tar.gz 13488699
+RMD160 277bed0aa5ecbe261285aa9102a529c27296a0e8 OOo_2.0.4rc3_060927_LinuxIntel_langpack_te-IN.tar.gz 13488699
+SHA256 becce2dd39e3793b799518b6fe21fb4b5a05f61785231c5b37b7bfbc764aa33d OOo_2.0.4rc3_060927_LinuxIntel_langpack_te-IN.tar.gz 13488699
+MD5 04688e6ccc7519b2b8308aa7a9d91a1b OOo_2.0.4rc3_060927_LinuxIntel_langpack_tg.tar.gz 13468516
+RMD160 d9f2d8bceca0dcf83c5485269697a1e5fd868997 OOo_2.0.4rc3_060927_LinuxIntel_langpack_tg.tar.gz 13468516
+SHA256 d5a6d1c007924ef5bcda08fe6f225e181acf57c7e458542807123652c06090ef OOo_2.0.4rc3_060927_LinuxIntel_langpack_tg.tar.gz 13468516
+MD5 dd89e02b9819e24c17a956d227a2d13b OOo_2.0.4rc3_060927_LinuxIntel_langpack_th.tar.gz 13857517
+RMD160 d983c94736d8e1f8c2d15c412192b09f9cb34f38 OOo_2.0.4rc3_060927_LinuxIntel_langpack_th.tar.gz 13857517
+SHA256 91aa373f59cfe1ea73110cc7eb29fda23a2625919957b302a8ca99f764443907 OOo_2.0.4rc3_060927_LinuxIntel_langpack_th.tar.gz 13857517
+MD5 5e56c775ea424e9209fd95589ccf6f19 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ti-ER.tar.gz 13370391
+RMD160 440d65f36c0bde5a6f112af6a0218737180ecfaf OOo_2.0.4rc3_060927_LinuxIntel_langpack_ti-ER.tar.gz 13370391
+SHA256 538f6e77bb77e6c203fa354faa12543aa176b1dcc948f4f02c54d1629cd528d3 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ti-ER.tar.gz 13370391
+MD5 6313849ce61cec759d121980b8e58fda OOo_2.0.4rc3_060927_LinuxIntel_langpack_tn.tar.gz 13407987
+RMD160 31a04372636cddc9751cd913fbd8d9a74eee9ef8 OOo_2.0.4rc3_060927_LinuxIntel_langpack_tn.tar.gz 13407987
+SHA256 bd6eba23f1f5eaccff8e60ee5e5f975af367ec6588bca88456c39cf1413449b9 OOo_2.0.4rc3_060927_LinuxIntel_langpack_tn.tar.gz 13407987
+MD5 1dfafef940e2e1231f8396fa0c9f0695 OOo_2.0.4rc3_060927_LinuxIntel_langpack_tr.tar.gz 13709823
+RMD160 71d83e7e952245caf1987df6df71844c3df9e2d4 OOo_2.0.4rc3_060927_LinuxIntel_langpack_tr.tar.gz 13709823
+SHA256 eaa5306d1434945ba9ca17ca8d764f09d342661ddb5ea9a5311aac07de7f2ea6 OOo_2.0.4rc3_060927_LinuxIntel_langpack_tr.tar.gz 13709823
+MD5 93134ed3c82766255fbc55b542535657 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ts.tar.gz 13456805
+RMD160 8c2ecb2fc2901082045deef79cb777c80b157d30 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ts.tar.gz 13456805
+SHA256 2c0918d957fc64ba1dbb71ac1b67521603c012e4c68e5790832c9b60625060de OOo_2.0.4rc3_060927_LinuxIntel_langpack_ts.tar.gz 13456805
+MD5 0a8941fd6f5566801f8c47eeac4bc3cc OOo_2.0.4rc3_060927_LinuxIntel_langpack_ur-IN.tar.gz 13470937
+RMD160 5042de347bf0e8ccfbb920b12cb27557396978d6 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ur-IN.tar.gz 13470937
+SHA256 b42ac750f310dc9c427ccda47bf88381e57fa4005592a3c1aa0e5b79150d214a OOo_2.0.4rc3_060927_LinuxIntel_langpack_ur-IN.tar.gz 13470937
+MD5 8a1d12e1e29f5aceeaa03e2f600ca741 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ve.tar.gz 13445644
+RMD160 e8087356ac8a1ea34bbca604ae918347c55c9ce0 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ve.tar.gz 13445644
+SHA256 4761c11134672d26f3848f2e72343fd32c7504b0e75e925d83b90cd7198b1cd4 OOo_2.0.4rc3_060927_LinuxIntel_langpack_ve.tar.gz 13445644
+MD5 0d4abfc6b8bc79f305a6645d1bb1bbe0 OOo_2.0.4rc3_060927_LinuxIntel_langpack_vi.tar.gz 13438017
+RMD160 a89af8fa62f906a237fc2439121c81bb7ce898f1 OOo_2.0.4rc3_060927_LinuxIntel_langpack_vi.tar.gz 13438017
+SHA256 58d106574491ec08b64ac7961c199bdf67d9cb484d2a3def221b5e104c219777 OOo_2.0.4rc3_060927_LinuxIntel_langpack_vi.tar.gz 13438017
+MD5 b6fe29bf28c39cb288b77ff7bdf90291 OOo_2.0.4rc3_060927_LinuxIntel_langpack_xh.tar.gz 13497460
+RMD160 3296b5538a6a7dd1283654926c541ce18405b374 OOo_2.0.4rc3_060927_LinuxIntel_langpack_xh.tar.gz 13497460
+SHA256 2e1b713d8f0c3ec34ecb7ee38fbba870ddec477af711812b0635a590aabda662 OOo_2.0.4rc3_060927_LinuxIntel_langpack_xh.tar.gz 13497460
+MD5 f811e15f97c817cb8ab407b3288a2415 OOo_2.0.4rc3_060927_LinuxIntel_langpack_zh-CN.tar.gz 14296269
+RMD160 27214e79e649e1e7081a8987bcc164bfd7b48f82 OOo_2.0.4rc3_060927_LinuxIntel_langpack_zh-CN.tar.gz 14296269
+SHA256 960687f0fdba9062b45827725df34345fc86ad72a63800333efacaa15a906e66 OOo_2.0.4rc3_060927_LinuxIntel_langpack_zh-CN.tar.gz 14296269
+MD5 db7074214589fddf510cf410fd390cbc OOo_2.0.4rc3_060927_LinuxIntel_langpack_zh-TW.tar.gz 14463994
+RMD160 62e65ed0e83fbe68ae88b75bf1c55f5da0526322 OOo_2.0.4rc3_060927_LinuxIntel_langpack_zh-TW.tar.gz 14463994
+SHA256 58e7d7f45d5e3c8cf8a4354745f73298e34f4298f4ead50d2e675c74066fd218 OOo_2.0.4rc3_060927_LinuxIntel_langpack_zh-TW.tar.gz 14463994
+MD5 db271dc4abba2cdac69c9762aa6ed3f9 OOo_2.0.4rc3_060927_LinuxIntel_langpack_zu.tar.gz 13501045
+RMD160 c19cf388461f688fe0a9bd9874d25d12636c4543 OOo_2.0.4rc3_060927_LinuxIntel_langpack_zu.tar.gz 13501045
+SHA256 60213db598bbed1218e870f7b8eb7c13d1e998e25625a71d62ed1f0726a05f77 OOo_2.0.4rc3_060927_LinuxIntel_langpack_zu.tar.gz 13501045
diff --git a/app-office/openoffice-bin/openoffice-bin-2.0.4_rc3.ebuild b/app-office/openoffice-bin/openoffice-bin-2.0.4_rc3.ebuild
new file mode 100644
index 000000000000..2e0ff941d509
--- /dev/null
+++ b/app-office/openoffice-bin/openoffice-bin-2.0.4_rc3.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-2.0.4_rc3.ebuild,v 1.1 2006/09/28 19:26:32 suka Exp $
+
+inherit eutils fdo-mime rpm multilib
+
+IUSE="gnome java kde"
+
+MY_PV="${PV/_/}"
+MY_PV2="${MY_PV}_060927"
+MY_PV3="${PV/_rc3/}-5"
+PACKED="OOD680_m5_native_packed-1"
+BUILDID="9073"
+S="${WORKDIR}/${PACKED}_en-US.${BUILDID}/RPMS"
+DESCRIPTION="OpenOffice productivity suite"
+
+SRC_URI="mirror://openoffice/contrib/rc/${MY_PV}/OOo_${MY_PV2}_LinuxIntel_install.tar.gz"
+
+LANGS="af as_IN be_BY bg bs ca cs cy da de el en en_GB en_ZA es et fa fi fr gu_IN he hi_IN hr hu it ja km ko lt mk ml_IN mr_IN nb nl nn nr ns or_IN pa_IN pl pt_BR ru rw sh_YU sk sl sr_CS st sv sw_TZ ta_IN te_IN tg th ti_ER tn tr ts ur_IN ve vi xh zh_CN zh_TW zu"
+
+for X in ${LANGS} ; do
+ [ ${X} != "en" ] && SRC_URI="${SRC_URI} linguas_${X}? ( http://oootranslation.services.openoffice.org/pub/OpenOffice.org/${MY_PV}/OOo_${MY_PV2}_LinuxIntel_langpack_${X/_/-}.tar.gz )"
+ IUSE="${IUSE} linguas_${X}"
+done
+
+HOMEPAGE="http://www.openoffice.org/"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="!app-office/openoffice
+ x11-libs/libXaw
+ sys-libs/glibc
+ >=dev-lang/perl-5.0
+ app-arch/zip
+ app-arch/unzip
+ >=media-libs/freetype-2.1.10-r2
+ java? ( !amd64? ( >=virtual/jre-1.4 )
+ amd64? ( app-emulation/emul-linux-x86-java ) )
+ 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
+ >=app-admin/eselect-oodict-20060706"
+
+PROVIDE="virtual/ooo"
+RESTRICT="nostrip binchecks"
+
+src_unpack() {
+
+ unpack ${A}
+
+ for i in base calc core01 core02 core03 core03u core04 core04u core05 core05u core06 core07 core08 core09 core10 draw emailmerge impress math writer graphicfilter pyuno testtool xsltfilter ; do
+ rpm_unpack ${S}/openoffice.org-${i}-${MY_PV3}.i586.rpm
+ done
+
+ rpm_unpack ${S}/desktop-integration/openoffice.org-freedesktop-menus-2.0.4-2.noarch.rpm
+
+ use gnome && rpm_unpack ${S}/openoffice.org-gnome-integration-${MY_PV3}.i586.rpm
+ use kde && rpm_unpack ${S}/openoffice.org-kde-integration-${MY_PV3}.i586.rpm
+ use java && rpm_unpack ${S}/openoffice.org-javafilter-${MY_PV3}.i586.rpm
+
+ strip-linguas en ${LANGS}
+
+ for i in ${LINGUAS}; do
+ i="${i/_/-}"
+ if [ ${i} != "en" ] ; then
+ LANGDIR="${WORKDIR}/${PACKED}_${i}.${BUILDID}/RPMS/"
+ rpm_unpack ${LANGDIR}/openoffice.org-${i}-${MY_PV3}.i586.rpm
+ rpm_unpack ${LANGDIR}/openoffice.org-${i}-help-${MY_PV3}.i586.rpm
+ rpm_unpack ${LANGDIR}/openoffice.org-${i}-res-${MY_PV3}.i586.rpm
+ fi
+ done
+
+}
+
+src_install () {
+
+ #Multilib install dir magic for AMD64
+ has_multilib_profile && ABI=x86
+ INSTDIR="/usr/$(get_libdir)/openoffice"
+
+ einfo "Installing OpenOffice.org into build root..."
+ dodir ${INSTDIR}
+ mv ${WORKDIR}/opt/openoffice.org2.0/* ${D}${INSTDIR}
+
+ #Menu entries, icons and mime-types
+ cd ${D}${INSTDIR}/share/xdg/
+ sed -i -e s/'Exec=openoffice.org-2.0-printeradmin'/'Exec=oopadmin2'/g printeradmin.desktop || die
+
+ for desk in base calc draw impress math printeradmin writer; do
+ mv ${desk}.desktop openoffice.org-2.0-${desk}.desktop
+ sed -i -e s/openoffice.org-2.0/ooffice2/g openoffice.org-2.0-${desk}.desktop || die
+ sed -i -e s/openofficeorg-20-${desk}/ooo-${desk}2/g openoffice.org-2.0-${desk}.desktop || die
+ domenu openoffice.org-2.0-${desk}.desktop
+ insinto /usr/share/pixmaps
+ newins ${WORKDIR}/usr/share/icons/gnome/48x48/apps/openofficeorg-20-${desk}.png ooo-${desk}2.png
+ done
+
+ insinto /usr/share/mime/packages
+ doins ${WORKDIR}/usr/share/mime/packages/openoffice.org.xml
+
+ # Install wrapper script
+ newbin ${FILESDIR}/${PV}/ooo-wrapper2 ooffice2
+ sed -i -e s/PV/${PV}/g ${D}/usr/bin/ooffice2 || die
+ sed -i -e "s|INSTDIR|${INSTDIR}|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.org2/.ooo-2.0/g ${D}${INSTDIR}/program/bootstraprc || die
+
+ # Non-java weirdness see bug #99366
+ use !java && rm -f ${D}${INSTDIR}/program/javaldx
+
+ # Remove the provided dictionaries, we use our own instead
+ rm -f ${D}${INSTDIR}/share/dict/ooo/*
+
+ # prevent revdep-rebuild from attempting to rebuild all the time
+ insinto /etc/revdep-rebuild && doins ${FILESDIR}/${PV}/50-openoffice-bin
+
+}
+
+pkg_postinst() {
+
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+
+ eselect oodict update --libdir $(get_libdir)
+
+ [ -x /sbin/chpax ] && [ -e /usr/lib/openoffice/program/soffice.bin ] && chpax -zm /usr/lib/openoffice/program/soffice.bin
+
+ einfo " To start OpenOffice.org, run:"
+ einfo
+ einfo " $ ooffice2"
+ einfo
+ einfo " Also, for individual components, you can use any of:"
+ einfo
+ einfo " oobase2, oocalc2, oodraw2, oofromtemplate2, ooimpress2, oomath2,"
+ einfo " ooweb2 or oowriter2"
+ einfo
+ einfo " Spell checking is now provided through our own myspell-ebuilds, "
+ einfo " if you want to use it, please install the correct myspell package "
+ einfo " according to your language needs. "
+
+}