]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agosubversion: add 1.7.0 with native support and negative D_P for now
Martin Jansa [Thu, 20 Oct 2011 21:17:16 +0000 (23:17 +0200)]
subversion: add 1.7.0 with native support and negative D_P for now

* intentionaly with negative D_P, bitbake fetcher should be improved to
  detect old checkout with newer subversion available or vice versa and
  do svn upgrade automaticaly or show better error, but subversion as
  client for target or -native for distributions which explicitly say
  they want 1.7 (with PREFERRED_VERSION) can be available already from
  oe-core.
* be aware that checkouts from 1.7.0 are not compatible with older
  subversion clients (ie when builder populating distro PREMIRROR is
  using 1.7.0 all builders need to have also 1.7.0)
* and also 1.7.0 client needs to call svn upgrade in checkout first in
  order to use it (so if PREMIRROR has tarball from 1.6.x it won't work
  on client using 1.7.0 unless fetcher2 is improved to detect this and
  call svn upgrade)
* tested on SHR distribution
  http://wiki.shr-project.org/trac/wiki/Building%20SHR#subversion1.7inshr-chroot
* only missing part is to add subversion-native dependency, so that
  native subversion is built, before building ie elementary (because EFL
  are using svnversion from configure.ac to detect source revision and
  .svn dir needs to be from compatible version).
* read http://subversion.apache.org/docs/release-notes/1.7.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agoqt4-x11-free: bring back pkg-config fixups
Simon Busch [Fri, 7 Oct 2011 10:01:56 +0000 (12:01 +0200)]
qt4-x11-free: bring back pkg-config fixups

* With b40b9c024be5e1ec81a31961158b3e6b529acfe0 some pkg-config fixups where removed from
  qt4.inc which breaks the pkg-config files for qt4-embedded. Without that the pkg-config
  files for qt4-x11-free are broken. So this patch puts the fixes into the qt4-x11-free.inc
  file to be used by qt4-x11-free and not qt4-embedded.

* Resending because nobody replied on
  http://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg10609.html

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agodhcp: generate initial leases files for server
Otavio Salvador [Fri, 4 Nov 2011 20:34:15 +0000 (20:34 +0000)]
dhcp: generate initial leases files for server

If not using the init script it fails as the leases are created by it.
When used with systemd, this fails without the leases thus this allows
it to work out of box.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Added commit meesage from Otavio's email

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agodpkg/update-alternatives: Fix dpkg version of update-alternatives to be usable
Richard Purdie [Mon, 14 Nov 2011 17:43:45 +0000 (17:43 +0000)]
dpkg/update-alternatives: Fix dpkg version of update-alternatives to be usable

The version of dpkg the updates-alternatives-dpkg recipe pointed
at no longer used a perl script but a compiled binary. This meant
the "all" architecture field was invalid, as as the sed operation
during do_patch. All things considered the separate recipe was
pretty pointless.

This patch moves update-alternatives back to being built as part
of the dpkg recipe. It also moves various functionalty to the .inc
file which it belongs and fixes building and packaging of the dpkg
perl modules.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase-passwd: Move update-passwd into a separate package
Richard Purdie [Mon, 14 Nov 2011 13:54:22 +0000 (13:54 +0000)]
base-passwd: Move update-passwd into a separate package

update-passwd is the only user of the passwd/group.master files
and was never used by OE since it wasn't run.

This patch packages this separately and adds an appropriate postinst
to make the package useful so people can include it as they wish.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase-passwd: Fix the broken preinst/postinstall
Richard Purdie [Mon, 14 Nov 2011 12:45:57 +0000 (12:45 +0000)]
base-passwd: Fix the broken preinst/postinstall

The preinst accesses file which may not yet have been unpacked.
The postinst is too late for the creation of these files
for at least the opkg backend.

This patch therefore encodes the file contents into the preinst,
resolving the various issues once and for all.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosyslinux: fix the SRC_URI by using the 4.xx directory
Jan Luebbe [Sat, 12 Nov 2011 15:14:58 +0000 (16:14 +0100)]
syslinux: fix the SRC_URI by using the 4.xx directory

This path should be valid for a longer time, as only the current
release stays in main directory.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopkg: Ensure we use the uname/gname fields when extracting tarballs
Richard Purdie [Fri, 11 Nov 2011 17:17:01 +0000 (17:17 +0000)]
opkg: Ensure we use the uname/gname fields when extracting tarballs

When extracting packages onto the target system in particular, we
really want to ensure the name fields in the tarball are used over
and above the numerical uid/gid values. This patch adds this
functionality to opkg and ensures package upgrades work correctly
permission wise.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorootfs_ipk.bbclass: Ensure bad recommendations persist in the status file
Richard Purdie [Sat, 12 Nov 2011 08:36:55 +0000 (08:36 +0000)]
rootfs_ipk.bbclass: Ensure bad recommendations persist in the status file

Currently bad recommendations are added to the status file with status
"ok". After a single opkg command, whilst it will ignore the recommendation,
the status changes to "installed" even if the recommended package was not
installed. Whilst this is likely a glitch in opkg's logic, the correct
way to persist the information in the status file is to set the status
to "hold" as deinstall packages with that status remain. With this change
the bad recommendations persist accross multiple opkg runs and the system
behaves as expected.

[YOCTO #1758]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxinit: rdepends on util-linux-mcookie to avoid brining whole util-linux
Otavio Salvador [Thu, 10 Nov 2011 21:01:26 +0000 (21:01 +0000)]
xinit: rdepends on util-linux-mcookie to avoid brining whole util-linux

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agoutil-linux: split mcookie into a package
Otavio Salvador [Thu, 10 Nov 2011 21:00:54 +0000 (21:00 +0000)]
util-linux: split mcookie into a package

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agosudo: Avoid post install scripts
Mark Hatle [Wed, 9 Nov 2011 23:04:08 +0000 (17:04 -0600)]
sudo: Avoid post install scripts

The post install script was removed, and the install_append updated
to ensure the permissions are set correctly.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoshadow: Generate the shadow files at rootfs construction
Mark Hatle [Wed, 9 Nov 2011 23:02:43 +0000 (17:02 -0600)]
shadow: Generate the shadow files at rootfs construction

With the recent changes to the shadow-native package support "--root",
we can now convert the passwd/group files to their shadow forms while
doing the rootfs install, instead of waiting to run on the target.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agowpa-supplicant: Avoid blocking the post install script at cross rootfs time.
Mark Hatle [Wed, 9 Nov 2011 23:01:09 +0000 (17:01 -0600)]
wpa-supplicant: Avoid blocking the post install script at cross rootfs time.

We only want to reload dbus, if we're install on the target -- not on the host.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agorootfs_rpm.bbclass: Turn off script debugging
Mark Hatle [Thu, 10 Nov 2011 17:43:02 +0000 (11:43 -0600)]
rootfs_rpm.bbclass: Turn off script debugging

Disable script debugging, as the log files become huge and take a
long time to process during the log check step.  This results in a
performance improvement.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agorootfs_rpm.bbclass: Enable pre and post install scripts
Mark Hatle [Thu, 10 Nov 2011 16:30:21 +0000 (10:30 -0600)]
rootfs_rpm.bbclass: Enable pre and post install scripts

[YOCTO #1755]

We change the want the RPM rootfs install works to install pre and post install
scripts.  The new method uses a script helper that is invoked by RPM outside
of the normal chroot.

The wrapper is dynamically generated prior to the install starting.  It will
check the return code of the script.  If the script fails, it will store a copy
to be executed on the first system boot.  This is similar to the previous
mechanism.

In addition, a line of debug was added to the scripts as written by package_rpm
to list which package and which script for later debugging, if necessary.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoqt-mobility: qa_configure stage failed
Dmitry Cherukhin [Tue, 8 Nov 2011 13:28:52 +0000 (14:28 +0100)]
qt-mobility: qa_configure stage failed

The catalogue /usr/lib removed from Makefiles used for building configure tests.

Signed-off-by: Dmitry Cherukhin <dima_ch@emcraft.com>
13 years agopopulate_*.bbclass: Correct INSTALL variable name after recent multilib changes
Richard Purdie [Thu, 10 Nov 2011 18:03:30 +0000 (18:03 +0000)]
populate_*.bbclass: Correct INSTALL variable name after recent multilib changes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopopulate_*.bbclass: Drop pointless fakeroot attribute (fakeroot is at the task level)
Richard Purdie [Thu, 10 Nov 2011 18:02:56 +0000 (18:02 +0000)]
populate_*.bbclass: Drop pointless fakeroot attribute (fakeroot is at the task level)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: Unload pseudo when its not required for a given task
Richard Purdie [Wed, 9 Nov 2011 15:02:33 +0000 (15:02 +0000)]
bitbake.conf: Unload pseudo when its not required for a given task

This yields a small performance boost due to the lack of the
preload overhead on each task execution.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxinit: Fix `startx` looking for `mcookie` in sysroot
Paul Menzel [Tue, 8 Nov 2011 12:00:32 +0000 (13:00 +0100)]
xinit: Fix `startx` looking for `mcookie` in sysroot

`startx` run on a system based on the demo systemd image [1] and `opkg`-installed packages fails with the following error.

/usr/bin/startx: line 139: /OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x68_64-linux/usr/bin/mcookie: No such file or directory

Applying commit 443bcc07 [1] from OE-classic

        Author: Tom Rini <tom_rini@mentor.com>
        Date:   Thu Apr 7 10:36:43 2011 -0700

            xinit: Fix mcookie / util-linux-ng dependency

            xinit just needs to know the runtime path of mcookie so we need to
            RDEPEND on util-linux-ng and pass the runtime path in via EXTRA_OECONF

Signed-off-by: Tom Rini <tom_rini@mentor.com>
fixes this issue. Commit 7f6cec6f [2]

        Author: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
        Date:   Sun Feb 21 18:11:30 2010 +0100

            xinit: add dependency on util-linux-ng

        […]

tried to address the same problem but apparently did not help, because Tom still had problems.

[1] http://www.angstrom-distribution.org/demo/beagleboard/Angstrom-systemd-image-eglibc-ipk-v2011.11-core-beagleboard.rootfs.tar.bz2
[2] http://git.openembedded.org/openembedded/commit/443bcc0785bc004e471b3750a34d12d2fd2e5dad
[3] http://git.openembedded.org/openembedded/commit/7f6cec6f0adb6203a6dbaf8a43c67c2c4f8bf84e

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
13 years agolinux-yocto: config cleanups + romely rt support
Bruce Ashfield [Wed, 9 Nov 2011 16:19:16 +0000 (11:19 -0500)]
linux-yocto: config cleanups + romely rt support

Updating the meta branch SRCREV to pickup a series of BSP
cleanups and add -rt support to the romely.

  ae3e64c meta/romley: Add rt support Add rt support to the meta branch for romley.
  6c78969 meta/fishriver: enable hpet
  bc4452a meta/jasperforest: use power/intel feature
  6e9634e meta/fri2: use power/intel feature
  ec949f5 meta/fishriver: use power/intel feature

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agotask-core-x11: use VIRTUAL-RUNTIME variables for xserver_common and graphical_init_ma...
Martin Jansa [Sat, 29 Oct 2011 21:48:59 +0000 (23:48 +0200)]
task-core-x11: use VIRTUAL-RUNTIME variables for xserver_common and graphical_init_manager

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agokeymaps: depend on kbd instead of console-tools
Martin Jansa [Sat, 29 Oct 2011 10:12:37 +0000 (12:12 +0200)]
keymaps: depend on kbd instead of console-tools

* nowadays kbd seems more active

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agotask-core-boot, keymaps: add another VIRTUAL-RUNTIME to allow distributions to use...
Martin Jansa [Sat, 29 Oct 2011 07:37:20 +0000 (09:37 +0200)]
task-core-boot, keymaps: add another VIRTUAL-RUNTIME to allow distributions to use different set of initscripts or no initscripts at all

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agokbd: add RREPLACES/RCONFLICTS/RPROVIDES for upgradeable path from console-tools
Martin Jansa [Fri, 4 Nov 2011 16:41:07 +0000 (17:41 +0100)]
kbd: add RREPLACES/RCONFLICTS/RPROVIDES for upgradeable path from console-tools

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agokbd: import from meta-oe
Martin Jansa [Fri, 4 Nov 2011 16:40:17 +0000 (17:40 +0100)]
kbd: import from meta-oe

* replaces console-tools used in keymaps

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agolame: update to 3.99.1
Saul Wold [Wed, 9 Nov 2011 01:15:15 +0000 (17:15 -0800)]
lame: update to 3.99.1

Updated lame.h checksum due to change of LGPL Lessor -> Library

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agopython: bump PR
Tom Zanussi [Wed, 9 Nov 2011 15:03:31 +0000 (09:03 -0600)]
python: bump PR

Commit 23d2eaf9 ('skip setup.py 'import check' when cross-compiling')
neglected bumping the PR, this adds it.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agoncurses: refactor configure to avoid configuring widec when disabled
Darren Hart [Tue, 8 Nov 2011 18:21:28 +0000 (10:21 -0800)]
ncurses: refactor configure to avoid configuring widec when disabled

The ENABLE_WIDEC variable can be used to disable ncurses wide character support
when your C library doesn't support it. Currently, the do_configure step
configures for both narrow and wide characters regardless and only checks
ENABLE_WIDEC during compilation. This leads to QA failures with host
contamination during configure if the C library doesn't support wide characters.

Refactor do_configure with a new ncurses_configure helper function and only
configure for wide character support if ENABLE_WIDEC is true.

Ensure that configure errors are propogated back through to do_configure.

Tested with ENABLE_WIDEC as true and false via an ncurses bbappend on i586,
including basic error injection.

V2: INC_PR bump

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agolibtasn1: update to 2.10
Saul Wold [Wed, 9 Nov 2011 01:32:39 +0000 (17:32 -0800)]
libtasn1: update to 2.10

COPYING.LIB has white space formating changing
README has Copyright update to year range

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolibxml2: use Copyright in LIC_FILES_CHKSUM instead of COPYING
Martin Jansa [Tue, 8 Nov 2011 14:22:24 +0000 (15:22 +0100)]
libxml2: use Copyright in LIC_FILES_CHKSUM instead of COPYING

* COPYING is replaced by symlink to Copyright during do_configure
  (see configure.in), then we end with link to nonexistent file
* same issue as libxslt had http://patchwork.openembedded.org/patch/14195/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agoConvert to use direct access to the data store (instead of bb.data.*Var*())
Richard Purdie [Wed, 9 Nov 2011 15:00:01 +0000 (15:00 +0000)]
Convert to use direct access to the data store (instead of bb.data.*Var*())

This is the result of running the following over the metadata:

sed \
-e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoAllow use of dash as /bin/sh
Richard Purdie [Tue, 8 Nov 2011 21:33:53 +0000 (21:33 +0000)]
Allow use of dash as /bin/sh

We've had the check for dash as /bin/sh for a long time. Dash has been
around long enough now that most major issues have been identified and
fixed from  build perspective.

This patch fixes a bashism in the openjade-native recipe. It also
adjusts libtool so that the header at the script is used and not the
value of $SHELL. This is because many Makefiles change $SHELL so dash
can get used to execute what is otherwise configured as a bash shell
script. Since we don't need to execute scripts this way on any system I'm
aware of us building upon, the simplest fix is just to remove $SHELL.

With these two changes the dash check can be removed and we can allow
builds with dash as /bin/sh

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Note: I know I need to add the description of the libtool change above
into the prefix.patch]

13 years agoqemu: Ensure an internal qemugl script uses bash as it has bashisms
Richard Purdie [Wed, 9 Nov 2011 17:25:25 +0000 (17:25 +0000)]
qemu: Ensure an internal qemugl script uses bash as it has bashisms

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclasses: Remove various bashisms
Richard Purdie [Tue, 8 Nov 2011 17:57:41 +0000 (17:57 +0000)]
classes: Remove various bashisms

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/qemuimage-testlib: Output a slightly better error if expect is missing
Richard Purdie [Tue, 8 Nov 2011 17:55:50 +0000 (17:55 +0000)]
scripts/qemuimage-testlib: Output a slightly better error if expect is missing

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoudev-extraconf: blacklist /dev/md
Saul Wold [Tue, 8 Nov 2011 20:29:24 +0000 (12:29 -0800)]
udev-extraconf: blacklist /dev/md

Do not mount /dev/md by default via udev, this resolved a problem
with the sanity test failing due to seeing the error while attempting
to mount /dev/md0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoDistro_tracking: Update Manual Check Date
Saul Wold [Wed, 9 Nov 2011 00:39:11 +0000 (16:39 -0800)]
Distro_tracking: Update Manual Check Date

Checked the following Upstreams:
apt
libaio
sysstat
unzip
zip
linexif
boost
libcheck
ncurses
sysfsutils
util-linux - Offline
lsb
eds-tools
libmad
lame
glew
squashfs-tools

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolibarchive: Remove obsolete comment and empty line at the end
Paul Menzel [Tue, 8 Nov 2011 23:17:22 +0000 (00:17 +0100)]
libarchive: Remove obsolete comment and empty line at the end

This is a fix up for

        commit fb19df5b21e551c5dfdfa340438952560c5fa528
        Author: Xiaofeng Yan <xiaofeng.yan@windriver.com>
        Date:   Mon Nov 7 20:03:53 2011 +0800

            libarchive: update to 2.8.5

            Remove patch "0003-Patch-from-upstream-rev-2516.patch" because it has been merged
            to source codes.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
removing a now obsolete comment because the undistributable content was removed [1] from upstream’s tarball.

Also remove an empty line at the end introduced in the above commit.

[1] http://code.google.com/p/libarchive/issues/detail?id=162

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
13 years agoIntroduce new SERIAL_CONSOLES to add multiple consoles for your MACHINE
Matthew McClintock [Fri, 4 Nov 2011 21:07:52 +0000 (16:07 -0500)]
Introduce new SERIAL_CONSOLES to add multiple consoles for your MACHINE

Just define additional serial consoles like so:

SERIAL_CONSOLES="115200;ttyS0 115200;ttyS1 ... 115200;ttySN"

Also be sure to remove SERIAL_CONSOLE (lacking the S) from your
machine as they can conflict.

Signed-off-by: Matthew McClintock <msm@freescale.com>
13 years agolocal.conf.sample.extended: Fix bug 1674
Xiaofeng Yan [Tue, 8 Nov 2011 11:29:12 +0000 (19:29 +0800)]
local.conf.sample.extended: Fix bug 1674

[YOCTO #1674]
local.conf.sample.extended: An image based on gtk+-directfb don't need x11 for DEFAULT_FEATURES

Remove "x11" from DEFAULT_FEATURES and add "directfb" to it because someone could don't need x11 in their project, perhaps
gtk over directfb will meet his reqirement.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agouseradd: Add missing DEPEND on shadow
Richard Purdie [Wed, 9 Nov 2011 17:30:43 +0000 (17:30 +0000)]
useradd: Add missing DEPEND on shadow

Without this rootfs generation fails as an RDEPENDS is added
but the package might not have bneen built.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoavahi: remove USERADDPN
Scott Garman [Wed, 9 Nov 2011 02:49:14 +0000 (18:49 -0800)]
avahi: remove USERADDPN

USERADDPN is no longer used; remove it.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agouseradd-example.bb: update example documentation comments
Scott Garman [Wed, 9 Nov 2011 02:42:02 +0000 (18:42 -0800)]
useradd-example.bb: update example documentation comments

Clarify that only packages listed in USERADD_PACKAGES will
include the user/group creation code.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agouseradd.bbclass: do not modify -nativesdk packages
Scott Garman [Wed, 9 Nov 2011 02:40:28 +0000 (18:40 -0800)]
useradd.bbclass: do not modify -nativesdk packages

Exclude the addition of user/group code and RDEPENDS changes for
-nativesdk packages.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agouseradd.bbclass: only modify packages in USERADD_PACKAGES
Scott Garman [Wed, 9 Nov 2011 02:23:48 +0000 (18:23 -0800)]
useradd.bbclass: only modify packages in USERADD_PACKAGES

Previously we injected the user/group preinstall script into all
output packages. This fixes that so that only packages listed in
USERADD_PACKAGES get modified.

It also removes the USERADDPN variable, which is no longer needed.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agogconf: Drop polkit dependency
Richard Purdie [Wed, 9 Nov 2011 17:32:11 +0000 (17:32 +0000)]
gconf: Drop polkit dependency

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogconf: add upstream GNOME gconf 3.2.3 and drop gconf-dbus
Joshua Lock [Tue, 1 Nov 2011 21:46:43 +0000 (14:46 -0700)]
gconf: add upstream GNOME gconf 3.2.3 and drop gconf-dbus

The D-Bus backend has been integrated into upstream GConf so we can
switch to upstream and drop gconf-dbus.

I've gone for a release in the 3.2 series as we disable Gtk+, and
therefore are not impacted by the gtk+3 changes, and the D-Bus backend
was unstable before this release.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agomime.bbclass: No need to import os.path, it then breaks the os module
Richard Purdie [Wed, 9 Nov 2011 17:29:53 +0000 (17:29 +0000)]
mime.bbclass: No need to import os.path, it then breaks the os module

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclasses/[gnome|gnomebase|mime]: enhance gnome related classes
Joshua Lock [Wed, 2 Nov 2011 00:11:04 +0000 (17:11 -0700)]
classes/[gnome|gnomebase|mime]: enhance gnome related classes

This patch pulls in the gnome related classes from oe-core which
adds extra packaging rules and functionality whilst modularising things
so that one can get a subset of gnome functionality without adding a lot
of extra dependencies.

These aren't an exact copy of the classes from meta-openembedded, notable
differences are:
* gnome.bbclass - I dropped the BBCLASSEXTEND
* mime.bbclass:
  - updated coding style
  - use which to find update-mime-database program rather than hard coded
  - fix typo in populate_packges_append such that it's actually called

CC: Koen Kooi <koen@dominion.thruhere.net>
CC: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agoshared-mime-info: package runtime data separately
Joshua Lock [Tue, 8 Nov 2011 23:31:32 +0000 (15:31 -0800)]
shared-mime-info: package runtime data separately

The freedesktop.org.xml is required when updating the mime database but
otherwise not much use. Therefore package it separately, rather than
removing it completely, so that it can be used as required for on-device
updates without adding almost 2MB to every image which hase shared-mime-info.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agobusybox: add grep to temporary links during uninstall
Paul Eggleton [Wed, 9 Nov 2011 11:33:41 +0000 (11:33 +0000)]
busybox: add grep to temporary links during uninstall

In the busybox package prerm we set up some temporary links and modify
PATH so that certain utilities are provided for the purpose of running
update-alternatives; if grep is not among these then you get errors when
removing busybox, so add a temporary link for grep as well.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoclasses/package_rpm: disable uninstall scripts for upgrades
Paul Eggleton [Wed, 9 Nov 2011 11:12:08 +0000 (11:12 +0000)]
classes/package_rpm: disable uninstall scripts for upgrades

Our current assumption (based on the behaviour of opkg) when writing
recipes is that prerm and postrm do not get called during an upgrade.
When using rpm however, these are mapped to the rpm "preun" and "postun"
events which occur after postinst for upgrades, and when these contain
removal type operations (such as update-alternatives --remove) this
causes problems.

This patch wraps each preun and postun script for rpm in a check that
determines whether or not the script is being called during an upgrade,
and skips the entire script if it is, which mimics the behaviour of opkg
under the same conditions.

Fixes [YOCTO #1760]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agopython: skip setup.py 'import check' when cross-compiling
Tom Zanussi [Sat, 5 Nov 2011 01:25:03 +0000 (20:25 -0500)]
python: skip setup.py 'import check' when cross-compiling

build_extension() in setup.py, as part of the build process, does an
'import check' on the built extension.  The import check in turn
dlopen()'s the shared library associated with the extension, which
isn't something that makes sense if that library was cross-compiled
for a different architecture.

This was noticed with an x86_64 target that was compiled with avx
support, because it caused 'illegal instruction' exceptions:

| /bin/sh: line 1: 14575 Illegal instruction ... -E ./setup.py -q build

For other target architectures, it doesn't necessarily cause illegal
instruction exceptions, but still fails.  For example, on arm, the
failure pathway causes this warning:

*** WARNING: renaming "cmath" since importing it failed: .../cmath.so:
    wrong ELF class: ELFCLASS32

This patch to setup.py and the associated recipe changes allow the
whole 'import check' logic to be skipped when cross-compiling.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agolibzypp: fix mishandling of hyphenated arches
Tom Zanussi [Wed, 2 Nov 2011 03:47:53 +0000 (22:47 -0500)]
libzypp: fix mishandling of hyphenated arches

Several hyphen-to-underscore translations were missing, causing
compiler errors trying to build arches with hyphens in their names.
This adds the missing translations.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agogmp_5.0.2: Set CC_FOR_BUILD to BUILD_CC
Tom Zanussi [Wed, 2 Nov 2011 03:25:58 +0000 (22:25 -0500)]
gmp_5.0.2: Set CC_FOR_BUILD to BUILD_CC

CC_FOR_BUILD was compiling the test programs using the target's
compile options and executing those on the host, causing errors such
as:

/bin/sh: line 1: 15032 Illegal instruction     ./gen-bases table 64 0 > mpn/mp_bases.c
/bin/sh: line 1: 15033 Illegal instruction     ./gen-bases header 64 0 > mp_bases.h

Export CC_FOR_BUILD using BUILD_CC to fix the problem.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 years agoAdd new IMAGE_CLASSES variable for classes for image generation
Matthew McClintock [Mon, 7 Nov 2011 19:20:04 +0000 (13:20 -0600)]
Add new IMAGE_CLASSES variable for classes for image generation

Allows us to import classes only for images and not to the global
namespace

Signed-off-by: Matthew McClintock <msm@freescale.com>
13 years agodistro_tracking_fields.inc: Modify the status of qmmp
Xiaofeng Yan [Mon, 7 Nov 2011 11:22:50 +0000 (19:22 +0800)]
distro_tracking_fields.inc: Modify the status of qmmp

update qmmp to 0.5.2

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agoqmmp: update to 0.5.2
Xiaofeng Yan [Mon, 7 Nov 2011 11:19:54 +0000 (19:19 +0800)]
qmmp: update to 0.5.2

qmmp: remove old recipe and add new recipe

Use do_split_package for each grouping and name them correctly besides updating package.
The format to name plugins of qmmp:
qmmp-plugin-<group>-<library>   with the Description: Qmmp<Group>  plugin for %s"

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Fix dESCRIPTION -> DESCRIPTION

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agodistro_tracking_fields.inc: update to libarchive to 2.8.5
Xiaofeng Yan [Mon, 7 Nov 2011 12:07:01 +0000 (20:07 +0800)]
distro_tracking_fields.inc: update to libarchive to 2.8.5

Change the status of libarchive.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agolibarchive: update to 2.8.5
Xiaofeng Yan [Mon, 7 Nov 2011 12:03:53 +0000 (20:03 +0800)]
libarchive: update to 2.8.5

Remove patch "0003-Patch-from-upstream-rev-2516.patch" because it has been merged
to source codes.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agodhcp: move server configuration to dhcp-server-config
Otavio Salvador [Fri, 4 Nov 2011 18:18:21 +0000 (18:18 +0000)]
dhcp: move server configuration to dhcp-server-config

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agodhcp: rename dhcp4.inc to dhcp.inc
Otavio Salvador [Fri, 4 Nov 2011 17:44:02 +0000 (17:44 +0000)]
dhcp: rename dhcp4.inc to dhcp.inc

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agodhcp: drop unused dhcp3.inc file
Otavio Salvador [Fri, 4 Nov 2011 17:43:05 +0000 (17:43 +0000)]
dhcp: drop unused dhcp3.inc file

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agofiles/device_table-minimal.txt: add /dev/kmsg
Otavio Salvador [Fri, 4 Nov 2011 16:48:59 +0000 (16:48 +0000)]
files/device_table-minimal.txt: add /dev/kmsg

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agolibcap: fix sstate for native package
Otavio Salvador [Wed, 2 Nov 2011 18:41:11 +0000 (18:41 +0000)]
libcap: fix sstate for native package

The 'lib' option needs to be given on target and native builds
otherwise it installs the binaries at ${libdir}64 when host is 64bit.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agopseudo: Uprev pseudo to version 1.2
Mark Hatle [Wed, 2 Nov 2011 20:23:59 +0000 (15:23 -0500)]
pseudo: Uprev pseudo to version 1.2

This adds a new feature, PSEUDO_UNLOAD, which can be used to eliminate
overhead of LD_PRELOAD when no longer necessary.

Also the, clone(2), support on Linux has been updated to resolve some
potential defects in the previous implementation.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13 years agoclutter-gst: fix patch filename
Joshua Lock [Tue, 8 Nov 2011 17:10:22 +0000 (09:10 -0800)]
clutter-gst: fix patch filename

Munged the patch filename somehow. Apologies for the noise.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agouseradd.bbclass: handle nativesdk case
Eric Bénard [Tue, 8 Nov 2011 15:46:38 +0000 (16:46 +0100)]
useradd.bbclass: handle nativesdk case

* without this patch, building dbus-nativesdk leads to a missing
dependency on 'base-passwd-nativesdk'
This was added by commit 46e6c3fa8034b12d178d605f3f5d7efe69671a13
* this patch handle the nativesdk case in the class useradd
* close bug 1702 http://bugzilla.pokylinux.org/show_bug.cgi?id=1702
* v2 from Scott Garman with Richard Purdie's tricks

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib: Drop MULTILIB_IMAGE_INSTALL
Dongxiao Xu [Tue, 8 Nov 2011 06:19:37 +0000 (14:19 +0800)]
multilib: Drop MULTILIB_IMAGE_INSTALL

There should just be a single IMAGE_INSTALL variable. If the package
backends need this split into different multilib components they should
be responsible for doing this, not the user.

This commit removes the MULTILIB_IMAGE_INSTALL variable.

[YOCTO #1564]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocontacts: fix packaging of icons
Joshua Lock [Fri, 4 Nov 2011 21:42:51 +0000 (14:42 -0700)]
contacts: fix packaging of icons

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agopulseaudio: make X11 dependencies optional and add gtk+
Joshua Lock [Fri, 4 Nov 2011 21:41:24 +0000 (14:41 -0700)]
pulseaudio: make X11 dependencies optional and add gtk+

Use the x11 distro feature to determine whether --with-x should be
passed. Further, if we're using X11 add gtk+ to DEPENDS (it's required
to build).

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agoconnman: split scripts into separate package
Joshua Lock [Fri, 4 Nov 2011 01:40:21 +0000 (18:40 -0700)]
connman: split scripts into separate package

The connman scripts are useless without a Python interpreter so split
them into a separate package and add Python to its RDEPENDS.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agogypsy: fix packaging
Joshua Lock [Thu, 3 Nov 2011 01:34:31 +0000 (18:34 -0700)]
gypsy: fix packaging

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agolibcanberra: add libvorbis to DEPENDS
Joshua Lock [Wed, 2 Nov 2011 18:39:23 +0000 (11:39 -0700)]
libcanberra: add libvorbis to DEPENDS

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agomx: add mx toolkit 1.3.2
Joshua Lock [Tue, 1 Nov 2011 21:38:07 +0000 (14:38 -0700)]
mx: add mx toolkit 1.3.2

A widget toolkit built on Clutter

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agoclutter-gtk-1.8: add clutter-gtk 0.11.4
Joshua Lock [Tue, 1 Nov 2011 21:30:46 +0000 (14:30 -0700)]
clutter-gtk-1.8: add clutter-gtk 0.11.4

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agoclutter-gst-1.8: add 1.4.2 for use with clutter 1.8
Joshua Lock [Tue, 1 Nov 2011 21:29:55 +0000 (14:29 -0700)]
clutter-gst-1.8: add 1.4.2 for use with clutter 1.8

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agoclutter-1.8: add 1.8.0
Joshua Lock [Tue, 1 Nov 2011 21:28:02 +0000 (14:28 -0700)]
clutter-1.8: add 1.8.0

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agocogl: add cogl 1.8.0 recipe
Joshua Lock [Tue, 1 Nov 2011 21:27:06 +0000 (14:27 -0700)]
cogl: add cogl 1.8.0 recipe

Cogl has been split into a separate recipe as of the clutter-1.8 series

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agodbus: fix install for virtclass-nativesdk
Eric Bénard [Tue, 8 Nov 2011 08:41:48 +0000 (09:41 +0100)]
dbus: fix install for virtclass-nativesdk

46e6c3fa8034b12d178d605f3f5d7efe69671a13 changed do_install
which now fails for nativesdk (chown messagebus leads to no
such user)
* tested by building meta-toolchain-qte and running the generated
sdk

Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agouseradd.bbclass: fix how RDEPENDS is setup
Scott Garman [Sun, 6 Nov 2011 19:22:35 +0000 (11:22 -0800)]
useradd.bbclass: fix how RDEPENDS is setup

Fix bug where only packages named PN included base-passwd in
RDEPENDS.

This fixes [YOCTO #1727]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agolighttpd 1.4.29: rename index.html to avoid clashes with DL_DIR
Koen Kooi [Fri, 4 Nov 2011 14:26:53 +0000 (15:26 +0100)]
lighttpd 1.4.29: rename index.html to avoid clashes with DL_DIR

As Martin Jansa pointed out before, bitbake will silently peek in DL_DIR before FILESPATH and use files from there if found.

The failure mode for lighttpd involves a 404 redirect placing index.html into DL_DIR, which will end up in the lighttpd packages. In my specific case iproute2 hit the linuxfoundation 404 redirect so lighttpd.ipk now serves the linuxfoundation frontpage :)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agoqemugl: switch to new git repo
Paul Eggleton [Fri, 4 Nov 2011 16:35:12 +0000 (16:35 +0000)]
qemugl: switch to new git repo

The qemugl git repository is now on yoctoproject.org.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agocore-image-minimal-initramfs: force IMAGE_FSTYPES
Paul Eggleton [Fri, 4 Nov 2011 11:54:43 +0000 (11:54 +0000)]
core-image-minimal-initramfs: force IMAGE_FSTYPES

If the user has set their own value for IMAGE_FSTYPES, they may have
disabled the cpio.gz image type, preventing the initramfs from being
produced in the format that image-live.bbclass expects; so force
IMAGE_FSTYPES to cpio.gz within the initramfs image recipe.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Prepend cpio.gz instead

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoallarch.bbclass: disable shlib and debug symbol processing
Paul Eggleton [Fri, 14 Oct 2011 11:17:32 +0000 (12:17 +0100)]
allarch.bbclass: disable shlib and debug symbol processing

all-arch packages should not contain any binaries that need processing,
so disable the shared library dependency processing and debug symbol
splitting/stripping to save some time during packaging.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agofotowall: disable videocapture since we do not have a webcam
Saul Wold [Thu, 3 Nov 2011 21:26:06 +0000 (14:26 -0700)]
fotowall: disable videocapture since we do not have a webcam

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolinux-yocto_3.0: update base to v3.0.8 + meta config changes
Bruce Ashfield [Thu, 3 Nov 2011 04:33:03 +0000 (00:33 -0400)]
linux-yocto_3.0: update base to v3.0.8 + meta config changes

The board branches are updated to have v3.0.8 as their base kernel
revision, and the version in the recipe is updated to match.

This commit also updates the meta branch to pick up the following
4 commits:

  4095bb5 meta/common-pc-64: remove igb
  17565fa meta/crownbay: use power/intel feature
  8948937 meta/sugarbay: use power/intel feature
  fcbc8a9 meta: add power feature

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolibnl-2.0: add PE/PR bump for upgradable patch for meta-openembedded users
Martin Jansa [Thu, 3 Nov 2011 16:52:45 +0000 (17:52 +0100)]
libnl-2.0: add PE/PR bump for upgradable patch for meta-openembedded users

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agolibnl-2.0: split to more packages, as meta-openembedded does
Martin Jansa [Thu, 3 Nov 2011 16:52:44 +0000 (17:52 +0100)]
libnl-2.0: split to more packages, as meta-openembedded does

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agolibnl-2.0: add patch from meta-openembedded to fix pkg-config file
Martin Jansa [Thu, 3 Nov 2011 16:52:43 +0000 (17:52 +0100)]
libnl-2.0: add patch from meta-openembedded to fix pkg-config file

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agolibnl-2.0: move fix-pktloc_syntax_h-race.patch to libnl-2.0 subdirectory and merge...
Martin Jansa [Thu, 3 Nov 2011 16:52:42 +0000 (17:52 +0100)]
libnl-2.0: move fix-pktloc_syntax_h-race.patch to libnl-2.0 subdirectory and merge with fix-makefile.patch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agoiproute2: update to 3.0.0 to fix build with updated iptables
Koen Kooi [Thu, 3 Nov 2011 09:52:50 +0000 (10:52 +0100)]
iproute2: update to 3.0.0 to fix build with updated iptables

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agoconnman 0.75: bump PR for iptables library change
Koen Kooi [Thu, 3 Nov 2011 09:05:43 +0000 (10:05 +0100)]
connman 0.75: bump PR for iptables library change

connmand[180]: /usr/sbin/connmand: error while loading shared libraries: libxtables.so.5: cannot open shared object file: No such file or directory

$ dpkg-deb -c ipk/armv7a/iptables_1.4.12.1-r0_armv7a.ipk  | grep libxtables
-rwxr-xr-x root/root     35252 2011-11-01 20:16 ./usr/lib/libxtables.so.7.0.0
lrwxrwxrwx root/root         0 2011-11-01 20:16 ./usr/lib/libxtables.so.7 -> libxtables.so.7.0.0

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agopython: improve packaging
Martin Jansa [Wed, 2 Nov 2011 23:01:46 +0000 (00:01 +0100)]
python: improve packaging

* move 2to3 to separate package and include lib2to3 (was in python-misc)
* fix pattern for python-unittest (was in python-misc because it's in subdirectory now)
* add pydoc_data to python-pydoc (was in python-misc)
* add more stuff to smtpd, audio, codecs, ctypes, html, io, json, mime,
  pickle, stringold, xmlrpc
* move all FILES_ details from python recipe to manifest generator so it's in one place
* added manual line break in FILES_${PN}-core, because git send-email
  doesn't like too long lines
  $ git send-email -1 dfaae65839f0ab23e5b2ae2a68df0f370bca84d2
  fatal: /tmp/k8zbDajUNP/0001-python-improve-packaging.patch: 64: patch contains a line longer than 998 characters

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agodistro_tracking_fields: updates for sudo, mtools, grep, and openssh
Scott Garman [Wed, 2 Nov 2011 16:54:26 +0000 (09:54 -0700)]
distro_tracking_fields: updates for sudo, mtools, grep, and openssh

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agoimage_types bbclass: use 4k bytes per inode so we don't run out of space immediately
Koen Kooi [Wed, 2 Nov 2011 14:16:42 +0000 (15:16 +0100)]
image_types bbclass: use 4k bytes per inode so we don't run out of space immediately

genext2fs only creates the minimum number of inodes, after this patch it will scale with the rootfs size

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agolibcense.bbclass: fix OpenSSL mapping
Martin Jansa [Wed, 2 Nov 2011 12:26:40 +0000 (13:26 +0100)]
libcense.bbclass: fix OpenSSL mapping

[YOCTO #1712]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Fixed YOCTO bug format and location

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agotslib: fix the bug with loading libts-1.0.so
Dmitry Cherukhin [Wed, 2 Nov 2011 12:03:19 +0000 (13:03 +0100)]
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.

Signed-off-by: Dmitry Cherukhin <dima_ch@emcraft.com>