summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2001-09-30 10:50:06 +0000
committerMartin Schlemmer <azarah@gentoo.org>2001-09-30 10:50:06 +0000
commit8cd9dc0a8c18d5d3ed9b51e14c4598aec72cc6ff (patch)
treefbed59465f4cda0626a5f24ac7ca60f3f0cf5efd /app-office
parentfixo (diff)
downloadgentoo-2-8cd9dc0a8c18d5d3ed9b51e14c4598aec72cc6ff.tar.gz
gentoo-2-8cd9dc0a8c18d5d3ed9b51e14c4598aec72cc6ff.tar.bz2
gentoo-2-8cd9dc0a8c18d5d3ed9b51e14c4598aec72cc6ff.zip
Added Gnome menu entries for AbiWord. A KDE user should just add for kde if required.
Diffstat (limited to 'app-office')
-rw-r--r--app-office/abiword/abiword-0.9.3.ebuild11
-rw-r--r--app-office/abiword/files/AbiWord.desktop53
2 files changed, 63 insertions, 1 deletions
diff --git a/app-office/abiword/abiword-0.9.3.ebuild b/app-office/abiword/abiword-0.9.3.ebuild
index 31e85da63129..eefd5f5f84f8 100644
--- a/app-office/abiword/abiword-0.9.3.ebuild
+++ b/app-office/abiword/abiword-0.9.3.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Karl Trygve Kalleberg <karltk@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/abiword-0.9.3.ebuild,v 1.1 2001/09/15 11:43:33 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/abiword/abiword-0.9.3.ebuild,v 1.2 2001/09/30 10:50:06 azarah Exp $
S=${WORKDIR}/${P}/abi
DESCRIPTION="Text processor"
@@ -51,6 +51,15 @@ src_install() {
rm -f AbiWord
ln -s ../AbiSuite/bin/AbiWord AbiWord
ln -s ../AbiSuite/bin/AbiWord abiword
+
+ # Install icon and .desktop for menu entry
+ if [ "`use gnome`" ] ; then
+ insinto ${GNOME_PATH}/share/pixmaps
+ newins ${WORKDIR}/${P}/abidistfiles/icons/abiword_48.png AbiWord.png
+ insinto ${GNOME_PATH}/share/gnome/apps/Applications
+ doins ${FILESDIR}/AbiWord.desktop
+ fi
+
}
diff --git a/app-office/abiword/files/AbiWord.desktop b/app-office/abiword/files/AbiWord.desktop
new file mode 100644
index 000000000000..5260631463c4
--- /dev/null
+++ b/app-office/abiword/files/AbiWord.desktop
@@ -0,0 +1,53 @@
+[Desktop Entry]
+Name=AbiWord
+Name[ca]=AbiWord
+Name[cs]=AbiWord
+Name[da]=AbiWord
+Name[de]=AbiWord
+Name[el]=AbiWord
+Name[es]=AbiWord
+Name[et]=AbiWord
+Name[fi]=AbiWord
+Name[fr]=AbiWord
+Name[ga]=AbiWord
+Name[gl]=AbiWord
+Name[hr]=AbiWord
+Name[hu]=AbiWord
+Name[it]=AbiWord
+Name[ja]=AbiWord
+Name[nl]=AbiWord
+Name[nn]=AbiWord
+Name[no]=AbiWord
+Name[pl]=AbiWord
+Name[pt_BR]=AbiWord
+Name[ru]=AbiWord
+Name[sk]=AbiWord
+Name[sv]=AbiWord
+Name[tr]=AbiWord
+Name[uk]=AbiWord
+Name[zh_CN.GB2312]=AbiWord
+Name[zh_TW.Big5]=AbiWord
+Comment=Word Processing for Everyone
+Comment[da]=
+Comment[de]=
+Comment[es]=
+Comment[et]=
+Comment[fr]=
+Comment[gl]=
+Comment[hu]=
+Comment[ja]=
+Comment[nl]=
+Comment[nn]=
+Comment[no]=
+Comment[pl]=
+Comment[pt]=
+Comment[pt_BR]=
+Comment[ru]=
+Comment[sk]=
+Comment[sv]=
+Comment[tr]=
+Comment[zh_CN.GB2312]=
+Exec=AbiWord
+Icon=AbiWord.png
+Terminal=0
+Type=Application