summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2004-08-01 14:13:41 +0000
committerAndreas Proschofsky <suka@gentoo.org>2004-08-01 14:13:41 +0000
commit422c684e675acb2eaf9e876fdeff24e5ada5ba5b (patch)
tree788900bb722300d376ee229e665063fdde202703 /app-office
parentnew patch version (Manifest recommit) (diff)
downloadgentoo-2-422c684e675acb2eaf9e876fdeff24e5ada5ba5b.tar.gz
gentoo-2-422c684e675acb2eaf9e876fdeff24e5ada5ba5b.tar.bz2
gentoo-2-422c684e675acb2eaf9e876fdeff24e5ada5ba5b.zip
new version and cleanup to keep portage dir smaller...
Diffstat (limited to 'app-office')
-rw-r--r--app-office/openoffice-ximian-bin/ChangeLog9
-rw-r--r--app-office/openoffice-ximian-bin/files/1.1.1/DicOOo.sxwbin85349 -> 0 bytes
-rw-r--r--app-office/openoffice-ximian-bin/files/digest-openoffice-ximian-bin-1.1.533
-rw-r--r--app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.1.52.ebuild9
-rw-r--r--app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.1.53.ebuild204
5 files changed, 220 insertions, 5 deletions
diff --git a/app-office/openoffice-ximian-bin/ChangeLog b/app-office/openoffice-ximian-bin/ChangeLog
index 08e1eeb660a5..45e95a2711b2 100644
--- a/app-office/openoffice-ximian-bin/ChangeLog
+++ b/app-office/openoffice-ximian-bin/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-office/openoffice-ximian-bin
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-ximian-bin/ChangeLog,v 1.5 2004/07/17 21:34:08 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-ximian-bin/ChangeLog,v 1.6 2004/08/01 14:13:41 suka Exp $
+
+*openoffice-ximian-bin-1.1.53 (01 Aug 2004)
+
+ 01 Aug 2004; suka@gentoo.org -files/1.1.1/DicOOo.sxw,
+ openoffice-ximian-bin-1.1.52.ebuild, +openoffice-ximian-bin-1.1.53.ebuild:
+ A - very - late update to 1.1.53, also some cleanup to keep the portage dir
+ smaller
17 Jul 2004; suka@gentoo.org openoffice-ximian-bin-1.1.52.ebuild:
fix for stupid sandbox troubles
diff --git a/app-office/openoffice-ximian-bin/files/1.1.1/DicOOo.sxw b/app-office/openoffice-ximian-bin/files/1.1.1/DicOOo.sxw
deleted file mode 100644
index 4cb7c2f605c4..000000000000
--- a/app-office/openoffice-ximian-bin/files/1.1.1/DicOOo.sxw
+++ /dev/null
Binary files differ
diff --git a/app-office/openoffice-ximian-bin/files/digest-openoffice-ximian-bin-1.1.53 b/app-office/openoffice-ximian-bin/files/digest-openoffice-ximian-bin-1.1.53
new file mode 100644
index 000000000000..1f4ae2c7b172
--- /dev/null
+++ b/app-office/openoffice-ximian-bin/files/digest-openoffice-ximian-bin-1.1.53
@@ -0,0 +1,3 @@
+MD5 1addfdf58f87329ace73caa004fdf6bd ooo-1.1.1-0.ximian.8.1.1.53.i586.rpm 72951800
+MD5 5415fcc3a7657daa15f6c9db5edea50b ooo-fonts-1.1.3-0.ximian.8.2.noarch.rpm 70077
+MD5 421da70507952b3a5859cee39aaee8d6 DicOOo.sxw 93503
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
index 8052005cd56a..115f0a02a10e 100644
--- 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
@@ -1,6 +1,6 @@
# 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.8 2004/07/17 21:34:08 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.1.52.ebuild,v 1.9 2004/08/01 14:13:41 suka Exp $
inherit rpm
@@ -9,8 +9,9 @@ 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"
+SRC_URI="ftp://ftp.ximian.com/pub/xd-unstable/suse-90-i586/ooo-1.1.1-0.ximian.8.1.1.53.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"
@@ -160,7 +161,7 @@ src_install() {
# Install missing Dictionary installer
insinto ${INSTDIR}/share/dict/ooo
- doins ${FILESDIR}/${OO_VER}/DicOOo.sxw
+ doins ${DISTDIR}/DicOOo.sxw
# Remove unneeded stuff
rm -rf ${D}${INSTDIR}/share/cde
diff --git a/app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.1.53.ebuild b/app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.1.53.ebuild
new file mode 100644
index 000000000000..6d9630fe9e11
--- /dev/null
+++ b/app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.1.53.ebuild
@@ -0,0 +1,204 @@
+# 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.53.ebuild,v 1.1 2004/08/01 14:13:41 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.53.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"
+
+ # 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 "******************************************************************"
+}