diff options
| -rw-r--r-- | meta/recipes-graphics/tslib/tslib/0001-Link-plugins-against-libts.patch | 57 | ||||
| -rw-r--r-- | meta/recipes-graphics/tslib/tslib_1.0.bb | 3 |
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 @@ | |||
| 1 | From 9623bbedf4ff409e5036edfcfe52b2595932a6d7 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Chris Larson <clarson@kergoth.com> | ||
| 3 | Date: Sat, 1 Nov 2008 20:46:07 +0000 | ||
| 4 | Subject: [PATCH] Link plugins against libts | ||
| 5 | |||
| 6 | Some plugins use tslib functions. Link those plugins against libts. | ||
| 7 | The problem is easy to see with LDFLAGS="-Wl,-no-undefined". | ||
| 8 | Without this change DirectFB in unable to use tslib because symbols | ||
| 9 | in the tslib plugins can't be resolved. | ||
| 10 | |||
| 11 | Signed-off-by: Ville Syrjala <syrjala@sci.fi> | ||
| 12 | Signed-off-by: Chris Larson <clarson@kergoth.com> | ||
| 13 | |||
| 14 | The patch was imported from git server git://github.com/kergoth/tslib.git | ||
| 15 | as of commit id 9623bbedf4ff409e5036edfcfe52b2595932a6d7. | ||
| 16 | |||
| 17 | Upstream-Status: Accepted | ||
| 18 | Signed-off-by: Dmitry Cherukhin <dima_ch@emcraft.com> | ||
| 19 | --- | ||
| 20 | plugins/Makefile.am | 5 +++++ | ||
| 21 | 1 files changed, 5 insertions(+), 0 deletions(-) | ||
| 22 | |||
| 23 | diff --git a/plugins/Makefile.am b/plugins/Makefile.am | ||
| 24 | index 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 | -- | ||
| 56 | 1.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" | |||
| 10 | LICENSE = "LGPLv2" | 10 | LICENSE = "LGPLv2" |
| 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a" | 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a" |
| 12 | 12 | ||
| 13 | PR = "r18" | 13 | PR = "r19" |
| 14 | 14 | ||
| 15 | SRC_URI = "http://download.berlios.de/tslib/tslib-${PV}.tar.bz2 \ | 15 | SRC_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 | ||
