summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2004-01-24 13:54:07 +0000
committerAndreas Proschofsky <suka@gentoo.org>2004-01-24 13:54:07 +0000
commit56585159b8d34bbe0233d4f4567e90bacd150d40 (patch)
treec52e4c4fecc1c24136e5e8e6abc4fa19e077052e /app-office/openoffice-bin
parentheader fix; tidy (diff)
downloadgentoo-2-56585159b8d34bbe0233d4f4567e90bacd150d40.tar.gz
gentoo-2-56585159b8d34bbe0233d4f4567e90bacd150d40.tar.bz2
gentoo-2-56585159b8d34bbe0233d4f4567e90bacd150d40.zip
cleanups following the other OOo-variants
Diffstat (limited to 'app-office/openoffice-bin')
-rw-r--r--app-office/openoffice-bin/ChangeLog5
-rw-r--r--app-office/openoffice-bin/openoffice-bin-1.1.0.ebuild28
2 files changed, 13 insertions, 20 deletions
diff --git a/app-office/openoffice-bin/ChangeLog b/app-office/openoffice-bin/ChangeLog
index cb89a45b0d9d..c2e5e498a6ac 100644
--- a/app-office/openoffice-bin/ChangeLog
+++ b/app-office/openoffice-bin/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-office/openoffice-bin
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.37 2004/01/24 11:37:07 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.38 2004/01/24 13:54:07 suka Exp $
+
+ 24 Jan 2004; suka <suka@gentoo.org> openoffice-bin-1.1.0.ebuild:
+ Just some cleanups to the ebuild
24 Jan 2004; suka <suka@gentoo.org> openoffice-bin-1.0.3.ebuild,
openoffice-bin-1.1_rc4.ebuild, files/ooffice-wrapper-1.3:
diff --git a/app-office/openoffice-bin/openoffice-bin-1.1.0.ebuild b/app-office/openoffice-bin/openoffice-bin-1.1.0.ebuild
index 9d76d5db1bd4..1e8eb9248f42 100644
--- a/app-office/openoffice-bin/openoffice-bin-1.1.0.ebuild
+++ b/app-office/openoffice-bin/openoffice-bin-1.1.0.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-bin/openoffice-bin-1.1.0.ebuild,v 1.7 2004/01/17 17:15:01 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-1.1.0.ebuild,v 1.8 2004/01/24 13:54:07 suka Exp $
IUSE="kde gnome"
@@ -67,7 +67,7 @@ src_install() {
JavaSupport=preinstalled_or_none
END_RS
- # Autoresponse file for user isntallation
+ # Autoresponse file for user installation
cat > ${T}/rsfile-local <<-"END_RS"
[ENVIRONMENT]
INSTALLATIONMODE=INSTALL_WORKSTATION
@@ -119,15 +119,11 @@ src_install() {
sed -e "s|<pv>|${PV}|g" \
${FILESDIR}/${PV}/ooffice-wrapper-1.3 > ${T}/ooffice
doexe ${T}/ooffice
+
# Component symlinks
- dosym ooffice /usr/bin/oocalc
- dosym ooffice /usr/bin/oodraw
- dosym ooffice /usr/bin/ooimpress
- dosym ooffice /usr/bin/oomath
- dosym ooffice /usr/bin/oowriter
- dosym ooffice /usr/bin/ooweb
- dosym ooffice /usr/bin/oosetup
- dosym ooffice /usr/bin/oopadmin
+ for app in calc draw impress math writer web setup padmin; do
+ dosym ooffice /usr/bin/oo${app}
+ done
einfo "Installing Menu shortcuts (need \"gnome\" or \"kde\" in USE)..."
if [ -n "`use gnome`" ]
@@ -158,10 +154,9 @@ src_install() {
insinto /usr/share/applnk/OpenOffice.org\ 1.1
# Install the files needed for the catagory
doins ${kdeloc}/.directory
- doins ${kdeloc}/.order
dodir /usr/share
# Install the icons and mime info
- cp -r ${D}${INSTDIR}/share/kde/net/share/mimelnk ${D}${INSTDIR}/share/kde/net/share/icons ${D}/usr/share
+ cp -a ${D}${INSTDIR}/share/kde/net/share/mimelnk ${D}${INSTDIR}/share/kde/net/share/icons ${D}/usr/share
for x in ${kdeloc}/*.desktop
do
@@ -174,14 +169,9 @@ src_install() {
done
fi
- # Unneeded, as they get installed into /usr/share...
-# rm -rf ${D}${INSTDIR}/share/{cde,gnome,kde}
- rm -rf ${D}${INSTDIR}/share/cde
-
- for f in ${D}/usr/share/gnome/apps/OpenOffice.org/* ; do
- echo 'Categories=Application;Office;' >> ${f}
- done
+ # Remove unneeded stuff
+ rm -rf ${D}${INSTDIR}/share/cde
# Make sure these do not get nuked.
keepdir ${INSTDIR}/user/registry/res/en-us/org/openoffice/{Office,ucb}