summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2005-07-21 15:42:28 +0000
committerAndreas Proschofsky <suka@gentoo.org>2005-07-21 15:42:28 +0000
commitbd4e6bb0b2674b8dc7af236e607078cf40f6c748 (patch)
tree8619722a707fb1b93cfd4ea0426b6435bab0011d /app-office/openoffice-bin
parentget_libdir-ized (diff)
downloadgentoo-2-bd4e6bb0b2674b8dc7af236e607078cf40f6c748.tar.gz
gentoo-2-bd4e6bb0b2674b8dc7af236e607078cf40f6c748.tar.bz2
gentoo-2-bd4e6bb0b2674b8dc7af236e607078cf40f6c748.zip
New testing release
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-office/openoffice-bin')
-rw-r--r--app-office/openoffice-bin/ChangeLog8
-rw-r--r--app-office/openoffice-bin/files/digest-openoffice-bin-1.9.11832
-rw-r--r--app-office/openoffice-bin/openoffice-bin-1.9.118.ebuild157
3 files changed, 196 insertions, 1 deletions
diff --git a/app-office/openoffice-bin/ChangeLog b/app-office/openoffice-bin/ChangeLog
index 1b69cc6048dc..a03e3626f420 100644
--- a/app-office/openoffice-bin/ChangeLog
+++ b/app-office/openoffice-bin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-office/openoffice-bin
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.83 2005/06/16 16:52:45 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.84 2005/07/21 15:42:28 suka Exp $
+
+*openoffice-bin-1.9.118 (21 Jul 2005)
+
+ 21 Jul 2005; Andreas Proschofsky <suka@gentoo.org>
+ +openoffice-bin-1.9.118.ebuild:
+ New testing release
*openoffice-bin-1.9.109 (16 Jun 2005)
diff --git a/app-office/openoffice-bin/files/digest-openoffice-bin-1.9.118 b/app-office/openoffice-bin/files/digest-openoffice-bin-1.9.118
new file mode 100644
index 000000000000..ad2f86f72938
--- /dev/null
+++ b/app-office/openoffice-bin/files/digest-openoffice-bin-1.9.118
@@ -0,0 +1,32 @@
+MD5 a7a7ec907d67294b0ec606a2fcac5844 OOo_1.9.118_LinuxIntel_rpm_install.tar.gz 106821763
+MD5 56cd29febb251728a1d350c042334313 openofficeorg-af-1.9.118-1.i586.tar.gz 14027061
+MD5 f7698f45ca2c85c996be9aa032499dd6 openofficeorg-bg-1.9.118-1.i586.tar.gz 14402178
+MD5 c298d0385f6c210fcd73de0dbda796e8 openofficeorg-cs-1.9.118-1.i586.tar.gz 14677252
+MD5 100f77a6689ed6f6000d5c45069642c9 openofficeorg-cy-1.9.118-1.i586.tar.gz 13949291
+MD5 5fdf2223541b48cb9ead872cb0ee21ee openofficeorg-da-1.9.118-1.i586.tar.gz 14531881
+MD5 13df33813070a84b87e746ffbdc58c6f openofficeorg-de-1.9.118-1.i586.tar.gz 15512710
+MD5 d8a016d7ce4a39d0a1d7038ea5922386 openofficeorg-en-GB-1.9.118-1.i586.tar.gz 14109344
+MD5 d651330a94f2ebe1ce2a790cb3e4e40e OOo_1.9.118_LinuxIntel_langpack_es.sh 14866935
+MD5 1459a6a78b122b9a902227db938698b3 openofficeorg-et-1.9.118-1.i586.tar.gz 14724886
+MD5 7528be28fe906f388380805c98a61440 openofficeorg-fi-1.9.118-1.i586.tar.gz 14030563
+MD5 4945c066e34314002ccef06a6ce36715 openofficeorg-fr-1.9.118-1.i586.tar.gz 15029330
+MD5 e14f071e6c239f7e6c78a91e1bd0ca47 openofficeorg-hr-1.9.118-1.i586.tar.gz 14308800
+MD5 9120766db78bc5b8b830f1878c75b622 openofficeorg-hu-1.9.118-1.i586.tar.gz 13832031
+MD5 4e882dcb1ed9af6b228e9148a11f2aaa OOo_1.9.118_LinuxIntel_langpack_it.sh 14833542
+MD5 c978548ef78e3806580fd821a4ccfbd4 OOo_1.9.118_LinuxIntel_langpack_ja.sh 15622610
+MD5 5f6a876fa38fedc04dba587187986241 openofficeorg-km-1.9.118-1.i586.tar.gz 16581208
+MD5 fd632b05baa11e47319f4d25b955f926 OOo_1.9.118_LinuxIntel_langpack_ko.sh 14768771
+MD5 9564a47aa3f3a72b66550e7524175167 openofficeorg-lt-1.9.118-1.i586.tar.gz 3808240
+MD5 e85803bf6a4f6bb179da0cf4f31fbe5d openofficeorg-nb-1.9.118-1.i586.tar.gz 13987175
+MD5 510ff60fbb494642b7e5cf83902619b2 openofficeorg-nl-1.9.118-1.i586.tar.gz 13929496
+MD5 c959dfdd03468b5023d7782ba82cfde8 openofficeorg-nn-1.9.118-1.i586.tar.gz 13983114
+MD5 fbf3c1bfe9b7b2275bb472d5bd4d237a openofficeorg-ns-1.9.118-1.i586.tar.gz 13944815
+MD5 b85210ccef3e6f90c23733457a3add1d OOo_1.9.118_LinuxIntel_langpack_pt-BR.sh 14840992
+MD5 fdbabdbb86d253fc7dab97679f9913e1 openofficeorg-sk-1.9.118-1.i586.tar.gz 14607564
+MD5 80a7a762bbbec0396438d00b02863d4c openofficeorg-sl-1.9.118-1.i586.tar.gz 13957595
+MD5 50b2b2a5081e45a979bdcebd39bcc9be OOo_1.9.118_LinuxIntel_langpack_sv.sh 14660610
+MD5 67bcb6a09ea2028e4e8764365f17513a openofficeorg-tn-1.9.118-1.i586.tar.gz 14040638
+MD5 caf405ba618fccf2124ecb4480330d8d openofficeorg-xh-1.9.118-1.i586.tar.gz 14055917
+MD5 1a03db0f779c12c0eadfebfcbb549122 OOo_1.9.118_LinuxIntel_langpack_zh-CN.sh 14947609
+MD5 b0d701bf758e8573f33b458bbf2ad42d OOo_1.9.118_LinuxIntel_langpack_zh-TW.sh 15115961
+MD5 1e538788c59a01316bee7ac3131c697c openofficeorg-zu-1.9.118-1.i586.tar.gz 13996721
diff --git a/app-office/openoffice-bin/openoffice-bin-1.9.118.ebuild b/app-office/openoffice-bin/openoffice-bin-1.9.118.ebuild
new file mode 100644
index 000000000000..795f3198464d
--- /dev/null
+++ b/app-office/openoffice-bin/openoffice-bin-1.9.118.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-1.9.118.ebuild,v 1.1 2005/07/21 15:42:28 suka Exp $
+
+inherit eutils fdo-mime rpm versionator
+
+IUSE="gnome java kde"
+
+INSTDIR="/opt/OpenOffice.org"
+
+S="${WORKDIR}/RPMS"
+DESCRIPTION="OpenOffice productivity suite"
+
+SNV="$(get_version_component_range 3)"
+LANGPACK="OOo_${PV}_LinuxIntel_langpack"
+LANGPACKPATH="http://oootranslation.services.openoffice.org/pub/OpenOffice.org/680m${SNV}/${LANGPACK}"
+LANGLOC="http://ftp.linux.cz/pub/localization/OpenOffice.org/devel/680/SRC680_m${SNV}/Build-1/OOo_SRC680_m${SNV}_native_LinuxIntel_langpacks_rpm"
+LANGSUFFIX="${PV}-1.i586.tar.gz"
+
+SRC_URI="mirror://openoffice/developer/680_m${SNV}/OOo_${PV}_LinuxIntel_rpm_install.tar.gz
+ linguas_af? ( ${LANGLOC}/openofficeorg-af-${LANGSUFFIX} )
+ linguas_bg? ( ${LANGLOC}/openofficeorg-bg-${LANGSUFFIX} )
+ linguas_cs? ( ${LANGLOC}/openofficeorg-cs-${LANGSUFFIX} )
+ linguas_cy? ( ${LANGLOC}/openofficeorg-cy-${LANGSUFFIX} )
+ linguas_da? ( ${LANGLOC}/openofficeorg-da-${LANGSUFFIX} )
+ linguas_de? ( ${LANGLOC}/openofficeorg-de-${LANGSUFFIX} )
+ linguas_en_GB? ( ${LANGLOC}/openofficeorg-en-GB-${LANGSUFFIX} )
+ linguas_es? ( ${LANGPACKPATH}_es.sh )
+ linguas_et? ( ${LANGLOC}/openofficeorg-et-${LANGSUFFIX} )
+ linguas_fi? ( ${LANGLOC}/openofficeorg-fi-${LANGSUFFIX} )
+ linguas_fr? ( ${LANGLOC}/openofficeorg-fr-${LANGSUFFIX} )
+ linguas_hr? ( ${LANGLOC}/openofficeorg-hr-${LANGSUFFIX} )
+ linguas_hu? ( ${LANGLOC}/openofficeorg-hu-${LANGSUFFIX} )
+ linguas_it? ( ${LANGPACKPATH}_it.sh )
+ linguas_ja? ( ${LANGPACKPATH}_ja.sh )
+ linguas_km? ( ${LANGLOC}/openofficeorg-km-${LANGSUFFIX} )
+ linguas_ko? ( ${LANGPACKPATH}_ko.sh )
+ linguas_lt? ( ${LANGLOC}/openofficeorg-lt-${LANGSUFFIX} )
+ linguas_nb? ( ${LANGLOC}/openofficeorg-nb-${LANGSUFFIX} )
+ linguas_nl? ( ${LANGLOC}/openofficeorg-nl-${LANGSUFFIX} )
+ linguas_nn? ( ${LANGLOC}/openofficeorg-nn-${LANGSUFFIX} )
+ linguas_ns? ( ${LANGLOC}/openofficeorg-ns-${LANGSUFFIX} )
+ linguas_pt_BR? ( ${LANGPACKPATH}_pt-BR.sh )
+ linguas_sk? ( ${LANGLOC}/openofficeorg-sk-${LANGSUFFIX} )
+ linguas_sl? ( ${LANGLOC}/openofficeorg-sl-${LANGSUFFIX} )
+ linguas_sv? ( ${LANGPACKPATH}_sv.sh )
+ linguas_tn? ( ${LANGLOC}/openofficeorg-tn-${LANGSUFFIX} )
+ linguas_xh? ( ${LANGLOC}/openofficeorg-xh-${LANGSUFFIX} )
+ linguas_zh_CN? ( ${LANGPACKPATH}_zh-CN.sh )
+ linguas_zh_TW? ( ${LANGPACKPATH}_zh-TW.sh )
+ linguas_zu? ( ${LANGLOC}/openofficeorg-zu-${LANGSUFFIX} )"
+
+HOMEPAGE="http://www.openoffice.org/"
+
+LICENSE="|| ( LGPL-2 SISSL-1.1 )"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+RDEPEND="!app-office/openoffice
+ virtual/x11
+ virtual/libc
+ >=dev-lang/perl-5.0
+ app-arch/zip
+ app-arch/unzip
+ java? ( >=virtual/jre-1.4.1 )
+ amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.0 )
+ linguas_ja? ( >=media-fonts/kochi-substitute-20030809-r3 )
+ linguas_zh_CN? ( >=media-fonts/arphicfonts-0.1-r2 )
+ linguas_zh_TW? ( >=media-fonts/arphicfonts-0.1-r2 )"
+
+DEPEND="${RDEPEND}
+ sys-apps/findutils"
+
+PROVIDE="virtual/ooo"
+
+src_unpack() {
+ unpack OOo_${PV}_LinuxIntel_rpm_install.tar.gz
+
+ for i in base core01 core02 core03 core04 core05 core06 core07 core08 core09 core10 calc draw impress math writer graphicfilter pyuno spellcheck testtool xsltfilter core03u core04u core05u ; do
+ rpm_unpack ${S}/openofficeorg-${i}-${PV}-1.i586.rpm
+ done
+
+ rpm_unpack ${S}/desktop-integration/openofficeorg-freedesktop-menus-${PV}-1.noarch.rpm
+ use kde && rpm_unpack ${S}/desktop-integration/openofficeorg-suse-menus-${PV}-1.noarch.rpm
+
+ use gnome && rpm_unpack ${S}/openofficeorg-gnome-integration-${PV}-1.i586.rpm
+ use java && rpm_unpack ${S}/openofficeorg-javafilter-${PV}-1.i586.rpm
+
+ strip-linguas en af bg cs cy da de en_GB es et fi fr hr hu it ja km ko lt nb nl nn ns pt_BR sk sl sv tn xh zh_CN zh_TW zu
+
+ for i in ${LINGUAS}; do
+ i="${i/_/-}"
+ if [ ${i} != "en" ] ; then
+ if [ -e ${DISTDIR}/${LANGPACK}_${i}.sh ] ; then
+ tail -n +155 ${DISTDIR}/${LANGPACK}_${i}.sh > ${S}/${LANGPACK}_${i}.tar.gz || die
+ tar -xvf ${S}/${LANGPACK}_${i}.tar.gz || die
+ else
+ unpack openofficeorg-${i}-${LANGSUFFIX}
+ fi
+ rpm_unpack openofficeorg-${i}-${PV}-1.i586.rpm
+ rpm_unpack openofficeorg-${i}-help-${PV}-1.i586.rpm
+ rpm_unpack openofficeorg-${i}-res-${PV}-1.i586.rpm
+ fi
+ done
+}
+
+src_install () {
+
+ einfo "Installing OpenOffice.org into build root..."
+ dodir ${INSTDIR}
+ dodir /usr/share/icons
+ dodir /usr/share/mime
+ mv ${WORKDIR}/opt/openoffice.org${PV}/* ${D}${INSTDIR}
+ mv ${WORKDIR}/usr/share/icons/* ${D}/usr/share/icons
+
+ use kde && dodir /usr/share/mimelnk/application && mv ${WORKDIR}/opt/kde3/share/mimelnk/application/* ${D}/usr/share/mimelnk/application
+
+ #Menu entries
+ cd ${D}${INSTDIR}/share/xdg/
+
+ sed -i -e s/'Exec=openoffice.org-1.9-printeradmin'/'Exec=oopadmin2'/g printeradmin.desktop || die
+
+ for desk in base calc draw impress math writer printeradmin; do
+ mv ${desk}.desktop openoffice.org-1.9-${desk}.desktop
+ sed -i -e s/openoffice.org-1.9/ooffice2/g openoffice.org-1.9-${desk}.desktop || die
+ domenu openoffice.org-1.9-${desk}.desktop
+ done
+
+ # Install wrapper script
+ newbin ${FILESDIR}/1.9/ooo-wrapper2 ooffice2
+ sed -i -e s/PV/${PV}/g ${D}/usr/bin/ooffice2 || die
+
+ # Component symlinks
+ for app in base calc draw fromtemplate impress math web writer; do
+ dosym ooffice2 /usr/bin/oo${app}2
+ done
+
+ dosym ${INSTDIR}/program/spadmin.bin /usr/bin/oopadmin2
+
+ # Change user install dir
+ sed -i -e s/.openoffice.org${PV}/.ooo-2.0-pre/g ${D}${INSTDIR}/program/bootstraprc || die
+}
+
+pkg_postinst() {
+
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+
+ einfo " To start OpenOffice.org, run:"
+ einfo
+ einfo " $ ooffice2"
+ einfo
+ einfo " Also, for individual components, you can use any of:"
+ einfo
+ einfo " oobase2, oocalc2, oodraw2, oofromtemplate2, ooimpress2, oomath2,"
+ einfo " ooweb2 or oowriter2"
+}