diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2004-08-01 14:13:41 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2004-08-01 14:13:41 +0000 |
commit | 8f44b75dc5c1f9061f1646c079915fac390ebb1d (patch) | |
tree | 8a63e07756270ab687104a8345a04d13b84e0833 /app-office | |
parent | new patch version (diff) | |
download | historical-8f44b75dc5c1f9061f1646c079915fac390ebb1d.tar.gz historical-8f44b75dc5c1f9061f1646c079915fac390ebb1d.tar.bz2 historical-8f44b75dc5c1f9061f1646c079915fac390ebb1d.zip |
new version and cleanup to keep portage dir smaller...
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/openoffice-ximian-bin/ChangeLog | 9 | ||||
-rw-r--r-- | app-office/openoffice-ximian-bin/Manifest | 7 | ||||
-rw-r--r-- | app-office/openoffice-ximian-bin/files/1.1.1/DicOOo.sxw | bin | 85349 -> 0 bytes | |||
-rw-r--r-- | app-office/openoffice-ximian-bin/files/digest-openoffice-ximian-bin-1.1.53 | 3 | ||||
-rw-r--r-- | app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.1.52.ebuild | 9 | ||||
-rw-r--r-- | app-office/openoffice-ximian-bin/openoffice-ximian-bin-1.1.53.ebuild | 204 |
6 files changed, 224 insertions, 8 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/Manifest b/app-office/openoffice-ximian-bin/Manifest index fe47b1defe04..ae9dc898e16d 100644 --- a/app-office/openoffice-ximian-bin/Manifest +++ b/app-office/openoffice-ximian-bin/Manifest @@ -1,8 +1,9 @@ -MD5 978d3300d46824f2c0148fded639bbc2 openoffice-ximian-bin-1.1.52.ebuild 5823 -MD5 a620c30abb024c6acdd779eb764135fb ChangeLog 964 +MD5 bc00dd39424f38348e4267d4f5c9bf0d openoffice-ximian-bin-1.1.52.ebuild 5861 +MD5 b94c2e541e89718ef8ac605c6ae48175 ChangeLog 1231 MD5 873dfcb3f5c44688deeb32472cef90c3 metadata.xml 268 +MD5 f4fc39dfd97bcc6d065d5302e04442ae openoffice-ximian-bin-1.1.53.ebuild 5861 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 MD5 31161542c2bb21c3465799023dba60b0 files/1.1.1/xooffice-wrapper-1.3 9309 -MD5 d81e72b4b1e953b67ca20b17aa8e75f6 files/1.1.1/DicOOo.sxw 85349 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 Binary files differdeleted file mode 100644 index 4cb7c2f605c4..000000000000 --- a/app-office/openoffice-ximian-bin/files/1.1.1/DicOOo.sxw +++ /dev/null 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 "******************************************************************" +} |