[oe] [PATCH v3] gnome-keyring: Resolve conflict with gcr 3 and gold linking error

2017-09-13 Thread Rob Woolley
The gnome-keyring is used to configure save certain wifi attributes
when using xfce or a gnome based UI.

Removing org.gnome.crypto.pgp.* makes gnome-keyring compatible with
gcr 3.

The gnome-keyring needs libgmodule to be explicitly added in order
to satisfy the gold linker.  This is necessary because pkg-config
doesn't list libgmodule as one of the libraries for gtk+-2.0.

Signed-off-by: Jason Wessel 
Signed-off-by: Martin Jansa 
Signed-off-by: Rob Woolley 
---
 .../recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb   | 11 ++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb 
b/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb
index 4ac75cbef..3b4cbf57f 100644
--- a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb
+++ b/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb
@@ -20,6 +20,8 @@ SRC_URI += "file://egg-asn1x.patch"
 DEPENDS = "gtk+ libgcrypt libtasn1 libtasn1-native gconf 
${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} 
intltool-native"
 RDEPENDS_${PN} = "libgnome-keyring glib-2.0-utils"
 
+LDFLAGS += "-lgmodule-2.0"
+
 EXTRA_OECONF = "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--enable-pam 
--with-pam-dir=${base_libdir}/security', '--disable-pam', d)}"
 
 SRC_URI[archive.md5sum] = "9a8aa74e03361676f29d6e73155786fc"
@@ -42,4 +44,11 @@ FILES_${PN}-dbg += "${libdir}/${BPN}/standalone/.debug/ \
 ${libdir}/${BPN}/devel/.debug/ \
 ${base_libdir}/security/.debug/"
 
-PNBLACKLIST[gnome-keyring] ?= "This version conflicts with gcr from oe-core - 
the recipe will be removed on 2017-09-01 unless the issue is fixed"
+# Make compatible with gcr version 3 or newer by removing
+# org.gnome.crypto.pgp.*, which is the provider for this optional
+# functionality.
+
+do_install_append() {
+   rm ${D}${datadir}/GConf/gsettings/org.gnome.crypto.pgp.convert
+   rm ${D}${datadir}/glib-2.0/schemas/org.gnome.crypto.pgp.gschema.xml
+}
-- 
2.11.0

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


[oe] [meta-oe][PATCH] daemontools: Add HOMEPAGE info into recipe file.

2017-09-13 Thread Huang Qiyu
From: Bian Yaqin 

Signed-off-by: Bian Yaqin 
---
 meta-oe/recipes-support/daemontools/daemontools_0.76.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/daemontools/daemontools_0.76.bb 
b/meta-oe/recipes-support/daemontools/daemontools_0.76.bb
index def58db..84e9bca 100644
--- a/meta-oe/recipes-support/daemontools/daemontools_0.76.bb
+++ b/meta-oe/recipes-support/daemontools/daemontools_0.76.bb
@@ -1,4 +1,5 @@
 SUMMARY = "DJB daemontools"
+HOMEPAGE = "http://cr.yp.to/daemontools.html;
 DESCRIPTION = "supervise monitors a service. It starts the service and 
restarts the \
 service if it dies. The companion svc program stops, pauses, or restarts \
 the service on sysadmin request. The svstat program prints a one-line \
-- 
2.7.4



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


[oe] [meta-oe][PATCH] libndp: Add HOMEPAGE info into recipe file.

2017-09-13 Thread Huang Qiyu
Signed-off-by: Huang Qiyu 
---
 meta-oe/recipes-connectivity/libndp/libndp_1.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-connectivity/libndp/libndp_1.6.bb 
b/meta-oe/recipes-connectivity/libndp/libndp_1.6.bb
index 2cc345a..5148798 100644
--- a/meta-oe/recipes-connectivity/libndp/libndp_1.6.bb
+++ b/meta-oe/recipes-connectivity/libndp/libndp_1.6.bb
@@ -1,5 +1,5 @@
 SUMMARY = "Library for IPv6 Neighbor Discovery Protocol"
-
+HOMEPAGE = "http://libndp.org/;
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
-- 
2.7.4



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


[oe] [meta-oe][PATCH] fbset: Add HOMEPAGE info into recipe file.

2017-09-13 Thread Huang Qiyu
From: Bian Yaqin 

Signed-off-by: Bian Yaqin 
---
 meta-oe/recipes-support/fbset/fbset_2.1.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/fbset/fbset_2.1.bb 
b/meta-oe/recipes-support/fbset/fbset_2.1.bb
index cbbe6ca..fbf834d 100644
--- a/meta-oe/recipes-support/fbset/fbset_2.1.bb
+++ b/meta-oe/recipes-support/fbset/fbset_2.1.bb
@@ -6,6 +6,7 @@
 # Date: 28-May-06
 
 SUMMARY = "The fbset console tool"
+HOMEPAGE = "http://users.telenet.be/geertu/Linux/fbdev/;
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = 
"file://fbset.c;endline=19;md5=bf326f82cdfcac391af208f019c5603f"
 RRECOMMENDS_${PN} = "fbset-modes"
-- 
2.7.4



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


[oe] [meta-oe][PATCH] liblockfile: Add HOMEPAGE info into recipe file.

2017-09-13 Thread Huang Qiyu
Signed-off-by: Huang Qiyu 
---
 meta-oe/recipes-extended/liblockfile/liblockfile_1.09.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-extended/liblockfile/liblockfile_1.09.bb 
b/meta-oe/recipes-extended/liblockfile/liblockfile_1.09.bb
index e5655b5..0c41afa 100644
--- a/meta-oe/recipes-extended/liblockfile/liblockfile_1.09.bb
+++ b/meta-oe/recipes-extended/liblockfile/liblockfile_1.09.bb
@@ -1,4 +1,5 @@
 SUMMARY = "File locking library"
+HOMEPAGE = "http://packages.qa.debian.org/libl/liblockfile.html;
 SECTION = "libs"
 LICENSE = "LGPLv2+ & GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=ac284a60d48eaa4bc811cddc377fa341"
-- 
2.7.4



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


[oe] [meta-gnome][PATCH] libidl: Add HOMEPAGE info into recipe file.

2017-09-13 Thread Huang Qiyu
Signed-off-by: Huang Qiyu 
---
 meta-gnome/recipes-gnome/libidl/libidl.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-gnome/recipes-gnome/libidl/libidl.inc 
b/meta-gnome/recipes-gnome/libidl/libidl.inc
index a402037..1a5c815 100644
--- a/meta-gnome/recipes-gnome/libidl/libidl.inc
+++ b/meta-gnome/recipes-gnome/libidl/libidl.inc
@@ -1,4 +1,5 @@
 DESCRIPTION = "Library for parsing CORBA IDL files"
+HOMEPAGE = "http://andrewtv.org/libIDL/;
 SECTION = "x11/gnome/libs"
 LICENSE = "LGPLv2+"
 
-- 
2.7.4



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


[oe] [meta-networking][PATCH] ipvsadm: Add HOMEPAGE info into recipe file.

2017-09-13 Thread Huang Qiyu
Signed-off-by: Huang Qiyu 
---
 meta-networking/recipes-support/ipvsadm/ipvsadm_1.26.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-networking/recipes-support/ipvsadm/ipvsadm_1.26.bb 
b/meta-networking/recipes-support/ipvsadm/ipvsadm_1.26.bb
index 8d1b3f0..b35a9f4 100644
--- a/meta-networking/recipes-support/ipvsadm/ipvsadm_1.26.bb
+++ b/meta-networking/recipes-support/ipvsadm/ipvsadm_1.26.bb
@@ -1,4 +1,5 @@
 SUMMARY = "Linux Virtual Server administration Utility"
+HOMEPAGE = "http://www.linux-vs.org/software/index.html;
 DESCRIPTION = "Ipvsadm  is  used  to set up, maintain or inspect the virtual 
server \
 table in the Linux kernel. The Linux Virtual  Server  can  be  used  to \
 build  scalable  network  services  based  on  a cluster of two or more nodes. 
\
-- 
2.7.4



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


[oe] [meta-oe][PATCH] fbset: Add HOMEPAGE info into recipe file.

2017-09-13 Thread Huang Qiyu
From: Bian Yaqin 

Signed-off-by: Bian Yaqin 
---
 meta-oe/recipes-support/fbset/fbset_2.1.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/fbset/fbset_2.1.bb 
b/meta-oe/recipes-support/fbset/fbset_2.1.bb
index cbbe6ca..fbf834d 100644
--- a/meta-oe/recipes-support/fbset/fbset_2.1.bb
+++ b/meta-oe/recipes-support/fbset/fbset_2.1.bb
@@ -6,6 +6,7 @@
 # Date: 28-May-06
 
 SUMMARY = "The fbset console tool"
+HOMEPAGE = "http://users.telenet.be/geertu/Linux/fbdev/;
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = 
"file://fbset.c;endline=19;md5=bf326f82cdfcac391af208f019c5603f"
 RRECOMMENDS_${PN} = "fbset-modes"
-- 
2.7.4



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


[oe] [meta-oe][PATCH] libjs-sizzle: Add HOMEPAGE info into recipe file.

2017-09-13 Thread Huang Qiyu
Signed-off-by: Huang Qiyu 
---
 meta-oe/recipes-support/libjs/libjs-sizzle_1.10.18.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/libjs/libjs-sizzle_1.10.18.bb 
b/meta-oe/recipes-support/libjs/libjs-sizzle_1.10.18.bb
index 92ab31f..4928b6c 100644
--- a/meta-oe/recipes-support/libjs/libjs-sizzle_1.10.18.bb
+++ b/meta-oe/recipes-support/libjs/libjs-sizzle_1.10.18.bb
@@ -1,4 +1,5 @@
 SUMMARY = "Pure-JavaScript CSS selector engine"
+HOMEPAGE = "https://github.com/jquery/sizzle/wiki;
 LICENSE = "GPL-2.0 & MIT & AFL-2.1"
 LIC_FILES_CHKSUM = 
"file://MIT-LICENSE.txt;md5=e43aa437a6a1ba421653bd5034333bf9"
 
-- 
2.7.4



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


[oe] [meta-oe][PATCH] daemontools: Add HOMEPAGE info into recipe file.

2017-09-13 Thread Huang Qiyu
From: Bian Yaqin 

Signed-off-by: Bian Yaqin 
---
 meta-oe/recipes-support/daemontools/daemontools_0.76.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/daemontools/daemontools_0.76.bb 
b/meta-oe/recipes-support/daemontools/daemontools_0.76.bb
index def58db..84e9bca 100644
--- a/meta-oe/recipes-support/daemontools/daemontools_0.76.bb
+++ b/meta-oe/recipes-support/daemontools/daemontools_0.76.bb
@@ -1,4 +1,5 @@
 SUMMARY = "DJB daemontools"
+HOMEPAGE = "http://cr.yp.to/daemontools.html;
 DESCRIPTION = "supervise monitors a service. It starts the service and 
restarts the \
 service if it dies. The companion svc program stops, pauses, or restarts \
 the service on sysadmin request. The svstat program prints a one-line \
-- 
2.7.4



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


Re: [oe] [meta-oe][PATCH 3/3] gnome-keyring: delete blacklisted

2017-09-13 Thread Martin Jansa
Thanks Rob,

please send v2 of this one:
http://lists.openembedded.org/pipermail/openembedded-devel/2017-August/114340.html

and I'll apply it instead of this removal.

On Wed, Sep 13, 2017 at 11:48 PM, Rob Woolley 
wrote:

> Hi Martin,
>
> I just started looking into this today.
>
> Adding libgmodule to the gnome-keyring recipe should resolve the problem
> you're seeing: LDFLAGS += "-lgmodule-2.0"
>
> How would you like me to send a patch should I merge it with Jason's
> previous patch or make a new patch in the series?
>
> Regards,
> Rob
>
> On Tue, Sep 12, 2017 at 4:36 AM, Martin Jansa 
> wrote:
>
>> * there was some work on it recently, but still contains QA issues and no
>>   reply in 2 weeks:
>>   http://lists.openembedded.org/pipermail/openembedded-devel/2
>> 017-August/114415.html
>>
>> Signed-off-by: Martin Jansa 
>> ---
>>  .../gnome-keyring/gnome-keyring/egg-asn1x.patch| 55
>> --
>>  .../gnome-keyring/gnome-keyring_2.32.1.bb  | 45
>> --
>>  2 files changed, 100 deletions(-)
>>  delete mode 100644 meta-gnome/recipes-gnome/gnome
>> -keyring/gnome-keyring/egg-asn1x.patch
>>  delete mode 100644 meta-gnome/recipes-gnome/gnome-keyring/
>> gnome-keyring_2.32.1.bb
>>
>> diff --git 
>> a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring/egg-asn1x.patch
>> b/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring/egg-asn1x.patch
>> deleted file mode 100644
>> index ad8a40ccf..0
>> --- a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring/egg-a
>> sn1x.patch
>> +++ /dev/null
>> @@ -1,55 +0,0 @@
>> -Fixed build error with gcc 4.8
>> -
>> -Errors like below
>> -
>> -egg-asn1x.c: In function 'anode_encode_build':
>> -egg-asn1x.c:1280:7: warning: variable 'type' set but not used
>> [-Wunused-but-set-variable]
>> -egg-asn1x.c: In function 'traverse_and_prepare':
>> -egg-asn1x.c:3354:3: warning: passing argument 1 of 'egg_asn1x_create'
>> from incompatible pointer type [enabled by default]
>> -In file included from egg-asn1x.c:50:0:
>> -egg-asn1x.h:38:8: note: expected 'const struct static_struct_asn *' but
>> argument is of type 'const struct asn1_static_node *'
>> -egg-asn1x.c: At top level:
>> -egg-asn1x.c:3509:1: error: conflicting types for 'egg_asn1x_create'
>> -In file included from egg-asn1x.c:50:0:
>> -egg-asn1x.h:38:8: note: previous declaration of 'egg_asn1x_create' was
>> here
>> -egg-asn1x.c:3572:1: error: conflicting types for 'egg_asn1x_create_quark'
>> -In file included from egg-asn1x.c:50:0:
>> -egg-asn1x.h:41:8: note: previous declaration of 'egg_asn1x_create_quark'
>> was here
>> -egg-asn1x.c:3579:1: error: conflicting types for
>> 'egg_asn1x_create_and_decode'
>> -In file included from egg-asn1x.c:50:0:
>> -egg-asn1x.h:44:8: note: previous declaration of
>> 'egg_asn1x_create_and_decode' was here
>> -make[4]: *** [libegg_la-egg-asn1x.lo] Error 1
>> -
>> -
>> -Signed-off-by: Khem Raj 
>> -
>> -Upstream-Status: Pending
>> -Index: gnome-keyring-2.32.1/egg/egg-asn1x.h
>> -===
>>  gnome-keyring-2.32.1.orig/egg/egg-asn1x.h  2010-10-18
>> 19:11:38.0 -0700
>> -+++ gnome-keyring-2.32.1/egg/egg-asn1x.h   2013-06-11
>> 15:15:00.675399263 -0700
>> -@@ -25,6 +25,7 @@
>> - #define EGG_ASN1X_H_
>> -
>> - #include 
>> -+#include 
>> -
>> - #ifndef HAVE_EGG_ALLOCATOR
>> - typedef void* (*EggAllocator) (void* p, gsize);
>> -@@ -35,13 +36,13 @@
>> -
>> - struct static_struct_asn;
>> -
>> --GNode*  egg_asn1x_create (const struct
>> static_struct_asn *defs,
>> -+GNode*  egg_asn1x_create (const
>> ASN1_ARRAY_TYPE *defs,
>> -   const gchar
>> *type);
>> -
>> --GNode*  egg_asn1x_create_quark   (const struct
>> static_struct_asn *defs,
>> -+GNode*  egg_asn1x_create_quark   (const
>> ASN1_ARRAY_TYPE *defs,
>> -   GQuark type);
>> -
>> --GNode*  egg_asn1x_create_and_decode  (const struct
>> static_struct_asn *defs,
>> -+GNode*  egg_asn1x_create_and_decode  (const
>> ASN1_ARRAY_TYPE *defs,
>> -   const gchar *type,
>> -   gconstpointer
>> data,
>> -   gsize n_data);
>> diff --git a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.
>> 1.bb b/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb
>> deleted file mode 100644
>> index 4ac75cbef..0
>> --- a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb
>> +++ /dev/null
>> @@ -1,45 +0,0 @@
>> -SUMMARY = "Password and keyring managing daemon"
>> -HOMEPAGE = "http://www.gnome.org/;
>> -BUGTRACKER = "https://bugzilla.gnome.org/;

Re: [oe] [meta-oe][PATCH 3/3] gnome-keyring: delete blacklisted

2017-09-13 Thread Rob Woolley
Hi Martin,

I just started looking into this today.

Adding libgmodule to the gnome-keyring recipe should resolve the problem
you're seeing: LDFLAGS += "-lgmodule-2.0"

How would you like me to send a patch should I merge it with Jason's
previous patch or make a new patch in the series?

Regards,
Rob

On Tue, Sep 12, 2017 at 4:36 AM, Martin Jansa 
wrote:

> * there was some work on it recently, but still contains QA issues and no
>   reply in 2 weeks:
>   http://lists.openembedded.org/pipermail/openembedded-devel/2
> 017-August/114415.html
>
> Signed-off-by: Martin Jansa 
> ---
>  .../gnome-keyring/gnome-keyring/egg-asn1x.patch| 55
> --
>  .../gnome-keyring/gnome-keyring_2.32.1.bb  | 45
> --
>  2 files changed, 100 deletions(-)
>  delete mode 100644 meta-gnome/recipes-gnome/gnome
> -keyring/gnome-keyring/egg-asn1x.patch
>  delete mode 100644 meta-gnome/recipes-gnome/gnome-keyring/
> gnome-keyring_2.32.1.bb
>
> diff --git 
> a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring/egg-asn1x.patch
> b/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring/egg-asn1x.patch
> deleted file mode 100644
> index ad8a40ccf..0
> --- a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring/egg-asn1x.patch
> +++ /dev/null
> @@ -1,55 +0,0 @@
> -Fixed build error with gcc 4.8
> -
> -Errors like below
> -
> -egg-asn1x.c: In function 'anode_encode_build':
> -egg-asn1x.c:1280:7: warning: variable 'type' set but not used
> [-Wunused-but-set-variable]
> -egg-asn1x.c: In function 'traverse_and_prepare':
> -egg-asn1x.c:3354:3: warning: passing argument 1 of 'egg_asn1x_create'
> from incompatible pointer type [enabled by default]
> -In file included from egg-asn1x.c:50:0:
> -egg-asn1x.h:38:8: note: expected 'const struct static_struct_asn *' but
> argument is of type 'const struct asn1_static_node *'
> -egg-asn1x.c: At top level:
> -egg-asn1x.c:3509:1: error: conflicting types for 'egg_asn1x_create'
> -In file included from egg-asn1x.c:50:0:
> -egg-asn1x.h:38:8: note: previous declaration of 'egg_asn1x_create' was
> here
> -egg-asn1x.c:3572:1: error: conflicting types for 'egg_asn1x_create_quark'
> -In file included from egg-asn1x.c:50:0:
> -egg-asn1x.h:41:8: note: previous declaration of 'egg_asn1x_create_quark'
> was here
> -egg-asn1x.c:3579:1: error: conflicting types for
> 'egg_asn1x_create_and_decode'
> -In file included from egg-asn1x.c:50:0:
> -egg-asn1x.h:44:8: note: previous declaration of
> 'egg_asn1x_create_and_decode' was here
> -make[4]: *** [libegg_la-egg-asn1x.lo] Error 1
> -
> -
> -Signed-off-by: Khem Raj 
> -
> -Upstream-Status: Pending
> -Index: gnome-keyring-2.32.1/egg/egg-asn1x.h
> -===
>  gnome-keyring-2.32.1.orig/egg/egg-asn1x.h  2010-10-18
> 19:11:38.0 -0700
> -+++ gnome-keyring-2.32.1/egg/egg-asn1x.h   2013-06-11
> 15:15:00.675399263 -0700
> -@@ -25,6 +25,7 @@
> - #define EGG_ASN1X_H_
> -
> - #include 
> -+#include 
> -
> - #ifndef HAVE_EGG_ALLOCATOR
> - typedef void* (*EggAllocator) (void* p, gsize);
> -@@ -35,13 +36,13 @@
> -
> - struct static_struct_asn;
> -
> --GNode*  egg_asn1x_create (const struct
> static_struct_asn *defs,
> -+GNode*  egg_asn1x_create (const
> ASN1_ARRAY_TYPE *defs,
> -   const gchar *type);
> -
> --GNode*  egg_asn1x_create_quark   (const struct
> static_struct_asn *defs,
> -+GNode*  egg_asn1x_create_quark   (const
> ASN1_ARRAY_TYPE *defs,
> -   GQuark type);
> -
> --GNode*  egg_asn1x_create_and_decode  (const struct
> static_struct_asn *defs,
> -+GNode*  egg_asn1x_create_and_decode  (const
> ASN1_ARRAY_TYPE *defs,
> -   const gchar *type,
> -   gconstpointer data,
> -   gsize n_data);
> diff --git a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.
> 1.bb b/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb
> deleted file mode 100644
> index 4ac75cbef..0
> --- a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb
> +++ /dev/null
> @@ -1,45 +0,0 @@
> -SUMMARY = "Password and keyring managing daemon"
> -HOMEPAGE = "http://www.gnome.org/;
> -BUGTRACKER = "https://bugzilla.gnome.org/;
> -
> -LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
> -file://gcr/gcr.h;endline=22;md
> 5=a272df1e633e27ecf35e74fb5576250e \
> -file://egg/egg-dbus.h;endline=
> 25;md5=eb6f531af37165dc53420c073d774e61 \
> -file://gp11/gp11.h;endline=24;
> 

Re: [oe] [meta-networking][PATCH] tcpdump: fix CVE-2017-11541, 11542, 11543

2017-09-13 Thread Martin Jansa
On Wed, Sep 13, 2017 at 09:05:45AM -0500, Jose Lamego wrote:
> 
> 
> On 09/13/2017 04:17 AM, Martin Jansa wrote:
> > Please update the state on patchwork (https://patchwork.
> > openembedded.org/project/oe/patches/) when sending updates like this.
> >
> > You can update it on the site or use some magic keywords in the e-mail
> > reply to update it automatically (but I've failed to find link to
> > documentation how this magic should look like).
> >
> 
> To automatically change a patch status in Patchwork, the string to be
> included at the bottom of an email reply must be in the form:
> [Patchwork-Status: ]
> 
> where  can be any of the existing states (excepting "Accepted").
> 
> This and other ways of updating patch statuses can be seen at:
> http://www.openembedded.org/wiki/Patchwork#Update_the_state_of_patches

Thanks for the info.

I've tried it with:
https://patchwork.openembedded.org/patch/144079/

and it doesn't seem to work, patchwork shows my reply, but the state is
still New not Rejected.

> 
> > On Wed, Sep 13, 2017 at 5:21 AM, wenzong fan 
> > wrote:
> >
> >> Please ignore this patch, the fixes has been included by:
> >>
> >>   [oe] [meta-networking][PATCH] tcpdump: update to 4.9.2 to fix CVEs
> >>
> >> Thanks
> >> Wenzong
> >>
> >>
> >> On 09/07/2017 05:49 PM, wenzong@windriver.com wrote:
> >>
> >>> From: Wenzong Fan 
> >>>
> >>> Backport patches for fixing:
> >>> - CVE-2017-11541:
> >>>https://nvd.nist.gov/vuln/detail/CVE-2017-11541
> >>>https://github.com/the-tcpdump-group/tcpdump/commit/21d702a
> >>> 136c5c16882e368af7c173df728242280
> >>>
> >>> - CVE-2017-11542:
> >>>https://nvd.nist.gov/vuln/detail/CVE-2017-11542
> >>>https://github.com/the-tcpdump-group/tcpdump/commit/bed4806
> >>> 2a64fca524156d7684af19f5b4a116fae
> >>>
> >>> - CVE-2017-11543:
> >>>https://nvd.nist.gov/vuln/detail/CVE-2017-11543
> >>>https://github.com/the-tcpdump-group/tcpdump/commit/7039327
> >>> 875525278d17edee59720e29a3e76b7b3
> >>>
> >>> The tests/* changes dropped to workaround patch error:
> >>>File tests/*.pcap: git binary diffs are not supported.
> >>>
> >>> Signed-off-by: Wenzong Fan 
> >>> ---
> >>>   ...541-In-safeputs-check-the-length-before-c.patch | 49 +
> >>>   ...1-CVE-2017-11542-PIMv1-Add-a-bounds-check.patch | 43 +++
> >>>   ...543-Make-sure-the-SLIP-direction-octet-is.patch | 85
> >>> ++
> >>>   .../recipes-support/tcpdump/tcpdump_4.9.1.bb   |  3 +
> >>>   4 files changed, 180 insertions(+)
> >>>   create mode 100644 meta-networking/recipes-suppor
> >>> t/tcpdump/tcpdump/0001-CVE-2017-11541-In-safeputs-check-
> >>> the-length-before-c.patch
> >>>   create mode 100644 meta-networking/recipes-suppor
> >>> t/tcpdump/tcpdump/0001-CVE-2017-11542-PIMv1-Add-a-bounds-check.patch
> >>>   create mode 100644 meta-networking/recipes-suppor
> >>> t/tcpdump/tcpdump/0001-CVE-2017-11543-Make-sure-the-SLIP-
> >>> direction-octet-is.patch
> >>>
> >>> diff --git a/meta-networking/recipes-support/tcpdump/tcpdump/0001-CVE-
> >>> 2017-11541-In-safeputs-check-the-length-before-c.patch
> >>> b/meta-networking/recipes-support/tcpdump/tcpdump/0001-CVE-
> >>> 2017-11541-In-safeputs-check-the-length-before-c.patch
> >>> new file mode 100644
> >>> index 0..a83214b02
> >>> --- /dev/null
> >>> +++ b/meta-networking/recipes-support/tcpdump/tcpdump/0001-CVE-
> >>> 2017-11541-In-safeputs-check-the-length-before-c.patch
> >>> @@ -0,0 +1,49 @@
> >>> +From 21d702a136c5c16882e368af7c173df728242280 Mon Sep 17 00:00:00 2001
> >>> +From: Guy Harris 
> >>> +Date: Tue, 7 Feb 2017 11:40:36 -0800
> >>> +Subject: [PATCH] CVE-2017-11541: In safeputs(), check the length before
> >>> + checking for a NUL terminator.
> >>> +
> >>> +safeputs() doesn't do packet bounds checking of its own; it assumes that
> >>> +the caller has checked the availability in the packet data of all maxlen
> >>> +bytes of data.  This means we should check that we're within the
> >>> +specified limit before looking at the byte.
> >>> +
> >>> +This fixes a buffer over-read discovered by Kamil Frankowicz.
> >>> +
> >>> +Add a test using the capture file supplied by the reporter(s).
> >>> +
> >>> +CVE: CVE-2017-11541
> >>> +
> >>> +Upstream-Status: Backport
> >>> +https://github.com/the-tcpdump-group/tcpdump/commit/21d702a
> >>> 136c5c16882e368af7c173df728242280
> >>> +
> >>> +Drop the tests/* changes to workaroud patch error:
> >>> +File tests/hoobr_safeputs.pcap: git binary diffs are not supported.
> >>> +
> >>> +Signed-off-by: Wenzong Fan 
> >>> +---
> >>> + tests/TESTLIST|   1 +
> >>> + tests/hoobr_safeputs.out  |   2 ++
> >>> + tests/hoobr_safeputs.pcap | Bin 0 -> 88 bytes
> >>> + util-print.c  |   2 +-
> >>> + 4 files changed, 4 insertions(+), 1 deletion(-)
> >>> + create mode 100644 tests/hoobr_safeputs.out
> >>> + create mode 100644 

Re: [oe] [meta-oe][PATCH] capnproto: add version 0.6.1

2017-09-13 Thread Martin Jansa
I have fixed some indentation and style issues in both of these, please
check them in master-next and next time follow the styleguide.

e.g. we (most layers except oe-core) use 4 spaces for indentation, not mix
of tabs and various number of spaces


On Wed, Sep 13, 2017 at 1:45 PM, Pascal Bach 
wrote:

> Signed-off-by: Pascal Bach 
> ---
>  .../recipes-devtools/capnproto/capnproto_0.6.1.bb  | 28
> ++
>  1 file changed, 28 insertions(+)
>  create mode 100644 meta-oe/recipes-devtools/capnproto/capnproto_0.6.1.bb
>
> diff --git a/meta-oe/recipes-devtools/capnproto/capnproto_0.6.1.bb
> b/meta-oe/recipes-devtools/capnproto/capnproto_0.6.1.bb
> new file mode 100644
> index 000..d900fae
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/capnproto/capnproto_0.6.1.bb
> @@ -0,0 +1,28 @@
> +SUMMARY = "Cap'n Proto serialization/RPC system"
> +DESCRIPTION = "Cap’n Proto is an insanely fast data interchange format
> and capability-based RPC system. "
> +HOMEPAGE = "https://github.com/sandstorm-io/capnproto;
> +SECTION = "console/tools"
> +LICENSE = "MIT"
> +
> +PACKAGE_BEFORE_PN = "${PN}-compiler"
> +
> +RDEPENDS_${PN}-dev += "${PN}-compiler"
> +
> +LIC_FILES_CHKSUM = "file://../LICENSE;md5=0a5b5b742baf10cc1c158579eba7fb
> 1d"
> +
> +SRCREV = "c949a18da5f041a36cc218c5c4b79c7705999b4f"
> +
> +SRC_URI = "git://github.com/sandstorm-io/capnproto.git;branch=
> release-${PV}"
> +
> +EXTRA_OECMAKE += "\
> +   -DBUILD_TESTING=OFF \
> +  "
> +
> +inherit cmake
> +
> +S = "${WORKDIR}/git/c++"
> +
> +FILES_${PN}-dev += "${libdir}/cmake"
> +FILES_${PN}-compiler = "${bindir}"
> +
> +BBCLASSEXTEND = "native nativesdk"
> --
> 2.1.4
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-multimedia][PATCH v4 0/2] Add libupnp1.8 recipe

2017-09-13 Thread Fabien Lahoudere
In order to build gerbera, we need to support libupnp >= 1.8.
However mpd won't build with this version probably due to API break.

So we add a new recipe libupnp1.8 to be able to use both version.
Both version can be run in parallel.

?:~/src/oe-core/build$ dpkg-deb -c 
tmp-glibc/deploy/deb/cortexa9hf-neon/libupnp_1.6.21-r0_armhf.deb 
drwxrwxrwx root/root 0 2017-09-13 17:26 ./
drwxr-xr-x root/root 0 2017-09-13 17:26 ./usr/
drwxr-xr-x root/root 0 2017-09-13 17:26 ./usr/lib/
-rwxr-xr-x root/root 31600 2017-09-13 17:26 ./usr/lib/libixml.so.2.0.8
-rwxr-xr-x root/root 17912 2017-09-13 17:26 ./usr/lib/libthreadutil.so.6.0.4
-rwxr-xr-x root/root117676 2017-09-13 17:26 ./usr/lib/libupnp.so.6.3.4
lrwxrwxrwx root/root 0 2017-09-13 17:26 ./usr/lib/libixml.so.2 -> 
libixml.so.2.0.8
lrwxrwxrwx root/root 0 2017-09-13 17:26 ./usr/lib/libthreadutil.so.6 -> 
libthreadutil.so.6.0.4
lrwxrwxrwx root/root 0 2017-09-13 17:26 ./usr/lib/libupnp.so.6 -> 
libupnp.so.6.3.4
?:~/src/oe-core/build$ dpkg-deb -c 
tmp-glibc/deploy/deb/cortexa9hf-neon/libupnp1.8_1.8.2-r0_armhf.deb 
drwxrwxrwx root/root 0 2017-09-13 17:43 ./
drwxr-xr-x root/root 0 2017-09-13 17:43 ./usr/
drwxr-xr-x root/root 0 2017-09-13 17:43 ./usr/lib/
-rwxr-xr-x root/root 35696 2017-09-13 17:43 ./usr/lib/libixml.so.10.0.1
-rwxr-xr-x root/root155128 2017-09-13 17:43 ./usr/lib/libupnp.so.10.1.1
lrwxrwxrwx root/root 0 2017-09-13 17:43 ./usr/lib/libixml.so.10 -> 
libixml.so.10.0.1
lrwxrwxrwx root/root 0 2017-09-13 17:43 ./usr/lib/libupnp.so.10 -> 
libupnp.so.10.1.1

mpd and gerbera have been built successfully with this fix.

The patch also clean a bit gerbera recipe and fix dependency issue.

Changes since v3:
- Drop RDEPENDS from gerbera recipe.
- use git fetcher instead of github archive for libupnp

Fabien Lahoudere (2):
  libupnp: Add recipe for version 1.8.2
  gerbera: clean recipe

 .../recipes-connectivity/libupnp/libupnp1.8.bb   | 20 
 .../recipes-multimedia/gerbera/gerbera_git.bb| 12 ++--
 2 files changed, 26 insertions(+), 6 deletions(-)
 create mode 100644 meta-multimedia/recipes-connectivity/libupnp/libupnp1.8.bb

-- 
2.11.0

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


[oe] [meta-multimedia][PATCH v4 2/2] gerbera: clean recipe

2017-09-13 Thread Fabien Lahoudere
Clean the recipe and change the name of libupnp to libupnp1.8.

Signed-off-by: Fabien Lahoudere 
---
 meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb 
b/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb
index 2bbedc0d1..c618d4a0c 100644
--- a/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb
+++ b/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb
@@ -6,22 +6,22 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.md;md5=25cdec9afe3f1f26212ead6bd2f7fac8"
 SRC_URI = "git://github.com/v00d00/gerbera.git;protocol=https \
   file://gerbera.service "
 
-
-# Modify these as desired
 PV = "1.0+git${SRCPV}"
 SRCREV = "4435b165d121195aefd67d0287f7f9349e181d45"
 
 S = "${WORKDIR}/git"
 
-DEPENDS = "expat zlib curl libupnp e2fsprogs sqlite3 taglib "
-RDEPENDS_${PN} = "expat zlib curl libupnp e2fsprogs taglib "
+DEPENDS = "expat zlib curl libupnp1.8 e2fsprogs sqlite3 "
+#RDEPENDS_${PN} = "expat zlib curl libupnp e2fsprogs "
 
 SYSTEMD_SERVICE_${PN} = "gerbera.service"
-SYSTEMD_AUTO_ENABLE = "enable"
 
 inherit cmake systemd
 
-EXTRA_OECMAKE = "-DWITH_JS=FALSE -DWITH_TAGLIB=FALSE -DWITH_MAGIC=FALSE 
-DWITH_EXIF=FALSE -DLIBUUID_INCLUDE_DIRS=${WORKDIR}/recipe-sysroot/usr/include 
-DLIBUUID_LIBRARIES=-luuid"
+PACKAGECONFIG = ""
+PACKAGECONFIG[taglib] = "-DWITH_TAGLIB=TRUE,-DWITH_TAGLIB=FALSE,taglib"
+
+EXTRA_OECMAKE = "-DWITH_JS=FALSE -DWITH_MAGIC=FALSE -DWITH_EXIF=FALSE 
-DLIBUUID_INCLUDE_DIRS=${STAGING_INCDIR} -DLIBUUID_LIBRARIES=-luuid"
 
 do_install_append() {
install -d ${D}/root/.config/
-- 
2.11.0

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


[oe] [meta-multimedia][PATCH v4 1/2] libupnp: Add recipe for version 1.8.2

2017-09-13 Thread Fabien Lahoudere
This version is needed for gerbera, however this version break mpd.
So we keep both recipe.

Signed-off-by: Fabien Lahoudere 
---
 .../recipes-connectivity/libupnp/libupnp1.8.bb   | 20 
 1 file changed, 20 insertions(+)
 create mode 100644 meta-multimedia/recipes-connectivity/libupnp/libupnp1.8.bb

diff --git a/meta-multimedia/recipes-connectivity/libupnp/libupnp1.8.bb 
b/meta-multimedia/recipes-connectivity/libupnp/libupnp1.8.bb
new file mode 100644
index 0..7a524f2d5
--- /dev/null
+++ b/meta-multimedia/recipes-connectivity/libupnp/libupnp1.8.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Portable SDK for UPnP* Devices"
+DESCRIPTION = "The Portable SDK for UPnP Devices is an SDK for development of \
+UPnP device and control point applications. It consists of the core UPnP \
+protocols along with a UPnP-specific eXtensible Markup Language (XML) parser \
+supporting the Document Object Model (DOM) Level 2 API and an optional, \
+integrated mini web server for serving UPnP related documents."
+HOMEPAGE = "http://pupnp.sourceforge.net/;
+LICENSE = "BSD"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b3190d5244e08e78e4c8ee78544f4863"
+
+PV = "1.8.2+git${SRCPV}"
+SRCREV = "56d6042abae861e8838a4e6b6b5b575b99e38f34"
+SRC_URI = "git://github.com/mrjimenez/pupnp.git;protocol=https"
+
+S="${WORKDIR}/git"
+
+inherit autotools
+
+EXTRA_OECONF += "--enable-reuseaddr"
\ No newline at end of file
-- 
2.11.0

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


[oe] [meta-oe][PATCH v2] ceres-solver: add new recipe

2017-09-13 Thread Bartosz Golaszewski
From: Bartosz Golaszewski 

Ceres Solver is an open source C++ library for modeling and solving
large, complicated optimization problems.

It's often used in 3D computer vision applications.

Signed-off-by: Bartosz Golaszewski 
---
v1 -> v2:
- now fetching the source from git, not github archives
- only add a specific directory (cmake files) to FILES_${PN}-dev
- don't create the ${PN} package as the project is not building
  a shared library

 .../ceres-solver/ceres-solver_1.13.bb   | 21 +
 1 file changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-support/ceres-solver/ceres-solver_1.13.bb

diff --git a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.13.bb 
b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.13.bb
new file mode 100644
index 000..58d242a
--- /dev/null
+++ b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.13.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Ceres Solver is an open source C++ library for modeling and 
solving large, complicated optimization problems."
+AUTHOR = "Sameer Agarwal and Keir Mierle and Others"
+HOMEPAGE = "http://ceres-solver.org/;
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=35e00f0c4c96a0820a03e0b31e6416be"
+
+SRC_URI = "git://github.com/ceres-solver/ceres-solver.git"
+SRCREV = "19333b0f55c8462381038e70d42af43b52941128"
+
+S = "${WORKDIR}/git"
+
+DEPENDS = "libeigen glog"
+
+inherit cmake
+
+# Only a static library and headers are created
+PACKAGES = "${PN}-dev ${PN}-staticdev ${PN}-dbg"
+RDEPENDS_${PN}-dev = ""
+
+FILES_${PN}-dev += "${libdir}/cmake/*"
-- 
2.7.4

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


Re: [oe] [meta-initramfs][PATCH V3] klibc.bbclass: Add -mfloat-abi on arm

2017-09-13 Thread Khem Raj
On Wed, Sep 13, 2017 at 11:24 AM, Andre McCurdy  wrote:
> On Wed, Sep 13, 2017 at 10:44 AM, Khem Raj  wrote:
>> Default toolchain is not configured for hard float
>> therefore we need to pass the right -mfloat-abi option
>>
>> Signed-off-by: Khem Raj 
>> ---
>> Changes in V3: Append -mfloat-abi only on armv6
>
> The change seems to be for armv7a and armv7ve, not armv6 ?

yes. its a typo in the comment I should have said arm7, I dont build for v6

>
>>  meta-initramfs/classes/klibc.bbclass | 2 ++
>>  meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb | 1 -
>>  2 files changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta-initramfs/classes/klibc.bbclass 
>> b/meta-initramfs/classes/klibc.bbclass
>> index c9de58cec..1ec7b2b05 100644
>> --- a/meta-initramfs/classes/klibc.bbclass
>> +++ b/meta-initramfs/classes/klibc.bbclass
>> @@ -5,6 +5,8 @@ DEPENDS =+ "klcc-cross"
>>  # Set CC = "${TARGET_PREFIX}klcc -shared" to build the dynamic version.
>>  CC_forcevariable = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS}"
>>  CC_forcevariable_armv4_linux-gnueabi = "${TARGET_PREFIX}klcc 
>> ${TOOLCHAIN_OPTIONS} -march=armv4 -mthumb-interwork"
>> +CC_append_armv7ve = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if 
>> (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}"
>> +CC_append_armv7a = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if 
>> (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}"
>>
>>  CPP_forcevariable = "${CC} -E"
>>
>> diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb 
>> b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb
>> index 867407723..8ca1ca727 100644
>> --- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb
>> +++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb
>> @@ -21,7 +21,6 @@ SRC_URI = 
>> "git://git.infradead.org/mtd-utils.git;tag=b7455d847ab4f9eeeb6a729efc3
>>  S = "${WORKDIR}/git/"
>>
>>  EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} 
>> -I${S}include -DWITHOUT_XATTR' 'BUILDDIR=${S}'"
>> -CFLAGS += "${TUNE_CCARGS}"
>>
>>  do_install () {
>>
>> --
>> 2.14.1
>>
>> --
>> ___
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-initramfs][PATCH V3] klibc.bbclass: Add -mfloat-abi on arm

2017-09-13 Thread Andre McCurdy
On Wed, Sep 13, 2017 at 10:44 AM, Khem Raj  wrote:
> Default toolchain is not configured for hard float
> therefore we need to pass the right -mfloat-abi option
>
> Signed-off-by: Khem Raj 
> ---
> Changes in V3: Append -mfloat-abi only on armv6

The change seems to be for armv7a and armv7ve, not armv6 ?

>  meta-initramfs/classes/klibc.bbclass | 2 ++
>  meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb | 1 -
>  2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta-initramfs/classes/klibc.bbclass 
> b/meta-initramfs/classes/klibc.bbclass
> index c9de58cec..1ec7b2b05 100644
> --- a/meta-initramfs/classes/klibc.bbclass
> +++ b/meta-initramfs/classes/klibc.bbclass
> @@ -5,6 +5,8 @@ DEPENDS =+ "klcc-cross"
>  # Set CC = "${TARGET_PREFIX}klcc -shared" to build the dynamic version.
>  CC_forcevariable = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS}"
>  CC_forcevariable_armv4_linux-gnueabi = "${TARGET_PREFIX}klcc 
> ${TOOLCHAIN_OPTIONS} -march=armv4 -mthumb-interwork"
> +CC_append_armv7ve = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if 
> (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}"
> +CC_append_armv7a = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if 
> (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}"
>
>  CPP_forcevariable = "${CC} -E"
>
> diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb 
> b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb
> index 867407723..8ca1ca727 100644
> --- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb
> +++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb
> @@ -21,7 +21,6 @@ SRC_URI = 
> "git://git.infradead.org/mtd-utils.git;tag=b7455d847ab4f9eeeb6a729efc3
>  S = "${WORKDIR}/git/"
>
>  EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} 
> -I${S}include -DWITHOUT_XATTR' 'BUILDDIR=${S}'"
> -CFLAGS += "${TUNE_CCARGS}"
>
>  do_install () {
>
> --
> 2.14.1
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-initramfs][PATCH V3] klibc.bbclass: Add -mfloat-abi on arm

2017-09-13 Thread Khem Raj
Default toolchain is not configured for hard float
therefore we need to pass the right -mfloat-abi option

Signed-off-by: Khem Raj 
---
Changes in V3: Append -mfloat-abi only on armv6

 meta-initramfs/classes/klibc.bbclass | 2 ++
 meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-initramfs/classes/klibc.bbclass 
b/meta-initramfs/classes/klibc.bbclass
index c9de58cec..1ec7b2b05 100644
--- a/meta-initramfs/classes/klibc.bbclass
+++ b/meta-initramfs/classes/klibc.bbclass
@@ -5,6 +5,8 @@ DEPENDS =+ "klcc-cross"
 # Set CC = "${TARGET_PREFIX}klcc -shared" to build the dynamic version.
 CC_forcevariable = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS}"
 CC_forcevariable_armv4_linux-gnueabi = "${TARGET_PREFIX}klcc 
${TOOLCHAIN_OPTIONS} -march=armv4 -mthumb-interwork"
+CC_append_armv7ve = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if 
(d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}"
+CC_append_armv7a = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if 
(d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}"
 
 CPP_forcevariable = "${CC} -E"
 
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb 
b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb
index 867407723..8ca1ca727 100644
--- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb
+++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb
@@ -21,7 +21,6 @@ SRC_URI = 
"git://git.infradead.org/mtd-utils.git;tag=b7455d847ab4f9eeeb6a729efc3
 S = "${WORKDIR}/git/"
 
 EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} 
-I${S}include -DWITHOUT_XATTR' 'BUILDDIR=${S}'"
-CFLAGS += "${TUNE_CCARGS}"
 
 do_install () {
 
-- 
2.14.1

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


Re: [oe] [meta-oe][PATCH] libpng12: add it back from oe-core

2017-09-13 Thread Mark Hatle
On 9/13/17 4:54 AM, Martin Jansa wrote:
> All other LSB related recipes are in oe-core, why should libpng12 be
> different and live in meta-oe?

We had talked about some of this before, and I thought the OE/YP decision was to
create a new meta-lsb to carry any packages that were clearly obsolete (and thus
not in oe-core anymore), but still needed for LSB testing.

That way if anyone cared about the results they could contribute..  It also
SHOULD be fairly low maintenance.

This may be the first (only?) package we need to do that with.. similar to the
meta-gplv2.

--Mark

> On Wed, Sep 13, 2017 at 11:38 AM,  wrote:
> 
>> From: Kai Kang 
>>
>> libpng12 is removed from oe-core. But lsb test 5.0 still requires
>> libpng12. So add it back.
>>
>> Signed-off-by: Kai Kang 
>> ---
>>  meta-oe/recipes-lsb/libpng/libpng12_1.2.57.bb | 36
>> +++
>>  1 file changed, 36 insertions(+)
>>  create mode 100644 meta-oe/recipes-lsb/libpng/libpng12_1.2.57.bb
>>
>> diff --git a/meta-oe/recipes-lsb/libpng/libpng12_1.2.57.bb
>> b/meta-oe/recipes-lsb/libpng/libpng12_1.2.57.bb
>> new file mode 100644
>> index 0..9f74f5fdb
>> --- /dev/null
>> +++ b/meta-oe/recipes-lsb/libpng/libpng12_1.2.57.bb
>> @@ -0,0 +1,36 @@
>> +SUMMARY = "PNG image format decoding library"
>> +HOMEPAGE = "http://www.libpng.org/;
>> +SECTION = "libs"
>> +LICENSE = "Libpng"
>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=597b8a91994a3e27ae6aa79bf02677d9 \
>> +file://png.h;beginline=19;endline=109;md5=
>> 166406397718925b660f0033f7558ef7"
>> +DEPENDS = "zlib"
>> +
>> +PN = "libpng12"
>> +S = "${WORKDIR}/libpng-${PV}"
>> +
>> +SRC_URI = "${GENTOO_MIRROR}/libpng-${PV}.tar.xz"
>> +
>> +SRC_URI[md5sum] = "307052e5e8af97b82b17b64fb1b3677a"
>> +SRC_URI[sha256sum] = "0f4620e11fa283fedafb474427c8e9
>> 6bf149511a1804bdc47350963ae5cf54d8"
>> +
>> +UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/libpng/files/
>> libpng12/"
>> +UPSTREAM_CHECK_REGEX = "/libpng12/(?P(\d+[\.\-_]*)+)/"
>> +
>> +BINCONFIG_GLOB = "${PN}-config"
>> +
>> +inherit autotools binconfig pkgconfig
>> +
>> +do_install_append() {
>> +   # The follow link files link to corresponding png12*.h and
>> libpng12* files
>> +   # They conflict with higher verison, so drop them
>> +   rm ${D}/${includedir}/png.h
>> +   rm ${D}/${includedir}/pngconf.h
>> +
>> +   rm ${D}/${libdir}/libpng.la
>> +   rm ${D}/${libdir}/libpng.so
>> +   rm ${D}/${libdir}/libpng.a || true
>> +   rm ${D}/${libdir}/pkgconfig/libpng.pc
>> +
>> +   rm ${D}/${bindir}/libpng-config
>> +}
>> --
>> 2.14.1
>>
>> --
>> ___
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>

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


Re: [oe] [meta-multimedia][PATCH v3 1/2] libupnp: Add recipe for version 1.8.2

2017-09-13 Thread Martin Jansa
Please don't use github archives which can be regenerated in some cases.
Safer to use just git fetcher.

On Wed, Sep 13, 2017 at 5:58 PM, Fabien Lahoudere <
fabien.lahoud...@collabora.co.uk> wrote:

> This version is needed for gerbera, however this version break mpd.
> So we keep both recipe.
>
> Signed-off-by: Fabien Lahoudere 
> ---
>  .../recipes-connectivity/libupnp/libupnp1.8.bb | 22
> ++
>  1 file changed, 22 insertions(+)
>  create mode 100644 meta-multimedia/recipes-connectivity/libupnp/libupnp1.
> 8.bb
>
> diff --git a/meta-multimedia/recipes-connectivity/libupnp/libupnp1.8.bb
> b/meta-multimedia/recipes-connectivity/libupnp/libupnp1.8.bb
> new file mode 100644
> index 0..5b0e72d42
> --- /dev/null
> +++ b/meta-multimedia/recipes-connectivity/libupnp/libupnp1.8.bb
> @@ -0,0 +1,22 @@
> +SUMMARY = "Portable SDK for UPnP* Devices"
> +DESCRIPTION = "The Portable SDK for UPnP Devices is an SDK for
> development of \
> +UPnP device and control point applications. It consists of the core UPnP \
> +protocols along with a UPnP-specific eXtensible Markup Language (XML)
> parser \
> +supporting the Document Object Model (DOM) Level 2 API and an optional, \
> +integrated mini web server for serving UPnP related documents."
> +HOMEPAGE = "http://pupnp.sourceforge.net/;
> +LICENSE = "BSD"
> +
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=b3190d5244e08e78e4c8ee78544f4863"
> +
> +SRC_URI = "https://github.com/mrjimenez/pupnp/archive/release-1.8.2.
> tar.gz "
> +
> +SRC_URI[md5sum] = "db8061f7cbd7f9af993ac4e87ad084cb"
> +SRC_URI[sha256sum] = "438ad86bfd933cb1e9be1c41bf3bd6
> 9f049daba11d71bbb5d715336e00106cb4"
> +
> +PV="1.8.2"
> +S="${WORKDIR}/pupnp-release-${PV}"
> +
> +inherit autotools
> +
> +EXTRA_OECONF += "--enable-reuseaddr"
> \ No newline at end of file
> --
> 2.11.0
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-multimedia][PATCH v3 2/2] gerbera: clean recipe

2017-09-13 Thread Martin Jansa
There as also comment from Khem asking if all these runtime dependencies
are really needed. They should be added automatically by package.bbclass.

And you have libupnp in RDEPENDS. So drop whole RDEPENDS and after build
you can check buildhistory that the runtime dependencies are still there
for whatever is gerbera linked with.

On Wed, Sep 13, 2017 at 5:58 PM, Fabien Lahoudere <
fabien.lahoud...@collabora.co.uk> wrote:

> Clean the recipe and change the name of libupnp to libupnp1.8.
>
> Signed-off-by: Fabien Lahoudere 
> ---
>  meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb | 12
> ++--
>  1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb
> b/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb
> index 2bbedc0d1..151127768 100644
> --- a/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb
> +++ b/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb
> @@ -6,22 +6,22 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=
> 25cdec9afe3f1f26212ead6bd2f7fac8"
>  SRC_URI = "git://github.com/v00d00/gerbera.git;protocol=https \
>file://gerbera.service "
>
> -
> -# Modify these as desired
>  PV = "1.0+git${SRCPV}"
>  SRCREV = "4435b165d121195aefd67d0287f7f9349e181d45"
>
>  S = "${WORKDIR}/git"
>
> -DEPENDS = "expat zlib curl libupnp e2fsprogs sqlite3 taglib "
> -RDEPENDS_${PN} = "expat zlib curl libupnp e2fsprogs taglib "
> +DEPENDS = "expat zlib curl libupnp1.8 e2fsprogs sqlite3 "
> +RDEPENDS_${PN} = "expat zlib curl libupnp e2fsprogs "
>
>  SYSTEMD_SERVICE_${PN} = "gerbera.service"
> -SYSTEMD_AUTO_ENABLE = "enable"
>
>  inherit cmake systemd
>
> -EXTRA_OECMAKE = "-DWITH_JS=FALSE -DWITH_TAGLIB=FALSE -DWITH_MAGIC=FALSE
> -DWITH_EXIF=FALSE -DLIBUUID_INCLUDE_DIRS=${WORKDIR}/recipe-sysroot/usr/include
> -DLIBUUID_LIBRARIES=-luuid"
> +PACKAGECONFIG = ""
> +PACKAGECONFIG[taglib] = "-DWITH_TAGLIB=TRUE,-DWITH_TAGLIB=FALSE,taglib"
> +
> +EXTRA_OECMAKE = "-DWITH_JS=FALSE -DWITH_MAGIC=FALSE -DWITH_EXIF=FALSE
> -DLIBUUID_INCLUDE_DIRS=${STAGING_INCDIR} -DLIBUUID_LIBRARIES=-luuid"
>
>  do_install_append() {
> install -d ${D}/root/.config/
> --
> 2.11.0
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-multimedia][PATCH v2] libupnp: Bump to version 1.8.2

2017-09-13 Thread Fabien Lahoudere
I send "[meta-multimedia][PATCH v3 0/2] Add libupnp1.8 recipe" that allow to 
build mpd and gerbera
here.


On Wed, 2017-09-13 at 17:31 +0200, Martin Jansa wrote:
> Only if both versions can be installed in parallel otherwise it will still 
> fail for either gerbera
> or mpd.
> 
> On Wed, Sep 13, 2017 at 5:09 PM, Fabien Lahoudere 
>  wrote:
> > It seems libupnp breaks its API and mpd doesn't support it yet (I also test 
> > last release
> > 0.20.10).
> > 
> > I will revert libupnp deletion and rename the one for gerbera support 
> > libupnp-1.8.
> > Is that solution acceptable?
> > 
> > On Wed, 2017-09-13 at 16:20 +0200, Martin Jansa wrote:
> > > Please fix this ASAP, because I've already merged gerbera recipe (tested 
> > > together with this
> > > libupnp change), but now with libupnp upgrade dropped from master-next 
> > > because of this issue
> > > gerbera fails as well in master due to old upnp:
> > >
> > > -- Found UPnP: 
> > > gerbera/1.0+gitAUTOINC+4435b165d1-r0/recipe-sysroot/usr/lib/libupnp.so 
> > > (found
> > > version "1.6.21") 
> > > CMake Error at CMakeLists.txt:380 (message):
> > >   gerbera requires libupnp 1.8.0 or above.
> > >
> > >
> > > On Mon, Sep 11, 2017 at 6:51 PM, Martin Jansa  
> > > wrote:
> > > > This probably break mpd build:
> > > > http://errors.yoctoproject.org/Errors/Details/155531/
> > > >
> > > > On Mon, Sep 11, 2017 at 2:50 PM, Fabien Lahoudere 
> > > >  wrote:
> > > > > Signed-off-by: Fabien Lahoudere 
> > > > > ---
> > > > >  .../libupnp/libupnp/sepbuildfix.patch              | 34 
> > > > > --
> > > > >  .../{libupnp_1.6.21.bb => libupnp_1.8.2.bb}        | 12 
> > > > >  2 files changed, 7 insertions(+), 39 deletions(-)
> > > > >  delete mode 100644 
> > > > > meta-multimedia/recipes-connectivity/libupnp/libupnp/sepbuildfix.patch
> > > > >  rename 
> > > > > meta-multimedia/recipes-connectivity/libupnp/{libupnp_1.6.21.bb =>
> > libupnp_1.8.2.bb}
> > > > > (66%)
> > > > >
> > > > > diff --git 
> > > > > a/meta-multimedia/recipes-connectivity/libupnp/libupnp/sepbuildfix.patch
> > b/meta-
> > > > > multimedia/recipes-connectivity/libupnp/libupnp/sepbuildfix.patch
> > > > > deleted file mode 100644
> > > > > index 0493cea0e..0
> > > > > --- 
> > > > > a/meta-multimedia/recipes-connectivity/libupnp/libupnp/sepbuildfix.patch
> > > > > +++ /dev/null
> > > > > @@ -1,34 +0,0 @@
> > > > > -From e198f0a87660a048164ca0e16d18517d0aee846e Mon Sep 17 00:00:00 
> > > > > 2001
> > > > > -From: Andre McCurdy 
> > > > > -Date: Tue, 9 Jun 2015 12:20:45 -0700
> > > > > -Subject: [PATCH] Fix builds when using separate source and build 
> > > > > directories.
> > > > > -
> > > > > -Upstream-Status: Pending
> > > > > -
> > > > > -Signed-off-by: Andre McCurdy 
> > > > > 
> > > > > - configure.ac           | 10 +-
> > > > > - 1 files changed, 5 insertions(+), 5 deletions(-)
> > > > > -
> > > > > -diff --git a/configure.ac b/configure.ac
> > > > > -index a8731b5..54a3c3d 100644
> > > > >  a/configure.ac
> > > > > -+++ b/configure.ac
> > > > > -@@ -744,9 +744,9 @@ AC_OUTPUT
> > > > > - #
> > > > > - # Files copied for windows compilation.
> > > > > - #
> > > > > --echo "configure: copying \"autoconfig.h\"          to 
> > > > > \"build/inc/autoconfig.h\""
> > > > > --test -d build/inc || mkdir -p build/inc
> > > > > --cp autoconfig.h build/inc/autoconfig.h
> > > > > --echo "configure: copying \"upnp/inc/upnpconfig.h\" to 
> > > > > \"build/inc/upnpconfig.h\""
> > > > > --cp upnp/inc/upnpconfig.h build/inc/upnpconfig.h
> > > > > -+echo "configure: copying \"autoconfig.h\"          to
> > \"\$srcdir/build/inc/autoconfig.h\""
> > > > > -+test -d $srcdir/build/inc || mkdir -p $srcdir/build/inc
> > > > > -+cp autoconfig.h $srcdir/build/inc/autoconfig.h
> > > > > -+echo "configure: copying \"upnp/inc/upnpconfig.h\" to
> > \"\$srcdir/build/inc/upnpconfig.h\""
> > > > > -+cp upnp/inc/upnpconfig.h $srcdir/build/inc/upnpconfig.h
> > > > > -
> > > > > ---
> > > > > -1.9.1
> > > > > -
> > > > > diff --git 
> > > > > a/meta-multimedia/recipes-connectivity/libupnp/libupnp_1.6.21.bb 
> > > > > b/meta-
> > > > > multimedia/recipes-connectivity/libupnp/libupnp_1.8.2.bb
> > > > > similarity index 66%
> > > > > rename from 
> > > > > meta-multimedia/recipes-connectivity/libupnp/libupnp_1.6.21.bb
> > > > > rename to 
> > > > > meta-multimedia/recipes-connectivity/libupnp/libupnp_1.8.2.bb
> > > > > index a1988295a..61b209ab8 100644
> > > > > --- a/meta-multimedia/recipes-connectivity/libupnp/libupnp_1.6.21.bb
> > > > > +++ b/meta-multimedia/recipes-connectivity/libupnp/libupnp_1.8.2.bb
> > > > > @@ -8,11 +8,13 @@ HOMEPAGE = "http://pupnp.sourceforge.net/;
> > > > >  LICENSE = "BSD"
> > > > >  LIC_FILES_CHKSUM = 
> > > > > "file://LICENSE;md5=b3190d5244e08e78e4c8ee78544f4863"
> > > > >
> > > > > 

[oe] [meta-multimedia][PATCH v3 2/2] gerbera: clean recipe

2017-09-13 Thread Fabien Lahoudere
Clean the recipe and change the name of libupnp to libupnp1.8.

Signed-off-by: Fabien Lahoudere 
---
 meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb 
b/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb
index 2bbedc0d1..151127768 100644
--- a/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb
+++ b/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb
@@ -6,22 +6,22 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.md;md5=25cdec9afe3f1f26212ead6bd2f7fac8"
 SRC_URI = "git://github.com/v00d00/gerbera.git;protocol=https \
   file://gerbera.service "
 
-
-# Modify these as desired
 PV = "1.0+git${SRCPV}"
 SRCREV = "4435b165d121195aefd67d0287f7f9349e181d45"
 
 S = "${WORKDIR}/git"
 
-DEPENDS = "expat zlib curl libupnp e2fsprogs sqlite3 taglib "
-RDEPENDS_${PN} = "expat zlib curl libupnp e2fsprogs taglib "
+DEPENDS = "expat zlib curl libupnp1.8 e2fsprogs sqlite3 "
+RDEPENDS_${PN} = "expat zlib curl libupnp e2fsprogs "
 
 SYSTEMD_SERVICE_${PN} = "gerbera.service"
-SYSTEMD_AUTO_ENABLE = "enable"
 
 inherit cmake systemd
 
-EXTRA_OECMAKE = "-DWITH_JS=FALSE -DWITH_TAGLIB=FALSE -DWITH_MAGIC=FALSE 
-DWITH_EXIF=FALSE -DLIBUUID_INCLUDE_DIRS=${WORKDIR}/recipe-sysroot/usr/include 
-DLIBUUID_LIBRARIES=-luuid"
+PACKAGECONFIG = ""
+PACKAGECONFIG[taglib] = "-DWITH_TAGLIB=TRUE,-DWITH_TAGLIB=FALSE,taglib"
+
+EXTRA_OECMAKE = "-DWITH_JS=FALSE -DWITH_MAGIC=FALSE -DWITH_EXIF=FALSE 
-DLIBUUID_INCLUDE_DIRS=${STAGING_INCDIR} -DLIBUUID_LIBRARIES=-luuid"
 
 do_install_append() {
install -d ${D}/root/.config/
-- 
2.11.0

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


[oe] [meta-multimedia][PATCH v3 1/2] libupnp: Add recipe for version 1.8.2

2017-09-13 Thread Fabien Lahoudere
This version is needed for gerbera, however this version break mpd.
So we keep both recipe.

Signed-off-by: Fabien Lahoudere 
---
 .../recipes-connectivity/libupnp/libupnp1.8.bb | 22 ++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-multimedia/recipes-connectivity/libupnp/libupnp1.8.bb

diff --git a/meta-multimedia/recipes-connectivity/libupnp/libupnp1.8.bb 
b/meta-multimedia/recipes-connectivity/libupnp/libupnp1.8.bb
new file mode 100644
index 0..5b0e72d42
--- /dev/null
+++ b/meta-multimedia/recipes-connectivity/libupnp/libupnp1.8.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Portable SDK for UPnP* Devices"
+DESCRIPTION = "The Portable SDK for UPnP Devices is an SDK for development of \
+UPnP device and control point applications. It consists of the core UPnP \
+protocols along with a UPnP-specific eXtensible Markup Language (XML) parser \
+supporting the Document Object Model (DOM) Level 2 API and an optional, \
+integrated mini web server for serving UPnP related documents."
+HOMEPAGE = "http://pupnp.sourceforge.net/;
+LICENSE = "BSD"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b3190d5244e08e78e4c8ee78544f4863"
+
+SRC_URI = "https://github.com/mrjimenez/pupnp/archive/release-1.8.2.tar.gz "
+
+SRC_URI[md5sum] = "db8061f7cbd7f9af993ac4e87ad084cb"
+SRC_URI[sha256sum] = 
"438ad86bfd933cb1e9be1c41bf3bd69f049daba11d71bbb5d715336e00106cb4"
+
+PV="1.8.2"
+S="${WORKDIR}/pupnp-release-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF += "--enable-reuseaddr"
\ No newline at end of file
-- 
2.11.0

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


[oe] [meta-multimedia][PATCH v3 0/2] Add libupnp1.8 recipe

2017-09-13 Thread Fabien Lahoudere
In order to build gerbera, we need to support libupnp >= 1.8.
However mpd won't build with this version probably due to API break.

So we add a new recipe libupnp1.8 to be able to use both version.
Both version can be run in parallel.

?:~/src/oe-core/build$ dpkg-deb -c 
tmp-glibc/deploy/deb/cortexa9hf-neon/libupnp_1.6.21-r0_armhf.deb 
drwxrwxrwx root/root 0 2017-09-13 17:26 ./
drwxr-xr-x root/root 0 2017-09-13 17:26 ./usr/
drwxr-xr-x root/root 0 2017-09-13 17:26 ./usr/lib/
-rwxr-xr-x root/root 31600 2017-09-13 17:26 ./usr/lib/libixml.so.2.0.8
-rwxr-xr-x root/root 17912 2017-09-13 17:26 ./usr/lib/libthreadutil.so.6.0.4
-rwxr-xr-x root/root117676 2017-09-13 17:26 ./usr/lib/libupnp.so.6.3.4
lrwxrwxrwx root/root 0 2017-09-13 17:26 ./usr/lib/libixml.so.2 -> 
libixml.so.2.0.8
lrwxrwxrwx root/root 0 2017-09-13 17:26 ./usr/lib/libthreadutil.so.6 -> 
libthreadutil.so.6.0.4
lrwxrwxrwx root/root 0 2017-09-13 17:26 ./usr/lib/libupnp.so.6 -> 
libupnp.so.6.3.4
?:~/src/oe-core/build$ dpkg-deb -c 
tmp-glibc/deploy/deb/cortexa9hf-neon/libupnp1.8_1.8.2-r0_armhf.deb 
drwxrwxrwx root/root 0 2017-09-13 17:43 ./
drwxr-xr-x root/root 0 2017-09-13 17:43 ./usr/
drwxr-xr-x root/root 0 2017-09-13 17:43 ./usr/lib/
-rwxr-xr-x root/root 35696 2017-09-13 17:43 ./usr/lib/libixml.so.10.0.1
-rwxr-xr-x root/root155128 2017-09-13 17:43 ./usr/lib/libupnp.so.10.1.1
lrwxrwxrwx root/root 0 2017-09-13 17:43 ./usr/lib/libixml.so.10 -> 
libixml.so.10.0.1
lrwxrwxrwx root/root 0 2017-09-13 17:43 ./usr/lib/libupnp.so.10 -> 
libupnp.so.10.1.1

mpd and gerbera have been built successfully with this fix.

The patch also clean a bit gerbera recipe and fix dependency issue.

Fabien Lahoudere (2):
  libupnp: Add recipe for version 1.8.2
  gerbera: clean recipe

 .../recipes-connectivity/libupnp/libupnp1.8.bb | 22 ++
 .../recipes-multimedia/gerbera/gerbera_git.bb  | 12 ++--
 2 files changed, 28 insertions(+), 6 deletions(-)
 create mode 100644 meta-multimedia/recipes-connectivity/libupnp/libupnp1.8.bb

-- 
2.11.0

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


Re: [oe] [OE-core] OpenEmbedded Developer Meeting Oct 22, 2017 in Prague (before ELCE)

2017-09-13 Thread Philip Balister
On 09/13/2017 08:40 AM, Ruslan Bilovol wrote:
> On Thu, Aug 24, 2017 at 9:37 PM, Philip Balister  wrote:
>> Once again we will have a developer meeting in Prague the Sunday before
>> ELCE.
>>
>> Please go to https://www.openembedded.org/wiki/OEDEM_2017 and add
>> yourself if you are attending and ideas for topics.
>>
>> Although it is called a developer meeting, we invite members of the
>> larger community to attend. The core developers are always interested in
>> hearing how OpenEmbedded is used, and what we can do to make it better
>> for building the embedded devices of the future.
> 
> Is it free to attend, anything else required except of
> self-registration on wiki?

Self registration on the wiki is fine. See you in October.

Philip

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


Re: [oe] [OE-core] OpenEmbedded Developer Meeting Oct 22, 2017 in Prague (before ELCE)

2017-09-13 Thread Ruslan Bilovol
On Thu, Aug 24, 2017 at 9:37 PM, Philip Balister  wrote:
> Once again we will have a developer meeting in Prague the Sunday before
> ELCE.
>
> Please go to https://www.openembedded.org/wiki/OEDEM_2017 and add
> yourself if you are attending and ideas for topics.
>
> Although it is called a developer meeting, we invite members of the
> larger community to attend. The core developers are always interested in
> hearing how OpenEmbedded is used, and what we can do to make it better
> for building the embedded devices of the future.

Is it free to attend, anything else required except of
self-registration on wiki?

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


Re: [oe] [meta-multimedia][PATCH v2] libupnp: Bump to version 1.8.2

2017-09-13 Thread Martin Jansa
Only if both versions can be installed in parallel otherwise it will still
fail for either gerbera or mpd.

On Wed, Sep 13, 2017 at 5:09 PM, Fabien Lahoudere <
fabien.lahoud...@collabora.co.uk> wrote:

> It seems libupnp breaks its API and mpd doesn't support it yet (I also
> test last release 0.20.10).
>
> I will revert libupnp deletion and rename the one for gerbera support
> libupnp-1.8.
> Is that solution acceptable?
>
> On Wed, 2017-09-13 at 16:20 +0200, Martin Jansa wrote:
> > Please fix this ASAP, because I've already merged gerbera recipe (tested
> together with this
> > libupnp change), but now with libupnp upgrade dropped from master-next
> because of this issue
> > gerbera fails as well in master due to old upnp:
> >
> > -- Found UPnP: 
> > gerbera/1.0+gitAUTOINC+4435b165d1-r0/recipe-sysroot/usr/lib/libupnp.so
> (found
> > version "1.6.21")
> > CMake Error at CMakeLists.txt:380 (message):
> >   gerbera requires libupnp 1.8.0 or above.
> >
> >
> > On Mon, Sep 11, 2017 at 6:51 PM, Martin Jansa 
> wrote:
> > > This probably break mpd build:
> > > http://errors.yoctoproject.org/Errors/Details/155531/
> > >
> > > On Mon, Sep 11, 2017 at 2:50 PM, Fabien Lahoudere <
> fabien.lahoud...@collabora.co.uk> wrote:
> > > > Signed-off-by: Fabien Lahoudere 
> > > > ---
> > > >  .../libupnp/libupnp/sepbuildfix.patch  | 34
> --
> > > >  .../{libupnp_1.6.21.bb => libupnp_1.8.2.bb}| 12 
> > > >  2 files changed, 7 insertions(+), 39 deletions(-)
> > > >  delete mode 100644 meta-multimedia/recipes-
> connectivity/libupnp/libupnp/sepbuildfix.patch
> > > >  rename meta-multimedia/recipes-connectivity/libupnp/{libupnp_
> 1.6.21.bb => libupnp_1.8.2.bb}
> > > > (66%)
> > > >
> > > > diff --git 
> > > > a/meta-multimedia/recipes-connectivity/libupnp/libupnp/sepbuildfix.patch
> b/meta-
> > > > multimedia/recipes-connectivity/libupnp/libupnp/sepbuildfix.patch
> > > > deleted file mode 100644
> > > > index 0493cea0e..0
> > > > --- a/meta-multimedia/recipes-connectivity/libupnp/libupnp/
> sepbuildfix.patch
> > > > +++ /dev/null
> > > > @@ -1,34 +0,0 @@
> > > > -From e198f0a87660a048164ca0e16d18517d0aee846e Mon Sep 17 00:00:00
> 2001
> > > > -From: Andre McCurdy 
> > > > -Date: Tue, 9 Jun 2015 12:20:45 -0700
> > > > -Subject: [PATCH] Fix builds when using separate source and build
> directories.
> > > > -
> > > > -Upstream-Status: Pending
> > > > -
> > > > -Signed-off-by: Andre McCurdy 
> > > > 
> > > > - configure.ac   | 10 +-
> > > > - 1 files changed, 5 insertions(+), 5 deletions(-)
> > > > -
> > > > -diff --git a/configure.ac b/configure.ac
> > > > -index a8731b5..54a3c3d 100644
> > > >  a/configure.ac
> > > > -+++ b/configure.ac
> > > > -@@ -744,9 +744,9 @@ AC_OUTPUT
> > > > - #
> > > > - # Files copied for windows compilation.
> > > > - #
> > > > --echo "configure: copying \"autoconfig.h\"  to
> \"build/inc/autoconfig.h\""
> > > > --test -d build/inc || mkdir -p build/inc
> > > > --cp autoconfig.h build/inc/autoconfig.h
> > > > --echo "configure: copying \"upnp/inc/upnpconfig.h\" to
> \"build/inc/upnpconfig.h\""
> > > > --cp upnp/inc/upnpconfig.h build/inc/upnpconfig.h
> > > > -+echo "configure: copying \"autoconfig.h\"  to
> \"\$srcdir/build/inc/autoconfig.h\""
> > > > -+test -d $srcdir/build/inc || mkdir -p $srcdir/build/inc
> > > > -+cp autoconfig.h $srcdir/build/inc/autoconfig.h
> > > > -+echo "configure: copying \"upnp/inc/upnpconfig.h\" to
> \"\$srcdir/build/inc/upnpconfig.h\""
> > > > -+cp upnp/inc/upnpconfig.h $srcdir/build/inc/upnpconfig.h
> > > > -
> > > > ---
> > > > -1.9.1
> > > > -
> > > > diff --git a/meta-multimedia/recipes-connectivity/libupnp/libupnp_
> 1.6.21.bb b/meta-
> > > > multimedia/recipes-connectivity/libupnp/libupnp_1.8.2.bb
> > > > similarity index 66%
> > > > rename from meta-multimedia/recipes-connectivity/libupnp/libupnp_
> 1.6.21.bb
> > > > rename to meta-multimedia/recipes-connectivity/libupnp/libupnp_
> 1.8.2.bb
> > > > index a1988295a..61b209ab8 100644
> > > > --- a/meta-multimedia/recipes-connectivity/libupnp/libupnp_1.6.21.bb
> > > > +++ b/meta-multimedia/recipes-connectivity/libupnp/libupnp_1.8.2.bb
> > > > @@ -8,11 +8,13 @@ HOMEPAGE = "http://pupnp.sourceforge.net/;
> > > >  LICENSE = "BSD"
> > > >  LIC_FILES_CHKSUM = "file://LICENSE;md5=
> b3190d5244e08e78e4c8ee78544f4863"
> > > >
> > > > -SRC_URI = "${SOURCEFORGE_MIRROR}/pupnp/${BP}.tar.bz2 \
> > > > -   file://sepbuildfix.patch \
> > > > -"
> > > > +SRC_URI = "https://github.com/mrjimenez/
> pupnp/archive/release-${PV}.tar.gz "
> > > >
> > > > -SRC_URI[md5sum] = "513adadb07fa039a8aeb0ceb7b7b0f6e"
> > > > -SRC_URI[sha256sum] = "af3f3c0846a1d75baeadae4aa5a2bd
> a427567e2a1fb4559bf73ccff0a4f9a39b"
> > > > +SRC_URI[md5sum] = "db8061f7cbd7f9af993ac4e87ad084cb"
> > > > +SRC_URI[sha256sum] = "438ad86bfd933cb1e9be1c41bf3bd6
> 

Re: [oe] [meta-multimedia][PATCH v2] libupnp: Bump to version 1.8.2

2017-09-13 Thread Fabien Lahoudere
It seems libupnp breaks its API and mpd doesn't support it yet (I also test 
last release 0.20.10).

I will revert libupnp deletion and rename the one for gerbera support 
libupnp-1.8.
Is that solution acceptable?

On Wed, 2017-09-13 at 16:20 +0200, Martin Jansa wrote:
> Please fix this ASAP, because I've already merged gerbera recipe (tested 
> together with this
> libupnp change), but now with libupnp upgrade dropped from master-next 
> because of this issue
> gerbera fails as well in master due to old upnp:
> 
> -- Found UPnP: 
> gerbera/1.0+gitAUTOINC+4435b165d1-r0/recipe-sysroot/usr/lib/libupnp.so (found
> version "1.6.21") 
> CMake Error at CMakeLists.txt:380 (message):
>   gerbera requires libupnp 1.8.0 or above.
> 
> 
> On Mon, Sep 11, 2017 at 6:51 PM, Martin Jansa  wrote:
> > This probably break mpd build:
> > http://errors.yoctoproject.org/Errors/Details/155531/
> > 
> > On Mon, Sep 11, 2017 at 2:50 PM, Fabien Lahoudere 
> >  wrote:
> > > Signed-off-by: Fabien Lahoudere 
> > > ---
> > >  .../libupnp/libupnp/sepbuildfix.patch              | 34 
> > > --
> > >  .../{libupnp_1.6.21.bb => libupnp_1.8.2.bb}        | 12 
> > >  2 files changed, 7 insertions(+), 39 deletions(-)
> > >  delete mode 100644 
> > > meta-multimedia/recipes-connectivity/libupnp/libupnp/sepbuildfix.patch
> > >  rename meta-multimedia/recipes-connectivity/libupnp/{libupnp_1.6.21.bb 
> > > => libupnp_1.8.2.bb}
> > > (66%)
> > > 
> > > diff --git 
> > > a/meta-multimedia/recipes-connectivity/libupnp/libupnp/sepbuildfix.patch 
> > > b/meta-
> > > multimedia/recipes-connectivity/libupnp/libupnp/sepbuildfix.patch
> > > deleted file mode 100644
> > > index 0493cea0e..0
> > > --- 
> > > a/meta-multimedia/recipes-connectivity/libupnp/libupnp/sepbuildfix.patch
> > > +++ /dev/null
> > > @@ -1,34 +0,0 @@
> > > -From e198f0a87660a048164ca0e16d18517d0aee846e Mon Sep 17 00:00:00 2001
> > > -From: Andre McCurdy 
> > > -Date: Tue, 9 Jun 2015 12:20:45 -0700
> > > -Subject: [PATCH] Fix builds when using separate source and build 
> > > directories.
> > > -
> > > -Upstream-Status: Pending
> > > -
> > > -Signed-off-by: Andre McCurdy 
> > > 
> > > - configure.ac           | 10 +-
> > > - 1 files changed, 5 insertions(+), 5 deletions(-)
> > > -
> > > -diff --git a/configure.ac b/configure.ac
> > > -index a8731b5..54a3c3d 100644
> > >  a/configure.ac
> > > -+++ b/configure.ac
> > > -@@ -744,9 +744,9 @@ AC_OUTPUT
> > > - #
> > > - # Files copied for windows compilation.
> > > - #
> > > --echo "configure: copying \"autoconfig.h\"          to 
> > > \"build/inc/autoconfig.h\""
> > > --test -d build/inc || mkdir -p build/inc
> > > --cp autoconfig.h build/inc/autoconfig.h
> > > --echo "configure: copying \"upnp/inc/upnpconfig.h\" to 
> > > \"build/inc/upnpconfig.h\""
> > > --cp upnp/inc/upnpconfig.h build/inc/upnpconfig.h
> > > -+echo "configure: copying \"autoconfig.h\"          to 
> > > \"\$srcdir/build/inc/autoconfig.h\""
> > > -+test -d $srcdir/build/inc || mkdir -p $srcdir/build/inc
> > > -+cp autoconfig.h $srcdir/build/inc/autoconfig.h
> > > -+echo "configure: copying \"upnp/inc/upnpconfig.h\" to 
> > > \"\$srcdir/build/inc/upnpconfig.h\""
> > > -+cp upnp/inc/upnpconfig.h $srcdir/build/inc/upnpconfig.h
> > > -
> > > ---
> > > -1.9.1
> > > -
> > > diff --git 
> > > a/meta-multimedia/recipes-connectivity/libupnp/libupnp_1.6.21.bb b/meta-
> > > multimedia/recipes-connectivity/libupnp/libupnp_1.8.2.bb
> > > similarity index 66%
> > > rename from meta-multimedia/recipes-connectivity/libupnp/libupnp_1.6.21.bb
> > > rename to meta-multimedia/recipes-connectivity/libupnp/libupnp_1.8.2.bb
> > > index a1988295a..61b209ab8 100644
> > > --- a/meta-multimedia/recipes-connectivity/libupnp/libupnp_1.6.21.bb
> > > +++ b/meta-multimedia/recipes-connectivity/libupnp/libupnp_1.8.2.bb
> > > @@ -8,11 +8,13 @@ HOMEPAGE = "http://pupnp.sourceforge.net/;
> > >  LICENSE = "BSD"
> > >  LIC_FILES_CHKSUM = "file://LICENSE;md5=b3190d5244e08e78e4c8ee78544f4863"
> > > 
> > > -SRC_URI = "${SOURCEFORGE_MIRROR}/pupnp/${BP}.tar.bz2 \
> > > -           file://sepbuildfix.patch \
> > > -"
> > > +SRC_URI = 
> > > "https://github.com/mrjimenez/pupnp/archive/release-${PV}.tar.gz "
> > > 
> > > -SRC_URI[md5sum] = "513adadb07fa039a8aeb0ceb7b7b0f6e"
> > > -SRC_URI[sha256sum] = 
> > > "af3f3c0846a1d75baeadae4aa5a2bda427567e2a1fb4559bf73ccff0a4f9a39b"
> > > +SRC_URI[md5sum] = "db8061f7cbd7f9af993ac4e87ad084cb"
> > > +SRC_URI[sha256sum] = 
> > > "438ad86bfd933cb1e9be1c41bf3bd69f049daba11d71bbb5d715336e00106cb4"
> > > +
> > > +S="${WORKDIR}/pupnp-release-${PV}"
> > > 
> > >  inherit autotools
> > > +
> > > +EXTRA_OECONF += "--enable-reuseaddr"
> > > \ No newline at end of file
> > > --
> > > 2.11.0
> > > 
> > > --
> > > ___
> > > Openembedded-devel mailing list
> > > 

Re: [oe] [meta-multimedia][PATCH v2] libupnp: Bump to version 1.8.2

2017-09-13 Thread Fabien Lahoudere
Ok I will try to update mpd now and see if it help.

On Wed, 2017-09-13 at 16:20 +0200, Martin Jansa wrote:
> Please fix this ASAP, because I've already merged gerbera recipe (tested 
> together with this
> libupnp change), but now with libupnp upgrade dropped from master-next 
> because of this issue
> gerbera fails as well in master due to old upnp:
> 
> -- Found UPnP: 
> gerbera/1.0+gitAUTOINC+4435b165d1-r0/recipe-sysroot/usr/lib/libupnp.so (found
> version "1.6.21") 
> CMake Error at CMakeLists.txt:380 (message):
>   gerbera requires libupnp 1.8.0 or above.
> 
> 
> On Mon, Sep 11, 2017 at 6:51 PM, Martin Jansa  wrote:
> > This probably break mpd build:
> > http://errors.yoctoproject.org/Errors/Details/155531/
> > 
> > On Mon, Sep 11, 2017 at 2:50 PM, Fabien Lahoudere 
> >  wrote:
> > > Signed-off-by: Fabien Lahoudere 
> > > ---
> > >  .../libupnp/libupnp/sepbuildfix.patch              | 34 
> > > --
> > >  .../{libupnp_1.6.21.bb => libupnp_1.8.2.bb}        | 12 
> > >  2 files changed, 7 insertions(+), 39 deletions(-)
> > >  delete mode 100644 
> > > meta-multimedia/recipes-connectivity/libupnp/libupnp/sepbuildfix.patch
> > >  rename meta-multimedia/recipes-connectivity/libupnp/{libupnp_1.6.21.bb 
> > > => libupnp_1.8.2.bb}
> > > (66%)
> > > 
> > > diff --git 
> > > a/meta-multimedia/recipes-connectivity/libupnp/libupnp/sepbuildfix.patch 
> > > b/meta-
> > > multimedia/recipes-connectivity/libupnp/libupnp/sepbuildfix.patch
> > > deleted file mode 100644
> > > index 0493cea0e..0
> > > --- 
> > > a/meta-multimedia/recipes-connectivity/libupnp/libupnp/sepbuildfix.patch
> > > +++ /dev/null
> > > @@ -1,34 +0,0 @@
> > > -From e198f0a87660a048164ca0e16d18517d0aee846e Mon Sep 17 00:00:00 2001
> > > -From: Andre McCurdy 
> > > -Date: Tue, 9 Jun 2015 12:20:45 -0700
> > > -Subject: [PATCH] Fix builds when using separate source and build 
> > > directories.
> > > -
> > > -Upstream-Status: Pending
> > > -
> > > -Signed-off-by: Andre McCurdy 
> > > 
> > > - configure.ac           | 10 +-
> > > - 1 files changed, 5 insertions(+), 5 deletions(-)
> > > -
> > > -diff --git a/configure.ac b/configure.ac
> > > -index a8731b5..54a3c3d 100644
> > >  a/configure.ac
> > > -+++ b/configure.ac
> > > -@@ -744,9 +744,9 @@ AC_OUTPUT
> > > - #
> > > - # Files copied for windows compilation.
> > > - #
> > > --echo "configure: copying \"autoconfig.h\"          to 
> > > \"build/inc/autoconfig.h\""
> > > --test -d build/inc || mkdir -p build/inc
> > > --cp autoconfig.h build/inc/autoconfig.h
> > > --echo "configure: copying \"upnp/inc/upnpconfig.h\" to 
> > > \"build/inc/upnpconfig.h\""
> > > --cp upnp/inc/upnpconfig.h build/inc/upnpconfig.h
> > > -+echo "configure: copying \"autoconfig.h\"          to 
> > > \"\$srcdir/build/inc/autoconfig.h\""
> > > -+test -d $srcdir/build/inc || mkdir -p $srcdir/build/inc
> > > -+cp autoconfig.h $srcdir/build/inc/autoconfig.h
> > > -+echo "configure: copying \"upnp/inc/upnpconfig.h\" to 
> > > \"\$srcdir/build/inc/upnpconfig.h\""
> > > -+cp upnp/inc/upnpconfig.h $srcdir/build/inc/upnpconfig.h
> > > -
> > > ---
> > > -1.9.1
> > > -
> > > diff --git 
> > > a/meta-multimedia/recipes-connectivity/libupnp/libupnp_1.6.21.bb b/meta-
> > > multimedia/recipes-connectivity/libupnp/libupnp_1.8.2.bb
> > > similarity index 66%
> > > rename from meta-multimedia/recipes-connectivity/libupnp/libupnp_1.6.21.bb
> > > rename to meta-multimedia/recipes-connectivity/libupnp/libupnp_1.8.2.bb
> > > index a1988295a..61b209ab8 100644
> > > --- a/meta-multimedia/recipes-connectivity/libupnp/libupnp_1.6.21.bb
> > > +++ b/meta-multimedia/recipes-connectivity/libupnp/libupnp_1.8.2.bb
> > > @@ -8,11 +8,13 @@ HOMEPAGE = "http://pupnp.sourceforge.net/;
> > >  LICENSE = "BSD"
> > >  LIC_FILES_CHKSUM = "file://LICENSE;md5=b3190d5244e08e78e4c8ee78544f4863"
> > > 
> > > -SRC_URI = "${SOURCEFORGE_MIRROR}/pupnp/${BP}.tar.bz2 \
> > > -           file://sepbuildfix.patch \
> > > -"
> > > +SRC_URI = 
> > > "https://github.com/mrjimenez/pupnp/archive/release-${PV}.tar.gz "
> > > 
> > > -SRC_URI[md5sum] = "513adadb07fa039a8aeb0ceb7b7b0f6e"
> > > -SRC_URI[sha256sum] = 
> > > "af3f3c0846a1d75baeadae4aa5a2bda427567e2a1fb4559bf73ccff0a4f9a39b"
> > > +SRC_URI[md5sum] = "db8061f7cbd7f9af993ac4e87ad084cb"
> > > +SRC_URI[sha256sum] = 
> > > "438ad86bfd933cb1e9be1c41bf3bd69f049daba11d71bbb5d715336e00106cb4"
> > > +
> > > +S="${WORKDIR}/pupnp-release-${PV}"
> > > 
> > >  inherit autotools
> > > +
> > > +EXTRA_OECONF += "--enable-reuseaddr"
> > > \ No newline at end of file
> > > --
> > > 2.11.0
> > > 
> > > --
> > > ___
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > > 
> > 
> > 
> 
> 
-- 

[oe] [meta-multimedia][PATCH] Revert "gerbera: Add recipe"

2017-09-13 Thread Martin Jansa
* depends on newer libupnp which wasn't merged yet, because it breaks
  mpd

This reverts commit e890ecb1d2bb4f2d23f4d5cc7e40e0b1806da984.
---
 .../gerbera/files/gerbera.service  | 13 -
 .../recipes-multimedia/gerbera/gerbera_git.bb  | 34 --
 2 files changed, 47 deletions(-)
 delete mode 100644 
meta-multimedia/recipes-multimedia/gerbera/files/gerbera.service
 delete mode 100644 meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb

diff --git a/meta-multimedia/recipes-multimedia/gerbera/files/gerbera.service 
b/meta-multimedia/recipes-multimedia/gerbera/files/gerbera.service
deleted file mode 100644
index 1b5a3ad3e..0
--- a/meta-multimedia/recipes-multimedia/gerbera/files/gerbera.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=Start Gerbera, an UPnP media server
-After=multi-user.target network-online.target
-Wants=network-online.target
-
-[Service]
-ExecStart=/usr/bin/gerbera
-Environment='HOME=/root'
-Type=simple
-RemainAfterExit=yes
-
-[Install]
-WantedBy=multi-user.target
\ No newline at end of file
diff --git a/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb 
b/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb
deleted file mode 100644
index 2bbedc0d1..0
--- a/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb
+++ /dev/null
@@ -1,34 +0,0 @@
-Description = "Gerbera - An UPnP media server"
-
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://LICENSE.md;md5=25cdec9afe3f1f26212ead6bd2f7fac8"
-
-SRC_URI = "git://github.com/v00d00/gerbera.git;protocol=https \
-  file://gerbera.service "
-
-
-# Modify these as desired
-PV = "1.0+git${SRCPV}"
-SRCREV = "4435b165d121195aefd67d0287f7f9349e181d45"
-
-S = "${WORKDIR}/git"
-
-DEPENDS = "expat zlib curl libupnp e2fsprogs sqlite3 taglib "
-RDEPENDS_${PN} = "expat zlib curl libupnp e2fsprogs taglib "
-
-SYSTEMD_SERVICE_${PN} = "gerbera.service"
-SYSTEMD_AUTO_ENABLE = "enable"
-
-inherit cmake systemd
-
-EXTRA_OECMAKE = "-DWITH_JS=FALSE -DWITH_TAGLIB=FALSE -DWITH_MAGIC=FALSE 
-DWITH_EXIF=FALSE -DLIBUUID_INCLUDE_DIRS=${WORKDIR}/recipe-sysroot/usr/include 
-DLIBUUID_LIBRARIES=-luuid"
-
-do_install_append() {
-   install -d ${D}/root/.config/
-   install -d ${D}${systemd_system_unitdir}
-install -m 0644 ${WORKDIR}/gerbera.service 
${D}${systemd_system_unitdir}/
-}
-
-FILES_${PN} += " /root/.config/ \
-${systemd_system_unitdir}/* \
-"
\ No newline at end of file
-- 
2.14.1

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


Re: [oe] [meta-multimedia][PATCH v2] libupnp: Bump to version 1.8.2

2017-09-13 Thread Martin Jansa
Please fix this ASAP, because I've already merged gerbera recipe (tested
together with this libupnp change), but now with libupnp upgrade dropped
from master-next because of this issue gerbera fails as well in master due
to old upnp:

-- Found UPnP:
gerbera/1.0+gitAUTOINC+4435b165d1-r0/recipe-sysroot/usr/lib/libupnp.so
(found version "1.6.21")
CMake Error at CMakeLists.txt:380 (message):
  gerbera requires libupnp 1.8.0 or above.


On Mon, Sep 11, 2017 at 6:51 PM, Martin Jansa 
wrote:

> This probably break mpd build:
> http://errors.yoctoproject.org/Errors/Details/155531/
>
> On Mon, Sep 11, 2017 at 2:50 PM, Fabien Lahoudere <
> fabien.lahoud...@collabora.co.uk> wrote:
>
>> Signed-off-by: Fabien Lahoudere 
>> ---
>>  .../libupnp/libupnp/sepbuildfix.patch  | 34
>> --
>>  .../{libupnp_1.6.21.bb => libupnp_1.8.2.bb}| 12 
>>  2 files changed, 7 insertions(+), 39 deletions(-)
>>  delete mode 100644 meta-multimedia/recipes-connec
>> tivity/libupnp/libupnp/sepbuildfix.patch
>>  rename meta-multimedia/recipes-connectivity/libupnp/{libupnp_1.6.21.bb
>> => libupnp_1.8.2.bb} (66%)
>>
>> diff --git 
>> a/meta-multimedia/recipes-connectivity/libupnp/libupnp/sepbuildfix.patch
>> b/meta-multimedia/recipes-connectivity/libupnp/libupnp/sepbuildfix.patch
>> deleted file mode 100644
>> index 0493cea0e..0
>> --- a/meta-multimedia/recipes-connectivity/libupnp/libupnp/sepbu
>> ildfix.patch
>> +++ /dev/null
>> @@ -1,34 +0,0 @@
>> -From e198f0a87660a048164ca0e16d18517d0aee846e Mon Sep 17 00:00:00 2001
>> -From: Andre McCurdy 
>> -Date: Tue, 9 Jun 2015 12:20:45 -0700
>> -Subject: [PATCH] Fix builds when using separate source and build
>> directories.
>> -
>> -Upstream-Status: Pending
>> -
>> -Signed-off-by: Andre McCurdy 
>> 
>> - configure.ac   | 10 +-
>> - 1 files changed, 5 insertions(+), 5 deletions(-)
>> -
>> -diff --git a/configure.ac b/configure.ac
>> -index a8731b5..54a3c3d 100644
>>  a/configure.ac
>> -+++ b/configure.ac
>> -@@ -744,9 +744,9 @@ AC_OUTPUT
>> - #
>> - # Files copied for windows compilation.
>> - #
>> --echo "configure: copying \"autoconfig.h\"  to
>> \"build/inc/autoconfig.h\""
>> --test -d build/inc || mkdir -p build/inc
>> --cp autoconfig.h build/inc/autoconfig.h
>> --echo "configure: copying \"upnp/inc/upnpconfig.h\" to
>> \"build/inc/upnpconfig.h\""
>> --cp upnp/inc/upnpconfig.h build/inc/upnpconfig.h
>> -+echo "configure: copying \"autoconfig.h\"  to
>> \"\$srcdir/build/inc/autoconfig.h\""
>> -+test -d $srcdir/build/inc || mkdir -p $srcdir/build/inc
>> -+cp autoconfig.h $srcdir/build/inc/autoconfig.h
>> -+echo "configure: copying \"upnp/inc/upnpconfig.h\" to
>> \"\$srcdir/build/inc/upnpconfig.h\""
>> -+cp upnp/inc/upnpconfig.h $srcdir/build/inc/upnpconfig.h
>> -
>> ---
>> -1.9.1
>> -
>> diff --git a/meta-multimedia/recipes-connectivity/libupnp/libupnp_1.6.
>> 21.bb b/meta-multimedia/recipes-connectivity/libupnp/libupnp_1.8.2.bb
>> similarity index 66%
>> rename from meta-multimedia/recipes-connectivity/libupnp/libupnp_1.6.21.
>> bb
>> rename to meta-multimedia/recipes-connectivity/libupnp/libupnp_1.8.2.bb
>> index a1988295a..61b209ab8 100644
>> --- a/meta-multimedia/recipes-connectivity/libupnp/libupnp_1.6.21.bb
>> +++ b/meta-multimedia/recipes-connectivity/libupnp/libupnp_1.8.2.bb
>> @@ -8,11 +8,13 @@ HOMEPAGE = "http://pupnp.sourceforge.net/;
>>  LICENSE = "BSD"
>>  LIC_FILES_CHKSUM = "file://LICENSE;md5=b3190d5244e08e78e4c8ee78544f4863"
>>
>> -SRC_URI = "${SOURCEFORGE_MIRROR}/pupnp/${BP}.tar.bz2 \
>> -   file://sepbuildfix.patch \
>> -"
>> +SRC_URI = "https://github.com/mrjimenez/pupnp/archive/release-${PV}.ta
>> r.gz "
>>
>> -SRC_URI[md5sum] = "513adadb07fa039a8aeb0ceb7b7b0f6e"
>> -SRC_URI[sha256sum] = "af3f3c0846a1d75baeadae4aa5a2b
>> da427567e2a1fb4559bf73ccff0a4f9a39b"
>> +SRC_URI[md5sum] = "db8061f7cbd7f9af993ac4e87ad084cb"
>> +SRC_URI[sha256sum] = "438ad86bfd933cb1e9be1c41bf3bd
>> 69f049daba11d71bbb5d715336e00106cb4"
>> +
>> +S="${WORKDIR}/pupnp-release-${PV}"
>>
>>  inherit autotools
>> +
>> +EXTRA_OECONF += "--enable-reuseaddr"
>> \ No newline at end of file
>> --
>> 2.11.0
>>
>> --
>> ___
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>
>
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-networking][PATCH] tcpdump: fix CVE-2017-11541, 11542, 11543

2017-09-13 Thread Jose Lamego


On 09/13/2017 04:17 AM, Martin Jansa wrote:
> Please update the state on patchwork (https://patchwork.
> openembedded.org/project/oe/patches/) when sending updates like this.
>
> You can update it on the site or use some magic keywords in the e-mail
> reply to update it automatically (but I've failed to find link to
> documentation how this magic should look like).
>

To automatically change a patch status in Patchwork, the string to be
included at the bottom of an email reply must be in the form:
[Patchwork-Status: ]

where  can be any of the existing states (excepting "Accepted").

This and other ways of updating patch statuses can be seen at:
http://www.openembedded.org/wiki/Patchwork#Update_the_state_of_patches

> On Wed, Sep 13, 2017 at 5:21 AM, wenzong fan 
> wrote:
>
>> Please ignore this patch, the fixes has been included by:
>>
>>   [oe] [meta-networking][PATCH] tcpdump: update to 4.9.2 to fix CVEs
>>
>> Thanks
>> Wenzong
>>
>>
>> On 09/07/2017 05:49 PM, wenzong@windriver.com wrote:
>>
>>> From: Wenzong Fan 
>>>
>>> Backport patches for fixing:
>>> - CVE-2017-11541:
>>>https://nvd.nist.gov/vuln/detail/CVE-2017-11541
>>>https://github.com/the-tcpdump-group/tcpdump/commit/21d702a
>>> 136c5c16882e368af7c173df728242280
>>>
>>> - CVE-2017-11542:
>>>https://nvd.nist.gov/vuln/detail/CVE-2017-11542
>>>https://github.com/the-tcpdump-group/tcpdump/commit/bed4806
>>> 2a64fca524156d7684af19f5b4a116fae
>>>
>>> - CVE-2017-11543:
>>>https://nvd.nist.gov/vuln/detail/CVE-2017-11543
>>>https://github.com/the-tcpdump-group/tcpdump/commit/7039327
>>> 875525278d17edee59720e29a3e76b7b3
>>>
>>> The tests/* changes dropped to workaround patch error:
>>>File tests/*.pcap: git binary diffs are not supported.
>>>
>>> Signed-off-by: Wenzong Fan 
>>> ---
>>>   ...541-In-safeputs-check-the-length-before-c.patch | 49 +
>>>   ...1-CVE-2017-11542-PIMv1-Add-a-bounds-check.patch | 43 +++
>>>   ...543-Make-sure-the-SLIP-direction-octet-is.patch | 85
>>> ++
>>>   .../recipes-support/tcpdump/tcpdump_4.9.1.bb   |  3 +
>>>   4 files changed, 180 insertions(+)
>>>   create mode 100644 meta-networking/recipes-suppor
>>> t/tcpdump/tcpdump/0001-CVE-2017-11541-In-safeputs-check-
>>> the-length-before-c.patch
>>>   create mode 100644 meta-networking/recipes-suppor
>>> t/tcpdump/tcpdump/0001-CVE-2017-11542-PIMv1-Add-a-bounds-check.patch
>>>   create mode 100644 meta-networking/recipes-suppor
>>> t/tcpdump/tcpdump/0001-CVE-2017-11543-Make-sure-the-SLIP-
>>> direction-octet-is.patch
>>>
>>> diff --git a/meta-networking/recipes-support/tcpdump/tcpdump/0001-CVE-
>>> 2017-11541-In-safeputs-check-the-length-before-c.patch
>>> b/meta-networking/recipes-support/tcpdump/tcpdump/0001-CVE-
>>> 2017-11541-In-safeputs-check-the-length-before-c.patch
>>> new file mode 100644
>>> index 0..a83214b02
>>> --- /dev/null
>>> +++ b/meta-networking/recipes-support/tcpdump/tcpdump/0001-CVE-
>>> 2017-11541-In-safeputs-check-the-length-before-c.patch
>>> @@ -0,0 +1,49 @@
>>> +From 21d702a136c5c16882e368af7c173df728242280 Mon Sep 17 00:00:00 2001
>>> +From: Guy Harris 
>>> +Date: Tue, 7 Feb 2017 11:40:36 -0800
>>> +Subject: [PATCH] CVE-2017-11541: In safeputs(), check the length before
>>> + checking for a NUL terminator.
>>> +
>>> +safeputs() doesn't do packet bounds checking of its own; it assumes that
>>> +the caller has checked the availability in the packet data of all maxlen
>>> +bytes of data.  This means we should check that we're within the
>>> +specified limit before looking at the byte.
>>> +
>>> +This fixes a buffer over-read discovered by Kamil Frankowicz.
>>> +
>>> +Add a test using the capture file supplied by the reporter(s).
>>> +
>>> +CVE: CVE-2017-11541
>>> +
>>> +Upstream-Status: Backport
>>> +https://github.com/the-tcpdump-group/tcpdump/commit/21d702a
>>> 136c5c16882e368af7c173df728242280
>>> +
>>> +Drop the tests/* changes to workaroud patch error:
>>> +File tests/hoobr_safeputs.pcap: git binary diffs are not supported.
>>> +
>>> +Signed-off-by: Wenzong Fan 
>>> +---
>>> + tests/TESTLIST|   1 +
>>> + tests/hoobr_safeputs.out  |   2 ++
>>> + tests/hoobr_safeputs.pcap | Bin 0 -> 88 bytes
>>> + util-print.c  |   2 +-
>>> + 4 files changed, 4 insertions(+), 1 deletion(-)
>>> + create mode 100644 tests/hoobr_safeputs.out
>>> + create mode 100644 tests/hoobr_safeputs.pcap
>>> +
>>> +diff --git a/util-print.c b/util-print.c
>>> +index 394e7d59..ec3e8de8 100644
>>> +--- a/util-print.c
>>>  b/util-print.c
>>> +@@ -904,7 +904,7 @@ safeputs(netdissect_options *ndo,
>>> + {
>>> +   u_int idx = 0;
>>> +
>>> +-  while (*s && idx < maxlen) {
>>> ++  while (idx < maxlen && *s) {
>>> +   safeputchar(ndo, *s);
>>> +   idx++;
>>> +   s++;
>>> +--
>>> +2.13.0
>>> +
>>> diff 

Re: [oe] [meta-oe][PATCH] ceres-solver: add new recipe

2017-09-13 Thread Martin Jansa
git fetcher doesn't use SRC_URI checksums, just SRCREV

On Wed, Sep 13, 2017 at 1:48 PM, Bartosz Golaszewski  wrote:

> 2017-09-13 13:39 GMT+02:00 Martin Jansa :
> > Don't use github archives as they might get regenerated from time to
> time.
> >
>
> What do I calculate the checksums from when not using tarballs?
>
> Best regards,
> Bartosz Golaszewski
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] ceres-solver: add new recipe

2017-09-13 Thread Bartosz Golaszewski
2017-09-13 13:39 GMT+02:00 Martin Jansa :
> Don't use github archives as they might get regenerated from time to time.
>

What do I calculate the checksums from when not using tarballs?

Best regards,
Bartosz Golaszewski
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] capnproto: add version 0.6.1

2017-09-13 Thread Pascal Bach
Signed-off-by: Pascal Bach 
---
 .../recipes-devtools/capnproto/capnproto_0.6.1.bb  | 28 ++
 1 file changed, 28 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/capnproto/capnproto_0.6.1.bb

diff --git a/meta-oe/recipes-devtools/capnproto/capnproto_0.6.1.bb 
b/meta-oe/recipes-devtools/capnproto/capnproto_0.6.1.bb
new file mode 100644
index 000..d900fae
--- /dev/null
+++ b/meta-oe/recipes-devtools/capnproto/capnproto_0.6.1.bb
@@ -0,0 +1,28 @@
+SUMMARY = "Cap'n Proto serialization/RPC system"
+DESCRIPTION = "Cap’n Proto is an insanely fast data interchange format and 
capability-based RPC system. "
+HOMEPAGE = "https://github.com/sandstorm-io/capnproto;
+SECTION = "console/tools"
+LICENSE = "MIT"
+
+PACKAGE_BEFORE_PN = "${PN}-compiler"
+
+RDEPENDS_${PN}-dev += "${PN}-compiler"
+
+LIC_FILES_CHKSUM = "file://../LICENSE;md5=0a5b5b742baf10cc1c158579eba7fb1d"
+
+SRCREV = "c949a18da5f041a36cc218c5c4b79c7705999b4f"
+
+SRC_URI = "git://github.com/sandstorm-io/capnproto.git;branch=release-${PV}"
+
+EXTRA_OECMAKE += "\
+   -DBUILD_TESTING=OFF \
+  "
+
+inherit cmake
+
+S = "${WORKDIR}/git/c++"
+
+FILES_${PN}-dev += "${libdir}/cmake"
+FILES_${PN}-compiler = "${bindir}"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.1.4

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


[oe] [meta-oe][PATCH] flatbuffers: add version 1.7.1

2017-09-13 Thread Pascal Bach
Signed-off-by: Pascal Bach 
---
 .../files/0001-correct-version-for-so-lib.patch| 26 +
 .../flatbuffers/flatbuffers_1.7.1.bb   | 34 ++
 2 files changed, 60 insertions(+)
 create mode 100644 
meta-oe/recipes-devtools/flatbuffers/files/0001-correct-version-for-so-lib.patch
 create mode 100644 meta-oe/recipes-devtools/flatbuffers/flatbuffers_1.7.1.bb

diff --git 
a/meta-oe/recipes-devtools/flatbuffers/files/0001-correct-version-for-so-lib.patch
 
b/meta-oe/recipes-devtools/flatbuffers/files/0001-correct-version-for-so-lib.patch
new file mode 100644
index 000..a7a42f9
--- /dev/null
+++ 
b/meta-oe/recipes-devtools/flatbuffers/files/0001-correct-version-for-so-lib.patch
@@ -0,0 +1,26 @@
+From 8b44dc65d98d50b462843ac9dab6fe3fc25abe36 Mon Sep 17 00:00:00 2001
+From: Pascal Bach 
+Date: Fri, 12 May 2017 13:54:49 +0200
+Subject: [PATCH] correct version for so lib
+
+Upstream-Status: Pending
+
+---
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 3670afe..f4fcd2c 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -172,6 +172,7 @@ endif()
+ if(FLATBUFFERS_BUILD_SHAREDLIB)
+   add_library(flatbuffers_shared SHARED ${FlatBuffers_Library_SRCS})
+   set_target_properties(flatbuffers_shared PROPERTIES OUTPUT_NAME flatbuffers)
++  set_target_properties(flatbuffers_shared PROPERTIES VERSION "${PV}")
+ endif()
+ 
+ function(compile_flatbuffers_schema_to_cpp SRC_FBS)
+-- 
+2.1.4
+
diff --git a/meta-oe/recipes-devtools/flatbuffers/flatbuffers_1.7.1.bb 
b/meta-oe/recipes-devtools/flatbuffers/flatbuffers_1.7.1.bb
new file mode 100644
index 000..9e939ee
--- /dev/null
+++ b/meta-oe/recipes-devtools/flatbuffers/flatbuffers_1.7.1.bb
@@ -0,0 +1,34 @@
+SUMMARY = "Memory Efficient Serialization Library"
+HOMEPAGE = "https://github.com/google/flatbuffers;
+SECTION = "console/tools"
+LICENSE = "Apache-2.0"
+
+PACKAGE_BEFORE_PN = "${PN}-compiler"
+
+RDEPENDS_${PN}-compiler = "${PN}"
+RDEPENDS_${PN}-dev += "${PN}-compiler"
+
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a873c5645c184d51e0f9b34e1d7cf559"
+
+SRCREV = "25a15950f5a24d7217689739ed8f6dac64912d62"
+
+SRC_URI = "git://github.com/google/flatbuffers.git \
+   file://0001-correct-version-for-so-lib.patch"
+
+# Make sure C++11 is used, required for example for GCC 4.9
+CXXFLAGS += "-std=c++11"
+BUILD_CXXFLAGS += "-std=c++11"
+
+EXTRA_OECMAKE += "\
+   -DFLATBUFFERS_BUILD_TESTS=OFF \
+   -DFLATBUFFERS_BUILD_SHAREDLIB=ON \
+  -DPV=${PV} \
+  "
+
+inherit cmake
+
+S = "${WORKDIR}/git"
+
+FILES_${PN}-compiler = "${bindir}"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.1.4

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


Re: [oe] [meta-oe][PATCH] ceres-solver: add new recipe

2017-09-13 Thread Martin Jansa
Don't use github archives as they might get regenerated from time to time.

Why do you set PV in the recipe to 1.13.0 and the filename 1.13? Use just
one.

The FILES variable look suspicious, why are you trying to include whole
libdir and includedir? Most of it will be packaged in PN-dev anyway.

On Wed, Sep 13, 2017 at 1:04 PM, Bartosz Golaszewski  wrote:

> From: Bartosz Golaszewski 
>
> Ceres Solver is an open source C++ library for modeling and solving
> large, complicated optimization problems.
>
> It's often used in 3D computer vision applications.
>
> Signed-off-by: Bartosz Golaszewski 
> ---
>  .../recipes-support/ceres-solver/ceres-solver_1.13.bb  | 18
> ++
>  1 file changed, 18 insertions(+)
>  create mode 100644 meta-oe/recipes-support/ceres-solver/
> ceres-solver_1.13.bb
>
> diff --git a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.13.bb
> b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.13.bb
> new file mode 100644
> index 000..0bfc083
> --- /dev/null
> +++ b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.13.bb
> @@ -0,0 +1,18 @@
> +DESCRIPTION = "Ceres Solver is an open source C++ library for modeling
> and solving large, complicated optimization problems."
> +AUTHOR = "Sameer Agarwal and Keir Mierle and Others"
> +HOMEPAGE = "http://ceres-solver.org/;
> +
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=35e00f0c4c96a0820a03e0b31e6416be"
> +
> +SRC_URI = "https://github.com/ceres-solver/ceres-solver/archive/${
> PV}.tar.gz"
> +SRC_URI[md5sum] = "810f53772be2c41abff53a9c03d1e301"
> +SRC_URI[sha256] = "51ccb201b61ac71501fb6ccef158f0
> 78a750bc796ee6a271cd535cfe338202e5"
> +
> +PV = "1.13.0"
> +
> +DEPENDS = "libeigen glog"
> +
> +inherit cmake
> +
> +FILES_${PN} = "${includedir} ${libdir}"
> --
> 2.7.4
>
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] ceres-solver: add new recipe

2017-09-13 Thread Bartosz Golaszewski
From: Bartosz Golaszewski 

Ceres Solver is an open source C++ library for modeling and solving
large, complicated optimization problems.

It's often used in 3D computer vision applications.

Signed-off-by: Bartosz Golaszewski 
---
 .../recipes-support/ceres-solver/ceres-solver_1.13.bb  | 18 ++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-oe/recipes-support/ceres-solver/ceres-solver_1.13.bb

diff --git a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.13.bb 
b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.13.bb
new file mode 100644
index 000..0bfc083
--- /dev/null
+++ b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.13.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "Ceres Solver is an open source C++ library for modeling and 
solving large, complicated optimization problems."
+AUTHOR = "Sameer Agarwal and Keir Mierle and Others"
+HOMEPAGE = "http://ceres-solver.org/;
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=35e00f0c4c96a0820a03e0b31e6416be"
+
+SRC_URI = "https://github.com/ceres-solver/ceres-solver/archive/${PV}.tar.gz;
+SRC_URI[md5sum] = "810f53772be2c41abff53a9c03d1e301"
+SRC_URI[sha256] = 
"51ccb201b61ac71501fb6ccef158f078a750bc796ee6a271cd535cfe338202e5"
+
+PV = "1.13.0"
+
+DEPENDS = "libeigen glog"
+
+inherit cmake
+
+FILES_${PN} = "${includedir} ${libdir}"
-- 
2.7.4

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


Re: [oe] [meta-oe][PATCH] libpng12: add it back from oe-core

2017-09-13 Thread Martin Jansa
All other LSB related recipes are in oe-core, why should libpng12 be
different and live in meta-oe?

On Wed, Sep 13, 2017 at 11:38 AM,  wrote:

> From: Kai Kang 
>
> libpng12 is removed from oe-core. But lsb test 5.0 still requires
> libpng12. So add it back.
>
> Signed-off-by: Kai Kang 
> ---
>  meta-oe/recipes-lsb/libpng/libpng12_1.2.57.bb | 36
> +++
>  1 file changed, 36 insertions(+)
>  create mode 100644 meta-oe/recipes-lsb/libpng/libpng12_1.2.57.bb
>
> diff --git a/meta-oe/recipes-lsb/libpng/libpng12_1.2.57.bb
> b/meta-oe/recipes-lsb/libpng/libpng12_1.2.57.bb
> new file mode 100644
> index 0..9f74f5fdb
> --- /dev/null
> +++ b/meta-oe/recipes-lsb/libpng/libpng12_1.2.57.bb
> @@ -0,0 +1,36 @@
> +SUMMARY = "PNG image format decoding library"
> +HOMEPAGE = "http://www.libpng.org/;
> +SECTION = "libs"
> +LICENSE = "Libpng"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=597b8a91994a3e27ae6aa79bf02677d9 \
> +file://png.h;beginline=19;endline=109;md5=
> 166406397718925b660f0033f7558ef7"
> +DEPENDS = "zlib"
> +
> +PN = "libpng12"
> +S = "${WORKDIR}/libpng-${PV}"
> +
> +SRC_URI = "${GENTOO_MIRROR}/libpng-${PV}.tar.xz"
> +
> +SRC_URI[md5sum] = "307052e5e8af97b82b17b64fb1b3677a"
> +SRC_URI[sha256sum] = "0f4620e11fa283fedafb474427c8e9
> 6bf149511a1804bdc47350963ae5cf54d8"
> +
> +UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/libpng/files/
> libpng12/"
> +UPSTREAM_CHECK_REGEX = "/libpng12/(?P(\d+[\.\-_]*)+)/"
> +
> +BINCONFIG_GLOB = "${PN}-config"
> +
> +inherit autotools binconfig pkgconfig
> +
> +do_install_append() {
> +   # The follow link files link to corresponding png12*.h and
> libpng12* files
> +   # They conflict with higher verison, so drop them
> +   rm ${D}/${includedir}/png.h
> +   rm ${D}/${includedir}/pngconf.h
> +
> +   rm ${D}/${libdir}/libpng.la
> +   rm ${D}/${libdir}/libpng.so
> +   rm ${D}/${libdir}/libpng.a || true
> +   rm ${D}/${libdir}/pkgconfig/libpng.pc
> +
> +   rm ${D}/${bindir}/libpng-config
> +}
> --
> 2.14.1
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] libpng12: add it back from oe-core

2017-09-13 Thread kai.kang
From: Kai Kang 

libpng12 is removed from oe-core. But lsb test 5.0 still requires
libpng12. So add it back.

Signed-off-by: Kai Kang 
---
 meta-oe/recipes-lsb/libpng/libpng12_1.2.57.bb | 36 +++
 1 file changed, 36 insertions(+)
 create mode 100644 meta-oe/recipes-lsb/libpng/libpng12_1.2.57.bb

diff --git a/meta-oe/recipes-lsb/libpng/libpng12_1.2.57.bb 
b/meta-oe/recipes-lsb/libpng/libpng12_1.2.57.bb
new file mode 100644
index 0..9f74f5fdb
--- /dev/null
+++ b/meta-oe/recipes-lsb/libpng/libpng12_1.2.57.bb
@@ -0,0 +1,36 @@
+SUMMARY = "PNG image format decoding library"
+HOMEPAGE = "http://www.libpng.org/;
+SECTION = "libs"
+LICENSE = "Libpng"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=597b8a91994a3e27ae6aa79bf02677d9 \
+
file://png.h;beginline=19;endline=109;md5=166406397718925b660f0033f7558ef7"
+DEPENDS = "zlib"
+
+PN = "libpng12"
+S = "${WORKDIR}/libpng-${PV}"
+
+SRC_URI = "${GENTOO_MIRROR}/libpng-${PV}.tar.xz"
+
+SRC_URI[md5sum] = "307052e5e8af97b82b17b64fb1b3677a"
+SRC_URI[sha256sum] = 
"0f4620e11fa283fedafb474427c8e96bf149511a1804bdc47350963ae5cf54d8"
+
+UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/libpng/files/libpng12/;
+UPSTREAM_CHECK_REGEX = "/libpng12/(?P(\d+[\.\-_]*)+)/"
+
+BINCONFIG_GLOB = "${PN}-config"
+
+inherit autotools binconfig pkgconfig
+
+do_install_append() {
+   # The follow link files link to corresponding png12*.h and libpng12* 
files
+   # They conflict with higher verison, so drop them
+   rm ${D}/${includedir}/png.h
+   rm ${D}/${includedir}/pngconf.h
+
+   rm ${D}/${libdir}/libpng.la
+   rm ${D}/${libdir}/libpng.so
+   rm ${D}/${libdir}/libpng.a || true
+   rm ${D}/${libdir}/pkgconfig/libpng.pc
+
+   rm ${D}/${bindir}/libpng-config
+}
-- 
2.14.1

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


[oe] State of bitbake world, Failed tasks 2017-09-11

2017-09-13 Thread Martin Jansa
qemux86 shows a bit more failures, because it's built from slightly
older metadata (I've removed some pending changes from master-next after
that build).

Also big chunk of meta-networking changes was finally merged, so the list
of tested changes in next report should be significantly shorter again. Thanks 
Joe.

http://www.openembedded.org/wiki/Bitbake_World_Status

== Number of issues - stats ==
{| class='wikitable'
!|Date   !!colspan='3'|Failed tasks 
!!|Signatures !!colspan='14'|QA !!Comment
|-
||  ||qemuarm   ||qemux86   ||qemux86_64||all   
||already-stripped  ||libdir||textrel   ||build-deps
||file-rdeps||version-going-backwards   ||host-user-contaminated
||installed-vs-shipped  ||unknown-configure-option  ||symlink-to-sysroot
||invalid-pkgconfig ||pkgname   ||ldflags   ||compile-host-path 
||  
|-
||2017-09-11||5 ||4 ||5 ||0 ||0 ||0 
||1 ||0 ||0 ||7 ||4 
||0 ||0 ||0 ||0 ||0 
||0 ||0 ||  
|}

== Failed tasks 2017-09-11 ==

INFO: jenkins-job.sh-1.8.28 Complete log available at 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.report.20170912_224314.log

=== common (2) ===
* meta-browser/recipes-mozilla/firefox/firefox_45.9.0esr.bb:do_compile
* 
meta-openembedded/meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.21.bb:do_compile

=== common-x86 (0) ===

=== qemuarm (3) ===
* 
meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb:do_compile
* 
meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb:do_compile
* openembedded-core/meta/recipes-devtools/go/go-dep_0.3.0.bb:do_compile

=== qemux86 (2) ===
* 
meta-openembedded/meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb:do_compile
* 
meta-openembedded/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.12.3.bb:do_compile

=== qemux86_64 (3) ===
* 
meta-openembedded/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb:do_compile
* 
meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb:do_configure
* 
virtual:klibc:meta-openembedded/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb:do_configure

=== Number of failed tasks (14) ===
{| class=wikitable
|-
|| qemuarm  || 5 || 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemuarm.20170911_072424.log/
 || http://errors.yoctoproject.org/Errors/Build/46584/
|-
|| qemux86  || 4 || 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86.20170911_024629.log/
 || http://errors.yoctoproject.org/Errors/Build/46420/
|-
|| qemux86_64   || 5 || 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86-64.20170911_074423.log/
 || http://errors.yoctoproject.org/Errors/Build/46588/
|}

=== PNBLACKLISTs (4) ===

=== QA issues (12) ===
{| class=wikitable
!| Count||Issue
|-
||0 ||already-stripped
|-
||0 ||build-deps
|-
||0 ||compile-host-path
|-
||0 ||file-rdeps
|-
||0 ||installed-vs-shipped
|-
||0 ||invalid-pkgconfig
|-
||0 ||ldflags
|-
||0 ||libdir
|-
||0 ||pkgname
|-
||0 ||symlink-to-sysroot
|-
||0 ||unknown-configure-option
|-
||1 ||textrel
|-
||4 ||host-user-contaminated
|-
||7 ||version-going-backwards
|}



=== Incorrect PACKAGE_ARCH or sstate signatures (0) ===

Complete log: 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.signatures.20170911_063504.log/

No issues detected


PNBLACKLISTs:
openembedded-core/:
meta-browser:
meta-openembedded:
meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb:PNBLACKLIST[smbnetfs]
 ?= "Fails to build with RSS 
http://errors.yoctoproject.org/Errors/Details/132827/ - the recipe will be 
removed on 2017-09-01 unless the issue is fixed"
meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb:PNBLACKLIST[gnome-keyring]
 ?= "This version conflicts with gcr from oe-core - the recipe will be removed 
on 2017-09-01 unless the issue is fixed"
meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb:PNBLACKLIST[lksctp-tools]
 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', "BROKEN: fails to 
link against sctp_connectx symbol", '', d)}"
meta-oe/recipes-support/system-setup-keyboard/system-setup-keyboard_0.8.8.bb:PNBLACKLIST[system-setup-keyboard]
 ?= "Depends on blacklisted system-config-keyboard-native - the recipe will be 
removed on 2017-09-01 unless the issue is fixed"
meta-qt5:
PNBLACKLIST[android-system] = "depends on lxc from meta-virtualiazation which 
isn't included in my world builds"
PNBLACKLIST[bigbuckbunny-1080p] = "big and doesn't really need to be tested so 
much"
PNBLACKLIST[bigbuckbunny-480p] = "big and doesn't really need to be 

Re: [oe] [meta-oe][PATCH V2 2/5] leveldb: Fix build with clang

2017-09-13 Thread Martin Jansa
I'm keeping this one in master-next for a bit longer because in some builds
I've seen some issues which might be caused by enabled parallelism.

The log doesn't show much, the only error is:

Assembler messages:
Fatal error: can't create out-shared/db/db_bench.o: No such file or
directory
mkdir out-shared/db

So I've removed the parallelism part from this change and re-running the
builds.

On Thu, Sep 7, 2017 at 5:57 AM, Khem Raj  wrote:

> Add build parallelism, since we do not use oe_runmake
>
> Signed-off-by: Khem Raj 
> Signed-off-by: Martin Jansa 
> ---
>  ...uild_detect_platform-Check-for-__SSE4_2__.patch | 36
> ++
>  .../0002-makefile-build-SHARED_MEMENVLIB.patch | 43
> ++
>  meta-oe/recipes-extended/leveldb/leveldb_git.bb|  6 ++-
>  3 files changed, 83 insertions(+), 2 deletions(-)
>  create mode 100644 meta-oe/recipes-extended/leveldb/leveldb/0001-build_
> detect_platform-Check-for-__SSE4_2__.patch
>  create mode 100644 meta-oe/recipes-extended/
> leveldb/leveldb/0002-makefile-build-SHARED_MEMENVLIB.patch
>
> diff --git a/meta-oe/recipes-extended/leveldb/leveldb/0001-build_
> detect_platform-Check-for-__SSE4_2__.patch b/meta-oe/recipes-extended/
> leveldb/leveldb/0001-build_detect_platform-Check-for-__SSE4_2__.patch
> new file mode 100644
> index 0..bbabf688d
> --- /dev/null
> +++ b/meta-oe/recipes-extended/leveldb/leveldb/0001-build_
> detect_platform-Check-for-__SSE4_2__.patch
> @@ -0,0 +1,36 @@
> +From 5fd0918df2bb30e8f3edb2ee895d178edbf26f40 Mon Sep 17 00:00:00 2001
> +From: Khem Raj 
> +Date: Mon, 4 Sep 2017 22:38:03 -0700
> +Subject: [PATCH 1/2] build_detect_platform: Check for __SSE4_2__
> +
> +just using -msse4.2 is not enough, especially with clang
> +where it may accept -msse4.2 even during cross compiling
> +for say arm, however the difference is that builtin defines
> +wont be defined.
> +
> +Signed-off-by: Khem Raj 
> +---
> +Upstream-Status: Pending
> +
> + build_detect_platform | 4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
> +
> +Index: git/build_detect_platform
> +===
> +--- git.orig/build_detect_platform
>  git/build_detect_platform
> +@@ -230,13 +230,12 @@ EOF
> + rm -f $CXXOUTPUT 2>/dev/null
> +
> + # Test if gcc SSE 4.2 is supported
> +-$CXX $CXXFLAGS -x c++ - -o $CXXOUTPUT -msse4.2 2>/dev/null  < ++$CXX $CXXFLAGS -Werror -x c++ - -o $CXXOUTPUT -msse4.2 -dD -E
> 2>/dev/null | fgrep __SSE4_2__ $CXXOUTPUT 2>/dev/null  < +   int main() {}
> + EOF
> + if [ "$?" = 0 ]; then
> + PLATFORM_SSEFLAGS="-msse4.2"
> + fi
> +-
> + rm -f $CXXOUTPUT 2>/dev/null
> + fi
> +
> diff --git 
> a/meta-oe/recipes-extended/leveldb/leveldb/0002-makefile-build-SHARED_MEMENVLIB.patch
> b/meta-oe/recipes-extended/leveldb/leveldb/0002-makefile-
> build-SHARED_MEMENVLIB.patch
> new file mode 100644
> index 0..fc708b23a
> --- /dev/null
> +++ b/meta-oe/recipes-extended/leveldb/leveldb/0002-makefile-
> build-SHARED_MEMENVLIB.patch
> @@ -0,0 +1,43 @@
> +From 1ed8cec1fcf666904bb3ebd29fc85e235b72d122 Mon Sep 17 00:00:00 2001
> +From: Khem Raj 
> +Date: Mon, 4 Sep 2017 22:40:49 -0700
> +Subject: [PATCH 2/2] makefile: build SHARED_MEMENVLIB
> +
> +Signed-off-by: Khem Raj 
> +---
> +Upstream-Status: Pending
> +
> + Makefile | 6 +++---
> + 1 file changed, 3 insertions(+), 3 deletions(-)
> +
> +diff --git a/Makefile b/Makefile
> +index f7cc7d7..cb42278 100644
> +--- a/Makefile
>  b/Makefile
> +@@ -126,12 +126,12 @@ SHARED_VERSION_MINOR = 20
> + SHARED_LIB1 = libleveldb.$(PLATFORM_SHARED_EXT)
> + SHARED_LIB2 = $(SHARED_LIB1).$(SHARED_VERSION_MAJOR)
> + SHARED_LIB3 = $(SHARED_LIB1).$(SHARED_VERSION_MAJOR).$(SHARED_
> VERSION_MINOR)
> +-SHARED_LIBS = $(SHARED_OUTDIR)/$(SHARED_LIB1) 
> $(SHARED_OUTDIR)/$(SHARED_LIB2)
> $(SHARED_OUTDIR)/$(SHARED_LIB3)
> ++SHARED_LIBS = $(SHARED_OUTDIR)/$(SHARED_LIB1) 
> $(SHARED_OUTDIR)/$(SHARED_LIB2)
> $(SHARED_OUTDIR)/$(SHARED_LIB3) $(SHARED_MEMENVLIB)
> + $(SHARED_OUTDIR)/$(SHARED_LIB1): $(SHARED_OUTDIR)/$(SHARED_LIB3)
> +   ln -fs $(SHARED_LIB3) $(SHARED_OUTDIR)/$(SHARED_LIB1)
> + $(SHARED_OUTDIR)/$(SHARED_LIB2): $(SHARED_OUTDIR)/$(SHARED_LIB3)
> +   ln -fs $(SHARED_LIB3) $(SHARED_OUTDIR)/$(SHARED_LIB2)
> +-SHARED_MEMENVLIB = $(SHARED_OUTDIR)/libmemenv.a
> ++SHARED_MEMENVLIB = $(SHARED_OUTDIR)/libmemenv.$(
> PLATFORM_SHARED_EXT).$(SHARED_VERSION_MAJOR).$(SHARED_VERSION_MINOR)
> + endif
> +
> + $(SHARED_OUTDIR)/$(SHARED_LIB3): $(SHARED_LIBOBJECTS)
> +@@ -294,7 +294,7 @@ endif
> +
> + $(SHARED_MEMENVLIB):$(SHARED_MEMENVOBJECTS)
> +   rm -f $@
> +-  $(AR) -rs $@ $(SHARED_MEMENVOBJECTS)
> ++  $(CXX) $(LDFLAGS) $(PLATFORM_SHARED_LDFLAGS)$(basename $(notdir
> $(SHARED_MEMENVLIB))) $(SHARED_MEMENVOBJECTS) -o $(SHARED_MEMENVLIB) $(LIBS)
> +
> + 

Re: [oe] [meta-networking][PATCH] tcpdump: fix CVE-2017-11541, 11542, 11543

2017-09-13 Thread Martin Jansa
Please update the state on patchwork (https://patchwork.
openembedded.org/project/oe/patches/) when sending updates like this.

You can update it on the site or use some magic keywords in the e-mail
reply to update it automatically (but I've failed to find link to
documentation how this magic should look like).

On Wed, Sep 13, 2017 at 5:21 AM, wenzong fan 
wrote:

> Please ignore this patch, the fixes has been included by:
>
>   [oe] [meta-networking][PATCH] tcpdump: update to 4.9.2 to fix CVEs
>
> Thanks
> Wenzong
>
>
> On 09/07/2017 05:49 PM, wenzong@windriver.com wrote:
>
>> From: Wenzong Fan 
>>
>> Backport patches for fixing:
>> - CVE-2017-11541:
>>https://nvd.nist.gov/vuln/detail/CVE-2017-11541
>>https://github.com/the-tcpdump-group/tcpdump/commit/21d702a
>> 136c5c16882e368af7c173df728242280
>>
>> - CVE-2017-11542:
>>https://nvd.nist.gov/vuln/detail/CVE-2017-11542
>>https://github.com/the-tcpdump-group/tcpdump/commit/bed4806
>> 2a64fca524156d7684af19f5b4a116fae
>>
>> - CVE-2017-11543:
>>https://nvd.nist.gov/vuln/detail/CVE-2017-11543
>>https://github.com/the-tcpdump-group/tcpdump/commit/7039327
>> 875525278d17edee59720e29a3e76b7b3
>>
>> The tests/* changes dropped to workaround patch error:
>>File tests/*.pcap: git binary diffs are not supported.
>>
>> Signed-off-by: Wenzong Fan 
>> ---
>>   ...541-In-safeputs-check-the-length-before-c.patch | 49 +
>>   ...1-CVE-2017-11542-PIMv1-Add-a-bounds-check.patch | 43 +++
>>   ...543-Make-sure-the-SLIP-direction-octet-is.patch | 85
>> ++
>>   .../recipes-support/tcpdump/tcpdump_4.9.1.bb   |  3 +
>>   4 files changed, 180 insertions(+)
>>   create mode 100644 meta-networking/recipes-suppor
>> t/tcpdump/tcpdump/0001-CVE-2017-11541-In-safeputs-check-
>> the-length-before-c.patch
>>   create mode 100644 meta-networking/recipes-suppor
>> t/tcpdump/tcpdump/0001-CVE-2017-11542-PIMv1-Add-a-bounds-check.patch
>>   create mode 100644 meta-networking/recipes-suppor
>> t/tcpdump/tcpdump/0001-CVE-2017-11543-Make-sure-the-SLIP-
>> direction-octet-is.patch
>>
>> diff --git a/meta-networking/recipes-support/tcpdump/tcpdump/0001-CVE-
>> 2017-11541-In-safeputs-check-the-length-before-c.patch
>> b/meta-networking/recipes-support/tcpdump/tcpdump/0001-CVE-
>> 2017-11541-In-safeputs-check-the-length-before-c.patch
>> new file mode 100644
>> index 0..a83214b02
>> --- /dev/null
>> +++ b/meta-networking/recipes-support/tcpdump/tcpdump/0001-CVE-
>> 2017-11541-In-safeputs-check-the-length-before-c.patch
>> @@ -0,0 +1,49 @@
>> +From 21d702a136c5c16882e368af7c173df728242280 Mon Sep 17 00:00:00 2001
>> +From: Guy Harris 
>> +Date: Tue, 7 Feb 2017 11:40:36 -0800
>> +Subject: [PATCH] CVE-2017-11541: In safeputs(), check the length before
>> + checking for a NUL terminator.
>> +
>> +safeputs() doesn't do packet bounds checking of its own; it assumes that
>> +the caller has checked the availability in the packet data of all maxlen
>> +bytes of data.  This means we should check that we're within the
>> +specified limit before looking at the byte.
>> +
>> +This fixes a buffer over-read discovered by Kamil Frankowicz.
>> +
>> +Add a test using the capture file supplied by the reporter(s).
>> +
>> +CVE: CVE-2017-11541
>> +
>> +Upstream-Status: Backport
>> +https://github.com/the-tcpdump-group/tcpdump/commit/21d702a
>> 136c5c16882e368af7c173df728242280
>> +
>> +Drop the tests/* changes to workaroud patch error:
>> +File tests/hoobr_safeputs.pcap: git binary diffs are not supported.
>> +
>> +Signed-off-by: Wenzong Fan 
>> +---
>> + tests/TESTLIST|   1 +
>> + tests/hoobr_safeputs.out  |   2 ++
>> + tests/hoobr_safeputs.pcap | Bin 0 -> 88 bytes
>> + util-print.c  |   2 +-
>> + 4 files changed, 4 insertions(+), 1 deletion(-)
>> + create mode 100644 tests/hoobr_safeputs.out
>> + create mode 100644 tests/hoobr_safeputs.pcap
>> +
>> +diff --git a/util-print.c b/util-print.c
>> +index 394e7d59..ec3e8de8 100644
>> +--- a/util-print.c
>>  b/util-print.c
>> +@@ -904,7 +904,7 @@ safeputs(netdissect_options *ndo,
>> + {
>> +   u_int idx = 0;
>> +
>> +-  while (*s && idx < maxlen) {
>> ++  while (idx < maxlen && *s) {
>> +   safeputchar(ndo, *s);
>> +   idx++;
>> +   s++;
>> +--
>> +2.13.0
>> +
>> diff --git a/meta-networking/recipes-support/tcpdump/tcpdump/0001-CVE-
>> 2017-11542-PIMv1-Add-a-bounds-check.patch b/meta-networking/recipes-supp
>> ort/tcpdump/tcpdump/0001-CVE-2017-11542-PIMv1-Add-a-bounds-check.patch
>> new file mode 100644
>> index 0..a177e7c0b
>> --- /dev/null
>> +++ b/meta-networking/recipes-support/tcpdump/tcpdump/0001-CVE-
>> 2017-11542-PIMv1-Add-a-bounds-check.patch
>> @@ -0,0 +1,43 @@
>> +From bed48062a64fca524156d7684af19f5b4a116fae Mon Sep 17 00:00:00 2001
>> +From: Guy Harris 

[oe] [meta-oe][PATCH] libgpiod: bump version to v0.3.1

2017-09-13 Thread Bartosz Golaszewski
From: Bartosz Golaszewski 

The project is now hosted at kernel.org. Updates since v0.2 include
a couple bug-fixes and new features for gpiomon.

Signed-off-by: Bartosz Golaszewski 
---
 meta-oe/recipes-support/libgpiod/libgpiod.bb | 15 ---
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/meta-oe/recipes-support/libgpiod/libgpiod.bb 
b/meta-oe/recipes-support/libgpiod/libgpiod.bb
index fe56f7b..c506057 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod.bb
@@ -1,21 +1,14 @@
 SUMMARY = "C library and tools for interacting with the linux GPIO character 
device"
-HOMEPAGE = "https://github.com/brgl/libgpiod;
 
 LICENSE = "LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=2caced0b25dfefd4c601d92bd15116de"
 
-UPSTREAM_CHECK_URI = "git://github.com/brgl/libgpiod/releases"
+SRC_URI = "https://www.kernel.org/pub/software/libs/libgpiod/${BP}.tar.xz;
 
-SRC_URI = "git://github.com/brgl/libgpiod.git"
+SRC_URI[md5sum] = "5f9d855352b1a5272cf6f1c2e20689d2"
+SRC_URI[sha256sum] = 
"6dfd6aeb544e8b7baf484a05c9ae0e67022c109362a41d87005393046b6beacf"
 
-SRCREV = "7ab5e53b69cce313ba87033a442cabd417f5d895"
-
-PV = "0.2+git${SRCPV}"
-
-S = "${WORKDIR}/git"
-
-SRC_URI[md5sum] = "68f039487e940c15bbfc50a10ab4715b"
-SRC_URI[sha256sum] = 
"7d7085d4e9cb811742ca8c5fe03458067efaeaa8abc23968d2e3c56bcc2d2ef8"
+PV = "0.3.1"
 
 inherit autotools pkgconfig
 
-- 
2.7.4

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


Re: [oe] [meta-oe][PATCH] protobuf: update to 3.4.0

2017-09-13 Thread Bach, Pascal
I submitted an updated patchset that also updates protobuf-c to a compatible 
version.
I’m not using protobuf-c so I didn’t catch the problem. Sorry for the 
inconvenience.

From: Martin Jansa [mailto:martin.ja...@gmail.com]
Sent: Montag, 11. September 2017 18:52
To: Bach, Pascal (BT CPS R ZG FW CCP) 
Cc: openembedded-devel 
Subject: Re: [oe] [meta-oe][PATCH] protobuf: update to 3.4.0

Fails to build here:
http://errors.yoctoproject.org/Errors/Details/155533/

On Thu, Sep 7, 2017 at 4:42 PM, Pascal Bach 
> wrote:
Also put protbuf-lite into it's own package

Signed-off-by: Pascal Bach 
>
---
 .../protobuf/{protobuf_3.3.0.bb => 
protobuf_3.4.0.bb}| 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)
 rename 
meta-oe/recipes-devtools/protobuf/{protobuf_3.3.0.bb 
=> protobuf_3.4.0.bb} (75%)

diff --git 
a/meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb 
b/meta-oe/recipes-devtools/protobuf/protobuf_3.4.0.bb
similarity index 75%
rename from 
meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb
rename to 
meta-oe/recipes-devtools/protobuf/protobuf_3.4.0.bb
index ce64a88..39108dd 100644
--- 
a/meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb
+++ 
b/meta-oe/recipes-devtools/protobuf/protobuf_3.4.0.bb
@@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/google/protobuf;
 SECTION = "console/tools"
 LICENSE = "BSD-3-Clause"

-PACKAGE_BEFORE_PN = "${PN}-compiler"
+PACKAGE_BEFORE_PN = "${PN}-compiler ${PN}-lite"

 DEPENDS = "zlib"
 RDEPENDS_${PN}-compiler = "${PN}"
@@ -14,11 +14,11 @@ RDEPENDS_${PN}-dev += "${PN}-compiler"

 LIC_FILES_CHKSUM = 
"file://LICENSE;md5=35953c752efc9299b184f91bef540095"

-SRCREV = "a6189acd18b00611c1dc7042299ad75486f08a1a"
+SRCREV = "80a37e0782d2d702d52234b62dd4b9ec74fd2c95"

-PV = "3.3.0+git${SRCPV}"
+PV = "3.4.0+git${SRCPV}"

-SRC_URI = 
"git://github.com/google/protobuf.git"
+SRC_URI = 
"git://github.com/google/protobuf.git;branch=3.4.x"

 EXTRA_OECONF += " --with-protoc=echo"

@@ -27,6 +27,7 @@ inherit autotools-brokensep
 S = "${WORKDIR}/git"

 FILES_${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}"
+FILES_${PN}-lite = "${bindir} ${libdir}/libprotobuf-lite${SOLIBS}"

 MIPS_INSTRUCTION_SET = "mips"

--
2.1.4

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

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


[oe] [meta-oe][PATCHv2 1/2] protobuf: update to 3.4.0

2017-09-13 Thread Pascal Bach
Also put protbuf-lite into it's own package

Signed-off-by: Pascal Bach 
---
 .../protobuf/{protobuf_3.3.0.bb => protobuf_3.4.0.bb}| 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-devtools/protobuf/{protobuf_3.3.0.bb => 
protobuf_3.4.0.bb} (75%)

diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb 
b/meta-oe/recipes-devtools/protobuf/protobuf_3.4.0.bb
similarity index 75%
rename from meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb
rename to meta-oe/recipes-devtools/protobuf/protobuf_3.4.0.bb
index ce64a88..39108dd 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_3.4.0.bb
@@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/google/protobuf;
 SECTION = "console/tools"
 LICENSE = "BSD-3-Clause"
 
-PACKAGE_BEFORE_PN = "${PN}-compiler"
+PACKAGE_BEFORE_PN = "${PN}-compiler ${PN}-lite"
 
 DEPENDS = "zlib"
 RDEPENDS_${PN}-compiler = "${PN}"
@@ -14,11 +14,11 @@ RDEPENDS_${PN}-dev += "${PN}-compiler"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=35953c752efc9299b184f91bef540095"
 
-SRCREV = "a6189acd18b00611c1dc7042299ad75486f08a1a"
+SRCREV = "80a37e0782d2d702d52234b62dd4b9ec74fd2c95"
 
-PV = "3.3.0+git${SRCPV}"
+PV = "3.4.0+git${SRCPV}"
 
-SRC_URI = "git://github.com/google/protobuf.git"
+SRC_URI = "git://github.com/google/protobuf.git;branch=3.4.x"
 
 EXTRA_OECONF += " --with-protoc=echo"
 
@@ -27,6 +27,7 @@ inherit autotools-brokensep
 S = "${WORKDIR}/git"
 
 FILES_${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}"
+FILES_${PN}-lite = "${bindir} ${libdir}/libprotobuf-lite${SOLIBS}"
 
 MIPS_INSTRUCTION_SET = "mips"
 
-- 
2.1.4

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


[oe] [meta-oe][PATCHv2 2/2] protobuf-c: update to 1.3.0

2017-09-13 Thread Pascal Bach
Required to build with protobuf 3.4.0

The license checksum changed because they renamed the compiler which is 
mentioned
in the LICENSE file.

Signed-off-by: Pascal Bach 
---
 .../protobuf/{protobuf-c_1.2.1.bb => protobuf-c_1.3.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-devtools/protobuf/{protobuf-c_1.2.1.bb => 
protobuf-c_1.3.0.bb} (88%)

diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb 
b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.0.bb
similarity index 88%
rename from meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb
rename to meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.0.bb
index 36de060..fe1e6e5 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.0.bb
@@ -15,10 +15,10 @@ PACKAGE_BEFORE_PN = "${PN}-compiler"
 RDEPENDS_${PN}-compiler = "protobuf-compiler"
 RDEPENDS_${PN}-dev += "${PN}-compiler"
 
-LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=cb901168715f4782a2b06c3ddaefa558"
 
 PV .= "+git${SRCPV}"
-SRCREV = "006d69bd8481738323c58af5cd4c8477d09eb9f5"
+SRCREV = "dac1a65feac4ad72f612aab99f487056fbcf5c1a"
 
 SRC_URI = "git://github.com/protobuf-c/protobuf-c.git"
 
-- 
2.1.4

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