diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2005-04-23 19:44:11 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2005-04-23 19:44:11 +0000 |
commit | 076b2d1ebefeeb030412385d41e610857d6cc8e6 (patch) | |
tree | cb69274c364da12949a9da5d62573bc8fa15e363 /app-office | |
parent | removed old versions (diff) | |
download | gentoo-2-076b2d1ebefeeb030412385d41e610857d6cc8e6.tar.gz gentoo-2-076b2d1ebefeeb030412385d41e610857d6cc8e6.tar.bz2 gentoo-2-076b2d1ebefeeb030412385d41e610857d6cc8e6.zip |
new 2.0-test release
(Portage version: 2.0.51.19)
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.95 | 30 | ||||
-rw-r--r-- | app-office/openoffice-bin/openoffice-bin-1.9.95.ebuild | 147 |
3 files changed, 185 insertions, 1 deletions
diff --git a/app-office/openoffice-bin/ChangeLog b/app-office/openoffice-bin/ChangeLog index 580ac579b87b..a7de00e13db7 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.76 2005/04/20 07:31:49 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.77 2005/04/23 19:44:11 suka Exp $ + +*openoffice-bin-1.9.95 (23 Apr 2005) + + 23 Apr 2005; Andreas Proschofsky <suka@gentoo.org> + +openoffice-bin-1.9.95.ebuild: + Another new development release, this also now includes a fix for the recent + security problem 20 Apr 2005; Andreas Proschofsky <suka@gentoo.org> openoffice-bin-1.9.93.ebuild: diff --git a/app-office/openoffice-bin/files/digest-openoffice-bin-1.9.95 b/app-office/openoffice-bin/files/digest-openoffice-bin-1.9.95 new file mode 100644 index 000000000000..9376a153ad09 --- /dev/null +++ b/app-office/openoffice-bin/files/digest-openoffice-bin-1.9.95 @@ -0,0 +1,30 @@ +MD5 fe2fb59625d6904b4f37505d98ab3319 OOo_1.9.95_LinuxIntel_install.tar.gz 104374283 +MD5 ee1db57bfa0d4a2e9da4d7766ca229a6 openofficeorg-af-1.9.95-1.i586.rpm 17136877 +MD5 b35f8b86fe7a1327b4863058f8949590 openofficeorg-bg-1.9.95-1.i586.rpm 16990684 +MD5 9c5b6416ff292c1d7dcdbcac831eec04 openofficeorg-cs-1.9.95-1.i586.rpm 17935612 +MD5 5a981e5aa8721c1765ffea04ef4d9484 openofficeorg-cy-1.9.95-1.i586.rpm 17043852 +MD5 a9f39da106ee04a0a3f0ba461cadf1aa openofficeorg-da-1.9.95-1.i586.rpm 17705347 +MD5 788b4052c4603411ac05789a5b9366ae openofficeorg-de-1.9.95-1.i586.rpm 18570111 +MD5 00dcccad9af20d83d0c6d85cffe28a3a openofficeorg-en-GB-1.9.95-1.i586.rpm 16848568 +MD5 0e78b7eca6dd5861cd3aa50300cb3f58 OOo_1.9.95_LinuxIntel_langpack_es.sh 17322408 +MD5 86de99c7d80094ee87ea90d71477add0 openofficeorg-et-1.9.95-1.i586.rpm 17799410 +MD5 dff9eeb1325fe650a2f00d55ef9bd8d9 openofficeorg-fi-1.9.95-1.i586.rpm 17128458 +MD5 2cabe8c5b152202699d036e6b9ce9f43 openofficeorg-fr-1.9.95-1.i586.rpm 18069424 +MD5 3312373f5c83d717b7a556fc2da6a134 openofficeorg-hu-1.9.95-1.i586.rpm 17370995 +MD5 381d686120f0280851d2e703c8d16a19 OOo_1.9.95_LinuxIntel_langpack_it.sh 17297423 +MD5 8842871ad84cb96c16121826b3b603d3 OOo_1.9.95_LinuxIntel_langpack_ja.sh 18064393 +MD5 1449d91e958cc92e51b61bc3ca649725 openofficeorg-km-1.9.95-1.i586.rpm 17227516 +MD5 801305460740624fa319644ec91ec1f7 OOo_1.9.95_LinuxIntel_langpack_ko.sh 17211571 +MD5 9f99da92fc245401f83351d5cff667d8 openofficeorg-nb-1.9.95-1.i586.rpm 17097612 +MD5 173a45c3e2c1ffb537f9742e850b9dae openofficeorg-nl-1.9.95-1.i586.rpm 16884470 +MD5 dcc5a569c2b7cbf45da9b65f3e7edb1f openofficeorg-nn-1.9.95-1.i586.rpm 17086039 +MD5 785d949687951d7acc5b206213291296 openofficeorg-ns-1.9.95-1.i586.rpm 16998275 +MD5 a55a6e56b6ab890b176307b291500ba0 OOo_1.9.95_LinuxIntel_langpack_pt-BR.sh 17292839 +MD5 7cd17bbf4e0afc388f147890e0e2425a openofficeorg-sk-1.9.95-1.i586.rpm 17350036 +MD5 1113fb0e9119127ac734a9eb0833bef1 openofficeorg-sl-1.9.95-1.i586.rpm 16942795 +MD5 8a433760e65d5a962c5529861eb56c1d OOo_1.9.95_LinuxIntel_langpack_sv.sh 17126966 +MD5 0e2eef5ad8802e9d6574e29a4caffaf7 openofficeorg-tn-1.9.95-1.i586.rpm 17309348 +MD5 6eefcac1363fd5f8d8a8840052ecb066 openofficeorg-xh-1.9.95-1.i586.rpm 17101167 +MD5 27154e4fd1fa68006efc28b016004558 OOo_1.9.95_LinuxIntel_langpack_zh-CN.sh 17379229 +MD5 b98ebaa53de0f108a3312d8b815300ab OOo_1.9.95_LinuxIntel_langpack_zh-TW.sh 17546172 +MD5 99b4ccb6d3485bf936b86afb2c62c445 openofficeorg-zu-1.9.95-1.i586.rpm 17406020 diff --git a/app-office/openoffice-bin/openoffice-bin-1.9.95.ebuild b/app-office/openoffice-bin/openoffice-bin-1.9.95.ebuild new file mode 100644 index 000000000000..f626568f9c67 --- /dev/null +++ b/app-office/openoffice-bin/openoffice-bin-1.9.95.ebuild @@ -0,0 +1,147 @@ +# 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.95.ebuild,v 1.1 2005/04/23 19:44:11 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_1.9.${SNV}_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-2/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? ( ${LANGPACKPATH}_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? ( ${LANGPACKPATH}_it.sh ) + linguas_ja? ( ${LANGPACKPATH}_ja.sh ) + linguas_km? ( ${LANGLOC}/openofficeorg-km-${LANGSUFFIX} ) + linguas_ko? ( ${LANGPACKPATH}_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? ( ${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_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" +} |