From 975a1babe2d2685adac306a0eb04cbb320c3c74c Mon Sep 17 00:00:00 2001 From: Chris Lord Date: Fri, 9 Sep 2005 13:52:55 +0000 Subject: [PATCH] Add ross's libgtkstylus git-svn-id: https://svn.o-hand.com/repos/poky@20 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../packages/libgtkstylus/files/gtkstylus.sh | 5 +++++ .../packages/libgtkstylus/files/makefile.patch | 11 +++++++++++ .../packages/libgtkstylus/libgtkstylus_0.4.bb | 18 ++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 openembedded/packages/libgtkstylus/files/gtkstylus.sh create mode 100644 openembedded/packages/libgtkstylus/files/makefile.patch create mode 100644 openembedded/packages/libgtkstylus/libgtkstylus_0.4.bb diff --git a/openembedded/packages/libgtkstylus/files/gtkstylus.sh b/openembedded/packages/libgtkstylus/files/gtkstylus.sh new file mode 100644 index 0000000000..b1302ede0e --- /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 0000000000..fadea69023 --- /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 0000000000..fc03d44a85 --- /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 " +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 +} +