[oe] [meta-networking][PATCH] cyrus-sasl: ensure size_t is defined for use by sasl.h

2013-10-29 Thread Mark Asselstine
While making use of the cyrus-sasl library an external application
will most likely include sasl.h which will cause compilation failures
if steps haven't been taken to define size_t. This should not be the
responsibility of the application building against the sasl library
but rather handled already in sasl.h. Here we ensure sasl.h has the
proper includes to have size_t defined before it is used.

Signed-off-by: Mark Asselstine 
---
 ...clude-sasl.h-needs-to-include-sys-types.h.patch | 37 ++
 .../cyrus-sasl/cyrus-sasl_2.1.26.bb|  3 ++
 2 files changed, 40 insertions(+)
 create mode 100644 
meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/include-sasl.h-needs-to-include-sys-types.h.patch

diff --git 
a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/include-sasl.h-needs-to-include-sys-types.h.patch
 
b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/include-sasl.h-needs-to-include-sys-types.h.patch
new file mode 100644
index 000..ac47b4f
--- /dev/null
+++ 
b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/include-sasl.h-needs-to-include-sys-types.h.patch
@@ -0,0 +1,37 @@
+From 471b4436a69917fba7c44e366b0393cebc3dace6 Mon Sep 17 00:00:00 2001
+From: Mark Asselstine 
+Date: Tue, 29 Oct 2013 23:07:26 -0400
+Subject: [PATCH] include: sasl.h needs to include sys/types.h
+
+size_t is used in sasl.h yet sys/types.h is neither included directly
+or indirectly. This causes build errors if you try to build something
+against the sasl library where .c files including sasl.h haven't
+included sys/types.h or defined size_t on their own. Similar to this
+one:
+
+In file included from rpc/virnetsaslcontext.h:24:0,
+ from rpc/virnetsaslcontext.c:25:
+../poky/x86-64/tmp/sysroots/qemux86-64/usr/include/sasl/sasl.h:230:38: error: 
unknown type name 'size_t'
+ typedef void *sasl_realloc_t(void *, size_t);
+
+Signed-off-by: Mark Asselstine 
+---
+ include/sasl.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/include/sasl.h b/include/sasl.h
+index fef4d51..36b2553 100755
+--- a/include/sasl.h
 b/include/sasl.h
+@@ -130,6 +130,8 @@
+ #define SASL_VERSION_FULL ((SASL_VERSION_MAJOR << 16) |\
+   (SASL_VERSION_MINOR << 8) | SASL_VERSION_STEP)
+ 
++#include 
++
+ #include "prop.h"
+ 
+ /*
+-- 
+1.8.1.2
+
diff --git a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb 
b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
index f05ab85..5899291 100644
--- a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
+++ b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
@@ -4,11 +4,14 @@ DEPENDS = "openssl virtual/db"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=3f55e0974e3d6db00ca6f57f2d206396"
 
+PR = "r1"
+
 SRC_URI = "ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-${PV}.tar.gz \
   file://avoid-to-call-AC_TRY_RUN.patch \
   file://Fix-hardcoded-libdir.patch \
   file://debian_patches_0009_sasldb_al.diff \
   file://debian_patches_0014_avoid_pic_overwrite.diff \
+  file://include-sasl.h-needs-to-include-sys-types.h.patch \
   "
 
 inherit autotools pkgconfig useradd
-- 
1.8.1.2

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-networking][PATCH v2 1/3] snort : add recipe

2013-10-29 Thread Guo Chunrong-B40290
Hi, Joe MacDonald

Thank you for your comments.

The current snort simply do not need sysvinit config.


Thanks,
Chunrong

-Original Message-
From: Joe MacDonald [mailto:j...@deserted.net] 
Sent: Wednesday, October 30, 2013 3:20 AM
To: openembedded-devel@lists.openembedded.org
Cc: Guo Chunrong-B40290
Subject: Re: [oe] [meta-networking][PATCH v2 1/3] snort : add recipe

Hi Chunrong,

Sorry about the confusion here, there were still at least a couple of 
outstanding questions / requests, I thought.

I had a quick look back at the latest barnyard recipe and it appears to be 
removing the include path as opposed to using -I=/usr/include/pcap that Khem 
suggested, I was hoping to hear back on the question I had as well WRT barnyard 
versus barnyard2 (I could make the license tweak myself since I'm confident 
that won't invalidate any of your work) and the Gentoo mirror as the primary 
source for this version of Barnyard.

I also noticed that in the most recent version of the snort recipe the sysvinit 
components have been dropped entirely.  Was that due to problems inheriting 
update-rc.d as Koen suggested?  (Or perhaps the current snort simply doesn't 
have a functional sysvinit config?  I hope that's not the case.)  I'm probably 
not the only one still making use of sysvinit stuff in some scenarios.  :-)

-J.

[Re: [oe] [meta-networking][PATCH v2 1/3] snort : add recipe] On 13.10.28 (Mon 
02:23) Guo Chunrong-B40290 wrote:

> pings
> 
> -Original Message-
> From: Guo Chunrong-B40290
> Sent: Friday, October 18, 2013 4:22 PM
> To: openembedded-devel@lists.openembedded.org
> Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290
> Subject: [meta-networking][PATCH v2 1/3] snort : add recipe
> 
> From: Chunrong Guo 
> 
>*snort - a free lightweight network intrusion detection
> system for UNIX and Windows
> 
> Signed-off-by: Chunrong Guo 
> ---
>  .../snort/files/disable-dap-address-space-id.patch |   52 ++
>  .../snort/files/disable-inaddr-none.patch  |   75 
> 
>  .../recipes-connectivity/snort/snort_2.9.4.6.bb|   64 +
>  3 files changed, 191 insertions(+), 0 deletions(-)  create mode 
> 100644 
> meta-networking/recipes-connectivity/snort/files/disable-dap-address-s
> pace-id.patch  create mode 100644 
> meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.p
> atch  create mode 100644 
> meta-networking/recipes-connectivity/snort/snort_2.9.4.6.bb
> 
> diff --git 
> a/meta-networking/recipes-connectivity/snort/files/disable-dap-address
> -space-id.patch 
> b/meta-networking/recipes-connectivity/snort/files/disable-dap-address
> -space-id.patch
> new file mode 100644
> index 000..39e5c9c
> --- /dev/null
> +++ b/meta-networking/recipes-connectivity/snort/files/disable-dap-add
> +++ re
> +++ ss-space-id.patch
> @@ -0,0 +1,52 @@
> +Upstream-Status:Inappropriate [embedded specific]
> +
> +fix the below error:
> +checking for dap address space id... configure: 
> +configure: error: cannot run test program while cross compiling
> +
> +
> +Signed-off-by: Chunrong Guo 
> +
> +--- a/configure.in   2013-08-23 00:06:37.239361932 -0500
>  b/configure.in   2013-08-23 00:07:32.860266534 -0500
> +@@ -679,23 +679,23 @@
> + 
> + AC_CHECK_FUNCS([daq_hup_apply] [daq_acquire_with_meta])
> + 
> +-AC_MSG_CHECKING([for daq address space ID]) -AC_RUN_IFELSE( 
> +-[AC_LANG_PROGRAM( -[[ -#include  -]], -[[
> +-   DAQ_PktHdr_t hdr;
> +-   hdr.address_space_id = 0;
> +-]])],
> +-[have_daq_address_space_id="yes"],
> +-[have_daq_address_space_id="no"])
> +-AC_MSG_RESULT($have_daq_address_space_id)
> +-if test "x$have_daq_address_space_id" = "xyes"; then
> +-AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
> +-[DAQ version supports address space ID in header.])
> +-fi
> ++#AC_MSG_CHECKING([for daq address space ID]) #AC_RUN_IFELSE( 
> ++#[AC_LANG_PROGRAM( #[[ ##include  #]], #[[
> ++#   DAQ_PktHdr_t hdr;
> ++#   hdr.address_space_id = 0;
> ++#]])],
> ++have_daq_address_space_id="yes"
> ++#[have_daq_address_space_id="no"])
> ++#AC_MSG_RESULT($have_daq_address_space_id)
> ++#if test "x$have_daq_address_space_id" = "xyes"; then
> ++#AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
> ++#[DAQ version supports address space ID in header.])
> ++#fi
> + 
> + # any sparc platform has to have this one defined.
> + AC_MSG_CHECKING(for sparc)
> diff --git 
> a/meta-networking/recipes-connectivity/snort/files/disable-inaddr-none
> .patch 
> b/meta-networking/recipes-connectivity/snort/files/disable-inaddr-none
> .patch
> new file mode 100644
> index 000..9dafe63
> --- /dev/null
> +++ b/meta-networking/recipes-connectivity/snort/files/disable-inaddr-
> +++ no
> +++ ne.patch
> @@ -0,0 +1,75 @@
> +Upstream-Status: Inappropriate [embedded specific]
> +
> +fix the below error:
> +checking for INADDR_NONE... configure:
> +configure: error: cannot run test program while cross compiling
> +
> +Signed-off-by: Chunrong Guo 
> +

[oe] [meta-handheld][PATCH] machine: add more JFFS2_ERASEBLOCK definitions

2013-10-29 Thread Andrea Adami
some missing found googling on the web 
0x4 explicited even if image_types.bbclass default

Signed-off-by: Andrea Adami 
---
 conf/machine/ben-nanonote.conf | 2 ++
 conf/machine/h1940.conf| 2 ++
 conf/machine/h3900.conf| 2 ++
 conf/machine/h4000.conf| 2 ++
 conf/machine/rx1950.conf   | 3 +++
 conf/machine/rx3000.conf   | 1 +
 6 files changed, 12 insertions(+)

diff --git a/conf/machine/ben-nanonote.conf b/conf/machine/ben-nanonote.conf
index 407d453..e09eb70 100644
--- a/conf/machine/ben-nanonote.conf
+++ b/conf/machine/ben-nanonote.conf
@@ -10,6 +10,8 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-jlime-ben-nanonote"
 #KERNEL_IMAGETYPE = "uImage"
 KERNEL_IMAGETYPE = "vmlinux.bin"
 
+JFFS2_ERASEBLOCK = "0x8"
+
 #ScreenInfo
 MACHINE_GUI_CLASS = "smallscreen"
 MACHINE_DISPLAY_WIDTH_PIXELS = "320"
diff --git a/conf/machine/h1940.conf b/conf/machine/h1940.conf
index 6eba1df..cd7e9d2 100644
--- a/conf/machine/h1940.conf
+++ b/conf/machine/h1940.conf
@@ -15,6 +15,8 @@ KERNEL_IMAGETYPE = "uImage"
 UBOOT_LOADADDRESS = "0x30108000"
 UBOOT_ENTRYPOINT = "0x30108000"
 
+JFFS2_ERASEBLOCK = "0x4000"
+
 # Set features for task-base
 MACHINE_GUI_CLASS = "smallscreen"
 MACHINE_DISPLAY_WIDTH_PIXELS = "240"
diff --git a/conf/machine/h3900.conf b/conf/machine/h3900.conf
index 2d3c70a..ff4135c 100644
--- a/conf/machine/h3900.conf
+++ b/conf/machine/h3900.conf
@@ -19,6 +19,8 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6"
 
 MACHINE_EXTRA_RDEPENDS = "kernel ipaq-boot-params"
 
+JFFS2_ERASEBLOCK = "0x4"
+
 #
 # Modules autoload and other boot properties
 #
diff --git a/conf/machine/h4000.conf b/conf/machine/h4000.conf
index af392ca..151200e 100644
--- a/conf/machine/h4000.conf
+++ b/conf/machine/h4000.conf
@@ -26,6 +26,8 @@ MACHINE_EXTRA_RRECOMMENDS = "kernel-module-snd-h4000-audio \
  keymaps \
 "
 
+JFFS2_ERASEBLOCK = "0x4"
+
 #
 # Modules autoload and other boot properties
 #
diff --git a/conf/machine/rx1950.conf b/conf/machine/rx1950.conf
index 54fe6a4..e4f933c 100644
--- a/conf/machine/rx1950.conf
+++ b/conf/machine/rx1950.conf
@@ -20,5 +20,8 @@ MACHINE_FEATURES = "touchscreen apm alsa irda wifi usbgadget 
screen vfat qvga"
 PREFERRED_PROVIDER_virtual/kernel = "linux"
 PREFERRED_VERSION_linux = "2.6.35"
 
+JFFS2_ERASEBLOCK = "0x4000"
+
 SERIAL_CONSOLE = "115200 ttyS0 vt100"
 USE_VT = "0"
+
diff --git a/conf/machine/rx3000.conf b/conf/machine/rx3000.conf
index 726db84..536dd30 100644
--- a/conf/machine/rx3000.conf
+++ b/conf/machine/rx3000.conf
@@ -22,6 +22,7 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6"
 MACHINE_EXTRA_RDEPENDS = "tiinit acx-firmware"
 MACHINE_EXTRA_RRECOMMENDS = "kernel-module-acx \
 "
+JFFS2_ERASEBLOCK = "0x4000"
 
 #
 # Modules autoload and other boot properties
-- 
1.8.1.5

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-networking][PATCH v2 1/3] snort : add recipe

2013-10-29 Thread Joe MacDonald
Hi Chunrong,

Sorry about the confusion here, there were still at least a couple of
outstanding questions / requests, I thought.

I had a quick look back at the latest barnyard recipe and it appears to
be removing the include path as opposed to using -I=/usr/include/pcap
that Khem suggested, I was hoping to hear back on the question I had as
well WRT barnyard versus barnyard2 (I could make the license tweak
myself since I'm confident that won't invalidate any of your work) and
the Gentoo mirror as the primary source for this version of Barnyard.

I also noticed that in the most recent version of the snort recipe the
sysvinit components have been dropped entirely.  Was that due to
problems inheriting update-rc.d as Koen suggested?  (Or perhaps the
current snort simply doesn't have a functional sysvinit config?  I hope
that's not the case.)  I'm probably not the only one still making use of
sysvinit stuff in some scenarios.  :-)

-J.

[Re: [oe] [meta-networking][PATCH v2 1/3] snort : add recipe] On 13.10.28 (Mon 
02:23) Guo Chunrong-B40290 wrote:

> pings
> 
> -Original Message-
> From: Guo Chunrong-B40290 
> Sent: Friday, October 18, 2013 4:22 PM
> To: openembedded-devel@lists.openembedded.org
> Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290
> Subject: [meta-networking][PATCH v2 1/3] snort : add recipe
> 
> From: Chunrong Guo 
> 
>*snort - a free lightweight network intrusion detection
> system for UNIX and Windows
> 
> Signed-off-by: Chunrong Guo 
> ---
>  .../snort/files/disable-dap-address-space-id.patch |   52 ++
>  .../snort/files/disable-inaddr-none.patch  |   75 
> 
>  .../recipes-connectivity/snort/snort_2.9.4.6.bb|   64 +
>  3 files changed, 191 insertions(+), 0 deletions(-)  create mode 100644 
> meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
>  create mode 100644 
> meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch
>  create mode 100644 
> meta-networking/recipes-connectivity/snort/snort_2.9.4.6.bb
> 
> diff --git 
> a/meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
>  
> b/meta-networking/recipes-connectivity/snort/files/disable-dap-address-space-id.patch
> new file mode 100644
> index 000..39e5c9c
> --- /dev/null
> +++ b/meta-networking/recipes-connectivity/snort/files/disable-dap-addre
> +++ ss-space-id.patch
> @@ -0,0 +1,52 @@
> +Upstream-Status:Inappropriate [embedded specific]
> +
> +fix the below error:
> +checking for dap address space id... configure: 
> +configure: error: cannot run test program while cross compiling
> +
> +
> +Signed-off-by: Chunrong Guo 
> +
> +--- a/configure.in   2013-08-23 00:06:37.239361932 -0500
>  b/configure.in   2013-08-23 00:07:32.860266534 -0500
> +@@ -679,23 +679,23 @@
> + 
> + AC_CHECK_FUNCS([daq_hup_apply] [daq_acquire_with_meta])
> + 
> +-AC_MSG_CHECKING([for daq address space ID]) -AC_RUN_IFELSE( 
> +-[AC_LANG_PROGRAM( -[[ -#include  -]], -[[
> +-   DAQ_PktHdr_t hdr;
> +-   hdr.address_space_id = 0;
> +-]])],
> +-[have_daq_address_space_id="yes"],
> +-[have_daq_address_space_id="no"])
> +-AC_MSG_RESULT($have_daq_address_space_id)
> +-if test "x$have_daq_address_space_id" = "xyes"; then
> +-AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
> +-[DAQ version supports address space ID in header.])
> +-fi
> ++#AC_MSG_CHECKING([for daq address space ID]) #AC_RUN_IFELSE( 
> ++#[AC_LANG_PROGRAM( #[[ ##include  #]], #[[
> ++#   DAQ_PktHdr_t hdr;
> ++#   hdr.address_space_id = 0;
> ++#]])],
> ++have_daq_address_space_id="yes"
> ++#[have_daq_address_space_id="no"])
> ++#AC_MSG_RESULT($have_daq_address_space_id)
> ++#if test "x$have_daq_address_space_id" = "xyes"; then
> ++#AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
> ++#[DAQ version supports address space ID in header.])
> ++#fi
> + 
> + # any sparc platform has to have this one defined.
> + AC_MSG_CHECKING(for sparc)
> diff --git 
> a/meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch 
> b/meta-networking/recipes-connectivity/snort/files/disable-inaddr-none.patch
> new file mode 100644
> index 000..9dafe63
> --- /dev/null
> +++ b/meta-networking/recipes-connectivity/snort/files/disable-inaddr-no
> +++ ne.patch
> @@ -0,0 +1,75 @@
> +Upstream-Status: Inappropriate [embedded specific]
> +
> +fix the below error:
> +checking for INADDR_NONE... configure:
> +configure: error: cannot run test program while cross compiling
> +
> +Signed-off-by: Chunrong Guo 
> +
> +
> +--- a/configure.in   2013-08-21 03:56:17.197414789 -0500
>  b/configure.in   2013-08-21 23:19:05.298553560 -0500
> +@@ -281,25 +281,7 @@
> + AC_CHECK_TYPES([boolean])
> + 
> + # In case INADDR_NONE is not defined (like on Solaris) 
> +-have_inaddr_none="no"
> +-AC_MSG_CHECKING([for INADDR_NONE])
> +-AC_RUN_IFELSE(
> +-[AC_LANG_PROGRAM(
> +-[[
> +-#include 
> +-#include 
> +-#include 
> +-]],
> +-[[
> +-

[oe] [meta-oe][PATCH] xserver-common: start Xsession when starting Xserver

2013-10-29 Thread Martin Jansa
* since this commit
  commit 305038f932fbcb39f3bb6698f8fad18172c30962
  Author: Jonathan Liu 
  Date:   Wed Jun 12 08:30:15 2013 +
xserver-nodm-init: do not execute Xsession twice

  xserver-nodm-init wasn't working correctly when it was used together
  with xserver-common which doesn't start Xsession from Xserver (unlike
  x11-common in oe-core).

Signed-off-by: Martin Jansa 
---
 ...erver-Start-Xsession-like-x11-common-does.patch | 26 ++
 .../xserver-common/xserver-common_1.34.bb  |  1 +
 2 files changed, 27 insertions(+)
 create mode 100644 
meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0014-Xserver-Start-Xsession-like-x11-common-does.patch

diff --git 
a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0014-Xserver-Start-Xsession-like-x11-common-does.patch
 
b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0014-Xserver-Start-Xsession-like-x11-common-does.patch
new file mode 100644
index 000..25a18b9
--- /dev/null
+++ 
b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0014-Xserver-Start-Xsession-like-x11-common-does.patch
@@ -0,0 +1,26 @@
+From 8171f89944969a081be1ac193b2a59016e39a345 Mon Sep 17 00:00:00 2001
+From: Martin Jansa 
+Date: Tue, 29 Oct 2013 17:07:21 +0100
+Subject: [PATCH 14/14] Xserver: Start Xsession like x11-common does
+
+Signed-off-by: Martin Jansa 
+---
+ X11/Xserver | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/X11/Xserver b/X11/Xserver
+index 559f059..4b88637 100755
+--- a/X11/Xserver
 b/X11/Xserver
+@@ -4,6 +4,6 @@
+ . /etc/X11/xserver-common
+ 
+ echo "tslib: $TSLIB_TSDEVICE"
+-echo "exec $XSERVER $ARGS -dpi $DPI $*"
+-exec $XSERVER $ARGS -dpi $DPI $*
++echo "exec xinit /etc/X11/Xsession -- $XSERVER $ARGS -dpi $DPI $*"
+ 
++exec xinit /etc/X11/Xsession -- $XSERVER $ARGS -dpi $DPI $*
+-- 
+1.8.4.2
+
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb 
b/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb
index 3bb8b61..481e438 100644
--- a/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb
+++ b/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb
@@ -23,6 +23,7 @@ SRC_URI_append = " \
 file://0011-xserver-common-add-support-for-nexus-one-alias-mahim.patch \
 file://0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch \
 file://0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch \
+file://0014-Xserver-Start-Xsession-like-x11-common-does.patch \
 "
 
 do_install_append() {
-- 
1.8.4.2

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] utouch-mtview: Add missing dependency to libx11

2013-10-29 Thread Samuel Stirtzel
Also added RDEPENDS to virtual/xserver since this program cannot be used 
without X

Signed-off-by: Samuel Stirtzel 
---
 .../recipes-support/utouch/utouch-mtview_git.bb|4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/utouch/utouch-mtview_git.bb 
b/meta-oe/recipes-support/utouch/utouch-mtview_git.bb
index 0f72479..973d509 100644
--- a/meta-oe/recipes-support/utouch/utouch-mtview_git.bb
+++ b/meta-oe/recipes-support/utouch/utouch-mtview_git.bb
@@ -10,7 +10,9 @@ inherit autotools
 SRC_URI = "git://bitmath.org/git/mtview.git;protocol=http"
 SRCREV = "ad437c38dc111cf3990a03abf14efe1b5d89604b"
 
-DEPENDS += "mtdev utouch-frame utouch-evemu"
+DEPENDS += "mtdev utouch-frame utouch-evemu libx11"
+
+RDEPENDS += "virtual/xserver"
 
 PV = "1.1.7+git${SRCPV}"
 
-- 
1.7.9.5

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] OE Changelog since 2013-10-20 until 2013-10-27

2013-10-29 Thread cliff . brake
Changelog since 2013-10-20 until 2013-10-27.  Projects included in this report:

bitbake: git://git.openembedded.org/bitbake
openembedded-core: git://git.openembedded.org/openembedded-core
meta-openembedded: git://git.openembedded.org/meta-openembedded
meta-angstrom: git://github.com/Angstrom-distribution/meta-angstrom.git
meta-arago: git://arago-project.org/git/meta-arago.git
meta-beagleboard: git://github.com/beagleboard/meta-beagleboard.git
meta-browser: git://github.com/OSSystems/meta-browser.git
meta-bug: git://github.com/buglabs/meta-bug.git
meta-chicken: git://github.com/OSSystems/meta-chicken
meta-efikamx: git://github.com/kraj/meta-efikamx.git
meta-ettus: http://github.com/koenkooi/meta-ettus.git
meta-fsl-arm: git://git.yoctoproject.org/meta-fsl-arm
meta-fsl-arm-extra: git://github.com/Freescale/meta-fsl-arm-extra.git
meta-fsl-ppc: git://git.yoctoproject.org/meta-fsl-ppc
meta-guacamayo: git://github.com/Guacamayo/meta-guacamayo.git
meta-gumstix: git://github.com/gumstix/meta-gumstix.git
meta-gumstix-community: 
git://gitorious.org/schnitzeltony-oe-meta/meta-gumstix-community.git
meta-handheld: git://git.openembedded.org/meta-handheld
meta-igep: http://github.com/ebutera/meta-igep.git
meta-intel: git://git.yoctoproject.org/meta-intel
meta-ivi: git://git.yoctoproject.org/meta-ivi
meta-java: git://github.com/woglinde/meta-java
meta-kde: git://gitorious.org/openembedded-core-layers/meta-kde.git
meta-micro: git://git.openembedded.org/meta-micro
meta-mono: git://git.yoctoproject.org/meta-mono.git
meta-netbookpro: git://github.com/tworaz/meta-netbookpro
meta-nslu2: git://github.com/kraj/meta-nslu2
meta-opie: git://git.openembedded.org/meta-opie
meta-qt3: git://git.yoctoproject.org/meta-qt3
meta-qt5: git://github.com/meta-qt5/meta-qt5.git
meta-slugos: git://github.com/kraj/meta-slugos
meta-systemd: git://git.yoctoproject.org/meta-systemd
meta-raspberrypi: git://github.com/djwillis/meta-raspberrypi.git
meta-smartphone: http://git.shr-project.org/repo/meta-smartphone.git
meta-ti: git://git.yoctoproject.org/meta-ti
meta-webos: git://github.com/openwebos/meta-webos.git
meta-xilinx: git://git.yoctoproject.org/meta-xilinx
meta-yocto: git://git.yoctoproject.org/meta-yocto
openembedded: git://git.openembedded.org/openembedded


Changelog for bitbake:


Changelog for openembedded-core:

Andrea Adami (2):
  image_types.bbclass: do not force --no-cleanmarkers for jffs2
  image_types.bbclass: fix endiannes for sumtool (jffs2 summary)

Andreas Oberritter (2):
  mesa: make runtime variables depend on PACKAGECONFIG
  mesa-gl: use base_set_filespath

Bruce Ashfield (1):
  linux-yocto/3.10: MinnowBoard support

Chen Qi (1):
  runqemu-extract-sdk: add --numeric-owner option to tar command

Christopher Larson (1):
  base.bbclass: fix nondeterministic PACKAGECONFIG processing order

David Nyström (1):
  rpm: Add nativesdk to BBCLASSEXTEND

Fathi Boudra (1):
  openssl: use linux-generic64 target for Aarch64 (LE and BE)

Hongxu Jia (1):
  kernel-grub.bbclass: add a method to install/update for bzImage

Jackie Huang (1):
  midori: exclude from self-hosted for mips64

Koen Kooi (1):
  openssl: switch ARM builds from linux-elf-arm to linux-armv4 config

Konrad Scherer (2):
  relocate_sdk.py: Allow script to work with Python 2.4 and 3.
  cracklib: cracklib-native should not depend on zlib

Laurentiu Palcu (8):
  xmodmap: upgrade to 1.0.8
  python-setuptools: upgrade to 1.1.6
  xinit: upgrade to 1.3.3
  m4: upgrade to 1.4.17
  tar: upgrade to 1.27
  tcl: upgrade to 8.6.1
  mdadm: upgrade to 3.3
  gdb: upgrade to 7.6.1

Lu Chong (1):
  minicom: fix -v/-h return value

Marko Lindqvist (7):
  libxcb: fix build with automake-1.14
  libcheck: allow build with automake-1.14
  libfm: upgrade to upstream version 1.1.2.2
  libfm: allow build with automake-1.14
  gtk+: upgrade gtk+ to upstream version 2.24.22
  cairo: upgrade to upstream version 1.12.16
  harfbuzz: upgrade to upstream version 0.9.22

Maxin B. John (2):
  dropbear: update to 2013.60 version
  pigz: bump to 2.3.1

Michaël Burtin (1):
  initramfs-framework: fix test that filter backup module files

Ming Liu (6):
  bzip2: replace += with _append for appending to OVERRIDES variables
  libarchive: replace += with _append for appending to OVERRIDES variables
  nss: don't need set SRC_URI with both += and _append
  base-files: remove invalid entries from /etc/shells
  bash: dynamically add or remove a entry to/from /etc/shells
  screen: dynamically add or remove a entry to/from /etc/shells

Paul Eggleton (1):
  buildhistory-diff: add ability to report version changes

Petter Mabäcker (1):
  clutter: remove usage of FILESPATH

Qiang Chen (2):
  nfs-utils: Stop rpc.statd correctly
  nfs-utils: nfsserver restart should kill and recreate nfsd kernel threads

Ross Burton (2):
  packagegroup-base: if zeroconf DISTRO_FEATURE enabled, add libnss-mdns
  gdk-pixbuf: use PACKAGECONFIG to con

Re: [oe] [PATCH meta-networking v2] lowpan-tools: configure python files installation path

2013-10-29 Thread Joe MacDonald
Merged, thanks.
-J.

[[oe] [PATCH meta-networking v2] lowpan-tools: configure python files 
installation path] On 13.10.28 (Mon 10:20) rongqing...@windriver.com wrote:

> From: Roy Li 
> 
> configure python files installation path or else it will use the
> default value /usr/lib/python*, which is wrong on 64bit and multilibs
> enabled system
> 
> Signed-off-by: Roy Li 
> ---
>  meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb |4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb 
> b/meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb
> index cf78b45..152ee49 100644
> --- a/meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb
> +++ b/meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb
> @@ -13,7 +13,9 @@ SRCREV = "a1d9615adde6d1a568813c24a128273ed755af04"
>  
>  S = "${WORKDIR}/git"
>  
> -inherit autotools
> +inherit autotools python-dir
> +
> +CACHED_CONFIGUREVARS += 
> "am_cv_python_pythondir=${PYTHON_SITEPACKAGES_DIR}/lowpan-tools"
>  
>  do_install_append() {
>   rmdir ${D}${localstatedir}/run
-- 
-Joe MacDonald.
:wq


signature.asc
Description: Digital signature
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-multimedia][PATCH v2] libao add missing plugin to packages list

2013-10-29 Thread Patrick Patat
Signed-off-by: Patrick Patat 
---
 .../recipes-multimedia/libao/libao_1.1.0.bb|2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb 
b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
index 08950b5..efd5ec3 100644
--- a/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
+++ b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
@@ -11,6 +11,8 @@ SRC_URI[sha256sum] = 
"29de5bb9b1726ba890455ef7e562d877df87811febb0d99ee69164b88c
 
 inherit autotools
 
+PACKAGES_DYNAMIC += "^${BPN}-plugin-.*"
+
 do_install_append () {
 find "${D}" -name '*.la' -exec rm -f {} +
 }
-- 
1.7.9.5

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-multimedia][PATCH] libao add missing plugin to packages list

2013-10-29 Thread Martin Jansa
On Tue, Oct 29, 2013 at 01:24:26PM +0100, Patrick Patat wrote:
> Signed-off-by: Patrick Patat 
> ---
>  .../recipes-multimedia/libao/libao_1.1.0.bb|2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb 
> b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
> index 08950b5..47e8f28 100644
> --- a/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
> +++ b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
> @@ -11,6 +11,8 @@ SRC_URI[sha256sum] = 
> "29de5bb9b1726ba890455ef7e562d877df87811febb0d99ee69164b88c
>  
>  inherit autotools
>  
> +PACKAGES =+ "libao-plugin-libalsa libao-plugin-liboss libao-plugin-libpulse 
> libao-plugin-libalsa-dbg libao-plugin-liboss-dbg libao-plugin-libpulse-dbg" 
> +

libao is using do_split_packages so instead of hardcoding list of   
  
plugins add add PACKAGES_DYNAMIC matching output_pattern in 
  
do_split_packages call. 
  

>  do_install_append () {
>  find "${D}" -name '*.la' -exec rm -f {} +
>  }
> -- 
> 1.7.9.5
> 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-multimedia][PATCH] libao add missing plugin to packages list

2013-10-29 Thread Patrick Patat
Signed-off-by: Patrick Patat 
---
 .../recipes-multimedia/libao/libao_1.1.0.bb|2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb 
b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
index 08950b5..47e8f28 100644
--- a/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
+++ b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
@@ -11,6 +11,8 @@ SRC_URI[sha256sum] = 
"29de5bb9b1726ba890455ef7e562d877df87811febb0d99ee69164b88c
 
 inherit autotools
 
+PACKAGES =+ "libao-plugin-libalsa libao-plugin-liboss libao-plugin-libpulse 
libao-plugin-libalsa-dbg libao-plugin-liboss-dbg libao-plugin-libpulse-dbg" 
+
 do_install_append () {
 find "${D}" -name '*.la' -exec rm -f {} +
 }
-- 
1.7.9.5

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-systemd][PATCH] openssh: Rename .bbappend to match new version from oe-core

2013-10-29 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 .../openssh/{openssh_6.2p2.bbappend => openssh_6.3p1.bbappend}| 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename 
meta-systemd/oe-core/recipes-connectivity/openssh/{openssh_6.2p2.bbappend => 
openssh_6.3p1.bbappend} (100%)

diff --git 
a/meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.2p2.bbappend 
b/meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.3p1.bbappend
similarity index 100%
rename from 
meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.2p2.bbappend
rename to 
meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.3p1.bbappend
-- 
1.8.4.2

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-qt5][PATCH] qtbase: add upstream QTBUG-34218/QTBUG-34234 misaligned selection patch

2013-10-29 Thread Martin Jansa
On Thu, Oct 24, 2013 at 09:56:37PM +1100, Jonathan Liu wrote:
> Signed-off-by: Jonathan Liu 
> ---
>  ...ned-selection-region-with-text-when-cente.patch | 74 
> ++
>  ...ned-selection-region-with-text-when-cente.patch | 74 
> ++
>  recipes-qt/qt5/qtbase.inc  |  1 +
>  3 files changed, 149 insertions(+)
>  create mode 100644 
> recipes-qt/qt5/qtbase-5.1.1/0027-Fix-misaligned-selection-region-with-text-when-cente.patch
>  create mode 100644 
> recipes-qt/qt5/qtbase-git/0027-Fix-misaligned-selection-region-with-text-when-cente.patch
> 
> diff --git 
> a/recipes-qt/qt5/qtbase-5.1.1/0027-Fix-misaligned-selection-region-with-text-when-cente.patch
>  
> b/recipes-qt/qt5/qtbase-5.1.1/0027-Fix-misaligned-selection-region-with-text-when-cente.patch
> new file mode 100644
> index 000..d5e082e
> --- /dev/null
> +++ 
> b/recipes-qt/qt5/qtbase-5.1.1/0027-Fix-misaligned-selection-region-with-text-when-cente.patch
> @@ -0,0 +1,74 @@
> +From 5d8a882c11201a29475c5ea71cfb76c9de6573f5 Mon Sep 17 00:00:00 2001
> +From: Jonathan Liu 
> +Date: Wed, 23 Oct 2013 00:28:17 +1100
> +Subject: [PATCH] Fix misaligned selection region with text when centered
> +
> +If the text is centered, the x/y position in the selection QRectF may
> +be a multiple of 0.5 which is rounded up. This rounding causes
> +misalignment of the selection region with the text.
> +
> +The alignment is fixed by using qFloor on the x and y components.
> +
> +Upstream-Status: Accepted [https://codereview.qt-project.org/#change,68842]
> +Signed-off-by: Jonathan Liu 
> +
> +Task-number: QTBUG-34218
> +Task-number: QTBUG-34234
> +Change-Id: I4f2fadeb38602f62a93773c6e5faecf03b28069f
> +Reviewed-by: Gunnar Sletta 
> +---
> + src/gui/text/qtextlayout.cpp | 19 ++-
> + 1 file changed, 14 insertions(+), 5 deletions(-)
> +
> +diff --git a/src/gui/text/qtextlayout.cpp b/src/gui/text/qtextlayout.cpp
> +index 54d337e..66341e1 100644
> +--- a/src/gui/text/qtextlayout.cpp
>  b/src/gui/text/qtextlayout.cpp
> +@@ -44,6 +44,7 @@
> + 
> + #include 
> + #include 
> ++#include 
> + #include 
> + #include 
> + #include 
> +@@ -946,15 +947,23 @@ static void addSelectedRegionsToPath(QTextEngine *eng, 
> int lineNumber, const QPo
> + continue;
> + }
> + 
> +-if (lastSelectionWidth > 0)
> +-region->addRect(boundingRect & 
> QRectF(lastSelectionX.toReal(), selectionY, lastSelectionWidth.toReal(), 
> lineHeight));
> ++if (lastSelectionWidth > 0) {
> ++QRectF rect = boundingRect & 
> QRectF(lastSelectionX.toReal(), selectionY, lastSelectionWidth.toReal(), 
> lineHeight);
> ++rect.moveLeft(qFloor(rect.left()));
> ++rect.moveTop(qFloor(rect.top()));
> ++region->addRect(rect);
> ++}
> + 
> + lastSelectionX = selectionX;
> + lastSelectionWidth = selectionWidth;
> + }
> + }
> +-if (lastSelectionWidth > 0)
> +-region->addRect(boundingRect & QRectF(lastSelectionX.toReal(), 
> selectionY, lastSelectionWidth.toReal(), lineHeight));
> ++if (lastSelectionWidth > 0) {
> ++QRectF rect = boundingRect & QRectF(lastSelectionX.toReal(), 
> selectionY, lastSelectionWidth.toReal(), lineHeight);
> ++rect.moveLeft(qFloor(rect.left()));
> ++rect.moveTop(qFloor(rect.top()));
> ++region->addRect(rect);
> ++}
> + }
> + 
> + static inline QRectF clipIfValid(const QRectF &rect, const QRectF &clip)
> +@@ -2077,7 +2086,7 @@ static void setPenAndDrawBackground(QPainter *p, const 
> QPen &defaultPen, const Q
> + 
> + QBrush bg = chf.background();
> + if (bg.style() != Qt::NoBrush && 
> !chf.property(SuppressBackground).toBool())
> +-p->fillRect(r, bg);
> ++p->fillRect(QRectF(qFloor(r.x()), qFloor(r.y()), r.width(), 
> r.height()), bg);
> + if (c.style() != Qt::NoBrush) {
> + p->setPen(QPen(c, 0));
> + }
> +-- 
> +1.8.4
> +
> diff --git 
> a/recipes-qt/qt5/qtbase-git/0027-Fix-misaligned-selection-region-with-text-when-cente.patch
>  
> b/recipes-qt/qt5/qtbase-git/0027-Fix-misaligned-selection-region-with-text-when-cente.patch
> new file mode 100644
> index 000..d5e082e
> --- /dev/null
> +++ 
> b/recipes-qt/qt5/qtbase-git/0027-Fix-misaligned-selection-region-with-text-when-cente.patch
> @@ -0,0 +1,74 @@
> +From 5d8a882c11201a29475c5ea71cfb76c9de6573f5 Mon Sep 17 00:00:00 2001
> +From: Jonathan Liu 
> +Date: Wed, 23 Oct 2013 00:28:17 +1100
> +Subject: [PATCH] Fix misaligned selection region with text when centered
> +
> +If the text is centered, the x/y position in the selection QRectF may
> +be a multiple of 0.5 which is rounded up. This rounding causes
> +misalignment of the selection region with the text.
> +
> +The alignment is fixed by using qFloor on the x and y components.
> +
> +Upstream-Status: Accepted [https://codereview.qt-project.org/#change,68842]
> +Signed

Re: [oe] [meta-multimedia][PATCH] libao add missing plugin to packages list Signed-off-by: Patrick Patat

2013-10-29 Thread Martin Jansa

You need blank line between subject and SOB line.

On Tue, Oct 29, 2013 at 12:19:32PM +0100, Patrick Patat wrote:
> ---
>  .../recipes-multimedia/libao/libao_1.1.0.bb|2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb 
> b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
> index 08950b5..47e8f28 100644
> --- a/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
> +++ b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
> @@ -11,6 +11,8 @@ SRC_URI[sha256sum] = 
> "29de5bb9b1726ba890455ef7e562d877df87811febb0d99ee69164b88c
>  
>  inherit autotools
>  
> +PACKAGES =+ "libao-plugin-libalsa libao-plugin-liboss libao-plugin-libpulse 
> libao-plugin-libalsa-dbg libao-plugin-liboss-dbg libao-plugin-libpulse-dbg" 

libao is using do_split_packages so instead of hardcoding list of
plugins add add PACKAGES_DYNAMIC matching output_pattern in
do_split_packages call.

> +
>  do_install_append () {
>  find "${D}" -name '*.la' -exec rm -f {} +
>  }
> -- 
> 1.7.9.5
> 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-multimedia][PATCH] libao add missing plugin to packages list Signed-off-by: Patrick Patat

2013-10-29 Thread Patrick Patat
---
 .../recipes-multimedia/libao/libao_1.1.0.bb|2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb 
b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
index 08950b5..47e8f28 100644
--- a/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
+++ b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
@@ -11,6 +11,8 @@ SRC_URI[sha256sum] = 
"29de5bb9b1726ba890455ef7e562d877df87811febb0d99ee69164b88c
 
 inherit autotools
 
+PACKAGES =+ "libao-plugin-libalsa libao-plugin-liboss libao-plugin-libpulse 
libao-plugin-libalsa-dbg libao-plugin-liboss-dbg libao-plugin-libpulse-dbg" 
+
 do_install_append () {
 find "${D}" -name '*.la' -exec rm -f {} +
 }
-- 
1.7.9.5

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-qt5][RFC] qtbase: fix build for gles2 enabled by PACKAGECONFIG

2013-10-29 Thread Martin Jansa
On Tue, Oct 29, 2013 at 09:14:09AM +0100, Andreas Müller wrote:
> On Tue, Oct 29, 2013 at 8:07 AM, Martin Jansa  wrote:
> > On Tue, Oct 29, 2013 at 12:06:15AM +0100, Andreas Müller wrote:
> >> While playing around with QtQuick I needed gles2 support. Doing so I faced 
> >> tons
> >> of error messages as mentionet in patch. It is caused by include chain:
> >>
> >> EGL/egl.h -> EGL/eglplatform.h -> X11/Xlib.h -> X.h
> >>
> >> In X.h we find definitions like
> >>
> >> #ifndef None
> >> #define None 0L   /* universal null resource or null 
> >> atom */
> >> #endif
> >>
> >> This causes building Qt to crash when using these kind of symbols.
> >>
> >> The patch was sent as RFC because:
> >>
> >> 1.  I would like ro discuss this at inter...@qt-project.org and/or
> >> developm...@qt-project.org but it was not possible to subscribe. I sent
> >> a mail to listmaster but no response either.
> >> 2.  qtbase_git might need same (and fails with the patch)
> >> 3.  This is not a proper solution: It is fragile and will return for future
> >> changes. Proper soultion would be renaming the symbols Qt but I cannot
> >> discuss due to 1.
> >> 4.  Nobody reported a build error for meta-qt5 so far.
> >
> > We had similar problem, but fixed gles2 provider instead, in our case we
> > were using libhybris and the fix was to prevent loading X11 headers when
> > we want to use just gles2 from it.
> >
> > Similar changes were added to mesa lately, can you do the same with
> > gles2 provider on your platform?
> It is the egl part causing trouble and the headers we use are the
> latest from khronos. I don't understand what the workaround exactly
> looks like - could you provide further hints?

Something like this:
https://github.com/stskeeps/libhybris/commit/6b2815973f98601e39d916a8f53a4f6acb76b22b

or directly in mesa:
http://git.openembedded.org/openembedded-core/commit/meta/recipes-graphics/mesa/mesa?h=dylan&id=e4f5a568ec8df772f2b8c07f2ac946b2e9247ccd
or newer versions:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a7275de9a0088cedab17131eec82bd2cada26c3

> >
> > I must admit that I haven't read the patch yet and haven't finished
> > morning coffee :).
> >
> Andreas
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-qt5][RFC] qtbase: fix build for gles2 enabled by PACKAGECONFIG

2013-10-29 Thread Andreas Müller
On Tue, Oct 29, 2013 at 8:07 AM, Martin Jansa  wrote:
> On Tue, Oct 29, 2013 at 12:06:15AM +0100, Andreas Müller wrote:
>> While playing around with QtQuick I needed gles2 support. Doing so I faced 
>> tons
>> of error messages as mentionet in patch. It is caused by include chain:
>>
>> EGL/egl.h -> EGL/eglplatform.h -> X11/Xlib.h -> X.h
>>
>> In X.h we find definitions like
>>
>> #ifndef None
>> #define None 0L   /* universal null resource or null 
>> atom */
>> #endif
>>
>> This causes building Qt to crash when using these kind of symbols.
>>
>> The patch was sent as RFC because:
>>
>> 1.  I would like ro discuss this at inter...@qt-project.org and/or
>> developm...@qt-project.org but it was not possible to subscribe. I sent
>> a mail to listmaster but no response either.
>> 2.  qtbase_git might need same (and fails with the patch)
>> 3.  This is not a proper solution: It is fragile and will return for future
>> changes. Proper soultion would be renaming the symbols Qt but I cannot
>> discuss due to 1.
>> 4.  Nobody reported a build error for meta-qt5 so far.
>
> We had similar problem, but fixed gles2 provider instead, in our case we
> were using libhybris and the fix was to prevent loading X11 headers when
> we want to use just gles2 from it.
>
> Similar changes were added to mesa lately, can you do the same with
> gles2 provider on your platform?
It is the egl part causing trouble and the headers we use are the
latest from khronos. I don't understand what the workaround exactly
looks like - could you provide further hints?
>
> I must admit that I haven't read the patch yet and haven't finished
> morning coffee :).
>
Andreas
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-qt5][RFC] qtbase: fix build for gles2 enabled by PACKAGECONFIG

2013-10-29 Thread Martin Jansa
On Tue, Oct 29, 2013 at 12:06:15AM +0100, Andreas Müller wrote:
> While playing around with QtQuick I needed gles2 support. Doing so I faced 
> tons
> of error messages as mentionet in patch. It is caused by include chain:
> 
> EGL/egl.h -> EGL/eglplatform.h -> X11/Xlib.h -> X.h
> 
> In X.h we find definitions like
> 
> #ifndef None
> #define None 0L   /* universal null resource or null atom 
> */
> #endif
> 
> This causes building Qt to crash when using these kind of symbols.
> 
> The patch was sent as RFC because:
> 
> 1.  I would like ro discuss this at inter...@qt-project.org and/or 
> developm...@qt-project.org but it was not possible to subscribe. I sent
> a mail to listmaster but no response either.
> 2.  qtbase_git might need same (and fails with the patch)
> 3.  This is not a proper solution: It is fragile and will return for future
> changes. Proper soultion would be renaming the symbols Qt but I cannot
> discuss due to 1.
> 4.  Nobody reported a build error for meta-qt5 so far.

We had similar problem, but fixed gles2 provider instead, in our case we
were using libhybris and the fix was to prevent loading X11 headers when
we want to use just gles2 from it.

Similar changes were added to mesa lately, can you do the same with
gles2 provider on your platform?

I must admit that I haven't read the patch yet and haven't finished
morning coffee :).

> Andreas Müller (1):
>   qtbase: fix build for gles2 enabled by PACKAGECONFIG
> 
>  ...-reorder-includes-to-fix-build-with-eglfs.patch | 238 
> +
>  recipes-qt/qt5/qtbase.inc  |   1 +
>  2 files changed, 239 insertions(+)
>  create mode 100644 
> recipes-qt/qt5/qtbase-5.1.1/0027-reorder-includes-to-fix-build-with-eglfs.patch
> 
> -- 
> 1.8.3.1
> 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel