ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] tslib is needed by DirectFB...


From: Stuart Hughes
Subject: Re: [Ltib] tslib is needed by DirectFB...
Date: Mon, 28 Nov 2011 18:03:01 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

Hi Peter,

Looks good, I've checked this into CVS.

Regards, Stuart

On 21/11/11 19:20, Peter Barada wrote:
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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]