summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-09-17 23:24:54 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-09-17 23:24:54 +0000
commit9fff0af5d645ccfaa6d0f6c3b3b4e71dd9a67995 (patch)
tree2e6490712849ce07ad393d68f19e1710e9311252
parent4b47520ca2997278cec2fcf6cd008e31faf339b9 (diff)
navit: add icon. Thanks Gilles Casse. close oebug#4533
-rw-r--r--packages/navit/files/navit.desktop2
-rw-r--r--packages/navit/files/navit.pngbin0 -> 8341 bytes
-rw-r--r--packages/navit/navit.inc3
-rw-r--r--packages/navit/navit_0.0.4.bb2
-rw-r--r--packages/navit/navit_svn.bb2
5 files changed, 6 insertions, 3 deletions
diff --git a/packages/navit/files/navit.desktop b/packages/navit/files/navit.desktop
index 4d7fda0e35..085c8c9238 100644
--- a/packages/navit/files/navit.desktop
+++ b/packages/navit/files/navit.desktop
@@ -2,7 +2,7 @@
Name=Navit
Comment=GPS Navigation
Exec=navit
-Icon=openmoko-terminal
+Icon=navit.png
Terminal=false
Type=Application
Categories=GTK;
diff --git a/packages/navit/files/navit.png b/packages/navit/files/navit.png
new file mode 100644
index 0000000000..a23ba5ce03
--- /dev/null
+++ b/packages/navit/files/navit.png
Binary files differ
diff --git a/packages/navit/navit.inc b/packages/navit/navit.inc
index 011c058370..8db05950e2 100644
--- a/packages/navit/navit.inc
+++ b/packages/navit/navit.inc
@@ -16,11 +16,14 @@ FILES_${PN}-dev += "${libdir}/${PN}/*/*.so ${libdir}/${PN}/*/*.la"
SRC_URI_append = " \
file://navit.desktop \
file://navit.launcher \
+ file://navit.png \
"
do_install_append() {
install -d ${D}${datadir}/applications/
install -m 0644 ${WORKDIR}/navit.desktop ${D}${datadir}/applications/
+ install -d ${D}${datadir}/pixmaps/
+ install -m 0644 ${WORKDIR}/navit.png ${D}${datadir}/pixmaps/
mv ${D}${bindir}/navit ${D}${bindir}/navit.real
install -m 0755 ${WORKDIR}/navit.launcher ${D}${bindir}/navit
diff --git a/packages/navit/navit_0.0.4.bb b/packages/navit/navit_0.0.4.bb
index 104495f6f5..f22d35e5a8 100644
--- a/packages/navit/navit_0.0.4.bb
+++ b/packages/navit/navit_0.0.4.bb
@@ -1,6 +1,6 @@
require navit.inc
-PR = "r0"
+PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/navit/navit-${PV}.tar.gz"
diff --git a/packages/navit/navit_svn.bb b/packages/navit/navit_svn.bb
index 2cf3750671..df712a0eb2 100644
--- a/packages/navit/navit_svn.bb
+++ b/packages/navit/navit_svn.bb
@@ -1,7 +1,7 @@
require navit.inc
PV = "0.1.0+svnrev${SRCREV}"
-PR = "r0"
+PR = "r1"
DEFAULT_PREFERENCE = "-1"