diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2006-09-10 18:33:24 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2006-09-10 18:33:24 +0000 |
commit | 3b3af83c29611a75713647633fbc32342153dee6 (patch) | |
tree | 358d7179ab745df0f60cefdf5d48cec1782a6be5 /app-office | |
parent | Added ~x86-fbsd keyword. (diff) | |
download | gentoo-2-3b3af83c29611a75713647633fbc32342153dee6.tar.gz gentoo-2-3b3af83c29611a75713647633fbc32342153dee6.tar.bz2 gentoo-2-3b3af83c29611a75713647633fbc32342153dee6.zip |
First RC for openoffice-bin-2.0.4
(Portage version: 2.1.1)
Diffstat (limited to 'app-office')
5 files changed, 480 insertions, 1 deletions
diff --git a/app-office/openoffice-bin/ChangeLog b/app-office/openoffice-bin/ChangeLog index 72d34157b4e5..63395470b788 100644 --- a/app-office/openoffice-bin/ChangeLog +++ b/app-office/openoffice-bin/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-office/openoffice-bin # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.140 2006/07/16 06:35:34 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.141 2006/09/10 18:33:24 suka Exp $ + +*openoffice-bin-2.0.4_rc1 (10 Sep 2006) + + 10 Sep 2006; Andreas Proschofsky <suka@gentoo.org> + +files/2.0.4_rc1/50-openoffice-bin, +files/2.0.4_rc1/ooo-wrapper2, + +openoffice-bin-2.0.4_rc1.ebuild: + First Release Candidate for OpenOffice.org 2.0.4 16 Jul 2006; Andreas Proschofsky <suka@gentoo.org> -files/2.0.2/ooo-wrapper2, -openoffice-bin-2.0.2.ebuild: diff --git a/app-office/openoffice-bin/files/2.0.4_rc1/50-openoffice-bin b/app-office/openoffice-bin/files/2.0.4_rc1/50-openoffice-bin new file mode 100644 index 000000000000..6b16e47f0187 --- /dev/null +++ b/app-office/openoffice-bin/files/2.0.4_rc1/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_rc1/ooo-wrapper2 b/app-office/openoffice-bin/files/2.0.4_rc1/ooo-wrapper2 new file mode 100755 index 000000000000..5f4e4bae055d --- /dev/null +++ b/app-office/openoffice-bin/files/2.0.4_rc1/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_rc1 b/app-office/openoffice-bin/files/digest-openoffice-bin-2.0.4_rc1 new file mode 100644 index 000000000000..ffd79ce57c73 --- /dev/null +++ b/app-office/openoffice-bin/files/digest-openoffice-bin-2.0.4_rc1 @@ -0,0 +1,195 @@ +MD5 139a4385a8cdefd11653a76e60707105 OOo_2.0.4rc1_060904_LinuxIntel_install.tar.gz 126523245 +RMD160 91b891d0d7f8537220593a255b6afeb610110cfd OOo_2.0.4rc1_060904_LinuxIntel_install.tar.gz 126523245 +SHA256 eeeb2bbb417e1ad030af22c1e386015d32328b792149783d276763b7da803ffb OOo_2.0.4rc1_060904_LinuxIntel_install.tar.gz 126523245 +MD5 12dd1b09ce224d87fff8e52f04301fe7 OOo_2.0.4rc1_060904_LinuxIntel_langpack_af.tar.gz 13419803 +RMD160 c90b641c66a99998c917fdad74de121e3ee642a5 OOo_2.0.4rc1_060904_LinuxIntel_langpack_af.tar.gz 13419803 +SHA256 e8433c3bbc1e11a9b9331b8405a35c2d00dad28a800393484647485c1cd7cec1 OOo_2.0.4rc1_060904_LinuxIntel_langpack_af.tar.gz 13419803 +MD5 272a303bd3f9fb43d326e14f74319ea3 OOo_2.0.4rc1_060904_LinuxIntel_langpack_as-IN.tar.gz 13472019 +RMD160 53ec4506a846e64572daeffe56aebdcffe6ea697 OOo_2.0.4rc1_060904_LinuxIntel_langpack_as-IN.tar.gz 13472019 +SHA256 4a701e897935b18d15412906fefd2473e7ba90ada111a7735ff36f2ba851c95a OOo_2.0.4rc1_060904_LinuxIntel_langpack_as-IN.tar.gz 13472019 +MD5 554ace27ba15fc2af1ad6a6fd9186899 OOo_2.0.4rc1_060904_LinuxIntel_langpack_be-BY.tar.gz 13468197 +RMD160 949496cd1379d3c4dc16a9600f7ea667706ab44d OOo_2.0.4rc1_060904_LinuxIntel_langpack_be-BY.tar.gz 13468197 +SHA256 b6c534801e4d81817c99d91d606e0c04886128029c8d27205b77b6c157d052ca OOo_2.0.4rc1_060904_LinuxIntel_langpack_be-BY.tar.gz 13468197 +MD5 a7cac35ae7fc518c3b7bb0b3c2bba761 OOo_2.0.4rc1_060904_LinuxIntel_langpack_bg.tar.gz 14542923 +RMD160 5e836ba62568b53cdefe253ee86dff2e0d1c663f OOo_2.0.4rc1_060904_LinuxIntel_langpack_bg.tar.gz 14542923 +SHA256 05289b18dc45f52a1daf7130081c4bf7e38393affce379d3925ff5a25e9d2b42 OOo_2.0.4rc1_060904_LinuxIntel_langpack_bg.tar.gz 14542923 +MD5 2aca650e11c3f7eee22c3ad62587da1a OOo_2.0.4rc1_060904_LinuxIntel_langpack_bs.tar.gz 13413242 +RMD160 ac2524cdc440bb6e0fe164eb1fea1758cedcffb2 OOo_2.0.4rc1_060904_LinuxIntel_langpack_bs.tar.gz 13413242 +SHA256 705da45f06b8d29dc84de1df435a499091fd03927016ca24ad2b90a6ef1bcf29 OOo_2.0.4rc1_060904_LinuxIntel_langpack_bs.tar.gz 13413242 +MD5 5f1335887436a6e8d0dd784ecf903133 OOo_2.0.4rc1_060904_LinuxIntel_langpack_ca.tar.gz 13455579 +RMD160 c669f4948b8b6415fb4031027fd9c9b9fc7b3b9c OOo_2.0.4rc1_060904_LinuxIntel_langpack_ca.tar.gz 13455579 +SHA256 32f804dc85ef14dc2aef930b730d893afe32328246c17acde42caa02869ecebe OOo_2.0.4rc1_060904_LinuxIntel_langpack_ca.tar.gz 13455579 +MD5 097a9ab541e78ab4a5633086dcdd3763 OOo_2.0.4rc1_060904_LinuxIntel_langpack_cs.tar.gz 14064821 +RMD160 00b9c27f27cbe46f70b6a5432fd374209023e94a OOo_2.0.4rc1_060904_LinuxIntel_langpack_cs.tar.gz 14064821 +SHA256 4c53084771673f70c5d2ed09c8c84822fe9554ec555ccbc051293181e30cc174 OOo_2.0.4rc1_060904_LinuxIntel_langpack_cs.tar.gz 14064821 +MD5 81fdfa0dc401592fc4b68e6d51147a35 OOo_2.0.4rc1_060904_LinuxIntel_langpack_cy.tar.gz 13391562 +RMD160 aefca422679814ce84a4873ecaeae14ab733ab8f OOo_2.0.4rc1_060904_LinuxIntel_langpack_cy.tar.gz 13391562 +SHA256 98075c68c132cb943a637465f3efdba5c6c802e2202755a6fb08c8fcfc7bb69c OOo_2.0.4rc1_060904_LinuxIntel_langpack_cy.tar.gz 13391562 +MD5 bdf8da80a6682abe7192a85156ed4d98 OOo_2.0.4rc1_060904_LinuxIntel_langpack_da.tar.gz 13927750 +RMD160 fca8f684061241a4dc758a13b36718e7efd1725c OOo_2.0.4rc1_060904_LinuxIntel_langpack_da.tar.gz 13927750 +SHA256 8cff83f69816af49ad6cea126bf4c732bd20d670df470d3f1813c49af6c2302c OOo_2.0.4rc1_060904_LinuxIntel_langpack_da.tar.gz 13927750 +MD5 7ffc68eb392ff7222dd55fb8bfe562cf OOo_2.0.4rc1_060904_LinuxIntel_langpack_de.tar.gz 14829040 +RMD160 4962726b1740946ac058dc0f8c11a09a22c7106b OOo_2.0.4rc1_060904_LinuxIntel_langpack_de.tar.gz 14829040 +SHA256 2a8cf481ce6ca078be9607fa9db6a07d237dec0c7da6c379bfd06ac6f5fe0b75 OOo_2.0.4rc1_060904_LinuxIntel_langpack_de.tar.gz 14829040 +MD5 5e86e48f9dd9376a6bccb2f9bd7febfe OOo_2.0.4rc1_060904_LinuxIntel_langpack_el.tar.gz 13985947 +RMD160 7822b783b8d1c32a149c7d6afb0b9add862ed132 OOo_2.0.4rc1_060904_LinuxIntel_langpack_el.tar.gz 13985947 +SHA256 c8de1358b32e1f4adc421408d924fb2780e8180a6aab656bd0d0ecedb1748f76 OOo_2.0.4rc1_060904_LinuxIntel_langpack_el.tar.gz 13985947 +MD5 ae26d36d0d106edd32d78644237ca46d OOo_2.0.4rc1_060904_LinuxIntel_langpack_en-GB.tar.gz 13463739 +RMD160 a17ccb0a2ae4ac36c850d6a4afe16794bde57abb OOo_2.0.4rc1_060904_LinuxIntel_langpack_en-GB.tar.gz 13463739 +SHA256 d5066b479bf37b6e487ab9c6cd5d4df90c55e8c51f6992e77ff0c45c95cd8cc8 OOo_2.0.4rc1_060904_LinuxIntel_langpack_en-GB.tar.gz 13463739 +MD5 c1992882e3722262160e2442f6af4efd OOo_2.0.4rc1_060904_LinuxIntel_langpack_en-ZA.tar.gz 13368288 +RMD160 2fefb8f1a5dc594f0063a53a360eb00b40aba0fb OOo_2.0.4rc1_060904_LinuxIntel_langpack_en-ZA.tar.gz 13368288 +SHA256 065527713adb24f79854146012fff3851220982364c3807aa551677f1b078f55 OOo_2.0.4rc1_060904_LinuxIntel_langpack_en-ZA.tar.gz 13368288 +MD5 b40d5847adb8ed959cd818f45457f107 OOo_2.0.4rc1_060904_LinuxIntel_langpack_es.tar.gz 14189783 +RMD160 827ba6c4d3fb192bf36a28e39532aae4ac44856e OOo_2.0.4rc1_060904_LinuxIntel_langpack_es.tar.gz 14189783 +SHA256 26d6a1cac1e961413c52d0802dd4b6a404a0412624e67e72cfd5ed9eb700d7ad OOo_2.0.4rc1_060904_LinuxIntel_langpack_es.tar.gz 14189783 +MD5 1c67fd1e5c71b408e219af1175d363f1 OOo_2.0.4rc1_060904_LinuxIntel_langpack_et.tar.gz 14092374 +RMD160 3d606668b8ba9eb69052763d5475e5757c9e34bb OOo_2.0.4rc1_060904_LinuxIntel_langpack_et.tar.gz 14092374 +SHA256 99508f26269591ed3317de402ed91e6bcb3d3074c1eea409004cd7b6c7f069e0 OOo_2.0.4rc1_060904_LinuxIntel_langpack_et.tar.gz 14092374 +MD5 0e29efb56f05ce47a93f7badfd228fa5 OOo_2.0.4rc1_060904_LinuxIntel_langpack_fa.tar.gz 13483230 +RMD160 8ea0ad2b35052118d2f1ec687e2c5c4780376783 OOo_2.0.4rc1_060904_LinuxIntel_langpack_fa.tar.gz 13483230 +SHA256 2af297914af13dd5c9f64dcca8a603ee74b18f5a74217dea9b108469a35d58dd OOo_2.0.4rc1_060904_LinuxIntel_langpack_fa.tar.gz 13483230 +MD5 9bad2103f4016f4a06bb3faa279a8dda OOo_2.0.4rc1_060904_LinuxIntel_langpack_fi.tar.gz 13437833 +RMD160 95c6bb24ca32897ad06770cdebc0ceacd032bd9c OOo_2.0.4rc1_060904_LinuxIntel_langpack_fi.tar.gz 13437833 +SHA256 9e5c6d0bf51178370ea58064c9488754766294b7dd6fbb7f554d1137574636d4 OOo_2.0.4rc1_060904_LinuxIntel_langpack_fi.tar.gz 13437833 +MD5 fd3bbc9eea9e8b8902104a3d2907e331 OOo_2.0.4rc1_060904_LinuxIntel_langpack_fr.tar.gz 14446059 +RMD160 9172cb012976be2fa771a9988a4241b3995e4464 OOo_2.0.4rc1_060904_LinuxIntel_langpack_fr.tar.gz 14446059 +SHA256 ec4ceef40bc1eb58d2529718a8b0a82172965310a80aacf50482d57314a64f06 OOo_2.0.4rc1_060904_LinuxIntel_langpack_fr.tar.gz 14446059 +MD5 466b314fb16ce005892c7162a31b8ad7 OOo_2.0.4rc1_060904_LinuxIntel_langpack_gu-IN.tar.gz 13487545 +RMD160 85bbd487f08027954efa7d743688bbb228b8dfea OOo_2.0.4rc1_060904_LinuxIntel_langpack_gu-IN.tar.gz 13487545 +SHA256 3857bf7fcd1140b21e67e573b1c4f0f4ebaacdc245c339dea18c3fb8b5ab5f79 OOo_2.0.4rc1_060904_LinuxIntel_langpack_gu-IN.tar.gz 13487545 +MD5 e2c81ed2911ed9a76b37c91bd210bf1c OOo_2.0.4rc1_060904_LinuxIntel_langpack_he.tar.gz 13440436 +RMD160 a0e2d95931c83ee08ed8756d4a8c5e223172d1f4 OOo_2.0.4rc1_060904_LinuxIntel_langpack_he.tar.gz 13440436 +SHA256 cb1d951886155155251be6f1bca4779731b631ae6f5b333b0d9c3b3ce32cbf70 OOo_2.0.4rc1_060904_LinuxIntel_langpack_he.tar.gz 13440436 +MD5 c82df851246409b01d7f076151294288 OOo_2.0.4rc1_060904_LinuxIntel_langpack_hi-IN.tar.gz 15133711 +RMD160 8015157d101216fba4e891834d7b307337dd3c38 OOo_2.0.4rc1_060904_LinuxIntel_langpack_hi-IN.tar.gz 15133711 +SHA256 8987c2b7a02da2b2385b8f5196de54cacd24e045282647cfffa0eaaf270362ec OOo_2.0.4rc1_060904_LinuxIntel_langpack_hi-IN.tar.gz 15133711 +MD5 5dbec75bfbfe5994f71c3775ba4df6db OOo_2.0.4rc1_060904_LinuxIntel_langpack_hr.tar.gz 13712552 +RMD160 e83cabec809e5a9eafc50dd3c529041e97040850 OOo_2.0.4rc1_060904_LinuxIntel_langpack_hr.tar.gz 13712552 +SHA256 08d806c40c6de9936068ee1589e0c601b5a54e9ab1baae694e3fa79615a9472b OOo_2.0.4rc1_060904_LinuxIntel_langpack_hr.tar.gz 13712552 +MD5 bb6f469563d60784bb66b81be7e4fbfb OOo_2.0.4rc1_060904_LinuxIntel_langpack_hu.tar.gz 14861046 +RMD160 2607f7bc66038b32559150d6abc1e86df70d4f66 OOo_2.0.4rc1_060904_LinuxIntel_langpack_hu.tar.gz 14861046 +SHA256 d94753b005c89c07f7138336207cf57e6c931b7c34c2fe3633fde26c7a4c5ef4 OOo_2.0.4rc1_060904_LinuxIntel_langpack_hu.tar.gz 14861046 +MD5 37dc035f7dea51a98d86e470e11a1642 OOo_2.0.4rc1_060904_LinuxIntel_langpack_it.tar.gz 14217642 +RMD160 1e29c42c66082055164cf10c771fdf0b2a3e77af OOo_2.0.4rc1_060904_LinuxIntel_langpack_it.tar.gz 14217642 +SHA256 7f1a5b30abc9ceb2df1122f1a95d501273b505ce2f5a0f4b3078ab3956a7486d OOo_2.0.4rc1_060904_LinuxIntel_langpack_it.tar.gz 14217642 +MD5 8982afa63af492dfc211a58f1e5a8f88 OOo_2.0.4rc1_060904_LinuxIntel_langpack_ja.tar.gz 14985401 +RMD160 62f25e849e0766bdf09a79e347bc2712d95de8e0 OOo_2.0.4rc1_060904_LinuxIntel_langpack_ja.tar.gz 14985401 +SHA256 25007c5c2a532df8256b7a1276cfff44e48161c20d039abdabe3b2d41ce0b706 OOo_2.0.4rc1_060904_LinuxIntel_langpack_ja.tar.gz 14985401 +MD5 70452da76dadede1e8104f316806489a OOo_2.0.4rc1_060904_LinuxIntel_langpack_km.tar.gz 16262944 +RMD160 ecbe3a1fa7fffd480f577862124ebae5463bb11a OOo_2.0.4rc1_060904_LinuxIntel_langpack_km.tar.gz 16262944 +SHA256 496e4afeb402d0541ac4d625d7db58d5c88c0f4fdff717af6d73f2a1984681ce OOo_2.0.4rc1_060904_LinuxIntel_langpack_km.tar.gz 16262944 +MD5 725a3361976003a0bee66bdc2ed7a049 OOo_2.0.4rc1_060904_LinuxIntel_langpack_ko.tar.gz 14152289 +RMD160 36331e88cb60bd98d0fff8cf19e72589bff402fe OOo_2.0.4rc1_060904_LinuxIntel_langpack_ko.tar.gz 14152289 +SHA256 b75e09f8453d727f1513a60f5821f4333b5836fbeef3f3723280228babcb0a3c OOo_2.0.4rc1_060904_LinuxIntel_langpack_ko.tar.gz 14152289 +MD5 b33382401c18360f64bf84096f1cee17 OOo_2.0.4rc1_060904_LinuxIntel_langpack_lt.tar.gz 13377002 +RMD160 e379497ff746ebcb32a6297a612dedf94a62efea OOo_2.0.4rc1_060904_LinuxIntel_langpack_lt.tar.gz 13377002 +SHA256 3b98278a52cfc9f39311a54df75b39a9e3227e03895c1de5a796d733006da3d1 OOo_2.0.4rc1_060904_LinuxIntel_langpack_lt.tar.gz 13377002 +MD5 8b1037adabafffa299ea1a3f0f43d080 OOo_2.0.4rc1_060904_LinuxIntel_langpack_mk.tar.gz 14644190 +RMD160 ca10cff698b72b8b5d742f0af3bcf0c627675209 OOo_2.0.4rc1_060904_LinuxIntel_langpack_mk.tar.gz 14644190 +SHA256 ba2e63c0bbd7efa37b14f1ff9678ca43147076d337ac0efa4e05c8ccc60d986e OOo_2.0.4rc1_060904_LinuxIntel_langpack_mk.tar.gz 14644190 +MD5 84eadc64d5ca86e6c3b648e4e6196495 OOo_2.0.4rc1_060904_LinuxIntel_langpack_ml-IN.tar.gz 13485921 +RMD160 3c6d8d0fc0a1c010311b3fde5c608dbcc9254b22 OOo_2.0.4rc1_060904_LinuxIntel_langpack_ml-IN.tar.gz 13485921 +SHA256 b7436c6149b0cd0faea4aa352c248933309223b2d8a7fd3405f3d3ef5173689b OOo_2.0.4rc1_060904_LinuxIntel_langpack_ml-IN.tar.gz 13485921 +MD5 a67b1d2802d9537f41f3c6da5ed8c77a OOo_2.0.4rc1_060904_LinuxIntel_langpack_mr-IN.tar.gz 13481317 +RMD160 5ae089298b1d44cb5a86c92b68d320eda3db4ebf OOo_2.0.4rc1_060904_LinuxIntel_langpack_mr-IN.tar.gz 13481317 +SHA256 789dbda85c3c16607a10f3f2cf470f713b40502a83ae39fe3db28c6ae6704b18 OOo_2.0.4rc1_060904_LinuxIntel_langpack_mr-IN.tar.gz 13481317 +MD5 7b0747a1928dfda05d652421d1615e44 OOo_2.0.4rc1_060904_LinuxIntel_langpack_nb.tar.gz 13453125 +RMD160 87c711af59acf464a88950ad6114db9898225478 OOo_2.0.4rc1_060904_LinuxIntel_langpack_nb.tar.gz 13453125 +SHA256 ec78fae61e6ce0e65318a4d9499da4a0e56baebaaf8216eb6366e522532dc28f OOo_2.0.4rc1_060904_LinuxIntel_langpack_nb.tar.gz 13453125 +MD5 81f58d235c26655d06eb084a2d896a2f OOo_2.0.4rc1_060904_LinuxIntel_langpack_nl.tar.gz 14367687 +RMD160 0e6248bec3dd5f0addfccbb77e625b9aeed52688 OOo_2.0.4rc1_060904_LinuxIntel_langpack_nl.tar.gz 14367687 +SHA256 1697e68d4734a7cc1606ce41f22d4d0d5e3a1f5d4ec354f0a62548aa4ecbcd63 OOo_2.0.4rc1_060904_LinuxIntel_langpack_nl.tar.gz 14367687 +MD5 9d896e9229176927bb4cfea6e221dc6a OOo_2.0.4rc1_060904_LinuxIntel_langpack_nn.tar.gz 13424232 +RMD160 5da35bf80790767b2e6072db4964adc8d2aacd80 OOo_2.0.4rc1_060904_LinuxIntel_langpack_nn.tar.gz 13424232 +SHA256 fa592996ef5f7d31fd3b8f3905c098f815205347ce56aedf7588a2b0c56b6257 OOo_2.0.4rc1_060904_LinuxIntel_langpack_nn.tar.gz 13424232 +MD5 83b0e627b0b83c21a7adbdcc0cd73b56 OOo_2.0.4rc1_060904_LinuxIntel_langpack_nr.tar.gz 13468083 +RMD160 c49b0d34e8035773a41a8e50d1614b08c0bb1f74 OOo_2.0.4rc1_060904_LinuxIntel_langpack_nr.tar.gz 13468083 +SHA256 468bc0bf5e3fcece799b314c195f67be1eb4d9c2a819b705816bd59e0a9b936e OOo_2.0.4rc1_060904_LinuxIntel_langpack_nr.tar.gz 13468083 +MD5 322c95ee88a8a5ae0001fbbcb49792e3 OOo_2.0.4rc1_060904_LinuxIntel_langpack_ns.tar.gz 13473622 +RMD160 8a2a65f1895235d461a18182f545f57c1b9e1e4e OOo_2.0.4rc1_060904_LinuxIntel_langpack_ns.tar.gz 13473622 +SHA256 ba3bf3571e428401c3e702f4fa61d6e0b699ab09e3d906887fc0c63dd6d92274 OOo_2.0.4rc1_060904_LinuxIntel_langpack_ns.tar.gz 13473622 +MD5 78108d9a6c37e393a37c010561b6c1f5 OOo_2.0.4rc1_060904_LinuxIntel_langpack_or-IN.tar.gz 13480331 +RMD160 80d56ae54c2e13cdefec8c515866b88e2da1f831 OOo_2.0.4rc1_060904_LinuxIntel_langpack_or-IN.tar.gz 13480331 +SHA256 73f27f86384343e2281aebd85cf9b490032d90de5d5b6fbde54c010e5d24ef8f OOo_2.0.4rc1_060904_LinuxIntel_langpack_or-IN.tar.gz 13480331 +MD5 10123d79ad696f0b05192c01eee9c7ab OOo_2.0.4rc1_060904_LinuxIntel_langpack_pa-IN.tar.gz 13461580 +RMD160 9b7ce417fc1e5fa63cbd7e10f940cb9370e6dbaf OOo_2.0.4rc1_060904_LinuxIntel_langpack_pa-IN.tar.gz 13461580 +SHA256 67285e35a06e003811afed107a890211f227e7fd09eaabd151ad7bc391fa3596 OOo_2.0.4rc1_060904_LinuxIntel_langpack_pa-IN.tar.gz 13461580 +MD5 8a2e29a9283a71887823e3306f1e463d OOo_2.0.4rc1_060904_LinuxIntel_langpack_pl.tar.gz 14411046 +RMD160 36a1cb7f5fe729ca4da6a889b2db7982b9d6748b OOo_2.0.4rc1_060904_LinuxIntel_langpack_pl.tar.gz 14411046 +SHA256 423255f858bd1e8444c6ac0360b58ecc8c9734fa8e59af7b4fa5822297e20845 OOo_2.0.4rc1_060904_LinuxIntel_langpack_pl.tar.gz 14411046 +MD5 b88d146a3c27518a4d9620db74b7014f OOo_2.0.4rc1_060904_LinuxIntel_langpack_pt-BR.tar.gz 14240427 +RMD160 3852005b495bfc9e6f656c3ac553f127c1df095f OOo_2.0.4rc1_060904_LinuxIntel_langpack_pt-BR.tar.gz 14240427 +SHA256 07d48d0de6052222b42f96354f2b804505deeceb64fc231b579a92892b8966dc OOo_2.0.4rc1_060904_LinuxIntel_langpack_pt-BR.tar.gz 14240427 +MD5 b447f1c6236c0dc371754842d162d143 OOo_2.0.4rc1_060904_LinuxIntel_langpack_ru.tar.gz 15550166 +RMD160 7121839ddbe998328856cd846a32bab748779ece OOo_2.0.4rc1_060904_LinuxIntel_langpack_ru.tar.gz 15550166 +SHA256 06f44a7a0182202d94e6a1282d2872cfa09aa1ddbf47f424701cd5fb24e214cc OOo_2.0.4rc1_060904_LinuxIntel_langpack_ru.tar.gz 15550166 +MD5 1b984935c6a4950f554de4f054cd3532 OOo_2.0.4rc1_060904_LinuxIntel_langpack_rw.tar.gz 13747009 +RMD160 1718d0829fee3633f4c412d7813618a1b9388689 OOo_2.0.4rc1_060904_LinuxIntel_langpack_rw.tar.gz 13747009 +SHA256 42aebf780cb351b9221f207f5f069f471ef4a45cf59a67f9d22e5c934312ec62 OOo_2.0.4rc1_060904_LinuxIntel_langpack_rw.tar.gz 13747009 +MD5 a2b9501d210438cfe310742556eb0c39 OOo_2.0.4rc1_060904_LinuxIntel_langpack_sh-YU.tar.gz 13405821 +RMD160 95feb500655ef628f64959d96f540218071637ba OOo_2.0.4rc1_060904_LinuxIntel_langpack_sh-YU.tar.gz 13405821 +SHA256 14fc424d610af5292504e20168373a10cd8e0a693aae021220bfd190079b2416 OOo_2.0.4rc1_060904_LinuxIntel_langpack_sh-YU.tar.gz 13405821 +MD5 fca1e5ba3c7a0b40fa70d5ecd69152e1 OOo_2.0.4rc1_060904_LinuxIntel_langpack_sk.tar.gz 14104646 +RMD160 6d55ff658ed4056d3234732b4e66cbb44d46d86c OOo_2.0.4rc1_060904_LinuxIntel_langpack_sk.tar.gz 14104646 +SHA256 5997e53d3b450d7cd1ef49e64b2feae1cb11a1a392b65cd091f72ca4a0c200cf OOo_2.0.4rc1_060904_LinuxIntel_langpack_sk.tar.gz 14104646 +MD5 2db094f0348a0f1acea6e2e0ba443dea OOo_2.0.4rc1_060904_LinuxIntel_langpack_sl.tar.gz 14342289 +RMD160 2e21e09ff938dd9006e4562817edeb74fdb48691 OOo_2.0.4rc1_060904_LinuxIntel_langpack_sl.tar.gz 14342289 +SHA256 054ef0881ae4c5878acf2bbcfcdb0e89fdc414679b2f47c869bb6ed45c2de227 OOo_2.0.4rc1_060904_LinuxIntel_langpack_sl.tar.gz 14342289 +MD5 d8656eeb3a943752d113ed55d3f11cae OOo_2.0.4rc1_060904_LinuxIntel_langpack_sr-CS.tar.gz 13452871 +RMD160 d39dfd2906625ae39dde7a25d68cdf448d428f68 OOo_2.0.4rc1_060904_LinuxIntel_langpack_sr-CS.tar.gz 13452871 +SHA256 c828e2df5be0de43e7decc15c569cd19dd5223c87f421c86d96d2a1df6518d1b OOo_2.0.4rc1_060904_LinuxIntel_langpack_sr-CS.tar.gz 13452871 +MD5 40312c50bf09ed87b243a1c3e6ab9974 OOo_2.0.4rc1_060904_LinuxIntel_langpack_st.tar.gz 13443631 +RMD160 c5b292a4a76a797ffbb42bf141a700d31c7cb37c OOo_2.0.4rc1_060904_LinuxIntel_langpack_st.tar.gz 13443631 +SHA256 4e3f18e22978a40f13d11f5e9ad3c77b6dee1f2aafed5054a2021a6c60378cad OOo_2.0.4rc1_060904_LinuxIntel_langpack_st.tar.gz 13443631 +MD5 0d6158b10002c3faf1e468868583ffba OOo_2.0.4rc1_060904_LinuxIntel_langpack_sv.tar.gz 13970694 +RMD160 a11f7ea162526c70678707ff99fc92566972a650 OOo_2.0.4rc1_060904_LinuxIntel_langpack_sv.tar.gz 13970694 +SHA256 c7db10ccbabc94597efa2ad4f42663326c61b311822bfba1701e8e14cba13ffe OOo_2.0.4rc1_060904_LinuxIntel_langpack_sv.tar.gz 13970694 +MD5 a8b36df4d0cada4c2464b69f1af33b09 OOo_2.0.4rc1_060904_LinuxIntel_langpack_sw-TZ.tar.gz 13536167 +RMD160 cd38e9b51e67d2af5375ccd676b57cb56c7d2479 OOo_2.0.4rc1_060904_LinuxIntel_langpack_sw-TZ.tar.gz 13536167 +SHA256 2889e3baf7dc7f94f74bc5de4ea7e72f319463e002fa99824b836e99a0017270 OOo_2.0.4rc1_060904_LinuxIntel_langpack_sw-TZ.tar.gz 13536167 +MD5 b72fb8f8a5014b5fd90c812933d8638d OOo_2.0.4rc1_060904_LinuxIntel_langpack_ta-IN.tar.gz 13471264 +RMD160 3069a88ee0a046beab94ae0343a2f43ff58cc0c5 OOo_2.0.4rc1_060904_LinuxIntel_langpack_ta-IN.tar.gz 13471264 +SHA256 5f73bbf83cb3a044f4364802590bcad9e0c1a4de3f23923d0a9cb130c9ac938b OOo_2.0.4rc1_060904_LinuxIntel_langpack_ta-IN.tar.gz 13471264 +MD5 153dabfaf29d3db0f898a912ecafad94 OOo_2.0.4rc1_060904_LinuxIntel_langpack_te-IN.tar.gz 13491412 +RMD160 bef3c8dc2314cfa2d0331223a19d84cd7d714b55 OOo_2.0.4rc1_060904_LinuxIntel_langpack_te-IN.tar.gz 13491412 +SHA256 afe51016ab22b4569402c6861fd7595d8be4e136166a18a007ecbdb8b511abc3 OOo_2.0.4rc1_060904_LinuxIntel_langpack_te-IN.tar.gz 13491412 +MD5 aad3bdd52cc49a7ca9181acaac470d56 OOo_2.0.4rc1_060904_LinuxIntel_langpack_tg.tar.gz 13466635 +RMD160 f35035bec5ee43a0d0fb3b08c7d20b31f8f8cae8 OOo_2.0.4rc1_060904_LinuxIntel_langpack_tg.tar.gz 13466635 +SHA256 ec4b5e51b933cfa6521bbdfd932fad8332ae0fd8f974eaed73993583435db867 OOo_2.0.4rc1_060904_LinuxIntel_langpack_tg.tar.gz 13466635 +MD5 2a821cb3c3014dd413fdb4c300f03427 OOo_2.0.4rc1_060904_LinuxIntel_langpack_th.tar.gz 13857843 +RMD160 dac9dd3cfc31827c45766f6be73e1986b21bb34b OOo_2.0.4rc1_060904_LinuxIntel_langpack_th.tar.gz 13857843 +SHA256 0632ba31fb1e77bf21599384cbfd6c6df18308c07ea3d2007678035f8fb799ee OOo_2.0.4rc1_060904_LinuxIntel_langpack_th.tar.gz 13857843 +MD5 de61a283fa72ca94e51f4a2fa2c2fa97 OOo_2.0.4rc1_060904_LinuxIntel_langpack_ti-ER.tar.gz 13370343 +RMD160 de527e9e5f3ee20005aa9a57a26ecdd30fbc488c OOo_2.0.4rc1_060904_LinuxIntel_langpack_ti-ER.tar.gz 13370343 +SHA256 2b933ca7aceeaa4788d48eb38f09ac2ae7c0ff2ddc137fb311e58dd3a8469a0e OOo_2.0.4rc1_060904_LinuxIntel_langpack_ti-ER.tar.gz 13370343 +MD5 76a588b3896183197ade96f2e9aeb6b1 OOo_2.0.4rc1_060904_LinuxIntel_langpack_tn.tar.gz 13405864 +RMD160 89eae7f88c638a734010e4e0d662f4c9484af33c OOo_2.0.4rc1_060904_LinuxIntel_langpack_tn.tar.gz 13405864 +SHA256 d52227c3a3175a14553a373d23d9c3677ce2d58243a7a73ff7acce879b721f8d OOo_2.0.4rc1_060904_LinuxIntel_langpack_tn.tar.gz 13405864 +MD5 456c2a441eb86bb1d8454c67b7742c56 OOo_2.0.4rc1_060904_LinuxIntel_langpack_tr.tar.gz 13709866 +RMD160 6d81a3ffcd1b6e0d3ff2f531505271658eca27c3 OOo_2.0.4rc1_060904_LinuxIntel_langpack_tr.tar.gz 13709866 +SHA256 ec0d8f5579068e91ccc005a33ae0ca158c8964a94b2fd725561d4108cfc633a7 OOo_2.0.4rc1_060904_LinuxIntel_langpack_tr.tar.gz 13709866 +MD5 25341d78251461e54f35b73263970cf7 OOo_2.0.4rc1_060904_LinuxIntel_langpack_ts.tar.gz 13456716 +RMD160 5465a79c7639d116b4f1ffc0eaa795bb831d4cbb OOo_2.0.4rc1_060904_LinuxIntel_langpack_ts.tar.gz 13456716 +SHA256 fbd751d8c7142be9ed25eeb264a39bcbbb786369522278be1b3145ff271ad293 OOo_2.0.4rc1_060904_LinuxIntel_langpack_ts.tar.gz 13456716 +MD5 4c37f745f62478904214b883d11bf140 OOo_2.0.4rc1_060904_LinuxIntel_langpack_ur-IN.tar.gz 13470038 +RMD160 533ca9eeb62ce375131efdb7f507d078f213493b OOo_2.0.4rc1_060904_LinuxIntel_langpack_ur-IN.tar.gz 13470038 +SHA256 139b9feb4171de902db4cf16cf28c8c463885b5d69b3d4c12d7b8b05d156a843 OOo_2.0.4rc1_060904_LinuxIntel_langpack_ur-IN.tar.gz 13470038 +MD5 8adcc596c4ac1938f122069d0d2ae002 OOo_2.0.4rc1_060904_LinuxIntel_langpack_ve.tar.gz 13445541 +RMD160 58e0babc4bc6f112cb7033e69cfa6e2a47504e2d OOo_2.0.4rc1_060904_LinuxIntel_langpack_ve.tar.gz 13445541 +SHA256 e8d63e83b436d446f3820a42d8372890f3c9c043f185b052013488603cf8ba0c OOo_2.0.4rc1_060904_LinuxIntel_langpack_ve.tar.gz 13445541 +MD5 e58aa5222ddf5c91adade3bbe595d094 OOo_2.0.4rc1_060904_LinuxIntel_langpack_vi.tar.gz 13435624 +RMD160 d30cc4ba65481909caf68f679d026adc8c1c5a9e OOo_2.0.4rc1_060904_LinuxIntel_langpack_vi.tar.gz 13435624 +SHA256 3b914936e40ddb54282fc85657efed4904be04f3a22c129172d2517e7d5b442c OOo_2.0.4rc1_060904_LinuxIntel_langpack_vi.tar.gz 13435624 +MD5 8aab6b16ddc84d9ffa4f6f833b35d050 OOo_2.0.4rc1_060904_LinuxIntel_langpack_xh.tar.gz 13495620 +RMD160 40b3d170200e336bb38c9b879d3dd02b5db7d7b7 OOo_2.0.4rc1_060904_LinuxIntel_langpack_xh.tar.gz 13495620 +SHA256 a743ef2b6c37cfe2739a6f85f8e44e631af44bf3fea1964a1d92f2e019aae179 OOo_2.0.4rc1_060904_LinuxIntel_langpack_xh.tar.gz 13495620 +MD5 3df4023f7cafdb75c0f66a285b54be57 OOo_2.0.4rc1_060904_LinuxIntel_langpack_zh-CN.tar.gz 14292954 +RMD160 42418ebc7e5f76f6d13ac697d9c716951502cf55 OOo_2.0.4rc1_060904_LinuxIntel_langpack_zh-CN.tar.gz 14292954 +SHA256 cda8535600f446143b873ef674284991f54813569fd9797d7e368acf84809628 OOo_2.0.4rc1_060904_LinuxIntel_langpack_zh-CN.tar.gz 14292954 +MD5 2d0adc015c49996fc2a88040bd29719f OOo_2.0.4rc1_060904_LinuxIntel_langpack_zh-TW.tar.gz 14462599 +RMD160 5570a81a8959c8c9f7d7b09214a55f18ca04a3af OOo_2.0.4rc1_060904_LinuxIntel_langpack_zh-TW.tar.gz 14462599 +SHA256 ef8845ae38c2120bed5539e6b5fca9c2b8c4a76e468832d908f753c7f3260fa6 OOo_2.0.4rc1_060904_LinuxIntel_langpack_zh-TW.tar.gz 14462599 +MD5 a6f86e78a3b9bb5e33dc82961a73440d OOo_2.0.4rc1_060904_LinuxIntel_langpack_zu.tar.gz 13501006 +RMD160 1a891b509d1dde524e7a8a622317cc0b5975a3a1 OOo_2.0.4rc1_060904_LinuxIntel_langpack_zu.tar.gz 13501006 +SHA256 f1148e451aa53401920c3b21a0523e889af56da24f2b7f31ace20bbd10aae3dd OOo_2.0.4rc1_060904_LinuxIntel_langpack_zu.tar.gz 13501006 diff --git a/app-office/openoffice-bin/openoffice-bin-2.0.4_rc1.ebuild b/app-office/openoffice-bin/openoffice-bin-2.0.4_rc1.ebuild new file mode 100644 index 000000000000..04a2d5a90f3a --- /dev/null +++ b/app-office/openoffice-bin/openoffice-bin-2.0.4_rc1.ebuild @@ -0,0 +1,154 @@ +# 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_rc1.ebuild,v 1.1 2006/09/10 18:33:24 suka Exp $ + +inherit eutils fdo-mime rpm multilib + +IUSE="gnome java" + +MY_PV="${PV/_/}" +MY_PV2="${MY_PV}_060904" +MY_PV3="${PV/_rc1/}-3" +PACKED="OOD680_m3_native_packed-1" +BUILDID="9066" +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 virtual/x11 ) + 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 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. " + +} |