summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2006-09-15 20:08:44 +0000
committerAndreas Proschofsky <suka@gentoo.org>2006-09-15 20:08:44 +0000
commitfa8800e8e5e8b681bfda73f1019c54cb4ba3a7bd (patch)
tree743f00474aafa569d89b9f5cacb432ef47f25109 /app-office
parentChange hard-coded /opt to GAMES_PREFIX_OPT. (diff)
downloadgentoo-2-fa8800e8e5e8b681bfda73f1019c54cb4ba3a7bd.tar.gz
gentoo-2-fa8800e8e5e8b681bfda73f1019c54cb4ba3a7bd.tar.bz2
gentoo-2-fa8800e8e5e8b681bfda73f1019c54cb4ba3a7bd.zip
Bump to 2.0.4_rc2, also add kde-use-flag and remove modular X-suport
(Portage version: 2.1.1)
Diffstat (limited to 'app-office')
-rw-r--r--app-office/openoffice-bin/ChangeLog10
-rw-r--r--app-office/openoffice-bin/files/2.0.4_rc2/50-openoffice-bin1
-rwxr-xr-xapp-office/openoffice-bin/files/2.0.4_rc2/ooo-wrapper2122
-rw-r--r--app-office/openoffice-bin/files/digest-openoffice-bin-2.0.4_rc2195
-rw-r--r--app-office/openoffice-bin/openoffice-bin-2.0.4_rc2.ebuild155
5 files changed, 482 insertions, 1 deletions
diff --git a/app-office/openoffice-bin/ChangeLog b/app-office/openoffice-bin/ChangeLog
index 63395470b788..5f1438c4116a 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.141 2006/09/10 18:33:24 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.142 2006/09/15 20:08:43 suka Exp $
+
+*openoffice-bin-2.0.4_rc2 (15 Sep 2006)
+
+ 15 Sep 2006; Andreas Proschofsky <suka@gentoo.org>
+ -files/2.0.4_rc1/50-openoffice-bin, +files/2.0.4_rc2/50-openoffice-bin,
+ -files/2.0.4_rc1/ooo-wrapper2, +files/2.0.4_rc2/ooo-wrapper2,
+ -openoffice-bin-2.0.4_rc1.ebuild, +openoffice-bin-2.0.4_rc2.ebuild:
+ Bump to 2.0.4_rc2, also add kde-use-flag and remove modular X-suport
*openoffice-bin-2.0.4_rc1 (10 Sep 2006)
diff --git a/app-office/openoffice-bin/files/2.0.4_rc2/50-openoffice-bin b/app-office/openoffice-bin/files/2.0.4_rc2/50-openoffice-bin
new file mode 100644
index 000000000000..6b16e47f0187
--- /dev/null
+++ b/app-office/openoffice-bin/files/2.0.4_rc2/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_rc2/ooo-wrapper2 b/app-office/openoffice-bin/files/2.0.4_rc2/ooo-wrapper2
new file mode 100755
index 000000000000..5f4e4bae055d
--- /dev/null
+++ b/app-office/openoffice-bin/files/2.0.4_rc2/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_rc2 b/app-office/openoffice-bin/files/digest-openoffice-bin-2.0.4_rc2
new file mode 100644
index 000000000000..180eec2bce46
--- /dev/null
+++ b/app-office/openoffice-bin/files/digest-openoffice-bin-2.0.4_rc2
@@ -0,0 +1,195 @@
+MD5 b7674eaa1d2bbdf8b5e1a740eaaf3a6f OOo_2.0.4rc2_060913_LinuxIntel_install.tar.gz 126490254
+RMD160 a9a5a172152fae15612684b7f8d16b8b84621241 OOo_2.0.4rc2_060913_LinuxIntel_install.tar.gz 126490254
+SHA256 3ea78aac253e1c8164793d73505aed2a2ec6d699a96d18cd3d7fdf7db28e0ae9 OOo_2.0.4rc2_060913_LinuxIntel_install.tar.gz 126490254
+MD5 951664cd18a936f7dc915b8780c4f72b OOo_2.0.4rc2_060913_LinuxIntel_langpack_af.tar.gz 13417065
+RMD160 65fefef86a78812b0ecbad8e5810abd5c505cce8 OOo_2.0.4rc2_060913_LinuxIntel_langpack_af.tar.gz 13417065
+SHA256 a56ef3515cbac40f4234c2d18ceae3ab81b0065ad5999ca2c2a81f5bf074ca57 OOo_2.0.4rc2_060913_LinuxIntel_langpack_af.tar.gz 13417065
+MD5 c5fe644d0c03dff22eced7f2d44b7599 OOo_2.0.4rc2_060913_LinuxIntel_langpack_as-IN.tar.gz 13476225
+RMD160 1b8ac420dbba4e434615a9d198dbcf3fe9038b8a OOo_2.0.4rc2_060913_LinuxIntel_langpack_as-IN.tar.gz 13476225
+SHA256 af7c22a136e59621400f086bd506fb6ce8af4fa4fdde6b63abb5570a642d6373 OOo_2.0.4rc2_060913_LinuxIntel_langpack_as-IN.tar.gz 13476225
+MD5 b103f053573c0ec3f8b4d6a28236cbea OOo_2.0.4rc2_060913_LinuxIntel_langpack_be-BY.tar.gz 13463441
+RMD160 cf9da9de58e31cf1a8bc764d07956afe1dbb5196 OOo_2.0.4rc2_060913_LinuxIntel_langpack_be-BY.tar.gz 13463441
+SHA256 8b3d7ccf692af68a6226c8e34a01fbfc99196a72b94029fe46e840e825a0aa47 OOo_2.0.4rc2_060913_LinuxIntel_langpack_be-BY.tar.gz 13463441
+MD5 092d78b19a1f2948b0c8350bcb05d043 OOo_2.0.4rc2_060913_LinuxIntel_langpack_bg.tar.gz 14541914
+RMD160 dd39bf1d82726beb56f24ecd748e26d3f2116c29 OOo_2.0.4rc2_060913_LinuxIntel_langpack_bg.tar.gz 14541914
+SHA256 42d5e3e22b6de7d0b5744f3c0e3d7866cd127902ba96f38946e4ef9ede73619c OOo_2.0.4rc2_060913_LinuxIntel_langpack_bg.tar.gz 14541914
+MD5 759b42ef22e88104880b80da87391754 OOo_2.0.4rc2_060913_LinuxIntel_langpack_bs.tar.gz 13414330
+RMD160 e57d5cc791d258115e81f3a0a6e66d44d9268d1c OOo_2.0.4rc2_060913_LinuxIntel_langpack_bs.tar.gz 13414330
+SHA256 1a9a335434a8918f0dc2a6440631772ef2d38cbc3a09e972c07a82beaef2fa41 OOo_2.0.4rc2_060913_LinuxIntel_langpack_bs.tar.gz 13414330
+MD5 4a6af34e0b371cee4c69a21de74defe0 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ca.tar.gz 13455892
+RMD160 72406932d6084d603956ac1d52da5207e4037abe OOo_2.0.4rc2_060913_LinuxIntel_langpack_ca.tar.gz 13455892
+SHA256 cfb3a28fd8784a003f9b8166f95d6c18d5449833ebbf9fe7d63800f1445fb6f9 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ca.tar.gz 13455892
+MD5 7645dc5b1526e59de77f09ef2dcde8e6 OOo_2.0.4rc2_060913_LinuxIntel_langpack_cs.tar.gz 14064882
+RMD160 1f552c4ce557d851d3eb514c9238e43a7ce987bb OOo_2.0.4rc2_060913_LinuxIntel_langpack_cs.tar.gz 14064882
+SHA256 04db69bb0745ae0688f720a57ba00a10bc521f3259467e9ec5092d68e4ee691e OOo_2.0.4rc2_060913_LinuxIntel_langpack_cs.tar.gz 14064882
+MD5 ca2a32dd54b58a3ecbc0cb98d5fd5597 OOo_2.0.4rc2_060913_LinuxIntel_langpack_cy.tar.gz 13389666
+RMD160 c751abd7d1b90bedd715ccd67b31013ed956b15b OOo_2.0.4rc2_060913_LinuxIntel_langpack_cy.tar.gz 13389666
+SHA256 89ed3adba727979ca782814f264ac6afbbf5bb4afaf368ed57569b50a08f52ed OOo_2.0.4rc2_060913_LinuxIntel_langpack_cy.tar.gz 13389666
+MD5 160f28841516fc82b0bc378770effd43 OOo_2.0.4rc2_060913_LinuxIntel_langpack_da.tar.gz 13927286
+RMD160 2587434c14f656400785c35fac33f43a2caf5445 OOo_2.0.4rc2_060913_LinuxIntel_langpack_da.tar.gz 13927286
+SHA256 ec76c2e2dee343d9eb9dc1d5911d42e0baa867191b47339a898907cbd2822f42 OOo_2.0.4rc2_060913_LinuxIntel_langpack_da.tar.gz 13927286
+MD5 b570e656df0a6f72bb1685a4b39670dc OOo_2.0.4rc2_060913_LinuxIntel_langpack_de.tar.gz 14830360
+RMD160 fa8d38be86bd3bcc0a1ea0378d521c2aa89b567c OOo_2.0.4rc2_060913_LinuxIntel_langpack_de.tar.gz 14830360
+SHA256 dbad8a99ea41a0bce75df2bc7d4df1cf90a47f518c0dddc73ca768dff7bd17ea OOo_2.0.4rc2_060913_LinuxIntel_langpack_de.tar.gz 14830360
+MD5 fc3f2f4be1255a79b08d635001b1381d OOo_2.0.4rc2_060913_LinuxIntel_langpack_el.tar.gz 13988262
+RMD160 ea3247fbd3199c6703c676531ab0b605d43d4009 OOo_2.0.4rc2_060913_LinuxIntel_langpack_el.tar.gz 13988262
+SHA256 b7945fbeba726009fad04ed9d0e70e0240a730056fd166575b86a18c036a59db OOo_2.0.4rc2_060913_LinuxIntel_langpack_el.tar.gz 13988262
+MD5 398601257411696f71328ffe9e619bea OOo_2.0.4rc2_060913_LinuxIntel_langpack_en-GB.tar.gz 13462693
+RMD160 7f5beab82040abb49069ad35e8ecb0cfc7121ee3 OOo_2.0.4rc2_060913_LinuxIntel_langpack_en-GB.tar.gz 13462693
+SHA256 8ae6b3d31fb4a94324c2e1afcbdaae2d566cd0adc3d0e6a66dbd4c7905351619 OOo_2.0.4rc2_060913_LinuxIntel_langpack_en-GB.tar.gz 13462693
+MD5 e0f58ca0a59df4801466add81e3d8a56 OOo_2.0.4rc2_060913_LinuxIntel_langpack_en-ZA.tar.gz 13369009
+RMD160 59024d2fec141d76f8f51b1ed34783161f6ebb85 OOo_2.0.4rc2_060913_LinuxIntel_langpack_en-ZA.tar.gz 13369009
+SHA256 0707a5eca165848e72ffb39f6f39b3bf534ca11fc1bbc172abae3e4dec272ae0 OOo_2.0.4rc2_060913_LinuxIntel_langpack_en-ZA.tar.gz 13369009
+MD5 7802531b2b610461b57e6ed53f120153 OOo_2.0.4rc2_060913_LinuxIntel_langpack_es.tar.gz 14186459
+RMD160 44833731c41ff6eecc427adf6eea7acd15899ec0 OOo_2.0.4rc2_060913_LinuxIntel_langpack_es.tar.gz 14186459
+SHA256 227e53deed04480f2c43f22987ddec80e919ed50c1b0e2865ff37158119452d2 OOo_2.0.4rc2_060913_LinuxIntel_langpack_es.tar.gz 14186459
+MD5 e1223112cb4688bc9462590f8c23aa4f OOo_2.0.4rc2_060913_LinuxIntel_langpack_et.tar.gz 14092682
+RMD160 15d1b29a1235f498fec992364a3b0d528f94e68f OOo_2.0.4rc2_060913_LinuxIntel_langpack_et.tar.gz 14092682
+SHA256 8cad3d54272ea78a43c537985ca0db5f1f61d9e620f41804ac11dac0a6f59e73 OOo_2.0.4rc2_060913_LinuxIntel_langpack_et.tar.gz 14092682
+MD5 c8f46bc862472a825ce51b9ebe71bee7 OOo_2.0.4rc2_060913_LinuxIntel_langpack_fa.tar.gz 13485309
+RMD160 187c2f400bfb30b56a2f605d98ac853a65a1594d OOo_2.0.4rc2_060913_LinuxIntel_langpack_fa.tar.gz 13485309
+SHA256 043c53e6017e486a67391de5bb440dc64737c3bb210a1847e3e15633829ce56f OOo_2.0.4rc2_060913_LinuxIntel_langpack_fa.tar.gz 13485309
+MD5 7fd5db1ac43d2cccb57e692ae79ed5d4 OOo_2.0.4rc2_060913_LinuxIntel_langpack_fi.tar.gz 13433746
+RMD160 d0a1ee1b8f2e539cd0e607389654cbfcddb03167 OOo_2.0.4rc2_060913_LinuxIntel_langpack_fi.tar.gz 13433746
+SHA256 f8a6a37c234cf483f172ea6c1276904c99834a711c8fbff5522076a1803f63fc OOo_2.0.4rc2_060913_LinuxIntel_langpack_fi.tar.gz 13433746
+MD5 77a802869c1686c7a4e97c36b93334c2 OOo_2.0.4rc2_060913_LinuxIntel_langpack_fr.tar.gz 14446862
+RMD160 61d24b1e10ae36a51610966e2a1250a97ed97d4d OOo_2.0.4rc2_060913_LinuxIntel_langpack_fr.tar.gz 14446862
+SHA256 2071d23580ebf3a86405ec23a86784879654f1a17d402262cdbba3790553fdd3 OOo_2.0.4rc2_060913_LinuxIntel_langpack_fr.tar.gz 14446862
+MD5 f324c9e473cb96d642db861e0b0a06c5 OOo_2.0.4rc2_060913_LinuxIntel_langpack_gu-IN.tar.gz 13489150
+RMD160 9f837c16503e1e96028ff8db98c75318748d4132 OOo_2.0.4rc2_060913_LinuxIntel_langpack_gu-IN.tar.gz 13489150
+SHA256 c30cb0c5d57a253300eacd42820a7a9e94fe5aa11cb043fa2817119b86eb5217 OOo_2.0.4rc2_060913_LinuxIntel_langpack_gu-IN.tar.gz 13489150
+MD5 16c7b2097a0b5afda1be4f3d3378b5c4 OOo_2.0.4rc2_060913_LinuxIntel_langpack_he.tar.gz 13443112
+RMD160 7c26fd988b283a275a0bb3d56927fc33d154cb89 OOo_2.0.4rc2_060913_LinuxIntel_langpack_he.tar.gz 13443112
+SHA256 17af13503a0fdf7cff05a014d7519d993a6e676c7d33d22c67d181ce624b3314 OOo_2.0.4rc2_060913_LinuxIntel_langpack_he.tar.gz 13443112
+MD5 8155a0e00a344ac060d7ef44fee6833b OOo_2.0.4rc2_060913_LinuxIntel_langpack_hi-IN.tar.gz 15134430
+RMD160 f950ba0b83c75fceb6f3e83e5e3112e4311a1660 OOo_2.0.4rc2_060913_LinuxIntel_langpack_hi-IN.tar.gz 15134430
+SHA256 b30546a927ac89dca449638866eab6b896fd7e2c12300e67f2f190afda52c66d OOo_2.0.4rc2_060913_LinuxIntel_langpack_hi-IN.tar.gz 15134430
+MD5 ec1af2345b701c91141330747ace41c6 OOo_2.0.4rc2_060913_LinuxIntel_langpack_hr.tar.gz 13718182
+RMD160 09fa6932aef400a1009cce4be27b8f816400eeb0 OOo_2.0.4rc2_060913_LinuxIntel_langpack_hr.tar.gz 13718182
+SHA256 232e40cdb86b33f482e236edf9d50a4725d07e8863cc5bebe3d916a033a7e1ca OOo_2.0.4rc2_060913_LinuxIntel_langpack_hr.tar.gz 13718182
+MD5 e6c210e32836f8676148ccf793ff5020 OOo_2.0.4rc2_060913_LinuxIntel_langpack_hu.tar.gz 14865884
+RMD160 5d6b462bdb5ea4e32ef26fe43c8f2568845d57ee OOo_2.0.4rc2_060913_LinuxIntel_langpack_hu.tar.gz 14865884
+SHA256 0f8e52b565fb9c3690867723557c16d53a1bf4b3ad1962c361c6960076cc3829 OOo_2.0.4rc2_060913_LinuxIntel_langpack_hu.tar.gz 14865884
+MD5 31f5d0ecb600dc5f0b1cfe4248a60431 OOo_2.0.4rc2_060913_LinuxIntel_langpack_it.tar.gz 14218759
+RMD160 904f29334566ebeca58ba5e58cf9e21ecaf13a4c OOo_2.0.4rc2_060913_LinuxIntel_langpack_it.tar.gz 14218759
+SHA256 14aa3b6477a6264b425d384651feabd92d01a4471da0a3f8db0f7e3128e581de OOo_2.0.4rc2_060913_LinuxIntel_langpack_it.tar.gz 14218759
+MD5 9117b92c30f003f314befb8bcb570d3c OOo_2.0.4rc2_060913_LinuxIntel_langpack_ja.tar.gz 14988508
+RMD160 4ab61ee0bb83bb81bab7c5e294635638587930f0 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ja.tar.gz 14988508
+SHA256 49121ea0c7c78bbba53ced54a3f4865b9770c1ae7e0b7cf03a758ab885fcc286 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ja.tar.gz 14988508
+MD5 b42c13bd2319e8b6f7903dd2cdfe20a5 OOo_2.0.4rc2_060913_LinuxIntel_langpack_km.tar.gz 16278355
+RMD160 cd0991f37d5be0eef6769da695ee8269a858ef72 OOo_2.0.4rc2_060913_LinuxIntel_langpack_km.tar.gz 16278355
+SHA256 44d31fd4ccbc0347c9bc6b0082de5d156a5614dca4902697fb041cb586e05cde OOo_2.0.4rc2_060913_LinuxIntel_langpack_km.tar.gz 16278355
+MD5 83798ddbbf8e33c207450768086caf7e OOo_2.0.4rc2_060913_LinuxIntel_langpack_ko.tar.gz 14154327
+RMD160 0c3a90aa1659938ad317360deec27941d828ba50 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ko.tar.gz 14154327
+SHA256 a6d6fdb64e49adaf4acc5c854b0770688aae5ccae849e9bef285f5b6a0d03877 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ko.tar.gz 14154327
+MD5 744e74d3cd7bc65042d4fd709219d077 OOo_2.0.4rc2_060913_LinuxIntel_langpack_lt.tar.gz 13377723
+RMD160 47bdd5344b66059cc53f7284fad7809aaad7eb0b OOo_2.0.4rc2_060913_LinuxIntel_langpack_lt.tar.gz 13377723
+SHA256 85e63bf51cb8d79d19fc51115bb09fa114c9407dfa047958a91b7a20f37ba103 OOo_2.0.4rc2_060913_LinuxIntel_langpack_lt.tar.gz 13377723
+MD5 cbd9cd23df5752eec3746b77d31962a7 OOo_2.0.4rc2_060913_LinuxIntel_langpack_mk.tar.gz 14645712
+RMD160 e824eb9606981636848591386b4acb17a06aa60b OOo_2.0.4rc2_060913_LinuxIntel_langpack_mk.tar.gz 14645712
+SHA256 07d1024343ecd456757776ea19af34e3921685e76d125182fbd89da209eeecba OOo_2.0.4rc2_060913_LinuxIntel_langpack_mk.tar.gz 14645712
+MD5 d3eea56aa90ac3078dee9b4e155fcc0a OOo_2.0.4rc2_060913_LinuxIntel_langpack_ml-IN.tar.gz 13487035
+RMD160 78f1a3c83567c2b4a5a82d7ff0cbe8c9878d85ae OOo_2.0.4rc2_060913_LinuxIntel_langpack_ml-IN.tar.gz 13487035
+SHA256 b447c92c4a21773c47467b8c0a203521ad7c9de920bd6cbacebee5a767369967 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ml-IN.tar.gz 13487035
+MD5 d1f60dc608e718eb7e3d8a137e879c88 OOo_2.0.4rc2_060913_LinuxIntel_langpack_mr-IN.tar.gz 13480767
+RMD160 b4293a3bb56c213e7dbb2c2c8b229d62520d4c72 OOo_2.0.4rc2_060913_LinuxIntel_langpack_mr-IN.tar.gz 13480767
+SHA256 92044d2468bfe150ba4b8ac3b845a77c04db19963c95c666421e3e78f3415f30 OOo_2.0.4rc2_060913_LinuxIntel_langpack_mr-IN.tar.gz 13480767
+MD5 89b0aa6c9148a123baa171d0d956d518 OOo_2.0.4rc2_060913_LinuxIntel_langpack_nb.tar.gz 13454683
+RMD160 6f21e685fa073a2b679a408f8330ae49fbd97654 OOo_2.0.4rc2_060913_LinuxIntel_langpack_nb.tar.gz 13454683
+SHA256 9fc4b15870a8788ecfc80c67d1b674e0425ed5feb757ac2f96b11b0e97352b8b OOo_2.0.4rc2_060913_LinuxIntel_langpack_nb.tar.gz 13454683
+MD5 1e24d7c67bc7f4403527dac514de8fd1 OOo_2.0.4rc2_060913_LinuxIntel_langpack_nl.tar.gz 14368750
+RMD160 bdb73e28c72feab33d55604bddfa45d73e9653cc OOo_2.0.4rc2_060913_LinuxIntel_langpack_nl.tar.gz 14368750
+SHA256 363283165bab5522c60812d83eb35725fa1a962c040f5a9ef17f557f66c7044a OOo_2.0.4rc2_060913_LinuxIntel_langpack_nl.tar.gz 14368750
+MD5 b9ab85e35afa0bb82b79bd9fe7c7d38a OOo_2.0.4rc2_060913_LinuxIntel_langpack_nn.tar.gz 13424254
+RMD160 c2f4978b2ded314a005588d128164ed4ffb546ec OOo_2.0.4rc2_060913_LinuxIntel_langpack_nn.tar.gz 13424254
+SHA256 5b287cb5ac07ec6b0f509bd0bc9b259ecf7107173b15556d3f794fb12f7ad618 OOo_2.0.4rc2_060913_LinuxIntel_langpack_nn.tar.gz 13424254
+MD5 f14066ed2d15eb1009d7cab9582210f2 OOo_2.0.4rc2_060913_LinuxIntel_langpack_nr.tar.gz 13471873
+RMD160 c672c96e9705b459fda4fffaa46bee48f4ea6437 OOo_2.0.4rc2_060913_LinuxIntel_langpack_nr.tar.gz 13471873
+SHA256 9dd796f8d9e01edd5dc0c3659db6c1fe3af63e74062d2682b2f9f00038eff7d9 OOo_2.0.4rc2_060913_LinuxIntel_langpack_nr.tar.gz 13471873
+MD5 3d754c8621f76569d0efb560fd5071c1 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ns.tar.gz 13474265
+RMD160 fe36305c525ac1d223f4193074753848fb43855d OOo_2.0.4rc2_060913_LinuxIntel_langpack_ns.tar.gz 13474265
+SHA256 c8f09db9eaf4800a463cf57999c5c5a3a61b9c8b8ca8fecd5fb11a535c118f28 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ns.tar.gz 13474265
+MD5 c965a71acabc0ff2d9b2fe076eafe9d0 OOo_2.0.4rc2_060913_LinuxIntel_langpack_or-IN.tar.gz 13477323
+RMD160 291d79ce05130c634a4296fd8c600e2fcdc1e216 OOo_2.0.4rc2_060913_LinuxIntel_langpack_or-IN.tar.gz 13477323
+SHA256 ef7e400e3eb70a941a8d5d3deec7a1382615c3f7ce8d566192c2270ad7495ed7 OOo_2.0.4rc2_060913_LinuxIntel_langpack_or-IN.tar.gz 13477323
+MD5 74691c23f6928edb2116b081b7883f1a OOo_2.0.4rc2_060913_LinuxIntel_langpack_pa-IN.tar.gz 13461923
+RMD160 bd4d6b50b840131c270350cdb8c0455bc5e7785b OOo_2.0.4rc2_060913_LinuxIntel_langpack_pa-IN.tar.gz 13461923
+SHA256 fe1b81ff08246b34415989a3278c1d6b0b64b7d7c50bbb277424025ff2e232e8 OOo_2.0.4rc2_060913_LinuxIntel_langpack_pa-IN.tar.gz 13461923
+MD5 2d369e32490e4de03eb6bed5710bfffa OOo_2.0.4rc2_060913_LinuxIntel_langpack_pl.tar.gz 14413677
+RMD160 f554b88f1e8179fcf158c4c809430e0c699dc1da OOo_2.0.4rc2_060913_LinuxIntel_langpack_pl.tar.gz 14413677
+SHA256 737ad101282cd3cf254ce846c5e7ab20311d469cafe3f8b3ee3aa3adf6718328 OOo_2.0.4rc2_060913_LinuxIntel_langpack_pl.tar.gz 14413677
+MD5 729f1f6d92cf0e89a7eb011a1bc5328e OOo_2.0.4rc2_060913_LinuxIntel_langpack_pt-BR.tar.gz 14239775
+RMD160 7467bfbbc5372c7f905d464dcff87020c802866a OOo_2.0.4rc2_060913_LinuxIntel_langpack_pt-BR.tar.gz 14239775
+SHA256 e15fdc192a7152e4319cc3f3b9923f1dd2605bca14c1b7f64b31107f9687c3fe OOo_2.0.4rc2_060913_LinuxIntel_langpack_pt-BR.tar.gz 14239775
+MD5 c933a6ac18e97880fe9dd97805088e97 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ru.tar.gz 15551851
+RMD160 d8fb95f1fa42ce1e5568fd842c9351f27fa65da9 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ru.tar.gz 15551851
+SHA256 9b655914ad36b5fe7b0fd9bf86df3046fc90e65a183ef5b588cfa240c5756032 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ru.tar.gz 15551851
+MD5 f9caee153ea9d3c9e5cb327fc47587ac OOo_2.0.4rc2_060913_LinuxIntel_langpack_rw.tar.gz 13747351
+RMD160 2f9aa618136dd8b7c352e29b64f312211eed0681 OOo_2.0.4rc2_060913_LinuxIntel_langpack_rw.tar.gz 13747351
+SHA256 77f2a201e8c95d3e71c943ff91ec3a1e27f828924a43c4f7adc10135053efb28 OOo_2.0.4rc2_060913_LinuxIntel_langpack_rw.tar.gz 13747351
+MD5 9fd063611cd47f472710b3db019cfe84 OOo_2.0.4rc2_060913_LinuxIntel_langpack_sh-YU.tar.gz 13407486
+RMD160 21b962ca25ed86848e80e8ff21d6e4820a629bec OOo_2.0.4rc2_060913_LinuxIntel_langpack_sh-YU.tar.gz 13407486
+SHA256 f172f9069f6cf4e361d059a0490556da8ada699ad4aa2674c39d98e8dc9ebde5 OOo_2.0.4rc2_060913_LinuxIntel_langpack_sh-YU.tar.gz 13407486
+MD5 103d5799e68fd3348eb2134a520d79c4 OOo_2.0.4rc2_060913_LinuxIntel_langpack_sk.tar.gz 14100661
+RMD160 daf5fab1193ae6e47e6d2145fc6d27e0474cb4e6 OOo_2.0.4rc2_060913_LinuxIntel_langpack_sk.tar.gz 14100661
+SHA256 dd37f663cc0bd5996a7fa56ab76d364236f5880647cc113f1f0d1242fec1bd56 OOo_2.0.4rc2_060913_LinuxIntel_langpack_sk.tar.gz 14100661
+MD5 54f09e0ffa723f8b3eb8df815809d503 OOo_2.0.4rc2_060913_LinuxIntel_langpack_sl.tar.gz 14345222
+RMD160 b607691fd7058dde98aa1a870bcd83bb843b0833 OOo_2.0.4rc2_060913_LinuxIntel_langpack_sl.tar.gz 14345222
+SHA256 ee9c4b2005ec02a305ccec7ac38bcf13e45196c91a139239a96825f01151f001 OOo_2.0.4rc2_060913_LinuxIntel_langpack_sl.tar.gz 14345222
+MD5 28a13beec3777b26a4b0d52225642346 OOo_2.0.4rc2_060913_LinuxIntel_langpack_sr-CS.tar.gz 13453374
+RMD160 eedb38e8dee17a60832e12c0d724dda32cc2a40d OOo_2.0.4rc2_060913_LinuxIntel_langpack_sr-CS.tar.gz 13453374
+SHA256 36b47ba4c7bf95e67f6d6591494a6bbdc53f7062f707c7a3022fa25b916757b9 OOo_2.0.4rc2_060913_LinuxIntel_langpack_sr-CS.tar.gz 13453374
+MD5 2133610ce073007d50a8ce751208d26d OOo_2.0.4rc2_060913_LinuxIntel_langpack_st.tar.gz 13440201
+RMD160 f7e36faf4cdfdfe33d39fb240602251090df0e18 OOo_2.0.4rc2_060913_LinuxIntel_langpack_st.tar.gz 13440201
+SHA256 52fb445526ee0eee1cb39ee320d15146e285c5d9d7347dcad9d29004a8c6f352 OOo_2.0.4rc2_060913_LinuxIntel_langpack_st.tar.gz 13440201
+MD5 a653d4b17e96f128154e959aa2803086 OOo_2.0.4rc2_060913_LinuxIntel_langpack_sv.tar.gz 13970492
+RMD160 4910811c986a17b1d6c6b9f25db0503924eeb459 OOo_2.0.4rc2_060913_LinuxIntel_langpack_sv.tar.gz 13970492
+SHA256 c0f5349cab32760d76608e6f94e7236d5d52f55792dd854244dfdf5e2ec6e5e3 OOo_2.0.4rc2_060913_LinuxIntel_langpack_sv.tar.gz 13970492
+MD5 8836f9ba7dbc7755aacd2dff0d9b36b6 OOo_2.0.4rc2_060913_LinuxIntel_langpack_sw-TZ.tar.gz 13536386
+RMD160 5df65006193901d6ff19c7d541ecb4a413d9686d OOo_2.0.4rc2_060913_LinuxIntel_langpack_sw-TZ.tar.gz 13536386
+SHA256 a43a49c3b4b4104fbc0dfca6b1471c8528270171a148bfee1b35fa4067b5bc07 OOo_2.0.4rc2_060913_LinuxIntel_langpack_sw-TZ.tar.gz 13536386
+MD5 f86ca73068b55afdd31051ea3f47eb51 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ta-IN.tar.gz 13465596
+RMD160 70468e1a9eb57f062c7409017d79db581c2f4d39 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ta-IN.tar.gz 13465596
+SHA256 6173d399c9532fa35185e92c703e94168d9afbc06be143a23f4222c2b067bc63 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ta-IN.tar.gz 13465596
+MD5 fad11b69dbc5c097ab70029c5de5109e OOo_2.0.4rc2_060913_LinuxIntel_langpack_te-IN.tar.gz 13491614
+RMD160 c06075028cef2ff133f63cd54c5e290d4f8e6753 OOo_2.0.4rc2_060913_LinuxIntel_langpack_te-IN.tar.gz 13491614
+SHA256 09a35977b37fab9ad37ec569bc6def6c1ba3bae444be5b0dcaf30eaf02487a64 OOo_2.0.4rc2_060913_LinuxIntel_langpack_te-IN.tar.gz 13491614
+MD5 60ce6c353a12dc95758e61e3a422f0e6 OOo_2.0.4rc2_060913_LinuxIntel_langpack_tg.tar.gz 13466409
+RMD160 8695ae7014e42c6a009d22a775187c20008d8889 OOo_2.0.4rc2_060913_LinuxIntel_langpack_tg.tar.gz 13466409
+SHA256 fc0e7952d5f9fbcf24f8a53a870230fdfaa08c1cd0887834b9d24cfbcd6261b2 OOo_2.0.4rc2_060913_LinuxIntel_langpack_tg.tar.gz 13466409
+MD5 004fd9534abc95d124d73e994bb6a8c3 OOo_2.0.4rc2_060913_LinuxIntel_langpack_th.tar.gz 13859465
+RMD160 717b06764739bc779cf7bf743982de0e81ca6520 OOo_2.0.4rc2_060913_LinuxIntel_langpack_th.tar.gz 13859465
+SHA256 691b758290a0d9f91388bb5d739c74917f367f438f1e0cf8b880b958306b881e OOo_2.0.4rc2_060913_LinuxIntel_langpack_th.tar.gz 13859465
+MD5 3d5cba915a665e72521621b51b0b8f6c OOo_2.0.4rc2_060913_LinuxIntel_langpack_ti-ER.tar.gz 13369674
+RMD160 8b15a6437951bf7e5bdd600f838c7d4350132b1f OOo_2.0.4rc2_060913_LinuxIntel_langpack_ti-ER.tar.gz 13369674
+SHA256 65a49faf6366006f5efa044ffdcc5a6f6051ca7d14c1391bdd112aab66717b86 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ti-ER.tar.gz 13369674
+MD5 980e781fba782d9f063b7831ec1a8101 OOo_2.0.4rc2_060913_LinuxIntel_langpack_tn.tar.gz 13406584
+RMD160 5165164c0db9d9fe27c7122e6e8fb82f9aa5c1b8 OOo_2.0.4rc2_060913_LinuxIntel_langpack_tn.tar.gz 13406584
+SHA256 33d2c808e9dd884e2916d91a76228e5530fec014b1b6e277dba681ad34f10ef1 OOo_2.0.4rc2_060913_LinuxIntel_langpack_tn.tar.gz 13406584
+MD5 80f6b0dde22db3658e39504f13424cdf OOo_2.0.4rc2_060913_LinuxIntel_langpack_tr.tar.gz 13709064
+RMD160 3af473d8963dbf89ece60dd7f90a3918a1b0fbf8 OOo_2.0.4rc2_060913_LinuxIntel_langpack_tr.tar.gz 13709064
+SHA256 51c62b914e4def18f7827f051dae946eb025e606ee599a261734fafb31809301 OOo_2.0.4rc2_060913_LinuxIntel_langpack_tr.tar.gz 13709064
+MD5 26a43bc9256edba6a0f4e3b91331f093 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ts.tar.gz 13455849
+RMD160 755b479a69186875281c948ca79c23c6e8d30f41 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ts.tar.gz 13455849
+SHA256 78d237e89a419a53b5967a6b8c749a1d358e3c71c4e73c23ef021214a9f37d3e OOo_2.0.4rc2_060913_LinuxIntel_langpack_ts.tar.gz 13455849
+MD5 5e8aa1b054e891f9324998c88fdce7c7 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ur-IN.tar.gz 13470444
+RMD160 94acbbede4e0b6ef058609c8c023ffd644cf5c3e OOo_2.0.4rc2_060913_LinuxIntel_langpack_ur-IN.tar.gz 13470444
+SHA256 607b83bc943d95f1380d65561128744afb296fd5c0fec6b201d12d2a7b11f925 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ur-IN.tar.gz 13470444
+MD5 fd925ca102c20e4f91a172c602d7c330 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ve.tar.gz 13445806
+RMD160 4478827310d9b543367c3dac01e43965e9663e55 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ve.tar.gz 13445806
+SHA256 5a05ca56ab9be78b75e95ff1880de7f470a7f7da0e616e884e226c59e7bbdea0 OOo_2.0.4rc2_060913_LinuxIntel_langpack_ve.tar.gz 13445806
+MD5 0e2e0fe3ac07300fc8c72e40f9883bb6 OOo_2.0.4rc2_060913_LinuxIntel_langpack_vi.tar.gz 13437601
+RMD160 2979594d28abf11796eef8384d6154ae8056c59d OOo_2.0.4rc2_060913_LinuxIntel_langpack_vi.tar.gz 13437601
+SHA256 65c71ad4846dffd331d15eebd59897d89ccb6c507e70ece2f519dde683a7bcfa OOo_2.0.4rc2_060913_LinuxIntel_langpack_vi.tar.gz 13437601
+MD5 5164170c40227dbd3aee6b9a4723814e OOo_2.0.4rc2_060913_LinuxIntel_langpack_xh.tar.gz 13497889
+RMD160 d4c667a62fcbf453b8513612bd62014a06783713 OOo_2.0.4rc2_060913_LinuxIntel_langpack_xh.tar.gz 13497889
+SHA256 d14b9ceb8ea3fdc6c988c4e04eeeda15d42998cdf94fefbb136600459d8e8f89 OOo_2.0.4rc2_060913_LinuxIntel_langpack_xh.tar.gz 13497889
+MD5 0b8c02517672cee404a67fe552a85d8b OOo_2.0.4rc2_060913_LinuxIntel_langpack_zh-CN.tar.gz 14298201
+RMD160 0a2074635acd7280ac156a82c933c1993c59f0ca OOo_2.0.4rc2_060913_LinuxIntel_langpack_zh-CN.tar.gz 14298201
+SHA256 89c14d5ba28844ad15a4e1862c5592f460fb2ca03d08d6371cadbb1c8748ab48 OOo_2.0.4rc2_060913_LinuxIntel_langpack_zh-CN.tar.gz 14298201
+MD5 9d1601dcbec145ed8937362e5a1b4c1c OOo_2.0.4rc2_060913_LinuxIntel_langpack_zh-TW.tar.gz 14463332
+RMD160 075864b702051060ef91cbf3633ab354c11b032f OOo_2.0.4rc2_060913_LinuxIntel_langpack_zh-TW.tar.gz 14463332
+SHA256 a7f208677ee74529a81fa70ad3f32b43b03b2416af9fa85b9a485afd1474a001 OOo_2.0.4rc2_060913_LinuxIntel_langpack_zh-TW.tar.gz 14463332
+MD5 30464ef9dfcef2938382a1dfe9c27cd5 OOo_2.0.4rc2_060913_LinuxIntel_langpack_zu.tar.gz 13502622
+RMD160 84c5e0c42a8b2adf410daf058ffcd570890cd7c1 OOo_2.0.4rc2_060913_LinuxIntel_langpack_zu.tar.gz 13502622
+SHA256 aeed904f02ea4c38ef23e37c36da53cb0e99de3f7dd243577b118e28f4dea042 OOo_2.0.4rc2_060913_LinuxIntel_langpack_zu.tar.gz 13502622
diff --git a/app-office/openoffice-bin/openoffice-bin-2.0.4_rc2.ebuild b/app-office/openoffice-bin/openoffice-bin-2.0.4_rc2.ebuild
new file mode 100644
index 000000000000..966bbdb91f12
--- /dev/null
+++ b/app-office/openoffice-bin/openoffice-bin-2.0.4_rc2.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_rc2.ebuild,v 1.1 2006/09/15 20:08:43 suka Exp $
+
+inherit eutils fdo-mime rpm multilib
+
+IUSE="gnome java kde"
+
+MY_PV="${PV/_/}"
+MY_PV2="${MY_PV}_060913"
+MY_PV3="${PV/_rc2/}-4"
+PACKED="OOD680_m4_native_packed-1"
+BUILDID="9070"
+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. "
+
+}