summaryrefslogtreecommitdiff
path: root/packages/keylaunch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-07-26 07:34:47 +0000
committerKoen Kooi <koen@openembedded.org>2006-07-26 07:34:47 +0000
commit28786b7206be6d271696666a0b19880d25548920 (patch)
treeeab38c29fd0fef0590d33ae97f328addd90a014c /packages/keylaunch
parentf236b09335ecd70d90105126d4b7aeafa8981055 (diff)
keylaunch: add patch to fix badness with 'install -sD'
Diffstat (limited to 'packages/keylaunch')
-rw-r--r--packages/keylaunch/files/makefile-fix.patch11
-rw-r--r--packages/keylaunch/keylaunch_2.0.10.bb4
2 files changed, 13 insertions, 2 deletions
diff --git a/packages/keylaunch/files/makefile-fix.patch b/packages/keylaunch/files/makefile-fix.patch
new file mode 100644
index 0000000000..30275001df
--- /dev/null
+++ b/packages/keylaunch/files/makefile-fix.patch
@@ -0,0 +1,11 @@
+--- /tmp/Makefile 2006-07-26 09:31:43.000000000 +0200
++++ keylaunch-2.0.10/Makefile 2006-07-26 09:32:23.464411000 +0200
+@@ -31,7 +31,7 @@
+ $(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
+
+ install-program: all
+- install -sD $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
++ install -s -D $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
+ install -D -m 644 $(PROG)rc $(DESTDIR)/etc/$(PROG)rc
+ install -d $(DESTDIR)/etc/X11/Xsession.d
+ install 90$(PROG) $(DESTDIR)/etc/X11/Xsession.d/90$(PROG)
diff --git a/packages/keylaunch/keylaunch_2.0.10.bb b/packages/keylaunch/keylaunch_2.0.10.bb
index 990de0cba7..e5f0b35b22 100644
--- a/packages/keylaunch/keylaunch_2.0.10.bb
+++ b/packages/keylaunch/keylaunch_2.0.10.bb
@@ -1,7 +1,6 @@
inherit gpe
DEPENDS = "virtual/xserver libxtst libxau libxpm libgpelaunch"
-DEPENDS_append_openzaurus = " display-brightness"
RDEPENDS_append_openzaurus = " display-brightness"
SECTION = "gpe"
@@ -13,9 +12,10 @@ DESCRIPTION = "A small utility for binding commands to a hot key.\
program is already running, keylaunch can bring its window to the front\
rather than just running another copy."
PACKAGE_ARCH = "${MACHINE_ARCH}"
-PR = "r6"
+PR = "r7"
SRC_URI += " file://keylaunchrc"
+SRC_URI += " file://makefile-fix.patch;patch=1"
do_install_prepend () {
install ${WORKDIR}/keylaunchrc ${S}/keylaunchrc