openembedded.git
14 years agopixman 0.21.2: updates
Koen Kooi [Sat, 4 Dec 2010 12:38:13 +0000 (13:38 +0100)]
pixman 0.21.2: updates

* add 12 more NEON patch
* add 1 C fast path
* 1 autofoo fix
* one copyright fix
* rediff existing patches

Signed-off-by: Koen Kooi <koen@openembedded.org>
14 years agoti-pru-sw-example: first addition of PRU sw examples recipe
Melissa Watkins [Thu, 2 Dec 2010 11:11:36 +0000 (05:11 -0600)]
ti-pru-sw-example: first addition of PRU sw examples recipe

* Add PRU sw examples recipe for the omapl138 machines

The ti-pru-sw-example recipe builds example codes that demonstrate use
of the AM180x-evm PRU, compiles the PRU binaries, and saves example
executables and binaries to the filesystem.  The examples included and
manual building instructions are outlined at:
http://processors.wiki.ti.com/index.php/PRU_Linux-based_Example_Code

Signed-off-by: Melissa Watkins <m-watkins@ti.com>
Signed-off-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Koen Kooi <k-kooi@ti.com>
14 years agoti-pru-sw-app-loader: first addition of PRU sw application loader recipe
Melissa Watkins [Thu, 2 Dec 2010 11:14:40 +0000 (05:14 -0600)]
ti-pru-sw-app-loader: first addition of PRU sw application loader recipe

* Add PRU sw application loader recipe for the omapl138 machines

This recipe builds the PRU application loader that is used to load a
binary to the PRU's memory and manage the code executed in the PRU from
the user space.  The library and include files from the application
loader are staged for use by the ti-pru-sw-examples recipe.  Details
about the application loader can be found at:
http://processors.wiki.ti.com/index.php/PRU_Linux_Application_Loader

Signed-off-by: Melissa Watkins <m-watkins@ti.com>
Signed-off-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Koen Kooi <k-kooi@ti.com>
14 years agoti-pru-sw-edma-library: first addition of PRU sw edma library
Melissa Watkins [Thu, 2 Dec 2010 11:16:06 +0000 (05:16 -0600)]
ti-pru-sw-edma-library: first addition of PRU sw edma library

* Add PRU sw edma library recipe for the omapl138 and am181x-evm machines

This recipe builds and stages the edma user space libraries for use by
the PRU sw. Because the edma APIs available by the kernel can only be
called by kernel drivers, similar user space APIs (provided through this
recipe) were needed. These libraries depend on a kernel module built by
the ti-pru-sw-edma-driver recipe.

Signed-off-by: Melissa Watkins <m-watkins@ti.com>
Signed-off-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Koen Kooi <k-kooi@ti.com>
14 years agoti-pru-sw-edma-driver: first addition of PRU sw edma driver
Melissa Watkins [Thu, 2 Dec 2010 11:17:00 +0000 (05:17 -0600)]
ti-pru-sw-edma-driver: first addition of PRU sw edma driver

* Add PRU sw edma driver recipe for the omapl138 and am181x-evm machines

This recipe builds and installs an edma driver module that supports the
edma user space libraries built by the ti-pru-sw-edma-library recipe.

Signed-off-by: Melissa Watkins <m-watkins@ti.com>
Signed-off-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Koen Kooi <k-kooi@ti.com>
14 years agolinux-davinci_git: Patch omapl138 kernel
Melissa Watkins [Thu, 2 Dec 2010 11:22:27 +0000 (05:22 -0600)]
linux-davinci_git: Patch omapl138 kernel

* Update the linux recipe for linux-davinci_git to patch kernel for
omapl138 machines
* Add uio_pruss kernel patches for omapl138  platform
* Bump the Kernel PR

Signed-off-by: Melissa Watkins <m-watkins@ti.com>
Signed-off-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Koen Kooi <k-kooi@ti.com>
14 years agolinux-davinci: enable UIO support in l138 defconfigs
Melissa Watkins [Thu, 2 Dec 2010 11:24:32 +0000 (05:24 -0600)]
linux-davinci: enable UIO support in l138 defconfigs

Signed-off-by: Melissa Watkins <m-watkins@ti.com>
Signed-off-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Koen Kooi <k-kooi@ti.com>
14 years agouclibc_git.bb: Bump SRCREV to latest git
Khem Raj [Sat, 4 Dec 2010 07:18:00 +0000 (23:18 -0800)]
uclibc_git.bb: Bump SRCREV to latest git

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agogcc-4.5: Apply linaro updates and upstream updates
Khem Raj [Sat, 4 Dec 2010 07:17:10 +0000 (23:17 -0800)]
gcc-4.5: Apply linaro updates and upstream updates

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoMerge remote branch 'origin/release-2010.12'
Khem Raj [Sat, 4 Dec 2010 03:42:03 +0000 (19:42 -0800)]
Merge remote branch 'origin/release-2010.12'

Conflicts:
conf/distro/include/kaeilos-2009-preferred-versions.inc
recipes/busybox/busybox-1.18.0/B921600.patch
recipes/busybox/busybox-1.18.0/defconfig
recipes/busybox/busybox-1.18.0/fdisk_nios2.patch
recipes/busybox/busybox-1.18.0/udhcpc-fix-nfsroot.patch
recipes/busybox/busybox-1.18.0/udhcpscript.patch
recipes/linux/linux_2.6.36.bb

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agogcc 4.3.3, 4.5: bump PR for gcc-package-target.inc fixes
Koen Kooi [Fri, 3 Dec 2010 21:32:51 +0000 (22:32 +0100)]
gcc 4.3.3, 4.5: bump PR for gcc-package-target.inc fixes

Signed-off-by: Koen Kooi <koen@openembedded.org>
14 years agogcc-package-target.inc: Fix the broken libgcc_s.so symlink
Khem Raj [Fri, 3 Dec 2010 20:05:34 +0000 (12:05 -0800)]
gcc-package-target.inc: Fix the broken libgcc_s.so symlink

Currently libgcc_s.so points to libgcc_s.so.1 in the same
<target>/usr/lib dir but this library is in /lib and target toolchain
fails. We package libgcc_so into gcc package and create the proper
symlink as it used to be

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoautomake_1.11.1.bb: Don't try to execute perl.
Graham Gower [Fri, 3 Dec 2010 00:53:50 +0000 (11:23 +1030)]
automake_1.11.1.bb: Don't try to execute perl.

checking for perl... (cached) /bin/perl
/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/automake-1.11.1-r3.1/automake-1.11.1/configure: line 2306: /bin/perl: No such file or directory
configure: error: perl 5.6 or better is required; perl 5.8.2 or better
is recommended.  If you have several perl versions
installed, select the one Automake should use using
  ./configure PERL=/path/to/perl

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoopenjade_1.3.2.bb: Create directory before installing a file to that location.
Graham Gower [Fri, 3 Dec 2010 04:11:41 +0000 (14:41 +1030)]
openjade_1.3.2.bb: Create directory before installing a file to that location.

Fixes a breakage I introduced in last openjade commit.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Michael Smith <msmith@cbnco.com>
14 years agobind: Fix for DISTRO=micro: s|/usr/bin|${bindir}|
Graham Gower [Fri, 3 Dec 2010 01:21:48 +0000 (11:51 +1030)]
bind: Fix for DISTRO=micro: s|/usr/bin|${bindir}|

This is a conservative change to fix micro. Bind needs more attention
as the latest in tree version is from 2008 and several vulnerabilities
have been found and fixed since then. If you are doing anything
except using bind as a resolver, please don't use these recipes.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Michael Smith <msmith@cbnco.com>
14 years agoeglibc: Move eglibc-static after eglibc-dev in order
Khem Raj [Fri, 3 Dec 2010 20:02:47 +0000 (12:02 -0800)]
eglibc: Move eglibc-static after eglibc-dev in order

With the current order *nonshared.a ends up in eglibc-static
which is not intended. The reorder will ensure that these files
go into -dev

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoautomake_1.11.1.bb: Don't try to execute perl.
Graham Gower [Fri, 3 Dec 2010 00:53:50 +0000 (11:23 +1030)]
automake_1.11.1.bb: Don't try to execute perl.

checking for perl... (cached) /bin/perl
/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/automake-1.11.1-r3.1/automake-1.11.1/configure: line 2306: /bin/perl: No such file or directory
configure: error: perl 5.6 or better is required; perl 5.8.2 or better
is recommended.  If you have several perl versions
installed, select the one Automake should use using
  ./configure PERL=/path/to/perl

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoopenjade_1.3.2.bb: Create directory before installing a file to that location.
Graham Gower [Fri, 3 Dec 2010 04:11:41 +0000 (14:41 +1030)]
openjade_1.3.2.bb: Create directory before installing a file to that location.

Fixes a breakage I introduced in last openjade commit.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Michael Smith <msmith@cbnco.com>
14 years agobind: Fix for DISTRO=micro: s|/usr/bin|${bindir}|
Graham Gower [Fri, 3 Dec 2010 01:21:48 +0000 (11:51 +1030)]
bind: Fix for DISTRO=micro: s|/usr/bin|${bindir}|

This is a conservative change to fix micro. Bind needs more attention
as the latest in tree version is from 2008 and several vulnerabilities
have been found and fixed since then. If you are doing anything
except using bind as a resolver, please don't use these recipes.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Michael Smith <msmith@cbnco.com>
14 years agogcc-package-target.inc: Fix the broken libgcc_s.so symlink
Khem Raj [Fri, 3 Dec 2010 20:05:34 +0000 (12:05 -0800)]
gcc-package-target.inc: Fix the broken libgcc_s.so symlink

Currently libgcc_s.so points to libgcc_s.so.1 in the same
<target>/usr/lib dir but this library is in /lib and target toolchain
fails. We package libgcc_so into gcc package and create the proper
symlink as it used to be

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agoeglibc: Move eglibc-static after eglibc-dev in order
Khem Raj [Fri, 3 Dec 2010 20:02:47 +0000 (12:02 -0800)]
eglibc: Move eglibc-static after eglibc-dev in order

With the current order *nonshared.a ends up in eglibc-static
which is not intended. The reorder will ensure that these files
go into -dev

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agobusybox-1.18.0: add latest fix
Eric Bénard [Fri, 3 Dec 2010 18:59:07 +0000 (19:59 +0100)]
busybox-1.18.0: add latest fix

libbb/pw_encrypt_sha: forgot to move &ctx to 1st param here in sha hash rework
http://git.busybox.net/busybox/commit/?id=5dcc6606cb6ef41e0e0b0f828f670cc61311a3f7

Signed-off-by: Eric Bénard <eric@eukrea.com>
14 years agouhd-firmware : fix bad path in require line.
Philip Balister [Fri, 3 Dec 2010 12:32:36 +0000 (07:32 -0500)]
uhd-firmware : fix bad path in require line.

14 years agouhd-firmware : Convert to inc file and update recipe.
Philip Balister [Fri, 3 Dec 2010 11:18:57 +0000 (06:18 -0500)]
uhd-firmware : Convert to inc file and update recipe.

Recipe can now easily be updates when new fpga images are released. Package
is arch all, since it the fpga firmware is not machine dependent in general.

14 years agogmpc/libmpd: update to 0.20.0
Frans Meulenbroeks [Thu, 2 Dec 2010 21:25:48 +0000 (22:25 +0100)]
gmpc/libmpd: update to 0.20.0

had a build error on 0.17.96, as that one was already quite
old, updated to the latest version (0.20.0)

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
14 years agonokia900.conf: remove SERIAL_CONSOLE because it's causing a respawning getty
Klaus Kurzmann [Thu, 2 Dec 2010 14:09:03 +0000 (15:09 +0100)]
nokia900.conf: remove SERIAL_CONSOLE because it's causing a respawning getty

Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
14 years agonokia900.conf: migrate to newer linux-nokia900 kernel and bump PR
Denis 'GNUtoo' Carikli [Sun, 21 Nov 2010 18:44:01 +0000 (19:44 +0100)]
nokia900.conf: migrate to newer linux-nokia900 kernel and bump PR

The new kernel is composed of the 2.6.28 kernel, last maemo PR 1.3
  patches, usb host patch,various other patches, and the necessary
  patches for booting from microsd and for compiling with gcc4.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Acked-by: Klaus Kurzmann <mok@fluxnetz.de>
14 years agonokia900.conf: MACHINE_EXTRA_RRECOMMENDS add needed kernel-modules
Martin Jansa [Thu, 2 Dec 2010 09:50:47 +0000 (10:50 +0100)]
nokia900.conf: MACHINE_EXTRA_RRECOMMENDS add needed kernel-modules

* list all which are loaded after boot (ie with udev)
* remove those which are handled by some task-base-* anyways (like g-ether, vfat etc)
* remove those which are in RDEPENDS of some already listed module here

Acked-by: Klaus Kurzmann <mok@fluxnetz.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agonokia900: build uImage instead of zImage
Martin Jansa [Thu, 2 Dec 2010 08:03:27 +0000 (09:03 +0100)]
nokia900: build uImage instead of zImage

* meego and debian on n900 are now using u-boot so we should too

Acked-by: Klaus Kurzmann <mok@fluxnetz.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agomodule-init-tools: fix multiple runtime providers
Martin Jansa [Wed, 1 Dec 2010 13:51:47 +0000 (14:51 +0100)]
module-init-tools: fix multiple runtime providers

* NOTE: multiple providers are available for runtime module-init-tools-depmod (module-init-tools, module-init-tools-cross)
  NOTE: consider defining a PREFERRED_PROVIDER entry to match module-init-tools-depmod

Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agokernel.bbclass: put bluez-dtl1-workaround to DEPENDS directly
Martin Jansa [Tue, 10 Aug 2010 19:37:29 +0000 (21:37 +0200)]
kernel.bbclass: put bluez-dtl1-workaround to DEPENDS directly

* DEPENDS_kernel-module-dtl1-cs aren't probably included in run queue
* RDEPENDS_kernel-module-dtl1-cs probably also doesn't put it to run queue,
  because kernel-module-* are created by
  PACKAGES_DYNAMIC += "kernel-module-*"
  so not even known before even building kernel, but does work ok in runtime
* bluez-dtl1-workaround is small and fast to build so won't hurt to
  build even when kernel doesn't have this bluez module enabled in
  defconfig

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agoutil-linux-ng.inc, e2fsprogs.inc: Use update-alternatives for uuidd.
Graham Gower [Thu, 2 Dec 2010 02:06:02 +0000 (12:36 +1030)]
util-linux-ng.inc, e2fsprogs.inc: Use update-alternatives for uuidd.

Util-linux-ng put uuidd in ${sbindir}, e2fsprogs put it in ${base_sbindir}.
This change puts both in ${base_sbindir}.

Fixes a conflict when DISTRO=micro.

| Collected errors:
|  * check_data_file_clashes: Package util-linux-ng wants to install file /mnt/oe/tmp/rootfs/native-sdk-image/sbin/uuidd
|       But that file is already provided by package  * e2fsprogs

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agofbset_2.1.bb: Use ${sbindir} and ${datadir} instead of hardcoding.
Graham Gower [Thu, 2 Dec 2010 00:56:26 +0000 (11:26 +1030)]
fbset_2.1.bb: Use ${sbindir} and ${datadir} instead of hardcoding.

This ensures that the fbset package is non-empty for DISTRO=micro.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoinetutils_1.8.bb: Fix build when DISTRO_FEATURES lacks ipv6.
Graham Gower [Thu, 2 Dec 2010 00:35:58 +0000 (11:05 +1030)]
inetutils_1.8.bb: Fix build when DISTRO_FEATURES lacks ipv6.

In file included from ./ping.h:19:0,
                 from ping_address.c:47:
./ping_common.h:23:27: fatal error: netinet/icmp6.h: No such file or directory
compilation terminated.
In file included from ./ping.h:19:0,
                 from ping_router.c:46:
./ping_common.h:23:27: fatal error: netinet/icmp6.h: No such file or directory
compilation terminated.
make[2]: *** [ping_address.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [ping_router.o] Error 1
In file included from ping_common.c:32:0:
ping_common.h:23:27: fatal error: netinet/icmp6.h: No such file or directory
compilation terminated.
make[2]: *** [ping_common.o] Error 1
In file included from ping.h:19:0,
                 from libping.c:38:
ping_common.h:23:27: fatal error: netinet/icmp6.h: No such file or directory
compilation terminated.
make[2]: *** [libping.o] Error 1
In file included from ./ping.h:19:0,
                 from ping_timestamp.c:46:
./ping_common.h:23:27: fatal error: netinet/icmp6.h: No such file or directory
compilation terminated.
make[2]: *** [ping_timestamp.o] Error 1
In file included from ./ping.h:19:0,
                 from ping_echo.c:47:
./ping_common.h:23:27: fatal error: netinet/icmp6.h: No such file or directory
compilation terminated.
make[2]: *** [ping_echo.o] Error 1
In file included from ./ping.h:19:0,
                 from ping.c:49:
./ping_common.h:23:27: fatal error: netinet/icmp6.h: No such file or directory
compilation terminated.
make[2]: *** [ping.o] Error 1

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoopenssl.inc: Use cp -L, busybox cp doesn't support the long option.
Graham Gower [Wed, 1 Dec 2010 03:18:11 +0000 (13:48 +1030)]
openssl.inc: Use cp -L, busybox cp doesn't support the long option.

Reported by andyzammy on IRC.

| oe_libinstall: cd /home/rofl/Desktop/oe/angstrom-setup-scripts/build/tmp-angstrom_2008_1/work/i686-linux/openssl-native-1.0.0b-r13.1/openssl-1.0.0b
| cp: unrecognized option '--dereference'
| BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu11) multi-call binary
|
| Usage: cp [OPTION]... SOURCE DEST
|
| Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY
|
| Options:
|  -a Same as -dpR
|  -d,-P Preserve links
|  -H,-L Dereference all symlinks (default)
|  -p Preserve file attributes if possible
|  -f Force overwrite
|  -i Prompt before overwrite
|  -R,-r Recurse directories
|  -l,-s Create (sym)links
|
| ERROR: Function do_install failed

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoe2fsprogs_1.41.9.bb: Fix build for uclibc when DISTRO_FEATURES lacks largefile.
Graham Gower [Wed, 1 Dec 2010 03:01:40 +0000 (13:31 +1030)]
e2fsprogs_1.41.9.bb: Fix build for uclibc when DISTRO_FEATURES lacks largefile.

CC llseek.c
llseek.c:65:22: error: expected declaration specifiers or '...' before '_llseek'
llseek.c:65:43: error: expected declaration specifiers or '...' before 'fd'
llseek.c:65:60: error: expected declaration specifiers or '...' before 'offset_high'
llseek.c:66:19: error: expected declaration specifiers or '...' before 'offset_low'
llseek.c:66:44: error: expected declaration specifiers or '...' before 'result'
llseek.c:67:18: error: expected declaration specifiers or '...' before 'origin'
llseek.c: In function '_syscall5':
llseek.c:71:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
llseek.c:91:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
llseek.c:65:1: error: parameter name omitted
llseek.c:65:22: error: parameter name omitted
llseek.c:65:43: error: parameter name omitted
llseek.c:66:4: error: parameter name omitted
llseek.c:66:19: error: parameter name omitted
llseek.c:67:4: error: parameter name omitted
llseek.c:114:1: error: expected '{' at end of input
make[2]: *** [llseek.o] Error 1

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoiputils_20071127.bb: Don't build ipv6 utils if DISTRO_FEATURES lacks ipv6.
Graham Gower [Wed, 1 Dec 2010 00:19:24 +0000 (10:49 +1030)]
iputils_20071127.bb: Don't build ipv6 utils if DISTRO_FEATURES lacks ipv6.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoprocps.inc: Fix do_install for DISTRO=micro.
Graham Gower [Tue, 30 Nov 2010 22:59:54 +0000 (09:29 +1030)]
procps.inc: Fix do_install for DISTRO=micro.

mv: cannot stat `/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/procps-3.2.8-r12.1/image/bin/uptime': No such file or directory

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agosyslog-ng.inc: Fix build when DISTRO_FEATURES lacks largefile and/or ipv6.
Graham Gower [Tue, 30 Nov 2010 06:36:57 +0000 (17:06 +1030)]
syslog-ng.inc: Fix build when DISTRO_FEATURES lacks largefile and/or ipv6.

In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/limits.h:27:0,
                 from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/lib/glib-2.0/include/glibconfig.h:11,
                 from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/glib-2.0/glib/gtypes.h:34,
                 from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/glib-2.0/glib/galloca.h:34,
                 from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/glib-2.0/glib.h:32,
                 from syslog-ng.h:37,
                 from misc.h:27,
                 from misc.c:24:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/features.h:216:5: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.

| afinet.c: In function 'afinet_setup_socket':
| afinet.c:205:42: error: 'IPV6_JOIN_GROUP' undeclared (first use in this function)
| afinet.c:205:42: note: each undeclared identifier is reported only once for each function it appears in
| afinet.c:206:42: error: 'IPV6_MULTICAST_LOOP' undeclared (first use in this function)
| afinet.c:211:44: error: 'IPV6_MULTICAST_HOPS' undeclared (first use in this function)
| afinet.c:217:40: error: 'IPV6_UNICAST_HOPS' undeclared (first use in this function)
| afinet.c: In function 'afinet_dd_construct_ipv6_packet':
| afinet.c:448:36: warning: dereferencing type-punned pointer will break strict-aliasing rules
| afinet.c:449:36: warning: dereferencing type-punned pointer will break strict-aliasing rules

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoopenjade_1.3.2.bb: Install catalog with the correct path.
Graham Gower [Tue, 30 Nov 2010 06:24:52 +0000 (16:54 +1030)]
openjade_1.3.2.bb: Install catalog with the correct path.

Openjade was doing the following:
install-catalog: addition of /mnt/oe/tmp/work/x86_64-linux/openjade-native-1.3.2-r4/image/mnt/oe/tmp/sysroots/x86_64-linux/share/sgml/openjade-1.3.2/catalog in /mnt/oe/tmp/sysroots/x86_64-linux/etc/sgml/openjade-1.3.2.cat

Which was causing lengthy errors like this one:
http://tinderbox.openembedded.org/packages/1149296/

Now I get:
install-catalog: addition of /mnt/oe/tmp/sysroots/x86_64-linux/share/sgml/openjade-1.3.2/catalog in /mnt/oe/tmp/sysroots/x86_64-linux/etc/sgml/openjade-1.3.2.cat

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoperl_5.8.8.bb, perl_5.10.1.bb: Fix build when DISTRO_FEATURES lacks largefile.
Graham Gower [Tue, 30 Nov 2010 04:53:42 +0000 (15:23 +1030)]
perl_5.8.8.bb, perl_5.10.1.bb: Fix build when DISTRO_FEATURES lacks largefile.

CCCMD =  mipsel-oe-linux-uclibc-gcc -march=mips32 -DPERL_CORE -c -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2  -Wall
In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/sys/types.h:27:0,
                 from perl.h:420,
                 from miniperlmain.c:36:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/features.h:216:5: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoopenssl.inc: Fix build when DISTRO_FEATURES lacks largefile and/or ipv6.
Graham Gower [Tue, 30 Nov 2010 03:25:16 +0000 (13:55 +1030)]
openssl.inc: Fix build when DISTRO_FEATURES lacks largefile and/or ipv6.

mipsel-oe-linux-uclibc-gcc -march=mips32 -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN  -DTERMIO -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -Wall -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include  -c -o bss_file.o bss_file.c
In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:28:0,
                 from bss_file.c:86:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/features.h:216:5: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.
In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:72:0,
                 from bss_file.c:86:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/bits/uClibc_stdio.h:61:2: error: #error Sorry... uClibc was built without large file support!
In file included from bss_file.c:86:0:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:83:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fpos_t'
In file included from bss_file.c:86:0:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:719:12: error: expected declaration specifiers or '...' before 'fpos_t'
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:721:12: error: expected ';', ',' or ')' before '*' token
make[2]: *** [bss_file.o] Error 1

mipsel-oe-linux-uclibc-gcc -march=mips32 -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN  -DTERMIO -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -Wall -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include  -c -o bss_dgram.o bss_dgram.c
bss_dgram.c: In function 'dgram_ctrl':
bss_dgram.c:433:18: error: 'IPV6_PMTUDISC_DO' undeclared (first use in this function)
bss_dgram.c:433:18: note: each undeclared identifier is reported only once for each function it appears in
bss_dgram.c:434:48: error: 'IPV6_MTU_DISCOVER' undeclared (first use in this function)
bss_dgram.c:474:48: error: 'IPV6_MTU' undeclared (first use in this function)
make[2]: *** [bss_dgram.o] Error 1

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoalsa-utils_1.0.20.bb: Fix build when DISTRO_FEATURES lacks largefile.
Graham Gower [Tue, 30 Nov 2010 01:32:24 +0000 (12:02 +1030)]
alsa-utils_1.0.20.bb: Fix build when DISTRO_FEATURES lacks largefile.

mipsel-oe-linux-uclibc-gcc -march=mips32 -DHAVE_CONFIG_H -I. -I../include -I../include  -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include  -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -MT aplay.o -MD -MP -MF .deps/aplay.Tpo -c -o aplay.o aplay.c
aplay.c:116:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pbrec_count'
aplay.c: In function 'test_wavefile':
aplay.c:877:14: error: 'pbrec_count' undeclared (first use in this function)
aplay.c:877:14: note: each undeclared identifier is reported only once for each function it appears in
aplay.c: In function 'test_au':
aplay.c:908:2: error: 'pbrec_count' undeclared (first use in this function)
aplay.c: In function 'voc_play':
aplay.c:1751:2: error: 'off64_t' undeclared (first use in this function)
aplay.c:1751:10: error: expected ';' before 'filepos'
aplay.c:1881:9: error: 'filepos' undeclared (first use in this function)
aplay.c: At top level:
aplay.c:1968:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'calc_count'
aplay.c: In function 'end_voc':
aplay.c:2137:2: error: 'off64_t' undeclared (first use in this function)
aplay.c:2137:10: error: expected ';' before 'length_seek'
aplay.c:2146:2: error: 'length_seek' undeclared (first use in this function)
aplay.c:2150:8: error: 'fdcount' undeclared (first use in this function)
aplay.c: In function 'end_wave':
aplay.c:2166:2: error: 'off64_t' undeclared (first use in this function)
aplay.c:2166:10: error: expected ';' before 'length_seek'
aplay.c:2167:10: error: expected ';' before 'filelen'
aplay.c:2170:2: error: 'length_seek' undeclared (first use in this function)
aplay.c:2174:14: error: 'fdcount' undeclared (first use in this function)
aplay.c:2175:2: error: 'filelen' undeclared (first use in this function)
aplay.c: In function 'end_au':
aplay.c:2188:2: error: 'off64_t' undeclared (first use in this function)
aplay.c:2188:10: error: expected ';' before 'length_seek'
aplay.c:2190:2: error: 'length_seek' undeclared (first use in this function)
aplay.c:2191:17: error: 'fdcount' undeclared (first use in this function)
aplay.c: At top level:
aplay.c:2221:48: error: expected declaration specifiers or '...' before 'off64_t'
aplay.c: In function 'playback_go':
aplay.c:2224:2: error: 'off64_t' undeclared (first use in this function)
aplay.c:2224:10: error: expected ';' before 'written'
aplay.c:2225:10: error: expected ';' before 'c'
aplay.c:2230:33: error: 'written' undeclared (first use in this function)
aplay.c:2230:43: error: 'count' undeclared (first use in this function)
aplay.c:2242:4: error: 'c' undeclared (first use in this function)
aplay.c:2254:4: error: 'fdcount' undeclared (first use in this function)
aplay.c: In function 'playback':
aplay.c:2283:2: error: 'pbrec_count' undeclared (first use in this function)
aplay.c:2284:2: error: 'fdcount' undeclared (first use in this function)
aplay.c:2303:3: warning: passing argument 4 of 'playback_go' makes pointer from integer without a cast
aplay.c:2221:13: note: expected 'char *' but argument is of type 'int'
aplay.c:2303:3: error: too many arguments to function 'playback_go'
aplay.c:2221:13: note: declared here
aplay.c:2320:3: warning: passing argument 4 of 'playback_go' makes pointer from integer without a cast
aplay.c:2221:13: note: expected 'char *' but argument is of type 'int'
aplay.c:2320:3: error: too many arguments to function 'playback_go'
aplay.c:2221:13: note: declared here
aplay.c:2325:3: error: too many arguments to function 'playback_go'
aplay.c:2221:13: note: declared here
aplay.c: In function 'capture':
aplay.c:2376:2: error: 'off64_t' undeclared (first use in this function)
aplay.c:2376:10: error: expected ';' before 'count'
aplay.c:2379:2: error: 'count' undeclared (first use in this function)
aplay.c:2424:3: error: 'rest' undeclared (first use in this function)
aplay.c:2433:3: error: 'fdcount' undeclared (first use in this function)
aplay.c:2435:33: error: expected ')' before 'chunk_bytes'
aplay.c: At top level:
aplay.c:2461:74: error: expected declaration specifiers or '...' before 'off64_t'
aplay.c: In function 'playbackv_go':
aplay.c:2480:9: error: 'count' undeclared (first use in this function)
aplay.c: At top level:
aplay.c:2513:58: error: expected declaration specifiers or '...' before 'off64_t'
aplay.c: In function 'capturev_go':
aplay.c:2529:9: error: 'count' undeclared (first use in this function)
aplay.c:2546:3: error: 'fdcount' undeclared (first use in this function)
aplay.c: In function 'playbackv':
aplay.c:2587:2: error: 'pbrec_count' undeclared (first use in this function)
aplay.c:2588:2: error: too many arguments to function 'playbackv_go'
aplay.c:2461:13: note: declared here
aplay.c: In function 'capturev':
aplay.c:2640:2: error: 'pbrec_count' undeclared (first use in this function)
aplay.c:2641:2: error: too many arguments to function 'capturev_go'
aplay.c:2513:13: note: declared here
make[1]: *** [aplay.o] Error 1

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agox264_r2245.bb: Fix build when DISTRO_FEATURES lacks "largefile".
Graham Gower [Tue, 30 Nov 2010 01:11:30 +0000 (11:41 +1030)]
x264_r2245.bb: Fix build when DISTRO_FEATURES lacks "largefile".

mipsel-oe-linux-uclibc-gcc -march=mips32 -O3 -ffast-math -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -Wall -I. -fPIC -std=gnu99 -s -fomit-frame-pointer -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include  -c -o common/mc.o common/mc.c
In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:28:0,
                 from common/osdep.h:29,
                 from common/common.h:76,
                 from common/mc.c:24:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/features.h:216:5: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agosqlite3.inc: Fix build when DISTRO_FEATURES lacks "largefile".
Graham Gower [Tue, 30 Nov 2010 01:10:59 +0000 (11:40 +1030)]
sqlite3.inc: Fix build when DISTRO_FEATURES lacks "largefile".

The --disable-largefile configure parameter does nothing.

/bin/sh ./mipsel-oe-linux-uclibc-libtool --mode=compile --tag=CC mipsel-oe-linux-uclibc-gcc -march=mips32  -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include  -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG   -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1   -DSQLITE_TEMP_STORE=1 -c sqlite3.c
mipsel-oe-linux-uclibc-libtool: compile:  mipsel-oe-linux-uclibc-gcc -march=mips32 -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_TEMP_STORE=1 -c sqlite3.c  -fPIC -DPIC -o .libs/sqlite3.o
In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdint.h:26:0,
                 from sqlite3.c:304:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/features.h:216:5: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.
In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:72:0,
                 from sqlite3.c:6522:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/bits/uClibc_stdio.h:61:2: error: #error Sorry... uClibc was built without large file support!
In file included from sqlite3.c:6522:0:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:83:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fpos_t'
In file included from sqlite3.c:6522:0:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:719:12: error: expected declaration specifiers or '...' before 'fpos_t'
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:721:12: error: expected ';', ',' or ')' before '*' token
make: *** [sqlite3.lo] Error 1

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agognome-vfs_2.24.1.bb: Fix build when DISTRO_FEATURES lacks "largefile".
Graham Gower [Tue, 30 Nov 2010 01:10:30 +0000 (11:40 +1030)]
gnome-vfs_2.24.1.bb: Fix build when DISTRO_FEATURES lacks "largefile".

mipsel-oe-linux-uclibc-libtool: compile:  mipsel-oe-linux-uclibc-gcc -march=mips32 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -pthread -DORBIT2=1 -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/glib-2.0 -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/lib/glib-2.0/include -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/gconf/2 -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/orbit-2.0 -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/dbus-1.0 -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/lib/dbus-1.0/include -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/libxml2 -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -D_REENTRANT -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/glib-2.0 -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/lib/glib-2.0/include -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/glib-2.0 -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/lib/glib-2.0/include -DXDG_PREFIX
=_gnome_vfs_xdg -DDBUS_API_SUBJECT_TO_CHANGE -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DG_DISABLE_DEPRECATED -DGNOME_VFS_PREFIX=\"\" -DGNOME_VFS_BINDIR=\"/bin\" -DGNOME_VFS_DATADIR=\"/share\" -DGNOME_VFS_LIBDIR=\"/lib\" -DGNOME_VFS_LOCALEDIR=\"/share/locale\" -DGNOME_VFS_SYSCONFDIR=\"/etc\" -DG_LOG_DOMAIN=\"libgnomevfs\" -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -MT gnome-vfs-ace.lo -MD -MP -MF .deps/gnome-vfs-ace.Tpo -c gnome-vfs-ace.c  -fPIC -DPIC -o .libs/gnome-vfs-ace.o
In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/limits.h:27:0,
                 from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/lib/glib-2.0/include/glibconfig.h:11,
                 from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/glib-2.0/glib/gtypes.h:34,
                 from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/glib-2.0/glib/galloca.h:34,
                 from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/glib-2.0/glib.h:32,
                 from gnome-vfs-ace.h:28,
                 from gnome-vfs-ace.c:26:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/features.h:216:5: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoavahi_0.6.25.bb: Fix build when DISTRO_FEATURES lacks ipv6.
Graham Gower [Tue, 30 Nov 2010 01:10:00 +0000 (11:40 +1030)]
avahi_0.6.25.bb: Fix build when DISTRO_FEATURES lacks ipv6.

socket.c: In function 'avahi_mdns_mcast_join_ipv6':
socket.c:159:38: error: 'IPV6_DROP_MEMBERSHIP' undeclared (first use in this function)
socket.c:159:38: note: each undeclared identifier is reported only once for each function it appears in
socket.c:161:45: error: 'IPV6_ADD_MEMBERSHIP' undeclared (first use in this function)
socket.c: In function 'ipv6_pktinfo':
socket.c:273:9: warning: unused variable 'yes'
socket.c:272:29: warning: unused parameter 'fd'
socket.c: In function 'avahi_open_socket_ipv6':
socket.c:387:38: error: 'IPV6_MULTICAST_HOPS' undeclared (first use in this function)
socket.c:393:38: error: 'IPV6_UNICAST_HOPS' undeclared (first use in this function)
socket.c:399:38: error: 'IPV6_V6ONLY' undeclared (first use in this function)
socket.c:405:38: error: 'IPV6_MULTICAST_LOOP' undeclared (first use in this function)
cache.c: In function 'avahi_cache_start_poof':
cache.c:494:5: warning: cast discards qualifiers from pointer target type
socket.c: In function 'avahi_send_dns_packet_ipv4':
socket.c:524:16: warning: cast increases required alignment of target type
socket.c: In function 'avahi_send_dns_packet_ipv6':
socket.c:575:23: error: invalid application of 'sizeof' to incomplete type 'struct in6_pktinfo'
socket.c:603:30: error: invalid application of 'sizeof' to incomplete type 'struct in6_pktinfo'
socket.c:608:27: error: 'IPV6_PKTINFO' undeclared (first use in this function)
socket.c:613:17: error: dereferencing pointer to incomplete type
socket.c:616:25: error: dereferencing pointer to incomplete type
socket.c: In function 'avahi_recv_dns_packet_ipv4':
socket.c:716:48: warning: cast increases required alignment of target type
socket.c:716:25: warning: dereferencing type-punned pointer will break strict-aliasing rules
socket.c:722:44: warning: cast increases required alignment of target type
socket.c: In function 'avahi_recv_dns_packet_ipv6':
socket.c:855:22: error: 'IPV6_HOPLIMIT' undeclared (first use in this function)
socket.c:858:48: warning: cast increases required alignment of target type
socket.c:858:25: warning: dereferencing type-punned pointer will break strict-aliasing rules
socket.c:864:22: error: 'IPV6_PKTINFO' undeclared (first use in this function)
socket.c:868:39: error: dereferencing pointer to incomplete type
socket.c:871:59: error: dereferencing pointer to incomplete type
socket.c: In function 'avahi_open_unicast_socket_ipv6':
socket.c:946:38: error: 'IPV6_V6ONLY' undeclared (first use in this function)
make[2]: *** [libavahi_core_la-socket.lo] Error 1

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoalsa-state: Fix stereo configuration asound state for bug20
Stefan Schmidt [Thu, 2 Dec 2010 13:14:30 +0000 (14:14 +0100)]
alsa-state: Fix stereo configuration asound state for bug20

14 years agohostap-daemon: Respect LDFLAGS for GNU_HASH
Stefan Schmidt [Thu, 11 Nov 2010 13:55:02 +0000 (14:55 +0100)]
hostap-daemon: Respect LDFLAGS for GNU_HASH

14 years agoklibc: bump PR to force rebuild after mipsel fix
Yuri Bushmelev [Tue, 30 Nov 2010 22:32:26 +0000 (01:32 +0300)]
klibc: bump PR to force rebuild after mipsel fix

14 years agokexec-tools-klibc: switch to using klibc's staged includes
Yuri Bushmelev [Tue, 30 Nov 2010 22:14:06 +0000 (01:14 +0300)]
kexec-tools-klibc: switch to using klibc's staged includes

kexec-tools-klibc is switched to use klibc's includes instead of having
patch with own. This will fix building for mipsel as well.
NOTE: now kexec-tools-klibc is just using 'klibc/include[/bits32]' dirs
to look for includes. This should be made more configurable.

14 years agoklibc: fix linking for mipsel
Yuri Bushmelev [Tue, 30 Nov 2010 20:06:34 +0000 (23:06 +0300)]
klibc: fix linking for mipsel

Disable inclusion of <asm/kexec.h>. This header have function (at least
on mipsel) which breaks klibc's syscalls parser and lead to klibc
linking failure.

14 years agophp: add iconv support
Frans Meulenbroeks [Wed, 1 Dec 2010 22:12:21 +0000 (23:12 +0100)]
php: add iconv support

- fixed recipe (needed the path)
- added two patches to auto stuff
(these have also reported upstream)

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
14 years agoutil-linux-ng.inc, e2fsprogs.inc: Use update-alternatives for uuidd.
Graham Gower [Thu, 2 Dec 2010 02:06:02 +0000 (12:36 +1030)]
util-linux-ng.inc, e2fsprogs.inc: Use update-alternatives for uuidd.

Util-linux-ng put uuidd in ${sbindir}, e2fsprogs put it in ${base_sbindir}.
This change puts both in ${base_sbindir}.

Fixes a conflict when DISTRO=micro.

| Collected errors:
|  * check_data_file_clashes: Package util-linux-ng wants to install file /mnt/oe/tmp/rootfs/native-sdk-image/sbin/uuidd
|       But that file is already provided by package  * e2fsprogs

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agofbset_2.1.bb: Use ${sbindir} and ${datadir} instead of hardcoding.
Graham Gower [Thu, 2 Dec 2010 00:56:26 +0000 (11:26 +1030)]
fbset_2.1.bb: Use ${sbindir} and ${datadir} instead of hardcoding.

This ensures that the fbset package is non-empty for DISTRO=micro.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoinetutils_1.8.bb: Fix build when DISTRO_FEATURES lacks ipv6.
Graham Gower [Thu, 2 Dec 2010 00:35:58 +0000 (11:05 +1030)]
inetutils_1.8.bb: Fix build when DISTRO_FEATURES lacks ipv6.

In file included from ./ping.h:19:0,
                 from ping_address.c:47:
./ping_common.h:23:27: fatal error: netinet/icmp6.h: No such file or directory
compilation terminated.
In file included from ./ping.h:19:0,
                 from ping_router.c:46:
./ping_common.h:23:27: fatal error: netinet/icmp6.h: No such file or directory
compilation terminated.
make[2]: *** [ping_address.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [ping_router.o] Error 1
In file included from ping_common.c:32:0:
ping_common.h:23:27: fatal error: netinet/icmp6.h: No such file or directory
compilation terminated.
make[2]: *** [ping_common.o] Error 1
In file included from ping.h:19:0,
                 from libping.c:38:
ping_common.h:23:27: fatal error: netinet/icmp6.h: No such file or directory
compilation terminated.
make[2]: *** [libping.o] Error 1
In file included from ./ping.h:19:0,
                 from ping_timestamp.c:46:
./ping_common.h:23:27: fatal error: netinet/icmp6.h: No such file or directory
compilation terminated.
make[2]: *** [ping_timestamp.o] Error 1
In file included from ./ping.h:19:0,
                 from ping_echo.c:47:
./ping_common.h:23:27: fatal error: netinet/icmp6.h: No such file or directory
compilation terminated.
make[2]: *** [ping_echo.o] Error 1
In file included from ./ping.h:19:0,
                 from ping.c:49:
./ping_common.h:23:27: fatal error: netinet/icmp6.h: No such file or directory
compilation terminated.
make[2]: *** [ping.o] Error 1

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoopenssl.inc: Use cp -L, busybox cp doesn't support the long option.
Graham Gower [Wed, 1 Dec 2010 03:18:11 +0000 (13:48 +1030)]
openssl.inc: Use cp -L, busybox cp doesn't support the long option.

Reported by andyzammy on IRC.

| oe_libinstall: cd /home/rofl/Desktop/oe/angstrom-setup-scripts/build/tmp-angstrom_2008_1/work/i686-linux/openssl-native-1.0.0b-r13.1/openssl-1.0.0b
| cp: unrecognized option '--dereference'
| BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu11) multi-call binary
|
| Usage: cp [OPTION]... SOURCE DEST
|
| Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY
|
| Options:
|  -a Same as -dpR
|  -d,-P Preserve links
|  -H,-L Dereference all symlinks (default)
|  -p Preserve file attributes if possible
|  -f Force overwrite
|  -i Prompt before overwrite
|  -R,-r Recurse directories
|  -l,-s Create (sym)links
|
| ERROR: Function do_install failed

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoe2fsprogs_1.41.9.bb: Fix build for uclibc when DISTRO_FEATURES lacks largefile.
Graham Gower [Wed, 1 Dec 2010 03:01:40 +0000 (13:31 +1030)]
e2fsprogs_1.41.9.bb: Fix build for uclibc when DISTRO_FEATURES lacks largefile.

CC llseek.c
llseek.c:65:22: error: expected declaration specifiers or '...' before '_llseek'
llseek.c:65:43: error: expected declaration specifiers or '...' before 'fd'
llseek.c:65:60: error: expected declaration specifiers or '...' before 'offset_high'
llseek.c:66:19: error: expected declaration specifiers or '...' before 'offset_low'
llseek.c:66:44: error: expected declaration specifiers or '...' before 'result'
llseek.c:67:18: error: expected declaration specifiers or '...' before 'origin'
llseek.c: In function '_syscall5':
llseek.c:71:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
llseek.c:91:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
llseek.c:65:1: error: parameter name omitted
llseek.c:65:22: error: parameter name omitted
llseek.c:65:43: error: parameter name omitted
llseek.c:66:4: error: parameter name omitted
llseek.c:66:19: error: parameter name omitted
llseek.c:67:4: error: parameter name omitted
llseek.c:114:1: error: expected '{' at end of input
make[2]: *** [llseek.o] Error 1

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoiputils_20071127.bb: Don't build ipv6 utils if DISTRO_FEATURES lacks ipv6.
Graham Gower [Wed, 1 Dec 2010 00:19:24 +0000 (10:49 +1030)]
iputils_20071127.bb: Don't build ipv6 utils if DISTRO_FEATURES lacks ipv6.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoprocps.inc: Fix do_install for DISTRO=micro.
Graham Gower [Tue, 30 Nov 2010 22:59:54 +0000 (09:29 +1030)]
procps.inc: Fix do_install for DISTRO=micro.

mv: cannot stat `/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/procps-3.2.8-r12.1/image/bin/uptime': No such file or directory

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agosyslog-ng.inc: Fix build when DISTRO_FEATURES lacks largefile and/or ipv6.
Graham Gower [Tue, 30 Nov 2010 06:36:57 +0000 (17:06 +1030)]
syslog-ng.inc: Fix build when DISTRO_FEATURES lacks largefile and/or ipv6.

In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/limits.h:27:0,
                 from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/lib/glib-2.0/include/glibconfig.h:11,
                 from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/glib-2.0/glib/gtypes.h:34,
                 from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/glib-2.0/glib/galloca.h:34,
                 from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/glib-2.0/glib.h:32,
                 from syslog-ng.h:37,
                 from misc.h:27,
                 from misc.c:24:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/features.h:216:5: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.

| afinet.c: In function 'afinet_setup_socket':
| afinet.c:205:42: error: 'IPV6_JOIN_GROUP' undeclared (first use in this function)
| afinet.c:205:42: note: each undeclared identifier is reported only once for each function it appears in
| afinet.c:206:42: error: 'IPV6_MULTICAST_LOOP' undeclared (first use in this function)
| afinet.c:211:44: error: 'IPV6_MULTICAST_HOPS' undeclared (first use in this function)
| afinet.c:217:40: error: 'IPV6_UNICAST_HOPS' undeclared (first use in this function)
| afinet.c: In function 'afinet_dd_construct_ipv6_packet':
| afinet.c:448:36: warning: dereferencing type-punned pointer will break strict-aliasing rules
| afinet.c:449:36: warning: dereferencing type-punned pointer will break strict-aliasing rules

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoopenjade_1.3.2.bb: Install catalog with the correct path.
Graham Gower [Tue, 30 Nov 2010 06:24:52 +0000 (16:54 +1030)]
openjade_1.3.2.bb: Install catalog with the correct path.

Openjade was doing the following:
install-catalog: addition of /mnt/oe/tmp/work/x86_64-linux/openjade-native-1.3.2-r4/image/mnt/oe/tmp/sysroots/x86_64-linux/share/sgml/openjade-1.3.2/catalog in /mnt/oe/tmp/sysroots/x86_64-linux/etc/sgml/openjade-1.3.2.cat

Which was causing lengthy errors like this one:
http://tinderbox.openembedded.org/packages/1149296/

Now I get:
install-catalog: addition of /mnt/oe/tmp/sysroots/x86_64-linux/share/sgml/openjade-1.3.2/catalog in /mnt/oe/tmp/sysroots/x86_64-linux/etc/sgml/openjade-1.3.2.cat

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoperl_5.8.8.bb, perl_5.10.1.bb: Fix build when DISTRO_FEATURES lacks largefile.
Graham Gower [Tue, 30 Nov 2010 04:53:42 +0000 (15:23 +1030)]
perl_5.8.8.bb, perl_5.10.1.bb: Fix build when DISTRO_FEATURES lacks largefile.

CCCMD =  mipsel-oe-linux-uclibc-gcc -march=mips32 -DPERL_CORE -c -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2  -Wall
In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/sys/types.h:27:0,
                 from perl.h:420,
                 from miniperlmain.c:36:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/features.h:216:5: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoopenssl.inc: Fix build when DISTRO_FEATURES lacks largefile and/or ipv6.
Graham Gower [Tue, 30 Nov 2010 03:25:16 +0000 (13:55 +1030)]
openssl.inc: Fix build when DISTRO_FEATURES lacks largefile and/or ipv6.

mipsel-oe-linux-uclibc-gcc -march=mips32 -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN  -DTERMIO -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -Wall -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include  -c -o bss_file.o bss_file.c
In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:28:0,
                 from bss_file.c:86:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/features.h:216:5: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.
In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:72:0,
                 from bss_file.c:86:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/bits/uClibc_stdio.h:61:2: error: #error Sorry... uClibc was built without large file support!
In file included from bss_file.c:86:0:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:83:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fpos_t'
In file included from bss_file.c:86:0:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:719:12: error: expected declaration specifiers or '...' before 'fpos_t'
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:721:12: error: expected ';', ',' or ')' before '*' token
make[2]: *** [bss_file.o] Error 1

mipsel-oe-linux-uclibc-gcc -march=mips32 -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN  -DTERMIO -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -Wall -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include  -c -o bss_dgram.o bss_dgram.c
bss_dgram.c: In function 'dgram_ctrl':
bss_dgram.c:433:18: error: 'IPV6_PMTUDISC_DO' undeclared (first use in this function)
bss_dgram.c:433:18: note: each undeclared identifier is reported only once for each function it appears in
bss_dgram.c:434:48: error: 'IPV6_MTU_DISCOVER' undeclared (first use in this function)
bss_dgram.c:474:48: error: 'IPV6_MTU' undeclared (first use in this function)
make[2]: *** [bss_dgram.o] Error 1

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoalsa-utils_1.0.20.bb: Fix build when DISTRO_FEATURES lacks largefile.
Graham Gower [Tue, 30 Nov 2010 01:32:24 +0000 (12:02 +1030)]
alsa-utils_1.0.20.bb: Fix build when DISTRO_FEATURES lacks largefile.

mipsel-oe-linux-uclibc-gcc -march=mips32 -DHAVE_CONFIG_H -I. -I../include -I../include  -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include  -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -MT aplay.o -MD -MP -MF .deps/aplay.Tpo -c -o aplay.o aplay.c
aplay.c:116:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pbrec_count'
aplay.c: In function 'test_wavefile':
aplay.c:877:14: error: 'pbrec_count' undeclared (first use in this function)
aplay.c:877:14: note: each undeclared identifier is reported only once for each function it appears in
aplay.c: In function 'test_au':
aplay.c:908:2: error: 'pbrec_count' undeclared (first use in this function)
aplay.c: In function 'voc_play':
aplay.c:1751:2: error: 'off64_t' undeclared (first use in this function)
aplay.c:1751:10: error: expected ';' before 'filepos'
aplay.c:1881:9: error: 'filepos' undeclared (first use in this function)
aplay.c: At top level:
aplay.c:1968:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'calc_count'
aplay.c: In function 'end_voc':
aplay.c:2137:2: error: 'off64_t' undeclared (first use in this function)
aplay.c:2137:10: error: expected ';' before 'length_seek'
aplay.c:2146:2: error: 'length_seek' undeclared (first use in this function)
aplay.c:2150:8: error: 'fdcount' undeclared (first use in this function)
aplay.c: In function 'end_wave':
aplay.c:2166:2: error: 'off64_t' undeclared (first use in this function)
aplay.c:2166:10: error: expected ';' before 'length_seek'
aplay.c:2167:10: error: expected ';' before 'filelen'
aplay.c:2170:2: error: 'length_seek' undeclared (first use in this function)
aplay.c:2174:14: error: 'fdcount' undeclared (first use in this function)
aplay.c:2175:2: error: 'filelen' undeclared (first use in this function)
aplay.c: In function 'end_au':
aplay.c:2188:2: error: 'off64_t' undeclared (first use in this function)
aplay.c:2188:10: error: expected ';' before 'length_seek'
aplay.c:2190:2: error: 'length_seek' undeclared (first use in this function)
aplay.c:2191:17: error: 'fdcount' undeclared (first use in this function)
aplay.c: At top level:
aplay.c:2221:48: error: expected declaration specifiers or '...' before 'off64_t'
aplay.c: In function 'playback_go':
aplay.c:2224:2: error: 'off64_t' undeclared (first use in this function)
aplay.c:2224:10: error: expected ';' before 'written'
aplay.c:2225:10: error: expected ';' before 'c'
aplay.c:2230:33: error: 'written' undeclared (first use in this function)
aplay.c:2230:43: error: 'count' undeclared (first use in this function)
aplay.c:2242:4: error: 'c' undeclared (first use in this function)
aplay.c:2254:4: error: 'fdcount' undeclared (first use in this function)
aplay.c: In function 'playback':
aplay.c:2283:2: error: 'pbrec_count' undeclared (first use in this function)
aplay.c:2284:2: error: 'fdcount' undeclared (first use in this function)
aplay.c:2303:3: warning: passing argument 4 of 'playback_go' makes pointer from integer without a cast
aplay.c:2221:13: note: expected 'char *' but argument is of type 'int'
aplay.c:2303:3: error: too many arguments to function 'playback_go'
aplay.c:2221:13: note: declared here
aplay.c:2320:3: warning: passing argument 4 of 'playback_go' makes pointer from integer without a cast
aplay.c:2221:13: note: expected 'char *' but argument is of type 'int'
aplay.c:2320:3: error: too many arguments to function 'playback_go'
aplay.c:2221:13: note: declared here
aplay.c:2325:3: error: too many arguments to function 'playback_go'
aplay.c:2221:13: note: declared here
aplay.c: In function 'capture':
aplay.c:2376:2: error: 'off64_t' undeclared (first use in this function)
aplay.c:2376:10: error: expected ';' before 'count'
aplay.c:2379:2: error: 'count' undeclared (first use in this function)
aplay.c:2424:3: error: 'rest' undeclared (first use in this function)
aplay.c:2433:3: error: 'fdcount' undeclared (first use in this function)
aplay.c:2435:33: error: expected ')' before 'chunk_bytes'
aplay.c: At top level:
aplay.c:2461:74: error: expected declaration specifiers or '...' before 'off64_t'
aplay.c: In function 'playbackv_go':
aplay.c:2480:9: error: 'count' undeclared (first use in this function)
aplay.c: At top level:
aplay.c:2513:58: error: expected declaration specifiers or '...' before 'off64_t'
aplay.c: In function 'capturev_go':
aplay.c:2529:9: error: 'count' undeclared (first use in this function)
aplay.c:2546:3: error: 'fdcount' undeclared (first use in this function)
aplay.c: In function 'playbackv':
aplay.c:2587:2: error: 'pbrec_count' undeclared (first use in this function)
aplay.c:2588:2: error: too many arguments to function 'playbackv_go'
aplay.c:2461:13: note: declared here
aplay.c: In function 'capturev':
aplay.c:2640:2: error: 'pbrec_count' undeclared (first use in this function)
aplay.c:2641:2: error: too many arguments to function 'capturev_go'
aplay.c:2513:13: note: declared here
make[1]: *** [aplay.o] Error 1

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agox264_r2245.bb: Fix build when DISTRO_FEATURES lacks "largefile".
Graham Gower [Tue, 30 Nov 2010 01:11:30 +0000 (11:41 +1030)]
x264_r2245.bb: Fix build when DISTRO_FEATURES lacks "largefile".

mipsel-oe-linux-uclibc-gcc -march=mips32 -O3 -ffast-math -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -Wall -I. -fPIC -std=gnu99 -s -fomit-frame-pointer -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include  -c -o common/mc.o common/mc.c
In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:28:0,
                 from common/osdep.h:29,
                 from common/common.h:76,
                 from common/mc.c:24:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/features.h:216:5: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agosqlite3.inc: Fix build when DISTRO_FEATURES lacks "largefile".
Graham Gower [Tue, 30 Nov 2010 01:10:59 +0000 (11:40 +1030)]
sqlite3.inc: Fix build when DISTRO_FEATURES lacks "largefile".

The --disable-largefile configure parameter does nothing.

/bin/sh ./mipsel-oe-linux-uclibc-libtool --mode=compile --tag=CC mipsel-oe-linux-uclibc-gcc -march=mips32  -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include  -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG   -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1   -DSQLITE_TEMP_STORE=1 -c sqlite3.c
mipsel-oe-linux-uclibc-libtool: compile:  mipsel-oe-linux-uclibc-gcc -march=mips32 -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_TEMP_STORE=1 -c sqlite3.c  -fPIC -DPIC -o .libs/sqlite3.o
In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdint.h:26:0,
                 from sqlite3.c:304:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/features.h:216:5: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.
In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:72:0,
                 from sqlite3.c:6522:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/bits/uClibc_stdio.h:61:2: error: #error Sorry... uClibc was built without large file support!
In file included from sqlite3.c:6522:0:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:83:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fpos_t'
In file included from sqlite3.c:6522:0:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:719:12: error: expected declaration specifiers or '...' before 'fpos_t'
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:721:12: error: expected ';', ',' or ')' before '*' token
make: *** [sqlite3.lo] Error 1

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agognome-vfs_2.24.1.bb: Fix build when DISTRO_FEATURES lacks "largefile".
Graham Gower [Tue, 30 Nov 2010 01:10:30 +0000 (11:40 +1030)]
gnome-vfs_2.24.1.bb: Fix build when DISTRO_FEATURES lacks "largefile".

mipsel-oe-linux-uclibc-libtool: compile:  mipsel-oe-linux-uclibc-gcc -march=mips32 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -pthread -DORBIT2=1 -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/glib-2.0 -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/lib/glib-2.0/include -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/gconf/2 -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/orbit-2.0 -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/dbus-1.0 -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/lib/dbus-1.0/include -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/libxml2 -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -D_REENTRANT -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/glib-2.0 -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/lib/glib-2.0/include -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/glib-2.0 -I/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/lib/glib-2.0/include -DXDG_PREFIX
=_gnome_vfs_xdg -DDBUS_API_SUBJECT_TO_CHANGE -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DG_DISABLE_DEPRECATED -DGNOME_VFS_PREFIX=\"\" -DGNOME_VFS_BINDIR=\"/bin\" -DGNOME_VFS_DATADIR=\"/share\" -DGNOME_VFS_LIBDIR=\"/lib\" -DGNOME_VFS_LOCALEDIR=\"/share/locale\" -DGNOME_VFS_SYSCONFDIR=\"/etc\" -DG_LOG_DOMAIN=\"libgnomevfs\" -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -MT gnome-vfs-ace.lo -MD -MP -MF .deps/gnome-vfs-ace.Tpo -c gnome-vfs-ace.c  -fPIC -DPIC -o .libs/gnome-vfs-ace.o
In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/limits.h:27:0,
                 from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/lib/glib-2.0/include/glibconfig.h:11,
                 from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/glib-2.0/glib/gtypes.h:34,
                 from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/glib-2.0/glib/galloca.h:34,
                 from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/glib-2.0/glib.h:32,
                 from gnome-vfs-ace.h:28,
                 from gnome-vfs-ace.c:26:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/features.h:216:5: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agoavahi_0.6.25.bb: Fix build when DISTRO_FEATURES lacks ipv6.
Graham Gower [Tue, 30 Nov 2010 01:10:00 +0000 (11:40 +1030)]
avahi_0.6.25.bb: Fix build when DISTRO_FEATURES lacks ipv6.

socket.c: In function 'avahi_mdns_mcast_join_ipv6':
socket.c:159:38: error: 'IPV6_DROP_MEMBERSHIP' undeclared (first use in this function)
socket.c:159:38: note: each undeclared identifier is reported only once for each function it appears in
socket.c:161:45: error: 'IPV6_ADD_MEMBERSHIP' undeclared (first use in this function)
socket.c: In function 'ipv6_pktinfo':
socket.c:273:9: warning: unused variable 'yes'
socket.c:272:29: warning: unused parameter 'fd'
socket.c: In function 'avahi_open_socket_ipv6':
socket.c:387:38: error: 'IPV6_MULTICAST_HOPS' undeclared (first use in this function)
socket.c:393:38: error: 'IPV6_UNICAST_HOPS' undeclared (first use in this function)
socket.c:399:38: error: 'IPV6_V6ONLY' undeclared (first use in this function)
socket.c:405:38: error: 'IPV6_MULTICAST_LOOP' undeclared (first use in this function)
cache.c: In function 'avahi_cache_start_poof':
cache.c:494:5: warning: cast discards qualifiers from pointer target type
socket.c: In function 'avahi_send_dns_packet_ipv4':
socket.c:524:16: warning: cast increases required alignment of target type
socket.c: In function 'avahi_send_dns_packet_ipv6':
socket.c:575:23: error: invalid application of 'sizeof' to incomplete type 'struct in6_pktinfo'
socket.c:603:30: error: invalid application of 'sizeof' to incomplete type 'struct in6_pktinfo'
socket.c:608:27: error: 'IPV6_PKTINFO' undeclared (first use in this function)
socket.c:613:17: error: dereferencing pointer to incomplete type
socket.c:616:25: error: dereferencing pointer to incomplete type
socket.c: In function 'avahi_recv_dns_packet_ipv4':
socket.c:716:48: warning: cast increases required alignment of target type
socket.c:716:25: warning: dereferencing type-punned pointer will break strict-aliasing rules
socket.c:722:44: warning: cast increases required alignment of target type
socket.c: In function 'avahi_recv_dns_packet_ipv6':
socket.c:855:22: error: 'IPV6_HOPLIMIT' undeclared (first use in this function)
socket.c:858:48: warning: cast increases required alignment of target type
socket.c:858:25: warning: dereferencing type-punned pointer will break strict-aliasing rules
socket.c:864:22: error: 'IPV6_PKTINFO' undeclared (first use in this function)
socket.c:868:39: error: dereferencing pointer to incomplete type
socket.c:871:59: error: dereferencing pointer to incomplete type
socket.c: In function 'avahi_open_unicast_socket_ipv6':
socket.c:946:38: error: 'IPV6_V6ONLY' undeclared (first use in this function)
make[2]: *** [libavahi_core_la-socket.lo] Error 1

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
14 years agonokia900.conf: remove SERIAL_CONSOLE because it's causing a respawning getty
Klaus Kurzmann [Thu, 2 Dec 2010 14:09:03 +0000 (15:09 +0100)]
nokia900.conf: remove SERIAL_CONSOLE because it's causing a respawning getty

Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
14 years agoe-base: bump SRCREV
Martin Jansa [Wed, 1 Dec 2010 09:31:57 +0000 (10:31 +0100)]
e-base: bump SRCREV

* illume indicator was fixed

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agonokia900.conf: MACHINE_EXTRA_RRECOMMENDS add needed kernel-modules
Martin Jansa [Thu, 2 Dec 2010 09:50:47 +0000 (10:50 +0100)]
nokia900.conf: MACHINE_EXTRA_RRECOMMENDS add needed kernel-modules

* list all which are loaded after boot (ie with udev)
* remove those which are handled by some task-base-* anyways (like g-ether, vfat etc)
* remove those which are in RDEPENDS of some already listed module here

Acked-by: Klaus Kurzmann <mok@fluxnetz.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agonokia900: build uImage instead of zImage
Martin Jansa [Thu, 2 Dec 2010 08:03:27 +0000 (09:03 +0100)]
nokia900: build uImage instead of zImage

* meego and debian on n900 are now using u-boot so we should too

Acked-by: Klaus Kurzmann <mok@fluxnetz.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agomodule-init-tools: fix multiple runtime providers
Martin Jansa [Wed, 1 Dec 2010 13:51:47 +0000 (14:51 +0100)]
module-init-tools: fix multiple runtime providers

* NOTE: multiple providers are available for runtime module-init-tools-depmod (module-init-tools, module-init-tools-cross)
  NOTE: consider defining a PREFERRED_PROVIDER entry to match module-init-tools-depmod

Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agokernel.bbclass: put bluez-dtl1-workaround to DEPENDS directly
Martin Jansa [Tue, 10 Aug 2010 19:37:29 +0000 (21:37 +0200)]
kernel.bbclass: put bluez-dtl1-workaround to DEPENDS directly

* DEPENDS_kernel-module-dtl1-cs aren't probably included in run queue
* RDEPENDS_kernel-module-dtl1-cs probably also doesn't put it to run queue,
  because kernel-module-* are created by
  PACKAGES_DYNAMIC += "kernel-module-*"
  so not even known before even building kernel, but does work ok in runtime
* bluez-dtl1-workaround is small and fast to build so won't hurt to
  build even when kernel doesn't have this bluez module enabled in
  defconfig

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agolinux-kexecboot_git: bump SRCREV for 2.6.37-rc4
Martin Jansa [Tue, 30 Nov 2010 13:00:38 +0000 (14:00 +0100)]
linux-kexecboot_git: bump SRCREV for 2.6.37-rc4

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agosane-srcrevs.inc: remove it from distro configs, and file itself
Martin Jansa [Wed, 1 Dec 2010 08:40:11 +0000 (09:40 +0100)]
sane-srcrevs.inc: remove it from distro configs, and file itself

Acked-by: Klaus Kurzmann <mok@fluxnetz.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agoe-wm,efl: create e-base.bbclass with common settings and EFL_SRCREV
Martin Jansa [Wed, 1 Dec 2010 08:31:05 +0000 (09:31 +0100)]
e-wm,efl: create e-base.bbclass with common settings and EFL_SRCREV

* include it from e.bbclass, efl.bbclass and now also python-efl.inc
* also use BPN instead of "${@bb.data.getVar('PN', d, 1).replace('-native', '')}"

Acked-by: Klaus Kurzmann <mok@fluxnetz.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agoalsa-state: Fix stereo configuration asound state for bug20
Stefan Schmidt [Thu, 2 Dec 2010 13:14:30 +0000 (14:14 +0100)]
alsa-state: Fix stereo configuration asound state for bug20

14 years agocontrib/testing: add testbuilder script
Yuri Bushmelev [Thu, 2 Dec 2010 11:21:53 +0000 (14:21 +0300)]
contrib/testing: add testbuilder script

I've added my TestBuilder v0.3 to contrib.
Check README file about setup and usage.

14 years agophp: add iconv support
Frans Meulenbroeks [Wed, 1 Dec 2010 22:12:21 +0000 (23:12 +0100)]
php: add iconv support

- fixed recipe (needed the path)
- added two patches to auto stuff
(these have also reported upstream)

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
14 years agocontacts: Add 0.12 as latest release.
Stefan Schmidt [Thu, 11 Nov 2010 08:54:31 +0000 (09:54 +0100)]
contacts: Add 0.12 as latest release.

14 years agohostap-daemon: Respect LDFLAGS for GNU_HASH
Stefan Schmidt [Thu, 11 Nov 2010 13:55:02 +0000 (14:55 +0100)]
hostap-daemon: Respect LDFLAGS for GNU_HASH

14 years agoshr: add more PACKAGE_ARCH = all for theme and e-wm recipes
Martin Jansa [Wed, 1 Dec 2010 08:18:50 +0000 (09:18 +0100)]
shr: add more PACKAGE_ARCH = all for theme and e-wm recipes

* shr-splash-theme: convert to INC_PR
* other recipes just bump PR
* because changes of PACKAGE_ARCH doesn't work very well you have to run:
  cd tmp/pkgdata
  find . -name \*shr\*theme\* -exec rm -rf {} \; ; find . -name \*elementary-theme\* -exec rm -rf {} \; ; find . -name \*e-wm-menu-shr\* -exec rm -rf {} \; ; find . -name \*e-wm-sysactions-shr\*  -exec rm -rf {} \;
  otherwise you would get ie empty phoneui-shr-theme packages (all files in -dev/-dbg which is wrong)
  if you have built this already and wondering why it doesn't create proper .ipk files
  then you can rebuild all affected recipes by running command above also in tmp/stamps,
  but it won't reinstall packages on device (you have to use -force-reinstall there)
  for more info about issue see http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg04129.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agoshr: remove EFL_SRCREV from PV
Martin Jansa [Wed, 1 Dec 2010 08:08:06 +0000 (09:08 +0100)]
shr: remove EFL_SRCREV from PV

* with comming EFL release it doesn't make much sense, and would be
  misleading if later built against efl release
* in case of edje-cc backward incompatible change we can bump PR like with other recipes
* PV was changed to provide upgradable path (should be OK as themes
  doesn't have version info in sources)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agoopkg: move OPKG_SRCREV to opkg.inc directly
Martin Jansa [Wed, 1 Dec 2010 07:58:32 +0000 (08:58 +0100)]
opkg: move OPKG_SRCREV to opkg.inc directly

* now OPKG_SRCREV was used only in this one .inc, so move it there

Acked-by: Graham Gower <graham.gower@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agoqt4x11: set QT_LIBINFIX and QT_DIR_NAME
Eric Bénard [Thu, 25 Nov 2010 15:54:29 +0000 (16:54 +0100)]
qt4x11: set QT_LIBINFIX and QT_DIR_NAME

this will fix the following issue with qwt 5.2.1 where obj dir is:
work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/src/obj${QT_LIBINFIX}/
instead of :
work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/src/obj/

From: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <k-kooi@ti.com>
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agosane-srcdates.inc: remove from all distro configs as well as file itself
Martin Jansa [Tue, 30 Nov 2010 07:54:28 +0000 (08:54 +0100)]
sane-srcdates.inc: remove from all distro configs as well as file itself

* it's empty for > 6 months
* entries were moved to recipes
* SRCREV instead of SRCDATE is preferred anyways http://git.openembedded.org/cgit.cgi/bitbake/commit/?id=8da9744fcdf856abebcfbe9e3bc1b8cf07bc317b

Acked-by: Andreas Oberritter <obi@opendreambox.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agousermanual: update info with SRCPV, in recipe SRCREV and remove sane-srcdates
Martin Jansa [Tue, 30 Nov 2010 07:49:08 +0000 (08:49 +0100)]
usermanual: update info with SRCPV, in recipe SRCREV and remove sane-srcdates

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agolinux_git: bump SRCREV for 2.6.37-rc4
Martin Jansa [Tue, 30 Nov 2010 12:10:01 +0000 (13:10 +0100)]
linux_git: bump SRCREV for 2.6.37-rc4

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 years agoklibc: bump PR to force rebuild after mipsel fix
Yuri Bushmelev [Tue, 30 Nov 2010 22:32:26 +0000 (01:32 +0300)]
klibc: bump PR to force rebuild after mipsel fix

14 years agokexec-tools-klibc: switch to using klibc's staged includes
Yuri Bushmelev [Tue, 30 Nov 2010 22:14:06 +0000 (01:14 +0300)]
kexec-tools-klibc: switch to using klibc's staged includes

kexec-tools-klibc is switched to use klibc's includes instead of having
patch with own. This will fix building for mipsel as well.
NOTE: now kexec-tools-klibc is just using 'klibc/include[/bits32]' dirs
to look for includes. This should be made more configurable.

14 years agoklibc: fix linking for mipsel
Yuri Bushmelev [Tue, 30 Nov 2010 20:06:34 +0000 (23:06 +0300)]
klibc: fix linking for mipsel

Disable inclusion of <asm/kexec.h>. This header have function (at least
on mipsel) which breaks klibc's syscalls parser and lead to klibc
linking failure.

14 years agophp: removed --enable-memory-limit configure argument; does not exist any moe
Frans Meulenbroeks [Tue, 30 Nov 2010 08:28:13 +0000 (09:28 +0100)]
php: removed --enable-memory-limit configure argument; does not exist any moe

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
14 years agophp: reinstated --without-iconv, this seems to generate configure issues
Frans Meulenbroeks [Tue, 30 Nov 2010 08:29:14 +0000 (09:29 +0100)]
php: reinstated --without-iconv, this seems to generate configure issues

issues are wrt native paths being used.
e.g. get that fork is not found
adding --with-iconv-dir did not help
This needs further investigation

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
14 years agomythtv: removed 0.22
Frans Meulenbroeks [Tue, 30 Nov 2010 08:30:36 +0000 (09:30 +0100)]
mythtv: removed 0.22

probably does not build with qt4.7
this one was not maintained anyway and only stayed because a few distro's pinned it.
it is now unpinned by all so rm.
we already have 0.23 for almost a year, and the metadata for 0.23 is better

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
14 years agomythtv: moved to rev 27202
Frans Meulenbroeks [Fri, 26 Nov 2010 22:15:37 +0000 (23:15 +0100)]
mythtv: moved to rev 27202

this fixes the compilation issue with qt 4.7

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
14 years agocwiid: updated & fixed SRC_URI
Frans Meulenbroeks [Sat, 27 Nov 2010 12:18:53 +0000 (13:18 +0100)]
cwiid: updated & fixed SRC_URI

The svn repo does not exist any more and is replaced by git
changed the SRC_URI for this
also moved to git head (which is already 10 months old)

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
14 years agou-boot_git: updated SRC_URI for sheevaplug; moved to newer version
Frans Meulenbroeks [Sat, 27 Nov 2010 18:19:43 +0000 (19:19 +0100)]
u-boot_git: updated SRC_URI for sheevaplug; moved to newer version

the previous version did not pull any more
updated URI to pull from master and used latest SRCREV

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
14 years agoqt-demo-init: correctly handle qtdemo for qt4-x11
Eric Bénard [Fri, 26 Nov 2010 10:19:24 +0000 (11:19 +0100)]
qt-demo-init: correctly handle qtdemo for qt4-x11

Signed-off-by: Eric Bénard <eric@eukrea.com>