summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-geosciences/josm/ChangeLog5
-rw-r--r--sci-geosciences/josm/files/josm.desktop9
-rw-r--r--sci-geosciences/josm/files/josm.pngbin0 -> 1737 bytes
-rw-r--r--sci-geosciences/josm/josm-1.5_p320.ebuild9
4 files changed, 19 insertions, 4 deletions
diff --git a/sci-geosciences/josm/ChangeLog b/sci-geosciences/josm/ChangeLog
index a54494bcb6bd..b551ac8c2b18 100644
--- a/sci-geosciences/josm/ChangeLog
+++ b/sci-geosciences/josm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-geosciences/josm
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/ChangeLog,v 1.2 2007/09/06 22:19:47 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/ChangeLog,v 1.3 2007/09/08 22:42:01 hanno Exp $
+
+ 08 Sep 2007; Hanno Boeck <hanno@gentoo.org> ChangeLog:
+ Add desktop file and icon.
*josm-1.5_p320 (06 Sep 2007)
diff --git a/sci-geosciences/josm/files/josm.desktop b/sci-geosciences/josm/files/josm.desktop
new file mode 100644
index 000000000000..2a96f66f7ff1
--- /dev/null
+++ b/sci-geosciences/josm/files/josm.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=josm
+Comment=Java OpenStreetMap editor
+GenericName=OpenStreetMap editor
+Exec=josm %f
+Icon=josm
+Type=Application
+Categories=Application;
diff --git a/sci-geosciences/josm/files/josm.png b/sci-geosciences/josm/files/josm.png
new file mode 100644
index 000000000000..aebba7625ec0
--- /dev/null
+++ b/sci-geosciences/josm/files/josm.png
Binary files differ
diff --git a/sci-geosciences/josm/josm-1.5_p320.ebuild b/sci-geosciences/josm/josm-1.5_p320.ebuild
index a4bed1aef98f..29d4606a5d2d 100644
--- a/sci-geosciences/josm/josm-1.5_p320.ebuild
+++ b/sci-geosciences/josm/josm-1.5_p320.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/sci-geosciences/josm/josm-1.5_p320.ebuild,v 1.1 2007/09/06 22:19:47 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/josm-1.5_p320.ebuild,v 1.2 2007/09/08 22:42:01 hanno Exp $
inherit eutils
@@ -30,14 +30,17 @@ src_compile() {
}
src_install() {
- dobin ${FILESDIR}/josm
+ dobin "${FILESDIR}/josm" || die
insinto /usr/lib/josm/
- newins ${DISTDIR}/${MY_P}.jar josm.jar
+ newins "${DISTDIR}/${MY_P}.jar" josm.jar || die
insinto /usr/lib/josm/plugins
use linguas_de && newins ${DISTDIR}/lang-de-20061020.jar lang-de.jar
use linguas_en_GB && newins ${DISTDIR}/lang-en_GB-20061020.jar lang-en_GB.jar
use linguas_fr && newins ${DISTDIR}/lang-fr-20061020.jar lang-fr.jar
use linguas_ro && newins ${DISTDIR}/lang-ro-20061020.jar lang-ro.jar
+
+ domenu "${FILESDIR}/josm.desktop" || die
+ doicon "${FILESDIR}/josm.png" || die
}