opie-keyboard: adjust post{inst,rm} and rpath to the new layout
authorMichael Krelin <hacker@klever.net>
Sat, 7 Jul 2007 23:12:59 +0000 (23:12 +0000)
committerMichael Krelin <hacker@klever.net>
Sat, 7 Jul 2007 23:12:59 +0000 (23:12 +0000)
packages/opie-keyboard/files/.mtn2git_empty [new file with mode: 0644]
packages/opie-keyboard/files/fix-rpath.patch [new file with mode: 0644]
packages/opie-keyboard/opie-keyboard.inc
packages/opie-keyboard/opie-keyboard_cvs.bb

diff --git a/packages/opie-keyboard/files/.mtn2git_empty b/packages/opie-keyboard/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/opie-keyboard/files/fix-rpath.patch b/packages/opie-keyboard/files/fix-rpath.patch
new file mode 100644 (file)
index 0000000..d917aeb
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/keyboard.pro b/keyboard.pro
+index 3a9e075..52bc10d 100644
+--- a/keyboard.pro
++++ b/keyboard.pro
+@@ -9,7 +9,7 @@ DESTDIR                = ../../plugins/inputmethods
+ INCLUDEPATH += $(OPIEDIR)/include
+ DEPENDPATH      +=  ../../launcher
+ LIBS            += -lqpe -L$(OPIEDIR)/plugins/inputmethods -lqpickboard
+-QMAKE_LFLAGS  += -Wl,-rpath,/opt/QtPalmtop/plugins/inputmethods
++QMAKE_LFLAGS  += -Wl,-rpath,${palmtopdir}/plugins/inputmethods
+ VERSION               = 1.0.0
+ include( $(OPIEDIR)/include.pro )
index d99b02a..122e30f 100644 (file)
@@ -14,7 +14,7 @@ pkg_postinst() {
 #!/bin/sh
 if [ -n "$D" ]; then exit 1; fi
 if pidof -s qpe >/dev/null; then
-  /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+  ${bindir}/qcop QPE/TaskBar "reloadInputMethods()"
 else
   exit 0
 fi
@@ -24,7 +24,7 @@ fi
 pkg_postrm() {
 #!/bin/sh
 if [ -n "$D" ]; then exit 1; fi
-/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+${bindir}/qcop QPE/TaskBar "reloadInputMethods()"
 }
 
 # FILES plugins/inputmethods/libqkeyboard.so*
index 0e6f667..e2cdeef 100644 (file)
@@ -1,5 +1,7 @@
 require ${PN}.inc
 
 PV = "${OPIE_CVS_PV}"
+PR = "r1"
 
-SRC_URI = "${HANDHELDS_CVS};module=opie/inputmethods/keyboard "
+SRC_URI = "${HANDHELDS_CVS};module=opie/inputmethods/keyboard \
+       file://fix-rpath.patch;patch=1 "