summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2004-08-20 20:43:49 +0000
committerAndreas Proschofsky <suka@gentoo.org>2004-08-20 20:43:49 +0000
commitcb1f558876cd448345133129a903ae6b867f83af (patch)
treeaca734949ef73cf0c9d808a37282d25177a93766
parentfix for sandbox problems (diff)
downloadhistorical-cb1f558876cd448345133129a903ae6b867f83af.tar.gz
historical-cb1f558876cd448345133129a903ae6b867f83af.tar.bz2
historical-cb1f558876cd448345133129a903ae6b867f83af.zip
remove old version
-rw-r--r--app-office/openoffice-ximian-bin/Manifest2
-rw-r--r--app-office/openoffice-ximian-bin/files/digest-openoffice-ximian-bin-1.1.522
-rw-r--r--app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.1.52.ebuild206
3 files changed, 0 insertions, 210 deletions
diff --git a/app-office/openoffice-ximian-bin/Manifest b/app-office/openoffice-ximian-bin/Manifest
index c875b6b36867..8c0b3cec3704 100644
--- a/app-office/openoffice-ximian-bin/Manifest
+++ b/app-office/openoffice-ximian-bin/Manifest
@@ -1,8 +1,6 @@
-MD5 42504125487931cf8ad04788612be531 openoffice-ximian-bin-1.1.52.ebuild 5955
MD5 b0fda3132b5b350e8564a0c706c08862 ChangeLog 1330
MD5 873dfcb3f5c44688deeb32472cef90c3 metadata.xml 268
MD5 f19ce40b6b6958dd65f470f4566576b9 openoffice-ximian-bin-1.1.53.ebuild 5943
-MD5 8ee72ad56fa593f36ecb2f2d5756ad78 files/digest-openoffice-ximian-bin-1.1.52 177
MD5 a2952fedd0b465daf1b117e10c0bb666 files/digest-openoffice-ximian-bin-1.1.53 220
MD5 6ecbfeab440a03f031dbfa0631404aa0 files/1.1.1/ximian-openoffice.applications 980
MD5 d1a499cfa276614323b547e013d5c6a0 files/1.1.1/ximian-openoffice.keys 6298
diff --git a/app-office/openoffice-ximian-bin/files/digest-openoffice-ximian-bin-1.1.52 b/app-office/openoffice-ximian-bin/files/digest-openoffice-ximian-bin-1.1.52
deleted file mode 100644
index a4afd12d2cd0..000000000000
--- a/app-office/openoffice-ximian-bin/files/digest-openoffice-ximian-bin-1.1.52
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 584192cb9c9a405a5674a19aa61834d3 ooo-1.1.1-0.ximian.8.1.1.snap.1.1.52.1.i586.rpm 70394245
-MD5 5415fcc3a7657daa15f6c9db5edea50b ooo-fonts-1.1.3-0.ximian.8.2.noarch.rpm 70077
diff --git a/app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.1.52.ebuild b/app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.1.52.ebuild
deleted file mode 100644
index 29cb98589787..000000000000
--- a/app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.1.52.ebuild
+++ /dev/null
@@ -1,206 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.1.52.ebuild,v 1.11 2004/08/20 20:42:23 suka Exp $
-
-inherit rpm
-
-OO_VER=1.1.1
-INSTDIR="/opt/Ximian-OpenOffice"
-S="${WORKDIR}/usr"
-DESCRIPTION="Ximian-ized version of OpenOffice.org, a full office productivity suite."
-HOMEPAGE="http://ooo.ximian.com"
-SRC_URI="ftp://ftp.ximian.com/pub/xd-unstable/suse-90-i586/ooo-1.1.1-0.ximian.8.1.1.snap.1.1.52.1.i586.rpm
- ftp://ftp.ximian.com/pub/xd-unstable/suse-90-i586/ooo-fonts-1.1.3-0.ximian.8.2.noarch.rpm
- mirror://openoffice/contrib/dictionaries/dicooo/DicOOo.sxw"
-
-LICENSE="LGPL-2 | SISSL-1.1"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="gnome kde"
-
-RDEPEND="virtual/libc
- !=sys-libs/glibc-2.3.1*
- >=dev-lang/perl-5.0
- >=x11-libs/gtk+-2.0
- >=gnome-base/libgnome-2.2
- >=gnome-base/gnome-vfs-2.0
- >=net-print/libgnomecups-0.1.4
- >=net-print/gnome-cups-manager-0.16
- >=dev-libs/libxml2-2.0
- >=media-libs/libart_lgpl-2.3.13
- >=x11-libs/startup-notification-0.5
- media-fonts/ttf-bitstream-vera
- media-libs/fontconfig
- media-libs/libpng
- sys-devel/flex
- sys-devel/bison
- virtual/x11
- app-arch/zip
- app-arch/unzip
- dev-libs/expat
- net-libs/linc
- !app-office/openoffice-ximian
- virtual/lpr
- ppc? ( >=sys-devel/gcc-3.2.1 )
- >=media-libs/freetype-2.1.4"
-DEPEND="${RDEPEND}
- dev-util/intltool"
-
-src_unpack() {
- rpm_src_unpack
-}
-
-src_install() {
-
- # Sandbox issues; bug #11838
- addpredict "/user"
- addpredict "/share"
- addpredict "/dev/dri"
- addpredict "/usr/bin/soffice"
- addpredict "/pspfontcache"
- addpredict "/opt/OpenOffice.org/foo.tmp"
- addpredict "/opt/OpenOffice.org/delme"
-
- # 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 installation
- cat > ${T}/rsfile-local <<-"END_RS"
- [ENVIRONMENT]
- INSTALLATIONMODE=INSTALL_WORKSTATION
- INSTALLATIONTYPE=WORKSTATION
- DESTINATIONPATH=<home>/.xopenoffice/<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 Ximian-OpenOffice.org into build root..."
- dodir ${INSTDIR}
- cd ${S}/lib/ooo-1.1
- cp -R * ${D}${INSTDIR}
-
- #Fix for parallel install
- sed -i -e s/sversionrc/xversionrc/g ${D}${INSTDIR}/program/bootstraprc ${D}${INSTDIR}/program/instdb.ins
-
- 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
- find ${D}${INSTDIR}/ -type d -exec chmod a+rx {} \;
-
- # Fix symlinks
- dosym program/setup ${INSTDIR}/setup
-
- # Install user autoresponse file
- insinto /etc/ximian-openoffice
- sed -e "s|<pv>|${OO_VER}|g" ${T}/rsfile-local > ${T}/autoresponse-${OO_VER}.conf
- doins ${T}/autoresponse-${OO_VER}.conf
-
- # Install wrapper script
- exeinto /usr/bin
- sed -e "s|<pv>|${OO_VER}|g" \
- ${FILESDIR}/${OO_VER}/xooffice-wrapper-1.3 > ${T}/xooffice
- doexe ${T}/xooffice
-
- # Component symlinks
- for app in calc draw impress html math writer setup; do
- dosym xooffice /usr/bin/xoo${app}
- done
-
- # Install ximian icons
- cd ${S}/share/pixmaps
- insinto /usr/share/pixmaps
- doins *.png
-
- cd ${S}/share/gnome/ximian/applications/
- rm -f *1.1*
- sed -i -e s/'=oo'/'=xoo'/g *.desktop
-
- einfo "Installing Menu shortcuts and mime info (need \"gnome\" or \"kde\" in USE)..."
- if use gnome
- then
- insinto /usr/share/applications
- doins *.desktop
- insinto /usr/share/application-registry
- doins ${FILESDIR}/${OO_VER}/ximian-openoffice.applications
- insinto /usr/share/mime-info
- doins ${FILESDIR}/${OO_VER}/ximian-openoffice.keys
- fi
-
- if use kde
- then
- insinto /usr/share/applnk/Ximian-OpenOffice.org
- doins *.desktop
- fi
-
- # Install corrected Symbol Font
- insinto /usr/X11R6/lib/X11/fonts/truetype/
- doins ${S}/share/fonts/default/TrueType/symbol/*.ttf
-
- # Install missing Dictionary installer
- insinto ${INSTDIR}/share/dict/ooo
- doins ${DISTDIR}/DicOOo.sxw
-
- # Remove unneeded stuff
- rm -rf ${D}${INSTDIR}/share/cde
-
- # Fix instdb.ins, to *not* install local copies of these
- for entry in Kdeapplnk Kdemimetext Kdeicons Gnome_Apps Gnome_Icons Gnome2_Apps; do
- perl -pi -e "/^File gid_File_Extra_$entry/ .. /^End/ and (\
- s|^\tSize\s+\= .*|\tSize\t\t = 0;\r| or \
- s|^\tArchiveFiles\s+\= .*|\tArchiveFiles\t = 0;\r| or \
- s|^\tArchiveSize\s+\= .*|\tArchiveSize\t = 0;\r| or \
- s|^\tContains\s+\= .*|\tContains\t = ();\r| or \
- s|\t\t\t\t\t\".*|\r|g)" \
- ${D}${INSTDIR}/program/instdb.ins
- 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}
-}
-
-pkg_postinst() {
-
- einfo "******************************************************************"
- einfo " To start Ximian-OpenOffice.org, run:"
- einfo
- einfo " $ xooffice"
- einfo
- einfo " Also, for individual components, you can use any of:"
- einfo
- einfo " xoocalc, xoodraw, xooimpress, xoomath, xooweb or xoowriter"
- einfo
- einfo "******************************************************************"
- einfo
- einfo "******************************************************************"
- einfo " If you are upgrading from an older Ximian-OpenOffice.org"
- einfo " you will have to redo your settings."
- einfo
- einfo "******************************************************************"
-}