[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ltib] tslib is needed by DirectFB...
From: |
Peter Barada |
Subject: |
[Ltib] tslib is needed by DirectFB... |
Date: |
Mon, 21 Nov 2011 14:20:02 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Lightning/1.0b2 Thunderbird/3.1.15 |
Stuart,
I've stumbled across a problem with DirectFB - if you build it as part
of LTIB from scratch you end up with rootfs/usr/lib/inputdrivers having:
address@hidden:~/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0-nand$
ls rootfs/usr/lib/directfb-1.1-0/inputdrivers/
libdirectfb_keyboard.so libdirectfb_linux_input.so
But if you "./tlib -p DirectFB -m scbuild && ./ltib -p DirectFB -m
scdeploy" to rebuild/deploy DirectFB, it will then build/install the
tslib DirectFB input driver:
address@hidden:~/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0-nand$
ls rootfs/usr/lib/directfb-1.1-0/inputdrivers/
libdirectfb_keyboard.so libdirectfb_linux_input.so libdirectfb_tslib.so
This is due to DirectFB being built before tslib - and once tslib is
installed, DirectFB's configure will find it (if PKG_DIRECTFB__WANT_TS
is enabled). In the initial configure log from DirectFB you'll find:
checking which gfxdrivers should be built... checking which inputdrivers
should be built... tslib keyboard linuxinput
checking linux/input.h usability... yes
checking linux/input.h presence... yes
checking for linux/input.h... yes
checking for struct input_absinfo in linux/input.h... yes
checking for arm-linux-pkg-config... no
checking for pkg-config... /opt/ltib/usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for TSLIB... no
configure: WARNING: *** no tslib -- tslib driver will not be built.
Following is a patch to config/userspace/pkg_map that looks to fix the
issue (just hoits PKG_TSLIB to before PKG_DIRECTFB):
*** pkg_map.~1.29.~ 2010-11-13 14:15:45.000000000 -0500
--- pkg_map 2011-11-21 14:12:38.665846003 -0500
***************
*** 147,159 ****
PKG_LIBJPEG = libjpeg
PKG_LIBTIFF = libtiff
PKG_GLIB2 = glib2
PKG_DIRECTFB = DirectFB
PKG_DIRECTFB_EXAMPLES = DirectFB-examples
PKG_ATK = atk
PKG_ALSA_LIB = alsa-lib
PKG_SWIG = swig
PKG_MICROWINDOWS = microwindows
- PKG_TSLIB = tslib
PKG_LIBXML2 = libxml2
PKG_HTTPD = httpd
PKG_MYSQL = mysql
--- 147,159 ----
PKG_LIBJPEG = libjpeg
PKG_LIBTIFF = libtiff
PKG_GLIB2 = glib2
+ PKG_TSLIB = tslib
PKG_DIRECTFB = DirectFB
PKG_DIRECTFB_EXAMPLES = DirectFB-examples
PKG_ATK = atk
PKG_ALSA_LIB = alsa-lib
PKG_SWIG = swig
PKG_MICROWINDOWS = microwindows
PKG_LIBXML2 = libxml2
PKG_HTTPD = httpd
PKG_MYSQL = mysql
--
Peter Barada
address@hidden
- [Ltib] tslib is needed by DirectFB...,
Peter Barada <=