tickypip: fix fetching and path issues
authorPaul Eggleton <bluelightning@bluelightning.org>
Tue, 18 Nov 2008 22:10:30 +0000 (22:10 +0000)
committerPaul Eggleton <bluelightning@bluelightning.org>
Tue, 18 Nov 2008 22:14:27 +0000 (22:14 +0000)
 * Fetch source from OZ 3.5.4 sources since current ones are unavailable
 * Look for levels in directory where they are now being installed

packages/tickypip/tickypip-levels_1.1.bb
packages/tickypip/tickypip/path_fix.patch [new file with mode: 0644]
packages/tickypip/tickypip_0.1.2.bb

index c24044a..91938cf 100644 (file)
@@ -8,7 +8,7 @@ RDEPENDS = "tickypip"
 PACKAGE_ARCH = "all"
 PR = "r1"
 
-SRC_URI = "http://ewi546.ewi.utwente.nl/mirror/hrw-oe-sources/tickypip-levels_${PV}.tar.bz2"
+SRC_URI = "http://www.openzaurus.org/download/3.5.4/sources/tickypip-levels_${PV}.tar.bz2"
 
 S = "${WORKDIR}/"
 
diff --git a/packages/tickypip/tickypip/path_fix.patch b/packages/tickypip/tickypip/path_fix.patch
new file mode 100644 (file)
index 0000000..c6e0b32
--- /dev/null
@@ -0,0 +1,11 @@
+--- tickypip/src/base.h        2008-11-18 21:49:58.000000000 +0000
++++ tickypip/src/base.h        2008-11-18 21:54:00.000000000 +0000
+@@ -7,7 +7,7 @@
+ #ifdef LOCAL_COMPILE
+ # define DATA_PREFIX "./"
+ #else
+-# define DATA_PREFIX "/opt/QtPalmtop/share/tickypip/"
++# define DATA_PREFIX DATA_BASEDIR "/share/tickypip/"
+ #endif
+ #include "BorderLayout.h"
index 782803b..558828e 100644 (file)
@@ -5,9 +5,10 @@ LICENSE = "GPL"
 AUTHOR = "Christian Hammond"
 HOMEPAGE = "http://www.chipx86.com/projects/tickypip/"
 RRECOMMENDS = "tickypip-levels"
-PR = "r4"
+PR = "r5"
 
-SRC_URI = "http://www.chipx86.com/packages/ipkg/tickypip-0.1.2.tar.gz \
+SRC_URI = "http://www.openzaurus.org/download/3.5.4/sources/tickypip-0.1.2.tar.gz \
+           file://path_fix.patch;patch=1 \
            file://tickypip.desktop \
            file://tickypip.png"
 
@@ -16,7 +17,7 @@ APPTYPE = "binary"
 APPDESKTOP = "${WORKDIR}"
 
 QMAKE_PROFILES = "tickypip.pro"
-EXTRA_QMAKEVARS_POST += "DEFINES-=LOCAL_COMPILE"
+EXTRA_QMAKEVARS_POST += "DEFINES-=LOCAL_COMPILE DEFINES+=DATA_BASEDIR='\"${palmtopdir}\"'"
 
 do_install () {
        install -d ${D}${palmtopdir}/pics/${APPNAME}/