summaryrefslogtreecommitdiff
path: root/openembedded/packages/libgtkstylus
diff options
context:
space:
mode:
authorChris Lord <chris@openedhand.com>2005-09-09 13:52:55 +0000
committerChris Lord <chris@openedhand.com>2005-09-09 13:52:55 +0000
commit975a1babe2d2685adac306a0eb04cbb320c3c74c (patch)
tree3d393840632cb00f15e5ca7da9b7af09618e3a86 /openembedded/packages/libgtkstylus
parent3e846ba477aef514313450d4dba343e097be1418 (diff)
downloadopenembedded-core-975a1babe2d2685adac306a0eb04cbb320c3c74c.tar.gz
openembedded-core-975a1babe2d2685adac306a0eb04cbb320c3c74c.tar.bz2
openembedded-core-975a1babe2d2685adac306a0eb04cbb320c3c74c.tar.xz
openembedded-core-975a1babe2d2685adac306a0eb04cbb320c3c74c.zip
Add ross's libgtkstylus
git-svn-id: https://svn.o-hand.com/repos/poky@20 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/libgtkstylus')
-rw-r--r--openembedded/packages/libgtkstylus/files/gtkstylus.sh5
-rw-r--r--openembedded/packages/libgtkstylus/files/makefile.patch11
-rw-r--r--openembedded/packages/libgtkstylus/libgtkstylus_0.4.bb18
3 files changed, 34 insertions, 0 deletions
diff --git a/openembedded/packages/libgtkstylus/files/gtkstylus.sh b/openembedded/packages/libgtkstylus/files/gtkstylus.sh
new file mode 100644
index 000000000..b1302ede0
--- /dev/null
+++ b/openembedded/packages/libgtkstylus/files/gtkstylus.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+GTK_MODULES=libgtkstylus.so
+
+export GTK_MODULES
diff --git a/openembedded/packages/libgtkstylus/files/makefile.patch b/openembedded/packages/libgtkstylus/files/makefile.patch
new file mode 100644
index 000000000..fadea6902
--- /dev/null
+++ b/openembedded/packages/libgtkstylus/files/makefile.patch
@@ -0,0 +1,11 @@
+--- libgtkstylus-0.3/Makefile.am.old 2005-01-16 15:56:07.000000000 +0000
++++ libgtkstylus-0.3/Makefile.am 2005-01-16 15:56:08.000000000 +0000
+@@ -3,7 +3,7 @@
+ module_LTLIBRARIES = libgtkstylus.la
+
+ INCLUDES = @STYLUS_CFLAGS@
+-LDADD = @STYLUS_LIBS@
++LIBS = @STYLUS_LIBS@
+
+ libgtkstylus_la_SOURCES = tap.c
+
diff --git a/openembedded/packages/libgtkstylus/libgtkstylus_0.4.bb b/openembedded/packages/libgtkstylus/libgtkstylus_0.4.bb
new file mode 100644
index 000000000..fc03d44a8
--- /dev/null
+++ b/openembedded/packages/libgtkstylus/libgtkstylus_0.4.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "GTK plugin for stylus based systems"
+SECTION = "libs"
+MAINTAINER = "Chris Lord <chris@openedhand.com>"
+DEPENDS = "gtk+"
+LICENSE = "LGPL"
+FILES_${PN} = "/etc ${libdir}/gtk-2.0"
+
+inherit autotools
+
+SRC_URI = "http://burtonini.com/temp/${PN}-${PV}.tar.bz2 \
+ file://makefile.patch;patch=1 \
+ file://gtkstylus.sh"
+
+do_install_append() {
+ install -d ${D}/${sysconfdir}/X11/Xsession.d
+ install -m 755 ${WORKDIR}/gtkstylus.sh ${D}/${sysconfdir}/X11/Xsession.d/45gtkstylus
+}
+