diff options
Diffstat (limited to 'app-office')
4 files changed, 148 insertions, 12 deletions
diff --git a/app-office/openoffice-ximian-bin/ChangeLog b/app-office/openoffice-ximian-bin/ChangeLog index 293f727a3501..443dadf90c6d 100644 --- a/app-office/openoffice-ximian-bin/ChangeLog +++ b/app-office/openoffice-ximian-bin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-office/openoffice-ximian-bin # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-ximian-bin/ChangeLog,v 1.10 2005/05/07 16:33:14 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-ximian-bin/ChangeLog,v 1.11 2005/07/26 06:44:13 suka Exp $ + +*openoffice-ximian-bin-1.3.15 (26 Jul 2005) + + 26 Jul 2005; Andreas Proschofsky <suka@gentoo.org> + +openoffice-ximian-bin-1.3.15.ebuild: + New release. *openoffice-ximian-bin-1.3.11 (07 May 2005) diff --git a/app-office/openoffice-ximian-bin/Manifest b/app-office/openoffice-ximian-bin/Manifest index bae0cfc4e387..4ed8108d1312 100644 --- a/app-office/openoffice-ximian-bin/Manifest +++ b/app-office/openoffice-ximian-bin/Manifest @@ -1,15 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 74aeaf2987adfeaaef1b27ee1bcb772b ChangeLog 1791 +MD5 f3896b424a8a5c55fa455f7f79605595 openoffice-ximian-bin-1.3.15.ebuild 3384 +MD5 ee37a01b2a2c2d25e244c679c08a39d6 ChangeLog 1945 MD5 873dfcb3f5c44688deeb32472cef90c3 metadata.xml 268 MD5 eab37ea6f1fe4214de5c0d749a9bd40f openoffice-ximian-bin-1.3.11.ebuild 3395 MD5 8757a425426f3aeb1d1344d22f4e9932 files/digest-openoffice-ximian-bin-1.3.11 426 +MD5 9b42652b118f904d8c2995b90b89d163 files/digest-openoffice-ximian-bin-1.3.15 416 MD5 59aa5496699827b1cefbd461c1623642 files/1.1.4/xooffice-wrapper-1.3 6893 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCzSQnBXaUFmZvwyMRAp9YAKCE5+XNsQjl3TICOe5QkUGIx1oNRACguCbN -vBypKW67HBXpD5R6pGgj9Bw= -=MsI4 ------END PGP SIGNATURE----- diff --git a/app-office/openoffice-ximian-bin/files/digest-openoffice-ximian-bin-1.3.15 b/app-office/openoffice-ximian-bin/files/digest-openoffice-ximian-bin-1.3.15 new file mode 100644 index 000000000000..c278d398d635 --- /dev/null +++ b/app-office/openoffice-ximian-bin/files/digest-openoffice-ximian-bin-1.3.15 @@ -0,0 +1,5 @@ +MD5 14af476fe1d76a814ed4146b4ffcfb36 OpenOffice_org-1.1.4-0.7.i586.rpm 54240006 +MD5 d099fc1b4b6e4dce769f3052d3d5006e OpenOffice_org-en-1.1.4-0.7.i586.rpm 5950192 +MD5 354114501e1bf47c9c9df27e8f35626c OpenOffice_org-en-help-1.1.4-0.7.i586.rpm 11558760 +MD5 380d25972539e2e0f8a801c28c4880ea OpenOffice_org-gnome-1.1.4-0.7.i586.rpm 213581 +MD5 82184c10164ea00b843d3188c9310740 OpenOffice_org-kde-1.1.4-0.7.i586.rpm 139720 diff --git a/app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.3.15.ebuild b/app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.3.15.ebuild new file mode 100644 index 000000000000..53dd894964d9 --- /dev/null +++ b/app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.3.15.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2005 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.3.15.ebuild,v 1.1 2005/07/26 06:44:13 suka Exp $ + +inherit fdo-mime rpm + +IUSE="gnome kde" + +OO_VER="1.1.4" +XOOPATH="http://red-carpet.go-ooo.org/ooo-645/nld-9-i586" +XOOVER="${OO_VER}-0.7" +INSTDIR="/opt/Ximian-OpenOffice" +S="${WORKDIR}/usr" +DESCRIPTION="Ximian-ized version of OpenOffice.org, a full office productivity suite." +HOMEPAGE="http://go-ooo.org" +SRC_URI="${XOOPATH}/OpenOffice_org-${XOOVER}.i586.rpm + ${XOOPATH}/OpenOffice_org-en-${XOOVER}.i586.rpm + ${XOOPATH}/OpenOffice_org-en-help-${XOOVER}.i586.rpm + gnome? ( ${XOOPATH}/OpenOffice_org-gnome-${XOOVER}.i586.rpm ) + kde? ( ${XOOPATH}/OpenOffice_org-kde-${XOOVER}.i586.rpm )" + +LICENSE="|| ( LGPL-2 SISSL-1.1 )" +SLOT="0" +KEYWORDS="~x86" + +RDEPEND="!app-office/openoffice-ximian + virtual/x11 + virtual/libc + >=dev-lang/perl-5.0 + gnome? ( >=x11-libs/gtk+-2.0 + >=gnome-base/gnome-vfs-2.0 + >=dev-libs/libxml2-2.0 ) + kde? ( kde-base/kdelibs ) + >=x11-libs/startup-notification-0.5 + >=media-libs/freetype-2.1.4 + media-libs/fontconfig + app-arch/zip + app-arch/unzip + java? ( >=virtual/jre-1.4.1 )" + +DEPEND="${RDEPEND} + sys-apps/findutils" + +PROVIDE="virtual/ooo" + +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" + addpredict "/root/.gnome" + + # 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 + + einfo "Installing Ximian-OpenOffice.org into build root..." + dodir ${INSTDIR} + cd ${S}/lib/ooo-1.1 + mv * ${D}${INSTDIR} + + #Fix for parallel install + sed -i -e s/sversionrc/xversionrc/g ${D}${INSTDIR}/program/bootstraprc ${D}${INSTDIR}/program/instdb.ins + + # 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 + + einfo "Installing Menu shortcuts and mime info" + cd ${WORKDIR}/opt/gnome/share/pixmaps/ + insinto /usr/share/pixmaps + doins *.png + + cd ${WORKDIR}/opt/gnome/share/applications/ + sed -i -e s/'=oo'/'=xoo'/g *.desktop + insinto /usr/share/applications + doins *.desktop + + if use kde + then + insinto /usr/share/applnk/Ximian-OpenOffice.org + doins *.desktop + fi + + # Remove unneeded stuff + rm -rf ${D}${INSTDIR}/share/cde || die + +} + +pkg_postinst() { + + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + + 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" +} |