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:

peter@turbo:~/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:

peter@turbo:~/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



_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

Reply via email to