diff options
author | Brad Laue <brad@gentoo.org> | 2003-07-24 01:58:04 +0000 |
---|---|---|
committer | Brad Laue <brad@gentoo.org> | 2003-07-24 01:58:04 +0000 |
commit | 09dbfb4aacb459e0df60caab5f18dde0235fb6c3 (patch) | |
tree | 3d013a43ffa236adc7713e041267c3a43d2f5cf9 /app-office | |
parent | Remove old patchfiles (diff) | |
download | gentoo-2-09dbfb4aacb459e0df60caab5f18dde0235fb6c3.tar.gz gentoo-2-09dbfb4aacb459e0df60caab5f18dde0235fb6c3.tar.bz2 gentoo-2-09dbfb4aacb459e0df60caab5f18dde0235fb6c3.zip |
remove old ebuilds
Diffstat (limited to 'app-office')
13 files changed, 1 insertions, 1218 deletions
diff --git a/app-office/openoffice-bin/Manifest b/app-office/openoffice-bin/Manifest index 4b9f2e7deaf3..13b08282a750 100644 --- a/app-office/openoffice-bin/Manifest +++ b/app-office/openoffice-bin/Manifest @@ -1,21 +1,9 @@ MD5 1a537961942ce410624d4d7628eb4a7a ChangeLog 4777 -MD5 583bb2a3fcf66696f1c3c389874b82c9 openoffice-bin-1.0.0-r3.ebuild 2912 -MD5 b221cf945d38e9e31215107f8d084063 openoffice-bin-1.0.1.ebuild 5603 -MD5 7641bbaef9471705b1ed80f92485d707 openoffice-bin-1.0.2.ebuild 6176 -MD5 d75508db43d161514ce1f1288c5d67d2 openoffice-bin-1.0.3.ebuild 6177 -MD5 1d8dc5e17ece7fe099b2297b2fe64d04 openoffice-bin-1.1_beta.ebuild 5963 MD5 286e13ebb4c41e2b2a502ac3b12fa6b4 openoffice-bin-1.0.3.1.ebuild 6448 -MD5 4c18a84bc75b5859b4ffd053f8762759 openoffice-bin-1.1_beta-r1.ebuild 6254 -MD5 9c068210f1dad29882aad1a6683bf9d2 openoffice-bin-1.1_beta2.ebuild 6263 +MD5 d75508db43d161514ce1f1288c5d67d2 openoffice-bin-1.0.3.ebuild 6177 MD5 5f4e3e9607c2aad50415136878183d99 openoffice-bin-1.1_beta2-r1.ebuild 6306 -MD5 9f6fa2caffbec422160157fb68966b37 files/digest-openoffice-bin-1.0.0-r3 82 -MD5 9f9a6ba9924997dd5a42c2b374ea6aa8 files/digest-openoffice-bin-1.0.1 165 -MD5 6bb2dccd6a53a5457be6670d628c77d3 files/digest-openoffice-bin-1.0.2 168 MD5 e345ca755fa551b18c20129ebb7da224 files/digest-openoffice-bin-1.0.3 82 -MD5 7339447c6b75b9d8cad638a824041ba5 files/digest-openoffice-bin-1.1_beta 84 MD5 94e303d234eb28b21c53aefdc9f8f19f files/digest-openoffice-bin-1.0.3.1 145 -MD5 7339447c6b75b9d8cad638a824041ba5 files/digest-openoffice-bin-1.1_beta-r1 84 -MD5 777372dfd2a1b56594ee73e40e663be6 files/digest-openoffice-bin-1.1_beta2 85 MD5 777372dfd2a1b56594ee73e40e663be6 files/digest-openoffice-bin-1.1_beta2-r1 85 MD5 31dc859e113fcefc3b4aaaab55d54bb9 files/1.0.0/read_ins.pl 9753 MD5 5ec13ed7c68a3af10ef7d74bf104fb3d files/1.0.0/regcomp-1.0.0.tbz2 11185 diff --git a/app-office/openoffice-bin/files/digest-openoffice-bin-1.0.0-r3 b/app-office/openoffice-bin/files/digest-openoffice-bin-1.0.0-r3 deleted file mode 100644 index 18ef3eba7a85..000000000000 --- a/app-office/openoffice-bin/files/digest-openoffice-bin-1.0.0-r3 +++ /dev/null @@ -1 +0,0 @@ -MD5 24b64e79509f4e6b4e458fe35f82c762 OOo_1.0.0_LinuxIntel_install.tar.gz 69877656 diff --git a/app-office/openoffice-bin/files/digest-openoffice-bin-1.0.1 b/app-office/openoffice-bin/files/digest-openoffice-bin-1.0.1 deleted file mode 100644 index 0754c9606185..000000000000 --- a/app-office/openoffice-bin/files/digest-openoffice-bin-1.0.1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 432cf242c085fb3a3675779b393ed2b4 OOo_1.0.1c_LinuxPPC_installer.tar.gz 64939379 -MD5 e03cb9573ff176b47fb2101732104d83 OOo_1.0.1_LinuxIntel_install.tar.gz 74286597 diff --git a/app-office/openoffice-bin/files/digest-openoffice-bin-1.0.2 b/app-office/openoffice-bin/files/digest-openoffice-bin-1.0.2 deleted file mode 100644 index ef11da4f0658..000000000000 --- a/app-office/openoffice-bin/files/digest-openoffice-bin-1.0.2 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 c875899cb0036a40de377d46ab87b310 OOo_1.0.2_LinuxIntel_install.tar.gz 72667992 -MD5 6ef6fb8519300dcc0e87b32cb7d288dc OOo_1.0.2_LinuxPowerPC_installer.tar.gz 65305787 diff --git a/app-office/openoffice-bin/files/digest-openoffice-bin-1.1_beta b/app-office/openoffice-bin/files/digest-openoffice-bin-1.1_beta deleted file mode 100644 index 3e5417ed3e2b..000000000000 --- a/app-office/openoffice-bin/files/digest-openoffice-bin-1.1_beta +++ /dev/null @@ -1 +0,0 @@ -MD5 4e569a2c71d2f1111ffab045633cdc2e OOo_1.1beta_LinuxIntel_install.tar.gz 74868185 diff --git a/app-office/openoffice-bin/files/digest-openoffice-bin-1.1_beta-r1 b/app-office/openoffice-bin/files/digest-openoffice-bin-1.1_beta-r1 deleted file mode 100644 index 3e5417ed3e2b..000000000000 --- a/app-office/openoffice-bin/files/digest-openoffice-bin-1.1_beta-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 4e569a2c71d2f1111ffab045633cdc2e OOo_1.1beta_LinuxIntel_install.tar.gz 74868185 diff --git a/app-office/openoffice-bin/files/digest-openoffice-bin-1.1_beta2 b/app-office/openoffice-bin/files/digest-openoffice-bin-1.1_beta2 deleted file mode 100644 index fb4953079bf3..000000000000 --- a/app-office/openoffice-bin/files/digest-openoffice-bin-1.1_beta2 +++ /dev/null @@ -1 +0,0 @@ -MD5 84565c1c28c5a526b9e6faabd3d97074 OOo_1.1beta2_LinuxIntel_install.tar.gz 73649497 diff --git a/app-office/openoffice-bin/openoffice-bin-1.0.0-r3.ebuild b/app-office/openoffice-bin/openoffice-bin-1.0.0-r3.ebuild deleted file mode 100644 index 73d017abc8e2..000000000000 --- a/app-office/openoffice-bin/openoffice-bin-1.0.0-r3.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-1.0.0-r3.ebuild,v 1.8 2003/03/11 21:11:45 seemant Exp $ - -IUSE="" - -inherit virtualx - -# NOTE: There are two big issues that should be addressed. -# -# 1) Language support and fonts should be addressed. - -MY_PV="`echo ${PV} | gawk '{ print toupper($1) }'`" -LOC="/opt" -S="${WORKDIR}/install" -DESCRIPTION="OpenOffice productivity suite" -SRC_URI="x86? ( http://ny1.mirror.openoffice.org/${PV}/OOo_${MY_PV}_LinuxIntel_install.tar.gz - http://sf1.mirror.openoffice.org/${PV}/OOo_${MY_PV}_LinuxIntel_install.tar.gz )" -HOMEPAGE="http://www.openoffice.org" - -DEPEND="virtual/glibc - >=dev-lang/perl-5.0 - virtual/x11 - app-arch/zip - app-arch/unzip - >=virtual/jdk-1.3.1" - -LICENSE="LGPL-2 | SISSL-1.1" -SLOT="0" -KEYWORDS="x86 -ppc -sparc " - -src_unpack() { - - unpack OOo_${MY_PV}_LinuxIntel_install.tar.gz -} - -src_install() { - - # Autoresponse file for main installation - cat > ${T}/rsfile-global <<-"END_RS" - [ENVIRONMENT] - INSTALLATIONMODE=INSTALL_NETWORK - INSTALLATIONTYPE=STANDARD - DESTINATIONPATH=<destdir> - OUTERPATH= - LOGFILE= - LANGUAGELIST=<LANGUAGE> - - [JAVA] - JavaSupport=preinstalled_or_none - END_RS - - # Autoresponse file for user isntallation - cat > ${T}/rsfile-local <<-"END_RS" - [ENVIRONMENT] - INSTALLATIONMODE=INSTALL_WORKSTATION - INSTALLATIONTYPE=WORKSTATION - DESTINATIONPATH=<home>/.openoffice - - [JAVA] - JavaSupport=none - END_RS - - # Fixing install location in response file - sed -e "s|<destdir>|${D}${LOC}/OpenOffice-${PV}|" \ - ${T}/rsfile-global > ${T}/autoresponse - - einfo "Installing into build root..." - dodir ${LOC}/OpenOffice-${PV} - cd ${S} - export maketype="./setup" - virtualmake "-v -r:${T}/autoresponse" - - echo - einfo "Removing build root from registy..." - # Remove totally useless stuff. - rm -f ${D}${LOC}/OpenOffice-${PV}/program/{setup.log,sopatchlevel.sh} - # Remove build root from registry and co - egrep -rl "${D}" ${D}${LOC}/OpenOffice-${PV}/* | \ - xargs -i perl -pi -e "s|${D}||g" {} || : - - einfo "Fixing permissions..." - # Fix permissions - find ${D}${LOC}/OpenOffice-${PV}/ -type f -exec chmod ag+r {} \; - - # Fix symlinks - for x in "soffice program/spadmin" \ - "program/setup setup" \ - "program/spadmin spadmin" - do - dosym $(echo ${x} | awk '{print $1}') \ - ${LOC}/OpenOffice-${PV}/$(echo ${x} | awk '{print $2}') - done - - # Install user autoresponse file - insinto /etc/openoffice - newins ${T}/rsfile-local autoresponse.conf -} - -pkg_postinst() { - - # Make sure these do not get nuked. - cd ${ROOT}${LOC}/OpenOffice-${PV} - keepdir ${ROOT}${LOC}/OpenOffice-${PV}/user/config/registry/instance/org/openoffice/{Office,ucb} - keepdir ${ROOT}${LOC}/OpenOffice-${PV}/user/psprint/{driver,fontmetric} - keepdir ${ROOT}${LOC}/OpenOffice-${PV}/user/{autocorr,backup,plugin,store,temp,template} -} - diff --git a/app-office/openoffice-bin/openoffice-bin-1.0.1.ebuild b/app-office/openoffice-bin/openoffice-bin-1.0.1.ebuild deleted file mode 100644 index f85967caa08b..000000000000 --- a/app-office/openoffice-bin/openoffice-bin-1.0.1.ebuild +++ /dev/null @@ -1,204 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-1.0.1.ebuild,v 1.13 2003/03/11 21:11:45 seemant Exp $ - -IUSE="kde gnome" - -inherit virtualx - -# NOTE: There are two big issues that should be addressed. -# -# 1) Language support and fonts should be addressed. - -LOC="/opt" - -INSTDIR="${LOC}/OpenOffice.org${PV}" -MY_PV="`echo ${PV} | gawk '{ print toupper($1) }'`" - -if [ `use ppc` ]; then - MY_P="OOo_${MY_PV}c_LinuxPPC_installer" - S="${WORKDIR}/${MY_P}" -else - MY_P="OOo_${MY_PV}_LinuxIntel_install" - S="${WORKDIR}/install" -fi; - -DESCRIPTION="OpenOffice productivity suite" -SRC_URI="x86? ( http://ny1.mirror.openoffice.org/${PV}/OOo_${MY_PV}_LinuxIntel_install.tar.gz - http://sf1.mirror.openoffice.org/${PV}/OOo_${MY_PV}_LinuxIntel_install.tar.gz ) - ppc? ( http://ftp.penguinppc.org/projects/openoffice/${MY_PV}/OOo_${MY_PV}c_LinuxPPC_installer.tar.gz )" -HOMEPAGE="http://www.openoffice.org" - -DEPEND="virtual/glibc - >=dev-lang/perl-5.0 - virtual/x11 - app-arch/zip - app-arch/unzip - >=virtual/jdk-1.3.1" - -LICENSE="LGPL-2 | SISSL-1.1" -SLOT="0" -KEYWORDS="x86 ppc -sparc " - -src_install() { - - # Sandbox issues; bug #8587 - addpredict "/user" - addpredict "/share" - - # Sandbox issues; bug 8063 - addpredict "/dev/dri" - - # Autoresponse file for main installation - cat > ${T}/rsfile-global <<-"END_RS" - [ENVIRONMENT] - INSTALLATIONMODE=INSTALL_NETWORK - INSTALLATIONTYPE=STANDARD - DESTINATIONPATH=<destdir> - OUTERPATH= - LOGFILE= - LANGUAGELIST=<LANGUAGE> - - [JAVA] - JavaSupport=preinstalled_or_none - END_RS - - # Autoresponse file for user isntallation - cat > ${T}/rsfile-local <<-"END_RS" - [ENVIRONMENT] - INSTALLATIONMODE=INSTALL_WORKSTATION - INSTALLATIONTYPE=WORKSTATION - DESTINATIONPATH=<home>/.openoffice/<pv> - - [JAVA] - JavaSupport=none - END_RS - - # Fixing install location in response file - sed -e "s|<destdir>|${D}${INSTDIR}|" \ - ${T}/rsfile-global > ${T}/autoresponse - - einfo "Installing OpenOffice.org into build root..." - dodir ${INSTDIR} - cd ${S} - # Setup virtualmake - export maketype="./setup" - # We need X to install... - virtualmake "-v -r:${T}/autoresponse" - - echo - einfo "Removing build root from registry..." - # Remove totally useless stuff. - rm -f ${D}${INSTDIR}/program/{setup.log,sopatchlevel.sh} - # Remove build root from registry and co - egrep -rl "${D}" ${D}${INSTDIR}/* | \ - xargs -i perl -pi -e "s|${D}||g" {} || : - - einfo "Fixing permissions..." - # Fix permissions - find ${D}${INSTDIR}/ -type f -exec chmod a+r {} \; - chmod a+x ${D}${INSTDIR}/share/config/webcast/*.pl - - # Fix symlinks - for x in "soffice program/spadmin" \ - "program/setup setup" \ - "program/spadmin spadmin" - do - dosym $(echo ${x} | awk '{print $1}') \ - ${INSTDIR}/$(echo ${x} | awk '{print $2}') - done - - # Install user autoresponse file - insinto /etc/openoffice - sed -e "s|<pv>|${PV}|g" ${T}/rsfile-local > ${T}/autoresponse.conf - doins ${T}/autoresponse.conf - - # Install wrapper script - exeinto /usr/bin - sed -e "s|<pv>|${PV}|g" \ - ${FILESDIR}/${PV}/ooffice-wrapper-1.1 > ${T}/ooffice - doexe ${T}/ooffice - # Component symlinks - dosym ooffice /usr/bin/oocalc - dosym ooffice /usr/bin/oodraw - dosym ooffice /usr/bin/ooimpress - dosym ooffice /usr/bin/oomath - dosym ooffice /usr/bin/oowriter - dosym ooffice /usr/bin/oosetup - dosym ooffice /usr/bin/oopadmin - - einfo "Installing Menu shortcuts (need \"gnome\" or \"kde\" in USE)..." - if [ -n "`use gnome`" ] - then - insinto /usr/share/gnome/apps/OpenOffice.org - # Install the files needed for the catagory - doins ${D}${INSTDIR}/share/gnome/net/.directory - doins ${D}${INSTDIR}/share/gnome/net/.order - - for x in ${D}${INSTDIR}/share/gnome/net/*.desktop - do - # We have to handle setup differently - perl -pi -e "s:${INSTDIR}/program/setup:/usr/bin/oosetup:g" ${x} - # Now fix the rest - perl -pi -e "s:${INSTDIR}/program/s:/usr/bin/oo:g" ${x} - doins ${x} - done - fi - - if [ -n "`use kde`" ] - then - local kdeloc="${D}${INSTDIR}/share/kde/net/applnk/OpenOffice.org${PV}" - - # Portage do not work with the space .. - mv ${D}${INSTDIR}/share/kde/net/applnk/OpenOffice.org\ ${PV} ${kdeloc} - - insinto /usr/share/applnk/OpenOffice.org - # Install the files needed for the catagory - doins ${kdeloc}/.directory - doins ${kdeloc}/.order - dodir /usr/share - # Install the icons and mime info - cp -a ${D}${INSTDIR}/share/kde/net/mimelnk/share/* ${D}/usr/share - - for x in ${kdeloc}/*.desktop - do - # We have to handle setup differently - perl -pi -e "s:${INSTDIR}/program/setup:/usr/bin/oosetup:g" ${x} - # Now fix the rest - perl -pi -e "s:${INSTDIR}/program/s:/usr/bin/oo:g" ${x} - doins ${x} - done - fi - - # Unneeded, as they get installed into /usr/share... - rm -rf ${D}${INSTDIR}/share/{cde,gnome,kde} - - # Make sure these do not get nuked. - keepdir ${INSTDIR}/user/config/registry/instance/org/openoffice/{Office,ucb} - keepdir ${INSTDIR}/user/psprint/{driver,fontmetric} - keepdir ${INSTDIR}/user/{autocorr,backup,plugin,store,temp,template} -} - -pkg_preinst() { - - # The one with OO-1.0.0 was not valid - if [ -f ${ROOT}/etc/openoffice/autoresponse.conf ] - then - rm -f ${ROOT}/etc/openoffice/autoresponse.conf - fi -} - -pkg_postinst() { - - einfo "******************************************************************" - einfo " To start OpenOffice.org, run:" - einfo - einfo " $ ooffice" - einfo - einfo " Also, for individual components, you can use any of:" - einfo - einfo " oocalc, oodraw, ooimpress, oomath or oowriter" - einfo - einfo "******************************************************************" -} - diff --git a/app-office/openoffice-bin/openoffice-bin-1.0.2.ebuild b/app-office/openoffice-bin/openoffice-bin-1.0.2.ebuild deleted file mode 100644 index ee6dbde11826..000000000000 --- a/app-office/openoffice-bin/openoffice-bin-1.0.2.ebuild +++ /dev/null @@ -1,218 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-1.0.2.ebuild,v 1.14 2003/04/19 19:55:45 sethbc Exp $ - -IUSE="kde gnome" - -inherit virtualx - -# NOTE: There are two big issues that should be addressed. -# -# 1) Language support and fonts should be addressed. - -LOC="/opt" - -INSTDIR="${LOC}/OpenOffice.org${PV}" -MY_PV="`echo ${PV} | gawk '{ print toupper($1) }'`" - -if [ `use ppc` ]; then - MY_P="OOo_${MY_PV}_LinuxPowerPC_installer" - S="${WORKDIR}/${MY_P}" -else - MY_P="OOo_${MY_PV}_LinuxIntel_install" - S="${WORKDIR}/install" -fi; - -DESCRIPTION="OpenOffice productivity suite" -SRC_URI="x86? ( http://ny1.mirror.openoffice.org/stable/${PV}/OOo_${MY_PV}_LinuxIntel_install.tar.gz - http://sf1.mirror.openoffice.org/stable/${PV}/OOo_${MY_PV}_LinuxIntel_install.tar.gz ) - ppc? ( ftp://ftp.yellowdoglinux.com/pub/yellowdog/software/openoffice/OOo_${MY_PV}_LinuxPowerPC_installer.tar.gz )" -HOMEPAGE="http://www.openoffice.org" - -DEPEND="virtual/glibc - >=dev-lang/perl-5.0 - virtual/x11 - app-arch/zip - app-arch/unzip - || ( >=virtual/jdk-1.3.1 >=virtual/jre-1.3.1 ) - !app-office/openoffice" - -LICENSE="LGPL-2 | SISSL-1.1" -SLOT="0" -KEYWORDS="x86 ppc -sparc " - -src_install() { - - # Sandbox issues; bug #8587 - addpredict "/user" - addpredict "/share" - - # Sandbox issues; bug 8063 - addpredict "/dev/dri" - - # Autoresponse file for main installation - cat > ${T}/rsfile-global <<-"END_RS" - [ENVIRONMENT] - INSTALLATIONMODE=INSTALL_NETWORK - INSTALLATIONTYPE=STANDARD - DESTINATIONPATH=<destdir> - OUTERPATH= - LOGFILE= - LANGUAGELIST=<LANGUAGE> - - [JAVA] - JavaSupport=preinstalled_or_none - END_RS - - # Autoresponse file for user isntallation - cat > ${T}/rsfile-local <<-"END_RS" - [ENVIRONMENT] - INSTALLATIONMODE=INSTALL_WORKSTATION - INSTALLATIONTYPE=WORKSTATION - DESTINATIONPATH=<home>/.openoffice/<pv> - - [JAVA] - JavaSupport=none - END_RS - - # Fixing install location in response file - sed -e "s|<destdir>|${D}${INSTDIR}|" \ - ${T}/rsfile-global > ${T}/autoresponse - - einfo "Installing OpenOffice.org into build root..." - dodir ${INSTDIR} - cd ${S} - # Setup virtualmake - export maketype="./setup" - # We need X to install... - virtualmake "-v -r:${T}/autoresponse" - - #fix the libstdc++.so symlink - cd ${D}/${INSTDIR}/program - ln -sf libstdc++.so.3.0.4 libstdc++.so.3 - ln -sf libstdc++.so.3.0.4 libstdc++ - - echo - einfo "Removing build root from registry..." - # Remove totally useless stuff. - rm -f ${D}${INSTDIR}/program/{setup.log,sopatchlevel.sh} - # Remove build root from registry and co - egrep -rl "${D}" ${D}${INSTDIR}/* | \ - xargs -i perl -pi -e "s|${D}||g" {} || : - - einfo "Fixing permissions..." - # Fix permissions - find ${D}${INSTDIR}/ -type f -exec chmod a+r {} \; - chmod a+x ${D}${INSTDIR}/share/config/webcast/*.pl - - # Fix symlinks - for x in "soffice program/spadmin" \ - "program/setup setup" \ - "program/spadmin spadmin" - do - dosym $(echo ${x} | awk '{print $1}') \ - ${INSTDIR}/$(echo ${x} | awk '{print $2}') - done - - # Install user autoresponse file - insinto /etc/openoffice - sed -e "s|<pv>|${PV}|g" ${T}/rsfile-local > ${T}/autoresponse.conf - doins ${T}/autoresponse.conf - - # Install wrapper script - exeinto /usr/bin - sed -e "s|<pv>|${PV}|g" \ - ${FILESDIR}/${PV}/ooffice-wrapper-1.2 > ${T}/ooffice - doexe ${T}/ooffice - # Component symlinks - dosym ooffice /usr/bin/oocalc - dosym ooffice /usr/bin/oodraw - dosym ooffice /usr/bin/ooimpress - dosym ooffice /usr/bin/oomath - dosym ooffice /usr/bin/oowriter - dosym ooffice /usr/bin/oosetup - dosym ooffice /usr/bin/oopadmin - - einfo "Installing Menu shortcuts (need \"gnome\" or \"kde\" in USE)..." - if [ -n "`use gnome`" ] - then - insinto /usr/share/gnome/apps/OpenOffice.org - # Install the files needed for the catagory - doins ${D}${INSTDIR}/share/gnome/net/.directory - doins ${D}${INSTDIR}/share/gnome/net/.order - - for x in ${D}${INSTDIR}/share/gnome/net/*.desktop - do - # We have to handle setup differently - perl -pi -e "s:${INSTDIR}/program/setup:/usr/bin/oosetup:g" ${x} - # Now fix the rest - perl -pi -e "s:${INSTDIR}/program/s:/usr/bin/oo:g" ${x} - doins ${x} - done - fi - - if [ -n "`use kde`" ] - then - local kdeloc="${D}${INSTDIR}/share/kde/net/applnk/OpenOffice.org${PV}" - - # Portage do not work with the space .. - mv ${D}${INSTDIR}/share/kde/net/applnk/OpenOffice.org\ ${PV} ${kdeloc} - - insinto /usr/share/applnk/OpenOffice.org - # Install the files needed for the catagory - doins ${kdeloc}/.directory - doins ${kdeloc}/.order - dodir /usr/share - # Install the icons and mime info - cp -a ${D}${INSTDIR}/share/kde/net/mimelnk/share/* ${D}/usr/share - - for x in ${kdeloc}/*.desktop - do - # We have to handle setup differently - perl -pi -e "s:${INSTDIR}/program/setup:/usr/bin/oosetup:g" ${x} - # Now fix the rest - perl -pi -e "s:${INSTDIR}/program/s:/usr/bin/oo:g" ${x} - doins ${x} - done - fi - - # Unneeded, as they get installed into /usr/share... - rm -rf ${D}${INSTDIR}/share/{cde,gnome,kde} - - for f in ${D}/usr/share/gnome/apps/OpenOffice.org/* ; do - echo 'Categories=Application;Office;' >> ${f} - done - - - # Make sure these do not get nuked. - keepdir ${INSTDIR}/user/config/registry/instance/org/openoffice/{Office,ucb} - keepdir ${INSTDIR}/user/psprint/{driver,fontmetric} - keepdir ${INSTDIR}/user/{autocorr,backup,plugin,store,temp,template} -} - -pkg_preinst() { - - # The one with OO-1.0.0 was not valid - if [ -f ${ROOT}/etc/openoffice/autoresponse.conf ] - then - rm -f ${ROOT}/etc/openoffice/autoresponse.conf - fi -} - -pkg_postinst() { - - einfo "******************************************************************" - einfo " To start OpenOffice.org, run:" - einfo - einfo " $ ooffice" - einfo - einfo " Also, for individual components, you can use any of:" - einfo - einfo " oocalc, oodraw, ooimpress, oomath or oowriter" - einfo - einfo " If the fonts appear garbled in the user interface refer to " - einfo " Bug 8539, or http://www.openoffice.org/FAQs/fontguide.html#8" - einfo - einfo "******************************************************************" -} - diff --git a/app-office/openoffice-bin/openoffice-bin-1.1_beta-r1.ebuild b/app-office/openoffice-bin/openoffice-bin-1.1_beta-r1.ebuild deleted file mode 100644 index e367fabcb440..000000000000 --- a/app-office/openoffice-bin/openoffice-bin-1.1_beta-r1.ebuild +++ /dev/null @@ -1,226 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-1.1_beta-r1.ebuild,v 1.2 2003/06/19 21:24:10 pauldv Exp $ - -IUSE="kde gnome" - -inherit virtualx - -# NOTE: There are two big issues that should be addressed. -# -# 1) Language support and fonts should be addressed. - -LOC="/opt" - -INSTDIR="${LOC}/OpenOffice.org${PV}" -#MY_PV="`echo ${PV} | gawk '{ print tolower($1) }'`" -MY_PV="${PV/_/}" -if [ `use ppc` ]; then - MY_P="OOo_${MY_PV}_LinuxPowerPC_installer" -S="${WORKDIR}/${MY_P}" -else - MY_P="OOo_${MY_PV}_LinuxIntel_install" - S="${WORKDIR}/install" -fi; - -DESCRIPTION="OpenOffice productivity suite" -SRC_URI="x86? ( http://ny1.mirror.openoffice.org/stable/${MY_PV}/OOo_${MY_PV}_LinuxIntel_install.tar.gz - http://sf1.mirror.openoffice.org/stable/${MY_PV}/OOo_${MY_PV}_LinuxIntel_install.tar.gz ) - ppc? ( ftp://ftp.yellowdoglinux.com/pub/yellowdog/software/openoffice/OOo_${MY_PV}_LinuxPowerPC_installer.tar.gz )" -HOMEPAGE="http://www.openoffice.org" - -DEPEND="virtual/glibc - sys-apps/findutils - >=dev-lang/perl-5.0 - virtual/x11 - app-arch/zip - app-arch/unzip - || ( >=virtual/jdk-1.3.1 >=virtual/jre-1.3.1 ) - !app-office/openoffice" - -$DEPEND="virtual/glibc - >=dev-lang/perl-5.0 - virtual/x11 - app-arch/zip - app-arch/unzip - || ( >=virtual/jdk-1.3.1 >=virtual/jre-1.3.1 ) - !app-office/openoffice" - -LICENSE="LGPL-2 | SISSL-1.1" -SLOT="0" -KEYWORDS="~x86 -ppc -sparc " - -src_install() { - # Sandbox issues; bug #8587 - addpredict "/user" - addpredict "/share" - - # Sandbox issues; bug 8063 - addpredict "/dev/dri" - - # Autoresponse file for main installation - cat > ${T}/rsfile-global <<-"END_RS" - [ENVIRONMENT] - INSTALLATIONMODE=INSTALL_NETWORK - INSTALLATIONTYPE=STANDARD - DESTINATIONPATH=<destdir> - OUTERPATH= - LOGFILE= - LANGUAGELIST=<LANGUAGE> - - [JAVA] - JavaSupport=preinstalled_or_none - END_RS - - # Autoresponse file for user isntallation - cat > ${T}/rsfile-local <<-"END_RS" - [ENVIRONMENT] - INSTALLATIONMODE=INSTALL_WORKSTATION - INSTALLATIONTYPE=WORKSTATION - DESTINATIONPATH=<home>/.openoffice/<pv> - - [JAVA] - JavaSupport=none - END_RS - - # Fixing install location in response file - sed -e "s|<destdir>|${D}${INSTDIR}|" \ - ${T}/rsfile-global > ${T}/autoresponse - - einfo "Installing OpenOffice.org into build root..." - dodir ${INSTDIR} - cd ${S} - # Setup virtualmake - export maketype="./setup" - # We need X to install... - virtualmake "-v -r:${T}/autoresponse" - - #fix the libstdc++.so symlink - cd ${D}/${INSTDIR}/program - ln -sf libstdc++.so.3.0.4 libstdc++.so.3 - ln -sf libstdc++.so.3.0.4 libstdc++ - - echo - einfo "Removing build root from registry..." - # Remove totally useless stuff. - rm -f ${D}${INSTDIR}/program/{setup.log,sopatchlevel.sh} - # Remove build root from registry and co - egrep -rl "${D}" ${D}${INSTDIR}/* | \ - xargs -i perl -pi -e "s|${D}||g" {} || : - - einfo "Fixing permissions..." - # Fix permissions - find ${D}${INSTDIR}/ -type f -exec chmod a+r {} \; - chmod a+x ${D}${INSTDIR}/share/config/webcast/*.pl - - # Fix symlinks - for x in "soffice program/spadmin" \ - "program/setup setup" \ - "program/spadmin spadmin" - do - dosym $(echo ${x} | awk '{print $1}') \ - ${INSTDIR}/$(echo ${x} | awk '{print $2}') - done - - # Install user autoresponse file - insinto /etc/openoffice - sed -e "s|<pv>|${PV}|g" ${T}/rsfile-local > ${T}/autoresponse.conf - doins ${T}/autoresponse.conf - - # Install wrapper script - exeinto /usr/bin - sed -e "s|<pv>|${PV}|g" \ - ${FILESDIR}/${PV}/ooffice-wrapper-1.3 > ${T}/ooffice - doexe ${T}/ooffice - # Component symlinks - dosym ooffice /usr/bin/oocalc - dosym ooffice /usr/bin/oodraw - dosym ooffice /usr/bin/ooimpress - dosym ooffice /usr/bin/oomath - dosym ooffice /usr/bin/oowriter - dosym ooffice /usr/bin/oosetup - dosym ooffice /usr/bin/oopadmin - - einfo "Installing Menu shortcuts (need \"gnome\" or \"kde\" in USE)..." - if [ -n "`use gnome`" ] - then - insinto /usr/share/gnome/apps/OpenOffice.org - # Install the files needed for the catagory - doins ${D}${INSTDIR}/share/gnome/net/.directory - doins ${D}${INSTDIR}/share/gnome/net/.order - - for x in ${D}${INSTDIR}/share/gnome/net/*.desktop - do - # We have to handle setup differently - perl -pi -e "s:${INSTDIR}/program/setup:/usr/bin/oosetup:g" ${x} - # Now fix the rest - perl -pi -e "s:${INSTDIR}/program/s:/usr/bin/oo:g" ${x} - doins ${x} - done - fi - - if [ -n "`use kde`" ] - then - local kdeloc="${D}${INSTDIR}/share/kde/net/applnk/OpenOffice.org${PV}" - - # Portage do not work with the space .. - mv ${D}${INSTDIR}/share/kde/net/applnk/OpenOffice.org\ ${PV//_beta/Beta} ${kdeloc} - - insinto /usr/share/applnk/OpenOffice.org - # Install the files needed for the catagory - doins ${kdeloc}/.directory - doins ${kdeloc}/.order - dodir /usr/share - # Install the icons and mime info - cp -r ${D}${INSTDIR}/share/kde/net/mimelnk/share/* ${D}/usr/share - - for x in ${kdeloc}/*.desktop - do - # We have to handle setup differently - perl -pi -e "s:${INSTDIR}/program/setup:/usr/bin/oosetup:g" ${x} - # Now fix the rest - perl -pi -e "s:${INSTDIR}/program/s:/usr/bin/oo:g" ${x} - doins ${x} - done - fi - - # Unneeded, as they get installed into /usr/share... - rm -rf ${D}${INSTDIR}/share/{cde,gnome,kde} - - for f in ${D}/usr/share/gnome/apps/OpenOffice.org/* ; do - echo 'Categories=Application;Office;' >> ${f} - done - - - # Make sure these do not get nuked. - keepdir ${INSTDIR}/user/config/registry/instance/org/openoffice/{Office,ucb} - keepdir ${INSTDIR}/user/psprint/{driver,fontmetric} - keepdir ${INSTDIR}/user/{autocorr,backup,plugin,store,temp,template} - - #touch files to make portage uninstalling happy (#22593) - find ${D} -type f -exec touch {} \; -} - -pkg_preinst() { - - # The one with OO-1.0.0 was not valid - if [ -f ${ROOT}/etc/openoffice/autoresponse.conf ] - then - rm -f ${ROOT}/etc/openoffice/autoresponse.conf - fi -} - -pkg_postinst() { - - einfo "******************************************************************" - einfo " To start OpenOffice.org, run:" - einfo - einfo " $ ooffice" - einfo - einfo " Also, for individual components, you can use any of:" - einfo - einfo " oocalc, oodraw, ooimpress, oomath or oowriter" - einfo - einfo "******************************************************************" -} - diff --git a/app-office/openoffice-bin/openoffice-bin-1.1_beta.ebuild b/app-office/openoffice-bin/openoffice-bin-1.1_beta.ebuild deleted file mode 100644 index 306031d2c5d8..000000000000 --- a/app-office/openoffice-bin/openoffice-bin-1.1_beta.ebuild +++ /dev/null @@ -1,215 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-1.1_beta.ebuild,v 1.4 2003/04/19 19:55:45 sethbc Exp $ - -IUSE="kde gnome" - -inherit virtualx - -# NOTE: There are two big issues that should be addressed. -# -# 1) Language support and fonts should be addressed. - -LOC="/opt" - -INSTDIR="${LOC}/OpenOffice.org${PV}" -#MY_PV="`echo ${PV} | gawk '{ print tolower($1) }'`" -MY_PV="${PV/_/}" -if [ `use ppc` ]; then - MY_P="OOo_${MY_PV}_LinuxPowerPC_installer" -S="${WORKDIR}/${MY_P}" -else - MY_P="OOo_${MY_PV}_LinuxIntel_install" - S="${WORKDIR}/install" -fi; - -DESCRIPTION="OpenOffice productivity suite" -SRC_URI="x86? ( http://ny1.mirror.openoffice.org/stable/${MY_PV}/OOo_${MY_PV}_LinuxIntel_install.tar.gz - http://sf1.mirror.openoffice.org/stable/${MY_PV}/OOo_${MY_PV}_LinuxIntel_install.tar.gz ) - ppc? ( ftp://ftp.yellowdoglinux.com/pub/yellowdog/software/openoffice/OOo_${MY_PV}_LinuxPowerPC_installer.tar.gz )" -HOMEPAGE="http://www.openoffice.org" - -DEPEND="virtual/glibc - >=dev-lang/perl-5.0 - virtual/x11 - app-arch/zip - app-arch/unzip - || ( >=virtual/jdk-1.3.1 >=virtual/jre-1.3.1 ) - !app-office/openoffice" - -LICENSE="LGPL-2 | SISSL-1.1" -SLOT="0" -KEYWORDS="~x86 -ppc -sparc " - -src_install() { - - # Sandbox issues; bug #8587 - addpredict "/user" - addpredict "/share" - - # Sandbox issues; bug 8063 - addpredict "/dev/dri" - - # Autoresponse file for main installation - cat > ${T}/rsfile-global <<-"END_RS" - [ENVIRONMENT] - INSTALLATIONMODE=INSTALL_NETWORK - INSTALLATIONTYPE=STANDARD - DESTINATIONPATH=<destdir> - OUTERPATH= - LOGFILE= - LANGUAGELIST=<LANGUAGE> - - [JAVA] - JavaSupport=preinstalled_or_none - END_RS - - # Autoresponse file for user isntallation - cat > ${T}/rsfile-local <<-"END_RS" - [ENVIRONMENT] - INSTALLATIONMODE=INSTALL_WORKSTATION - INSTALLATIONTYPE=WORKSTATION - DESTINATIONPATH=<home>/.openoffice/<pv> - - [JAVA] - JavaSupport=none - END_RS - - # Fixing install location in response file - sed -e "s|<destdir>|${D}${INSTDIR}|" \ - ${T}/rsfile-global > ${T}/autoresponse - - einfo "Installing OpenOffice.org into build root..." - dodir ${INSTDIR} - cd ${S} - # Setup virtualmake - export maketype="./setup" - # We need X to install... - virtualmake "-v -r:${T}/autoresponse" - - #fix the libstdc++.so symlink - cd ${D}/${INSTDIR}/program - ln -sf libstdc++.so.3.0.4 libstdc++.so.3 - ln -sf libstdc++.so.3.0.4 libstdc++ - - echo - einfo "Removing build root from registry..." - # Remove totally useless stuff. - rm -f ${D}${INSTDIR}/program/{setup.log,sopatchlevel.sh} - # Remove build root from registry and co - egrep -rl "${D}" ${D}${INSTDIR}/* | \ - xargs -i perl -pi -e "s|${D}||g" {} || : - - einfo "Fixing permissions..." - # Fix permissions - find ${D}${INSTDIR}/ -type f -exec chmod a+r {} \; - chmod a+x ${D}${INSTDIR}/share/config/webcast/*.pl - - # Fix symlinks - for x in "soffice program/spadmin" \ - "program/setup setup" \ - "program/spadmin spadmin" - do - dosym $(echo ${x} | awk '{print $1}') \ - ${INSTDIR}/$(echo ${x} | awk '{print $2}') - done - - # Install user autoresponse file - insinto /etc/openoffice - sed -e "s|<pv>|${PV}|g" ${T}/rsfile-local > ${T}/autoresponse.conf - doins ${T}/autoresponse.conf - - # Install wrapper script - exeinto /usr/bin - sed -e "s|<pv>|${PV}|g" \ - ${FILESDIR}/${PV}/ooffice-wrapper-1.3 > ${T}/ooffice - doexe ${T}/ooffice - # Component symlinks - dosym ooffice /usr/bin/oocalc - dosym ooffice /usr/bin/oodraw - dosym ooffice /usr/bin/ooimpress - dosym ooffice /usr/bin/oomath - dosym ooffice /usr/bin/oowriter - dosym ooffice /usr/bin/oosetup - dosym ooffice /usr/bin/oopadmin - - einfo "Installing Menu shortcuts (need \"gnome\" or \"kde\" in USE)..." - if [ -n "`use gnome`" ] - then - insinto /usr/share/gnome/apps/OpenOffice.org - # Install the files needed for the catagory - doins ${D}${INSTDIR}/share/gnome/net/.directory - doins ${D}${INSTDIR}/share/gnome/net/.order - - for x in ${D}${INSTDIR}/share/gnome/net/*.desktop - do - # We have to handle setup differently - perl -pi -e "s:${INSTDIR}/program/setup:/usr/bin/oosetup:g" ${x} - # Now fix the rest - perl -pi -e "s:${INSTDIR}/program/s:/usr/bin/oo:g" ${x} - doins ${x} - done - fi - - if [ -n "`use kde`" ] - then - local kdeloc="${D}${INSTDIR}/share/kde/net/applnk/OpenOffice.org${PV}" - - # Portage do not work with the space .. - mv ${D}${INSTDIR}/share/kde/net/applnk/OpenOffice.org\ ${PV} ${kdeloc} - - insinto /usr/share/applnk/OpenOffice.org - # Install the files needed for the catagory - doins ${kdeloc}/.directory - doins ${kdeloc}/.order - dodir /usr/share - # Install the icons and mime info - cp -a ${D}${INSTDIR}/share/kde/net/mimelnk/share/* ${D}/usr/share - - for x in ${kdeloc}/*.desktop - do - # We have to handle setup differently - perl -pi -e "s:${INSTDIR}/program/setup:/usr/bin/oosetup:g" ${x} - # Now fix the rest - perl -pi -e "s:${INSTDIR}/program/s:/usr/bin/oo:g" ${x} - doins ${x} - done - fi - - # Unneeded, as they get installed into /usr/share... - rm -rf ${D}${INSTDIR}/share/{cde,gnome,kde} - - for f in ${D}/usr/share/gnome/apps/OpenOffice.org/* ; do - echo 'Categories=Application;Office;' >> ${f} - done - - - # Make sure these do not get nuked. - keepdir ${INSTDIR}/user/config/registry/instance/org/openoffice/{Office,ucb} - keepdir ${INSTDIR}/user/psprint/{driver,fontmetric} - keepdir ${INSTDIR}/user/{autocorr,backup,plugin,store,temp,template} -} - -pkg_preinst() { - - # The one with OO-1.0.0 was not valid - if [ -f ${ROOT}/etc/openoffice/autoresponse.conf ] - then - rm -f ${ROOT}/etc/openoffice/autoresponse.conf - fi -} - -pkg_postinst() { - - einfo "******************************************************************" - einfo " To start OpenOffice.org, run:" - einfo - einfo " $ ooffice" - einfo - einfo " Also, for individual components, you can use any of:" - einfo - einfo " oocalc, oodraw, ooimpress, oomath or oowriter" - einfo - einfo "******************************************************************" -} - diff --git a/app-office/openoffice-bin/openoffice-bin-1.1_beta2.ebuild b/app-office/openoffice-bin/openoffice-bin-1.1_beta2.ebuild deleted file mode 100644 index e755ed20b5a0..000000000000 --- a/app-office/openoffice-bin/openoffice-bin-1.1_beta2.ebuild +++ /dev/null @@ -1,226 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-1.1_beta2.ebuild,v 1.3 2003/06/20 08:58:17 pauldv Exp $ - -IUSE="kde gnome" - -inherit virtualx - -# NOTE: There are two big issues that should be addressed. -# -# 1) Language support and fonts should be addressed. - -LOC="/opt" - -INSTDIR="${LOC}/OpenOffice.org${PV}" -#MY_PV="`echo ${PV} | gawk '{ print tolower($1) }'`" -MY_PV="${PV/_/}" -if [ `use ppc` ]; then - MY_P="OOo_${MY_PV}_LinuxPowerPC_installer" -S="${WORKDIR}/${MY_P}" -else - MY_P="OOo_${MY_PV}_LinuxIntel_install" - S="${WORKDIR}/${MY_P}" -fi; - -DESCRIPTION="OpenOffice productivity suite" -SRC_URI="x86? ( http://vlaai.snt.utwente.nl/pub/software/openoffice/stable/${MY_PV}/OOo_${MY_PV}_LinuxIntel_install.tar.gz - http://openoffice.mirrors.pair.com/stable/${MY_PV}/OOo_${MY_PV}_LinuxIntel_install.tar.gz ) - ppc? ( ftp://ftp.yellowdoglinux.com/pub/yellowdog/software/openoffice/OOo_${MY_PV}_LinuxPowerPC_installer.tar.gz )" -HOMEPAGE="http://www.openoffice.org" - -DEPEND="sys-apps/findutils - virtual/glibc - >=dev-lang/perl-5.0 - virtual/x11 - app-arch/zip - app-arch/unzip - || ( >=virtual/jdk-1.3.1 >=virtual/jre-1.3.1 ) - !app-office/openoffice" - -RDEPEND="virtual/glibc - >=dev-lang/perl-5.0 - virtual/x11 - app-arch/zip - app-arch/unzip - || ( >=virtual/jdk-1.3.1 >=virtual/jre-1.3.1 ) - !app-office/openoffice" - -LICENSE="LGPL-2 | SISSL-1.1" -SLOT="0" -KEYWORDS="~x86 -ppc -sparc " - -src_install() { - # Sandbox issues; bug #8587 - addpredict "/user" - addpredict "/share" - addpredict "/pspfontcache" - addpredict "/usr/bin/soffice" - - # Sandbox issues; bug 8063 - addpredict "/dev/dri" - - # Autoresponse file for main installation - cat > ${T}/rsfile-global <<-"END_RS" - [ENVIRONMENT] - INSTALLATIONMODE=INSTALL_NETWORK - INSTALLATIONTYPE=STANDARD - DESTINATIONPATH=<destdir> - OUTERPATH= - LOGFILE= - LANGUAGELIST=<LANGUAGE> - - [JAVA] - JavaSupport=preinstalled_or_none - END_RS - - # Autoresponse file for user isntallation - cat > ${T}/rsfile-local <<-"END_RS" - [ENVIRONMENT] - INSTALLATIONMODE=INSTALL_WORKSTATION - INSTALLATIONTYPE=WORKSTATION - DESTINATIONPATH=<home>/.openoffice/<pv> - - [JAVA] - JavaSupport=none - END_RS - - # Fixing install location in response file - sed -e "s|<destdir>|${D}${INSTDIR}|" \ - ${T}/rsfile-global > ${T}/autoresponse - - einfo "Installing OpenOffice.org into build root..." - dodir ${INSTDIR} - cd ${S} - # Setup virtualmake - export maketype="./setup" - # We need X to install... - virtualmake "-v -r:${T}/autoresponse" - - #fix the libstdc++.so symlink - cd ${D}/${INSTDIR}/program - ln -sf libstdc++.so.3.0.4 libstdc++.so.3 - ln -sf libstdc++.so.3.0.4 libstdc++ - - echo - einfo "Removing build root from registry..." - # Remove totally useless stuff. - rm -f ${D}${INSTDIR}/program/{setup.log,sopatchlevel.sh} - # Remove build root from registry and co - egrep -rl "${D}" ${D}${INSTDIR}/* | \ - xargs -i perl -pi -e "s|${D}||g" {} || : - - einfo "Fixing permissions..." - # Fix permissions - find ${D}${INSTDIR}/ -type f -exec chmod a+r {} \; - chmod a+x ${D}${INSTDIR}/share/config/webcast/*.pl - - # Fix symlinks - for x in "soffice program/spadmin" \ - "program/setup setup" \ - "program/spadmin spadmin" - do - dosym $(echo ${x} | awk '{print $1}') \ - ${INSTDIR}/$(echo ${x} | awk '{print $2}') - done - - # Install user autoresponse file - insinto /etc/openoffice - sed -e "s|<pv>|${PV//_beta2}|g" ${T}/rsfile-local > ${T}/autoresponse-${PV}.conf - doins ${T}/autoresponse-${PV}.conf - - # Install wrapper script - exeinto /usr/bin - sed -e "s|<pv>|${PV}|g" \ - ${FILESDIR}/${PV}/ooffice-wrapper-1.3 > ${T}/ooffice - doexe ${T}/ooffice - # Component symlinks - dosym ooffice /usr/bin/oocalc - dosym ooffice /usr/bin/oodraw - dosym ooffice /usr/bin/ooimpress - dosym ooffice /usr/bin/oomath - dosym ooffice /usr/bin/oowriter - dosym ooffice /usr/bin/oosetup - dosym ooffice /usr/bin/oopadmin - - einfo "Installing Menu shortcuts (need \"gnome\" or \"kde\" in USE)..." - if [ -n "`use gnome`" ] - then - insinto /usr/share/gnome/apps/OpenOffice.org - # Install the files needed for the catagory - doins ${D}${INSTDIR}/share/gnome/net/.directory - doins ${D}${INSTDIR}/share/gnome/net/.order - - for x in ${D}${INSTDIR}/share/gnome/net/*.desktop - do - # We have to handle setup differently - perl -pi -e "s:${INSTDIR}/program/setup:/usr/bin/oosetup:g" ${x} - # Now fix the rest - perl -pi -e "s:${INSTDIR}/program/s:/usr/bin/oo:g" ${x} - doins ${x} - done - fi - - if [ -n "`use kde`" ] - then - local kdeloc="${D}${INSTDIR}/share/kde/net/" - - insinto /usr/share/applnk/OpenOffice.org - # Install the files needed for the catagory - doins ${kdeloc}/.directory - doins ${kdeloc}/.order - dodir /usr/share - # Install the icons and mime info - cp -r ${D}${INSTDIR}/share/kde/net/share/mimelnk ${D}${INSTDIR}/share/kde/net/share/icons ${D}/usr/share - - for x in ${kdeloc}/*.desktop - do - # We have to handle setup differently - perl -pi -e "s:${INSTDIR}/program/setup:/usr/bin/oosetup:g" ${x} - # Now fix the rest - perl -pi -e "s:${INSTDIR}/program/s:/usr/bin/oo:g" ${x} - doins ${x} - done - fi - - # Unneeded, as they get installed into /usr/share... -# rm -rf ${D}${INSTDIR}/share/{cde,gnome,kde} - rm -rf ${D}${INSTDIR}/share/cde - - for f in ${D}/usr/share/gnome/apps/OpenOffice.org/* ; do - echo 'Categories=Application;Office;' >> ${f} - done - - - # Make sure these do not get nuked. - keepdir ${INSTDIR}/user/registry/res/en-us/org/openoffice/{Office,ucb} - keepdir ${INSTDIR}/user/psprint/{driver,fontmetric} - keepdir ${INSTDIR}/user/{autocorr,backup,plugin,store,temp,template} - - #touch files to make portage uninstalling happy (#22593) - find ${D} -type f -exec touch {} \; -} - -pkg_preinst() { - - # The one with OO-1.0.0 was not valid - if [ -f ${ROOT}/etc/openoffice/autoresponse.conf ] - then - rm -f ${ROOT}/etc/openoffice/autoresponse.conf - fi -} - -pkg_postinst() { - - einfo "******************************************************************" - einfo " To start OpenOffice.org, run:" - einfo - einfo " $ ooffice" - einfo - einfo " Also, for individual components, you can use any of:" - einfo - einfo " oocalc, oodraw, ooimpress, oomath or oowriter" - einfo - einfo "******************************************************************" -} - |