diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2005-10-20 13:29:55 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2005-10-20 13:29:55 +0000 |
commit | f868601e1273ba9e56ce21b6be779cc9339bdf52 (patch) | |
tree | b4a76edf4253a42663452ee9ddc0dbb30e3ab0f4 /app-office | |
parent | added ~ppc64, bug #108808 (diff) | |
download | gentoo-2-f868601e1273ba9e56ce21b6be779cc9339bdf52.tar.gz gentoo-2-f868601e1273ba9e56ce21b6be779cc9339bdf52.tar.bz2 gentoo-2-f868601e1273ba9e56ce21b6be779cc9339bdf52.zip |
OpenOffice.org 2.0, finally
(Portage version: 2.0.53_rc6)
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/openoffice-bin/ChangeLog | 8 | ||||
-rw-r--r-- | app-office/openoffice-bin/files/digest-openoffice-bin-2.0.0 | 50 | ||||
-rw-r--r-- | app-office/openoffice-bin/openoffice-bin-2.0.0.ebuild | 187 |
3 files changed, 244 insertions, 1 deletions
diff --git a/app-office/openoffice-bin/ChangeLog b/app-office/openoffice-bin/ChangeLog index 33683cd1b791..17d90745c368 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.105 2005/10/15 22:20:57 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.106 2005/10/20 13:29:55 suka Exp $ + +*openoffice-bin-2.0.0 (20 Oct 2005) + + 20 Oct 2005; Andreas Proschofsky <suka@gentoo.org> + +openoffice-bin-2.0.0.ebuild: + OpenOffice.org 2.0, finally. Time to celebrate. *openoffice-bin-2.0.0_rc3 (15 Oct 2005) diff --git a/app-office/openoffice-bin/files/digest-openoffice-bin-2.0.0 b/app-office/openoffice-bin/files/digest-openoffice-bin-2.0.0 new file mode 100644 index 000000000000..f77dc25d10bf --- /dev/null +++ b/app-office/openoffice-bin/files/digest-openoffice-bin-2.0.0 @@ -0,0 +1,50 @@ +MD5 432ac5895d105c2276c4f7de5fe70c9c OOo_2.0.0_LinuxIntel_install.tar.gz 106447396 +MD5 ed9b23761bd369443d353753a787a9f4 OOo_2.0.0rc2_051005_LinuxIntel_langpack_be-BY.tar.gz 13371707 +MD5 346355c88b5cbbbf1f3b052ccc16e615 OOo_2.0.0rc2_051005_LinuxIntel_langpack_bg.tar.gz 13899627 +MD5 5e6bd1c2c1ca116185e28859bfc11f9d OOo_2.0.0rc2_051005_LinuxIntel_langpack_ca.tar.gz 13326284 +MD5 2a9ee5df7f0149c722c30d6aae6edb45 OOo_2.0.0rc2_051005_LinuxIntel_langpack_cs.tar.gz 13973989 +MD5 32aaca7c6c7aa9e733b35979a1eb1f2f OOo_2.0.0rc2_051005_LinuxIntel_langpack_cy.tar.gz 13249984 +MD5 7f51fbc5d735cb186bac62a4ec60da6e OOo_2.0.0rc2_051005_LinuxIntel_langpack_da.tar.gz 13852333 +MD5 40f662865b02bb3cfd756ccd0dccd153 OOo_2.0.0rc2_051005_LinuxIntel_langpack_de.tar.gz 14802676 +MD5 d0ba86d894b555fb79db3d0223085dc7 OOo_2.0.0rc2_051005_LinuxIntel_langpack_el.tar.gz 13377334 +MD5 0e03bcf75866771d0c72f63879529462 OOo_2.0.0rc2_051005_LinuxIntel_langpack_es.tar.gz 14122554 +MD5 54cd48efd53b1a9e28b0e4033ee70cc0 OOo_2.0.0rc2_051005_LinuxIntel_langpack_et.tar.gz 14046504 +MD5 8766bc9b8e5b481a955b3df7347ae476 OOo_2.0.0rc2_051005_LinuxIntel_langpack_fi.tar.gz 13353993 +MD5 c14dba2c7a217124eeeb9f121d062a3b OOo_2.0.0rc2_051005_LinuxIntel_langpack_fr.tar.gz 14319116 +MD5 f0b3215b30253f55b37b455dddf18039 OOo_2.0.0rc2_051005_LinuxIntel_langpack_gu-IN.tar.gz 13383503 +MD5 3b3b4f81648d97a982a01797ba642d06 OOo_2.0.0rc2_051005_LinuxIntel_langpack_hr.tar.gz 13619973 +MD5 75328efc20bfa552dc86652af556d43b OOo_2.0.0rc2_051005_LinuxIntel_langpack_hu.tar.gz 13431675 +MD5 b26ff838f489f354ce079515e7e878b2 OOo_2.0.0rc2_051005_LinuxIntel_langpack_ja.tar.gz 14867484 +MD5 b8e408fd21a496827908f6900df782d4 OOo_2.0.0rc2_051005_LinuxIntel_langpack_km.tar.gz 16716054 +MD5 01af0d6b83481fc6bee2b74b0cdeb807 OOo_2.0.0rc2_051005_LinuxIntel_langpack_ko.tar.gz 14001094 +MD5 a63b3ee7d68817917edbdf664c79b58c OOo_2.0.0rc2_051005_LinuxIntel_langpack_nl.tar.gz 14404231 +MD5 453a79de1d517d4980bc9e8c401f0418 OOo_2.0.0rc2_051005_LinuxIntel_langpack_nn.tar.gz 13308437 +MD5 0edf453a43b65ed77e7403cf117fa633 OOo_2.0.0rc2_051005_LinuxIntel_langpack_pa-IN.tar.gz 13365947 +MD5 3c280f1474b42b9395d08870d54eced1 OOo_2.0.0rc2_051005_LinuxIntel_langpack_pl.tar.gz 13630834 +MD5 2ccd6396330ab28efd592ec900a8b00f OOo_2.0.0rc2_051005_LinuxIntel_langpack_pt-BR.tar.gz 14098232 +MD5 4cc2f3d419b1bbe3aabe888dadc89e9c OOo_2.0.0rc2_051005_LinuxIntel_langpack_rw.tar.gz 13637426 +MD5 1ba901ab46483ed3278c1c97f4c78a4d OOo_2.0.0rc2_051005_LinuxIntel_langpack_sh-YU.tar.gz 13324346 +MD5 d13d5077b3285ecce886fe2f4728f090 OOo_2.0.0rc2_051005_LinuxIntel_langpack_sk.tar.gz 13869339 +MD5 43e70805d54cb4da5204207625269869 OOo_2.0.0rc2_051005_LinuxIntel_langpack_sr-CS.tar.gz 13407602 +MD5 a12d2cc3572d0be819846a82788bc427 OOo_2.0.0rc2_051005_LinuxIntel_langpack_sw-TZ.tar.gz 13467747 +MD5 e27d87c1349ab8b1bc4537dc73e46885 OOo_2.0.0rc2_051005_LinuxIntel_langpack_tr.tar.gz 13490214 +MD5 7d2ed63f9081b3017e722efbbe909d73 OOo_2.0.0rc2_051005_LinuxIntel_langpack_vi.tar.gz 13322279 +MD5 161a64330ca659bcf8d6c53f2ab93a12 OOo_2.0.0rc2_051005_LinuxIntel_langpack_zh-CN.tar.gz 14182440 +MD5 61be1bb75ef1d7ce6fbeacfd8fa8b95d OOo_2.0.0rc2_051005_LinuxIntel_langpack_zh-TW.tar.gz 14353649 +MD5 2a1f884f4ea8869690105ccfbfbcdd2b openoffice.org-af-2.0.0-3.i586.tar.gz 13328513 +MD5 c9a8f25917c3e19b72add15d13e98450 openoffice.org-bn-2.0.0-3.i586.tar.gz 13243000 +MD5 1c9d19015811741fd64e593b4bed2a4b openoffice.org-br-2.0.0-3.i586.tar.gz 14296383 +MD5 735477a881f143009a85460c8059c587 openoffice.org-en-GB-2.0.0-3.i586.tar.gz 13383707 +MD5 afd90f4d509c703698eb5d95056597da openoffice.org-ga-2.0.0-3.i586.tar.gz 13525582 +MD5 1f3ee7008bf7843d03f4a4870ff2f2f2 openoffice.org-it-2.0.0-3.i586.tar.gz 14092080 +MD5 32ebc740c896a24403ed5627a8d15ca7 openoffice.org-lt-2.0.0-3.i586.tar.gz 13285092 +MD5 604eef49bfd0bc8e39eb8c8984ee407d openoffice.org-lv-2.0.0-3.i586.tar.gz 13271040 +MD5 53c5fffe9df5b0aa124560ae582a19dd openoffice.org-mk-2.0.0-3.i586.tar.gz 14034446 +MD5 9132186edfb3cdea0edea7cbb255381c openoffice.org-nb-2.0.0-3.i586.tar.gz 13294418 +MD5 6d88430b6248ea4f65a7aea383559acc openoffice.org-ne-2.0.0-3.i586.tar.gz 13314174 +MD5 fd69e615045b1f0c2b8966148c10de11 openoffice.org-ns-2.0.0-3.i586.tar.gz 13239413 +MD5 ffba3fd1341b97c1c26a2f7a4dd34a4e openoffice.org-sl-2.0.0-3.i586.tar.gz 13247902 +MD5 697c187aa90fa116922b7fc50e6ca16d openoffice.org-sv-2.0.0-3.i586.tar.gz 13888604 +MD5 990c0d2bd171138aa444f934bba70881 openoffice.org-tn-2.0.0-3.i586.tar.gz 13335818 +MD5 4cc2ae876eaddac87bf8fdd3c588353c openoffice.org-xh-2.0.0-3.i586.tar.gz 13368819 +MD5 c1fd889236c6f049625af27f290a17a9 openoffice.org-zu-2.0.0-3.i586.tar.gz 13293562 diff --git a/app-office/openoffice-bin/openoffice-bin-2.0.0.ebuild b/app-office/openoffice-bin/openoffice-bin-2.0.0.ebuild new file mode 100644 index 000000000000..803bd780897b --- /dev/null +++ b/app-office/openoffice-bin/openoffice-bin-2.0.0.ebuild @@ -0,0 +1,187 @@ +# 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-2.0.0.ebuild,v 1.1 2005/10/20 13:29:55 suka Exp $ + +inherit eutils fdo-mime rpm multilib + +IUSE="gnome java kde" + +MY_PV="${PV}rc2" +MY_PV2="${MY_PV}_051005" +S="${WORKDIR}/OOO680_m3_native_packed-2_en-US.8968/RPMS" +DESCRIPTION="OpenOffice productivity suite" + +LANGPACK="OOo_${MY_PV2}_LinuxIntel_langpack" +LANGPACKPATH="http://oootranslation.services.openoffice.org/pub/OpenOffice.org/${MY_PV}/${LANGPACK}" +LANGLOC="http://ftp.linux.cz/pub/localization/OpenOffice.org/devel/680/OOO680_m3/Build-1/OOo_OOO680_m3_native_LinuxIntel_langpacks_rpm" +LANGSUFFIX="${PV}-3.i586.tar.gz" + +SRC_URI="mirror://openoffice/stable/${PV}/OOo_${PV}_LinuxIntel_install.tar.gz + linguas_af? ( ${LANGLOC}/openoffice.org-af-${LANGSUFFIX} ) + linguas_be_BY? ( ${LANGPACKPATH}_be-BY.tar.gz ) + linguas_bg? ( ${LANGPACKPATH}_bg.tar.gz ) + linguas_bn? ( ${LANGLOC}/openoffice.org-bn-${LANGSUFFIX} ) + linguas_br? ( ${LANGLOC}/openoffice.org-br-${LANGSUFFIX} ) + linguas_ca? ( ${LANGPACKPATH}_ca.tar.gz ) + linguas_cs? ( ${LANGPACKPATH}_cs.tar.gz ) + linguas_cy? ( ${LANGPACKPATH}_cy.tar.gz ) + linguas_da? ( ${LANGPACKPATH}_da.tar.gz ) + linguas_de? ( ${LANGPACKPATH}_de.tar.gz ) + linguas_el? ( ${LANGPACKPATH}_el.tar.gz ) + linguas_en_GB? ( ${LANGLOC}/openoffice.org-en-GB-${LANGSUFFIX} ) + linguas_es? ( ${LANGPACKPATH}_es.tar.gz ) + linguas_et? ( ${LANGPACKPATH}_et.tar.gz ) + linguas_fi? ( ${LANGPACKPATH}_fi.tar.gz ) + linguas_fr? ( ${LANGPACKPATH}_fr.tar.gz ) + linguas_ga? ( ${LANGLOC}/openoffice.org-ga-${LANGSUFFIX} ) + linguas_gu_IN? ( ${LANGPACKPATH}_gu-IN.tar.gz ) + linguas_hr? ( ${LANGPACKPATH}_hr.tar.gz ) + linguas_hu? ( ${LANGPACKPATH}_hu.tar.gz ) + linguas_it? ( ${LANGLOC}/openoffice.org-it-${LANGSUFFIX} ) + linguas_ja? ( ${LANGPACKPATH}_ja.tar.gz ) + linguas_km? ( ${LANGPACKPATH}_km.tar.gz ) + linguas_ko? ( ${LANGPACKPATH}_ko.tar.gz ) + linguas_lt? ( ${LANGLOC}/openoffice.org-lt-${LANGSUFFIX} ) + linguas_lv? ( ${LANGLOC}/openoffice.org-lv-${LANGSUFFIX} ) + linguas_mk? ( ${LANGLOC}/openoffice.org-mk-${LANGSUFFIX} ) + linguas_nb? ( ${LANGLOC}/openoffice.org-nb-${LANGSUFFIX} ) + linguas_ne? ( ${LANGLOC}/openoffice.org-ne-${LANGSUFFIX} ) + linguas_nl? ( ${LANGPACKPATH}_nl.tar.gz ) + linguas_nn? ( ${LANGPACKPATH}_nn.tar.gz ) + linguas_ns? ( ${LANGLOC}/openoffice.org-ns-${LANGSUFFIX} ) + linguas_pa_IN? ( ${LANGPACKPATH}_pa-IN.tar.gz ) + linguas_pl? ( ${LANGPACKPATH}_pl.tar.gz ) + linguas_pt_BR? ( ${LANGPACKPATH}_pt-BR.tar.gz ) + linguas_rw? ( ${LANGPACKPATH}_rw.tar.gz ) + linguas_sh_YU? ( ${LANGPACKPATH}_sh-YU.tar.gz ) + linguas_sk? ( ${LANGPACKPATH}_sk.tar.gz ) + linguas_sl? ( ${LANGLOC}/openoffice.org-sl-${LANGSUFFIX} ) + linguas_sr_CS? ( ${LANGPACKPATH}_sr-CS.tar.gz ) + linguas_sv? ( ${LANGLOC}/openoffice.org-sv-${LANGSUFFIX} ) + linguas_sw_TZ? ( ${LANGPACKPATH}_sw-TZ.tar.gz ) + linguas_tn? ( ${LANGLOC}/openoffice.org-tn-${LANGSUFFIX} ) + linguas_tr? ( ${LANGPACKPATH}_tr.tar.gz ) + linguas_vi? ( ${LANGPACKPATH}_vi.tar.gz ) + linguas_xh? ( ${LANGLOC}/openoffice.org-xh-${LANGSUFFIX} ) + linguas_zh_CN? ( ${LANGPACKPATH}_zh-CN.tar.gz ) + linguas_zh_TW? ( ${LANGPACKPATH}_zh-TW.tar.gz ) + linguas_zu? ( ${LANGLOC}/openoffice.org-zu-${LANGSUFFIX} )" + +HOMEPAGE="http://www.openoffice.org/" + +LICENSE="LGPL-2" +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 calc core01 core02 core03 core03u core04 core04u core05 core05u core06 core07 core08 core09 core10 draw impress math writer graphicfilter pyuno spellcheck testtool xsltfilter ; do + rpm_unpack ${S}/openoffice.org-${i}-${PV}-3.i586.rpm + done + + rpm_unpack ${S}/desktop-integration/openoffice.org-freedesktop-menus-${PV}-3.noarch.rpm + use kde && rpm_unpack ${S}/desktop-integration/openoffice.org-suse-menus-${PV}-3.noarch.rpm + + use gnome && rpm_unpack ${S}/openoffice.org-gnome-integration-${PV}-3.i586.rpm + use java && rpm_unpack ${S}/openoffice.org-javafilter-${PV}-3.i586.rpm + + strip-linguas en af be_BY bg bn br ca cs cy da de el en_GB es et fi fr ga gu_IN hr hu it ja km ko lt lv mk nb ne nl nn ns pa_IN pl pt_BR rw sh_YU sk sl sr_CS sv sw_TZ tn tr vi xh zh_CN zh_TW zu + + for i in ${LINGUAS}; do + i="${i/_/-}" + if [ ${i} != "en" ] ; then + rpm_unpack openoffice.org-${i}-${PV}-*.i586.rpm + rpm_unpack openoffice.org-${i}-help-${PV}-*.i586.rpm + rpm_unpack openoffice.org-${i}-res-${PV}-*.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} + dodir /usr/share/icons + dodir /usr/share/mime + mv ${WORKDIR}/opt/openoffice.org2.0/* ${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-2.0-printeradmin'/'Exec=oopadmin2'/g printeradmin.desktop || die + + for desk in base calc draw impress math writer printeradmin; 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 + domenu openoffice.org-2.0-${desk}.desktop + done + + # 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 + + # Fixing some icon dir permissions + chmod 755 -R ${D}/usr/share/icons/ || die + + # Icon symlinks for gnome + dodir /usr/share/pixmaps + for app in base calc draw impress math printeradmin writer; do + dosym /usr/share/icons/gnome/32x32/apps/openofficeorg-20-${app}.png /usr/share/pixmaps/openofficeorg-20-${app}.png + done + + # Non-java weirdness see bug #99366 + use java || rm -f ${D}${INSTDIR}/program/javaldx +} + +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" +} |