summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Chandler <sethbc@gentoo.org>2003-03-03 17:01:22 +0000
committerSeth Chandler <sethbc@gentoo.org>2003-03-03 17:01:22 +0000
commit2d6f3db75f3e9109ca34f9f3a827dbf3e488a673 (patch)
treea0d6556a91debe2603705a4a8756ff48ccc305f1 /app-office/openoffice
parentversion bump (diff)
downloadhistorical-2d6f3db75f3e9109ca34f9f3a827dbf3e488a673.tar.gz
historical-2d6f3db75f3e9109ca34f9f3a827dbf3e488a673.tar.bz2
historical-2d6f3db75f3e9109ca34f9f3a827dbf3e488a673.zip
java and gnome fixes...
Diffstat (limited to 'app-office/openoffice')
-rw-r--r--app-office/openoffice/openoffice-1.0.2.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/app-office/openoffice/openoffice-1.0.2.ebuild b/app-office/openoffice/openoffice-1.0.2.ebuild
index cbdfdb12bea6..43a663d7a82f 100644
--- a/app-office/openoffice/openoffice-1.0.2.ebuild
+++ b/app-office/openoffice/openoffice-1.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-1.0.2.ebuild,v 1.10 2003/02/28 18:17:55 sethbc Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-1.0.2.ebuild,v 1.11 2003/03/03 17:01:22 sethbc Exp $
# IMPORTANT: This is extremely alpha!!!
@@ -224,7 +224,7 @@ src_unpack() {
cd ${S}
# Seth -- Dec 1 2002
- if [ "$(echo ${JAVA_BINARY} | grep "jdk-1.4")" ]
+ if [ "$(echo ${JAVA_BINARY} | egrep 'j(2s)?dk-1.4')" ]
then
epatch ${FILESDIR}/${PV}/${PN}-1.0.1-fix-jdk-1.4.0.patch
fi
@@ -547,6 +547,10 @@ src_install() {
# Unneeded, as they get installed into /usr/share...
rm -rf ${D}${INSTDIR}/share/{cde,gnome,kde}
+ for f in ${D}/usr/share/gnome/apps/OpenOffice.org/ ; do
+ echo 'Categories=Application;Office;' >> ${f}
+ done
+
# Make sure these do not get nuked.
keepdir ${INSTDIR}/user/config/registry/instance/org/openoffice/{Office,ucb}
keepdir ${INSTDIR}/user/psprint/{driver,fontmetric}