# 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.119 2006/02/03 20:01:10 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.120 2006/02/16 21:45:57 suka Exp $
+
+*openoffice-bin-2.0.2_rc1 (16 Feb 2006)
+
+ 16 Feb 2006; Andreas Proschofsky <suka@gentoo.org>
+ +files/2.0.2_rc1/ooo-wrapper2, +openoffice-bin-2.0.2_rc1.ebuild:
+ First release candidate for OpenOffice.org 2.0.2, use at your own risk
03 Feb 2006; Andreas Proschofsky <suka@gentoo.org>
-files/1.1.5/ooffice-wrapper-1.3, -openoffice-bin-1.1.5.ebuild:
-MD5 b858a10a3e3797287af2e31fd39d3986 ChangeLog 20967
-RMD160 5db239b64895d412c99f786dedd344438646a4d7 ChangeLog 20967
-SHA256 863d900684e07cb3cd982d82d98992d4643526899d5a7097ec714264b9899dc2 ChangeLog 20967
+MD5 9eceb1772ee5a4053caccbe17845465a ChangeLog 21202
+RMD160 2753d0de5a994826e382726f405b3740fc052694 ChangeLog 21202
+SHA256 e5107785494d0b084873eefb3af4dcaada31eac6430e1e817eb760495ab3bb27 ChangeLog 21202
MD5 2919847c6afebe7fd157c48e78fb5770 files/2.0.1/ooo-wrapper2 3703
RMD160 bae316eab13ca87c71428c45f7cc2263b7c6e5bf files/2.0.1/ooo-wrapper2 3703
SHA256 a220172dfcdc266dba352bdb083ea0b4c5507aacea22f0efa587cb2cc31ab530 files/2.0.1/ooo-wrapper2 3703
+MD5 2919847c6afebe7fd157c48e78fb5770 files/2.0.2_rc1/ooo-wrapper2 3703
+RMD160 bae316eab13ca87c71428c45f7cc2263b7c6e5bf files/2.0.2_rc1/ooo-wrapper2 3703
+SHA256 a220172dfcdc266dba352bdb083ea0b4c5507aacea22f0efa587cb2cc31ab530 files/2.0.2_rc1/ooo-wrapper2 3703
MD5 27636f8cdec7c8d98e491ff4f4d12c62 files/digest-openoffice-bin-2.0.1 5639
RMD160 0ff4c5a48d0b96564ec4b4d085735e132a1a4cbe files/digest-openoffice-bin-2.0.1 5639
SHA256 269a697a9570a385697eb4c973307f19927d24139493e78893e8f41757a7b557 files/digest-openoffice-bin-2.0.1 5639
+MD5 e004fa6f1e0983ed9edad37dd6ccac6e files/digest-openoffice-bin-2.0.2_rc1 20041
+RMD160 c352d9e621526ddda48553697c8cc41f8fbadb11 files/digest-openoffice-bin-2.0.2_rc1 20041
+SHA256 bce06851e6bdcb4aed4d690ed5618963aa266a32b57bdb0e0b633258f0787f68 files/digest-openoffice-bin-2.0.2_rc1 20041
MD5 7134ec08f56019fc5db7f3e84acea4df metadata.xml 460
RMD160 acd4457511555ead7fbc5fe5297eff6a6e01bed7 metadata.xml 460
SHA256 9160d9de32e063130943805fe72d9bb196700524a54a54cf1769a740ecd9183d metadata.xml 460
MD5 a44438211235d3779e9926fe33314a50 openoffice-bin-2.0.1.ebuild 7556
RMD160 d963cea0360b99477133cf204a73c77c7b7bf8bd openoffice-bin-2.0.1.ebuild 7556
SHA256 3e0ce971dbb78145796a1820812d710546c042dfbc0f9a26dce59fb96c8ac709 openoffice-bin-2.0.1.ebuild 7556
+MD5 0622eb99a8f1615edf888c3131339efb openoffice-bin-2.0.2_rc1.ebuild 7611
+RMD160 c1a0bec21da8b5a25f8d3be254fcfbe8f0d4c764 openoffice-bin-2.0.2_rc1.ebuild 7611
+SHA256 7298c312ca7e61e8aca5368d185f337605cc772fb6d8c8c87c8a28f02e01626a openoffice-bin-2.0.2_rc1.ebuild 7611
--- /dev/null
+#!/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";
+}
+
+# And here we go.
+exec "$SystemInstallDir/program/soffice", @ooo_argv
--- /dev/null
+MD5 c30131f08e814988fe35302d9035b37c OOo_2.0.2rc1_060213_LinuxIntel_install.tar.gz 121700623
+RMD160 7636c990bcb61d3acab4cafb51aaa982ac60b9cb OOo_2.0.2rc1_060213_LinuxIntel_install.tar.gz 121700623
+SHA256 8994d03aba46c2bb0f770010ee0fec4eb6d6cb54cbe30f675f836b0b745bb1da OOo_2.0.2rc1_060213_LinuxIntel_install.tar.gz 121700623
+MD5 af31d9e2404915a509da5d4416b35559 OOo_2.0.2rc1_060213_LinuxIntel_langpack_af.tar.gz 26892316
+RMD160 df950929569b527a32da8694d2a3f4eeaa45e50c OOo_2.0.2rc1_060213_LinuxIntel_langpack_af.tar.gz 26892316
+SHA256 c5def8e6f1e4bb28617707ce2e60ee5602b1a2225a03bba9ef79002d4286a7bf OOo_2.0.2rc1_060213_LinuxIntel_langpack_af.tar.gz 26892316
+MD5 e926d9b552385f99e95e7d817e5a7872 OOo_2.0.2rc1_060213_LinuxIntel_langpack_be-BY.tar.gz 27032789
+RMD160 b3c29e59ce6e052c0d23fd86042d1f2bb88d466c OOo_2.0.2rc1_060213_LinuxIntel_langpack_be-BY.tar.gz 27032789
+SHA256 d504a35a5e6bd58cb0ba29704312910c8a60d0a190e692348297cd06435ff50c OOo_2.0.2rc1_060213_LinuxIntel_langpack_be-BY.tar.gz 27032789
+MD5 2a6fc0df3b1fc2ce3c9fbe48488dcfb5 OOo_2.0.2rc1_060213_LinuxIntel_langpack_bg.tar.gz 28305017
+RMD160 18f2523f968707234ec44e1dba92828c826f30be OOo_2.0.2rc1_060213_LinuxIntel_langpack_bg.tar.gz 28305017
+SHA256 b65d660c88f42adc83e34839f3266603f41915f76b7f4d519ca55343baea2e93 OOo_2.0.2rc1_060213_LinuxIntel_langpack_bg.tar.gz 28305017
+MD5 bee6bbd0662944ddaf2e7c33430f5a14 OOo_2.0.2rc1_060213_LinuxIntel_langpack_bs.tar.gz 26931316
+RMD160 f60ef123323efff2eea8540829b68cf3a8a438e6 OOo_2.0.2rc1_060213_LinuxIntel_langpack_bs.tar.gz 26931316
+SHA256 1d997dee4b3250164a4164973c29d0a61478c5cdf28fde1ffc7887f9bcabfcd5 OOo_2.0.2rc1_060213_LinuxIntel_langpack_bs.tar.gz 26931316
+MD5 ebc2b537f70dcf89672dc68fffff85b0 OOo_2.0.2rc1_060213_LinuxIntel_langpack_ca.tar.gz 26902433
+RMD160 9db8b267bf2a3d7504d2878d61f98d1791fdc624 OOo_2.0.2rc1_060213_LinuxIntel_langpack_ca.tar.gz 26902433
+SHA256 371131d24ddc1106d3217f0ffd697ea8e176c9990415c589424e220f9f946da7 OOo_2.0.2rc1_060213_LinuxIntel_langpack_ca.tar.gz 26902433
+MD5 22b1e026d0ac734ead24c9a72f8fdb63 OOo_2.0.2rc1_060213_LinuxIntel_langpack_cs.tar.gz 28165439
+RMD160 fda22c7b471ef485e716b5d99eb1baa6bba2f4f5 OOo_2.0.2rc1_060213_LinuxIntel_langpack_cs.tar.gz 28165439
+SHA256 1217e12e480c295f6827b4f9bac492c1dbb296355ece6709e552e698a43cebe3 OOo_2.0.2rc1_060213_LinuxIntel_langpack_cs.tar.gz 28165439
+MD5 5ee792a6fb8c9dce6dc055a367780960 OOo_2.0.2rc1_060213_LinuxIntel_langpack_cy.tar.gz 26862808
+RMD160 40d197297fabd0760c12c8137913eb624b7881bb OOo_2.0.2rc1_060213_LinuxIntel_langpack_cy.tar.gz 26862808
+SHA256 aff6e2226ea80886b9b620da00ab4810b4813cd7701f1eb9f001a3a175adbf7d OOo_2.0.2rc1_060213_LinuxIntel_langpack_cy.tar.gz 26862808
+MD5 bd645e317a253bd1022a8ea8c90f59f6 OOo_2.0.2rc1_060213_LinuxIntel_langpack_da.tar.gz 27986684
+RMD160 6347e35054caf91415eb8baf55fdb01147275e95 OOo_2.0.2rc1_060213_LinuxIntel_langpack_da.tar.gz 27986684
+SHA256 4c0ffffbec47ae4af2562f554236318c2e297c5f16b66aff56fdd1d930c662ed OOo_2.0.2rc1_060213_LinuxIntel_langpack_da.tar.gz 27986684
+MD5 aa1745e92bdc292032fb1c0788fec430 OOo_2.0.2rc1_060213_LinuxIntel_langpack_de.tar.gz 29917476
+RMD160 80e1f8a1e17bc8345fad637f09d78293cc39e660 OOo_2.0.2rc1_060213_LinuxIntel_langpack_de.tar.gz 29917476
+SHA256 efb96c14f88b2d61e24481ab0cd8a3ca7dbb0d06e6ffba6e55722b2bddeb9ca5 OOo_2.0.2rc1_060213_LinuxIntel_langpack_de.tar.gz 29917476
+MD5 042d7c755ec0f0f28982021fdd3a9cfc OOo_2.0.2rc1_060213_LinuxIntel_langpack_el.tar.gz 28075241
+RMD160 ddd3a39a8fbd3b6a6daaf0351ec4ddd1f99a5430 OOo_2.0.2rc1_060213_LinuxIntel_langpack_el.tar.gz 28075241
+SHA256 f1d59a84cf48dcdd859a17d628cf9fdee78fe5059f15d6d9cbb310edc6828c3c OOo_2.0.2rc1_060213_LinuxIntel_langpack_el.tar.gz 28075241
+MD5 7de0c65bee09868904cf71f732d68b58 OOo_2.0.2rc1_060213_LinuxIntel_langpack_en-GB.tar.gz 27028947
+RMD160 735eb349b856590be9c07704f6956366e5ebbbeb OOo_2.0.2rc1_060213_LinuxIntel_langpack_en-GB.tar.gz 27028947
+SHA256 13430ee870dbd5d956c3bfa1e2210389eff9167e578052d05c9f0e442e76bfbb OOo_2.0.2rc1_060213_LinuxIntel_langpack_en-GB.tar.gz 27028947
+MD5 253ff488687f3a58db3dfc69b32473ce OOo_2.0.2rc1_060213_LinuxIntel_langpack_en-ZA.tar.gz 26903353
+RMD160 73d39c5a82229e6f7667dfbaa148f81dc446c1d7 OOo_2.0.2rc1_060213_LinuxIntel_langpack_en-ZA.tar.gz 26903353
+SHA256 c87631a28ce44ec605589205618015597591053546088d5981a71d926016b0de OOo_2.0.2rc1_060213_LinuxIntel_langpack_en-ZA.tar.gz 26903353
+MD5 cc3aa03a3a641f3676083dab3c0064fd OOo_2.0.2rc1_060213_LinuxIntel_langpack_es.tar.gz 28533495
+RMD160 8b37095841555e2cd10ca76268fbfc6ee4af0d33 OOo_2.0.2rc1_060213_LinuxIntel_langpack_es.tar.gz 28533495
+SHA256 c6d5b9750ea58334ffd31b5f1b335796c193fc40c8ce9973a0890617f8fd3fe3 OOo_2.0.2rc1_060213_LinuxIntel_langpack_es.tar.gz 28533495
+MD5 13881073551110eadf56b871b945d66a OOo_2.0.2rc1_060213_LinuxIntel_langpack_et.tar.gz 28346470
+RMD160 d3c6247165e6ea7d9bf104d958865a21dd068276 OOo_2.0.2rc1_060213_LinuxIntel_langpack_et.tar.gz 28346470
+SHA256 f3e74403cb5bd6ea18164168a9ae1507b9591ebe4f4acc5932e83400832c7f0b OOo_2.0.2rc1_060213_LinuxIntel_langpack_et.tar.gz 28346470
+MD5 cacb5e830b5c05cf6d9f7e6ea84529f1 OOo_2.0.2rc1_060213_LinuxIntel_langpack_fi.tar.gz 26939676
+RMD160 5675c3f504326f199b55068c52479571dead4695 OOo_2.0.2rc1_060213_LinuxIntel_langpack_fi.tar.gz 26939676
+SHA256 22d364ca53bd6530d9dcb5ed723ff3cb0061261f0788e416fcbb6b18a16f70b0 OOo_2.0.2rc1_060213_LinuxIntel_langpack_fi.tar.gz 26939676
+MD5 a3445fd4454b7b041c303000d0f33675 OOo_2.0.2rc1_060213_LinuxIntel_langpack_fr.tar.gz 28932967
+RMD160 2dde4f89453f2347adba561bc1017f569b8cc8c5 OOo_2.0.2rc1_060213_LinuxIntel_langpack_fr.tar.gz 28932967
+SHA256 2063cf16dce5f33069de257e0095afdad2994fc52593d1d78d48dc4a0585dc7c OOo_2.0.2rc1_060213_LinuxIntel_langpack_fr.tar.gz 28932967
+MD5 84cb798de37017dbd731698045b7b21d OOo_2.0.2rc1_060213_LinuxIntel_langpack_gu-IN.tar.gz 27006553
+RMD160 0cb12df4b13f67dabb5cc1670f551830ba5a52fc OOo_2.0.2rc1_060213_LinuxIntel_langpack_gu-IN.tar.gz 27006553
+SHA256 8e5f6a42c85ebaf3d83f17236c138dc88eed2cb93821020d178e075a4c5033fd OOo_2.0.2rc1_060213_LinuxIntel_langpack_gu-IN.tar.gz 27006553
+MD5 a6380796b7e96fc410bb2ec94d567f0d OOo_2.0.2rc1_060213_LinuxIntel_langpack_hi-IN.tar.gz 27167717
+RMD160 350d83e08a0f2f75a680c889d29d54efd76058fe OOo_2.0.2rc1_060213_LinuxIntel_langpack_hi-IN.tar.gz 27167717
+SHA256 e1304df633803f12bf9e170c5c4ccbb8669f0270f7ece6351215208a8cdf08bb OOo_2.0.2rc1_060213_LinuxIntel_langpack_hi-IN.tar.gz 27167717
+MD5 55cb930cfb84b1b07daec44436d1121f OOo_2.0.2rc1_060213_LinuxIntel_langpack_hr.tar.gz 27558548
+RMD160 90946cb6b1fbc9388e0616eb8d390a542500d440 OOo_2.0.2rc1_060213_LinuxIntel_langpack_hr.tar.gz 27558548
+SHA256 66f809065941ec07dda6fdea995b6327d72851d6dddf3904b287777673f22726 OOo_2.0.2rc1_060213_LinuxIntel_langpack_hr.tar.gz 27558548
+MD5 933b5199f26c192c5e779d1cdce59fcb OOo_2.0.2rc1_060213_LinuxIntel_langpack_hu.tar.gz 29736859
+RMD160 bef29965b60c9549fbc51475ae8078e6ddd1d98a OOo_2.0.2rc1_060213_LinuxIntel_langpack_hu.tar.gz 29736859
+SHA256 9d033e2b5db194e9850581b637d88bff21cd1ecbcf057487ec0cb389745b5a04 OOo_2.0.2rc1_060213_LinuxIntel_langpack_hu.tar.gz 29736859
+MD5 bb012bf674bb19b331d925d7edc7af64 OOo_2.0.2rc1_060213_LinuxIntel_langpack_it.tar.gz 28439435
+RMD160 e78105ff4f7368408379db570fe8f5e3cad22f93 OOo_2.0.2rc1_060213_LinuxIntel_langpack_it.tar.gz 28439435
+SHA256 2ce72bd8fba5b382ec42ce34acf593eef19e1b22c1a28198a4ad061f0ba4edc9 OOo_2.0.2rc1_060213_LinuxIntel_langpack_it.tar.gz 28439435
+MD5 60b7ae6f755a09b62a1a25d0b33abd85 OOo_2.0.2rc1_060213_LinuxIntel_langpack_ja.tar.gz 30028799
+RMD160 f7d6fb9dd3aa6779f39bf8baa0e62313f97acc77 OOo_2.0.2rc1_060213_LinuxIntel_langpack_ja.tar.gz 30028799
+SHA256 a160e92d1a8ec7423f590568bafec8f7c730589049da99ab2f1079d85caba8c1 OOo_2.0.2rc1_060213_LinuxIntel_langpack_ja.tar.gz 30028799
+MD5 22872d0cba922484ffb3ac2c9a85ed79 OOo_2.0.2rc1_060213_LinuxIntel_langpack_km.tar.gz 33535023
+RMD160 027a78213f71098fc6e270c06405b1a4f6fc38ed OOo_2.0.2rc1_060213_LinuxIntel_langpack_km.tar.gz 33535023
+SHA256 2a9c11d91d74d25f882de7d37eed65a0d0648cde54362cc1a27798a34002b289 OOo_2.0.2rc1_060213_LinuxIntel_langpack_km.tar.gz 33535023
+MD5 e7c524752f327317c4bb362f40221c6c OOo_2.0.2rc1_060213_LinuxIntel_langpack_ko.tar.gz 28349526
+RMD160 0c98b12db32a6e3c369552095a2788dec3289f11 OOo_2.0.2rc1_060213_LinuxIntel_langpack_ko.tar.gz 28349526
+SHA256 fc601647489bae003779056ca712a3c08246a022c5402fa55a649fc05b868eed OOo_2.0.2rc1_060213_LinuxIntel_langpack_ko.tar.gz 28349526
+MD5 9d9f62609301a508d62e8f274c04e01c OOo_2.0.2rc1_060213_LinuxIntel_langpack_lt.tar.gz 26963226
+RMD160 924dba806fcfcd0d1b8fa0da68e90c5128eeb1d9 OOo_2.0.2rc1_060213_LinuxIntel_langpack_lt.tar.gz 26963226
+SHA256 aa004896e73a3c4932566417035545f13ba93fffe8ccd9b009b594261396bc03 OOo_2.0.2rc1_060213_LinuxIntel_langpack_lt.tar.gz 26963226
+MD5 1a9dbf1eaf7e3058531c342e8cfd1381 OOo_2.0.2rc1_060213_LinuxIntel_langpack_mk.tar.gz 28655004
+RMD160 5c2d6694de44749e0ea727f193a9b73ee4696d08 OOo_2.0.2rc1_060213_LinuxIntel_langpack_mk.tar.gz 28655004
+SHA256 5a77b50ea44ffdbe20184cd55f37c343bf486769fe48fc44f751cd7956d4bbb7 OOo_2.0.2rc1_060213_LinuxIntel_langpack_mk.tar.gz 28655004
+MD5 d8f41d9d76205624b3305275276274c8 OOo_2.0.2rc1_060213_LinuxIntel_langpack_nb.tar.gz 26866052
+RMD160 47f402933c74713653c8c626ba2335f80e655275 OOo_2.0.2rc1_060213_LinuxIntel_langpack_nb.tar.gz 26866052
+SHA256 fb1570e1c072636719b9b31104cc79454d466b55630fb15c7c5d3dceba7882c3 OOo_2.0.2rc1_060213_LinuxIntel_langpack_nb.tar.gz 26866052
+MD5 1c9651efa3932f3e7cef72c0d74d6d25 OOo_2.0.2rc1_060213_LinuxIntel_langpack_nl.tar.gz 29219368
+RMD160 afbfc11730b512228823513b21532d89d25207dc OOo_2.0.2rc1_060213_LinuxIntel_langpack_nl.tar.gz 29219368
+SHA256 07d1638a2f1d8274f9169eadb06ca0549ccd20e649376cb51ac99a3672c81f10 OOo_2.0.2rc1_060213_LinuxIntel_langpack_nl.tar.gz 29219368
+MD5 7c35fd9c5b91e130fb3def96e9e2e7b9 OOo_2.0.2rc1_060213_LinuxIntel_langpack_nn.tar.gz 26865674
+RMD160 4785ba0cf5b86543a188798064ee496f2a44a70e OOo_2.0.2rc1_060213_LinuxIntel_langpack_nn.tar.gz 26865674
+SHA256 437a55e7dee3699b3f740f167ebd48d0b0f29905548a64ed34c995e98c4117dc OOo_2.0.2rc1_060213_LinuxIntel_langpack_nn.tar.gz 26865674
+MD5 f10ce449b5ba18c75daf77cd1cf6b0d0 OOo_2.0.2rc1_060213_LinuxIntel_langpack_ns.tar.gz 26975153
+RMD160 9291bfb790d3e4ea83abf3320b8e92c82b8d92b7 OOo_2.0.2rc1_060213_LinuxIntel_langpack_ns.tar.gz 26975153
+SHA256 eba889172c20e5f6b7ca5a57f1544b673484aa042e4120a367c40e1309fd0c64 OOo_2.0.2rc1_060213_LinuxIntel_langpack_ns.tar.gz 26975153
+MD5 2bd6314c962b09e28a7ff316d66fd0db OOo_2.0.2rc1_060213_LinuxIntel_langpack_pa-IN.tar.gz 26978194
+RMD160 c7d2c6767faa8f9512f55f68d95d1c63def2d973 OOo_2.0.2rc1_060213_LinuxIntel_langpack_pa-IN.tar.gz 26978194
+SHA256 6cfee77590b1ee197a63515feb1db239d7602f06a6ffe3f6f8c6f4b0ebfcd82e OOo_2.0.2rc1_060213_LinuxIntel_langpack_pa-IN.tar.gz 26978194
+MD5 5990570ee4f56e7bd12cb7e88c4ee4d5 OOo_2.0.2rc1_060213_LinuxIntel_langpack_pl.tar.gz 27488067
+RMD160 a2387b1ff495c6280307ec5a489b1896bdfcda53 OOo_2.0.2rc1_060213_LinuxIntel_langpack_pl.tar.gz 27488067
+SHA256 2fc8cdaea5c0581aa8f7060467b63a79de41a6fa9b727c6396b743e462f9d031 OOo_2.0.2rc1_060213_LinuxIntel_langpack_pl.tar.gz 27488067
+MD5 30ce9e65eeeddbb09176aee971d6c1b2 OOo_2.0.2rc1_060213_LinuxIntel_langpack_pt-BR.tar.gz 28540304
+RMD160 5b9e9cfa322110c8f9c6b32e088c91bfc7c91aa0 OOo_2.0.2rc1_060213_LinuxIntel_langpack_pt-BR.tar.gz 28540304
+SHA256 8cee39efa397b5ed0577b798d660163d1c4f2e9270c1a72537cf9689e2957158 OOo_2.0.2rc1_060213_LinuxIntel_langpack_pt-BR.tar.gz 28540304
+MD5 eff4ae519bd8ca60f493be6486984d8d OOo_2.0.2rc1_060213_LinuxIntel_langpack_ru.tar.gz 31299570
+RMD160 ba30ac27fa2a3e76fe00aab925a7ad97a6160aad OOo_2.0.2rc1_060213_LinuxIntel_langpack_ru.tar.gz 31299570
+SHA256 2b59080af92bd995d1fc05e91a9d0cec6b15b26323b472a3434d5f8797bf3198 OOo_2.0.2rc1_060213_LinuxIntel_langpack_ru.tar.gz 31299570
+MD5 b8ddd3d375661d26f321f7fe15de0b62 OOo_2.0.2rc1_060213_LinuxIntel_langpack_rw.tar.gz 27570971
+RMD160 e623925fd18c885416a828d884ee85e763f95477 OOo_2.0.2rc1_060213_LinuxIntel_langpack_rw.tar.gz 27570971
+SHA256 a4aa4ae0390e52a630556d9eaaddf42c4e7c75b0b250200e42e19e6c27fa726f OOo_2.0.2rc1_060213_LinuxIntel_langpack_rw.tar.gz 27570971
+MD5 fef41e70234045610f8579b7064845cf OOo_2.0.2rc1_060213_LinuxIntel_langpack_sh-YU.tar.gz 26849932
+RMD160 75d647be10a42023ddebaacf6d31b10329feb841 OOo_2.0.2rc1_060213_LinuxIntel_langpack_sh-YU.tar.gz 26849932
+SHA256 b33ea28fa7ee183964b4b018128f394d6198a9ddafaef2e5c77878ff4335c6f0 OOo_2.0.2rc1_060213_LinuxIntel_langpack_sh-YU.tar.gz 26849932
+MD5 6dd735f6eb943569c0381d7f15f0fc3d OOo_2.0.2rc1_060213_LinuxIntel_langpack_sk.tar.gz 28395099
+RMD160 09c273cc72af75d430579b9a246fbc48f1ab4e7a OOo_2.0.2rc1_060213_LinuxIntel_langpack_sk.tar.gz 28395099
+SHA256 d894d440b04973de8865f3b2e10c780547a8046addc69e80ca9c2a41377fc169 OOo_2.0.2rc1_060213_LinuxIntel_langpack_sk.tar.gz 28395099
+MD5 34dc9bde054415d5c7eee5734adcbf7e OOo_2.0.2rc1_060213_LinuxIntel_langpack_sl.tar.gz 27592887
+RMD160 e096c70a3fc5861ec5e3daf01677ab28196ca617 OOo_2.0.2rc1_060213_LinuxIntel_langpack_sl.tar.gz 27592887
+SHA256 80baff719c3d9fc19431f867766b396897e8a8d9afbe118f36a2f6081cdf19e2 OOo_2.0.2rc1_060213_LinuxIntel_langpack_sl.tar.gz 27592887
+MD5 0615ce77838506e38e0e430f739ad6b9 OOo_2.0.2rc1_060213_LinuxIntel_langpack_sr-CS.tar.gz 26959853
+RMD160 8f70dc905ecb501ccca4abe3f700f18c3a29cbe5 OOo_2.0.2rc1_060213_LinuxIntel_langpack_sr-CS.tar.gz 26959853
+SHA256 cc4c3c6f349567996b18b41b7171197223a10dc161ab4c1e990a07b373514996 OOo_2.0.2rc1_060213_LinuxIntel_langpack_sr-CS.tar.gz 26959853
+MD5 34bbcda77ca86499a74efa5316ac69b3 OOo_2.0.2rc1_060213_LinuxIntel_langpack_st.tar.gz 26939720
+RMD160 482273944455d3e554a4b962b6ffc4ad48ad32dc OOo_2.0.2rc1_060213_LinuxIntel_langpack_st.tar.gz 26939720
+SHA256 6ea124347e00c694f996263c97b121adcb7c70b54c5fe5b91dae89da8aa50534 OOo_2.0.2rc1_060213_LinuxIntel_langpack_st.tar.gz 26939720
+MD5 79ca7e869c292af2864686e350556d21 OOo_2.0.2rc1_060213_LinuxIntel_langpack_sv.tar.gz 27937933
+RMD160 5f6d6f0cabacb4518f9421bae5e37eac6d5e62af OOo_2.0.2rc1_060213_LinuxIntel_langpack_sv.tar.gz 27937933
+SHA256 a535417ecdf3ceabe08c495050a041c7ce21e637091664db73f7c2947ec0a99a OOo_2.0.2rc1_060213_LinuxIntel_langpack_sv.tar.gz 27937933
+MD5 496c60740019f0cc239f438a25573628 OOo_2.0.2rc1_060213_LinuxIntel_langpack_sw-TZ.tar.gz 27192153
+RMD160 7b66623f60c914feaf3edbb152e7dcf34486f20e OOo_2.0.2rc1_060213_LinuxIntel_langpack_sw-TZ.tar.gz 27192153
+SHA256 eab99bbd603f443bf0ea0ee84bade5a2ee31054f01f1bd963202bb264f8650e0 OOo_2.0.2rc1_060213_LinuxIntel_langpack_sw-TZ.tar.gz 27192153
+MD5 773838409de5a4b489a2cdb46c92ea3f OOo_2.0.2rc1_060213_LinuxIntel_langpack_th.tar.gz 27030617
+RMD160 fa80c3d0701eee549eb06cdbfe4a961bf03ba1a5 OOo_2.0.2rc1_060213_LinuxIntel_langpack_th.tar.gz 27030617
+SHA256 d0c6b299b31d10a85d0f60e7435cbe09e5f97c1661dc70d30511dcee0ff80304 OOo_2.0.2rc1_060213_LinuxIntel_langpack_th.tar.gz 27030617
+MD5 0135cc525c54dda22abf1a8caf737dbd OOo_2.0.2rc1_060213_LinuxIntel_langpack_tr.tar.gz 27388975
+RMD160 5d593d0a45c08a4bb1a256ed377b6336f61d96e3 OOo_2.0.2rc1_060213_LinuxIntel_langpack_tr.tar.gz 27388975
+SHA256 680ca076e1ded9fe7e42d025b2e4be08b78316444a65eaca81e5ab236bd14022 OOo_2.0.2rc1_060213_LinuxIntel_langpack_tr.tar.gz 27388975
+MD5 badeef001ed36d7763ea33d4668eaf54 OOo_2.0.2rc1_060213_LinuxIntel_langpack_vi.tar.gz 26948821
+RMD160 f6be36ffb109b321d229a732f0f87b81fe2ad1f4 OOo_2.0.2rc1_060213_LinuxIntel_langpack_vi.tar.gz 26948821
+SHA256 86ea99fc70961024e9e27c393bd7634da09b26498309f4f6d89ab0a259e05235 OOo_2.0.2rc1_060213_LinuxIntel_langpack_vi.tar.gz 26948821
+MD5 0c16ad786860ec6a17a9a1128f03d8a5 OOo_2.0.2rc1_060213_LinuxIntel_langpack_zh-CN.tar.gz 28625860
+RMD160 0780f7b1678aa9a6d777a9f6db6bcc937d6bf28e OOo_2.0.2rc1_060213_LinuxIntel_langpack_zh-CN.tar.gz 28625860
+SHA256 b0bde08b2e1ec21bcb13b713756153b9280d48c9810cef1e9dc5a2dbea2752fa OOo_2.0.2rc1_060213_LinuxIntel_langpack_zh-CN.tar.gz 28625860
+MD5 1998105972e3ab688d2b855de689886d OOo_2.0.2rc1_060213_LinuxIntel_langpack_zh-TW.tar.gz 28928887
+RMD160 776a3d155612cdecc50e40d9cfe25af36ae3f900 OOo_2.0.2rc1_060213_LinuxIntel_langpack_zh-TW.tar.gz 28928887
+SHA256 0279c91b1ab69140b57e360cb863084c71ea32046b90d8995fea7eb5c207669a OOo_2.0.2rc1_060213_LinuxIntel_langpack_zh-TW.tar.gz 28928887
+MD5 c3b2308f66cdd294acc1175a2faf7976 OOo_2.0.2rc1_060213_LinuxIntel_langpack_zu.tar.gz 27053336
+RMD160 491b647cb471d6744d0f7ad09f3e224c2b4ecb6a OOo_2.0.2rc1_060213_LinuxIntel_langpack_zu.tar.gz 27053336
+SHA256 4e7725c5730fc356ac756855f9f8aabe4883693888572c2818da1d2b64609618 OOo_2.0.2rc1_060213_LinuxIntel_langpack_zu.tar.gz 27053336
+MD5 b50ba8cbd40e70570fe41232cde6df4d openoffice.org-ar-2.0.2-1.i586.tar.gz 13467729
+RMD160 995fa3df1598f61ffb8652320d378df89adad79d openoffice.org-ar-2.0.2-1.i586.tar.gz 13467729
+SHA256 d28e0d57bccf1ae2ddeef844df96ce7740e8863152530ed55aae81cb1b042942 openoffice.org-ar-2.0.2-1.i586.tar.gz 13467729
+MD5 ccdf2023d1487674aad301ae96679fa2 openoffice.org-bn-2.0.2-1.i586.tar.gz 13430044
+RMD160 53507918f5da42f4adc722e06d773b0fe42a4c23 openoffice.org-bn-2.0.2-1.i586.tar.gz 13430044
+SHA256 d38d5a21bbf53ee5c5f89ed75772cf13c1feaf2f437cd66b2296e24252d97021 openoffice.org-bn-2.0.2-1.i586.tar.gz 13430044
+MD5 17373be45bf553f5b611abb993dd479e openoffice.org-br-2.0.2-1.i586.tar.gz 13394733
+RMD160 fc469fd75a9a20576f9835b3a86a7d186425c173 openoffice.org-br-2.0.2-1.i586.tar.gz 13394733
+SHA256 e8ebf711ae9fb8a06d1c217ecdf088ca9c0ce33b1e14dcb01ab56e2030f1e96a openoffice.org-br-2.0.2-1.i586.tar.gz 13394733
+MD5 b4937525f106213ae68a4e87688c9f82 openoffice.org-fa-2.0.2-1.i586.tar.gz 13433657
+RMD160 bec6ac787aef9bee17b4b7242e8b90fef45522f9 openoffice.org-fa-2.0.2-1.i586.tar.gz 13433657
+SHA256 953592bbb9c5f45b92f85d91bd459826401de0668a9bd7bd93dcfc2c4e73df2f openoffice.org-fa-2.0.2-1.i586.tar.gz 13433657
+MD5 8a1b733659981c6eca0b83bf08e8844b openoffice.org-ga-2.0.2-1.i586.tar.gz 13585187
+RMD160 6e0ac702f642b459f8898b0d09d1283c3dad6968 openoffice.org-ga-2.0.2-1.i586.tar.gz 13585187
+SHA256 1cbd7d15b18641c7874f77e1de6b658c25b0d77a383d9201ecd212c196c7c9f1 openoffice.org-ga-2.0.2-1.i586.tar.gz 13585187
+MD5 17e1fe57437c1a72712b4e0c1292ba69 openoffice.org-lo-2.0.2-1.i586.tar.gz 13465217
+RMD160 92cc410ad5ad7051c6695c7f68c95b043c5fd039 openoffice.org-lo-2.0.2-1.i586.tar.gz 13465217
+SHA256 8e33b0f46adcbafe3233c2656d50248febe4eb350532964d0742e2c29a0adca8 openoffice.org-lo-2.0.2-1.i586.tar.gz 13465217
+MD5 6a5b2079f42bf4bac37858ef893e23c2 openoffice.org-lv-2.0.2-1.i586.tar.gz 13439682
+RMD160 f24792aa3788e09ee041d763df1bcc35f4d97ec5 openoffice.org-lv-2.0.2-1.i586.tar.gz 13439682
+SHA256 19fdb9313cacf57868d3e9699779c22647f99d3b86dc8e28b9be34b6a342f6e1 openoffice.org-lv-2.0.2-1.i586.tar.gz 13439682
+MD5 7f158284d143f69351a1cfcd3c80cec4 openoffice.org-ne-2.0.2-1.i586.tar.gz 13438787
+RMD160 083c31edeb27cb5fa2303b65252f2067e483d74a openoffice.org-ne-2.0.2-1.i586.tar.gz 13438787
+SHA256 8b36762e7be5326d67016a44d83856445eca119f53202d2b08649d85c2bad771 openoffice.org-ne-2.0.2-1.i586.tar.gz 13438787
+MD5 b9576ddcad487a32d85093e94febeed5 openoffice.org-nr-2.0.2-1.i586.tar.gz 13473656
+RMD160 bbff4cb5e6dec64b311e0ed904aa8ab2de71447a openoffice.org-nr-2.0.2-1.i586.tar.gz 13473656
+SHA256 7142ea917f874efb7db90e4bd12130c484810780523561b1d507a1f5691ce97d openoffice.org-nr-2.0.2-1.i586.tar.gz 13473656
+MD5 437461b812c1f051fe907d0059df40a8 openoffice.org-tn-2.0.2-1.i586.tar.gz 13442394
+RMD160 71fbab1df1543e2644b22c76a6b3445e99990b2f openoffice.org-tn-2.0.2-1.i586.tar.gz 13442394
+SHA256 9781d86e92d6575068fd42e8e1ee6a5be4a68655404eda77e5eddfa01067409b openoffice.org-tn-2.0.2-1.i586.tar.gz 13442394
+MD5 29c9182716f3204568dbcfae7e32d988 openoffice.org-ts-2.0.2-1.i586.tar.gz 13466562
+RMD160 1a82569eaa52466e3d67831a167d6ffc693c190f openoffice.org-ts-2.0.2-1.i586.tar.gz 13466562
+SHA256 3fb33aabdf1a9f874e67b1b39104183372aa78ab4c7062c193e99774f2d46136 openoffice.org-ts-2.0.2-1.i586.tar.gz 13466562
+MD5 341d2ff26064085d4c2946508a3c0966 openoffice.org-xh-2.0.2-1.i586.tar.gz 13523467
+RMD160 03e8e9656adb34da61d1d36c8b3fa7b569a50dfe openoffice.org-xh-2.0.2-1.i586.tar.gz 13523467
+SHA256 ea14bc77b8ab3977363459ceda1f7992b2ae643bb137ff15601732c080d2caa7 openoffice.org-xh-2.0.2-1.i586.tar.gz 13523467
--- /dev/null
+# 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.2_rc1.ebuild,v 1.1 2006/02/16 21:45:57 suka Exp $
+
+inherit eutils fdo-mime rpm multilib
+
+IUSE="gnome java"
+
+MY_PV="${PV/_/}"
+MY_PV2="${MY_PV}_060213"
+MY_PV3="${PV/_rc1/}-1"
+S="${WORKDIR}/OOB680_m1_native_packed-1_en-US.9006/RPMS"
+DESCRIPTION="OpenOffice productivity suite"
+
+LANGPACK="OOo_${MY_PV2}_LinuxIntel_langpack"
+LANGPACKPATH="http://62.156.160.56/pub/OpenOffice.org/${MY_PV}/${LANGPACK}"
+LANGLOC="http://ftp.linux.cz/pub/localization/OpenOffice.org/devel/680/OOB680_m1/Build-1/OOo_OOB680_m1_native_LinuxIntel_langpacks_rpm/"
+LANGSUFFIX="${MY_PV3}.i586.tar.gz"
+
+SRC_URI="mirror://openoffice/contrib/rc/${MY_PV}/OOo_${MY_PV2}_LinuxIntel_install.tar.gz
+ linguas_af? ( ${LANGPACKPATH}_af.tar.gz )
+ linguas_ar? ( ${LANGLOC}/openoffice.org-ar-${LANGSUFFIX} )
+ linguas_be_BY? ( ${LANGPACKPATH}_be-BY.tar.gz )
+ linguas_bg? ( ${LANGPACKPATH}_bg.tar.gz )
+ linguas_bn? ( ${LANGLOC}/openoffice.org-bn-${LANGSUFFIX} )
+ linguas_br? ( ${LANGLOC}/openoffice.org-br-${LANGSUFFIX} )
+ linguas_bs? ( ${LANGPACKPATH}_bs.tar.gz )
+ linguas_ca? ( ${LANGPACKPATH}_ca.tar.gz )
+ linguas_cs? ( ${LANGPACKPATH}_cs.tar.gz )
+ linguas_cy? ( ${LANGPACKPATH}_cy.tar.gz )
+ linguas_da? ( ${LANGPACKPATH}_da.tar.gz )
+ linguas_de? ( ${LANGPACKPATH}_de.tar.gz )
+ linguas_el? ( ${LANGPACKPATH}_el.tar.gz )
+ linguas_en_GB? ( ${LANGPACKPATH}_en-GB.tar.gz )
+ linguas_en_ZA? ( ${LANGPACKPATH}_en-ZA.tar.gz )
+ linguas_es? ( ${LANGPACKPATH}_es.tar.gz )
+ linguas_et? ( ${LANGPACKPATH}_et.tar.gz )
+ linguas_fa? ( ${LANGLOC}/openoffice.org-fa-${LANGSUFFIX} )
+ linguas_fi? ( ${LANGPACKPATH}_fi.tar.gz )
+ linguas_fr? ( ${LANGPACKPATH}_fr.tar.gz )
+ linguas_ga? ( ${LANGLOC}/openoffice.org-ga-${LANGSUFFIX} )
+ linguas_gu_IN? ( ${LANGPACKPATH}_gu-IN.tar.gz )
+ linguas_hi_IN? ( ${LANGPACKPATH}_hi-IN.tar.gz )
+ linguas_hr? ( ${LANGPACKPATH}_hr.tar.gz )
+ linguas_hu? ( ${LANGPACKPATH}_hu.tar.gz )
+ linguas_it? ( ${LANGPACKPATH}_it.tar.gz )
+ linguas_ja? ( ${LANGPACKPATH}_ja.tar.gz )
+ linguas_km? ( ${LANGPACKPATH}_km.tar.gz )
+ linguas_ko? ( ${LANGPACKPATH}_ko.tar.gz )
+ linguas_lo? ( ${LANGLOC}/openoffice.org-lo-${LANGSUFFIX} )
+ linguas_lt? ( ${LANGPACKPATH}_lt.tar.gz )
+ linguas_lv? ( ${LANGLOC}/openoffice.org-lv-${LANGSUFFIX} )
+ linguas_mk? ( ${LANGPACKPATH}_mk.tar.gz )
+ linguas_nb? ( ${LANGPACKPATH}_nb.tar.gz )
+ linguas_ne? ( ${LANGLOC}/openoffice.org-ne-${LANGSUFFIX} )
+ linguas_nl? ( ${LANGPACKPATH}_nl.tar.gz )
+ linguas_nn? ( ${LANGPACKPATH}_nn.tar.gz )
+ linguas_nr? ( ${LANGLOC}/openoffice.org-nr-${LANGSUFFIX} )
+ linguas_ns? ( ${LANGPACKPATH}_ns.tar.gz )
+ linguas_pa_IN? ( ${LANGPACKPATH}_pa-IN.tar.gz )
+ linguas_pl? ( ${LANGPACKPATH}_pl.tar.gz )
+ linguas_pt_BR? ( ${LANGPACKPATH}_pt-BR.tar.gz )
+ linguas_ru? ( ${LANGPACKPATH}_ru.tar.gz )
+ linguas_rw? ( ${LANGPACKPATH}_rw.tar.gz )
+ linguas_sh_YU? ( ${LANGPACKPATH}_sh-YU.tar.gz )
+ linguas_sk? ( ${LANGPACKPATH}_sk.tar.gz )
+ linguas_sl? ( ${LANGPACKPATH}_sl.tar.gz )
+ linguas_sr_CS? ( ${LANGPACKPATH}_sr-CS.tar.gz )
+ linguas_st? ( ${LANGPACKPATH}_st.tar.gz )
+ linguas_sv? ( ${LANGPACKPATH}_sv.tar.gz )
+ linguas_sw_TZ? ( ${LANGPACKPATH}_sw-TZ.tar.gz )
+ linguas_th? ( ${LANGPACKPATH}_th.tar.gz )
+ linguas_tn? ( ${LANGLOC}/openoffice.org-tn-${LANGSUFFIX} )
+ linguas_tr? ( ${LANGPACKPATH}_tr.tar.gz )
+ linguas_ts? ( ${LANGLOC}/openoffice.org-ts-${LANGSUFFIX} )
+ linguas_vi? ( ${LANGPACKPATH}_vi.tar.gz )
+ linguas_xh? ( ${LANGLOC}/openoffice.org-xh-${LANGSUFFIX} )
+ linguas_zh_CN? ( ${LANGPACKPATH}_zh-CN.tar.gz )
+ linguas_zh_TW? ( ${LANGPACKPATH}_zh-TW.tar.gz )
+ linguas_zu? ( ${LANGPACKPATH}_zu.tar.gz )"
+
+HOMEPAGE="http://www.openoffice.org/"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+RDEPEND="!app-office/openoffice
+ || ( x11-libs/libXaw virtual/x11 )
+ sys-libs/glibc
+ >=dev-lang/perl-5.0
+ app-arch/zip
+ app-arch/unzip
+ java? ( !amd64? ( >=virtual/jre-1.4.1 )
+ 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"
+
+PROVIDE="virtual/ooo"
+
+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 spellcheck 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.2-0.noarch.rpm
+
+ use gnome && rpm_unpack ${S}/openoffice.org-gnome-integration-${MY_PV3}.i586.rpm
+ use java && rpm_unpack ${S}/openoffice.org-javafilter-${MY_PV3}.i586.rpm
+
+ strip-linguas en af ar be_BY bg bn br bs ca cs cy da de el en_GB en_ZA es et fa fi fr ga gu_IN hi_IN hr hu it ja km ko lo lt lv mk nb ne nl nn nr ns pa_IN pl pt_BR ru rw sh_YU sk sl sr_CS st sv sw_TZ th tn tr ts vi xh zh_CN zh_TW zu
+
+ for i in ${LINGUAS}; do
+ i="${i/_/-}"
+
+ #workaround for upstream packaging mismatch
+ if [ -d ${WORKDIR}/OOB680_m1_native_packed-1_${i}.9006 ] ; then
+ tar -xzf ${WORKDIR}/OOB680_m1_native_packed-1_${i}.9006/RPMS/openoffice.org-${i}-${LANGSUFFIX} || die
+ fi
+
+ if [ ${i} != "en" ] ; then
+ rpm_unpack openoffice.org-${i}-${MY_PV3}.i586.rpm
+ rpm_unpack openoffice.org-${i}-help-${MY_PV3}.i586.rpm
+ rpm_unpack 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
+}
+
+pkg_postinst() {
+
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+
+ [ -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"
+}