summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/tslib
diff options
context:
space:
mode:
authorDmitry Cherukhin <dima_ch@emcraft.com>2011-11-02 13:03:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-07 14:05:38 +0000
commitd70ba51ad96190f58eebb136b30f9621d42f0db3 (patch)
tree0eaf2bcbf319160fc29c1693100137f12688490d /meta/recipes-graphics/tslib
parent49f9ca5d4c037e32ba3a68374a350304e4e9c706 (diff)
downloadpoky-d70ba51ad96190f58eebb136b30f9621d42f0db3.tar.gz
tslib: fix the bug with loading libts-1.0.so
Touchpad did not work in the qtdemoE if the library libts-1.0.so was not loaded manually using the LD_PRELOAD variable. This problem was fixed in the tslib mainline https://github.com/kergoth/tslib after the 1.0 release. We just import the patch. (From OE-Core rev: 0ba6d91dc527908740890c896b834e7216b0d2fb) Signed-off-by: Dmitry Cherukhin <dima_ch@emcraft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/tslib')
-rw-r--r--meta/recipes-graphics/tslib/tslib/0001-Link-plugins-against-libts.patch57
-rw-r--r--meta/recipes-graphics/tslib/tslib_1.0.bb3
2 files changed, 59 insertions, 1 deletions
diff --git a/meta/recipes-graphics/tslib/tslib/0001-Link-plugins-against-libts.patch b/meta/recipes-graphics/tslib/tslib/0001-Link-plugins-against-libts.patch
new file mode 100644
index 0000000000..c6b9f5919b
--- /dev/null
+++ b/meta/recipes-graphics/tslib/tslib/0001-Link-plugins-against-libts.patch
@@ -0,0 +1,57 @@
1From 9623bbedf4ff409e5036edfcfe52b2595932a6d7 Mon Sep 17 00:00:00 2001
2From: Chris Larson <clarson@kergoth.com>
3Date: Sat, 1 Nov 2008 20:46:07 +0000
4Subject: [PATCH] Link plugins against libts
5
6Some plugins use tslib functions. Link those plugins against libts.
7The problem is easy to see with LDFLAGS="-Wl,-no-undefined".
8Without this change DirectFB in unable to use tslib because symbols
9in the tslib plugins can't be resolved.
10
11Signed-off-by: Ville Syrjala <syrjala@sci.fi>
12Signed-off-by: Chris Larson <clarson@kergoth.com>
13
14The patch was imported from git server git://github.com/kergoth/tslib.git
15as of commit id 9623bbedf4ff409e5036edfcfe52b2595932a6d7.
16
17Upstream-Status: Accepted
18Signed-off-by: Dmitry Cherukhin <dima_ch@emcraft.com>
19---
20 plugins/Makefile.am | 5 +++++
21 1 files changed, 5 insertions(+), 0 deletions(-)
22
23diff --git a/plugins/Makefile.am b/plugins/Makefile.am
24index 3b902c2..4c4ef8b 100644
25--- a/plugins/Makefile.am
26+++ b/plugins/Makefile.am
27@@ -114,15 +114,19 @@ pluginexec_LTLIBRARIES = \
28
29 variance_la_SOURCES = variance.c
30 variance_la_LDFLAGS = -module $(LTVSN)
31+variance_la_LIBADD = $(top_builddir)/src/libts.la
32
33 dejitter_la_SOURCES = dejitter.c
34 dejitter_la_LDFLAGS = -module $(LTVSN)
35+dejitter_la_LIBADD = $(top_builddir)/src/libts.la
36
37 linear_la_SOURCES = linear.c
38 linear_la_LDFLAGS = -module $(LTVSN)
39+linear_la_LIBADD = $(top_builddir)/src/libts.la
40
41 pthres_la_SOURCES = pthres.c
42 pthres_la_LDFLAGS = -module $(LTVSN)
43+pthres_la_LIBADD = $(top_builddir)/src/libts.la
44
45 # hw access
46 corgi_la_SOURCES = corgi-raw.c
47@@ -148,6 +152,7 @@ tatung_la_LDFLAGS = -module $(LTVSN)
48
49 input_la_SOURCES = input-raw.c
50 input_la_LDFLAGS = -module $(LTVSN)
51+input_la_LIBADD = $(top_builddir)/src/libts.la
52
53 linear_h2200_la_SOURCES = linear-h2200.c
54 linear_h2200_la_LDFLAGS = -module $(LTVSN)
55--
561.7.6.4
57
diff --git a/meta/recipes-graphics/tslib/tslib_1.0.bb b/meta/recipes-graphics/tslib/tslib_1.0.bb
index 3704572baf..dbabce02c0 100644
--- a/meta/recipes-graphics/tslib/tslib_1.0.bb
+++ b/meta/recipes-graphics/tslib/tslib_1.0.bb
@@ -10,10 +10,11 @@ SECTION = "base"
10LICENSE = "LGPLv2" 10LICENSE = "LGPLv2"
11LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a" 11LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a"
12 12
13PR = "r18" 13PR = "r19"
14 14
15SRC_URI = "http://download.berlios.de/tslib/tslib-${PV}.tar.bz2 \ 15SRC_URI = "http://download.berlios.de/tslib/tslib-${PV}.tar.bz2 \
16 file://fix_version.patch \ 16 file://fix_version.patch \
17 file://0001-Link-plugins-against-libts.patch \
17 file://ts.conf \ 18 file://ts.conf \
18 file://tslib.sh" 19 file://tslib.sh"
19 20