summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2005-10-10 12:48:25 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-10-10 12:48:25 +0000
commit7f87dce4ec0f90174ed09255f68c750c4d88cc25 (patch)
treea19dff08965f9ec2b6a9b689ffc5b57294f4fa3a
parent2c0f7bc574df7c15b6876b778589dd472e950c9f (diff)
parentdbf6ae23f89f1382acd48968b2131b031ad57f70 (diff)
merge of 2d151a396c36bdb08948d221edbf6c5391eaf067
and d72f9e2df6f619bf150275a643da358b708c3bdd
-rw-r--r--packages/rxvt-unicode/files/rxvt.desktop10
-rw-r--r--packages/rxvt-unicode/files/rxvt.pngbin0 -> 2847 bytes
-rw-r--r--packages/rxvt-unicode/rxvt-unicode_5.6.bb17
-rw-r--r--packages/rxvt-unicode/rxvt-unicode_cvs.bb15
4 files changed, 39 insertions, 3 deletions
diff --git a/packages/rxvt-unicode/files/rxvt.desktop b/packages/rxvt-unicode/files/rxvt.desktop
new file mode 100644
index 0000000000..f372b28e97
--- /dev/null
+++ b/packages/rxvt-unicode/files/rxvt.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Terminal
+Exec=/usr/bin/rxvt
+Icon=rxvt.png
+Terminal=false
+Type=Application
+Categories=Utility
+StartupNotify=false
+
diff --git a/packages/rxvt-unicode/files/rxvt.png b/packages/rxvt-unicode/files/rxvt.png
new file mode 100644
index 0000000000..e56fa2e9cd
--- /dev/null
+++ b/packages/rxvt-unicode/files/rxvt.png
Binary files differ
diff --git a/packages/rxvt-unicode/rxvt-unicode_5.6.bb b/packages/rxvt-unicode/rxvt-unicode_5.6.bb
index 92915bf872..2f3f56c2cc 100644
--- a/packages/rxvt-unicode/rxvt-unicode_5.6.bb
+++ b/packages/rxvt-unicode/rxvt-unicode_5.6.bb
@@ -8,8 +8,10 @@ same time, including Xft fonts."
LICENSE = "GPL"
SRC_URI = "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PV}.tar.bz2 \
file://xwc.patch;patch=1 \
- file://signedchar.patch;patch=1"
-PR = "r2"
+ file://signedchar.patch;patch=1 \
+ file://rxvt.desktop \
+ file://rxvt.png"
+PR = "r3"
inherit autotools update-alternatives
@@ -53,3 +55,14 @@ do_compile () {
# docs need "yodl" and I have no idea what that is
oe_runmake -C src "LIBTOOL=$LIBTOOL"
}
+
+do_install_append () {
+ install -d ${D}/${datadir}
+ install -d ${D}/${datadir}/applications
+ install -d ${D}/${datadir}/pixmaps/
+
+ install -m 0644 ${WORKDIR}/rxvt.png ${D}/${datadir}/pixmaps
+ install -m 0644 ${WORKDIR}/rxvt.desktop ${D}/${datadir}/applications
+}
+
+FILES_${PN} += "${datadir}/applications/rxvt.desktop ${datadir}/pixmaps/rxvt.png"
diff --git a/packages/rxvt-unicode/rxvt-unicode_cvs.bb b/packages/rxvt-unicode/rxvt-unicode_cvs.bb
index ceee7cd51a..45278534e5 100644
--- a/packages/rxvt-unicode/rxvt-unicode_cvs.bb
+++ b/packages/rxvt-unicode/rxvt-unicode_cvs.bb
@@ -10,7 +10,9 @@ LICENSE = "GPL"
SRC_URI = "cvs://anonymous@cvs.schmorp.de/schmorpforge;module=rxvt-unicode \
file://xwc.patch;patch=1 \
file://signedchar.patch;patch=1 \
- file://makefile.patch;patch=1"
+ file://makefile.patch;patch=1 \
+ file://rxvt.desktop \
+ file://rxvt.png"
inherit autotools update-alternatives
@@ -56,3 +58,14 @@ do_compile () {
# docs need "yodl" and I have no idea what that is
oe_runmake -C src "LIBTOOL=$LIBTOOL"
}
+
+do_install_append () {
+ install -d ${D}/${datadir}
+ install -d ${D}/${datadir}/applications
+ install -d ${D}/${datadir}/pixmaps/
+
+ install -m 0644 ${WORKDIR}/rxvt.png ${D}/${datadir}/pixmaps
+ install -m 0644 ${WORKDIR}/rxvt.desktop ${D}/${datadir}/applications
+}
+
+FILES_${PN} += "${datadir}/applications/rxvt.desktop ${datadir}/pixmaps/rxvt.png"