summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2007-12-06 23:38:52 +0000
committerUlrich Müller <ulm@gentoo.org>2007-12-06 23:38:52 +0000
commit4999b6de8784a0c4596d9d267d5065922cf6b81c (patch)
tree56741468e42e15057361bfd5162b31190b5391c7 /app-editors/jasspa-microemacs
parentstable x86, bug 201429 (diff)
downloadgentoo-2-4999b6de8784a0c4596d9d267d5065922cf6b81c.tar.gz
gentoo-2-4999b6de8784a0c4596d9d267d5065922cf6b81c.tar.bz2
gentoo-2-4999b6de8784a0c4596d9d267d5065922cf6b81c.zip
Undo previous two changes. Install desktop entry only for USE=X.
(Portage version: 2.1.4_rc7)
Diffstat (limited to 'app-editors/jasspa-microemacs')
-rw-r--r--app-editors/jasspa-microemacs/ChangeLog7
-rw-r--r--app-editors/jasspa-microemacs/files/jasspa-microemacs.desktop10
-rw-r--r--app-editors/jasspa-microemacs/jasspa-microemacs-20060909-r1.ebuild7
3 files changed, 21 insertions, 3 deletions
diff --git a/app-editors/jasspa-microemacs/ChangeLog b/app-editors/jasspa-microemacs/ChangeLog
index 1e0b28016d35..dcdf9e12fe5f 100644
--- a/app-editors/jasspa-microemacs/ChangeLog
+++ b/app-editors/jasspa-microemacs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-editors/jasspa-microemacs
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/jasspa-microemacs/ChangeLog,v 1.31 2007/12/06 20:20:36 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/jasspa-microemacs/ChangeLog,v 1.32 2007/12/06 23:38:51 ulm Exp $
+
+ 06 Dec 2007; Ulrich Mueller <ulm@gentoo.org>
+ +files/jasspa-microemacs.desktop, jasspa-microemacs-20060909-r1.ebuild:
+ Undo previous two changes; the file name argument was missing from "Exec".
+ Install desktop entry only for USE=X, it doesn't work otherwise.
06 Dec 2007; Christian Faulhammer <opfer@gentoo.org>
jasspa-microemacs-20060909-r1.ebuild:
diff --git a/app-editors/jasspa-microemacs/files/jasspa-microemacs.desktop b/app-editors/jasspa-microemacs/files/jasspa-microemacs.desktop
new file mode 100644
index 000000000000..693dd2a8ec63
--- /dev/null
+++ b/app-editors/jasspa-microemacs/files/jasspa-microemacs.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Jasspa MicroEmacs
+GenericName=Text Editor
+Comment=Advanced Text Editor
+TryExec=me
+Exec=me %F
+Terminal=false
+Icon=/usr/share/jasspa/icons/32x32/me.png
+Type=Application
+Categories=Utility;TextEditor;
diff --git a/app-editors/jasspa-microemacs/jasspa-microemacs-20060909-r1.ebuild b/app-editors/jasspa-microemacs/jasspa-microemacs-20060909-r1.ebuild
index 7e95fd4a5e44..a78e2aa42afc 100644
--- a/app-editors/jasspa-microemacs/jasspa-microemacs-20060909-r1.ebuild
+++ b/app-editors/jasspa-microemacs/jasspa-microemacs-20060909-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/jasspa-microemacs/jasspa-microemacs-20060909-r1.ebuild,v 1.7 2007/12/06 20:20:36 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/jasspa-microemacs/jasspa-microemacs-20060909-r1.ebuild,v 1.8 2007/12/06 23:38:51 ulm Exp $
inherit eutils toolchain-funcs
@@ -65,7 +65,10 @@ src_install() {
keepdir /usr/share/jasspa/site
insinto /usr/share
doins -r "${WORKDIR}/jasspa"
- make_desktop_entry me "Jasspa MicroEmacs" /usr/share/jasspa/icons/32x32/me.png "Utility;TextEditor"
+ if use X; then
+ insinto /usr/share/applications
+ doins "${FILESDIR}/${PN}.desktop"
+ fi
fi
dodoc ../faq.txt ../readme.txt ../change.log || die "dodoc failed"