summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2004-02-05 09:22:11 +0000
committerAndreas Proschofsky <suka@gentoo.org>2004-02-05 09:22:11 +0000
commitf2d24567d63879fdc0eb0ed356d124d55e2dd193 (patch)
tree88b4f7df7541997034e1b2e211c2b0c06532fb80 /app-office
parentUpdated makefiles to play nice with user set CFLAGS (diff)
downloadgentoo-2-f2d24567d63879fdc0eb0ed356d124d55e2dd193.tar.gz
gentoo-2-f2d24567d63879fdc0eb0ed356d124d55e2dd193.tar.bz2
gentoo-2-f2d24567d63879fdc0eb0ed356d124d55e2dd193.zip
reducing install dir size by stripping binaries and reorganization of mime type install
Diffstat (limited to 'app-office')
-rw-r--r--app-office/openoffice-ximian/ChangeLog7
-rw-r--r--app-office/openoffice-ximian/openoffice-ximian-1.1.50.ebuild22
2 files changed, 16 insertions, 13 deletions
diff --git a/app-office/openoffice-ximian/ChangeLog b/app-office/openoffice-ximian/ChangeLog
index f5665502a77e..c8d38b068e86 100644
--- a/app-office/openoffice-ximian/ChangeLog
+++ b/app-office/openoffice-ximian/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-office/openoffice-ximian
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-ximian/ChangeLog,v 1.21 2004/02/04 10:48:17 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-ximian/ChangeLog,v 1.22 2004/02/05 09:22:11 suka Exp $
+
+ 05 Feb 2004; suka <suka@gentoo.org> openoffice-ximian-1.1.50.ebuild:
+ Now stripping the binaries during install, this reduces the size of the
+ installation by some nice 30 MB, also should speedup startup. Additionaly
+ conditionalized mime-type installation on gnome and kde use-flags
04 Feb 2004; suka <suka@gentoo.org> openoffice-ximian-1.1.50.ebuild,
files/1.1.0/ximian-openoffice.keys:
diff --git a/app-office/openoffice-ximian/openoffice-ximian-1.1.50.ebuild b/app-office/openoffice-ximian/openoffice-ximian-1.1.50.ebuild
index b9fb23f13304..8ab1031b995e 100644
--- a/app-office/openoffice-ximian/openoffice-ximian-1.1.50.ebuild
+++ b/app-office/openoffice-ximian/openoffice-ximian-1.1.50.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-ximian/openoffice-ximian-1.1.50.ebuild,v 1.5 2004/02/04 10:48:17 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-ximian/openoffice-ximian-1.1.50.ebuild,v 1.6 2004/02/05 09:22:11 suka Exp $
# IMPORTANT: This is extremely alpha!!!
@@ -330,9 +330,9 @@ src_compile() {
# Should the build use multiprocessing?
if [ "${ECPUS}" -gt 1 ]
then
- buildcmd="${S}/solenv/bin/build.pl --all -P${ECPUS} product=full --dlv_switch link"
+ buildcmd="${S}/solenv/bin/build.pl --all -P${ECPUS} product=full strip=true --dlv_switch link"
else
- buildcmd="${S}/solenv/bin/build.pl --all product=full --dlv_switch link"
+ buildcmd="${S}/solenv/bin/build.pl --all product=full strip=true --dlv_switch link"
fi
if [ -z "$(grep 'CCCOMP' ${S}/${LinuxEnvSet})" ]
@@ -451,27 +451,25 @@ src_install() {
insinto /usr/share/pixmaps
doins *.png
- einfo "Installing Menu shortcuts (need \"gnome\" or \"kde\" in USE)..."
+ einfo "Installing Menu shortcuts and mime info (need \"gnome\" or \"kde\" in USE)..."
if [ -n "`use gnome`" ]
then
insinto /usr/share/applications
doins ${FILESDIR}/${OO_VER}/*.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 [ -n "`use kde`" ]
then
insinto /usr/share/applnk/Ximian-OpenOffice.org
doins ${FILESDIR}/${OO_VER}/*.desktop
+ insinto /usr/share/mimelnk/application
+ doins ${S}/sysui/${SOLPATH}/misc/kde/share/mimelnk/application/*
fi
- # Don't forget the mime info...
- insinto /usr/share/mimelnk/application
- doins ${S}/sysui/${SOLPATH}/misc/kde/share/mimelnk/application/*
- insinto /usr/share/application-registry
- doins ${FILESDIR}/${OO_VER}/ximian-openoffice.applications
- insinto /usr/share/mime-info
- doins ${FILESDIR}/${OO_VER}/ximian-openoffice.keys
-
# Install corrected Symbol Font
insinto /usr/X11R6/lib/X11/fonts/truetype/
doins ${PATCHDIR}/fonts/*.ttf