diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2005-08-03 14:57:30 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2005-08-03 14:57:30 +0000 |
commit | 1923296e68e30b7c6f626c662eebb95c6040b06c (patch) | |
tree | f2d5e76bd7f0f5db08611e32365b4688b28b692a /app-office | |
parent | Add ~sparc keyword; builds (ssh interface) with no issues and seems fine. (diff) | |
download | gentoo-2-1923296e68e30b7c6f626c662eebb95c6040b06c.tar.gz gentoo-2-1923296e68e30b7c6f626c662eebb95c6040b06c.tar.bz2 gentoo-2-1923296e68e30b7c6f626c662eebb95c6040b06c.zip |
new testing release
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/openoffice-bin/ChangeLog | 9 | ||||
-rw-r--r-- | app-office/openoffice-bin/files/digest-openoffice-bin-1.9.122 | 32 | ||||
-rw-r--r-- | app-office/openoffice-bin/openoffice-bin-1.9.122.ebuild | 153 |
3 files changed, 193 insertions, 1 deletions
diff --git a/app-office/openoffice-bin/ChangeLog b/app-office/openoffice-bin/ChangeLog index a03e3626f420..19ad15b77a14 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-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.84 2005/07/21 15:42:28 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.85 2005/08/03 14:57:30 suka Exp $ + +*openoffice-bin-1.9.122 (03 Aug 2005) + + 03 Aug 2005; Andreas Proschofsky <suka@gentoo.org> + +openoffice-bin-1.9.122.ebuild: + New testing release, ebuild simplified a bit, thanks to some saner packaging + on behalf of the OOo-people *openoffice-bin-1.9.118 (21 Jul 2005) diff --git a/app-office/openoffice-bin/files/digest-openoffice-bin-1.9.122 b/app-office/openoffice-bin/files/digest-openoffice-bin-1.9.122 new file mode 100644 index 000000000000..1e6a2a162e39 --- /dev/null +++ b/app-office/openoffice-bin/files/digest-openoffice-bin-1.9.122 @@ -0,0 +1,32 @@ +MD5 61346036e572586c9842f81c9ed271ec OOo_1.9.122_LinuxIntel_install.tar.gz 106068837 +MD5 a936795b6f519c05a8836da661dded04 openofficeorg-af-1.9.122-1.i586.tar.gz 14024580 +MD5 0da017d8cfc1cd0446432d00d18049d3 openofficeorg-bg-1.9.122-1.i586.tar.gz 14471564 +MD5 868428f9af5eced80e3fe75590eab934 openofficeorg-cs-1.9.122-1.i586.tar.gz 14679522 +MD5 3cab56f84c54d80c69341bca3a6a9fb6 openofficeorg-cy-1.9.122-1.i586.tar.gz 13948409 +MD5 e38532be025540bcc77fb3bb4da69db4 openofficeorg-da-1.9.122-1.i586.tar.gz 14535025 +MD5 c764b7c40385d960884b7f6c431171f6 openofficeorg-de-1.9.122-1.i586.tar.gz 15496807 +MD5 3ea2e8c19ab24c5f466008f16eeaa6ec openofficeorg-en-GB-1.9.122-1.i586.tar.gz 14109266 +MD5 f15d8b423708f20495810f7f6a74ad73 OOo-1.9.122_LinuxIntel_langpack_es.tar.gz 14837304 +MD5 b93ad8e7b58fd5c6a4c6d464782c12e0 openofficeorg-et-1.9.122-1.i586.tar.gz 14732347 +MD5 42ae2dacf52d31ba2341f4f97ab9c3c6 openofficeorg-fi-1.9.122-1.i586.tar.gz 14031798 +MD5 8a76d7ac3ba0b9bae58c86df4096c106 openofficeorg-fr-1.9.122-1.i586.tar.gz 15026001 +MD5 a3a5810ca3485ff3936813781fbb73c8 openofficeorg-hr-1.9.122-1.i586.tar.gz 14310746 +MD5 7b07da22f54dda55aac473276efa5846 openofficeorg-hu-1.9.122-1.i586.tar.gz 14080930 +MD5 21f96f3d402a3ef856f36bf23b7aa7e1 OOo-1.9.122_LinuxIntel_langpack_it.tar.gz 14809507 +MD5 e4cdee58df4c0c4399bc68735ccdaa03 OOo-1.9.122_LinuxIntel_langpack_ja.tar.gz 15587800 +MD5 b507f56977a38c93c029f049570eb219 openofficeorg-km-1.9.122-1.i586.tar.gz 16786945 +MD5 e94f5421adba8ee2fd192db06c9372b0 OOo-1.9.122_LinuxIntel_langpack_ko.tar.gz 14723341 +MD5 3ad5c931e81fbe30a75e26316786f7b7 openofficeorg-lt-1.9.122-1.i586.tar.gz 13993829 +MD5 a623a27f5d0ccd5b8307f798460fea89 openofficeorg-nb-1.9.122-1.i586.tar.gz 13990780 +MD5 da41353001dba5cabce9f91960586f60 openofficeorg-nl-1.9.122-1.i586.tar.gz 13931199 +MD5 efec5e6bd86cd235d5b6f63a72963b62 openofficeorg-nn-1.9.122-1.i586.tar.gz 13984107 +MD5 fdc4f846c63f2e027d1228b09524e5c9 openofficeorg-ns-1.9.122-1.i586.tar.gz 13945693 +MD5 dabb9208fba8a67d6a2f752f627f1fa3 OOo-1.9.122_LinuxIntel_langpack_pt-BR.tar.gz 14798425 +MD5 b299b3000ca77e2453f0c7b6f125bd16 openofficeorg-sk-1.9.122-1.i586.tar.gz 14598109 +MD5 6644787c43dd7fd67c1e3c25dca177fd openofficeorg-sl-1.9.122-1.i586.tar.gz 13958675 +MD5 e32b540b76f16a18adb0101a1c1b09cd OOo-1.9.122_LinuxIntel_langpack_sv.tar.gz 14625297 +MD5 23eb9b25414d224be1afe20a572db26a openofficeorg-tn-1.9.122-1.i586.tar.gz 14040828 +MD5 b9024aad31471af28fc9c3dd14714fe5 openofficeorg-xh-1.9.122-1.i586.tar.gz 14051655 +MD5 ec91d9a16f32382cb63f982db9692a10 OOo-1.9.122_LinuxIntel_langpack_zh-CN.tar.gz 14908884 +MD5 144ca6bbccda6ee6d329284b2e10f052 OOo-1.9.122_LinuxIntel_langpack_zh-TW.tar.gz 15074748 +MD5 6e06efe458d794ee021358f6d81eff89 openofficeorg-zu-1.9.122-1.i586.tar.gz 14000293 diff --git a/app-office/openoffice-bin/openoffice-bin-1.9.122.ebuild b/app-office/openoffice-bin/openoffice-bin-1.9.122.ebuild new file mode 100644 index 000000000000..084b9414920f --- /dev/null +++ b/app-office/openoffice-bin/openoffice-bin-1.9.122.ebuild @@ -0,0 +1,153 @@ +# 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.122.ebuild,v 1.1 2005/08/03 14:57:30 suka Exp $ + +inherit eutils fdo-mime rpm versionator + +IUSE="gnome java kde" + +INSTDIR="/opt/OpenOffice.org" + +S="${WORKDIR}/SRC680_m122_native_packed-2_en-US.8941/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_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.tar.gz ) + 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.tar.gz ) + linguas_ja? ( ${LANGPACKPATH}_ja.tar.gz ) + linguas_km? ( ${LANGLOC}/openofficeorg-km-${LANGSUFFIX} ) + linguas_ko? ( ${LANGPACKPATH}_ko.tar.gz ) + 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.tar.gz ) + linguas_sk? ( ${LANGLOC}/openofficeorg-sk-${LANGSUFFIX} ) + linguas_sl? ( ${LANGLOC}/openofficeorg-sl-${LANGSUFFIX} ) + linguas_sv? ( ${LANGPACKPATH}_sv.tar.gz ) + linguas_tn? ( ${LANGLOC}/openofficeorg-tn-${LANGSUFFIX} ) + linguas_xh? ( ${LANGLOC}/openofficeorg-xh-${LANGSUFFIX} ) + linguas_zh_CN? ( ${LANGPACKPATH}_zh-CN.tar.gz ) + linguas_zh_TW? ( ${LANGPACKPATH}_zh-TW.tar.gz ) + 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 ${A} + + 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 + 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" +} |