Re: [oe] [meta-browser] Modern Chromium with GN

2017-10-04 Thread Trevor Woerner
Hi Jocobo,

Please have a look at
https://github.com/rakuco/meta-crosswalk/tree/chromium61/recipes-browser/chromium
from Raphael (CCed). It is an interesting and promising approach.

I have built against minnow (x86-64) and rpi3-32 (armv7ve)
successfully with pyro. I haven't had time to runtime test anything
yet. I'm still seeing a build issue with both MACHINEs against master.

It's been about two weeks since I've had time to tinker with it.

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


[oe] asn1crypto dependency missing for python-cryptography

2017-10-04 Thread Satya Bodduluri
In versions of python-cryptography >=1.8.x, it includes a dependency for
asn1crypto and removes a dependency on pyasn1 as can be seen with this
commit:
https://github.com/pyca/cryptography/commit/0e6a129724b707ebf79149376251e85fad550414.
As
far as I can tell, asn1crypto isn't included in
meta-openembedded/meta-python.

I've managed to work around this by using an older version of
python-cryptography, but I just wanted to make note of this as it makes
portions of the newer versions of the cryptography library (the master
branch of meta-openembedded is using version 2.0.3 of python-cryptography)
unusable when it can't import asn1crypto. I'm not sure when I'll have time
to create a patch, but I can take a stab at it if no one else beats me.

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


[oe] [meta-networking][PATCH 0/1] mdns: move from meta-intel-iot-middleware

2017-10-04 Thread Paul Eggleton
This should be the last of the recipes from meta-intel-iot-middleware (I
hadn't intended to revive this one but a request came in on the mailing
list so it seems it may still be useful to some people).


The following changes since commit 5c9a4a08844c215ebd6f2146f50de753b8e7ecef:

  network-manager-applet: Disable gobject-introspection on musl (2017-10-04 
14:54:41 +)

are available in the git repository at:

  git://git.openembedded.org/meta-openembedded-contrib paule/mdns
  http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=paule/mdns

Paul Eggleton (1):
  mdns: move from meta-intel-iot-middleware

 .../recipes-protocols/mdns/files/build.patch   | 167 +
 .../recipes-protocols/mdns/files/mdns.service  |  15 ++
 .../recipes-protocols/mdns/mdns_765.50.9.bb|  89 +++
 3 files changed, 271 insertions(+)
 create mode 100644 meta-networking/recipes-protocols/mdns/files/build.patch
 create mode 100644 meta-networking/recipes-protocols/mdns/files/mdns.service
 create mode 100644 meta-networking/recipes-protocols/mdns/mdns_765.50.9.bb

-- 
2.9.5

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


[oe] [meta-networking][PATCH 1/1] mdns: move from meta-intel-iot-middleware

2017-10-04 Thread Paul Eggleton
The following improvements have been made over the recipe that was in
meta-intel-iot-middleware (a layer which is no longer actively
maintained):

* Upgrade to latest upstream version (765.50.9)
* Fix compilation failures by passing CC and LD
* Fix "no GNU hash in the ELF binary" issue
* Point S at the correct source subdirectory so that "make clean" works
* Fix lack of soname on libdns_sd.so leading to missing RDEPENDS QA error
* Add SUMMARY

Signed-off-by: Paul Eggleton 
---
 .../recipes-protocols/mdns/files/build.patch   | 167 +
 .../recipes-protocols/mdns/files/mdns.service  |  15 ++
 .../recipes-protocols/mdns/mdns_765.50.9.bb|  89 +++
 3 files changed, 271 insertions(+)
 create mode 100644 meta-networking/recipes-protocols/mdns/files/build.patch
 create mode 100644 meta-networking/recipes-protocols/mdns/files/mdns.service
 create mode 100644 meta-networking/recipes-protocols/mdns/mdns_765.50.9.bb

diff --git a/meta-networking/recipes-protocols/mdns/files/build.patch 
b/meta-networking/recipes-protocols/mdns/files/build.patch
new file mode 100644
index 000..4ab9d23
--- /dev/null
+++ b/meta-networking/recipes-protocols/mdns/files/build.patch
@@ -0,0 +1,167 @@
+From 43b6e98c9c37afd0d914949dcff4eab81f5a995f Mon Sep 17 00:00:00 2001
+From: Brendan Le Foll 
+Date: Tue, 3 Mar 2015 11:42:57 +
+
+Upstream-Status: Inappropriate [OE-specific]
+
+Signed-off-by: Paul Eggleton 
+
+---
+ mDNSPosix/Makefile | 54 +-
+ 1 file changed, 25 insertions(+), 29 deletions(-)
+
+diff --git a/mDNSPosix/Makefile b/mDNSPosix/Makefile
+index 4f98e90..8ac97ad 100755
+--- a/mDNSPosix/Makefile
 b/mDNSPosix/Makefile
+@@ -50,6 +50,7 @@
+ 
+ LIBVERS = 1
+ 
++POSIXDIR = ../mDNSPosix
+ COREDIR = ../mDNSCore
+ SHAREDDIR ?= ../mDNSShared
+ JDK = /usr/jdk
+@@ -58,11 +59,11 @@ CC = @cc
+ BISON = @bison
+ FLEX = @flex
+ ST = @strip
+-LD = ld -shared
++LD =@LD
+ CP = cp
+ RM = rm
+ LN = ln -s -f
+-CFLAGS_COMMON = -I$(COREDIR) -I$(SHAREDDIR) -I$(OBJDIR) -fwrapv -W -Wall 
-DPID_FILE=\"/var/run/mdnsd.pid\" -DMDNS_UDS_SERVERPATH=\"/var/run/mdnsd\"
++CFLAGS_COMMON = -I$(POSIXDIR) -I$(COREDIR) -I$(SHAREDDIR) -I$(OBJDIR) -fwrapv 
-W -Wall -DPID_FILE=\"/var/run/mdnsd.pid\" 
-DMDNS_UDS_SERVERPATH=\"/var/run/mdnsd\"
+ CFLAGS_PTHREAD =
+ LINKOPTS =
+ LINKOPTS_PTHREAD = -lpthread
+@@ -70,7 +71,7 @@ LDSUFFIX = so
+ JAVACFLAGS_OS = -fPIC -shared -ldns_sd
+ 
+ # Set up diverging paths for debug vs. prod builds
+-DEBUG=0
++DEBUG?=1
+ ifeq ($(DEBUG),1)
+ CFLAGS_DEBUG = -g -DMDNS_DEBUGMSGS=2
+ OBJDIR = objects/debug
+@@ -213,7 +214,7 @@ endif
+ endif
+ endif
+ 
+-CFLAGS = $(CFLAGS_COMMON) $(CFLAGS_OS) $(CFLAGS_DEBUG)
++CFLAGS_BUILD = $(CFLAGS) $(CFLAGS_COMMON) $(CFLAGS_OS) $(CFLAGS_DEBUG)
+ 
+ #
+ 
+@@ -249,8 +250,7 @@ Daemon: setup $(BUILDDIR)/mdnsd
+   @echo "Responder daemon done"
+ 
+ $(BUILDDIR)/mdnsd: $(DAEMONOBJS)
+-  $(CC) -o $@ $+ $(LINKOPTS)
+-  @$(STRIP) $@
++  $(CC) -o $@ $+
+ 
+ # libdns_sd target builds the client library
+ libdns_sd: setup $(BUILDDIR)/libdns_sd.$(LDSUFFIX)
+@@ -259,22 +259,18 @@ libdns_sd: setup $(BUILDDIR)/libdns_sd.$(LDSUFFIX)
+ CLIENTLIBOBJS = $(OBJDIR)/dnssd_clientlib.c.so.o 
$(OBJDIR)/dnssd_clientstub.c.so.o $(OBJDIR)/dnssd_ipc.c.so.o
+ 
+ $(BUILDDIR)/libdns_sd.$(LDSUFFIX): $(CLIENTLIBOBJS)
+-  @$(LD) $(LINKOPTS) -o $@ $+
+-  @$(STRIP) $@
++  $(LD) -shared $(LINKOPTS) -Wl,-soname,libdns_sd.$(LDSUFFIX).1 -o $@ $+
+ 
+-Clients: setup libdns_sd ../Clients/build/dns-sd
++Clients: setup libdns_sd
++  @$(MAKE) -C ../Clients DEBUG=${DEBUG}
+   @echo "Clients done"
+ 
+-../Clients/build/dns-sd:
+-  @$(MAKE) -C ../Clients
+-
+ # nss_mdns target builds the Name Service Switch module
+ nss_mdns: setup $(BUILDDIR)/$(NSSLIBFILE)
+   @echo "Name Service Switch module done"
+ 
+ $(BUILDDIR)/$(NSSLIBFILE): $(CLIENTLIBOBJS) $(OBJDIR)/nss_mdns.c.so.o
+-  @$(LD) $(LINKOPTS) -o $@ $+
+-  @$(STRIP) $@
++  $(LD) -shared $(LINKOPTS) -o $@ $+
+ 
+ #
+ 
+@@ -470,55 +466,55 @@ dnsextd: setup $(BUILDDIR)/dnsextd
+   @echo "dnsextd done"
+ 
+ $(BUILDDIR)/mDNSClientPosix: $(APPOBJ) $(OBJDIR)/Client.c.o
+-  $(CC) $+ -o $@ $(LINKOPTS)
++  $(CC) $+ -o $@
+ 
+ $(BUILDDIR)/mDNSResponderPosix:  $(COMMONOBJ)  $(OBJDIR)/Responder.c.o
+-  $(CC) $+ -o $@ $(LINKOPTS)
++  $(CC) $+ -o $@
+ 
+ $(BUILDDIR)/mDNSProxyResponderPosix: $(COMMONOBJ)  
$(OBJDIR)/ProxyResponder.c.o
+-  $(CC) $+ -o $@ $(LINKOPTS)
++  $(CC) $+ -o $@
+ 
+ $(BUILDDIR)/mDNSIdentify:$(SPECIALOBJ) $(OBJDIR)/Identify.c.o
+-  $(CC) $+ -o $@ $(LINKOPTS)
++  $(CC) $+ -o $@
+ 
+ $(OBJDIR)/Identify.c.o:  $(COREDIR)/mDNS.c # Note: 

[oe] [meta-oe][morty][PATCH] mariadb: Do not use ucontext_* APIs with musl

2017-10-04 Thread Andre McCurdy
From: Khem Raj 

musl has ucontext.h header but does not implement the APIs

Signed-off-by: Khem Raj 
(cherry picked from commit b545c0643d2b2a1f1a816e789ff67116c613de5b)
Signed-off-by: Andre McCurdy 
---
 meta-oe/recipes-support/mysql/mariadb.inc  |  1 +
 .../mariadb/0001-disable-ucontext-on-musl.patch| 28 ++
 2 files changed, 29 insertions(+)
 create mode 100644 
meta-oe/recipes-support/mysql/mariadb/0001-disable-ucontext-on-musl.patch

diff --git a/meta-oe/recipes-support/mysql/mariadb.inc 
b/meta-oe/recipes-support/mysql/mariadb.inc
index 689b8ab..f3eb4c7 100644
--- a/meta-oe/recipes-support/mysql/mariadb.inc
+++ b/meta-oe/recipes-support/mysql/mariadb.inc
@@ -16,6 +16,7 @@ SRC_URI = 
"http://downloads.mariadb.com/MariaDB/mariadb-${PV}/source/mariadb-${P
file://configure.cmake-fix-valgrind.patch \
file://fix-a-building-failure.patch \
file://change-cc-to-cc-version.patch \
+   file://0001-disable-ucontext-on-musl.patch \
   "
 SRC_URI[md5sum] = "fca86f1eaed2163b4bdce4f98f472324"
 SRC_URI[sha256sum] = 
"e142f9459507b97c5848042863b313ce70750118446bb4e35e5c07fe66007293"
diff --git 
a/meta-oe/recipes-support/mysql/mariadb/0001-disable-ucontext-on-musl.patch 
b/meta-oe/recipes-support/mysql/mariadb/0001-disable-ucontext-on-musl.patch
new file mode 100644
index 000..60e9199
--- /dev/null
+++ b/meta-oe/recipes-support/mysql/mariadb/0001-disable-ucontext-on-musl.patch
@@ -0,0 +1,28 @@
+From 5bc3e7ef9700d12054e0125a126f1bb093f01ef9 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Sun, 26 Mar 2017 14:30:33 -0700
+Subject: [PATCH] disable ucontext on musl
+
+musl does not have *contex() APIs even though it has ucontext.h header
+
+Signed-off-by: Khem Raj 
+---
+ include/my_context.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/my_context.h b/include/my_context.h
+index dd44103..9b28c17 100644
+--- a/include/my_context.h
 b/include/my_context.h
+@@ -31,7 +31,7 @@
+ #define MY_CONTEXT_USE_X86_64_GCC_ASM
+ #elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__i386__)
+ #define MY_CONTEXT_USE_I386_GCC_ASM
+-#elif defined(HAVE_UCONTEXT_H)
++#elif defined(__GLIBC__) && defined(HAVE_UCONTEXT_H)
+ #define MY_CONTEXT_USE_UCONTEXT
+ #else
+ #define MY_CONTEXT_DISABLE
+-- 
+2.12.1
+
-- 
1.9.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-10-04

2017-10-04 Thread Martin Jansa
http://www.openembedded.org/wiki/Bitbake_World_Status

== Number of issues - stats ==
{| class='wikitable'
!|Date   !!colspan='3'|Failed tasks 
!!|Signatures   
!!colspan='15'|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 
||qa_pseudo ||
|-

||2017-10-04||3 ||3 ||1 ||0 ||0 ||0 
||3 ||0 ||0 ||0 ||4 
||0 ||0 ||0 ||0 ||0 
||0 ||0 ||8 ||
|}

== Failed tasks 2017-10-04 ==

INFO: jenkins-job.sh-1.8.34 Complete log available at
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.report.20171004_044548.log

=== common (0) ===

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

=== qemuarm (3) ===
* 
meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb:do_compile
* meta-qt5/recipes-connectivity/libqofono/libqofono_git.bb:do_package_qa
* 
openembedded-core/meta/recipes-core/glibc/glibc-locale_2.26.bb:do_package_qa

=== qemux86 (2) ===
* 
meta-openembedded/meta-networking/recipes-support/spice/spice_git.bb:do_compile
* openembedded-core/meta/recipes-multimedia/x264/x264_git.bb:do_package_qa

=== qemux86_64 (1) ===
* 
meta-openembedded/meta-networking/recipes-extended/corosync/corosync_2.4.2.bb:do_package_qa

=== Number of failed tasks (7) ===
{| class=wikitable
|-
|| qemuarm  || 3 ||
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemuarm.20171003_234707.log/
|| http://errors.yoctoproject.org/Errors/Build/47291/
|-
|| qemux86  || 3 ||
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86.20171003_234422.log/
|| http://errors.yoctoproject.org/Errors/Build/47292/
|-
|| qemux86_64   || 1 ||
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86-64.20171004_020534.log/
|| http://errors.yoctoproject.org/Errors/Build/47293/
|}

=== PNBLACKLISTs (1) ===

=== QA issues (15) ===
{| 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
|-
||0 ||version-going-backwards
|-
||3 ||textrel
|-
||4 ||host-user-contaminated
|-
||8 ||qa_pseudo
|}



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

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

No issues detected


PNBLACKLISTs:
openembedded-core/:
meta-browser:
meta-openembedded:
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-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
tested so much"
PNBLACKLIST[bigbuckbunny-720p] = "big and doesn't really need to be
tested so much"
PNBLACKLIST[bigbuckbunny-720p] = "big and doesn't really need to be
tested so much"
PNBLACKLIST[tearsofsteel-1080p] = "big and doesn't really need to be
tested so much"
PNBLACKLIST[build-appliance-image] = "tries to include whole downloads
directory in /home/builder/poky :/"


QA issues by type:
count: 0issue: already-stripped


count: 0issue: libdir


count: 3issue: textrel
corosync-2.4.2: ELF binary
'/work/core2-64-oe-linux/corosync/2.4.2-r0/packages-split/corosync/usr/sbin/corosync'
has relocations in .text [textrel]
x264-r2731+gitAUTOINC+2b741f81e5: ELF binary
'/work/i586-oe-linux/x264/r2731+gitAUTOINC+2b741f81e5-r0/packages-split/x264-bin/usr/bin/x264'
has relocations in .text [textrel]
x264-r2731+gitAUTOINC+2b741f81e5: ELF binary
'/work/i586-oe-linux/x264/r2731+gitAUTOINC+2b741f81e5-r0/packages-split/x264/usr/lib/libx264.so.148'
has relocations in .text [textrel]


count: 0issue: build-deps


count: 0issue: file-rdeps


count: 0issue: version-going-backwards


count: 4issue: host-user-contaminated
glibc-locale-2.26: glibc-locale:
/glibc-binary-localedata-ar-iq/usr/lib/locale/ar_IQ/LC_MESSAGES/SYS_LC_MESSAGES
is owned by uid 3004, which is the same as the user running bitbake.
This may be due to 

[oe] [meta-python][PATCH] python3-ujson: support Python 3

2017-10-04 Thread Pascal Bach
From: Pascal Bach 

Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python-ujson.inc| 15 +++
 .../recipes-devtools/python/python-ujson_1.35.bb| 17 ++---
 .../recipes-devtools/python/python3-ujson_1.35.bb   |  2 ++
 3 files changed, 19 insertions(+), 15 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-ujson.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-ujson_1.35.bb

diff --git a/meta-python/recipes-devtools/python/python-ujson.inc 
b/meta-python/recipes-devtools/python/python-ujson.inc
new file mode 100644
index 000..9654d5a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-ujson.inc
@@ -0,0 +1,15 @@
+SUMMARY  = "Ultra fast JSON encoder and decoder for Python"
+DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in 
pure C with bindings for Python 2.5+ and 3."
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = 
"file://PKG-INFO;startline=8;endline=9;md5=4f369b3c3c290b4aede8796a4065e5ab"
+
+SRC_URI[md5sum] = "42f77b0cce686dfa4da2e68480b1dd24"
+SRC_URI[sha256sum] = 
"f66073e5506e91d204ab0c614a148d5aa938bdbf104751be66f8ad7a222f5f86"
+
+inherit pypi
+
+RDEPENDS_${PN} += "\
+${PYTHON_PN}-datetime \
+${PYTHON_PN}-numbers \
+"
diff --git a/meta-python/recipes-devtools/python/python-ujson_1.35.bb 
b/meta-python/recipes-devtools/python/python-ujson_1.35.bb
index 238dc92..b3c6ae6 100644
--- a/meta-python/recipes-devtools/python/python-ujson_1.35.bb
+++ b/meta-python/recipes-devtools/python/python-ujson_1.35.bb
@@ -1,15 +1,2 @@
-SUMMARY  = "Ultra fast JSON encoder and decoder for Python"
-DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in 
pure C with bindings for Python 2.5+ and 3."
-
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = 
"file://PKG-INFO;startline=8;endline=9;md5=4f369b3c3c290b4aede8796a4065e5ab"
-
-SRC_URI[md5sum] = "42f77b0cce686dfa4da2e68480b1dd24"
-SRC_URI[sha256sum] = 
"f66073e5506e91d204ab0c614a148d5aa938bdbf104751be66f8ad7a222f5f86"
-
-inherit pypi setuptools
-
-RDEPENDS_${PN} += "\
-${PYTHON_PN}-datetime \
-${PYTHON_PN}-numbers \
-"
+inherit setuptools
+require python-ujson.inc
diff --git a/meta-python/recipes-devtools/python/python3-ujson_1.35.bb 
b/meta-python/recipes-devtools/python/python3-ujson_1.35.bb
new file mode 100644
index 000..ae4cc0a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-ujson_1.35.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-ujson.inc
-- 
2.1.4

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


[oe] [meta-python][PATCH] python3-protobuf: add python3 version

2017-10-04 Thread Pascal Bach
Signed-off-by: Pascal Bach 
---
 .../recipes-devtools/python/python-protobuf.inc| 16 
 .../recipes-devtools/python/python-protobuf_3.4.0.bb   | 18 ++
 .../recipes-devtools/python/python3-protobuf_3.4.0.bb  |  2 ++
 3 files changed, 20 insertions(+), 16 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-protobuf.inc
 create mode 100644 
meta-python/recipes-devtools/python/python3-protobuf_3.4.0.bb

diff --git a/meta-python/recipes-devtools/python/python-protobuf.inc 
b/meta-python/recipes-devtools/python/python-protobuf.inc
new file mode 100644
index 000..2f59ef9
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-protobuf.inc
@@ -0,0 +1,16 @@
+DESCRIPTION = "Protocol Buffers"
+HOMEPAGE = "https://developers.google.com/protocol-buffers/;
+SECTION = "devel/python"
+
+RDEPENDS_${PN} = "python-six"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
+
+inherit pypi
+
+SRC_URI[md5sum] = "bfc0c61c156a995e909521697e755780"
+SRC_URI[sha256sum] = 
"ef02609ef445987976a3a26bff77119c518e0915c96661c3a3b17856d0ef6374"
+
+# For usage in other recipies when compiling protobuf files (e.g. by 
grpcio-tools)
+BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python-protobuf_3.4.0.bb 
b/meta-python/recipes-devtools/python/python-protobuf_3.4.0.bb
index cde62b7..f04fc48 100644
--- a/meta-python/recipes-devtools/python/python-protobuf_3.4.0.bb
+++ b/meta-python/recipes-devtools/python/python-protobuf_3.4.0.bb
@@ -1,16 +1,2 @@
-DESCRIPTION = "Protocol Buffers"
-HOMEPAGE = "https://developers.google.com/protocol-buffers/;
-SECTION = "devel/python"
-
-RDEPENDS_${PN} = "python-six"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
-
-inherit pypi setuptools
-
-SRC_URI[md5sum] = "bfc0c61c156a995e909521697e755780"
-SRC_URI[sha256sum] = 
"ef02609ef445987976a3a26bff77119c518e0915c96661c3a3b17856d0ef6374"
-
-# For usage in other recipies when compiling protobuf files (e.g. by 
grpcio-tools)
-BBCLASSEXTEND = "native"
+inherit setuptools
+require python-protobuf.inc
diff --git a/meta-python/recipes-devtools/python/python3-protobuf_3.4.0.bb 
b/meta-python/recipes-devtools/python/python3-protobuf_3.4.0.bb
new file mode 100644
index 000..781d1dc
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-protobuf_3.4.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-protobuf.inc
-- 
2.1.4

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


[oe] [meta-mono][PATCHv3] libgdiplus: use tarball from mono project instead of github

2017-10-04 Thread Pascal Bach
Signed-off-by: Pascal Bach 
---
 recipes-mono/libgdiplus/libgdiplus-native_4.2.bb |  7 +++
 recipes-mono/libgdiplus/libgdiplus_4.2.bb| 10 +-
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/recipes-mono/libgdiplus/libgdiplus-native_4.2.bb 
b/recipes-mono/libgdiplus/libgdiplus-native_4.2.bb
index 4dee6a0..cbd8e5d 100644
--- a/recipes-mono/libgdiplus/libgdiplus-native_4.2.bb
+++ b/recipes-mono/libgdiplus/libgdiplus-native_4.2.bb
@@ -6,15 +6,14 @@ SECTION = "libs"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fe7364dfce9f3689eb6995e7cdd56879"
 
-SRC_URI = "https://github.com/mono/libgdiplus/archive/${PV}.tar.gz \
-   "
+SRC_URI = 
"https://download.mono-project.com/sources/libgdiplus/libgdiplus-${PV}.tar.gz;
 
 inherit autotools pkgconfig native
 
 DEPENDS =+ "cairo-native freetype-native fontconfig-native libxft-native 
libpng-native pango-native giflib-native"
 
-SRC_URI[md5sum] = "925709982aba701c567850617e2206b1"
-SRC_URI[sha256sum] = 
"98f8a8e58ed22e136c4ac6eaafbc860757f5a97901ecc0ea357e2b6e4cfa2be5"
+SRC_URI[md5sum] = "3e68075aa0911d5ebc2b3739e85af0ea"
+SRC_URI[sha256sum] = 
"f332b9b8b44fd1c50b8d8d01a7296360b806c790b8297614739b3de1edbadfeb"
 
 FILES_${PN} += "${libdir}/libgdiplus.so"
 INSANE_SKIP_${PN} += "dev-so"
diff --git a/recipes-mono/libgdiplus/libgdiplus_4.2.bb 
b/recipes-mono/libgdiplus/libgdiplus_4.2.bb
index 00eb406..644af74 100644
--- a/recipes-mono/libgdiplus/libgdiplus_4.2.bb
+++ b/recipes-mono/libgdiplus/libgdiplus_4.2.bb
@@ -12,16 +12,16 @@ PACKAGECONFIG[tiff] = 
"--with-libtiff,--without-libtiff,tiff"
 PACKAGECONFIG[gif] = "--with-libgif,--without-libgif,giflib"
 PACKAGECONFIG[exif] = "--with-libexif,--without-libexif,libexif"
 
-SRC_URI = "https://github.com/mono/libgdiplus/archive/${PV}.tar.gz \
-  file://01-remove-libjpeg-path.patch \
-   "
+SRC_URI = 
"https://download.mono-project.com/sources/libgdiplus/libgdiplus-${PV}.tar.gz \
+   file://01-remove-libjpeg-path.patch \
+  "
 
 inherit autotools pkgconfig
 
 DEPENDS =+ "cairo freetype fontconfig libxft libpng"
 
-SRC_URI[md5sum] = "925709982aba701c567850617e2206b1"
-SRC_URI[sha256sum] = 
"98f8a8e58ed22e136c4ac6eaafbc860757f5a97901ecc0ea357e2b6e4cfa2be5"
+SRC_URI[md5sum] = "3e68075aa0911d5ebc2b3739e85af0ea"
+SRC_URI[sha256sum] = 
"f332b9b8b44fd1c50b8d8d01a7296360b806c790b8297614739b3de1edbadfeb"
 
 FILES_${PN} += "${libdir}/libgdiplus.so"
 INSANE_SKIP_${PN} += "dev-so"
-- 
2.1.4

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


Re: [oe] [PATCH] bitbake.conf: Add sdl-config to HOSTTOOLS

2017-10-04 Thread Burton, Ross
On 4 October 2017 at 10:32, Patrick Ohly  wrote:

> On Tue, 2017-10-03 at 11:40 +0200, Ricardo Ribalda Delgado wrote:
> > Without this patch bitbake cannot find sdl-config
> >
> > ERROR:  OE-core's config sanity checker detected a potential
> > misconfiguration.
> > Either fix the cause of this error or at your own risk disable the
> > checker (see sanity.conf).
> > Following is the list of potential problems / advisories:
> >
> > libsdl-native is set to be ASSUME_PROVIDED but sdl-config can't be
> > found in PATH. Please either install it, or configure qemu not to
> > require sdl.
>
> Making sdl-config available is the wrong solution. See https://bugzilla
> .yoctoproject.org/show_bug.cgi?id=11725


I've just closed that bug because I removed the sdl-config check from
sanity.bbclass back in June.

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


Re: [oe] [PATCH] bitbake.conf: Add sdl-config to HOSTTOOLS

2017-10-04 Thread Patrick Ohly
On Tue, 2017-10-03 at 11:40 +0200, Ricardo Ribalda Delgado wrote:
> Without this patch bitbake cannot find sdl-config
> 
> ERROR:  OE-core's config sanity checker detected a potential
> misconfiguration.
> Either fix the cause of this error or at your own risk disable the
> checker (see sanity.conf).
> Following is the list of potential problems / advisories:
> 
> libsdl-native is set to be ASSUME_PROVIDED but sdl-config can't be
> found in PATH. Please either install it, or configure qemu not to
> require sdl.

Making sdl-config available is the wrong solution. See https://bugzilla
.yoctoproject.org/show_bug.cgi?id=11725

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.


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