diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2005-01-17 21:32:05 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2005-01-17 21:32:05 +0000 |
commit | ce087545d2c670c99be60f65ad8f8c2f2f2af21b (patch) | |
tree | d258a6c556d9c64137b8337082b6f42a32bd1c1b /app-office | |
parent | additional cleanups (diff) | |
download | historical-ce087545d2c670c99be60f65ad8f8c2f2f2af21b.tar.gz historical-ce087545d2c670c99be60f65ad8f8c2f2f2af21b.tar.bz2 historical-ce087545d2c670c99be60f65ad8f8c2f2f2af21b.zip |
ebuild cleanup
Package-Manager: portage-2.0.51-r13
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/openoffice-bin/ChangeLog | 6 | ||||
-rw-r--r-- | app-office/openoffice-bin/Manifest | 4 | ||||
-rw-r--r-- | app-office/openoffice-bin/openoffice-bin-1.1.4.ebuild | 43 |
3 files changed, 23 insertions, 30 deletions
diff --git a/app-office/openoffice-bin/ChangeLog b/app-office/openoffice-bin/ChangeLog index 296e78b4b20a..185235b8bc4b 100644 --- a/app-office/openoffice-bin/ChangeLog +++ b/app-office/openoffice-bin/ChangeLog @@ -1,6 +1,10 @@ # 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.59 2005/01/17 07:26:01 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.60 2005/01/17 21:32:05 suka Exp $ + + 17 Jan 2005; Andreas Proschofsky <suka@gentoo.org> + openoffice-bin-1.1.4.ebuild: + Some ebuild and dependency cleanups 17 Jan 2005; Andreas Proschofsky <suka@gentoo.org> openoffice-bin-1.1.4.ebuild: diff --git a/app-office/openoffice-bin/Manifest b/app-office/openoffice-bin/Manifest index 68ada047dbf7..3b4389498046 100644 --- a/app-office/openoffice-bin/Manifest +++ b/app-office/openoffice-bin/Manifest @@ -1,7 +1,7 @@ MD5 1ba49b12cb835cb2ed980840ea91a4ae openoffice-bin-1.1.3.ebuild 5786 -MD5 84fe668b4e7c868a10d2c04519fd27ee openoffice-bin-1.1.4.ebuild 5900 +MD5 70823118f9b5d4eac7f27be687e029cb openoffice-bin-1.1.4.ebuild 5676 MD5 e7256783bbd73d3cc243d906591623b3 openoffice-bin-1.1.1.ebuild 5837 -MD5 10ba73a3d3891db1889f062d4d7f5dfd ChangeLog 10057 +MD5 670b938a76dfe551384160a3959fe47e ChangeLog 10180 MD5 7134ec08f56019fc5db7f3e84acea4df metadata.xml 460 MD5 2b70af485f57d1db6983b006f16a0587 files/digest-openoffice-bin-1.1.1 171 MD5 8d9726b3b029e043fbae1b0249a53daf files/digest-openoffice-bin-1.1.3 82 diff --git a/app-office/openoffice-bin/openoffice-bin-1.1.4.ebuild b/app-office/openoffice-bin/openoffice-bin-1.1.4.ebuild index 51e303cd2715..cbca1fb8993e 100644 --- a/app-office/openoffice-bin/openoffice-bin-1.1.4.ebuild +++ b/app-office/openoffice-bin/openoffice-bin-1.1.4.ebuild @@ -1,37 +1,38 @@ # 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.1.4.ebuild,v 1.7 2005/01/17 07:26:01 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-1.1.4.ebuild,v 1.8 2005/01/17 21:32:05 suka Exp $ # NOTE: There are two big issues that should be addressed. # # 1) Language support and fonts should be addressed. -LOC="/opt" +IUSE="gnome java kde" -INSTDIR="${LOC}/OpenOffice.org" +INSTDIR="/opt/OpenOffice.org" MY_P="OOo_${PV}_LinuxIntel_install" use ppc && MY_P="OOo_${PV}_LinuxPowerPC_en_installer" S="${WORKDIR}/${MY_P}" - DESCRIPTION="OpenOffice productivity suite" -HOMEPAGE="http://www.openoffice.org/" + SRC_URI="x86? ( mirror://openoffice/stable/${PV}/OOo_${PV}_LinuxIntel_install.tar.gz ) \ amd64? (mirror://openoffice/stable/${PV}/OOo_${PV}_LinuxIntel_install.tar.gz )" +HOMEPAGE="http://www.openoffice.org/" + LICENSE="|| ( LGPL-2 SISSL-1.1 )" SLOT="0" KEYWORDS="x86 ~amd64" -IUSE="gnome java kde" -RDEPEND="sys-apps/findutils +RDEPEND="!app-office/openoffice + virtual/x11 virtual/libc + virtual/lpr >=dev-lang/perl-5.0 - virtual/x11 + sys-apps/findutils app-arch/zip app-arch/unzip java? ( >=virtual/jre-1.4.1 ) - !app-office/openoffice amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.0 )" DEPEND="${RDEPEND}" @@ -40,15 +41,13 @@ src_install() { # Sandbox issues; bug #8587 addpredict "/user" addpredict "/share" - addpredict "/pspfontcache" + addpredict "/dev/dri" addpredict "/usr/bin/soffice" + addpredict "/pspfontcache" addpredict "/root/.gconfd" addpredict "/opt/OpenOffice.org/foo.tmp" addpredict "/opt/OpenOffice.org/delme" - # Sandbox issues; bug 8063 - addpredict "/dev/dri" - # Autoresponse file for main installation cat > ${T}/rsfile-global <<-"END_RS" [ENVIRONMENT] @@ -76,17 +75,16 @@ src_install() { # Fixing install location in response file sed -e "s|<destdir>|${D}${INSTDIR}|" \ - ${T}/rsfile-global > ${T}/autoresponse + ${T}/rsfile-global > ${T}/autoresponse || die einfo "Installing OpenOffice.org into build root..." dodir ${INSTDIR} cd ${S} - ./setup -nogui -v -r:${T}/autoresponse || die "The setup program failed" + ./setup -v -noexit -nogui -r:${T}/autoresponse || die "Setup failed" - echo einfo "Removing build root from registry..." # Remove totally useless stuff. - rm -f ${D}${INSTDIR}/program/{setup.log,sopatchlevel.sh} + rm -f ${D}${INSTDIR}/program/{setup.log,sopatchlevel.sh} || die # Remove build root from registry and co egrep -rl "${D}" ${D}${INSTDIR}/* | \ xargs -i perl -pi -e "s|${D}||g" {} || : @@ -96,15 +94,6 @@ src_install() { 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-${PV}.conf @@ -167,7 +156,7 @@ src_install() { # Remove unneeded stuff - rm -rf ${D}${INSTDIR}/share/cde + rm -rf ${D}${INSTDIR}/share/cde || die # Fix instdb.ins, to *not* install local copies of these for entry in Kdeapplnk Kdemimetext Kdeicons Gnome_Apps Gnome_Icons Gnome2_Apps; do |