diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2005-04-15 20:41:37 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2005-04-15 20:41:37 +0000 |
commit | 272b0b00a8b97593b47afd6b2ce3d51f2ece8176 (patch) | |
tree | e1d9fe175f7eb293354a8bee314587a34a32b1e5 /app-office/openoffice-bin | |
parent | Stable on ppc. (diff) | |
download | gentoo-2-272b0b00a8b97593b47afd6b2ce3d51f2ece8176.tar.gz gentoo-2-272b0b00a8b97593b47afd6b2ce3d51f2ece8176.tar.bz2 gentoo-2-272b0b00a8b97593b47afd6b2ce3d51f2ece8176.zip |
new prerelease of OOo 2.0
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-office/openoffice-bin')
-rw-r--r-- | app-office/openoffice-bin/ChangeLog | 9 | ||||
-rw-r--r-- | app-office/openoffice-bin/files/digest-openoffice-bin-1.9.93 | 30 | ||||
-rw-r--r-- | app-office/openoffice-bin/openoffice-bin-1.9.93.ebuild | 146 |
3 files changed, 184 insertions, 1 deletions
diff --git a/app-office/openoffice-bin/ChangeLog b/app-office/openoffice-bin/ChangeLog index 1cbf36f8e489..91c46b96e11d 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.74 2005/04/13 02:28:34 hparker Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.75 2005/04/15 20:41:37 suka Exp $ + +*openoffice-bin-1.9.93 (15 Apr 2005) + + 15 Apr 2005; Andreas Proschofsky <suka@gentoo.org> + +openoffice-bin-1.9.93.ebuild: + New prerelease of OOo 2.0, this still has no fix for the security bug + #88863, so use with care 13 Apr 2005; Homer Parker <hparker@gentoo.org> openoffice-bin-1.1.4-r1.ebuild: diff --git a/app-office/openoffice-bin/files/digest-openoffice-bin-1.9.93 b/app-office/openoffice-bin/files/digest-openoffice-bin-1.9.93 new file mode 100644 index 000000000000..570cc5428d41 --- /dev/null +++ b/app-office/openoffice-bin/files/digest-openoffice-bin-1.9.93 @@ -0,0 +1,30 @@ +MD5 b662b09cce9f5f21788e36f23f49b252 OOo_1.9.93_LinuxIntel_install.tar.gz 104705661 +MD5 b257965231da00dafaf175e2e92a6e53 openofficeorg-af-1.9.93-1.i586.rpm 17174209 +MD5 42ca5ebea4855e73517f2065a49b3c5f openofficeorg-bg-1.9.93-1.i586.rpm 17050515 +MD5 ea1cb137ed750c41771d8cd1b567d1e8 openofficeorg-cs-1.9.93-1.i586.rpm 17973106 +MD5 8a24f6635c5a4c61eac6518372af70c2 openofficeorg-cy-1.9.93-1.i586.rpm 17084214 +MD5 00f22eb9597f0ca939319d2dab8f6dff openofficeorg-da-1.9.93-1.i586.rpm 17813340 +MD5 f29275c6c1f6c27414b9413cce2e1eb9 openofficeorg-de-1.9.93-1.i586.rpm 18602577 +MD5 a2743b1c6026c3bee63808dbcc56123e openofficeorg-en-GB-1.9.93-1.i586.rpm 17134816 +MD5 b7af0364db6bdbacfc0ac2e66bd3e0f6 OOo_1.9.93_LinuxIntel_langpack_es.sh 17368927 +MD5 7581f9cb5986a12012d01ee90c5e2670 openofficeorg-et-1.9.93-1.i586.rpm 17833244 +MD5 6f20bdfbdc97d6648d6db504032dbb17 openofficeorg-fi-1.9.93-1.i586.rpm 17163959 +MD5 45af66437477f4bd780abb1782ce88de openofficeorg-fr-1.9.93-1.i586.rpm 18115884 +MD5 47a1ae4a89e518ed5077da00c3d2182b openofficeorg-hu-1.9.93-1.i586.rpm 17426669 +MD5 9adabccf75c2a17a037146340f2abeeb OOo_1.9.93_LinuxIntel_langpack_it.sh 17336757 +MD5 f7b0c2ca23ec107fd665aa494bde292a OOo_1.9.93_LinuxIntel_langpack_ja.sh 18163676 +MD5 929eecb336a43810862a615b2baccefe openofficeorg-km-1.9.93-1.i586.rpm 17261033 +MD5 37d66112d2fe432cc13f29b25e2e6123 OOo_1.9.93_LinuxIntel_langpack_ko.sh 17249527 +MD5 44b1a47f745e75cfc7d6d3c3425e6fde openofficeorg-nb-1.9.93-1.i586.rpm 17136230 +MD5 def746edbfc36bb63651127ca903682e openofficeorg-nl-1.9.93-1.i586.rpm 16942528 +MD5 2dca338185a5c8d7839ceb55766ea203 openofficeorg-nn-1.9.93-1.i586.rpm 17118856 +MD5 71da5d5e9d6777119484ba83e1481bf8 openofficeorg-ns-1.9.93-1.i586.rpm 17032175 +MD5 f9745a3b54b984e87b4ae14124341182 OOo_1.9.93_LinuxIntel_langpack_pt-BR.sh 17358061 +MD5 cb3942e1a775fed4a213bed0c145b835 openofficeorg-sk-1.9.93-1.i586.rpm 17416900 +MD5 458472df8f51ecc6399ad3f33f20fd49 openofficeorg-sl-1.9.93-1.i586.rpm 16995805 +MD5 46e3703aab0127edd30489aa6630c4dd OOo_1.9.93_LinuxIntel_langpack_sv.sh 17169266 +MD5 54055c20c5fc221c32717ecdca401f70 openofficeorg-tn-1.9.93-1.i586.rpm 17343486 +MD5 1bcd46a845d5a968b3048513cb0a20be openofficeorg-xh-1.9.93-1.i586.rpm 17137437 +MD5 ecb82ce9c715804acec47f4ceb7180b7 OOo_1.9.93_LinuxIntel_langpack_zh-CN.sh 17437034 +MD5 639b54ee82f233755164695875f7c9d9 OOo_1.9.93_LinuxIntel_langpack_zh-TW.sh 17600586 +MD5 7e36c6b0da4fc1defdc5380177d52119 openofficeorg-zu-1.9.93-1.i586.rpm 17439895 diff --git a/app-office/openoffice-bin/openoffice-bin-1.9.93.ebuild b/app-office/openoffice-bin/openoffice-bin-1.9.93.ebuild new file mode 100644 index 000000000000..d3be81b70924 --- /dev/null +++ b/app-office/openoffice-bin/openoffice-bin-1.9.93.ebuild @@ -0,0 +1,146 @@ +# 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.93.ebuild,v 1.1 2005/04/15 20:41:37 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="http://oootranslation.services.openoffice.org/pub/OpenOffice.org/680m${SNV}/OOo_1.9.${SNV}_LinuxIntel_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="1.9.${SNV}-1.i586.rpm" + +SRC_URI="mirror://openoffice/developer/680_m${SNV}/OOo_1.9.${SNV}_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? ( ${LANGPACK}_es.sh ) + linguas_et? ( ${LANGLOC}/openofficeorg-et-${LANGSUFFIX} ) + linguas_fi? ( ${LANGLOC}/openofficeorg-fi-${LANGSUFFIX} ) + linguas_fr? ( ${LANGLOC}/openofficeorg-fr-${LANGSUFFIX} ) + linguas_hu? ( ${LANGLOC}/openofficeorg-hu-${LANGSUFFIX} ) + linguas_it? ( ${LANGPACK}_it.sh ) + linguas_ja? ( ${LANGPACK}_ja.sh ) + linguas_km? ( ${LANGLOC}/openofficeorg-km-${LANGSUFFIX} ) + linguas_ko? ( ${LANGPACK}_ko.sh ) + 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? ( ${LANGPACK}_pt-BR.sh ) + linguas_sk? ( ${LANGLOC}/openofficeorg-sk-${LANGSUFFIX} ) + linguas_sl? ( ${LANGLOC}/openofficeorg-sl-${LANGSUFFIX} ) + linguas_sv? ( ${LANGPACK}_sv.sh ) + linguas_tn? ( ${LANGLOC}/openofficeorg-tn-${LANGSUFFIX} ) + linguas_xh? ( ${LANGLOC}/openofficeorg-xh-${LANGSUFFIX} ) + linguas_zh_CN? ( ${LANGPACK}_zh-CN.sh ) + linguas_zh_TW? ( ${LANGPACK}_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_1.9.${SNV}_LinuxIntel_install.tar.gz + + for i in core01 core02 core03 core04 core05 core06 core07 core08 calc draw impress math writer graphicfilter pyuno spellcheck testtool xsltfilter; do + rpm_unpack ${S}/openofficeorg-${i}-1.9.${SNV}-1.i586.rpm + done + + rpm_unpack ${S}/openofficeorg-freedesktop-menus-1.9.${SNV}-1.noarch.rpm + use kde && rpm_unpack ${S}/openofficeorg-suse-menus-1.9.${SNV}-1.noarch.rpm + + use gnome && rpm_unpack ${S}/openofficeorg-gnome-integration-1.9.${SNV}-1.i586.rpm + use java && rpm_unpack ${S}/openofficeorg-javafilter-1.9.${SNV}-1.i586.rpm + + strip-linguas en af bg cs cy da de en_GB es et fi fr hu it ja km ko nb nl nn ns pt_BR sk sl sv tn xh zh_CN zh_TW zu + + export LINGUAS_OOO="${LINGUAS/en}" + + for i in ${LINGUAS_OOO}; do + i="${i/_/-}" + if [ -e ${DISTDIR}/${LANGPACK}_${i}.sh ] ; then + tail -n +146 ${DISTDIR}/${LANGPACK}_${i}.sh > ${S}/${LANGPACK}_${i}.rpm || die + rpm_unpack ${S}/${LANGPACK}_${i}.rpm + else + rpm_unpack ${DISTDIR}/openofficeorg-${i}-${LANGSUFFIX} + 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.org1.9.${SNV}/* ${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=oopadmin'/g printeradmin.desktop + + for desk in base calc draw impress math writer printeradmin; do + mv ${desk}.desktop openoffice.org-1.9-${desk}.desktop + domenu openoffice.org-1.9-${desk}.desktop + done + + einfo "Removing build root from registry..." + # Install wrapper script + newbin ${FILESDIR}/1.9/ooffice-wrapper-1.9 openoffice.org-1.9 + + # Component symlinks + for app in calc draw impress math writer web padmin; do + dosym openoffice.org-1.9 /usr/bin/oo${app} + done + + dosym openoffice.org-1.9 /usr/bin/openoffice.org-1.9-printeradmin +} + +pkg_postinst() { + + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + + einfo " To start OpenOffice.org, run:" + einfo + einfo " $ openoffice.org-1.9" + einfo + einfo " Also, for individual components, you can use any of:" + einfo + einfo " oocalc, oodraw, ooimpress, oomath, ooweb or oowriter" +} |