[oe] [meta-oe][PATCH] python3-pybind11: upgrade 2.8.1 -> 2.9.2

2022-07-07 Thread Pascal Bach
From: Pascal Bach 

Signed-off-by: Pascal Bach 
---
 .../{python3-pybind11_2.8.1.bb => python3-pybind11_2.9.2.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pybind11_2.8.1.bb => 
python3-pybind11_2.9.2.bb} (86%)

diff --git a/meta-python/recipes-devtools/python/python3-pybind11_2.8.1.bb 
b/meta-python/recipes-devtools/python/python3-pybind11_2.9.2.bb
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-pybind11_2.8.1.bb
rename to meta-python/recipes-devtools/python/python3-pybind11_2.9.2.bb
index 4d94e2033..433bfd60e 100644
--- a/meta-python/recipes-devtools/python/python3-pybind11_2.8.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pybind11_2.9.2.bb
@@ -5,11 +5,11 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=774f65abd8a7fe3124be2cdf766cd06f"
 
 DEPENDS = "boost"
 
-SRC_URI = "git://github.com/pybind/pybind11.git;branch=master;protocol=https \
+SRC_URI = "git://github.com/pybind/pybind11.git;branch=stable;protocol=https \
file://0001-Do-not-strip-binaries.patch \
file://0001-Do-not-check-pointer-size-when-cross-compiling.patch \
 "
-SRCREV = "f7b499615e14d70ab098a20deb0cdb3889998a1a"
+SRCREV = "914c06fb252b6cc3727d0eedab6736e88a3fcb01"
 
 S = "${WORKDIR}/git"
 
-- 
2.37.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9): 
https://lists.openembedded.org/g/openembedded-devel/message/9
Mute This Topic: https://lists.openembedded.org/mt/92225866/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH] protobuf: 1.3.1 -> 1.3.2

2019-07-02 Thread Pascal Bach
The patch can be dropped as it is included in this release.
Also drop the +git suffix as the version matches the version exactly.

Signed-off-by: Pascal Bach 
---
 .../protobuf-c/protobuf3-compatibility.patch   | 55 --
 .../{protobuf-c_1.3.1.bb => protobuf-c_1.3.2.bb}   |  4 +-
 2 files changed, 1 insertion(+), 58 deletions(-)
 delete mode 100644 
meta-oe/recipes-devtools/protobuf/protobuf-c/protobuf3-compatibility.patch
 rename meta-oe/recipes-devtools/protobuf/{protobuf-c_1.3.1.bb => 
protobuf-c_1.3.2.bb} (90%)

diff --git 
a/meta-oe/recipes-devtools/protobuf/protobuf-c/protobuf3-compatibility.patch 
b/meta-oe/recipes-devtools/protobuf/protobuf-c/protobuf3-compatibility.patch
deleted file mode 100644
index 35914952d..0
--- a/meta-oe/recipes-devtools/protobuf/protobuf-c/protobuf3-compatibility.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From 7456d1621223d425b8a3fd74e435a79c046169fb Mon Sep 17 00:00:00 2001
-From: Robert Edmonds 
-Date: Wed, 10 Apr 2019 20:47:48 -0400
-Subject: [PATCH] t/generated-code2/cxx-generate-packed-data.cc: Fix build
- failure on newer protobuf
-
- Upstream-Status: Backport [https://github.com/protobuf-c/protobuf-c/pull/369]
-
-google::protobuf::Message::Reflection has been removed in newer versions
-of protobuf. The replacement is google::protobuf::Reflection.
-
-protobuf in commit 779f61c6a3ce02a119e28e802f229e61b69b9046 ("Integrate
-recent changes from google3.", from August 2008) changed the following
-in message.h:
-
-@@ -336,7 +337,8 @@ class LIBPROTOBUF_EXPORT Message {
-
-   // Introspection ---
-
--  class Reflection;  // Defined below.
-+  // Typedef for backwards-compatibility.
-+  typedef google::protobuf::Reflection Reflection;
-
-The "typedef for backwards-compatibility" apparently lasted ten years
-until protobuf commit 6bbe197e9c1b6fc38cbdc45e3bf83fa7ced792a3
-("Down-integrate from google3.", from August 2018) which finally removed
-the typedef:
-
-@@ -327,8 +344,6 @@ class LIBPROTOBUF_EXPORT Message : public MessageLite {
-
-   // Introspection ---
-
--  // Typedef for backwards-compatibility.
--  typedef google::protobuf::Reflection Reflection;
-
-This commit updates the only use of this typedef (in the test suite) to
-directly refer to the replacement, google::protobuf::Reflection. This
-fixes the build failure in the test suite.

- t/generated-code2/cxx-generate-packed-data.cc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/t/generated-code2/cxx-generate-packed-data.cc 
b/t/generated-code2/cxx-generate-packed-data.cc
-index 4fd3e25..0865d2e 100644
 a/t/generated-code2/cxx-generate-packed-data.cc
-+++ b/t/generated-code2/cxx-generate-packed-data.cc
-@@ -998,7 +998,7 @@ static void dump_test_packed_repeated_enum (void)
- static void dump_test_unknown_fields (void)
- {
-   EmptyMess mess;
--  const google::protobuf::Message::Reflection *reflection = 
mess.GetReflection();
-+  const google::protobuf::Reflection *reflection = mess.GetReflection();
-   google::protobuf::UnknownFieldSet *fs = 
reflection->MutableUnknownFields(&mess);
-
- #if GOOGLE_PROTOBUF_VERSION >= 2001000
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.1.bb 
b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.2.bb
similarity index 90%
rename from meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.1.bb
rename to meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.2.bb
index 1d1782306..6d1ffc3f4 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.1.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.2.bb
@@ -12,11 +12,9 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=cb901168715f4782a2b06c3ddaefa558"
 
 DEPENDS = "protobuf-native protobuf"
 
-PV .= "+git${SRCPV}"
-SRCREV = "269771b4b45d3aba04e59569f5363db8d9ff"
+SRCREV = "1390409f4ee4e26d0635310995b516eb702c3f9e"
 
 SRC_URI = "git://github.com/protobuf-c/protobuf-c.git \
-   file://protobuf3-compatibility.patch \
   "
 
 S = "${WORKDIR}/git"
-- 
2.11.0

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


[oe] [meta-oe][PATCHv4 2/3] protobuf-c: add patch for protobuf 3 compatibility

2019-06-17 Thread Pascal Bach
There is no release yet of protobuf-c that is compatible with protobuf 3.
Master is already patched so this is just a straight backport of this patch.

Signed-off-by: Pascal Bach 
---
 .../protobuf-c/protobuf3-compatibility.patch   | 55 ++
 .../recipes-devtools/protobuf/protobuf-c_1.3.1.bb  |  4 +-
 2 files changed, 58 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-devtools/protobuf/protobuf-c/protobuf3-compatibility.patch

diff --git 
a/meta-oe/recipes-devtools/protobuf/protobuf-c/protobuf3-compatibility.patch 
b/meta-oe/recipes-devtools/protobuf/protobuf-c/protobuf3-compatibility.patch
new file mode 100644
index 0..35914952d
--- /dev/null
+++ b/meta-oe/recipes-devtools/protobuf/protobuf-c/protobuf3-compatibility.patch
@@ -0,0 +1,55 @@
+From 7456d1621223d425b8a3fd74e435a79c046169fb Mon Sep 17 00:00:00 2001
+From: Robert Edmonds 
+Date: Wed, 10 Apr 2019 20:47:48 -0400
+Subject: [PATCH] t/generated-code2/cxx-generate-packed-data.cc: Fix build
+ failure on newer protobuf
+
+ Upstream-Status: Backport [https://github.com/protobuf-c/protobuf-c/pull/369]
+
+google::protobuf::Message::Reflection has been removed in newer versions
+of protobuf. The replacement is google::protobuf::Reflection.
+
+protobuf in commit 779f61c6a3ce02a119e28e802f229e61b69b9046 ("Integrate
+recent changes from google3.", from August 2008) changed the following
+in message.h:
+
+@@ -336,7 +337,8 @@ class LIBPROTOBUF_EXPORT Message {
+
+   // Introspection ---
+
+-  class Reflection;  // Defined below.
++  // Typedef for backwards-compatibility.
++  typedef google::protobuf::Reflection Reflection;
+
+The "typedef for backwards-compatibility" apparently lasted ten years
+until protobuf commit 6bbe197e9c1b6fc38cbdc45e3bf83fa7ced792a3
+("Down-integrate from google3.", from August 2018) which finally removed
+the typedef:
+
+@@ -327,8 +344,6 @@ class LIBPROTOBUF_EXPORT Message : public MessageLite {
+
+   // Introspection ---
+
+-  // Typedef for backwards-compatibility.
+-  typedef google::protobuf::Reflection Reflection;
+
+This commit updates the only use of this typedef (in the test suite) to
+directly refer to the replacement, google::protobuf::Reflection. This
+fixes the build failure in the test suite.
+---
+ t/generated-code2/cxx-generate-packed-data.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/t/generated-code2/cxx-generate-packed-data.cc 
b/t/generated-code2/cxx-generate-packed-data.cc
+index 4fd3e25..0865d2e 100644
+--- a/t/generated-code2/cxx-generate-packed-data.cc
 b/t/generated-code2/cxx-generate-packed-data.cc
+@@ -998,7 +998,7 @@ static void dump_test_packed_repeated_enum (void)
+ static void dump_test_unknown_fields (void)
+ {
+   EmptyMess mess;
+-  const google::protobuf::Message::Reflection *reflection = 
mess.GetReflection();
++  const google::protobuf::Reflection *reflection = mess.GetReflection();
+   google::protobuf::UnknownFieldSet *fs = 
reflection->MutableUnknownFields(&mess);
+
+ #if GOOGLE_PROTOBUF_VERSION >= 2001000
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.1.bb 
b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.1.bb
index 7ef030092..1d1782306 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.1.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.1.bb
@@ -15,7 +15,9 @@ DEPENDS = "protobuf-native protobuf"
 PV .= "+git${SRCPV}"
 SRCREV = "269771b4b45d3aba04e59569f5363db8d9ff"
 
-SRC_URI = "git://github.com/protobuf-c/protobuf-c.git"
+SRC_URI = "git://github.com/protobuf-c/protobuf-c.git \
+   file://protobuf3-compatibility.patch \
+  "
 
 S = "${WORKDIR}/git"
 
-- 
2.11.0

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


[oe] [meta-oe][PATCHv4 3/3] python3-protobuf, python-protobuf: 3.6.1 -> 3.8.0

2019-06-17 Thread Pascal Bach
The patch for Python 3.7 compatibility is already in 3.8.0.

Signed-off-by: Pascal Bach 
---
 .../recipes-devtools/python/python-protobuf.inc|  4 +-
 ...-protobuf_3.6.1.bb => python-protobuf_3.8.0.bb} |  0
 .../0001-Add-Python-3.7-compatibility-4862.patch   | 98 --
 ...protobuf_3.6.1.bb => python3-protobuf_3.8.0.bb} |  1 -
 4 files changed, 2 insertions(+), 101 deletions(-)
 rename meta-python/recipes-devtools/python/{python-protobuf_3.6.1.bb => 
python-protobuf_3.8.0.bb} (100%)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-protobuf/0001-Add-Python-3.7-compatibility-4862.patch
 rename meta-python/recipes-devtools/python/{python3-protobuf_3.6.1.bb => 
python3-protobuf_3.8.0.bb} (78%)

diff --git a/meta-python/recipes-devtools/python/python-protobuf.inc 
b/meta-python/recipes-devtools/python/python-protobuf.inc
index 54eacc0b7..2929700a0 100644
--- a/meta-python/recipes-devtools/python/python-protobuf.inc
+++ b/meta-python/recipes-devtools/python/python-protobuf.inc
@@ -7,8 +7,8 @@ LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec
 
 inherit pypi
 
-SRC_URI[md5sum] = "e2daef80e70249aa1f05363670c6b3f8"
-SRC_URI[sha256sum] = 
"1489b376b0f364bcc6f89519718c057eb191d7ad6f1b395ffd93d1aa45587811"
+SRC_URI[md5sum] = "b7095f3eb736459716d606677b5a29ee"
+SRC_URI[sha256sum] = 
"8c61cc8a76e9d381c665aecc5105fa0f1878cf7db8b5cd17202603bcb386d0fc"
 
 # http://errors.yoctoproject.org/Errors/Details/184715/
 # Can't find required file: ../src/google/protobuf/descriptor.proto
diff --git a/meta-python/recipes-devtools/python/python-protobuf_3.6.1.bb 
b/meta-python/recipes-devtools/python/python-protobuf_3.8.0.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-protobuf_3.6.1.bb
rename to meta-python/recipes-devtools/python/python-protobuf_3.8.0.bb
diff --git 
a/meta-python/recipes-devtools/python/python3-protobuf/0001-Add-Python-3.7-compatibility-4862.patch
 
b/meta-python/recipes-devtools/python/python3-protobuf/0001-Add-Python-3.7-compatibility-4862.patch
deleted file mode 100644
index da5e73b15..0
--- 
a/meta-python/recipes-devtools/python/python3-protobuf/0001-Add-Python-3.7-compatibility-4862.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-From 539bc017a62f91bdf7c547b58948cb5a2f59d918 Mon Sep 17 00:00:00 2001
-From: Ben Webb 
-Date: Thu, 12 Jul 2018 10:58:10 -0700
-Subject: [PATCH] Add Python 3.7 compatibility (#4862)
-
-Compilation of Python wrappers fails with Python 3.7 because
-the Python folks changed their C API such that
-PyUnicode_AsUTF8AndSize() now returns a const char* rather
-than a char*. Add a patch to work around. Relates #4086.
-
-Upstream-Status: Backport [https://github.com/protocolbuffers/protobuf.git]
-Signed-off-by: Hongxu Jia 
-

- google/protobuf/pyext/descriptor.cc| 2 +-
- google/protobuf/pyext/descriptor_containers.cc | 2 +-
- google/protobuf/pyext/descriptor_pool.cc   | 2 +-
- google/protobuf/pyext/extension_dict.cc| 2 +-
- google/protobuf/pyext/message.cc   | 4 ++--
- 5 files changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/google/protobuf/pyext/descriptor.cc 
b/google/protobuf/pyext/descriptor.cc
-index 8af0cb1..19a1c38 100644
 a/google/protobuf/pyext/descriptor.cc
-+++ b/google/protobuf/pyext/descriptor.cc
-@@ -56,7 +56,7 @@
-   #endif
-   #define PyString_AsStringAndSize(ob, charpp, sizep) \
- (PyUnicode_Check(ob)? \
--   ((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0): \
-+   ((*(charpp) = const_cast(PyUnicode_AsUTF8AndSize(ob, (sizep 
== NULL? -1: 0): \
-PyBytes_AsStringAndSize(ob, (charpp), (sizep)))
- #endif
- 
-diff --git a/google/protobuf/pyext/descriptor_containers.cc 
b/google/protobuf/pyext/descriptor_containers.cc
-index bc007f7..0153664 100644
 a/google/protobuf/pyext/descriptor_containers.cc
-+++ b/google/protobuf/pyext/descriptor_containers.cc
-@@ -66,7 +66,7 @@
-   #endif
-   #define PyString_AsStringAndSize(ob, charpp, sizep) \
- (PyUnicode_Check(ob)? \
--   ((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0): \
-+   ((*(charpp) = const_cast(PyUnicode_AsUTF8AndSize(ob, (sizep 
== NULL? -1: 0): \
-PyBytes_AsStringAndSize(ob, (charpp), (sizep)))
- #endif
- 
-diff --git a/google/protobuf/pyext/descriptor_pool.cc 
b/google/protobuf/pyext/descriptor_pool.cc
-index 95882ae..962accc 100644
 a/google/protobuf/pyext/descriptor_pool.cc
-+++ b/google/protobuf/pyext/descriptor_pool.cc
-@@ -48,7 +48,7 @@
-   #endif
-   #define PyString_AsStringAndSize(ob, charpp, sizep) \
- (PyUnicode_Check(ob)? \
--   ((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0): \
-+   ((*(charpp) = const_cast(PyUnicode_AsUTF8AndSize(ob, (sizep 
== NULL? -1: 0): \
-PyBytes_AsStringAndSize(ob, (charpp), (sizep)))
- #endif
- 
-diff --git a/google/protobuf/pyext/extension_dic

[oe] [meta-oe][PATCHv4 1/3] protobuf: 3.6.1 -> 3.8.0

2019-06-17 Thread Pascal Bach
Simple update to latest release

The patch is needed to make python3-protobuf compile
as otherwise a file it expects is missing.

Signed-off-by: Pascal Bach 
---
 ...s-map_util.h-to-list-of-installed-headers.patch | 52 ++
 .../{protobuf_3.6.1.bb => protobuf_3.8.0.bb}   |  7 ++-
 2 files changed, 55 insertions(+), 4 deletions(-)
 create mode 100644 
meta-oe/recipes-devtools/protobuf/protobuf/0001-Added-stubs-map_util.h-to-list-of-installed-headers.patch
 rename meta-oe/recipes-devtools/protobuf/{protobuf_3.6.1.bb => 
protobuf_3.8.0.bb} (93%)

diff --git 
a/meta-oe/recipes-devtools/protobuf/protobuf/0001-Added-stubs-map_util.h-to-list-of-installed-headers.patch
 
b/meta-oe/recipes-devtools/protobuf/protobuf/0001-Added-stubs-map_util.h-to-list-of-installed-headers.patch
new file mode 100644
index 0..a160e5e97
--- /dev/null
+++ 
b/meta-oe/recipes-devtools/protobuf/protobuf/0001-Added-stubs-map_util.h-to-list-of-installed-headers.patch
@@ -0,0 +1,52 @@
+From ea6e776e50971c89ad2293046b6ae2a6a9753c56 Mon Sep 17 00:00:00 2001
+From: Adam Cozzette 
+Date: Thu, 6 Jun 2019 10:29:58 -0700
+Subject: [PATCH] Added stubs/map_util.h to list of installed headers
+
+This should fix issue #6186. I also had to remove a couple unnecessary
+const keywords in map_util.h because the no_warning_test was showing
+errors about those.
+
+Upstream-Status: Submitted 
[https://github.com/protocolbuffers/protobuf/pull/6223]
+---
+ src/Makefile.am  | 1 +
+ src/google/protobuf/stubs/map_util.h | 4 ++--
+ 2 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index be18ba76..1689e221 100644
+--- a/src/Makefile.am
 b/src/Makefile.am
+@@ -72,6 +72,7 @@ nobase_include_HEADERS = 
\
+   google/protobuf/stubs/hash.h   \
+   google/protobuf/stubs/logging.h\
+   google/protobuf/stubs/macros.h \
++  google/protobuf/stubs/map_util.h   \
+   google/protobuf/stubs/mutex.h  \
+   google/protobuf/stubs/once.h   \
+   google/protobuf/stubs/platform_macros.h\
+diff --git a/src/google/protobuf/stubs/map_util.h 
b/src/google/protobuf/stubs/map_util.h
+index 2313e1f5..b04d9d46 100644
+--- a/src/google/protobuf/stubs/map_util.h
 b/src/google/protobuf/stubs/map_util.h
+@@ -620,7 +620,7 @@ bool UpdateReturnCopy(Collection* const collection,
+ // twice. Unlike UpdateReturnCopy this also does not come with the issue of an
+ // undefined previous* in case new data was inserted.
+ template 
+-typename Collection::value_type::second_type* const
++typename Collection::value_type::second_type*
+ InsertOrReturnExisting(Collection* const collection,
+const typename Collection::value_type& vt) {
+   std::pair ret = collection->insert(vt);
+@@ -633,7 +633,7 @@ InsertOrReturnExisting(Collection* const collection,
+
+ // Same as above, except for explicit key and data.
+ template 
+-typename Collection::value_type::second_type* const
++typename Collection::value_type::second_type*
+ InsertOrReturnExisting(
+ Collection* const collection,
+ const typename Collection::value_type::first_type& key,
+--
+2.11.0
+
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb 
b/meta-oe/recipes-devtools/protobuf/protobuf_3.8.0.bb
similarity index 93%
rename from meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb
rename to meta-oe/recipes-devtools/protobuf/protobuf_3.8.0.bb
index cf72d9ca7..476d1e309 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_3.8.0.bb
@@ -10,13 +10,12 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b"
 DEPENDS = "zlib"
 DEPENDS_append_class-target = " protobuf-native"
 
-PV .= "+git${SRCPV}"
+SRCREV = "09745575a923640154bcf307fba8aedff47f240a"
 
-SRCREV = "48cb18e5c419ddd23d9badcfe4e9df7bde1979b2"
-
-SRC_URI = "git://github.com/google/protobuf.git;branch=3.6.x \
+SRC_URI = "git://github.com/google/protobuf.git;branch=3.8.x \
file://run-ptest \
file://0001-protobuf-fix-configure-error.patch \
+   
file://0001-Added-stubs-map_util.h-to-list-of-installed-headers.patch \
 "
 S = "${WORKDIR}/git"
 
-- 
2.11.0

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


[oe] [meta-oe][PATCHv2] rocksdb: 5.18.3 -> 6.0.2

2019-06-12 Thread Pascal Bach
Also add support for gflags as these are enabled by default
and recipes are available in meta-oe. They can still be disabled via
PACKAGECONFIG.

zstd is also added as an PACKAGECONFIG but currently the zstd recipe is not in
meta-oe so it stays disabled for the moment.

This also includes a patch that fixes GCC9 compatibility, it's currently 
submitted
upstream but not yet accepted due to style issues.

Signed-off-by: Pascal Bach 
---
 ...01-CMake-has-stock-FindZLIB-in-upper-case.patch | 29 
 .../rocksdb/files/0001-fix-Issue-5303.patch| 80 ++
 meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb | 14 ++--
 3 files changed, 118 insertions(+), 5 deletions(-)
 create mode 100644 
meta-oe/recipes-dbs/rocksdb/files/0001-CMake-has-stock-FindZLIB-in-upper-case.patch
 create mode 100644 meta-oe/recipes-dbs/rocksdb/files/0001-fix-Issue-5303.patch

diff --git 
a/meta-oe/recipes-dbs/rocksdb/files/0001-CMake-has-stock-FindZLIB-in-upper-case.patch
 
b/meta-oe/recipes-dbs/rocksdb/files/0001-CMake-has-stock-FindZLIB-in-upper-case.patch
new file mode 100644
index 0..9682f8ad4
--- /dev/null
+++ 
b/meta-oe/recipes-dbs/rocksdb/files/0001-CMake-has-stock-FindZLIB-in-upper-case.patch
@@ -0,0 +1,29 @@
+From 38146a5d803a1fb9b10f011aa857872b6f20cd02 Mon Sep 17 00:00:00 2001
+From: Tongliang Liao 
+Date: Mon, 29 Apr 2019 03:51:51 -0700
+Subject: [PATCH] CMake has stock FindZLIB in upper case. More details in
+ https://cmake.org/cmake/help/v3.14/module/FindZLIB.html
+
+
+Upstream-Status: Backport https://github.com/facebook/rocksdb/pull/5261
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 40cdd26bb..355686566 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -92,7 +92,7 @@ else()
+   endif()
+
+   if(WITH_ZLIB)
+-find_package(zlib REQUIRED)
++find_package(ZLIB REQUIRED)
+ add_definitions(-DZLIB)
+ if(ZLIB_INCLUDE_DIRS)
+   # CMake 3
+--
+2.11.0
+
diff --git a/meta-oe/recipes-dbs/rocksdb/files/0001-fix-Issue-5303.patch 
b/meta-oe/recipes-dbs/rocksdb/files/0001-fix-Issue-5303.patch
new file mode 100644
index 0..ba9834dfe
--- /dev/null
+++ b/meta-oe/recipes-dbs/rocksdb/files/0001-fix-Issue-5303.patch
@@ -0,0 +1,80 @@
+From 512aaf3d833973f6146c6f1235b590901876175e Mon Sep 17 00:00:00 2001
+From: biocodz 
+Date: Fri, 7 Jun 2019 09:49:37 -0400
+Subject: [PATCH] fix Issue 5303
+
+Upstream-Status: Submitted [https://github.com/facebook/rocksdb/pull/5426]
+
+---
+ db/internal_stats.h| 21 +
+ db/version_edit.h  |  8 
+ utilities/persistent_cache/persistent_cache_util.h |  2 +-
+ 3 files changed, 30 insertions(+), 1 deletion(-)
+
+diff --git a/db/internal_stats.h b/db/internal_stats.h
+index 6fa8727a4..09447644d 100644
+--- a/db/internal_stats.h
 b/db/internal_stats.h
+@@ -236,6 +236,27 @@ class InternalStats {
+   }
+ }
+
++  CompactionStats & operator=(const CompactionStats& c) {
++count = c.count;
++micros = c.micros;
++cpu_micros = c.cpu_micros;
++bytes_read_non_output_levels = c.bytes_read_non_output_levels;
++bytes_read_output_level = c.bytes_read_output_level;
++bytes_written = c.bytes_written;
++bytes_moved = c.bytes_moved;
++num_input_files_in_non_output_levels =
++c.num_input_files_in_non_output_levels;
++num_input_files_in_output_level = c.num_input_files_in_output_level;
++num_output_files = c.num_output_files;
++num_input_records = c.num_input_records;
++num_dropped_records = c.num_dropped_records;
++int num_of_reasons = 
static_cast(CompactionReason::kNumOfReasons);
++for (int i = 0; i < num_of_reasons; i++) {
++  counts[i] = c.counts[i];
++}
++return *this;
++  }
++
+ void Clear() {
+   this->micros = 0;
+   this->cpu_micros = 0;
+diff --git a/db/version_edit.h b/db/version_edit.h
+index 229531792..5c50ef552 100644
+--- a/db/version_edit.h
 b/db/version_edit.h
+@@ -52,6 +52,14 @@ struct FileDescriptor {
+ smallest_seqno(_smallest_seqno),
+ largest_seqno(_largest_seqno) {}
+
++  FileDescriptor(const FileDescriptor& fd) {
++table_reader = fd.table_reader;
++packed_number_and_path_id = fd.packed_number_and_path_id;
++file_size = fd.file_size;
++smallest_seqno = fd.smallest_seqno;
++largest_seqno = fd.largest_seqno;
++  }
++
+   FileDescriptor& operator=(const FileDescriptor& fd) {
+ table_reader = fd.table_reader;
+ packed_number_and_path_id = fd.packed_number_and_path_id;
+diff --git a/utilities/persistent_cache/persistent_cache_util.h 
b/utilities/persistent_cache/persistent_cache_util.h
+index 214bb5875..254c038f9 100644
+--- a/utilities/persistent_cache/persistent_cache_util.h
 b/utilities/persistent_cache/persi

[oe] [meta-oe][PATCHv3 1/2] protobuf: 3.6.1 -> 3.8.0

2019-06-11 Thread Pascal Bach
Simple update to latest release

Signed-off-by: Pascal Bach 
---
 .../protobuf/{protobuf_3.6.1.bb => protobuf_3.8.0.bb}   | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-devtools/protobuf/{protobuf_3.6.1.bb => 
protobuf_3.8.0.bb} (95%)

diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb 
b/meta-oe/recipes-devtools/protobuf/protobuf_3.8.0.bb
similarity index 95%
rename from meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb
rename to meta-oe/recipes-devtools/protobuf/protobuf_3.8.0.bb
index cf72d9ca7..0892178c0 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_3.8.0.bb
@@ -10,11 +10,9 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b"
 DEPENDS = "zlib"
 DEPENDS_append_class-target = " protobuf-native"
 
-PV .= "+git${SRCPV}"
+SRCREV = "09745575a923640154bcf307fba8aedff47f240a"
 
-SRCREV = "48cb18e5c419ddd23d9badcfe4e9df7bde1979b2"
-
-SRC_URI = "git://github.com/google/protobuf.git;branch=3.6.x \
+SRC_URI = "git://github.com/google/protobuf.git;branch=3.8.x \
file://run-ptest \
file://0001-protobuf-fix-configure-error.patch \
 "
-- 
2.11.0

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


[oe] [meta-oe][PATCHv3 2/2] protobuf-c: add patch for protobuf 3 compatibility

2019-06-11 Thread Pascal Bach
There is no release yet of protobuf-c that is compatible with protobuf 3.
Master is already patched so this is just a straight backport of this patch.

Signed-off-by: Pascal Bach 
---
 .../protobuf-c/protobuf3-compatibility.patch   | 55 ++
 .../recipes-devtools/protobuf/protobuf-c_1.3.1.bb  |  4 +-
 2 files changed, 58 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-devtools/protobuf/protobuf-c/protobuf3-compatibility.patch

diff --git 
a/meta-oe/recipes-devtools/protobuf/protobuf-c/protobuf3-compatibility.patch 
b/meta-oe/recipes-devtools/protobuf/protobuf-c/protobuf3-compatibility.patch
new file mode 100644
index 0..35914952d
--- /dev/null
+++ b/meta-oe/recipes-devtools/protobuf/protobuf-c/protobuf3-compatibility.patch
@@ -0,0 +1,55 @@
+From 7456d1621223d425b8a3fd74e435a79c046169fb Mon Sep 17 00:00:00 2001
+From: Robert Edmonds 
+Date: Wed, 10 Apr 2019 20:47:48 -0400
+Subject: [PATCH] t/generated-code2/cxx-generate-packed-data.cc: Fix build
+ failure on newer protobuf
+
+ Upstream-Status: Backport [https://github.com/protobuf-c/protobuf-c/pull/369]
+
+google::protobuf::Message::Reflection has been removed in newer versions
+of protobuf. The replacement is google::protobuf::Reflection.
+
+protobuf in commit 779f61c6a3ce02a119e28e802f229e61b69b9046 ("Integrate
+recent changes from google3.", from August 2008) changed the following
+in message.h:
+
+@@ -336,7 +337,8 @@ class LIBPROTOBUF_EXPORT Message {
+
+   // Introspection ---
+
+-  class Reflection;  // Defined below.
++  // Typedef for backwards-compatibility.
++  typedef google::protobuf::Reflection Reflection;
+
+The "typedef for backwards-compatibility" apparently lasted ten years
+until protobuf commit 6bbe197e9c1b6fc38cbdc45e3bf83fa7ced792a3
+("Down-integrate from google3.", from August 2018) which finally removed
+the typedef:
+
+@@ -327,8 +344,6 @@ class LIBPROTOBUF_EXPORT Message : public MessageLite {
+
+   // Introspection ---
+
+-  // Typedef for backwards-compatibility.
+-  typedef google::protobuf::Reflection Reflection;
+
+This commit updates the only use of this typedef (in the test suite) to
+directly refer to the replacement, google::protobuf::Reflection. This
+fixes the build failure in the test suite.
+---
+ t/generated-code2/cxx-generate-packed-data.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/t/generated-code2/cxx-generate-packed-data.cc 
b/t/generated-code2/cxx-generate-packed-data.cc
+index 4fd3e25..0865d2e 100644
+--- a/t/generated-code2/cxx-generate-packed-data.cc
 b/t/generated-code2/cxx-generate-packed-data.cc
+@@ -998,7 +998,7 @@ static void dump_test_packed_repeated_enum (void)
+ static void dump_test_unknown_fields (void)
+ {
+   EmptyMess mess;
+-  const google::protobuf::Message::Reflection *reflection = 
mess.GetReflection();
++  const google::protobuf::Reflection *reflection = mess.GetReflection();
+   google::protobuf::UnknownFieldSet *fs = 
reflection->MutableUnknownFields(&mess);
+
+ #if GOOGLE_PROTOBUF_VERSION >= 2001000
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.1.bb 
b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.1.bb
index 7ef030092..1d1782306 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.1.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.1.bb
@@ -15,7 +15,9 @@ DEPENDS = "protobuf-native protobuf"
 PV .= "+git${SRCPV}"
 SRCREV = "269771b4b45d3aba04e59569f5363db8d9ff"
 
-SRC_URI = "git://github.com/protobuf-c/protobuf-c.git"
+SRC_URI = "git://github.com/protobuf-c/protobuf-c.git \
+   file://protobuf3-compatibility.patch \
+  "
 
 S = "${WORKDIR}/git"
 
-- 
2.11.0

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


[oe] [meta-oe][PATCHv3 0/2] protobuf: 3.6.1 -> 3.8.0

2019-06-11 Thread Pascal Bach
Protobuf-c 1.3.1 is not compatible with protobuf 3.8.0.
This updated patchseries update backports a compatbility fix for protobuf-c
from master.

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


[oe] [meta-oe][PATCH] rocksdb: 5.18.3 -> 6.0.2

2019-06-11 Thread Pascal Bach
Also add support for snappy and gflags as these are enabled by default
and recipes are available in meta-oe. They can still be disabled via
PACKAGECONFIG.

zstd is also added as an PACKAGECONFIG but currently the zstd recipe is not in
meta-oe so it stays disabled for the moment.

Signed-off-by: Pascal Bach 
---
 ...01-CMake-has-stock-FindZLIB-in-upper-case.patch | 29 ++
 meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb | 11 +---
 2 files changed, 36 insertions(+), 4 deletions(-)
 create mode 100644 
meta-oe/recipes-dbs/rocksdb/files/0001-CMake-has-stock-FindZLIB-in-upper-case.patch

diff --git 
a/meta-oe/recipes-dbs/rocksdb/files/0001-CMake-has-stock-FindZLIB-in-upper-case.patch
 
b/meta-oe/recipes-dbs/rocksdb/files/0001-CMake-has-stock-FindZLIB-in-upper-case.patch
new file mode 100644
index 0..9682f8ad4
--- /dev/null
+++ 
b/meta-oe/recipes-dbs/rocksdb/files/0001-CMake-has-stock-FindZLIB-in-upper-case.patch
@@ -0,0 +1,29 @@
+From 38146a5d803a1fb9b10f011aa857872b6f20cd02 Mon Sep 17 00:00:00 2001
+From: Tongliang Liao 
+Date: Mon, 29 Apr 2019 03:51:51 -0700
+Subject: [PATCH] CMake has stock FindZLIB in upper case. More details in
+ https://cmake.org/cmake/help/v3.14/module/FindZLIB.html
+
+
+Upstream-Status: Backport https://github.com/facebook/rocksdb/pull/5261
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 40cdd26bb..355686566 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -92,7 +92,7 @@ else()
+   endif()
+
+   if(WITH_ZLIB)
+-find_package(zlib REQUIRED)
++find_package(ZLIB REQUIRED)
+ add_definitions(-DZLIB)
+ if(ZLIB_INCLUDE_DIRS)
+   # CMake 3
+--
+2.11.0
+
diff --git a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb 
b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
index 8d846197a..6320c10fa 100644
--- a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
+++ b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
@@ -6,11 +6,12 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.Apache;md5=3b83ef96387f14655fc854ddc3c6bd57 \
 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 
file://LICENSE.leveldb;md5=fb04ff57a14f308f2eed4a9b87d45837"
 
-SRCREV = "641fae60f63619ed5d0c9d9e4c4ea5a0ffa3e253"
-SRCBRANCH = "5.18.fb"
-PV = "5.18.3"
+SRCREV = "628a7fd74b5611657106c57f724f1682b114684c"
+SRCBRANCH = "6.0.fb"
+PV = "6.0.2"
 
 SRC_URI = "git://github.com/facebook/${BPN}.git;branch=${SRCBRANCH} \
+   file://0001-CMake-has-stock-FindZLIB-in-upper-case.patch \

file://0001-Disable-Wshadow-and-do-not-mark-default-copy-constru.patch \

file://0001-utilities-Fix-build-failure-with-Werror-maybe-uninit.patch \
   "
@@ -19,11 +20,13 @@ S = "${WORKDIR}/git"
 
 inherit cmake
 
-PACKAGECONFIG ??= "bzip2 zlib lz4"
+PACKAGECONFIG ??= "bzip2 zlib lz4 snappy gflags"
 PACKAGECONFIG[bzip2] = "-DWITH_BZ2=ON 
-DBZIP2_LIBRARIES:STRING=bz2,-DWITH_BZ2=OFF,bzip2"
 PACKAGECONFIG[lz4] = "-DWITH_LZ4=ON 
-DLZ4_LIBRARIES:STRING=lz4,-DWITH_LZ4=OFF,lz4"
 PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON 
-DZLIB_LIBRARIES:STRING=z,-DWITH_ZLIB=OFF,zlib"
+PACKAGECONFIG[zstd] = "-DWITH_ZSTD=ON,-DWITH_ZSTD=OFF,zstd"
 PACKAGECONFIG[lite] = "-DROCKSDB_LITE=ON,-DROCKSDB_LITE=OFF"
+PACKAGECONFIG[gflags] = "-DWITH_GFLAGS=ON,-DWITH_GFLAGS=OFF,gflags"
 
 # Tools and tests currently don't compile on armv5 so we disable them
 EXTRA_OECMAKE = "\
-- 
2.11.0

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


[oe] [meta-oe][PATCHv2] protobuf: 3.6.1 -> 3.8.0

2019-06-05 Thread Pascal Bach
Simple update to latest release

Signed-off-by: Pascal Bach 
---
 .../protobuf/{protobuf_3.6.1.bb => protobuf_3.8.0.bb}   | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-devtools/protobuf/{protobuf_3.6.1.bb => 
protobuf_3.8.0.bb} (95%)

diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb 
b/meta-oe/recipes-devtools/protobuf/protobuf_3.8.0.bb
similarity index 95%
rename from meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb
rename to meta-oe/recipes-devtools/protobuf/protobuf_3.8.0.bb
index cf72d9ca7..0892178c0 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_3.8.0.bb
@@ -10,11 +10,9 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b"
 DEPENDS = "zlib"
 DEPENDS_append_class-target = " protobuf-native"
 
-PV .= "+git${SRCPV}"
+SRCREV = "09745575a923640154bcf307fba8aedff47f240a"
 
-SRCREV = "48cb18e5c419ddd23d9badcfe4e9df7bde1979b2"
-
-SRC_URI = "git://github.com/google/protobuf.git;branch=3.6.x \
+SRC_URI = "git://github.com/google/protobuf.git;branch=3.8.x \
file://run-ptest \
file://0001-protobuf-fix-configure-error.patch \
 "
-- 
2.11.0

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


[oe] [meta-oe][PATCH] protobuf: 3.6.1 -> 3.8.0

2019-06-05 Thread Pascal Bach
Simple update to latest release

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

diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb 
b/meta-oe/recipes-devtools/protobuf/protobuf_3.8.0.bb
similarity index 96%
rename from meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb
rename to meta-oe/recipes-devtools/protobuf/protobuf_3.8.0.bb
index cf72d9ca7..7148954ce 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_3.8.0.bb
@@ -12,9 +12,9 @@ DEPENDS_append_class-target = " protobuf-native"
 
 PV .= "+git${SRCPV}"
 
-SRCREV = "48cb18e5c419ddd23d9badcfe4e9df7bde1979b2"
+SRCREV = "09745575a923640154bcf307fba8aedff47f240a"
 
-SRC_URI = "git://github.com/google/protobuf.git;branch=3.6.x \
+SRC_URI = "git://github.com/google/protobuf.git;branch=master \
file://run-ptest \
file://0001-protobuf-fix-configure-error.patch \
 "
-- 
2.11.0

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


[oe] [meta-oe][PATCH] thrift: update to 0.12.0

2019-04-15 Thread Pascal Bach
Remove the python library feature as it was never installed so nobody should
miss it.

The CMake patches are no longer needed as most of the underlying issue
is fixed in OE core.
The other patches are backports that are already upstream in 0.11.

OpenSSL 1.1 is supported by this version of thrift.

Also add a feature to use boost smart pointers instead of C++ std ones.
This is enabled by default to keep backwards compatibility with the
0.9.3 recipe. However projects depending on thrift might still need to set
FORCE_BOOST_SMART_PTR within their build CMake project to make sure the correct
headers are selected.

Further the different libraries are now split into separate packages.

Signed-off-by: Pascal Bach 
---
 .../0001-Forcibly-disable-check-for-Qt5.patch  |  25 -
 ...-In-cmake-avoid-use-of-both-quoted-paths-.patch | 108 -
 ...31-in-test-cpp-explicitly-use-signed-char.patch |  38 
 ...07-enable-build-with-OpenSSL-1.1.0-series.patch |  41 
 ...-Compile-error-in-TSSLSocket.cpp-with-new.patch |  26 -
 ...-C++-library-build-fails-if-OpenSSL-does-.patch |  46 -
 .../thrift/{thrift_0.9.3.bb => thrift_0.12.0.bb}   |  35 ---
 7 files changed, 17 insertions(+), 302 deletions(-)
 delete mode 100644 
meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0001-Forcibly-disable-check-for-Qt5.patch
 delete mode 100644 
meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0001-THRIFT-3828-In-cmake-avoid-use-of-both-quoted-paths-.patch
 delete mode 100644 
meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0002-THRIFT-3831-in-test-cpp-explicitly-use-signed-char.patch
 delete mode 100644 
meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0004-THRIFT-3207-enable-build-with-OpenSSL-1.1.0-series.patch
 delete mode 100644 
meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0005-THRIFT-3878-Compile-error-in-TSSLSocket.cpp-with-new.patch
 delete mode 100644 
meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0006-THRIFT-3736-C++-library-build-fails-if-OpenSSL-does-.patch
 rename meta-oe/recipes-connectivity/thrift/{thrift_0.9.3.bb => 
thrift_0.12.0.bb} (53%)

diff --git 
a/meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0001-Forcibly-disable-check-for-Qt5.patch
 
b/meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0001-Forcibly-disable-check-for-Qt5.patch
deleted file mode 100644
index a77cd284b..0
--- 
a/meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0001-Forcibly-disable-check-for-Qt5.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From a5544d8e543436e413379422b702f6f56ac7eb8e Mon Sep 17 00:00:00 2001
-From: Philip Balister 
-Date: Tue, 12 Apr 2016 17:30:15 -0400
-Subject: [PATCH] Forcibly disable check for Qt5.
-
-Signed-off-by: Philip Balister 
-

- build/cmake/DefineOptions.cmake | 3 ---
- 1 file changed, 3 deletions(-)
-
-diff --git a/build/cmake/DefineOptions.cmake b/build/cmake/DefineOptions.cmake
-index 62e240f..f8b4493 100644
 a/build/cmake/DefineOptions.cmake
-+++ b/build/cmake/DefineOptions.cmake
-@@ -52,9 +52,6 @@ CMAKE_DEPENDENT_OPTION(WITH_LIBEVENT "Build with libevent 
support" ON
- find_package(Qt4 QUIET COMPONENTS QtCore QtNetwork)
- CMAKE_DEPENDENT_OPTION(WITH_QT4 "Build with Qt4 support" ON
-"QT4_FOUND" OFF)
--find_package(Qt5 QUIET COMPONENTS Core Network)
--CMAKE_DEPENDENT_OPTION(WITH_QT5 "Build with Qt5 support" ON
--   "Qt5_FOUND" OFF)
- if(${WITH_QT4} AND ${WITH_QT5} AND ${CMAKE_MAJOR_VERSION} LESS 3)
-   # cmake < 3.0.0 causes conflict when building both Qt4 and Qt5
-   set(WITH_QT4 OFF)
diff --git 
a/meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0001-THRIFT-3828-In-cmake-avoid-use-of-both-quoted-paths-.patch
 
b/meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0001-THRIFT-3828-In-cmake-avoid-use-of-both-quoted-paths-.patch
deleted file mode 100644
index 182eacc0e..0
--- 
a/meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0001-THRIFT-3828-In-cmake-avoid-use-of-both-quoted-paths-.patch
+++ /dev/null
@@ -1,108 +0,0 @@
-From b8e254a2f4ba49412e541598c72159869a7770f8 Mon Sep 17 00:00:00 2001
-From: Cody P Schafer 
-Date: Mon, 16 May 2016 15:21:10 -0400
-Subject: [PATCH] THRIFT-3828 In cmake avoid use of both quoted paths and
- SYSTEM with include_directories()
-
-This allows us to avoid issues where there are no paths to be added to
-the include path (include_directories() errors when given an empty
-string).
-
-Specifically, gcc-6 requires that libraries stop passing paths like
-'/usr/include' (or they will get libstdc++ build errors), so these paths
-will be empty more often in the future.
-

- lib/cpp/CMakeLists.txt  | 8 
- lib/cpp/test/CMakeLists.txt | 2 +-
- test/cpp/CMakeLists.txt | 6 +++---
- tutorial/cpp/CMakeLists.txt | 2 +-
- 4 files changed, 9 insertions(+), 9 deletions(-)
-
-diff --git a/lib/cpp/CMakeLists.txt b/lib/cpp/CMakeLists.txt
-index 4c7caeb..a716ac3 100755
 a/lib/cpp/CMakeLists.txt
-++

[oe] [meta-oe][PATCH] paho-mqtt-c: 1.2.1 -> 1.3.0

2019-04-15 Thread Pascal Bach
Switch to cmake instead of manually installing everything.

Paho-mqtt still adds some unnecessary files into /usr we have to delete them.

Signed-off-by: Pascal Bach 
---
 .../{paho-mqtt-c_1.2.1.bb => paho-mqtt-c_1.3.0.bb}| 19 ++-
 1 file changed, 6 insertions(+), 13 deletions(-)
 rename meta-oe/recipes-connectivity/paho-mqtt-c/{paho-mqtt-c_1.2.1.bb => 
paho-mqtt-c_1.3.0.bb} (53%)

diff --git a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.2.1.bb 
b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.0.bb
similarity index 53%
rename from meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.2.1.bb
rename to meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.0.bb
index a7a9b5a6c..79a8f43d7 100644
--- a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.2.1.bb
+++ b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.0.bb
@@ -13,23 +13,16 @@ LIC_FILES_CHKSUM = " \
 
 SRC_URI = "git://github.com/eclipse/paho.mqtt.c;protocol=http"
 
-SRCREV = "09fe0744e02f317b907e96dd5afcc02224ddbb85"
+SRCREV = "9f715d0862a8e16099b5837c4e53a1bf6a6a0675"
 
 DEPENDS = "openssl"
 
 S = "${WORKDIR}/git"
 
-TARGET_CC_ARCH += "${LDFLAGS}"
+inherit cmake
 
-do_install() {
-install -d ${D}${libdir}
-oe_libinstall -C build/output -so libpaho-mqtt3a ${D}${libdir}
-oe_libinstall -C build/output -so libpaho-mqtt3as ${D}${libdir}
-oe_libinstall -C build/output -so libpaho-mqtt3c  ${D}${libdir}
-oe_libinstall -C build/output -so libpaho-mqtt3cs ${D}${libdir}
-install -d ${D}${includedir}
-install -m 644 src/MQTTAsync.h ${D}${includedir}
-install -m 644 src/MQTTClient.h ${D}${includedir}
-install -m 644 src/MQTTClientPersistence.h ${D}${includedir}
+do_install_append() {
+# paho-mqtt installes some thing that we don't want.
+rm -rf ${D}${prefix}/samples
+find ${D}${prefix} -maxdepth 1 -type f -delete
 }
-
-- 
2.11.0

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


[oe] [meta-networking][PATCH] squid: upgrade 3.5.27 -> 3.5.28

2019-03-11 Thread Pascal Bach
Copyright year has changed in COPYRIGHTS file, thus the hash change.

Signed-off-by: Pascal Bach 
---
 .../recipes-daemons/squid/{squid_3.5.27.bb => squid_3.5.28.bb}  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-networking/recipes-daemons/squid/{squid_3.5.27.bb => 
squid_3.5.28.bb} (95%)

diff --git a/meta-networking/recipes-daemons/squid/squid_3.5.27.bb 
b/meta-networking/recipes-daemons/squid/squid_3.5.28.bb
similarity index 95%
rename from meta-networking/recipes-daemons/squid/squid_3.5.27.bb
rename to meta-networking/recipes-daemons/squid/squid_3.5.28.bb
index 1557c4b2d..e33c1b7cc 100644
--- a/meta-networking/recipes-daemons/squid/squid_3.5.27.bb
+++ b/meta-networking/recipes-daemons/squid/squid_3.5.28.bb
@@ -29,11 +29,11 @@ SRC_URI = 
"http://www.squid-cache.org/Versions/v${MAJ_VER}/${MIN_VER}/${BPN}-${P
 
 SRC_URI_remove_toolchain-clang = 
"file://0001-configure-Check-for-Wno-error-format-truncation-comp.patch"
 
-SRC_URI[md5sum] = "c17a3ed3a40cd59c23f48b8539dafcd8"
-SRC_URI[sha256sum] = 
"467da134eaf0f7962ba5881793d106772fb05fefa4aea7d9569eec0412c52433"
+SRC_URI[md5sum] = "4ae3f6277b3aa6386cb5ad2d954179c2"
+SRC_URI[sha256sum] = 
"11971bfe3c13f438e42569ea551206caf68ecaa968305c30f7b422b556ebc7ac"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=c492e2d6d32ec5c1aad0e0609a141ce9 \
-
file://errors/COPYRIGHT;md5=8861130fae91400bcf99b66f133172b3 \
+
file://errors/COPYRIGHT;md5=1c0781e2ecd3051c765d525572defbc7 \
"
 DEPENDS = "libtool krb5 openldap db cyrus-sasl openssl expat libxml2"
 
-- 
2.11.0

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


[oe] [meta-oe][PATCH] rocksdb: make resulting cmake config relocatable

2019-01-18 Thread Pascal Bach
RocksDB is still using CMake 2.8 and thus does not make use of importet targets.
This leads to hardcoded paths to the build directory in the resulting packaged 
files.

The workaround for the issue is to bypass CMakes detection and let the linker 
deal with finding the right library.

This is necessary until RocksDB moves to a more modern CMake.
It's also applied in the Poco recipe right now.

Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb 
b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
index 67822477e..60afa7147 100644
--- a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
+++ b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
@@ -18,9 +18,9 @@ S = "${WORKDIR}/git"
 inherit cmake
 
 PACKAGECONFIG ??= "bzip2 zlib lz4"
-PACKAGECONFIG[bzip2] = "-DWITH_BZ2=ON,-DWITH_BZ2=OFF,bzip2"
-PACKAGECONFIG[lz4] = "-DWITH_LZ4=ON,-DWITH_LZ4=OFF,lz4"
-PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib"
+PACKAGECONFIG[bzip2] = "-DWITH_BZ2=ON 
-DBZIP2_LIBRARIES:STRING=bz2,-DWITH_BZ2=OFF,bzip2"
+PACKAGECONFIG[lz4] = "-DWITH_LZ4=ON 
-DLZ4_LIBRARIES:STRING=lz4,-DWITH_LZ4=OFF,lz4"
+PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON 
-DZLIB_LIBRARIES:STRING=z,-DWITH_ZLIB=OFF,zlib"
 PACKAGECONFIG[lite] = "-DROCKSDB_LITE=ON,-DROCKSDB_LITE=OFF"
 
 # Tools and tests currently don't compile on armv5 so we disable them
-- 
2.11.0

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


Re: [oe] [meta-networking][PATCH 2/2] civetweb: disable tests

2018-10-31 Thread Pascal Bach


On 30.10.2018 22:04, Khem Raj wrote:
> On Tue, Oct 30, 2018 at 7:35 AM Pascal Bach  wrote:
>> Tests try to download third party code and bypass the bitbake fetcher to
>> do that. This will not work in environments with no internet access.
>>
>> Signed-off-by: Pascal Bach 
>> ---
>>  meta-networking/recipes-connectivity/civetweb/civetweb_git.bb | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb 
>> b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
>> index 004cf960a..d681f7f30 100644
>> --- a/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
>> +++ b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
>> @@ -23,6 +23,7 @@ EXTRA_OECMAKE = " \
>>  -DCIVETWEB_ENABLE_DUKTAPE=OFF \
>>  -DCIVETWEB_ENABLE_LUA=OFF \
>>  -DCIVETWEB_ENABLE_ASAN=OFF \
>> +-DCIVETWEB_BUILD_TESTING=OFF \
>>  "
> Probably, it will be good to turn this into a packageconfig, I am fine
> to disable it by default
> but it might be useful to have it enabled with say images with ptest feature 
> on.
I agree it might be useful, but it needs some change as I don't think we want 
to have a recipe that fetches code from somewhere without bitbake knowing about 
it.

Once the main CMake patches land I will try to look into how the whole 
ExternalProject [1] stuff works in CMake and how it could be better integrated 
into OE.
So for now I suggest to just deactivate it and then later re add it once I 
figured out a way to properly handle ExternalProject.

[1] https://cmake.org/cmake/help/latest/module/ExternalProject.html
>>  # Building with ninja fails on missing third_party/lib/libcheck.a (which
>> --
>> 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


[oe] [meta-networking][PATCH 2/2] civetweb: disable tests

2018-10-30 Thread Pascal Bach
Tests try to download third party code and bypass the bitbake fetcher to
do that. This will not work in environments with no internet access.

Signed-off-by: Pascal Bach 
---
 meta-networking/recipes-connectivity/civetweb/civetweb_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb 
b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
index 004cf960a..d681f7f30 100644
--- a/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
+++ b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
@@ -23,6 +23,7 @@ EXTRA_OECMAKE = " \
 -DCIVETWEB_ENABLE_DUKTAPE=OFF \
 -DCIVETWEB_ENABLE_LUA=OFF \
 -DCIVETWEB_ENABLE_ASAN=OFF \
+-DCIVETWEB_BUILD_TESTING=OFF \
 "
 
 # Building with ninja fails on missing third_party/lib/libcheck.a (which
-- 
2.11.0

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


[oe] [meta-networking][PATCH 1/2] civetweb: remove redundant EXTRA_OECMAKE_class-native

2018-10-30 Thread Pascal Bach
They are the same as the default version.

Signed-off-by: Pascal Bach 
---
 meta-networking/recipes-connectivity/civetweb/civetweb_git.bb | 6 --
 1 file changed, 6 deletions(-)

diff --git a/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb 
b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
index 9a7844ad0..004cf960a 100644
--- a/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
+++ b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
@@ -24,12 +24,6 @@ EXTRA_OECMAKE = " \
 -DCIVETWEB_ENABLE_LUA=OFF \
 -DCIVETWEB_ENABLE_ASAN=OFF \
 "
-EXTRA_OECMAKE_class-native = " \
--DBUILD_SHARED_LIBS=ON \
--DCIVETWEB_ENABLE_DUKTAPE=OFF \
--DCIVETWEB_ENABLE_LUA=OFF \
--DCIVETWEB_ENABLE_ASAN=OFF \
-"
 
 # Building with ninja fails on missing third_party/lib/libcheck.a (which
 # should come from external CMake project)
-- 
2.11.0

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


[oe] [meta-oe][PATCH 2/2] libyui-ncurses: fix ncurses find module

2018-10-30 Thread Pascal Bach
This makes the module look in the standard locations instead of only some
hard coded ones.

Signed-off-by: Pascal Bach 
---
 .../0003-Simplify-ncurses-finding-module.patch | 35 ++
 .../recipes-graphics/libyui/libyui-ncurses_git.bb  |  1 +
 2 files changed, 36 insertions(+)
 create mode 100644 
meta-oe/recipes-graphics/libyui/libyui-ncurses/0003-Simplify-ncurses-finding-module.patch

diff --git 
a/meta-oe/recipes-graphics/libyui/libyui-ncurses/0003-Simplify-ncurses-finding-module.patch
 
b/meta-oe/recipes-graphics/libyui/libyui-ncurses/0003-Simplify-ncurses-finding-module.patch
new file mode 100644
index 0..2520ac46f
--- /dev/null
+++ 
b/meta-oe/recipes-graphics/libyui/libyui-ncurses/0003-Simplify-ncurses-finding-module.patch
@@ -0,0 +1,35 @@
+From c2291fe28dc5682f81804941512431642975cf21 Mon Sep 17 00:00:00 2001
+From: Pascal Bach 
+Date: Mon, 29 Oct 2018 18:17:32 +0100
+Subject: [PATCH] Simplify ncurses finding module
+
+CMake will automatically look in the right locations, there is no need to
+re-implement the logic with a for loop and NO_DEFAULT_PATH.
+
+It is already done like this to file the headers.
+
+Upstream-Status: Submitted [https://github.com/libyui/libyui-ncurses/pull/73]
+Signed-off-by: Pascal Bach 
+---
+ cmake/Modules/FindCurses6.cmake | 8 +++-
+ 1 file changed, 3 insertions(+), 5 deletions(-)
+
+diff --git a/cmake/Modules/FindCurses6.cmake b/cmake/Modules/FindCurses6.cmake
+index 0bf02c3..e298d5d 100644
+--- a/cmake/Modules/FindCurses6.cmake
 b/cmake/Modules/FindCurses6.cmake
+@@ -5,11 +5,9 @@
+ #  CURSES6_LIBRARIES - The libraries needed to use Curses6
+ #  CURSES6_DEFINITIONS - Compiler switches required for using Curses6
+ 
+-FOREACH(path ${CMAKE_LIBRARY_PATH} /usr/${LIB_DIR})
+-  FIND_LIBRARY(CURSES6_NCURSESW_LIBRARY NAMES ncursesw PATHS ${path}/ncurses6 
${path} NO_DEFAULT_PATH)
+-  FIND_LIBRARY(CURSES6_PANELW_LIBRARY NAMES panelw PATHS ${path}/ncurses6 
${path} NO_DEFAULT_PATH)
+-  FIND_LIBRARY(CURSES6_TINFO_LIBRARY NAMES tinfo PATHS ${path}/ncurses6 
${path} NO_DEFAULT_PATH)
+-ENDFOREACH()
++FIND_LIBRARY(CURSES6_NCURSESW_LIBRARY NAMES ncursesw PATH_SUFFIXES ncurses6)
++FIND_LIBRARY(CURSES6_PANELW_LIBRARY NAMES panelw PATH_SUFFIXES ncurses6)
++FIND_LIBRARY(CURSES6_TINFO_LIBRARY NAMES tinfo PATH_SUFFIXES ncurses6)
+ 
+ SET(CURSES6_LIBRARIES ${CURSES6_NCURSESW_LIBRARY} ${CURSES6_PANELW_LIBRARY})
+ # tinfo is optional (in 12.1 is not there)
diff --git a/meta-oe/recipes-graphics/libyui/libyui-ncurses_git.bb 
b/meta-oe/recipes-graphics/libyui/libyui-ncurses_git.bb
index 4fafce166..18ea2e828 100644
--- a/meta-oe/recipes-graphics/libyui/libyui-ncurses_git.bb
+++ b/meta-oe/recipes-graphics/libyui/libyui-ncurses_git.bb
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING.lgpl-3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
 SRC_URI = "git://github.com/libyui/libyui-ncurses.git \
file://0001-Use-override-consistently.patch \

file://0002-Define-own-resize-in-NCPad-and-fix-param-type-of-Set.patch \
+   file://0003-Simplify-ncurses-finding-module.patch \
   "
 
 SRC_URI_append_class-target = " 
file://0001-Fix-the-error-of-can-t-find-header-file.patch"
-- 
2.11.0

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


[oe] [meta-oe][PATCH 1/2] libyui: make resulting cmake config relocatable

2018-10-30 Thread Pascal Bach
Signed-off-by: Pascal Bach 
---
 ...0001-Use-relative-install-paths-for-CMake.patch | 130 +
 meta-oe/recipes-graphics/libyui/libyui_git.bb  |   1 +
 2 files changed, 131 insertions(+)
 create mode 100644 
meta-oe/recipes-graphics/libyui/libyui/0001-Use-relative-install-paths-for-CMake.patch

diff --git 
a/meta-oe/recipes-graphics/libyui/libyui/0001-Use-relative-install-paths-for-CMake.patch
 
b/meta-oe/recipes-graphics/libyui/libyui/0001-Use-relative-install-paths-for-CMake.patch
new file mode 100644
index 0..11a1678a4
--- /dev/null
+++ 
b/meta-oe/recipes-graphics/libyui/libyui/0001-Use-relative-install-paths-for-CMake.patch
@@ -0,0 +1,130 @@
+From d24c2516ae25d0ee180c1020e52114ea32230585 Mon Sep 17 00:00:00 2001
+From: Pascal Bach 
+Date: Mon, 29 Oct 2018 18:03:43 +0100
+Subject: [PATCH] Use relative install paths for CMake
+
+Files are installed via a special _PREFIX variant of the INSTALL_???_DIR
+variable which is an absolute path.
+
+This not only is redundant if CMAKE_INTALL_PREFIX is set but it even causes
+the resulting Config.cmake to be non relocatable. This means it contains 
absolute
+paths to the build host. This is a problem for cross compilation in Yocto.
+
+This change gets rid of the absolute path and removes the no longer needed
+_PREFIX variants.
+
+Upstream-Status: Submitted [https://github.com/libyui/libyui/pull/140]
+Signed-off-by: Pascal Bach 
+---
+ buildtools/LibyuiCommon.cmake | 35 ++-
+ 1 file changed, 14 insertions(+), 21 deletions(-)
+
+diff --git a/buildtools/LibyuiCommon.cmake b/buildtools/LibyuiCommon.cmake
+index e6fbefd..5e2fc0d 100644
+--- a/buildtools/LibyuiCommon.cmake
 b/buildtools/LibyuiCommon.cmake
+@@ -258,13 +258,6 @@ MACRO( SET_ENVIRONMENT )  # setup the environment vars
+ 
+   SET( INSTALL_DOC_DIR "${DOC_DIR}" )
+ 
+-  FOREACH( p "DOC" LIB INCLUDE CMAKE PKGCONFIG BUILDTOOLS )
+-SET( var "INSTALL_${p}_DIR" )
+-IF( NOT IS_ABSOLUTE "${${var}}" )
+-  SET( ${var}_PREFIX "${YPREFIX}/${${var}}" )
+-ENDIF( NOT IS_ABSOLUTE "${${var}}" )
+-  ENDFOREACH()
+-
+ ENDMACRO( SET_ENVIRONMENT )
+ 
+ MACRO( SET_SONAME )
+@@ -359,7 +352,7 @@ MACRO( SET_AUTODOCS )  # looks for doxygen, 
dot and latex and setup autodocs acc
+   IF( INSTALL_DOCS OR DOCS_ONLY )
+ INSTALL(
+   FILES "${CMAKE_BINARY_DIR}/doc/latex/refman.pdf"
+-  DESTINATION "${INSTALL_DOC_DIR_PREFIX}"
++  DESTINATION "${INSTALL_DOC_DIR}"
+ )
+   ENDIF( INSTALL_DOCS OR DOCS_ONLY )
+ 
+@@ -379,7 +372,7 @@ MACRO( SET_AUTODOCS )  # looks for doxygen, 
dot and latex and setup autodocs acc
+   FOREACH( p css gif html jpg js png tag )
+ INSTALL(
+   DIRECTORY "${CMAKE_BINARY_DIR}/doc/html"
+-  DESTINATION "${INSTALL_DOC_DIR_PREFIX}"
++  DESTINATION "${INSTALL_DOC_DIR}"
+   FILES_MATCHING PATTERN "*.${p}"
+ )
+   ENDFOREACH()
+@@ -638,32 +631,32 @@ MACRO( SET_INSTALL_TARGET )
+ 
+ INSTALL(
+   EXPORT ${PROJECTNAME_UC}LibraryDepends
+-  DESTINATION "${INSTALL_CMAKE_DIR_PREFIX}"
++  DESTINATION "${INSTALL_CMAKE_DIR}"
+   COMPONENT dev
+ )
+ 
+ FOREACH( p Config.cmake ConfigVersion.cmake )
+   INSTALL(
+ FILES "${CMAKE_BINARY_DIR}/${PROJECTNAME_UC}${p}"
+-DESTINATION "${INSTALL_CMAKE_DIR_PREFIX}"
++DESTINATION "${INSTALL_CMAKE_DIR}"
+ )
+ ENDFOREACH( p Config.cmake ConfigVersion.cmake )
+ 
+ INSTALL(
+   FILES "${CMAKE_BINARY_DIR}/${PROJECTNAME}.pc"
+-  DESTINATION "${INSTALL_PKGCONFIG_DIR_PREFIX}"
++  DESTINATION "${INSTALL_PKGCONFIG_DIR}"
+ )
+ 
+ IF( NOT PLUGINNAME AND NOT EXTENSIONNAME )
+   INSTALL(
+ DIRECTORY "${BUILDTOOLS_DIR}"
+-DESTINATION "${INSTALL_BUILDTOOLS_DIR_PREFIX}"
++DESTINATION "${INSTALL_BUILDTOOLS_DIR}"
+   )
+ ENDIF( NOT PLUGINNAME AND NOT EXTENSIONNAME )
+ 
+ INSTALL(
+   FILES ${BUILDTOOLS_LIST}
+-  DESTINATION "${INSTALL_BUILDTOOLS_DIR_PREFIX}"
++  DESTINATION "${INSTALL_BUILDTOOLS_DIR}"
+ )
+ 
+ ENDMACRO( SET_INSTALL_TARGET )
+@@ -724,9 +717,9 @@ MACRO( PROCESS_SOURCES )
+   INSTALL(
+ TARGETS ${TARGETLIB}
+ EXPORT ${PROJECTNAME_UC}LibraryDepends
+-LIBRARY DESTINATION "${INSTALL_LIB_DIR_PREFIX}"
+-ARCHIVE DESTINATION "${INSTALL_LIB_DIR_PREFIX}"
+-PUBLIC_HEADER DESTINATION "${INSTALL_INCLUDE_DIR_PREFIX}"
++LIBRARY DESTINATION "${INSTALL_LIB_DIR}"
++ARCHIVE DESTINATION "${INSTALL_LIB_DIR}"
++PUBLIC_HEADER DESTINATION "${INSTALL_INCLUDE_DIR}"
+ COMPONENT dev
+   )
+ 
+@@ -746,9 +739,9 @@ MACRO( PROCESS_SOURCES )
+ INSTALL(
+   TARGETS ${TARGETLIB}_static
+   EXPORT ${PROJECTNAME_UC}LibraryDepends
+-  LIBR

[oe] [meta-oe][PATCH] libcec: update to 4.0.2

2018-10-05 Thread Pascal Bach
This also removes a warning that /usr/bin/python is not provided by any package.

Further it moves all binaires to a separate package libcec-tools

Signed-off-by: Pascal Bach 
---
 ...001-Explicitly-use-python3-in-pyCecClient.patch | 24 +++
 .../libcec/files/python-install-location.patch | 28 --
 meta-oe/recipes-extended/libcec/libcec_git.bb  | 16 +
 3 files changed, 35 insertions(+), 33 deletions(-)
 create mode 100644 
meta-oe/recipes-extended/libcec/files/0001-Explicitly-use-python3-in-pyCecClient.patch
 delete mode 100644 
meta-oe/recipes-extended/libcec/files/python-install-location.patch

diff --git 
a/meta-oe/recipes-extended/libcec/files/0001-Explicitly-use-python3-in-pyCecClient.patch
 
b/meta-oe/recipes-extended/libcec/files/0001-Explicitly-use-python3-in-pyCecClient.patch
new file mode 100644
index 0..ec1f5d0d5
--- /dev/null
+++ 
b/meta-oe/recipes-extended/libcec/files/0001-Explicitly-use-python3-in-pyCecClient.patch
@@ -0,0 +1,24 @@
+From 16e8c072709572ccefa6c7f835136db01f031323 Mon Sep 17 00:00:00 2001
+From: Pascal Bach 
+Date: Fri, 28 Sep 2018 16:56:14 +0200
+Subject: [PATCH] Explicitly use python3 in pyCecClient
+
+Upstream-Status: Submitted [https://github.com/Pulse-Eight/libcec/pull/433]
+
+---
+ src/pyCecClient/pyCecClient.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/pyCecClient/pyCecClient.py b/src/pyCecClient/pyCecClient.py
+index 6d47857..d0504ac 100755
+--- a/src/pyCecClient/pyCecClient.py
 b/src/pyCecClient/pyCecClient.py
+@@ -1,4 +1,4 @@
+-#! /usr/bin/python
++#! /usr/bin/python3
+ ## demo of the python-libcec API
+ 
+ # This file is part of the libCEC(R) library.
+-- 
+2.11.0
+
diff --git 
a/meta-oe/recipes-extended/libcec/files/python-install-location.patch 
b/meta-oe/recipes-extended/libcec/files/python-install-location.patch
deleted file mode 100644
index b6be78dd4..0
--- a/meta-oe/recipes-extended/libcec/files/python-install-location.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 330fa6777d51d41eefacff8e98e4250d210fde35 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Javi=20Mart=C3=ADnez?= 
-Date: Tue, 13 Dec 2016 22:31:13 +0100
-Subject: [PATCH] Improve/fix installation of Python bindings
-
-Upstream-Status: Backport
-
-dist-packages is a Debian-specific directory for distribution packages (and 
used in derivatives such as Ubuntu). Therefore changed to site-packages.

- src/libcec/cmake/CheckPlatformSupport.cmake | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/libcec/cmake/CheckPlatformSupport.cmake 
b/src/libcec/cmake/CheckPlatformSupport.cmake
-index fcd0ef7..7661107 100644
 a/src/libcec/cmake/CheckPlatformSupport.cmake
-+++ b/src/libcec/cmake/CheckPlatformSupport.cmake
-@@ -195,9 +195,9 @@ else()
-   RENAME  __init__.py)
- else()
-   install(TARGETS ${SWIG_MODULE_cec_REAL_NAME}
--  DESTINATION lib/python${PYTHON_VERSION}/dist-packages/cec)
-+  DESTINATION lib/python${PYTHON_VERSION}/site-packages/cec)
-   install(FILES   ${CMAKE_BINARY_DIR}/src/libcec/cec.py
--  DESTINATION lib/python${PYTHON_VERSION}/dist-packages/cec
-+  DESTINATION lib/python${PYTHON_VERSION}/site-packages/cec
-   RENAME  __init__.py)
- endif()
-   endif()
diff --git a/meta-oe/recipes-extended/libcec/libcec_git.bb 
b/meta-oe/recipes-extended/libcec/libcec_git.bb
index cb65caad8..4ad49971a 100644
--- a/meta-oe/recipes-extended/libcec/libcec_git.bb
+++ b/meta-oe/recipes-extended/libcec/libcec_git.bb
@@ -4,24 +4,30 @@ HOMEPAGE = "http://libcec.pulse-eight.com/";
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e61fd86f9c947b430126181da2c6c715"
 
-DEPENDS = "p8platform udev lockdev ncurses swig-native python3"
+DEPENDS = "p8platform udev ncurses swig-native python3"
 
 DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11 libxrandr', 
'', d)}"
 DEPENDS_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 
'', ' userland', d)}"
 
-PV = "4.0.1+gitr${SRCPV}"
+PV = "4.0.2+gitr${SRCPV}"
 
-SRCREV = "2fc92b5f02dca702da92ccc5ed7b805b240ef5df"
+SRCREV = "0a97062dd4b196ceeb003ec41841c7a7edc36dd1"
 SRC_URI = "git://github.com/Pulse-Eight/libcec.git \
-   file://python-install-location.patch"
+   file://0001-Explicitly-use-python3-in-pyCecClient.patch"
 
 S = "${WORKDIR}/git"
 
 inherit cmake pkgconfig
 
+# Put client tools into a separate package
+PACKAGE_BEFORE_PN += "${PN}-tools"
+FILES_${PN}-tools = "${bindir}"
+RDEPENDS_${PN}-tools = "python3-${BPN}"
+
 # Create the wrapper for python3
 PACKAGES += "python3-${BPN}"
-FILES_python3-${BPN} = "${libdir}/python3*"

[oe] [meta-oe][PATCH] p8platform: update to 2.1.0.1

2018-10-05 Thread Pascal Bach
This also adds a patch that makes the resulting p8-platform-config.cmake
relocatable. Before it contained a hardcoded path to /usr/include.

Signed-off-by: Pascal Bach 
---
 ...1-Make-resulting-cmake-config-relocatable.patch | 64 ++
 .../recipes-extended/p8platform/p8platform_git.bb  |  7 ++-
 2 files changed, 68 insertions(+), 3 deletions(-)
 create mode 100644 
meta-oe/recipes-extended/p8platform/files/0001-Make-resulting-cmake-config-relocatable.patch

diff --git 
a/meta-oe/recipes-extended/p8platform/files/0001-Make-resulting-cmake-config-relocatable.patch
 
b/meta-oe/recipes-extended/p8platform/files/0001-Make-resulting-cmake-config-relocatable.patch
new file mode 100644
index 0..9ff85b12a
--- /dev/null
+++ 
b/meta-oe/recipes-extended/p8platform/files/0001-Make-resulting-cmake-config-relocatable.patch
@@ -0,0 +1,64 @@
+From 2650bb3bd3644784359be373252b0436873ca8cb Mon Sep 17 00:00:00 2001
+From: Pascal Bach 
+Date: Fri, 28 Sep 2018 16:44:37 +0200
+Subject: [PATCH] Make resulting cmake config relocatable
+
+This change avoids hardcoded install prefix in the p8-platform-config.cmake.
+Especially important when doing cross compilation with Yocto for example.
+
+Upstream-Status: Submitted [https://github.com/Pulse-Eight/platform/pull/38]
+
+---
+ CMakeLists.txt  |  4 
+ p8-platform-config.cmake.in | 13 +
+ 2 files changed, 9 insertions(+), 8 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7144b0b..f2db66e 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -22,10 +22,6 @@ if(WIN32)
+src/windows/os-threads.cpp)
+ endif()
+ 
+-set(p8-platform_INCLUDE_DIRS "${CMAKE_INSTALL_PREFIX}/include/p8-platform")
+-IF(WIN32)
+-  LIST(APPEND p8-platform_INCLUDE_DIRS 
"${CMAKE_INSTALL_PREFIX}/include/p8-platform/windows")
+-ENDIF(WIN32)
+ set(p8-platform_LIBRARIES ${CMAKE_THREAD_LIBS_INIT})
+ 
+ if(NOT ${CORE_SYSTEM_NAME} STREQUAL "")
+diff --git a/p8-platform-config.cmake.in b/p8-platform-config.cmake.in
+index 47f30f1..b08e96c 100644
+--- a/p8-platform-config.cmake.in
 b/p8-platform-config.cmake.in
+@@ -9,17 +9,22 @@
+ #  p8-platform_LIBRARY_DIRS - directories in which the libraries are situated
+ #
+ # propagate these properties from one build system to the other
++get_filename_component(_p8-platform_rootdir ${CMAKE_CURRENT_LIST_DIR}/../ 
ABSOLUTE)
++
+ set (p8-platform_VERSION 
"@p8-platform_VERSION_MAJOR@.@p8-platform_VERSION_MINOR@")
+-set (p8-platform_INCLUDE_DIRS @p8-platform_INCLUDE_DIRS@ 
@CMAKE_INSTALL_PREFIX@/include)
+-set (p8-platform_LIBRARY_DIRS "@CMAKE_LIBRARY_OUTPUT_DIRECTORY@")
++set (p8-platform_INCLUDE_DIRS "${_p8-platform_rootdir}/include" 
"${_p8-platform_rootdir}/include/p8-platform")
++if(WIN32)
++  list(APPEND p8-platform_INCLUDE_DIRS 
"${_p8-platform_rootdir}/include/p8-platform/windows")
++endif(WIN32)
++set (p8-platform_LIBRARY_DIRS "${_p8-platform_rootdir}")
+ set (p8-platform_LINKER_FLAGS "@p8-platform_LINKER_FLAGS@")
+ set (p8-platform_CONFIG_VARS "@p8-platform_CONFIG_VARS@")
+ 
+ # libraries come from the build tree where this file was generated
+ if(WIN32)
+-  set (p8-platform_LIBRARY 
"@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/p8-platform.lib")
++  set (p8-platform_LIBRARY "${_p8-platform_rootdir}/p8-platform.lib")
+ else(WIN32)
+-  set (p8-platform_LIBRARY "-L@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@ 
-lp8-platform")
++  set (p8-platform_LIBRARY "-L${_p8-platform_rootdir} -lp8-platform")
+ endif(WIN32)
+ set (p8-platform_LIBRARIES ${p8-platform_LIBRARY} "@p8-platform_LIBRARIES@")
+ mark_as_advanced (p8-platform_LIBRARY)
+-- 
+2.11.0
+
diff --git a/meta-oe/recipes-extended/p8platform/p8platform_git.bb 
b/meta-oe/recipes-extended/p8platform/p8platform_git.bb
index f6347c2a4..0690d4ba3 100644
--- a/meta-oe/recipes-extended/p8platform/p8platform_git.bb
+++ b/meta-oe/recipes-extended/p8platform/p8platform_git.bb
@@ -4,10 +4,11 @@ HOMEPAGE = "http://libcec.pulse-eight.com/";
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://src/os.h;md5=752555fa94e82005d45fd201fee5bd33"
 
-PV = "2.1.0"
+PV = "2.1.0.1"
 
-SRC_URI = "git://github.com/Pulse-Eight/platform.git"
-SRCREV = "d7bceb64541cb046421cbcd4c98d91e9bf24822f"
+SRC_URI = "git://github.com/Pulse-Eight/platform.git \
+   file://0001-Make-resulting-cmake-config-relocatable.patch"
+SRCREV = "2d90f98620e25f47702c9e848380c0d93f29462b"
 
 S = "${WORKDIR}/git"
 
-- 
2.11.0

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


[oe] [meta-oe][PATCH] thrift: update to 0.11.0

2018-09-27 Thread Pascal Bach
Remove the python library feature as it was never installed so nobody should
miss it.

The CMake patches are no longer needed as most of the underlying issue
is fixed in OE core.
The other patches are backports that are already upstream in 0.11.

OpenSSL 1.1 is supported by this version of thrift.

Also add a feature to use boost smart pointers instead of C++ std ones.
This is enabled by default to keep backwards compatibility with the
0.9.3 recipe. However projects depending on thrift might still need to set
FORCE_BOOST_SMART_PTR within their build CMake project to make sure the correct
headers are selected.

Further the different libraries are now split into separate packages.

Signed-off-by: Pascal Bach 
---
 .../0001-Forcibly-disable-check-for-Qt5.patch  |  25 -
 ...-In-cmake-avoid-use-of-both-quoted-paths-.patch | 108 -
 ...31-in-test-cpp-explicitly-use-signed-char.patch |  38 
 ...07-enable-build-with-OpenSSL-1.1.0-series.patch |  41 
 ...-Compile-error-in-TSSLSocket.cpp-with-new.patch |  26 -
 ...-C++-library-build-fails-if-OpenSSL-does-.patch |  46 -
 .../thrift/{thrift_0.9.3.bb => thrift_0.11.0.bb}   |  34 +++
 7 files changed, 17 insertions(+), 301 deletions(-)
 delete mode 100644 
meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0001-Forcibly-disable-check-for-Qt5.patch
 delete mode 100644 
meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0001-THRIFT-3828-In-cmake-avoid-use-of-both-quoted-paths-.patch
 delete mode 100644 
meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0002-THRIFT-3831-in-test-cpp-explicitly-use-signed-char.patch
 delete mode 100644 
meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0004-THRIFT-3207-enable-build-with-OpenSSL-1.1.0-series.patch
 delete mode 100644 
meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0005-THRIFT-3878-Compile-error-in-TSSLSocket.cpp-with-new.patch
 delete mode 100644 
meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0006-THRIFT-3736-C++-library-build-fails-if-OpenSSL-does-.patch
 rename meta-oe/recipes-connectivity/thrift/{thrift_0.9.3.bb => 
thrift_0.11.0.bb} (57%)

diff --git 
a/meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0001-Forcibly-disable-check-for-Qt5.patch
 
b/meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0001-Forcibly-disable-check-for-Qt5.patch
deleted file mode 100644
index a77cd284b..0
--- 
a/meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0001-Forcibly-disable-check-for-Qt5.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From a5544d8e543436e413379422b702f6f56ac7eb8e Mon Sep 17 00:00:00 2001
-From: Philip Balister 
-Date: Tue, 12 Apr 2016 17:30:15 -0400
-Subject: [PATCH] Forcibly disable check for Qt5.
-
-Signed-off-by: Philip Balister 
-

- build/cmake/DefineOptions.cmake | 3 ---
- 1 file changed, 3 deletions(-)
-
-diff --git a/build/cmake/DefineOptions.cmake b/build/cmake/DefineOptions.cmake
-index 62e240f..f8b4493 100644
 a/build/cmake/DefineOptions.cmake
-+++ b/build/cmake/DefineOptions.cmake
-@@ -52,9 +52,6 @@ CMAKE_DEPENDENT_OPTION(WITH_LIBEVENT "Build with libevent 
support" ON
- find_package(Qt4 QUIET COMPONENTS QtCore QtNetwork)
- CMAKE_DEPENDENT_OPTION(WITH_QT4 "Build with Qt4 support" ON
-"QT4_FOUND" OFF)
--find_package(Qt5 QUIET COMPONENTS Core Network)
--CMAKE_DEPENDENT_OPTION(WITH_QT5 "Build with Qt5 support" ON
--   "Qt5_FOUND" OFF)
- if(${WITH_QT4} AND ${WITH_QT5} AND ${CMAKE_MAJOR_VERSION} LESS 3)
-   # cmake < 3.0.0 causes conflict when building both Qt4 and Qt5
-   set(WITH_QT4 OFF)
diff --git 
a/meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0001-THRIFT-3828-In-cmake-avoid-use-of-both-quoted-paths-.patch
 
b/meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0001-THRIFT-3828-In-cmake-avoid-use-of-both-quoted-paths-.patch
deleted file mode 100644
index 182eacc0e..0
--- 
a/meta-oe/recipes-connectivity/thrift/thrift-0.9.3/0001-THRIFT-3828-In-cmake-avoid-use-of-both-quoted-paths-.patch
+++ /dev/null
@@ -1,108 +0,0 @@
-From b8e254a2f4ba49412e541598c72159869a7770f8 Mon Sep 17 00:00:00 2001
-From: Cody P Schafer 
-Date: Mon, 16 May 2016 15:21:10 -0400
-Subject: [PATCH] THRIFT-3828 In cmake avoid use of both quoted paths and
- SYSTEM with include_directories()
-
-This allows us to avoid issues where there are no paths to be added to
-the include path (include_directories() errors when given an empty
-string).
-
-Specifically, gcc-6 requires that libraries stop passing paths like
-'/usr/include' (or they will get libstdc++ build errors), so these paths
-will be empty more often in the future.
-

- lib/cpp/CMakeLists.txt  | 8 
- lib/cpp/test/CMakeLists.txt | 2 +-
- test/cpp/CMakeLists.txt | 6 +++---
- tutorial/cpp/CMakeLists.txt | 2 +-
- 4 files changed, 9 insertions(+), 9 deletions(-)
-
-diff --git a/lib/cpp/CMakeLists.txt b/lib/cpp/CMakeLists.txt
-index 4c7caeb..a716ac3 100755
 a/lib/cpp/CMakeLists.txt
-++

[oe] [meta-oe][PATCH] python-pyzmq, python3-pyzmq: update to 17.1.0

2018-07-19 Thread Pascal Bach
Also the package is licensed under both BSD and LGPL-3.0.
This the license checksum was updated to reflect this.

Signed-off-by: Pascal Bach 
---
 .../{python-pyzmq_14.7.0.bb => python-pyzmq.inc}   | 17 +++-
 .../python/python-pyzmq/club-rpath-out.patch   | 31 +++---
 .../recipes-devtools/python/python-pyzmq_17.1.0.bb |  2 ++
 .../python/python3-pyzmq_17.1.0.bb |  2 ++
 4 files changed, 23 insertions(+), 29 deletions(-)
 rename meta-python/recipes-devtools/python/{python-pyzmq_14.7.0.bb => 
python-pyzmq.inc} (58%)
 create mode 100644 meta-python/recipes-devtools/python/python-pyzmq_17.1.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb

diff --git a/meta-python/recipes-devtools/python/python-pyzmq_14.7.0.bb 
b/meta-python/recipes-devtools/python/python-pyzmq.inc
similarity index 58%
rename from meta-python/recipes-devtools/python/python-pyzmq_14.7.0.bb
rename to meta-python/recipes-devtools/python/python-pyzmq.inc
index b5baf82df..2447c2f34 100644
--- a/meta-python/recipes-devtools/python/python-pyzmq_14.7.0.bb
+++ b/meta-python/recipes-devtools/python/python-pyzmq.inc
@@ -1,16 +1,19 @@
 SUMMARY = "Pyzmq provides Zero message queue access for the Python language"
 HOMEPAGE = "http://zeromq.org/bindings:python";
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e"
+LICENSE = "BSD & LGPL-3.0"
+LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \
+file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e"
 DEPENDS = "zeromq"
 
-SRC_URI = "file://club-rpath-out.patch"
-SRC_URI[md5sum] = "87e3abb33af5794db5ae85c667bbf324"
-SRC_URI[sha256sum] = 
"77994f80360488e7153e64e5959dc5471531d1648e3a4bff14a714d074a38cc2"
+FILESEXTRAPATHS_prepend := "${THISDIR}/python-pyzmq:"
 
-inherit pypi setuptools pkgconfig
+SRC_URI += "file://club-rpath-out.patch"
+SRC_URI[md5sum] = "aecdfc328193fbd81f6dc23228319943"
+SRC_URI[sha256sum] = 
"2199f753a230e26aec5238b0518b036780708a4c887d4944519681a920b9dee4"
 
-RDEPENDS_${PN} += "python-multiprocessing"
+inherit pypi pkgconfig
+
+RDEPENDS_${PN} += "${PYTHON_PN}-multiprocessing"
 
 FILES_${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/zmq/backend/cython/.debug"
 
diff --git 
a/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch 
b/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch
index 2dc3b73f9..936f16585 100644
--- a/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch
+++ b/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch
@@ -1,26 +1,13 @@
 diff --git a/setup.py b/setup.py
-index 62df445..1fdbdeb 100755
+index d243eaa..98099bc 100755
 --- a/setup.py
 +++ b/setup.py
-@@ -213,12 +213,6 @@ def settings_from_prefix(prefix=None, 
bundle_libzmq_dylib=False):
- pass
- # unused rpath args for OS X:
- # settings['extra_link_args'] = 
['-Wl,-rpath','-Wl,$ORIGIN/..']
--else:
--settings['runtime_library_dirs'] += ['$ORIGIN/..']
--elif sys.platform != 'darwin':
--settings['runtime_library_dirs'] += [
--os.path.abspath(x) for x in settings['library_dirs']
--]
- 
- return settings
+@@ -192,8 +192,6 @@ def _add_rpath(settings, path):
+ """
+ if sys.platform == 'darwin':
+ settings['extra_link_args'].extend(['-Wl,-rpath','-Wl,%s' % path])
+-else:
+-settings['runtime_library_dirs'].append(path)
  
-@@ -592,8 +586,6 @@ class Configure(build_ext):
- pass
- # unused rpath args for OS X:
- # settings['extra_link_args'] = 
['-Wl,-rpath','-Wl,$ORIGIN/../zmq']
--else:
--settings['runtime_library_dirs'] = [ 
os.path.abspath(pjoin('.', 'zmq')) ]
- 
- line()
- info("Configure: Autodetecting ZMQ settings...")
+ def settings_from_prefix(prefix=None, bundle_libzmq_dylib=False):
+ """load appropriate library/include settings from ZMQ prefix"""
diff --git a/meta-python/recipes-devtools/python/python-pyzmq_17.1.0.bb 
b/meta-python/recipes-devtools/python/python-pyzmq_17.1.0.bb
new file mode 100644
index 0..b690106bb
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyzmq_17.1.0.bb
@@ -0,0 +1,2 @@
+require python-pyzmq.inc
+inherit setuptools
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb 
b/meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb
new file mode 100644
index 0..050f53af1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb
@@ -0,0 +1,2 @@
+require python-pyzmq.inc
+inherit setuptools3
-- 
2.11.0

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


[oe] [meta-oe][PATCH] cppzmq: use cmake to install the package

2018-07-19 Thread Pascal Bach
This way also the required cmake configs are installed so other
packages can find it.

It seems also cleaner to use the upstream mechanism than to have our own
install script.

Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb 
b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
index 4920bce8c..9aff59c6c 100644
--- a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
+++ b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
@@ -11,10 +11,7 @@ SRC_URI = "git://github.com/zeromq/cppzmq.git"
 
 S = "${WORKDIR}/git"
 
-do_install () {
-install -d ${D}/usr/include
-install -m 0755 ${S}/zmq.hpp ${D}/usr/include/
-}
+inherit cmake
 
 PACKAGES = "${PN}-dev"
 
-- 
2.11.0

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


[oe] [meta-oe][PATCH] nodejs: update to 8.11.3

2018-07-02 Thread Pascal Bach
Fixes the following CVEs:
- CVE-2018-7167
- CVE-2018-7161
- CVE-2018-1000168

Signed-off-by: Pascal Bach 
---
 .../recipes-devtools/nodejs/{nodejs_8.11.2.bb => nodejs_8.11.3.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-devtools/nodejs/{nodejs_8.11.2.bb => nodejs_8.11.3.bb} 
(96%)

diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_8.11.2.bb 
b/meta-oe/recipes-devtools/nodejs/nodejs_8.11.3.bb
similarity index 96%
rename from meta-oe/recipes-devtools/nodejs/nodejs_8.11.2.bb
rename to meta-oe/recipes-devtools/nodejs/nodejs_8.11.3.bb
index 4e81b0392..4017d9284 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_8.11.2.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_8.11.3.bb
@@ -12,8 +12,8 @@ COMPATIBLE_MACHINE_mips64 = "(!.*mips64).*"
 SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \
file://0001-Disable-running-gyp-files-for-bundled-deps.patch \
 "
-SRC_URI[md5sum] = "56be405b63b8c6c8ecd98c002fb15e4a"
-SRC_URI[sha256sum] = 
"539946c0381809576bed07424a35fc1740d52f4bd56305d6278d9e76c88f4979"
+SRC_URI[md5sum] = "6cb0e19089ad13a4ec02640b604d2e0f"
+SRC_URI[sha256sum] = 
"577c751fdca91c46c60ffd8352e5b465881373bfdde212c17c3a3c1bd2616ee0"
 
 S = "${WORKDIR}/node-v${PV}"
 
-- 
2.11.0

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


[oe] [meta-oe][PATCH] nodejs: 8.9.4 -> 8.11.2

2018-06-06 Thread Pascal Bach
From: Pascal Bach 

Node.js > 8.10 also compile with OpenSSL 1.1

License check sum changes because typo fix in LICENSE file.
No license change.

Signed-off-by: Pascal Bach 
---
 .../recipes-devtools/nodejs/{nodejs_8.9.4.bb => nodejs_8.11.2.bb} | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-devtools/nodejs/{nodejs_8.9.4.bb => nodejs_8.11.2.bb} 
(93%)

diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_8.9.4.bb 
b/meta-oe/recipes-devtools/nodejs/nodejs_8.11.2.bb
similarity index 93%
rename from meta-oe/recipes-devtools/nodejs/nodejs_8.9.4.bb
rename to meta-oe/recipes-devtools/nodejs/nodejs_8.11.2.bb
index 8930cd902..4e81b0392 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_8.9.4.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_8.11.2.bb
@@ -1,9 +1,9 @@
 DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript"
 HOMEPAGE = "http://nodejs.org";
 LICENSE = "MIT & BSD & Artistic-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=270f7477a1705f7cd3e29d3d4512915d"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fde91d5c5bbd1e0389623e1ac018d9e8"
 
-DEPENDS = "openssl10 zlib"
+DEPENDS = "openssl zlib"
 
 COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*"
 COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*"
@@ -12,8 +12,8 @@ COMPATIBLE_MACHINE_mips64 = "(!.*mips64).*"
 SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \
file://0001-Disable-running-gyp-files-for-bundled-deps.patch \
 "
-SRC_URI[md5sum] = "631ed102fe58c13cf63bc92a68cf4759"
-SRC_URI[sha256sum] = 
"6cdcde9c9c1ca9f450a0b24eafa229ca759e576daa0fae892ce74d541ecdc86f"
+SRC_URI[md5sum] = "56be405b63b8c6c8ecd98c002fb15e4a"
+SRC_URI[sha256sum] = 
"539946c0381809576bed07424a35fc1740d52f4bd56305d6278d9e76c88f4979"
 
 S = "${WORKDIR}/node-v${PV}"
 
-- 
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] rocksdb: update to 5.13.1

2018-05-22 Thread Pascal Bach
The GCC 8 patch is still needed as the changes are not yet included in 5.13.x

Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb 
b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
index 9a2f9dd1c..fb3758af3 100644
--- a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
+++ b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
@@ -6,9 +6,9 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.Apache;md5=3b83ef96387f14655fc854ddc3c6bd57 \
 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 
file://LICENSE.leveldb;md5=fb04ff57a14f308f2eed4a9b87d45837"
 
-SRCREV = "8969445642039566214d650cc6614849e7dd5e17"
-SRCBRANCH = "5.12.fb"
-PV = "5.12.2"
+SRCREV = "c60df9d9e7629fe208a9b848293a5599f83d5e77"
+SRCBRANCH = "5.13.fb"
+PV = "5.13.1"
 
 SRC_URI = "git://github.com/facebook/${BPN}.git;branch=${SRCBRANCH} \
file://0001-Fix-GitHub-issue-3716-gcc-8-warnings.patch \
-- 
2.11.0

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


[oe] [meta-oe][PATCH] rocksdb: update to 5.13.1

2018-05-18 Thread Pascal Bach
Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb 
b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
index 1e6cbae38..727488d1e 100644
--- a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
+++ b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
@@ -6,9 +6,9 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.Apache;md5=3b83ef96387f14655fc854ddc3c6bd57 \
 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 
file://LICENSE.leveldb;md5=fb04ff57a14f308f2eed4a9b87d45837"
 
-SRCREV = "8969445642039566214d650cc6614849e7dd5e17"
-SRCBRANCH = "5.12.fb"
-PV = "5.12.2"
+SRCREV = "c60df9d9e7629fe208a9b848293a5599f83d5e77"
+SRCBRANCH = "5.13.fb"
+PV = "5.13.1"
 
 SRC_URI = "git://github.com/facebook/${BPN}.git;branch=${SRCBRANCH}"
 
-- 
2.11.0

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


[oe] [meta-oe][PATCH v3] poco: update to 1.9.0

2018-05-16 Thread Pascal Bach
Enable the new Encodings and Redis packages by default.

Splitting into sub packages now uses PACKAGES_DYNAMIC instead of the
custom logic used before.

Signed-off-by: Pascal Bach 
---
 .../poco/{poco_1.8.0.1.bb => poco_1.9.0.bb}| 42 +-
 1 file changed, 17 insertions(+), 25 deletions(-)
 rename meta-oe/recipes-support/poco/{poco_1.8.0.1.bb => poco_1.9.0.bb} (79%)

diff --git a/meta-oe/recipes-support/poco/poco_1.8.0.1.bb 
b/meta-oe/recipes-support/poco/poco_1.9.0.bb
similarity index 79%
rename from meta-oe/recipes-support/poco/poco_1.8.0.1.bb
rename to meta-oe/recipes-support/poco/poco_1.9.0.bb
index 160b4d391..1016caef7 100644
--- a/meta-oe/recipes-support/poco/poco_1.8.0.1.bb
+++ b/meta-oe/recipes-support/poco/poco_1.9.0.bb
@@ -12,7 +12,7 @@ inherit cmake ptest
 
 BBCLASSEXTEND = "native"
 
-SRCREV = "af527ab21fca5ab2659285408aec9920ed7c7b17"
+SRCREV = "94966785a8f9ad0191dffd075ebd67826e6e4b6d"
 SRC_URI = " \
 git://github.com/pocoproject/poco.git \
 file://run-ptest \
@@ -33,7 +33,7 @@ EXTRA_OECMAKE_append = " -DCMAKE_SKIP_RPATH=ON"
 # By default the most commonly used poco components are built
 # Foundation is built anyway and doesn't need to be listed explicitly
 # these don't have dependencies outside oe-core
-PACKAGECONFIG ??= "XML JSON MongoDB PDF Util Net NetSSL Crypto Data DataSQLite 
Zip"
+PACKAGECONFIG ??= "XML JSON MongoDB PDF Util Net NetSSL Crypto Data DataSQLite 
Zip Encodings Redis"
 
 PACKAGECONFIG[XML] = "-DENABLE_XML=ON 
-DEXPAT_LIBRARY:STRING=expat,-DENABLE_XML=OFF,expat"
 PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF"
@@ -46,6 +46,8 @@ PACKAGECONFIG[Crypto] = "-DENABLE_CRYPTO=ON 
-DOPENSSL_SSL_LIBRARY:STRING=ssl -DO
 PACKAGECONFIG[Data] = "-DENABLE_DATA=ON,-DENABLE_DATA=OFF"
 PACKAGECONFIG[DataSQLite] = "-DENABLE_DATA_SQLITE=ON 
-DSQLITE3_LIBRARY:STRING=sqlite3,-DENABLE_DATA_SQLITE=OFF,sqlite3"
 PACKAGECONFIG[Zip] = "-DENABLE_ZIP=ON,-DENABLE_ZIP=OFF"
+PACKAGECONFIG[Encodings] = "-DENABLE_ENCODINGS=ON,-DENABLE_ENCODINGS=OFF"
+PACKAGECONFIG[Redis] = "-DENABLE_REDIS=ON,-DENABLE_REDIS=OFF"
 
 # Additional components not build by default,
 # they might have dependencies not included in oe-core
@@ -58,40 +60,30 @@ PACKAGECONFIG[PageCompiler] = 
"-DENABLE_PAGECOMPILER=ON,-DENABLE_PAGECOMPILER=OF
 PACKAGECONFIG[PageCompilerFile2Page] = 
"-DENABLE_PAGECOMPILER_FILE2PAGE=ON,-DENABLE_PAGECOMPILER_FILE2PAGE=OFF"
 PACKAGECONFIG[SevenZip] = "-DENABLE_SEVENZIP=ON,-DENABLE_SEVENZIP=OFF"
 
-# Make a package for each library
-PACKAGES = "${PN}-dbg ${POCO_PACKAGES}"
-python __anonymous () {
+python populate_packages_prepend () {
+poco_libdir = d.expand('${libdir}')
+pn = d.getVar("PN")
 packages = []
 testrunners = []
-components = d.getVar("PACKAGECONFIG").split()
-components.append("Foundation")
-for lib in components:
-pkg = ("poco-%s" % lib.lower()).replace("_","")
+
+def hook(f, pkg, file_regex, output_pattern, modulename):
 packages.append(pkg)
-if not d.getVar("FILES_%s" % pkg):
-d.setVar("FILES_%s" % pkg, "${libdir}/libPoco%s.so.*" % lib)
-testrunners.append("%s" % lib)
+testrunners.append(modulename)
+
+do_split_packages(d, poco_libdir, '^libPoco(.*)\.so\..*$',
+'poco-%s', 'Poco %s component', extra_depends='', 
prepend=True, hook=hook)
 
-d.setVar("POCO_PACKAGES", " ".join(packages))
+d.setVar("RRECOMMENDS_%s" % pn, " ".join(packages))
 d.setVar("POCO_TESTRUNNERS", "\n".join(testrunners))
 }
 
+PACKAGES_DYNAMIC = "poco-.*"
+
 # "poco" is a metapackage which pulls in all Poco components
-PACKAGES += "${PN}"
-RRECOMMENDS_${PN} += "${POCO_PACKAGES}"
-RRECOMMENDS_${PN}_class-native = ""
 ALLOW_EMPTY_${PN} = "1"
 
-# -dev last to pick up the remaining stuff
-PACKAGES += "${PN}-dev ${PN}-staticdev"
-FILES_${PN}-dev = "${includedir} ${libdir}/libPoco*.so ${libdir}/cmake"
-FILES_${PN}-staticdev = "${libdir}/libPoco*.a"
-
-# ptest support
-FILES_${PN}-dbg += "${PTEST_PATH}/bin/.debug"
-
 # cppunit is only built if tests are enabled
-PACKAGES += "${PN}-cppunit"
+PACKAGES =+ "${PN}-cppunit"
 FILES_${PN}-cppunit += "${libdir}/libCppUnit.so*"
 ALLOW_EMPTY_${PN}-cppunit = "1"
 
-- 
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] poco: update to 1.9.0

2018-05-16 Thread Pascal Bach
Enable the new Encodings and Redis packages by default.

Splitting into sub packages now uses PACKAGES_DYNAMIC instead of the
custom logic used before.

Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-support/poco/poco_1.8.0.1.bb | 106 ---
 meta-oe/recipes-support/poco/poco_1.9.0.bb   |  36 -
 2 files changed, 13 insertions(+), 129 deletions(-)
 delete mode 100644 meta-oe/recipes-support/poco/poco_1.8.0.1.bb

diff --git a/meta-oe/recipes-support/poco/poco_1.8.0.1.bb 
b/meta-oe/recipes-support/poco/poco_1.8.0.1.bb
deleted file mode 100644
index 160b4d391..0
--- a/meta-oe/recipes-support/poco/poco_1.8.0.1.bb
+++ /dev/null
@@ -1,106 +0,0 @@
-SUMMARY = "Modern, powerful open source cross-platform C++ class libraries"
-DESCRIPTION = "Modern, powerful open source C++ class libraries and frameworks 
for building network- and internet-based applications that run on desktop, 
server, mobile and embedded systems."
-SECTION = "libs"
-HOMEPAGE = "http://pocoproject.org/";
-LICENSE = "BSL-1.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=4267f48fc738f50380cbeeb76f95cebc"
-
-# These dependencies are required by Foundation
-DEPENDS = "libpcre zlib"
-
-inherit cmake ptest
-
-BBCLASSEXTEND = "native"
-
-SRCREV = "af527ab21fca5ab2659285408aec9920ed7c7b17"
-SRC_URI = " \
-git://github.com/pocoproject/poco.git \
-file://run-ptest \
-   "
-
-S = "${WORKDIR}/git"
-
-EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=RelWithDebInfo -DPOCO_UNBUNDLED=ON \
-  -DZLIB_LIBRARY_RELEASE:STRING=z -DPCRE_LIBRARY:STRING=pcre \
- ${@bb.utils.contains('PTEST_ENABLED', '1', '-DENABLE_TESTS=ON 
', '', d)}"
-
-# For the native build we want to use the bundled version
-EXTRA_OECMAKE_append_class-native = " -DPOCO_UNBUNDLED=OFF"
-
-# do not use rpath
-EXTRA_OECMAKE_append = " -DCMAKE_SKIP_RPATH=ON"
-
-# By default the most commonly used poco components are built
-# Foundation is built anyway and doesn't need to be listed explicitly
-# these don't have dependencies outside oe-core
-PACKAGECONFIG ??= "XML JSON MongoDB PDF Util Net NetSSL Crypto Data DataSQLite 
Zip"
-
-PACKAGECONFIG[XML] = "-DENABLE_XML=ON 
-DEXPAT_LIBRARY:STRING=expat,-DENABLE_XML=OFF,expat"
-PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF"
-PACKAGECONFIG[MongoDB] = "-DENABLE_MONGODB=ON,-DENABLE_MONGODB=OFF"
-PACKAGECONFIG[PDF] = "-DENABLE_PDF=ON,-DENABLE_PDF=OFF,zlib"
-PACKAGECONFIG[Util] = "-DENABLE_UTIL=ON,-DENABLE_UTIL=OFF"
-PACKAGECONFIG[Net] = "-DENABLE_NET=ON,-DENABLE_NET=OFF"
-PACKAGECONFIG[NetSSL] = "-DENABLE_NETSSL=ON -DOPENSSL_SSL_LIBRARY:STRING=ssl 
-DOPENSSL_CRYPTO_LIBRARY:STRING=crypto,-DENABLE_NETSSL=OFF,openssl"
-PACKAGECONFIG[Crypto] = "-DENABLE_CRYPTO=ON -DOPENSSL_SSL_LIBRARY:STRING=ssl 
-DOPENSSL_CRYPTO_LIBRARY:STRING=crypto,-DENABLE_CRYPTO=OFF,openssl"
-PACKAGECONFIG[Data] = "-DENABLE_DATA=ON,-DENABLE_DATA=OFF"
-PACKAGECONFIG[DataSQLite] = "-DENABLE_DATA_SQLITE=ON 
-DSQLITE3_LIBRARY:STRING=sqlite3,-DENABLE_DATA_SQLITE=OFF,sqlite3"
-PACKAGECONFIG[Zip] = "-DENABLE_ZIP=ON,-DENABLE_ZIP=OFF"
-
-# Additional components not build by default,
-# they might have dependencies not included in oe-core
-# or they don't work on all architectures
-PACKAGECONFIG[mod_poco] = 
"-DENABLE_APACHECONNECTOR=ON,-DENABLE_APACHECONNECTOR=OFF,apr apache2"
-PACKAGECONFIG[CppParser] = "-DENABLE_CPPPARSER=ON,-DENABLE_CPPPARSER=OFF"
-PACKAGECONFIG[DataMySQL] = "-DENABLE_DATA_MYSQL=ON 
-DMYSQL_LIB:STRING=mysqlclient_r,-DENABLE_DATA_MYSQL=OFF,mariadb"
-PACKAGECONFIG[DataODBC] = 
"-DENABLE_DATA_ODBC=ON,-DENABLE_DATA_ODBC=OFF,libiodbc"
-PACKAGECONFIG[PageCompiler] = 
"-DENABLE_PAGECOMPILER=ON,-DENABLE_PAGECOMPILER=OFF"
-PACKAGECONFIG[PageCompilerFile2Page] = 
"-DENABLE_PAGECOMPILER_FILE2PAGE=ON,-DENABLE_PAGECOMPILER_FILE2PAGE=OFF"
-PACKAGECONFIG[SevenZip] = "-DENABLE_SEVENZIP=ON,-DENABLE_SEVENZIP=OFF"
-
-# Make a package for each library
-PACKAGES = "${PN}-dbg ${POCO_PACKAGES}"
-python __anonymous () {
-packages = []
-testrunners = []
-components = d.getVar("PACKAGECONFIG").split()
-components.append("Foundation")
-for lib in components:
-pkg = ("poco-%s" % lib.lower()).replace("_","")
-packages.append(pkg)
-if not d.getVar("FILES_%s" % pkg):
-d.setVar("FILES_%s" % pkg, "${libdir}/libPoco%s.so.*" % lib)
-testrunners.append("%s" % lib)
-
-d.setVar("POCO_PACKAGES", " ".join(packages))
-d.setVar("POCO_TESTRUNNERS", "\n".join(testrunners

[oe] [meta-oe][PATCH] poco: update to 1.9.0

2018-05-14 Thread Pascal Bach
Enable the new Encodings and Redis packages by default

Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-support/poco/poco_1.9.0.bb | 108 +
 1 file changed, 108 insertions(+)
 create mode 100644 meta-oe/recipes-support/poco/poco_1.9.0.bb

diff --git a/meta-oe/recipes-support/poco/poco_1.9.0.bb 
b/meta-oe/recipes-support/poco/poco_1.9.0.bb
new file mode 100644
index 0..1a804b1ae
--- /dev/null
+++ b/meta-oe/recipes-support/poco/poco_1.9.0.bb
@@ -0,0 +1,108 @@
+SUMMARY = "Modern, powerful open source cross-platform C++ class libraries"
+DESCRIPTION = "Modern, powerful open source C++ class libraries and frameworks 
for building network- and internet-based applications that run on desktop, 
server, mobile and embedded systems."
+SECTION = "libs"
+HOMEPAGE = "http://pocoproject.org/";
+LICENSE = "BSL-1.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4267f48fc738f50380cbeeb76f95cebc"
+
+# These dependencies are required by Foundation
+DEPENDS = "libpcre zlib"
+
+inherit cmake ptest
+
+BBCLASSEXTEND = "native"
+
+SRCREV = "94966785a8f9ad0191dffd075ebd67826e6e4b6d"
+SRC_URI = " \
+git://github.com/pocoproject/poco.git \
+file://run-ptest \
+   "
+
+S = "${WORKDIR}/git"
+
+EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=RelWithDebInfo -DPOCO_UNBUNDLED=ON \
+  -DZLIB_LIBRARY_RELEASE:STRING=z -DPCRE_LIBRARY:STRING=pcre \
+ ${@bb.utils.contains('PTEST_ENABLED', '1', '-DENABLE_TESTS=ON 
', '', d)}"
+
+# For the native build we want to use the bundled version
+EXTRA_OECMAKE_append_class-native = " -DPOCO_UNBUNDLED=OFF"
+
+# do not use rpath
+EXTRA_OECMAKE_append = " -DCMAKE_SKIP_RPATH=ON"
+
+# By default the most commonly used poco components are built
+# Foundation is built anyway and doesn't need to be listed explicitly
+# these don't have dependencies outside oe-core
+PACKAGECONFIG ??= "XML JSON MongoDB PDF Util Net NetSSL Crypto Data DataSQLite 
Zip Encodings Redis"
+
+PACKAGECONFIG[XML] = "-DENABLE_XML=ON 
-DEXPAT_LIBRARY:STRING=expat,-DENABLE_XML=OFF,expat"
+PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF"
+PACKAGECONFIG[MongoDB] = "-DENABLE_MONGODB=ON,-DENABLE_MONGODB=OFF"
+PACKAGECONFIG[PDF] = "-DENABLE_PDF=ON,-DENABLE_PDF=OFF,zlib"
+PACKAGECONFIG[Util] = "-DENABLE_UTIL=ON,-DENABLE_UTIL=OFF"
+PACKAGECONFIG[Net] = "-DENABLE_NET=ON,-DENABLE_NET=OFF"
+PACKAGECONFIG[NetSSL] = "-DENABLE_NETSSL=ON -DOPENSSL_SSL_LIBRARY:STRING=ssl 
-DOPENSSL_CRYPTO_LIBRARY:STRING=crypto,-DENABLE_NETSSL=OFF,openssl"
+PACKAGECONFIG[Crypto] = "-DENABLE_CRYPTO=ON -DOPENSSL_SSL_LIBRARY:STRING=ssl 
-DOPENSSL_CRYPTO_LIBRARY:STRING=crypto,-DENABLE_CRYPTO=OFF,openssl"
+PACKAGECONFIG[Data] = "-DENABLE_DATA=ON,-DENABLE_DATA=OFF"
+PACKAGECONFIG[DataSQLite] = "-DENABLE_DATA_SQLITE=ON 
-DSQLITE3_LIBRARY:STRING=sqlite3,-DENABLE_DATA_SQLITE=OFF,sqlite3"
+PACKAGECONFIG[Zip] = "-DENABLE_ZIP=ON,-DENABLE_ZIP=OFF"
+PACKAGECONFIG[Encodings] = "-DENABLE_ENCODINGS=ON,-DENABLE_ENCODINGS=OFF"
+PACKAGECONFIG[Redis] = "-DENABLE_REDIS=ON,-DENABLE_REDIS=OFF"
+
+# Additional components not build by default,
+# they might have dependencies not included in oe-core
+# or they don't work on all architectures
+PACKAGECONFIG[mod_poco] = 
"-DENABLE_APACHECONNECTOR=ON,-DENABLE_APACHECONNECTOR=OFF,apr apache2"
+PACKAGECONFIG[CppParser] = "-DENABLE_CPPPARSER=ON,-DENABLE_CPPPARSER=OFF"
+PACKAGECONFIG[DataMySQL] = "-DENABLE_DATA_MYSQL=ON 
-DMYSQL_LIB:STRING=mysqlclient_r,-DENABLE_DATA_MYSQL=OFF,mariadb"
+PACKAGECONFIG[DataODBC] = 
"-DENABLE_DATA_ODBC=ON,-DENABLE_DATA_ODBC=OFF,libiodbc"
+PACKAGECONFIG[PageCompiler] = 
"-DENABLE_PAGECOMPILER=ON,-DENABLE_PAGECOMPILER=OFF"
+PACKAGECONFIG[PageCompilerFile2Page] = 
"-DENABLE_PAGECOMPILER_FILE2PAGE=ON,-DENABLE_PAGECOMPILER_FILE2PAGE=OFF"
+PACKAGECONFIG[SevenZip] = "-DENABLE_SEVENZIP=ON,-DENABLE_SEVENZIP=OFF"
+
+# Make a package for each library
+PACKAGES = "${PN}-dbg ${POCO_PACKAGES}"
+python __anonymous () {
+packages = []
+testrunners = []
+components = d.getVar("PACKAGECONFIG").split()
+components.append("Foundation")
+for lib in components:
+pkg = ("poco-%s" % lib.lower()).replace("_","")
+packages.append(pkg)
+if not d.getVar("FILES_%s" % pkg):
+d.setVar("FILES_%s" % pkg, "${libdir}/libPoco%s.so.*" % lib)
+testrunners.append("%s" % lib)
+
+d.setVar("POCO_PACKAGES", " ".join(packages))
+d.setVar("POCO_TESTRUNNERS", "\n".join(testrunners))
+}
+
+# "poc

[oe] [meta-openwrt] systemd units for OpenWRT components

2018-04-17 Thread Pascal Bach
Dear meta-openwrt maintainers

I'm currently trying to use several OpenWRT components as standalone services.
During this process I added some Systemd units for them.

Is this something that would be accepted in the meta-openwrt layer?
If not I would have to put this into a separate layer which seems to increase 
the maintenance effort.

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


[oe] [meta-oe][PATCH] rocksdb: update to 5.12.2

2018-04-12 Thread Pascal Bach
Also remove the +gitSRCPV suffix from the version.
This is an official release and the version should be enough,
it adds only clutter.

Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb 
b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
index 9b19c1a5f..1e6cbae38 100644
--- a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
+++ b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
@@ -6,10 +6,11 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.Apache;md5=3b83ef96387f14655fc854ddc3c6bd57 \
 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 
file://LICENSE.leveldb;md5=fb04ff57a14f308f2eed4a9b87d45837"
 
-SRCREV = "266ac245affd69555643b735d19d3715c4eff91a"
-PV = "5.8+git${SRCPV}"
+SRCREV = "8969445642039566214d650cc6614849e7dd5e17"
+SRCBRANCH = "5.12.fb"
+PV = "5.12.2"
 
-SRC_URI = "git://github.com/facebook/${BPN}.git"
+SRC_URI = "git://github.com/facebook/${BPN}.git;branch=${SRCBRANCH}"
 
 S = "${WORKDIR}/git"
 
-- 
2.11.0

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


[oe] [meta-oe][PATCH] flatbuffers: update to 1.9.0

2018-04-12 Thread Pascal Bach
Signed-off-by: Pascal Bach 
---
 .../flatbuffers/{flatbuffers_1.7.1.bb => flatbuffers_1.9.0.bb}| 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename meta-oe/recipes-devtools/flatbuffers/{flatbuffers_1.7.1.bb => 
flatbuffers_1.9.0.bb} (100%)

diff --git a/meta-oe/recipes-devtools/flatbuffers/flatbuffers_1.7.1.bb 
b/meta-oe/recipes-devtools/flatbuffers/flatbuffers_1.9.0.bb
similarity index 100%
rename from meta-oe/recipes-devtools/flatbuffers/flatbuffers_1.7.1.bb
rename to meta-oe/recipes-devtools/flatbuffers/flatbuffers_1.9.0.bb
-- 
2.11.0

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


[oe] [meta-networking][PATCH] miniupnpd: update to 2.0.20180203 and add systemd service

2018-02-06 Thread Pascal Bach
license checksum changed due to increase in copyright year

Signed-off-by: Pascal Bach 
---
 .../miniupnpd/files/miniupnpd.service| 14 ++
 .../{miniupnpd_2.0.bb => miniupnpd_2.0.20180203.bb}  | 16 +++-
 2 files changed, 25 insertions(+), 5 deletions(-)
 create mode 100644 
meta-networking/recipes-connectivity/miniupnpd/files/miniupnpd.service
 rename meta-networking/recipes-connectivity/miniupnpd/{miniupnpd_2.0.bb => 
miniupnpd_2.0.20180203.bb} (72%)

diff --git 
a/meta-networking/recipes-connectivity/miniupnpd/files/miniupnpd.service 
b/meta-networking/recipes-connectivity/miniupnpd/files/miniupnpd.service
new file mode 100644
index 0..e7bfad0a9
--- /dev/null
+++ b/meta-networking/recipes-connectivity/miniupnpd/files/miniupnpd.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Lightweight UPnP IGD daemon
+Documentation=man:miniupnpd(8)
+After=network.target
+
+[Service]
+Type=forking
+ExecStartPre=/etc/miniupnpd/iptables_init.sh
+ExecStart=/usr/sbin/miniupnpd -f /etc/miniupnpd/miniupnpd.conf
+ExecStopPost=/etc/miniupnpd/iptables_removeall.sh
+PIDFile=/run/miniupnpd.pid
+
+[Install]
+WantedBy=network.target
diff --git a/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.0.bb 
b/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.0.20180203.bb
similarity index 72%
rename from meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.0.bb
rename to 
meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.0.20180203.bb
index c6f36e137..04b5cd589 100644
--- a/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.0.bb
+++ b/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.0.20180203.bb
@@ -5,16 +5,17 @@ the network."
 
 SECTION = "networking"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=aa71c78c373ccfe0ff207af0cd966d91"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=91ac00c6b9f5c106e89291e196fe0234"
 
-inherit autotools gettext pkgconfig
+inherit autotools gettext pkgconfig systemd
 
 DEPENDS += "iptables net-tools util-linux libmnl libnetfilter-conntrack"
 
 SRC_URI = 
"http://miniupnp.tuxfamily.org/files/download.php?file=${P}.tar.gz;downloadfilename=${P}.tar.gz
 \
-"
-SRC_URI[md5sum] = "1c07a215dd9b362e75a9efc05e2fb3b4"
-SRC_URI[sha256sum] = 
"d96aa3a00e0f5490826bba3cb97e68cd27479e5839adac4b9bcb66eae786bfb7"
+   file://miniupnpd.service"
+
+SRC_URI[md5sum] = "b4c7c938915edeee6ca4c65dd021f212"
+SRC_URI[sha256sum] = 
"860c15f2f8340fd69546b01cffe4c7fcff3e63a7bdfe5a2af6b2346f0e074bb6"
 
 IPV6 = "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', '--ipv6', '', d)}"
 
@@ -34,4 +35,9 @@ do_install() {
 install -m 0644 -b ${S}/miniupnpd.conf ${D}/${sysconfdir}/${BPN}
 install -d ${D}/${sysconfdir}/init.d
 install ${S}/linux/miniupnpd.init.d.script 
${D}/${sysconfdir}/init.d/miniupnpd
+
+install -d ${D}${systemd_unitdir}/system
+install -m 0644 ${WORKDIR}/miniupnpd.service ${D}${systemd_unitdir}/system/
 }
+
+SYSTEMD_SERVICE_${PN} = "miniupnpd.service"
-- 
2.11.0

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


[oe] [meta-oe][PATCHv2] luajit: create developer symlinks

2018-01-17 Thread Pascal Bach
LuaJIT tries to call ldconfig during installation which doesn't work.
This causes the .so and .so.2 symlinks to no be created.

By setting "LDCONFIG= :" the call will be skipped the same as on Darwin

Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb 
b/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb
index 73c38111e..2e9187564 100644
--- a/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb
+++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb
@@ -53,6 +53,7 @@ EXTRA_OEMAKE = "\
 \
 'PREFIX=${prefix}' \
 'MULTILIB=${baselib}' \
+'LDCONFIG=:' \
 "
 
 do_compile () {
-- 
2.11.0

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


[oe] [meta-oe][PATCH] poco: update to 1.8.1

2018-01-17 Thread Pascal Bach
Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-support/poco/{poco_1.8.0.1.bb => poco_1.8.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/poco/{poco_1.8.0.1.bb => poco_1.8.1.bb} (98%)

diff --git a/meta-oe/recipes-support/poco/poco_1.8.0.1.bb 
b/meta-oe/recipes-support/poco/poco_1.8.1.bb
similarity index 98%
rename from meta-oe/recipes-support/poco/poco_1.8.0.1.bb
rename to meta-oe/recipes-support/poco/poco_1.8.1.bb
index 160b4d391..e44ff4470 100644
--- a/meta-oe/recipes-support/poco/poco_1.8.0.1.bb
+++ b/meta-oe/recipes-support/poco/poco_1.8.1.bb
@@ -12,7 +12,7 @@ inherit cmake ptest
 
 BBCLASSEXTEND = "native"
 
-SRCREV = "af527ab21fca5ab2659285408aec9920ed7c7b17"
+SRCREV = "2eca6c1813632fb779e07f1e1968afefa81e1dd0"
 SRC_URI = " \
 git://github.com/pocoproject/poco.git \
 file://run-ptest \
-- 
2.11.0

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


[oe] [meta-oe][PATCH] poco: update to 1.8.0.1

2017-11-20 Thread Pascal Bach
1.8 is a minor update from 1.7 and is planned to be the last version before
2.0.

Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-support/poco/{poco_1.7.9.bb => poco_1.8.0.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/poco/{poco_1.7.9.bb => poco_1.8.0.1.bb} (97%)

diff --git a/meta-oe/recipes-support/poco/poco_1.7.9.bb 
b/meta-oe/recipes-support/poco/poco_1.8.0.1.bb
similarity index 97%
rename from meta-oe/recipes-support/poco/poco_1.7.9.bb
rename to meta-oe/recipes-support/poco/poco_1.8.0.1.bb
index ac6573507..160b4d391 100644
--- a/meta-oe/recipes-support/poco/poco_1.7.9.bb
+++ b/meta-oe/recipes-support/poco/poco_1.8.0.1.bb
@@ -12,9 +12,9 @@ inherit cmake ptest
 
 BBCLASSEXTEND = "native"
 
-SRCREV = "bfbe6a328744eaa84cb443b93ee20947aa0be91f"
+SRCREV = "af527ab21fca5ab2659285408aec9920ed7c7b17"
 SRC_URI = " \
-git://github.com/pocoproject/poco.git;branch=master \
+git://github.com/pocoproject/poco.git \
 file://run-ptest \
"
 
-- 
2.11.0

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


[oe] [meta-python][PATCH] python-paho-mqtt, python3-paho-mqtt: update to 1.3.1

2017-11-03 Thread Pascal Bach
From: Pascal Bach 

Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python-paho-mqtt.inc  | 4 ++--
 .../python/{python-paho-mqtt_1.3.0.bb => python-paho-mqtt_1.3.1.bb}   | 0
 .../python/{python3-paho-mqtt_1.3.0.bb => python3-paho-mqtt_1.3.1.bb} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-paho-mqtt_1.3.0.bb => 
python-paho-mqtt_1.3.1.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-paho-mqtt_1.3.0.bb => 
python3-paho-mqtt_1.3.1.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-paho-mqtt.inc 
b/meta-python/recipes-devtools/python/python-paho-mqtt.inc
index ad1ce6a..9efbd2f 100644
--- a/meta-python/recipes-devtools/python/python-paho-mqtt.inc
+++ b/meta-python/recipes-devtools/python/python-paho-mqtt.inc
@@ -7,8 +7,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.txt;md5=eb48c6ee2cb9f5b8b9fe75e6f817bdfc \
 SRCNAME = "paho-mqtt"
 
 inherit pypi
-SRC_URI[md5sum] = "b9338236e2836e8579ef140956189cc4"
-SRC_URI[sha256sum] = 
"2c9ef5494cfc1e41a9fff6544c5a2cd59ea5d401d9119a06ecf7fad6a2ffeb93"
+SRC_URI[md5sum] = "2cc27d8b369700b1fc99325add0dadd2"
+SRC_URI[sha256sum] = 
"31911f6031de306c27ed79dc77b690d7c55b0dcb0f0434ca34ec6361d0371122"
 
 DEPENDS += "${PYTHON_PN}-pytest-runner-native"
 
diff --git a/meta-python/recipes-devtools/python/python-paho-mqtt_1.3.0.bb 
b/meta-python/recipes-devtools/python/python-paho-mqtt_1.3.1.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-paho-mqtt_1.3.0.bb
rename to meta-python/recipes-devtools/python/python-paho-mqtt_1.3.1.bb
diff --git a/meta-python/recipes-devtools/python/python3-paho-mqtt_1.3.0.bb 
b/meta-python/recipes-devtools/python/python3-paho-mqtt_1.3.1.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-paho-mqtt_1.3.0.bb
rename to meta-python/recipes-devtools/python/python3-paho-mqtt_1.3.1.bb
-- 
2.1.4

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


[oe] [meta-python][PATCH] python-psutil, python3-psutil: update to 5.4.0

2017-11-03 Thread Pascal Bach
From: Pascal Bach 

Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python-psutil.inc | 4 ++--
 .../python/{python-psutil_5.3.1.bb => python-psutil_5.4.0.bb} | 0
 .../python/{python3-psutil_5.3.1.bb => python3-psutil_5.4.0.bb}   | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-psutil_5.3.1.bb => 
python-psutil_5.4.0.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-psutil_5.3.1.bb => 
python3-psutil_5.4.0.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-psutil.inc 
b/meta-python/recipes-devtools/python/python-psutil.inc
index c9a7f6d..4170ea4 100644
--- a/meta-python/recipes-devtools/python/python-psutil.inc
+++ b/meta-python/recipes-devtools/python/python-psutil.inc
@@ -2,8 +2,8 @@ SUMMARY = "A cross-platform process and system utilities module 
for Python"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=0f02e99f7f3c9a7fe8ecfc5d44c2be62"
 
-SRC_URI[md5sum] = "529244aea5d32fb0c2ea46d80ce54abc"
-SRC_URI[sha256sum] = 
"12dd9c8abbad15f055e9579130035b38617020ce176f4a498b7870e6321ffa67"
+SRC_URI[md5sum] = "01af6219b1e8fcfd53603023967713bf"
+SRC_URI[sha256sum] = 
"8e6397ec24a2ec09751447d9f169486b68b37ac7a8d794dca003ace4efaafc6a"
 
 RDEPENDS_${PN} += " \
 ${PYTHON_PN}-shell \
diff --git a/meta-python/recipes-devtools/python/python-psutil_5.3.1.bb 
b/meta-python/recipes-devtools/python/python-psutil_5.4.0.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-psutil_5.3.1.bb
rename to meta-python/recipes-devtools/python/python-psutil_5.4.0.bb
diff --git a/meta-python/recipes-devtools/python/python3-psutil_5.3.1.bb 
b/meta-python/recipes-devtools/python/python3-psutil_5.4.0.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-psutil_5.3.1.bb
rename to meta-python/recipes-devtools/python/python3-psutil_5.4.0.bb
-- 
2.1.4

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


[oe] [meta-python][PATCH] python-pyasn1, python3-pyasn1: update to 0.3.7

2017-11-03 Thread Pascal Bach
From: Pascal Bach 

Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python-pyasn1.inc | 4 ++--
 .../python/{python-pyasn1_0.3.6.bb => python-pyasn1_0.3.7.bb} | 0
 .../python/{python3-pyasn1_0.3.6.bb => python3-pyasn1_0.3.7.bb}   | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-pyasn1_0.3.6.bb => 
python-pyasn1_0.3.7.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-pyasn1_0.3.6.bb => 
python3-pyasn1_0.3.7.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-pyasn1.inc 
b/meta-python/recipes-devtools/python/python-pyasn1.inc
index dedb191..aa375f6 100644
--- a/meta-python/recipes-devtools/python/python-pyasn1.inc
+++ b/meta-python/recipes-devtools/python/python-pyasn1.inc
@@ -3,8 +3,8 @@ HOMEPAGE = "http://pyasn1.sourceforge.net/";
 LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=280606d9c18f200e03e0c247ac61475a"
 
-SRC_URI[md5sum] = "a2d01c561d499605564174eda58f"
-SRC_URI[sha256sum] = 
"f0380ea97db0ede095a0dd87ce3003d46c197191f924206e43f776fc77e51f09"
+SRC_URI[md5sum] = "d58ecd0d9ff07218073c5acb12974254"
+SRC_URI[sha256sum] = 
"187f2a66d617683f8e82d5c00033b7c8a0287e1da88a9d577aebec321cad4965"
 
 RDEPENDS_${PN}_class-target += " \
 ${PYTHON_PN}-codecs \
diff --git a/meta-python/recipes-devtools/python/python-pyasn1_0.3.6.bb 
b/meta-python/recipes-devtools/python/python-pyasn1_0.3.7.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-pyasn1_0.3.6.bb
rename to meta-python/recipes-devtools/python/python-pyasn1_0.3.7.bb
diff --git a/meta-python/recipes-devtools/python/python3-pyasn1_0.3.6.bb 
b/meta-python/recipes-devtools/python/python3-pyasn1_0.3.7.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-pyasn1_0.3.6.bb
rename to meta-python/recipes-devtools/python/python3-pyasn1_0.3.7.bb
-- 
2.1.4

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


[oe] [meta-oe][PATCHv3] rocksdb: add version 5.8

2017-10-12 Thread Pascal Bach
Version 5.8 does no longer includes the facebook patent grant and is
licensed under the Apache-2.0 or GPL-2.0 license.

Tests and tools don't compile on armv5 so we disable them.
The tools are never installed anyway so it doesn't make a difference for
the resulting package.

Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-extended/rocksdb/rocksdb_git.bb | 31 +
 1 file changed, 31 insertions(+)
 create mode 100644 meta-oe/recipes-extended/rocksdb/rocksdb_git.bb

diff --git a/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb 
b/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb
new file mode 100644
index 000..9b19c1a
--- /dev/null
+++ b/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb
@@ -0,0 +1,31 @@
+SUMMARY = "RocksDB an embeddable, persistent key-value store"
+DESCRIPTION = "RocksDB is library that provides an embeddable, persistent 
key-value store for fast storage."
+HOMEPAGE = "http://rocksdb.org/";
+LICENSE = "(Apache-2.0 | GPL-2.0) & BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.Apache;md5=3b83ef96387f14655fc854ddc3c6bd57 
\
+file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+
file://LICENSE.leveldb;md5=fb04ff57a14f308f2eed4a9b87d45837"
+
+SRCREV = "266ac245affd69555643b735d19d3715c4eff91a"
+PV = "5.8+git${SRCPV}"
+
+SRC_URI = "git://github.com/facebook/${BPN}.git"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+PACKAGECONFIG ??= "bzip2 zlib lz4"
+PACKAGECONFIG[bzip2] = "-DWITH_BZ2=ON,-DWITH_BZ2=OFF,bzip2"
+PACKAGECONFIG[lz4] = "-DWITH_LZ4=ON,-DWITH_LZ4=OFF,lz4"
+PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib"
+PACKAGECONFIG[lite] = "-DROCKSDB_LITE=ON,-DROCKSDB_LITE=OFF"
+
+# Tools and tests currently don't compile on armv5 so we disable them
+EXTRA_OECMAKE = "\
+-DPORTABLE=ON \
+-DWITH_TESTS=OFF \
+-DWITH_TOOLS=OFF \
+"
+
+FILES_${PN}-dev += "${libdir}/cmake"
-- 
2.1.4

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


Re: [oe] [meta-oe][PATCHv2] rocksdb: add version 5.8

2017-10-10 Thread Pascal Bach
On 10.10.2017 10:53, Martin Jansa wrote:
> The v1 failed to build with:
> http://errors.yoctoproject.org/Errors/Details/157120/
>
> If the v2 only updated LICENSE, it will need fix for this as well.
It seems this only happens on ARMv5 as there seems to be some instructions for 
atomic.
I need to dig deeper into how I can fix this.
>
> On Tue, Oct 10, 2017 at 8:59 AM, Pascal Bach  <mailto:pascal.b...@siemens.com>> wrote:
>
> Version 5.8 does no longer includes the facebook patent grant and is
> licensed under the Apache-2.0 or GPL-2.0 license.
>
> Signed-off-by: Pascal Bach  <mailto:pascal.b...@siemens.com>>
> ---
>  meta-oe/recipes-extended/rocksdb/rocksdb_git.bb <http://rocksdb_git.bb> 
> | 28 +
>  1 file changed, 28 insertions(+)
>  create mode 100644 meta-oe/recipes-extended/rocksdb/rocksdb_git.bb 
> <http://rocksdb_git.bb>
>
> diff --git a/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb 
> <http://rocksdb_git.bb> b/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb 
> <http://rocksdb_git.bb>
> new file mode 100644
> index 000..2e988bf
> --- /dev/null
> +++ b/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb 
> <http://rocksdb_git.bb>
> @@ -0,0 +1,28 @@
> +SUMMARY = "RocksDB an embeddable, persistent key-value store"
> +DESCRIPTION = "RocksDB is library that provides an embeddable, 
> persistent key-value store for fast storage."
> +HOMEPAGE = "http://rocksdb.org/";
> +LICENSE = "(Apache-2.0 | GPL-2.0) & BSD-3-Clause"
> +LIC_FILES_CHKSUM = 
> "file://LICENSE.Apache;md5=3b83ef96387f14655fc854ddc3c6bd57 \
> +                    file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
> +                    
> file://LICENSE.leveldb;md5=fb04ff57a14f308f2eed4a9b87d45837"
> +
> +SRCREV = "266ac245affd69555643b735d19d3715c4eff91a"
> +PV = "5.8+git${SRCPV}"
> +
> +SRC_URI = "git://github.com/facebook/${BPN}.git 
> <http://github.com/facebook/$%7BBPN%7D.git>"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit cmake
> +
> +PACKAGECONFIG ??= "bzip2 zlib lz4"
> +PACKAGECONFIG[bzip2] = "-DWITH_BZ2=ON,-DWITH_BZ2=OFF,bzip2"
> +PACKAGECONFIG[lz4] = "-DWITH_LZ4=ON,-DWITH_LZ4=OFF,lz4"
> +PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib"
> +PACKAGECONFIG[lite] = "-DROCKSDB_LITE=ON,-DROCKSDB_LITE=OFF"
> +
> +EXTRA_OECMAKE = "\
> +    -DPORTABLE=ON \
> +"
> +
> +FILES_${PN}-dev += "${libdir}/cmake"
> --
> 2.1.4
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org 
> <mailto:Openembedded-devel@lists.openembedded.org>
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel 
> <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] rocksdb: add version 5.8

2017-10-10 Thread Pascal Bach
Version 5.8 does no longer includes the facebook patent grant and is
licensed under the Apache-2.0 or GPL-2.0 license.

Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-extended/rocksdb/rocksdb_git.bb | 28 +
 1 file changed, 28 insertions(+)
 create mode 100644 meta-oe/recipes-extended/rocksdb/rocksdb_git.bb

diff --git a/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb 
b/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb
new file mode 100644
index 000..2e988bf
--- /dev/null
+++ b/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb
@@ -0,0 +1,28 @@
+SUMMARY = "RocksDB an embeddable, persistent key-value store"
+DESCRIPTION = "RocksDB is library that provides an embeddable, persistent 
key-value store for fast storage."
+HOMEPAGE = "http://rocksdb.org/";
+LICENSE = "(Apache-2.0 | GPL-2.0) & BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.Apache;md5=3b83ef96387f14655fc854ddc3c6bd57 
\
+file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+
file://LICENSE.leveldb;md5=fb04ff57a14f308f2eed4a9b87d45837"
+
+SRCREV = "266ac245affd69555643b735d19d3715c4eff91a"
+PV = "5.8+git${SRCPV}"
+
+SRC_URI = "git://github.com/facebook/${BPN}.git"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+PACKAGECONFIG ??= "bzip2 zlib lz4"
+PACKAGECONFIG[bzip2] = "-DWITH_BZ2=ON,-DWITH_BZ2=OFF,bzip2"
+PACKAGECONFIG[lz4] = "-DWITH_LZ4=ON,-DWITH_LZ4=OFF,lz4"
+PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib"
+PACKAGECONFIG[lite] = "-DROCKSDB_LITE=ON,-DROCKSDB_LITE=OFF"
+
+EXTRA_OECMAKE = "\
+-DPORTABLE=ON \
+"
+
+FILES_${PN}-dev += "${libdir}/cmake"
-- 
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] rocksdb: add version 5.8

2017-10-09 Thread Pascal Bach

On 06.10.2017 16:05, Khem Raj wrote:
> On Fri, Oct 6, 2017 at 4:31 AM, Pascal Bach  wrote:
>> Version 5.8 does no longer includes the facebook patent grant and is
>> licensed under the Apache-2.0 license.
>>
> I see leveldb as well as GPL-2.0 licence file in repo. Are they not used
The detailed license assessment from our side is still in progress and will 
probably take several weeks till I have the result.
I just did a quick survey again and it seems the license is something like 
(Apache-2.0 | GPL-2.0) & BSD-3-Clause
The BSD-3-Clause comes from leveldb.

I can update the recipe with the above license statement and then, if the 
detailed reports finds something different, I can update the recipe.
Would this be desirable or should I wait and submit the recipe again after the 
results are in?

>
>> Signed-off-by: Pascal Bach 
>> ---
>>  meta-oe/recipes-extended/rocksdb/rocksdb_git.bb | 26 
>> +
>>  1 file changed, 26 insertions(+)
>>  create mode 100644 meta-oe/recipes-extended/rocksdb/rocksdb_git.bb
>>
>> diff --git a/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb 
>> b/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb
>> new file mode 100644
>> index 000..a4fbf34
>> --- /dev/null
>> +++ b/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb
>> @@ -0,0 +1,26 @@
>> +SUMMARY = "RocksDB an embeddable, persistent key-value store"
>> +DESCRIPTION = "RocksDB is library that provides an embeddable, persistent 
>> key-value store for fast storage."
>> +HOMEPAGE = "http://rocksdb.org/";
>> +LICENSE = "Apache-2.0"
>> +LIC_FILES_CHKSUM = 
>> "file://LICENSE.Apache;md5=3b83ef96387f14655fc854ddc3c6bd57"
>> +
>> +SRCREV = "266ac245affd69555643b735d19d3715c4eff91a"
>> +PV = "5.8+git${SRCPV}"
>> +
>> +SRC_URI = "git://github.com/facebook/${BPN}.git"
>> +
>> +S = "${WORKDIR}/git"
>> +
>> +inherit cmake
>> +
>> +PACKAGECONFIG ??= "bzip2 zlib lz4"
>> +PACKAGECONFIG[bzip2] = "-DWITH_BZ2=ON,-DWITH_BZ2=OFF,bzip2"
>> +PACKAGECONFIG[lz4] = "-DWITH_LZ4=ON,-DWITH_LZ4=OFF,lz4"
>> +PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib"
>> +PACKAGECONFIG[lite] = "-DROCKSDB_LITE=ON,-DROCKSDB_LITE=OFF"
>> +
>> +EXTRA_OECMAKE = "\
>> +-DPORTABLE=ON \
>> +"
>> +
>> +FILES_${PN}-dev += "${libdir}/cmake"
>> --
>> 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][PATCH] rocksdb: add version 5.8

2017-10-06 Thread Pascal Bach
Version 5.8 does no longer includes the facebook patent grant and is
licensed under the Apache-2.0 license.

Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-extended/rocksdb/rocksdb_git.bb | 26 +
 1 file changed, 26 insertions(+)
 create mode 100644 meta-oe/recipes-extended/rocksdb/rocksdb_git.bb

diff --git a/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb 
b/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb
new file mode 100644
index 000..a4fbf34
--- /dev/null
+++ b/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb
@@ -0,0 +1,26 @@
+SUMMARY = "RocksDB an embeddable, persistent key-value store"
+DESCRIPTION = "RocksDB is library that provides an embeddable, persistent 
key-value store for fast storage."
+HOMEPAGE = "http://rocksdb.org/";
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.Apache;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+SRCREV = "266ac245affd69555643b735d19d3715c4eff91a"
+PV = "5.8+git${SRCPV}"
+
+SRC_URI = "git://github.com/facebook/${BPN}.git"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+PACKAGECONFIG ??= "bzip2 zlib lz4"
+PACKAGECONFIG[bzip2] = "-DWITH_BZ2=ON,-DWITH_BZ2=OFF,bzip2"
+PACKAGECONFIG[lz4] = "-DWITH_LZ4=ON,-DWITH_LZ4=OFF,lz4"
+PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib"
+PACKAGECONFIG[lite] = "-DROCKSDB_LITE=ON,-DROCKSDB_LITE=OFF"
+
+EXTRA_OECMAKE = "\
+-DPORTABLE=ON \
+"
+
+FILES_${PN}-dev += "${libdir}/cmake"
-- 
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-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


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

2017-09-29 Thread Pascal Bach
Signed-off-by: Pascal Bach 
---
 recipes-mono/libgdiplus/libgdiplus-native_4.2.bb | 3 +--
 recipes-mono/libgdiplus/libgdiplus_4.2.bb| 6 +++---
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/recipes-mono/libgdiplus/libgdiplus-native_4.2.bb 
b/recipes-mono/libgdiplus/libgdiplus-native_4.2.bb
index 4dee6a0..e169105 100644
--- a/recipes-mono/libgdiplus/libgdiplus-native_4.2.bb
+++ b/recipes-mono/libgdiplus/libgdiplus-native_4.2.bb
@@ -6,8 +6,7 @@ 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
 
diff --git a/recipes-mono/libgdiplus/libgdiplus_4.2.bb 
b/recipes-mono/libgdiplus/libgdiplus_4.2.bb
index 00eb406..6fb4988 100644
--- a/recipes-mono/libgdiplus/libgdiplus_4.2.bb
+++ b/recipes-mono/libgdiplus/libgdiplus_4.2.bb
@@ -12,9 +12,9 @@ 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
 
-- 
2.1.4

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


[oe] [meta-mono][PATCH] libgdiplus: include name in downloaded file

2017-09-29 Thread Pascal Bach
Without this change the file is named ${PV}.tar.gz

Signed-off-by: Pascal Bach 
---
 recipes-mono/libgdiplus/libgdiplus-native_4.2.bb | 3 +--
 recipes-mono/libgdiplus/libgdiplus_4.2.bb| 6 +++---
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/recipes-mono/libgdiplus/libgdiplus-native_4.2.bb 
b/recipes-mono/libgdiplus/libgdiplus-native_4.2.bb
index 4dee6a0..d3a988e 100644
--- a/recipes-mono/libgdiplus/libgdiplus-native_4.2.bb
+++ b/recipes-mono/libgdiplus/libgdiplus-native_4.2.bb
@@ -6,8 +6,7 @@ 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://github.com/mono/libgdiplus/archive/${PV}.tar.gz;downloadfilename=libgdiplus-${PV}.tar.gz";
 
 inherit autotools pkgconfig native
 
diff --git a/recipes-mono/libgdiplus/libgdiplus_4.2.bb 
b/recipes-mono/libgdiplus/libgdiplus_4.2.bb
index 00eb406..03d87f7 100644
--- a/recipes-mono/libgdiplus/libgdiplus_4.2.bb
+++ b/recipes-mono/libgdiplus/libgdiplus_4.2.bb
@@ -12,9 +12,9 @@ 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://github.com/mono/libgdiplus/archive/${PV}.tar.gz;downloadfilename=libgdiplus-${PV}.tar.gz
 \
+   file://01-remove-libjpeg-path.patch \
+  "
 
 inherit autotools pkgconfig
 
-- 
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] luajit: create developer symlinks

2017-09-22 Thread Pascal Bach

On 21.09.2017 20:32, Andre McCurdy wrote:
> On Thu, Sep 21, 2017 at 5:01 AM, Pascal Bach  wrote:
>> LuaJIT tries to call ldconfig during installation which doesn't work.
> Presumably this stopped working recently (since host tools now need to
> be whitelisted and ldconfig is not included in HOSTTOOLS)? If so,
> maybe mention that in the commit message.
I'm not sure when it stopped working. I just tried it now with Pyro ;-)
However I'm not sure what ldconfig does in the context of cross compilation or 
if it makes sense at all to call it.
My assumption was not so I decided to just disable it. But I'm happy to correct 
my assumption if I'm wrong.
>> This causes the .so and .so.2 symlinks to no be created.
>>
>> By setting "LDCONFIG= :" the call will be skipped the same as on Darwin
>>
>> Signed-off-by: Pascal Bach 
>> ---
>>  meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb 
>> b/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb
>> index d7477ed..1e06e34 100644
>> --- a/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb
>> +++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb
>> @@ -52,6 +52,7 @@ EXTRA_OEMAKE = "\
>>  \
>>  'PREFIX=${prefix}' \
>>  'MULTILIB=${baselib}' \
>> +'LDCONFIG= :' \
>>  "
>>
>>  do_compile () {
>> --
>> 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][PATCH] luajit: create developer symlinks

2017-09-21 Thread Pascal Bach
LuaJIT tries to call ldconfig during installation which doesn't work.
This causes the .so and .so.2 symlinks to no be created.

By setting "LDCONFIG= :" the call will be skipped the same as on Darwin

Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb 
b/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb
index d7477ed..1e06e34 100644
--- a/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb
+++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb
@@ -52,6 +52,7 @@ EXTRA_OEMAKE = "\
 \
 'PREFIX=${prefix}' \
 'MULTILIB=${baselib}' \
+'LDCONFIG= :' \
 "
 
 do_compile () {
-- 
2.1.4

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


[oe] [meta-oe][PATCH] poco: update to 1.7.9

2017-09-15 Thread Pascal Bach
Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-support/poco/{poco_1.7.8.bb => poco_1.7.9.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/poco/{poco_1.7.8.bb => poco_1.7.9.bb} (97%)

diff --git a/meta-oe/recipes-support/poco/poco_1.7.8.bb 
b/meta-oe/recipes-support/poco/poco_1.7.9.bb
similarity index 97%
rename from meta-oe/recipes-support/poco/poco_1.7.8.bb
rename to meta-oe/recipes-support/poco/poco_1.7.9.bb
index 1b83735..ac65735 100644
--- a/meta-oe/recipes-support/poco/poco_1.7.8.bb
+++ b/meta-oe/recipes-support/poco/poco_1.7.9.bb
@@ -12,9 +12,9 @@ inherit cmake ptest
 
 BBCLASSEXTEND = "native"
 
-SRCREV = "aae9c2e0f64caf019d31ba8f97635d5656b25ba5"
+SRCREV = "bfbe6a328744eaa84cb443b93ee20947aa0be91f"
 SRC_URI = " \
-git://github.com/pocoproject/poco.git;branch=poco-${PV} \
+git://github.com/pocoproject/poco.git;branch=master \
 file://run-ptest \
"
 
-- 
2.1.4

-- 
___
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


[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


[oe] [meta-python][PATCH] python-jsonschema, python3-jsonschema: add vcversioner-native dependency

2017-09-12 Thread Pascal Bach
If not added the setup.py will complain that it can't find
vcversioner. The non native dependency is not working as the module is
required during compilation not at runtime.

Also the dependency is required for both the Python 2 and Python 3 version

Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python-jsonschema.inc   | 2 ++
 meta-python/recipes-devtools/python/python3-jsonschema_2.6.0.bb | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-jsonschema.inc 
b/meta-python/recipes-devtools/python/python-jsonschema.inc
index 74933f5..db57c69 100644
--- a/meta-python/recipes-devtools/python/python-jsonschema.inc
+++ b/meta-python/recipes-devtools/python/python-jsonschema.inc
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8"
 SRC_URI[md5sum] = "50c6b69a373a8b55ff1e0ec6e78f13f4"
 SRC_URI[sha256sum] = 
"6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02"
 
+DEPENDS += "${PYTHON_PN}-vcversioner-native"
+
 RDEPENDS_${PN} += " \
 ${PYTHON_PN}-core \
 ${PYTHON_PN}-io \
diff --git a/meta-python/recipes-devtools/python/python3-jsonschema_2.6.0.bb 
b/meta-python/recipes-devtools/python/python3-jsonschema_2.6.0.bb
index 53b8839..5aaee68 100644
--- a/meta-python/recipes-devtools/python/python3-jsonschema_2.6.0.bb
+++ b/meta-python/recipes-devtools/python/python3-jsonschema_2.6.0.bb
@@ -1,8 +1,6 @@
 inherit pypi setuptools3
 require python-jsonschema.inc
 
-DEPENDS += "python3-vcversioner"
-
 RDEPENDS_${PN} += " \
 ${PYTHON_PN}-misc \
 "
-- 
2.1.4

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


[oe] [meta-oe][PATCH] thrift: build lib for native and nativesdk

2017-09-08 Thread Pascal Bach
The libraries can also be build for native and nativesdk.
This is useful for running tests on the build machine.

Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb | 5 -
 1 file changed, 5 deletions(-)

diff --git a/meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb 
b/meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb
index 9baeed1..aa93283 100644
--- a/meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb
+++ b/meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb
@@ -41,11 +41,6 @@ EXTRA_OECMAKE = " \
 -DWITH_QT5=OFF \
 "
 
-EXTRA_OECMAKE_append_class-native = "\
- -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF -DWITH_CPP=OFF"
-EXTRA_OECMAKE_append_class-nativesdk = "\
- -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF -DWITH_PYTHON=OFF"
-
 PACKAGECONFIG ??= "libevent glib python"
 PACKAGECONFIG[libevent] = "-DWITH_LIBEVENT=ON,-DWITH_LIBEVENT=OFF,libevent,"
 PACKAGECONFIG[python] = "-DWITH_PYTHON=ON,-DWITH_PYTHON=OFF,python,"
-- 
2.1.4

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


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

2017-09-07 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][PATCH] python-sqlalchemy, python3-sqlalchemy: update to 1.1.11

2017-07-19 Thread Pascal Bach
From: Pascal Bach 

Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python-sqlalchemy.inc | 4 ++--
 .../{python-sqlalchemy_1.1.10.bb => python-sqlalchemy_1.1.11.bb}  | 0
 .../{python3-sqlalchemy_1.1.10.bb => python3-sqlalchemy_1.1.11.bb}| 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-sqlalchemy_1.1.10.bb => 
python-sqlalchemy_1.1.11.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-sqlalchemy_1.1.10.bb => 
python3-sqlalchemy_1.1.11.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-sqlalchemy.inc 
b/meta-python/recipes-devtools/python/python-sqlalchemy.inc
index d2a7be5..0a93dc4 100644
--- a/meta-python/recipes-devtools/python/python-sqlalchemy.inc
+++ b/meta-python/recipes-devtools/python/python-sqlalchemy.inc
@@ -7,8 +7,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=452f4b8adb0feba42e5be5f1fbfbf538"
 PYPI_PACKAGE = "SQLAlchemy"
 inherit pypi
 
-SRC_URI[md5sum] = "64b9a3bf34e17944f844cbf460bd14e6"
-SRC_URI[sha256sum] = 
"dbd92b8af2306d600efa98ed36262d73aad227440a758c8dc3a067ca30096bd3"
+SRC_URI[md5sum] = "3de387eddb4012083a4562928c511e43"
+SRC_URI[sha256sum] = 
"76f76965e9a968ba3aecd2a8bc0d991cea04fd9a182e6c95c81f1551487b0211"
 
 RDEPENDS_${PN} += " \
 ${PYTHON_PN}-json \
diff --git a/meta-python/recipes-devtools/python/python-sqlalchemy_1.1.10.bb 
b/meta-python/recipes-devtools/python/python-sqlalchemy_1.1.11.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-sqlalchemy_1.1.10.bb
rename to meta-python/recipes-devtools/python/python-sqlalchemy_1.1.11.bb
diff --git a/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.10.bb 
b/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.11.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.10.bb
rename to meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.11.bb
-- 
2.1.4

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


[oe] [meta-oe][PATCH] python-chardet.inc: update build dependency

2017-07-19 Thread Pascal Bach
From: "Maxin B. John" 

Update chardet's build dependency on pytest-runner-native

Signed-off-by: Maxin B. John 
Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python-chardet.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-chardet.inc 
b/meta-python/recipes-devtools/python/python-chardet.inc
index c5da1e1..25443f8 100644
--- a/meta-python/recipes-devtools/python/python-chardet.inc
+++ b/meta-python/recipes-devtools/python/python-chardet.inc
@@ -4,5 +4,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343"
 
 inherit pypi
 
+# setup.py of chardet needs this.
+DEPENDS += "${PYTHON_PN}-pytest-runner-native"
+
 SRC_URI[md5sum] = "7dd1ba7f9c77e32351b0a0cfacf4055c"
 SRC_URI[sha256sum] = 
"84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae"
-- 
2.1.4

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


[oe] [meta-oe][PATCH] python-requests, python3-requests: update to 2.28.1

2017-07-19 Thread Pascal Bach
From: Pascal Bach 

The copyright year changed in the license file.

Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python-requests.inc| 10 +++---
 .../{python-requests_2.13.0.bb => python-requests_2.18.1.bb}   |  2 +-
 .../{python3-requests_2.13.0.bb => python3-requests_2.18.1.bb} |  2 +-
 3 files changed, 9 insertions(+), 5 deletions(-)
 rename meta-python/recipes-devtools/python/{python-requests_2.13.0.bb => 
python-requests_2.18.1.bb} (73%)
 rename meta-python/recipes-devtools/python/{python3-requests_2.13.0.bb => 
python3-requests_2.18.1.bb} (81%)

diff --git a/meta-python/recipes-devtools/python/python-requests.inc 
b/meta-python/recipes-devtools/python/python-requests.inc
index b66f66e..81819bf 100644
--- a/meta-python/recipes-devtools/python/python-requests.inc
+++ b/meta-python/recipes-devtools/python/python-requests.inc
@@ -1,10 +1,12 @@
 DESCRIPTION = "Python HTTP for Humans."
 HOMEPAGE = "http://python-requests.org";
 LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d9bb3515869c0f426cb8441c899ae7f5"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=979d6a23b143e13ea0e5e3aa81248820"
 
-SRC_URI[md5sum] = "921ec6b48f2ddafc8bb6160957baf444"
-SRC_URI[sha256sum] = 
"5722cd09762faa01276230270ff16af7acf7c5c45d623868d9ba116f15791ce8"
+SRC_URI[md5sum] = "40f723ed01dddeaf990d0609d073f021"
+SRC_URI[sha256sum] = 
"c6f3bdf4a4323ac7b45d01e04a6f6c20e32a052cd04de81e05103abc049ad9b9"
+
+inherit pypi
 
 RDEPENDS_${PN} += " \
 ${PYTHON_PN}-email \
@@ -15,6 +17,8 @@ RDEPENDS_${PN} += " \
 ${PYTHON_PN}-pyopenssl \
 ${PYTHON_PN}-pysocks \
 ${PYTHON_PN}-urllib3 \
+${PYTHON_PN}-chardet \
+${PYTHON_PN}-idna \
 "
 
 BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-requests_2.13.0.bb 
b/meta-python/recipes-devtools/python/python-requests_2.18.1.bb
similarity index 73%
rename from meta-python/recipes-devtools/python/python-requests_2.13.0.bb
rename to meta-python/recipes-devtools/python/python-requests_2.18.1.bb
index 627bc95..0d7a29f 100644
--- a/meta-python/recipes-devtools/python/python-requests_2.13.0.bb
+++ b/meta-python/recipes-devtools/python/python-requests_2.18.1.bb
@@ -1,4 +1,4 @@
-inherit pypi setuptools
+inherit setuptools
 require python-requests.inc
 
 RDEPENDS_${PN} += "${PYTHON_PN}-zlib"
diff --git a/meta-python/recipes-devtools/python/python3-requests_2.13.0.bb 
b/meta-python/recipes-devtools/python/python3-requests_2.18.1.bb
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-requests_2.13.0.bb
rename to meta-python/recipes-devtools/python/python3-requests_2.18.1.bb
index 5e869b7..d91d993 100644
--- a/meta-python/recipes-devtools/python/python3-requests_2.13.0.bb
+++ b/meta-python/recipes-devtools/python/python3-requests_2.18.1.bb
@@ -1,4 +1,4 @@
-inherit pypi setuptools3
+inherit setuptools3
 require python-requests.inc
 
 # Add the runtime depends for selectors.py
-- 
2.1.4

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


[oe] [meta-oe][PATCH] python-paho-mqtt, python3-paho-mqtt: update to 1.3.0

2017-07-19 Thread Pascal Bach
From: Pascal Bach 

Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python-paho-mqtt.inc  | 4 ++--
 .../python/{python-paho-mqtt_1.2.3.bb => python-paho-mqtt_1.3.0.bb}   | 0
 .../python/{python3-paho-mqtt_1.2.3.bb => python3-paho-mqtt_1.3.0.bb} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-paho-mqtt_1.2.3.bb => 
python-paho-mqtt_1.3.0.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-paho-mqtt_1.2.3.bb => 
python3-paho-mqtt_1.3.0.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-paho-mqtt.inc 
b/meta-python/recipes-devtools/python/python-paho-mqtt.inc
index 545985c..531fdf7 100644
--- a/meta-python/recipes-devtools/python/python-paho-mqtt.inc
+++ b/meta-python/recipes-devtools/python/python-paho-mqtt.inc
@@ -4,8 +4,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.txt;md5=eb48c6ee2cb9f5b8b9fe75e6f817bdfc"
 SRCNAME = "paho-mqtt"
 
 inherit pypi
-SRC_URI[md5sum] = "4bd192ea24e7aa347f6d240101ef82f6"
-SRC_URI[sha256sum] = 
"0fd746d8650563290f1bd0fec01e74cb57c3ab7406bdb58e5d9252bb5fa5ca44"
+SRC_URI[md5sum] = "b9338236e2836e8579ef140956189cc4"
+SRC_URI[sha256sum] = 
"2c9ef5494cfc1e41a9fff6544c5a2cd59ea5d401d9119a06ecf7fad6a2ffeb93"
 
 RDEPENDS_${PN} = "\
${PYTHON_PN}-math \
diff --git a/meta-python/recipes-devtools/python/python-paho-mqtt_1.2.3.bb 
b/meta-python/recipes-devtools/python/python-paho-mqtt_1.3.0.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-paho-mqtt_1.2.3.bb
rename to meta-python/recipes-devtools/python/python-paho-mqtt_1.3.0.bb
diff --git a/meta-python/recipes-devtools/python/python3-paho-mqtt_1.2.3.bb 
b/meta-python/recipes-devtools/python/python3-paho-mqtt_1.3.0.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-paho-mqtt_1.2.3.bb
rename to meta-python/recipes-devtools/python/python3-paho-mqtt_1.3.0.bb
-- 
2.1.4

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


[oe] [meta-oe][PATCH] leveldb: update to 1.20

2017-06-02 Thread Pascal Bach
The tmalloc patch went upstream in the meantime

Signed-off-by: Pascal Bach 
---
 .../leveldb/0001-Explicitly-disable-tcmalloc.patch | 48 --
 meta-oe/recipes-extended/leveldb/leveldb_git.bb|  8 ++--
 2 files changed, 3 insertions(+), 53 deletions(-)
 delete mode 100644 
meta-oe/recipes-extended/leveldb/leveldb/0001-Explicitly-disable-tcmalloc.patch

diff --git 
a/meta-oe/recipes-extended/leveldb/leveldb/0001-Explicitly-disable-tcmalloc.patch
 
b/meta-oe/recipes-extended/leveldb/leveldb/0001-Explicitly-disable-tcmalloc.patch
deleted file mode 100644
index 4b76dd0..000
--- 
a/meta-oe/recipes-extended/leveldb/leveldb/0001-Explicitly-disable-tcmalloc.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From d6daac04dab4b3acf4b88f16742d1b402cdc3d83 Mon Sep 17 00:00:00 2001
-From: Martin Jansa 
-Date: Wed, 1 Oct 2014 18:54:04 +0200
-Subject: [PATCH] Explicitly disable tcmalloc
-
-Without this change leveldb autodetects tcmalloc from sysroot and
-sometimes became dependant on gperftools
-
-Disable autodetection without TCMALLOC_ENABLED=true pased to make
-
-Upstream-Status: Pending
-Signed-off-by: Martin Jansa 

- build_detect_platform | 16 +---
- 1 file changed, 9 insertions(+), 7 deletions(-)
-
-diff --git a/build_detect_platform b/build_detect_platform
-index bb76c4f..a586364 100755
 a/build_detect_platform
-+++ b/build_detect_platform
-@@ -201,15 +201,17 @@ EOF
- PLATFORM_LIBS="$PLATFORM_LIBS -lsnappy"
- fi
- 
--# Test whether tcmalloc is available
--$CXX $CXXFLAGS -x c++ - -o $CXXOUTPUT -ltcmalloc 2>/dev/null  </dev/null  </dev/null
-+rm -f $CXXOUTPUT 2>/dev/null
-+fi
- fi
- 
- PLATFORM_CCFLAGS="$PLATFORM_CCFLAGS $COMMON_FLAGS"
--- 
-2.1.1
-
diff --git a/meta-oe/recipes-extended/leveldb/leveldb_git.bb 
b/meta-oe/recipes-extended/leveldb/leveldb_git.bb
index a6a3024..8c66055 100644
--- a/meta-oe/recipes-extended/leveldb/leveldb_git.bb
+++ b/meta-oe/recipes-extended/leveldb/leveldb_git.bb
@@ -4,12 +4,10 @@ HOMEPAGE = "http://leveldb.googlecode.com";
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=92d1b128950b11ba8495b64938fc164d"
 
-SRCREV = "803d69203a62faf50f1b77897310a3a1fcae712b"
-PV = "1.18+git${SRCPV}"
+SRCREV = "a53934a3ae1244679f812d998a4f16f2c7f309a6"
+PV = "1.20+git${SRCPV}"
 
-SRC_URI = "git://github.com/google/${BPN}.git \
-file://0001-Explicitly-disable-tcmalloc.patch \
-"
+SRC_URI = "git://github.com/google/${BPN}.git"
 
 S = "${WORKDIR}/git"
 
-- 
2.1.4

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


[oe] [meta-oe][PATCH] poco: make cmake packages relocatable

2017-06-01 Thread Pascal Bach
Before the path to the dependencies was hard coded into the generated
PocoConfig.cmake file. This causes issues with sstate.

This change overrides the libraries with just the library names and thus
let's the linker take care of finding them.

Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-support/poco/poco_1.7.8.bb | 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/meta-oe/recipes-support/poco/poco_1.7.8.bb 
b/meta-oe/recipes-support/poco/poco_1.7.8.bb
index 0fd6a8b..1b83735 100644
--- a/meta-oe/recipes-support/poco/poco_1.7.8.bb
+++ b/meta-oe/recipes-support/poco/poco_1.7.8.bb
@@ -21,6 +21,7 @@ SRC_URI = " \
 S = "${WORKDIR}/git"
 
 EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=RelWithDebInfo -DPOCO_UNBUNDLED=ON \
+  -DZLIB_LIBRARY_RELEASE:STRING=z -DPCRE_LIBRARY:STRING=pcre \
  ${@bb.utils.contains('PTEST_ENABLED', '1', '-DENABLE_TESTS=ON 
', '', d)}"
 
 # For the native build we want to use the bundled version
@@ -34,16 +35,16 @@ EXTRA_OECMAKE_append = " -DCMAKE_SKIP_RPATH=ON"
 # these don't have dependencies outside oe-core
 PACKAGECONFIG ??= "XML JSON MongoDB PDF Util Net NetSSL Crypto Data DataSQLite 
Zip"
 
-PACKAGECONFIG[XML] = "-DENABLE_XML=ON,-DENABLE_XML=OFF,expat"
+PACKAGECONFIG[XML] = "-DENABLE_XML=ON 
-DEXPAT_LIBRARY:STRING=expat,-DENABLE_XML=OFF,expat"
 PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF"
 PACKAGECONFIG[MongoDB] = "-DENABLE_MONGODB=ON,-DENABLE_MONGODB=OFF"
 PACKAGECONFIG[PDF] = "-DENABLE_PDF=ON,-DENABLE_PDF=OFF,zlib"
 PACKAGECONFIG[Util] = "-DENABLE_UTIL=ON,-DENABLE_UTIL=OFF"
 PACKAGECONFIG[Net] = "-DENABLE_NET=ON,-DENABLE_NET=OFF"
-PACKAGECONFIG[NetSSL] = "-DENABLE_NETSSL=ON,-DENABLE_NETSSL=OFF,openssl"
-PACKAGECONFIG[Crypto] = "-DENABLE_CRYPTO=ON,-DENABLE_CRYPTO=OFF,openssl"
+PACKAGECONFIG[NetSSL] = "-DENABLE_NETSSL=ON -DOPENSSL_SSL_LIBRARY:STRING=ssl 
-DOPENSSL_CRYPTO_LIBRARY:STRING=crypto,-DENABLE_NETSSL=OFF,openssl"
+PACKAGECONFIG[Crypto] = "-DENABLE_CRYPTO=ON -DOPENSSL_SSL_LIBRARY:STRING=ssl 
-DOPENSSL_CRYPTO_LIBRARY:STRING=crypto,-DENABLE_CRYPTO=OFF,openssl"
 PACKAGECONFIG[Data] = "-DENABLE_DATA=ON,-DENABLE_DATA=OFF"
-PACKAGECONFIG[DataSQLite] = 
"-DENABLE_DATA_SQLITE=ON,-DENABLE_DATA_SQLITE=OFF,sqlite3"
+PACKAGECONFIG[DataSQLite] = "-DENABLE_DATA_SQLITE=ON 
-DSQLITE3_LIBRARY:STRING=sqlite3,-DENABLE_DATA_SQLITE=OFF,sqlite3"
 PACKAGECONFIG[Zip] = "-DENABLE_ZIP=ON,-DENABLE_ZIP=OFF"
 
 # Additional components not build by default,
@@ -51,7 +52,7 @@ PACKAGECONFIG[Zip] = "-DENABLE_ZIP=ON,-DENABLE_ZIP=OFF"
 # or they don't work on all architectures
 PACKAGECONFIG[mod_poco] = 
"-DENABLE_APACHECONNECTOR=ON,-DENABLE_APACHECONNECTOR=OFF,apr apache2"
 PACKAGECONFIG[CppParser] = "-DENABLE_CPPPARSER=ON,-DENABLE_CPPPARSER=OFF"
-PACKAGECONFIG[DataMySQL] = 
"-DENABLE_DATA_MYSQL=ON,-DENABLE_DATA_MYSQL=OFF,mariadb"
+PACKAGECONFIG[DataMySQL] = "-DENABLE_DATA_MYSQL=ON 
-DMYSQL_LIB:STRING=mysqlclient_r,-DENABLE_DATA_MYSQL=OFF,mariadb"
 PACKAGECONFIG[DataODBC] = 
"-DENABLE_DATA_ODBC=ON,-DENABLE_DATA_ODBC=OFF,libiodbc"
 PACKAGECONFIG[PageCompiler] = 
"-DENABLE_PAGECOMPILER=ON,-DENABLE_PAGECOMPILER=OFF"
 PACKAGECONFIG[PageCompilerFile2Page] = 
"-DENABLE_PAGECOMPILER_FILE2PAGE=ON,-DENABLE_PAGECOMPILER_FILE2PAGE=OFF"
-- 
2.1.4

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


[oe] [meta-webserver][PATCH] nginx: depend on zlib instead of gzip

2017-05-29 Thread Pascal Bach
nginx requires zlib not gzip for compression.

Signed-off-by: Pascal Bach 
---
 meta-webserver/recipes-httpd/nginx/nginx.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc 
b/meta-webserver/recipes-httpd/nginx/nginx.inc
index f98f299..77d1b32 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -9,7 +9,7 @@ LICENSE = "BSD-2-Clause"
 
 SECTION = "net"
 
-DEPENDS = "libpcre gzip openssl"
+DEPENDS = "libpcre zlib openssl"
 
 SRC_URI = " \
 http://nginx.org/download/nginx-${PV}.tar.gz \
-- 
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] protobuf: update to 3.3.0

2017-05-12 Thread Pascal Bach

>> -inherit autotools
>> +inherit autotools-brokensep
> this is backwards, can we see what broke out of tree build ?

I agree, but it seems upstream dosn't care to much about out of tree builds.

>From a qucik check it seems like they are generating a file in the source tree 
>but are looking for it later in the build tree. I haven't looked into what 
>commit introduced this issue.

 Here is the error I get:

ERROR: Logfile of failure stored in: 
/home/projects/ccp2-next/oe/build/tmp/work/cortexa8-vfp-ccp-linux-gnueabi/protobuf/3.3.0+gitAUTOINC+a6189acd18-r0/temp/log.do_compile.11023
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 
'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8
| ERROR: oe_runmake failed
| make  all-recursive
| make[1]: Entering directory 
'/home/projects/ccp2-next/oe/build/tmp/work/cortexa8-vfp-ccp-linux-gnueabi/protobuf/3.3.0+gitAUTOINC+a6189acd18-r0/build'
| Making all in .
| make[2]: Entering directory 
'/home/projects/ccp2-next/oe/build/tmp/work/cortexa8-vfp-ccp-linux-gnueabi/protobuf/3.3.0+gitAUTOINC+a6189acd18-r0/build'
| make[2]: Leaving directory 
'/home/projects/ccp2-next/oe/build/tmp/work/cortexa8-vfp-ccp-linux-gnueabi/protobuf/3.3.0+gitAUTOINC+a6189acd18-r0/build'
| Making all in src
| make[2]: Entering directory 
'/home/projects/ccp2-next/oe/build/tmp/work/cortexa8-vfp-ccp-linux-gnueabi/protobuf/3.3.0+gitAUTOINC+a6189acd18-r0/build/src'
| echo -I../../git/src --cpp_out=. ../../git/src/google/protobuf/any_test.proto 
../../git/src/google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto 
../../git/src/google/protobuf/map_lite_unittest.proto 
../../git/src/google/protobuf/map_proto2_unittest.proto 
../../git/src/google/protobuf/map_unittest.proto 
../../git/src/google/protobuf/unittest_arena.proto 
../../git/src/google/protobuf/unittest_custom_options.proto 
../../git/src/google/protobuf/unittest_drop_unknown_fields.proto 
../../git/src/google/protobuf/unittest_embed_optimize_for.proto 
../../git/src/google/protobuf/unittest_empty.proto 
../../git/src/google/protobuf/unittest_enormous_descriptor.proto 
../../git/src/google/protobuf/unittest_import_lite.proto 
../../git/src/google/protobuf/unittest_import.proto 
../../git/src/google/protobuf/unittest_import_public_lite.proto 
../../git/src/google/protobuf/unittest_import_public.proto 
../../git/src/google/protobuf/unittest_lazy_dependencies.proto
../../git/src/google/protobuf/unittest_lazy_dependencies_custom_option.proto 
../../git/src/google/protobuf/unittest_lazy_dependencies_enum.proto 
../../git/src/google/protobuf/unittest_lite_imports_nonlite.proto 
../../git/src/google/protobuf/unittest_lite.proto 
../../git/src/google/protobuf/unittest_mset.proto 
../../git/src/google/protobuf/unittest_mset_wire_format.proto 
../../git/src/google/protobuf/unittest_no_arena_lite.proto 
../../git/src/google/protobuf/unittest_no_arena_import.proto 
../../git/src/google/protobuf/unittest_no_arena.proto 
../../git/src/google/protobuf/unittest_no_field_presence.proto 
../../git/src/google/protobuf/unittest_no_generic_services.proto 
../../git/src/google/protobuf/unittest_optimize_for.proto 
../../git/src/google/protobuf/unittest_preserve_unknown_enum2.proto 
../../git/src/google/protobuf/unittest_preserve_unknown_enum.proto 
../../git/src/google/protobuf/unittest.proto 
../../git/src/google/protobuf/unittest_proto3_arena.proto
../../git/src/google/protobuf/unittest_proto3_arena_lite.proto 
../../git/src/google/protobuf/unittest_proto3_lite.proto 
../../git/src/google/protobuf/unittest_well_known_types.proto 
../../git/src/google/protobuf/util/internal/testdata/anys.proto 
../../git/src/google/protobuf/util/internal/testdata/books.proto 
../../git/src/google/protobuf/util/internal/testdata/default_value.proto 
../../git/src/google/protobuf/util/internal/testdata/default_value_test.proto 
../../git/src/google/protobuf/util/internal/testdata/field_mask.proto 
../../git/src/google/protobuf/util/internal/testdata/maps.proto 
../../git/src/google/protobuf/util/internal/testdata/oneofs.proto 
../../git/src/google/protobuf/util/internal/testdata/proto3.proto 
../../git/src/google/protobuf/util/internal/testdata/struct.proto 
../../git/src/google/protobuf/util/internal/testdata/timestamp_duration.proto 
../../git/src/google/protobuf/util/internal/testdata/wrappers.proto
../../git/src/google/protobuf/util/json_format_proto3.proto 
../../git/src/google/protobuf/util/message_differencer_unittest.proto 
../../git/src/google/protobuf/compiler/cpp/cpp_test_large_enum_value.proto
| -I../../git/src --cpp_out=. ../../git/src/google/protobuf/any_test.proto 
../../git/src/google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto 
../../git/src/google/protobuf/map_lite_unittest.proto 
../../git/src/google/protobuf/map_proto2_unittest.proto 
../../git/src/google/protobuf/map_unittest.proto 
../../git/src/google/protobuf/unittes

[oe] [meta-oe][PATCH] protobuf: update to 3.3.0

2017-05-11 Thread Pascal Bach
With the latest version out of tree builds are broken.

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

diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_3.1.0.bb 
b/meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb
similarity index 88%
rename from meta-oe/recipes-devtools/protobuf/protobuf_3.1.0.bb
rename to meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb
index 18210b1..ce64a88 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_3.1.0.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb
@@ -14,15 +14,15 @@ RDEPENDS_${PN}-dev += "${PN}-compiler"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=35953c752efc9299b184f91bef540095"
 
-SRCREV = "a428e42072765993ff674fda72863c9f1aa2d268"
+SRCREV = "a6189acd18b00611c1dc7042299ad75486f08a1a"
 
-PV = "3.1.0+git${SRCPV}"
+PV = "3.3.0+git${SRCPV}"
 
 SRC_URI = "git://github.com/google/protobuf.git"
 
 EXTRA_OECONF += " --with-protoc=echo"
 
-inherit autotools
+inherit autotools-brokensep
 
 S = "${WORKDIR}/git"
 
-- 
2.1.4

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


[oe] [meta-multimedia][PATCH] miniupnpd: improve recipe

2017-05-10 Thread Pascal Bach
- Produce a clean download tarball
- ./genconfig.sh is not necessary as it is called by make if necessary
- Enable the possible to do vendor configuration in the supplied .conf file


Signed-off-by: Pascal Bach 
---
 meta-multimedia/recipes-connectivity/miniupnpd/miniupnpd_2.0.bb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta-multimedia/recipes-connectivity/miniupnpd/miniupnpd_2.0.bb 
b/meta-multimedia/recipes-connectivity/miniupnpd/miniupnpd_2.0.bb
index bb361a1..c6f36e1 100644
--- a/meta-multimedia/recipes-connectivity/miniupnpd/miniupnpd_2.0.bb
+++ b/meta-multimedia/recipes-connectivity/miniupnpd/miniupnpd_2.0.bb
@@ -11,7 +11,7 @@ inherit autotools gettext pkgconfig
 
 DEPENDS += "iptables net-tools util-linux libmnl libnetfilter-conntrack"
 
-SRC_URI = "http://miniupnp.tuxfamily.org/files/download.php?file=${P}.tar.gz \
+SRC_URI = 
"http://miniupnp.tuxfamily.org/files/download.php?file=${P}.tar.gz;downloadfilename=${P}.tar.gz
 \
 "
 SRC_URI[md5sum] = "1c07a215dd9b362e75a9efc05e2fb3b4"
 SRC_URI[sha256sum] = 
"d96aa3a00e0f5490826bba3cb97e68cd27479e5839adac4b9bcb66eae786bfb7"
@@ -20,8 +20,7 @@ IPV6 = "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 
'--ipv6', '', d)}"
 
 do_compile() {
 cd ${S}
-CONFIG_OPTIONS="${IPV6} --leasefile" ./genconfig.sh
-oe_runmake -f Makefile.linux
+CONFIG_OPTIONS="${IPV6} --leasefile --vendorcfg" oe_runmake -f 
Makefile.linux
 }
 
 do_install() {
-- 
2.1.4

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


[oe] [meta-webserver][PATCH] nginx: use consistent pid file location accross recipe and init scripts

2017-05-10 Thread Pascal Bach
The recipe and the systemd service file use /run/nginx/nginx.pid,
while the sys v init script used /var/run/nginx/nginx.pid

Signed-off-by: Pascal Bach 
---
 meta-webserver/recipes-httpd/nginx/files/nginx.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 mode change 100755 => 100644 
meta-webserver/recipes-httpd/nginx/files/nginx.init

diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx.init 
b/meta-webserver/recipes-httpd/nginx/files/nginx.init
old mode 100755
new mode 100644
index 0f38b9c..1a2bd7d
--- a/meta-webserver/recipes-httpd/nginx/files/nginx.init
+++ b/meta-webserver/recipes-httpd/nginx/files/nginx.init
@@ -3,7 +3,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin
 DAEMON=/usr/sbin/nginx
 NAME=nginx
 DESC=nginx
-PID=/var/run/nginx/nginx.pid
+PID=/run/nginx/nginx.pid
 
 test -x $DAEMON || exit 0
 
-- 
2.1.4

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


[oe] [meta-oe][PATCH] thrift: refactor recipe

2017-04-27 Thread Pascal Bach
- use release tarball instead of git
- move libevent, python and glib into PACKAGECONFIG
- add NOTICE file to copyright check
- split into multiple packages
  - libthrift for libaries
  - thrift-compiler for compiler
  - thrift pulls in everything as before

Signed-off-by: Pascal Bach 
---
 .../recipes-connectivity/thrift/thrift_0.9.3.bb| 47 ++
 1 file changed, 40 insertions(+), 7 deletions(-)

diff --git a/meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb 
b/meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb
index 905e561..9baeed1 100644
--- a/meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb
+++ b/meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb
@@ -3,18 +3,19 @@ DESCRIPTION =  "A software framework, for scalable 
cross-language services devel
 HOMEPAGE = "https://thrift.apache.org/";
 
 LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=e4ed21f679b2aafef26eac82ab0c2cbf"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e4ed21f679b2aafef26eac82ab0c2cbf \
+file://NOTICE;md5=115f49498b66b494b0472658f2bfe80b"
 
-DEPENDS = "thrift-native boost python libevent flex-native bison-native \
-   glib-2.0 openssl"
+DEPENDS = "thrift-native boost flex-native bison-native openssl"
 
-SRC_URI = "git://git-wip-us.apache.org/repos/asf/thrift.git;protocol=https \
+SRC_URI = 
"http://mirror.switch.ch/mirror/apache/dist/thrift/${PV}/${BPN}-${PV}.tar.gz \
file://0001-Forcibly-disable-check-for-Qt5.patch \

file://0001-THRIFT-3828-In-cmake-avoid-use-of-both-quoted-paths-.patch \

file://0002-THRIFT-3831-in-test-cpp-explicitly-use-signed-char.patch \
 "
-SRCREV = "61b8a29b0704ccd81b520f2300f5d1bb261fea3e"
-S = "${WORKDIR}/git"
+
+SRC_URI[md5sum] = "88d667a8ae870d5adeca8cb7d6795442"
+SRC_URI[sha256sum] = 
"b0740a070ac09adde04d43e852ce4c320564a292f26521c46b78e0641564969e"
 
 BBCLASSEXTEND = "native nativesdk"
 
@@ -25,12 +26,44 @@ export STAGING_LIBDIR
 export BUILD_SYS
 export HOST_SYS
 
-EXTRA_OECMAKE = "-DWITH_QT4=OFF -DWITH_QT5=OFF -DBUILD_JAVA=OFF"
+EXTRA_OECMAKE = " \
+-DBUILD_LIBRARIES=ON \
+-DBUILD_COMPILER=ON \
+-DBUILD_TESTING=OFF \
+-DBUILD_EXAMPLES=OFF \
+-DBUILD_TUTORIALS=OFF \
+-DWITH_CPP=ON \
+-DWITH_JAVA=OFF \
+-DWITH_STATIC_LIB=ON \
+-DWITH_SHARED_LIB=ON \
+-DWITH_OPENSSL=ON \
+-DWITH_QT4=OFF \
+-DWITH_QT5=OFF \
+"
+
 EXTRA_OECMAKE_append_class-native = "\
  -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF -DWITH_CPP=OFF"
 EXTRA_OECMAKE_append_class-nativesdk = "\
  -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF -DWITH_PYTHON=OFF"
 
+PACKAGECONFIG ??= "libevent glib python"
+PACKAGECONFIG[libevent] = "-DWITH_LIBEVENT=ON,-DWITH_LIBEVENT=OFF,libevent,"
+PACKAGECONFIG[python] = "-DWITH_PYTHON=ON,-DWITH_PYTHON=OFF,python,"
+PACKAGECONFIG[glib] = "-DWITH_C_GLIB=ON,-DWITH_C_GLIB=OFF,glib-2.0 ,"
+
 do_install_append () {
 ln -sf thrift ${D}/${bindir}/thrift-compiler
 }
+
+LEAD_SONAME = "libthrift.so.${PV}"
+
+# thrift packages
+PACKAGE_BEFORE_PN = "${PN}-compiler lib${BPN}"
+FILES_lib${BPN} = "${libdir}/*.so.*"
+FILES_${PN}-compiler = "${bindir}/*"
+
+# The thrift packages just pulls in some default dependencies but is otherwise 
empty
+RRECOMMENDS_${PN} = "${PN}-compiler lib${BPN}"
+ALLOW_EMPTY_${PN} = "1"
+RRECOMMENDS_${PN}_class-native = ""
+RRECOMMENDS_${PN}_class-nativesdk = ""
-- 
2.1.4

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


[oe] [meta-python][PATCH] python-pytz, python3-pytz: update to 2017.2

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

- License checksum changed due to copyright year update to 2017.
- Source package extension changed form to zip.

Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python-pytz.inc| 7 ---
 .../python/{python-pytz_2016.10.bb => python-pytz_2017.2.bb}   | 0
 .../python/{python3-pytz_2016.10.bb => python3-pytz_2017.2.bb} | 0
 3 files changed, 4 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python-pytz_2016.10.bb => 
python-pytz_2017.2.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-pytz_2016.10.bb => 
python3-pytz_2017.2.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-pytz.inc 
b/meta-python/recipes-devtools/python/python-pytz.inc
index 17ffbfd..1c6564b 100644
--- a/meta-python/recipes-devtools/python/python-pytz.inc
+++ b/meta-python/recipes-devtools/python/python-pytz.inc
@@ -1,12 +1,13 @@
 SUMMARY = "World timezone definitions, modern and historical"
 HOMEPAGE = "http://pythonhosted.org/pytz";
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22b38951eb857cf285a4560a914b7cd6"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=39ea92752a35cf67d8a885d8e3af3c69"
 
 inherit pypi
+PYPI_PACKAGE_EXT = "zip"
 
-SRC_URI[md5sum] = "cc9f16ba436efabdcef3c4d32ae4919c"
-SRC_URI[sha256sum] = 
"9a43e20aa537cfad8fe7a1715165c91cb4a6935d40947f2d070e4c80f2dcd22b"
+SRC_URI[md5sum] = "f89bde8a811c8a1a5bac17eaaa94383c"
+SRC_URI[sha256sum] = 
"f5c056e8f62d45ba8215e5cb8f50dfccb198b4b9fbea8500674f3443e4689589"
 
 RDEPENDS_${PN}_class-target += "\
 ${PYTHON_PN}-datetime \
diff --git a/meta-python/recipes-devtools/python/python-pytz_2016.10.bb 
b/meta-python/recipes-devtools/python/python-pytz_2017.2.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-pytz_2016.10.bb
rename to meta-python/recipes-devtools/python/python-pytz_2017.2.bb
diff --git a/meta-python/recipes-devtools/python/python3-pytz_2016.10.bb 
b/meta-python/recipes-devtools/python/python3-pytz_2017.2.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-pytz_2016.10.bb
rename to meta-python/recipes-devtools/python/python3-pytz_2017.2.bb
-- 
2.1.4

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


[oe] [meta-python][PATCH] python-sqlalchemy, python3-sqlalchemy: update to 1.1.9

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

Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python-sqlalchemy.inc | 4 ++--
 .../python/{python-sqlalchemy_1.1.6.bb => python-sqlalchemy_1.1.9.bb} | 0
 .../{python3-sqlalchemy_1.1.6.bb => python3-sqlalchemy_1.1.9.bb}  | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-sqlalchemy_1.1.6.bb => 
python-sqlalchemy_1.1.9.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-sqlalchemy_1.1.6.bb => 
python3-sqlalchemy_1.1.9.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-sqlalchemy.inc 
b/meta-python/recipes-devtools/python/python-sqlalchemy.inc
index 80816bf..07e70d7 100644
--- a/meta-python/recipes-devtools/python/python-sqlalchemy.inc
+++ b/meta-python/recipes-devtools/python/python-sqlalchemy.inc
@@ -7,8 +7,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=452f4b8adb0feba42e5be5f1fbfbf538"
 PYPI_PACKAGE = "SQLAlchemy"
 inherit pypi
 
-SRC_URI[md5sum] = "cdd2f57967c67e174dd99342111a7db1"
-SRC_URI[sha256sum] = 
"815924e3218d878ddd195d2f9f5bf3d2bb39fabaddb1ea27dace6ac27d9865e4"
+SRC_URI[md5sum] = "938b1e5ca2372c3ec9a586996a3b5653"
+SRC_URI[sha256sum] = 
"b65cdc73cd348448ef0164f6c77d45a9f27ca575d3c5d71ccc33adf684bc6ef0"
 
 RDEPENDS_${PN} += " \
 ${PYTHON_PN}-json \
diff --git a/meta-python/recipes-devtools/python/python-sqlalchemy_1.1.6.bb 
b/meta-python/recipes-devtools/python/python-sqlalchemy_1.1.9.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-sqlalchemy_1.1.6.bb
rename to meta-python/recipes-devtools/python/python-sqlalchemy_1.1.9.bb
diff --git a/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.6.bb 
b/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.9.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.6.bb
rename to meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.9.bb
-- 
2.1.4

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


[oe] [meta-python][PATCH] python-chardet, python3-chardet: update to 3.0.2

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

Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python-chardet.inc| 4 ++--
 .../python/{python-chardet_2.3.0.bb => python-chardet_3.0.2.bb}   | 0
 .../python/{python3-chardet_2.3.0.bb => python3-chardet_3.0.2.bb} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-chardet_2.3.0.bb => 
python-chardet_3.0.2.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-chardet_2.3.0.bb => 
python3-chardet_3.0.2.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-chardet.inc 
b/meta-python/recipes-devtools/python/python-chardet.inc
index 60305e8..42b64a2 100644
--- a/meta-python/recipes-devtools/python/python-chardet.inc
+++ b/meta-python/recipes-devtools/python/python-chardet.inc
@@ -4,5 +4,5 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343"
 
 inherit pypi
 
-SRC_URI[md5sum] = "25274d664ccb5130adae08047416e1a8"
-SRC_URI[sha256sum] = 
"e53e38b3a4afe6d1132de62b7400a4ac363452dc5dfcf8d88e8e0cce663c68aa"
+SRC_URI[md5sum] = "96e364abdbde20b5f6dbbe2ad9d54d04"
+SRC_URI[sha256sum] = 
"4f7832e7c583348a9eddd927ee8514b3bf717c061f57b21dbe7697211454d9bb"
diff --git a/meta-python/recipes-devtools/python/python-chardet_2.3.0.bb 
b/meta-python/recipes-devtools/python/python-chardet_3.0.2.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-chardet_2.3.0.bb
rename to meta-python/recipes-devtools/python/python-chardet_3.0.2.bb
diff --git a/meta-python/recipes-devtools/python/python3-chardet_2.3.0.bb 
b/meta-python/recipes-devtools/python/python3-chardet_3.0.2.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-chardet_2.3.0.bb
rename to meta-python/recipes-devtools/python/python3-chardet_3.0.2.bb
-- 
2.1.4

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


[oe] [meta-oe][PATCH] nodejs: update to 4.8.2

2017-04-24 Thread Pascal Bach
---
 meta-oe/recipes-devtools/nodejs/{nodejs_4.7.3.bb => nodejs_4.8.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-devtools/nodejs/{nodejs_4.7.3.bb => nodejs_4.8.2.bb} 
(96%)

diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_4.7.3.bb 
b/meta-oe/recipes-devtools/nodejs/nodejs_4.8.2.bb
similarity index 96%
rename from meta-oe/recipes-devtools/nodejs/nodejs_4.7.3.bb
rename to meta-oe/recipes-devtools/nodejs/nodejs_4.8.2.bb
index d4166f5..ae84ad3 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_4.7.3.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_4.8.2.bb
@@ -12,8 +12,8 @@ COMPATIBLE_MACHINE_mips64 = "(!.*mips64).*"
 SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \
 file://no-registry.patch \
 "
-SRC_URI[md5sum] = "80db1fad0224f6f44a630ef4abea333a"
-SRC_URI[sha256sum] = 
"7f35dc7adf0b348857b98e543a54c2b2cafb92c27d9d32799a81ac66cbf035f0"
+SRC_URI[md5sum] = "aea6139f952bb7e1d66f76afedee813c"
+SRC_URI[sha256sum] = 
"b961350b8490c791bdd3663925662ba0fbe01e004b43f1c2779baffcc816b930"
 
 S = "${WORKDIR}/node-v${PV}"
 
-- 
2.1.4

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


[oe] [meta-python][PATCH 2/2] python3-pytest-runner: make available for both Python 2 & 3

2017-04-21 Thread Pascal Bach
Signed-off-by: Pascal Bach 
---
 .../recipes-devtools/python/python-pytest-runner.inc| 17 +
 .../python/python-pytest-runner_2.11.1.bb   | 17 -
 .../python/python3-pytest-runner_2.11.1.bb  |  2 ++
 3 files changed, 23 insertions(+), 13 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-pytest-runner.inc
 create mode 100644 
meta-python/recipes-devtools/python/python3-pytest-runner_2.11.1.bb

diff --git a/meta-python/recipes-devtools/python/python-pytest-runner.inc 
b/meta-python/recipes-devtools/python/python-pytest-runner.inc
new file mode 100644
index 000..85a8de1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pytest-runner.inc
@@ -0,0 +1,17 @@
+SUMMARY = "Invoke py.test as distutils command with dependency resolution"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e38b971c2b4c33b978d1b9c9ece9ae63"
+
+SRC_URI[md5sum] = "bdb73eb18eca2727944a2dcf963c5a81"
+SRC_URI[sha256sum] = 
"983a31eab45e375240e250161a556163bc8d250edaba97960909338c273a89b3"
+
+
+inherit pypi
+
+DEPENDS += " \
+${PYTHON_PN}-setuptools-scm-native"
+
+RDEPENDS_${PN} = "${PYTHON_PN}-py ${PYTHON_PN}-setuptools 
${PYTHON_PN}-argparse ${PYTHON_PN}-debugger ${PYTHON_PN}-json \
+  ${PYTHON_PN}-io"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-pytest-runner_2.11.1.bb 
b/meta-python/recipes-devtools/python/python-pytest-runner_2.11.1.bb
index 188ef2b..0a5055c 100644
--- a/meta-python/recipes-devtools/python/python-pytest-runner_2.11.1.bb
+++ b/meta-python/recipes-devtools/python/python-pytest-runner_2.11.1.bb
@@ -1,14 +1,5 @@
-SUMMARY = "Invoke py.test as distutils command with dependency resolution"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=e38b971c2b4c33b978d1b9c9ece9ae63"
+inherit setuptools
+require python-pytest-runner.inc
 
-SRC_URI[md5sum] = "bdb73eb18eca2727944a2dcf963c5a81"
-SRC_URI[sha256sum] = 
"983a31eab45e375240e250161a556163bc8d250edaba97960909338c273a89b3"
-
-DEPENDS += " \
-python-setuptools-scm"
-
-RDEPENDS_${PN} = "python-py python-setuptools python-argparse python-debugger 
python-json \
-  python-compiler python-io"
-
-inherit pypi setuptools
+# Dependency only exists for python2
+RDEPENDS_${PN} += "python-compiler"
diff --git 
a/meta-python/recipes-devtools/python/python3-pytest-runner_2.11.1.bb 
b/meta-python/recipes-devtools/python/python3-pytest-runner_2.11.1.bb
new file mode 100644
index 000..df56ba6
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pytest-runner_2.11.1.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-pytest-runner.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 1/2] python3-setuptools-scm: make version available for both Python 2 & 3

2017-04-21 Thread Pascal Bach
Signed-off-by: Pascal Bach 
---
 .../recipes-devtools/python/python-setuptools-scm.inc   | 14 ++
 .../python/python-setuptools-scm_1.15.0.bb  | 17 ++---
 .../python/python3-setuptools-scm_1.15.0.bb |  2 ++
 3 files changed, 18 insertions(+), 15 deletions(-)
 create mode 100644 
meta-python/recipes-devtools/python/python-setuptools-scm.inc
 create mode 100644 
meta-python/recipes-devtools/python/python3-setuptools-scm_1.15.0.bb

diff --git a/meta-python/recipes-devtools/python/python-setuptools-scm.inc 
b/meta-python/recipes-devtools/python/python-setuptools-scm.inc
new file mode 100644
index 000..3249870
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-setuptools-scm.inc
@@ -0,0 +1,14 @@
+SUMMARY = "the blessed package to manage your versions by scm tags"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2"
+
+SRC_URI[md5sum] = "b6916c78ed6253d6602444fad4279c5b"
+SRC_URI[sha256sum] = 
"daf12d05aa2155a46aa357453757ffdc47d87f839e62114f042bceac6a619e2f"
+
+PYPI_PACKAGE = "setuptools_scm"
+inherit pypi
+
+RDEPENDS_${PN}_class-target = "${PYTHON_PN}-py ${PYTHON_PN}-setuptools 
${PYTHON_PN}-argparse ${PYTHON_PN}-debugger ${PYTHON_PN}-json"
+RDEPENDS_${PN}_class-native = "${PYTHON_PN}-setuptools-native"
+
+BBCLASSEXTEND = "native"
diff --git 
a/meta-python/recipes-devtools/python/python-setuptools-scm_1.15.0.bb 
b/meta-python/recipes-devtools/python/python-setuptools-scm_1.15.0.bb
index 08008ce..5f9bb0b 100644
--- a/meta-python/recipes-devtools/python/python-setuptools-scm_1.15.0.bb
+++ b/meta-python/recipes-devtools/python/python-setuptools-scm_1.15.0.bb
@@ -1,15 +1,2 @@
-SUMMARY = "the blessed package to manage your versions by scm tags"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2"
-
-SRC_URI[md5sum] = "b6916c78ed6253d6602444fad4279c5b"
-SRC_URI[sha256sum] = 
"daf12d05aa2155a46aa357453757ffdc47d87f839e62114f042bceac6a619e2f"
-
-PYPI_PACKAGE = "setuptools_scm"
-
-RDEPENDS_${PN}_class-target = "python-py python-setuptools python-argparse 
python-debugger python-json"
-RDEPENDS_${PN}_class-native = "python-setuptools-native"
-
-BBCLASSEXTEND = "native"
-
-inherit pypi setuptools
+inherit setuptools
+require python-setuptools-scm.inc
diff --git 
a/meta-python/recipes-devtools/python/python3-setuptools-scm_1.15.0.bb 
b/meta-python/recipes-devtools/python/python3-setuptools-scm_1.15.0.bb
new file mode 100644
index 000..5bf5983
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-setuptools-scm_1.15.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-setuptools-scm.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] python-paho-mqtt: make recipe available as python3 version

2017-04-06 Thread Pascal Bach
Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python-paho-mqtt.inc | 14 ++
 .../recipes-devtools/python/python-paho-mqtt_1.2.bb  | 16 ++--
 .../recipes-devtools/python/python3-paho-mqtt_1.2.bb |  3 +++
 3 files changed, 19 insertions(+), 14 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-paho-mqtt.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-paho-mqtt_1.2.bb

diff --git a/meta-python/recipes-devtools/python/python-paho-mqtt.inc 
b/meta-python/recipes-devtools/python/python-paho-mqtt.inc
new file mode 100644
index 000..7ff3fb2
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-paho-mqtt.inc
@@ -0,0 +1,14 @@
+SUMMARY = "MQTT version 3.1/3.1.1 client library"
+LICENSE = "EPL-1.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eb48c6ee2cb9f5b8b9fe75e6f817bdfc"
+SRCNAME = "paho-mqtt"
+
+inherit pypi
+SRC_URI[md5sum] = "241150b3fcb920ddca4d33181f3238b1"
+SRC_URI[sha256sum] = 
"9100a6aa706ab699d414ec02705a21eb66f436184691d0bf1f2a85a6213c6c1f"
+
+RDEPENDS_${PN} = "\
+   ${PYTHON_PN}-math \
+   ${PYTHON_PN}-io \
+   ${PYTHON_PN}-threading \
+"
diff --git a/meta-python/recipes-devtools/python/python-paho-mqtt_1.2.bb 
b/meta-python/recipes-devtools/python/python-paho-mqtt_1.2.bb
index c8acfc5..f369b2e 100644
--- a/meta-python/recipes-devtools/python/python-paho-mqtt_1.2.bb
+++ b/meta-python/recipes-devtools/python/python-paho-mqtt_1.2.bb
@@ -1,15 +1,3 @@
-SUMMARY = "MQTT version 3.1/3.1.1 client library"
-LICENSE = "EPL-1.0"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eb48c6ee2cb9f5b8b9fe75e6f817bdfc"
-SRCNAME = "paho-mqtt"
+inherit setuptools
+require python-paho-mqtt.inc
 
-inherit pypi setuptools
-
-RDEPENDS_${PN} = "\
-   python-math \
-   python-io \
-   python-threading \
-"
-
-SRC_URI[md5sum] = "241150b3fcb920ddca4d33181f3238b1"
-SRC_URI[sha256sum] = 
"9100a6aa706ab699d414ec02705a21eb66f436184691d0bf1f2a85a6213c6c1f"
diff --git a/meta-python/recipes-devtools/python/python3-paho-mqtt_1.2.bb 
b/meta-python/recipes-devtools/python/python3-paho-mqtt_1.2.bb
new file mode 100644
index 000..4981e61
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-paho-mqtt_1.2.bb
@@ -0,0 +1,3 @@
+inherit setuptools3
+require python-paho-mqtt.inc
+
-- 
2.1.4

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


[oe] [meta-webserver][PATCH 1/2] nginx: set sane defaults for temp directories

2017-03-21 Thread Pascal Bach
Currently the build directiories en up in /usr/*_temp which is not what most
users will expect. This changes the default location to /tmp/nginx/*_tmp.

The location can still be overridden in the nginx.conf file.

Signed-off-by: Pascal Bach 
---
 meta-webserver/recipes-httpd/nginx/nginx.inc | 5 +
 1 file changed, 5 insertions(+)

diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc 
b/meta-webserver/recipes-httpd/nginx/nginx.inc
index e4e5f63..7f83937 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -63,6 +63,11 @@ do_configure () {
 --conf-path=${sysconfdir}/nginx/nginx.conf \
 --http-log-path=${localstatedir}/log/nginx/access.log \
 --error-log-path=${localstatedir}/log/nginx/error.log \
+--http-client-body-temp-path=/run/nginx/client_body_temp \
+--http-proxy-temp-path=/run/nginx/proxy_temp \
+--http-fastcgi-temp-path=/run/nginx/fastcgi_temp \
+--http-uwsgi-temp-path=/run/nginx/uwsgi_temp \
+--http-scgi-temp-path=/run/nginx/scgi_temp \
 --pid-path=/run/nginx/nginx.pid \
 --prefix=${prefix} \
 --with-http_ssl_module \
-- 
2.1.4

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


[oe] [meta-webserver][PATCH 2/2] nginx: make sure the user is correctly set for the volatile directories

2017-03-21 Thread Pascal Bach
Signed-off-by: Pascal Bach 
---
 meta-webserver/recipes-httpd/nginx/files/nginx-volatile.conf | 2 +-
 meta-webserver/recipes-httpd/nginx/nginx.inc | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx-volatile.conf 
b/meta-webserver/recipes-httpd/nginx/files/nginx-volatile.conf
index 93f3c66..472fde1 100644
--- a/meta-webserver/recipes-httpd/nginx/files/nginx-volatile.conf
+++ b/meta-webserver/recipes-httpd/nginx/files/nginx-volatile.conf
@@ -1,2 +1,2 @@
-d www www-data 0755 /run/nginx none
+d @NGINX_USER@ www-data 0755 /run/nginx none
 d root root 0755 /var/log/nginx none
diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc 
b/meta-webserver/recipes-httpd/nginx/nginx.inc
index 7f83937..f98f299 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -105,6 +105,7 @@ do_install () {
 install -d ${D}${sysconfdir}/default/volatiles
 install -m 0644 ${WORKDIR}/nginx-volatile.conf 
${D}${sysconfdir}/default/volatiles/99_nginx
 sed -i 's,/var/,${localstatedir}/,g' 
${D}${sysconfdir}/default/volatiles/99_nginx
+sed -i 's,@NGINX_USER@,${NGINX_USER},g' 
${D}${sysconfdir}/default/volatiles/99_nginx
 
 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)};then
 install -d ${D}${systemd_unitdir}/system
-- 
2.1.4

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


[oe] [meta-webserver][PATCH] nginx: make user in nginx.conf consistent with the default value

2017-03-16 Thread Pascal Bach
It gets replaces with the real NGINX_USER anyway, but it confuses people
that there is a different value by default. So just make it the same as the
default NGINX_USER

Signed-off-by: Pascal Bach 
---
 meta-webserver/recipes-httpd/nginx/files/nginx.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx.conf 
b/meta-webserver/recipes-httpd/nginx/files/nginx.conf
index fb7e4b6..69d3a2a 100644
--- a/meta-webserver/recipes-httpd/nginx/files/nginx.conf
+++ b/meta-webserver/recipes-httpd/nginx/files/nginx.conf
@@ -1,5 +1,5 @@
 
-user  www-data;
+user  www;
 worker_processes  1;
 
 error_log  /var/log/nginx/error.log;
-- 
2.1.4

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


[oe] [meta-python][PATCH] libcec: update to version 4.0.1 and provide package for python3 wrapper

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

Signed-off-by: Pascal Bach 
---
 .../libcec/files/python-install-location.patch | 28 ++
 meta-oe/recipes-extended/libcec/libcec_git.bb  | 15 ++--
 2 files changed, 36 insertions(+), 7 deletions(-)
 create mode 100644 
meta-oe/recipes-extended/libcec/files/python-install-location.patch

diff --git 
a/meta-oe/recipes-extended/libcec/files/python-install-location.patch 
b/meta-oe/recipes-extended/libcec/files/python-install-location.patch
new file mode 100644
index 000..b6be78d
--- /dev/null
+++ b/meta-oe/recipes-extended/libcec/files/python-install-location.patch
@@ -0,0 +1,28 @@
+From 330fa6777d51d41eefacff8e98e4250d210fde35 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Javi=20Mart=C3=ADnez?= 
+Date: Tue, 13 Dec 2016 22:31:13 +0100
+Subject: [PATCH] Improve/fix installation of Python bindings
+
+Upstream-Status: Backport
+
+dist-packages is a Debian-specific directory for distribution packages (and 
used in derivatives such as Ubuntu). Therefore changed to site-packages.
+---
+ src/libcec/cmake/CheckPlatformSupport.cmake | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/libcec/cmake/CheckPlatformSupport.cmake 
b/src/libcec/cmake/CheckPlatformSupport.cmake
+index fcd0ef7..7661107 100644
+--- a/src/libcec/cmake/CheckPlatformSupport.cmake
 b/src/libcec/cmake/CheckPlatformSupport.cmake
+@@ -195,9 +195,9 @@ else()
+   RENAME  __init__.py)
+ else()
+   install(TARGETS ${SWIG_MODULE_cec_REAL_NAME}
+-  DESTINATION lib/python${PYTHON_VERSION}/dist-packages/cec)
++  DESTINATION lib/python${PYTHON_VERSION}/site-packages/cec)
+   install(FILES   ${CMAKE_BINARY_DIR}/src/libcec/cec.py
+-  DESTINATION lib/python${PYTHON_VERSION}/dist-packages/cec
++  DESTINATION lib/python${PYTHON_VERSION}/site-packages/cec
+   RENAME  __init__.py)
+ endif()
+   endif()
diff --git a/meta-oe/recipes-extended/libcec/libcec_git.bb 
b/meta-oe/recipes-extended/libcec/libcec_git.bb
index 0ce7ea1..cb65caa 100644
--- a/meta-oe/recipes-extended/libcec/libcec_git.bb
+++ b/meta-oe/recipes-extended/libcec/libcec_git.bb
@@ -4,23 +4,24 @@ HOMEPAGE = "http://libcec.pulse-eight.com/";
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e61fd86f9c947b430126181da2c6c715"
 
-DEPENDS = "p8platform udev lockdev ncurses"
+DEPENDS = "p8platform udev lockdev ncurses swig-native python3"
 
 DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11 libxrandr', 
'', d)}"
 DEPENDS_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 
'', ' userland', d)}"
 
-PV = "3.1.0+gitr${SRCPV}"
+PV = "4.0.1+gitr${SRCPV}"
 
-SRCREV = "6d68d21243aa92862592435e8396b4280ea46c3f"
-SRC_URI = "git://github.com/Pulse-Eight/libcec.git"
+SRCREV = "2fc92b5f02dca702da92ccc5ed7b805b240ef5df"
+SRC_URI = "git://github.com/Pulse-Eight/libcec.git \
+   file://python-install-location.patch"
 
 S = "${WORKDIR}/git"
 
 inherit cmake pkgconfig
 
-# Disable python wrapper, it doesn't have crosscompiles
-EXTRA_OECMAKE = "-DCMAKE_INSTALL_LIBDIR=${libdir} 
-DCMAKE_INSTALL_LIBDIR_NOARCH=${libdir} \
- -DSKIP_PYTHON_WRAPPER=1"
+# Create the wrapper for python3
+PACKAGES += "python3-${BPN}"
+FILES_python3-${BPN} = "${libdir}/python3*"
 
 # cec-client and xbmc need the .so present to work :(
 FILES_${PN} += "${libdir}/*.so"
-- 
2.1.4

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


[oe] [meta-python][PATCH] python-pytz: update to 2016.10

2017-01-30 Thread Pascal Bach
From: Pascal Bach 

Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python-pytz.inc   | 4 ++--
 .../python/{python-pytz_2016.7.bb => python-pytz_2016.10.bb}  | 0
 .../python/{python3-pytz_2016.7.bb => python3-pytz_2016.10.bb}| 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-pytz_2016.7.bb => 
python-pytz_2016.10.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-pytz_2016.7.bb => 
python3-pytz_2016.10.bb} (100%)
 mode change 100644 => 100755

diff --git a/meta-python/recipes-devtools/python/python-pytz.inc 
b/meta-python/recipes-devtools/python/python-pytz.inc
index 73106da..17ffbfd 100644
--- a/meta-python/recipes-devtools/python/python-pytz.inc
+++ b/meta-python/recipes-devtools/python/python-pytz.inc
@@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.txt;md5=22b38951eb857cf285a4560a914b7cd6"
 
 inherit pypi
 
-SRC_URI[md5sum] = "8660ba7c3c0abd23e6e4efa493b02966"
-SRC_URI[sha256sum] = 
"8787de03f35f31699bcaf127e56ad14c00647965ed24d72dbaca87c6e4f843a3"
+SRC_URI[md5sum] = "cc9f16ba436efabdcef3c4d32ae4919c"
+SRC_URI[sha256sum] = 
"9a43e20aa537cfad8fe7a1715165c91cb4a6935d40947f2d070e4c80f2dcd22b"
 
 RDEPENDS_${PN}_class-target += "\
 ${PYTHON_PN}-datetime \
diff --git a/meta-python/recipes-devtools/python/python-pytz_2016.7.bb 
b/meta-python/recipes-devtools/python/python-pytz_2016.10.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-pytz_2016.7.bb
rename to meta-python/recipes-devtools/python/python-pytz_2016.10.bb
diff --git a/meta-python/recipes-devtools/python/python3-pytz_2016.7.bb 
b/meta-python/recipes-devtools/python/python3-pytz_2016.10.bb
old mode 100644
new mode 100755
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-pytz_2016.7.bb
rename to meta-python/recipes-devtools/python/python3-pytz_2016.10.bb
-- 
2.1.4

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


[oe] [meta-python][PATCH] python-pyyaml: add dependency on python

2017-01-30 Thread Pascal Bach
From: Pascal Bach 

Python is required in order to build the cython parts.

Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python-pyyaml.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python-pyyaml.inc 
b/meta-python/recipes-devtools/python/python-pyyaml.inc
index 41321ca..a3cf677 100644
--- a/meta-python/recipes-devtools/python/python-pyyaml.inc
+++ b/meta-python/recipes-devtools/python/python-pyyaml.inc
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.pyyaml.org";
 SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=6015f088759b10e0bc2bf64898d4ae17"
-DEPENDS = "libyaml ${PYTHON_PN}-cython-native"
+DEPENDS = "libyaml ${PYTHON_PN}-cython-native ${PYTHON_PN}"
 
 PYPI_PACKAGE = "PyYAML"
 inherit pypi
-- 
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-multidict: make repeated builds work even without sphinx

2017-01-30 Thread Pascal Bach
From: Pascal Bach 

Make clean was implicitly calling sphinx which lead to errors.

Signed-off-by: Pascal Bach 
---
 ...w-calling-make-clean-without-sphinx-build.patch | 34 ++
 .../python/python3-multidict_2.1.4.bb  |  2 ++
 2 files changed, 36 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-multidict/0001-Allow-calling-make-clean-without-sphinx-build.patch

diff --git 
a/meta-python/recipes-devtools/python/python3-multidict/0001-Allow-calling-make-clean-without-sphinx-build.patch
 
b/meta-python/recipes-devtools/python/python3-multidict/0001-Allow-calling-make-clean-without-sphinx-build.patch
new file mode 100644
index 000..d1d7ef5
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python3-multidict/0001-Allow-calling-make-clean-without-sphinx-build.patch
@@ -0,0 +1,34 @@
+From 39e13b4e3f7a1d1dd748e80cee241d511865d4e8 Mon Sep 17 00:00:00 2001
+From: Pascal Bach 
+Date: Mon, 16 Jan 2017 21:29:12 +0100
+Subject: [PATCH] Allow calling make clean without sphinx-build
+
+Currently make clean fails without sphinx-build installed
+However sphinx-build is not really necessary to do a clean.
+This trick makes the docs/Makefile use the false binary instead of
+sphinx-build for the check when a clean is done.
+
+Upstream-Status: Submitted https://github.com/aio-libs/multidict/pull/41
+
+---
+ Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 8f525f3..6d601e5 100644
+--- a/Makefile
 b/Makefile
+@@ -51,8 +51,8 @@ clean:
+   rm -rf coverage
+   rm -rf build
+   rm -rf cover
+-  make -C docs clean
+-  python setup.py clean
++  make -C docs clean SPHINXBUILD=false
++  python3 setup.py clean
+   rm -f multidict/_multidict.html
+   rm -f multidict/_multidict.c
+   rm -f multidict/_multidict.*.so
+-- 
+2.7.4
+
diff --git a/meta-python/recipes-devtools/python/python3-multidict_2.1.4.bb 
b/meta-python/recipes-devtools/python/python3-multidict_2.1.4.bb
index 4a36a3d..62895d2 100644
--- a/meta-python/recipes-devtools/python/python3-multidict_2.1.4.bb
+++ b/meta-python/recipes-devtools/python/python3-multidict_2.1.4.bb
@@ -5,5 +5,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
 
 inherit pypi setuptools3
 
+SRC_URI += "file://0001-Allow-calling-make-clean-without-sphinx-build.patch"
+
 SRC_URI[md5sum] = "051d92edec87fd98e43ea83f3ce6072d"
 SRC_URI[sha256sum] = 
"a77aa8c9f68846c3b5db43ff8ed2a7a884dbe845d01f55113a3fba78518c4cd7"
-- 
2.1.4

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


[oe] [meta-oe][PATCH] poco: update to 1.7.7

2017-01-09 Thread Pascal Bach
Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-support/poco/{poco_1.7.5.bb => poco_1.7.7.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/poco/{poco_1.7.5.bb => poco_1.7.7.bb} (98%)

diff --git a/meta-oe/recipes-support/poco/poco_1.7.5.bb 
b/meta-oe/recipes-support/poco/poco_1.7.7.bb
similarity index 98%
rename from meta-oe/recipes-support/poco/poco_1.7.5.bb
rename to meta-oe/recipes-support/poco/poco_1.7.7.bb
index 2cab796..e2d3be8 100644
--- a/meta-oe/recipes-support/poco/poco_1.7.5.bb
+++ b/meta-oe/recipes-support/poco/poco_1.7.7.bb
@@ -12,7 +12,7 @@ inherit cmake ptest
 
 BBCLASSEXTEND = "native"
 
-SRCREV = "7dfdcfb70d75ccdaaf2b43fa0b23f82599aebec3"
+SRCREV = "e98adba2c298b4179e77237873d3fbc53876c528"
 SRC_URI = " \
 git://github.com/pocoproject/poco.git \
 file://run-ptest \
-- 
2.1.4

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


[oe] [meta-python][PATCH] python-sqlalchemy: update to 1.1.4 and provide python2 and python3 package

2017-01-09 Thread Pascal Bach
From: Pascal Bach 

The license hash change is due to a bump in the copyright year

Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python-sqlalchemy.inc  | 13 +
 .../recipes-devtools/python/python-sqlalchemy_0.7.9.bb | 14 --
 .../recipes-devtools/python/python-sqlalchemy_1.1.4.bb |  2 ++
 .../recipes-devtools/python/python3-sqlalchemy_1.1.4.bb|  2 ++
 4 files changed, 17 insertions(+), 14 deletions(-)
 create mode 100755 meta-python/recipes-devtools/python/python-sqlalchemy.inc
 delete mode 100644 
meta-python/recipes-devtools/python/python-sqlalchemy_0.7.9.bb
 create mode 100755 
meta-python/recipes-devtools/python/python-sqlalchemy_1.1.4.bb
 create mode 100755 
meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.4.bb

diff --git a/meta-python/recipes-devtools/python/python-sqlalchemy.inc 
b/meta-python/recipes-devtools/python/python-sqlalchemy.inc
new file mode 100755
index 000..471c109
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-sqlalchemy.inc
@@ -0,0 +1,13 @@
+DESCRIPTION = "Python SQL toolkit and Object Relational Mapper that gives \
+application developers the full power and flexibility of SQL"
+HOMEPAGE = "http://www.sqlalchemy.org/";
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d7dba1721bc8ce05d421f7279cb87971"
+
+PYPI_PACKAGE = "SQLAlchemy"
+inherit pypi
+
+SRC_URI[md5sum] = "be5af1bebe595206b71b513a14836e4f"
+SRC_URI[sha256sum] = 
"701b57d628b9fa1cfb82f10665e7214d5d2db23251ca6f23b91c5f56fcdbdeb5"
+
+RDEPENDS_${PN} += "${PYTHON_PN}-numbers"
diff --git a/meta-python/recipes-devtools/python/python-sqlalchemy_0.7.9.bb 
b/meta-python/recipes-devtools/python/python-sqlalchemy_0.7.9.bb
deleted file mode 100644
index 43b4b7e..000
--- a/meta-python/recipes-devtools/python/python-sqlalchemy_0.7.9.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-DESCRIPTION = "Python SQL toolkit and Object Relational Mapper that gives \
-application developers the full power and flexibility of SQL"
-HOMEPAGE = "http://www.sqlalchemy.org/";
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=baffc5e5f4804c92fc9be155fed70d41"
-RDEPENDS_${PN} += "python-numbers"
-
-SRCNAME = "SQLAlchemy"
-SRC_URI = "${SOURCEFORGE_MIRROR}/sqlalchemy/${SRCNAME}-${PV}.tar.gz"
-SRC_URI[md5sum] = "c4852d586d95a59fbc9358f4467875d5"
-SRC_URI[sha256sum] = 
"f7a305ad122144f364ce09a2d9ed5159d5f46ec43650653593e7dfa05d3294a1"
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-inherit setuptools
diff --git a/meta-python/recipes-devtools/python/python-sqlalchemy_1.1.4.bb 
b/meta-python/recipes-devtools/python/python-sqlalchemy_1.1.4.bb
new file mode 100755
index 000..53c8fec
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-sqlalchemy_1.1.4.bb
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-sqlalchemy.inc
diff --git a/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.4.bb 
b/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.4.bb
new file mode 100755
index 000..86cf9ed
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.4.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-sqlalchemy.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] python-pytz: provide native and nativesdk version for pytz

2017-01-09 Thread Pascal Bach
From: Pascal Bach 

This allows it to be used during build in the setup.py of a package.
Like for example done in the astral PyPi package.

Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python-pytz.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python-pytz.inc 
b/meta-python/recipes-devtools/python/python-pytz.inc
index 19be2c7..73106da 100755
--- a/meta-python/recipes-devtools/python/python-pytz.inc
+++ b/meta-python/recipes-devtools/python/python-pytz.inc
@@ -8,8 +8,10 @@ inherit pypi
 SRC_URI[md5sum] = "8660ba7c3c0abd23e6e4efa493b02966"
 SRC_URI[sha256sum] = 
"8787de03f35f31699bcaf127e56ad14c00647965ed24d72dbaca87c6e4f843a3"
 
-RDEPENDS_${PN} += "\
+RDEPENDS_${PN}_class-target += "\
 ${PYTHON_PN}-datetime \
 ${PYTHON_PN}-io \
 ${PYTHON_PN}-threading \
 "
+
+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-python][PATCH 2/4] python-pytz: provide both python2 and python3 packages

2017-01-05 Thread Pascal Bach
From: Pascal Bach 

Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python-pytz.inc | 15 +++
 .../recipes-devtools/python/python-pytz_2016.7.bb   | 17 ++---
 .../recipes-devtools/python/python3-pytz_2016.7.bb  |  2 ++
 3 files changed, 19 insertions(+), 15 deletions(-)
 create mode 100755 meta-python/recipes-devtools/python/python-pytz.inc
 mode change 100644 => 100755 
meta-python/recipes-devtools/python/python-pytz_2016.7.bb
 create mode 100755 meta-python/recipes-devtools/python/python3-pytz_2016.7.bb

diff --git a/meta-python/recipes-devtools/python/python-pytz.inc 
b/meta-python/recipes-devtools/python/python-pytz.inc
new file mode 100755
index 000..19be2c7
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pytz.inc
@@ -0,0 +1,15 @@
+SUMMARY = "World timezone definitions, modern and historical"
+HOMEPAGE = "http://pythonhosted.org/pytz";
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22b38951eb857cf285a4560a914b7cd6"
+
+inherit pypi
+
+SRC_URI[md5sum] = "8660ba7c3c0abd23e6e4efa493b02966"
+SRC_URI[sha256sum] = 
"8787de03f35f31699bcaf127e56ad14c00647965ed24d72dbaca87c6e4f843a3"
+
+RDEPENDS_${PN} += "\
+${PYTHON_PN}-datetime \
+${PYTHON_PN}-io \
+${PYTHON_PN}-threading \
+"
diff --git a/meta-python/recipes-devtools/python/python-pytz_2016.7.bb 
b/meta-python/recipes-devtools/python/python-pytz_2016.7.bb
old mode 100644
new mode 100755
index 508fd3b..f2ffc59
--- a/meta-python/recipes-devtools/python/python-pytz_2016.7.bb
+++ b/meta-python/recipes-devtools/python/python-pytz_2016.7.bb
@@ -1,15 +1,2 @@
-SUMMARY = "World timezone definitions, modern and historical"
-HOMEPAGE = " http://pythonhosted.org/pytz";
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22b38951eb857cf285a4560a914b7cd6"
-
-SRC_URI[md5sum] = "8660ba7c3c0abd23e6e4efa493b02966"
-SRC_URI[sha256sum] = 
"8787de03f35f31699bcaf127e56ad14c00647965ed24d72dbaca87c6e4f843a3"
-
-inherit pypi setuptools
-
-RDEPENDS_${PN} += "\
-${PYTHON_PN}-datetime \
-${PYTHON_PN}-io \
-${PYTHON_PN}-threading \
-"
+inherit setuptools
+require python-pytz.inc
diff --git a/meta-python/recipes-devtools/python/python3-pytz_2016.7.bb 
b/meta-python/recipes-devtools/python/python3-pytz_2016.7.bb
new file mode 100755
index 000..19a89dc
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pytz_2016.7.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-pytz.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 1/4] python-chardet: provide both python2 and python3 packages

2017-01-05 Thread Pascal Bach
From: Pascal Bach 

Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python-chardet.inc   |  8 
 meta-python/recipes-devtools/python/python-chardet_2.3.0.bb  | 10 ++
 meta-python/recipes-devtools/python/python3-chardet_2.3.0.bb |  2 ++
 3 files changed, 12 insertions(+), 8 deletions(-)
 create mode 100755 meta-python/recipes-devtools/python/python-chardet.inc
 mode change 100644 => 100755 
meta-python/recipes-devtools/python/python-chardet_2.3.0.bb
 create mode 100755 meta-python/recipes-devtools/python/python3-chardet_2.3.0.bb

diff --git a/meta-python/recipes-devtools/python/python-chardet.inc 
b/meta-python/recipes-devtools/python/python-chardet.inc
new file mode 100755
index 000..60305e8
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-chardet.inc
@@ -0,0 +1,8 @@
+SUMMARY = "Universal encoding detector for Python 2 and 3"
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343"
+
+inherit pypi
+
+SRC_URI[md5sum] = "25274d664ccb5130adae08047416e1a8"
+SRC_URI[sha256sum] = 
"e53e38b3a4afe6d1132de62b7400a4ac363452dc5dfcf8d88e8e0cce663c68aa"
diff --git a/meta-python/recipes-devtools/python/python-chardet_2.3.0.bb 
b/meta-python/recipes-devtools/python/python-chardet_2.3.0.bb
old mode 100644
new mode 100755
index dfc979b..b7a46e9
--- a/meta-python/recipes-devtools/python/python-chardet_2.3.0.bb
+++ b/meta-python/recipes-devtools/python/python-chardet_2.3.0.bb
@@ -1,8 +1,2 @@
-SUMMARY = "Universal encoding detector for Python 2 and 3"
-LICENSE = "LGPLv2.1"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343"
-
-SRC_URI[md5sum] = "25274d664ccb5130adae08047416e1a8"
-SRC_URI[sha256sum] = 
"e53e38b3a4afe6d1132de62b7400a4ac363452dc5dfcf8d88e8e0cce663c68aa"
-
-inherit pypi setuptools
+inherit setuptools
+require python-chardet.inc
diff --git a/meta-python/recipes-devtools/python/python3-chardet_2.3.0.bb 
b/meta-python/recipes-devtools/python/python3-chardet_2.3.0.bb
new file mode 100755
index 000..038043c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-chardet_2.3.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-chardet.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 4/4] python3-multidict: add package for multidict

2017-01-05 Thread Pascal Bach
From: Pascal Bach 

This package is Python 3 only

Signed-off-by: Pascal Bach 
---
 meta-python/recipes-devtools/python/python3-multidict_2.1.4.bb | 9 +
 1 file changed, 9 insertions(+)
 create mode 100755 
meta-python/recipes-devtools/python/python3-multidict_2.1.4.bb

diff --git a/meta-python/recipes-devtools/python/python3-multidict_2.1.4.bb 
b/meta-python/recipes-devtools/python/python3-multidict_2.1.4.bb
new file mode 100755
index 000..4a36a3d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-multidict_2.1.4.bb
@@ -0,0 +1,9 @@
+SUMMARY = "Multidicts are useful for working with HTTP headers, URL query args 
etc."
+HOMEPAGE = "https://github.com/aio-libs/multidict/";
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
+
+inherit pypi setuptools3
+
+SRC_URI[md5sum] = "051d92edec87fd98e43ea83f3ce6072d"
+SRC_URI[sha256sum] = 
"a77aa8c9f68846c3b5db43ff8ed2a7a884dbe845d01f55113a3fba78518c4cd7"
-- 
2.1.4

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


[oe] [meta-python][PATCH 3/4] python-yaml: provide both python2 and python3 package

2017-01-05 Thread Pascal Bach
From: Pascal Bach 

Further the recipe is simplified by using the pypi and setuptools class.
The custom setup.py is no onger necessary.

Signed-off-by: Pascal Bach 
---
 .../recipes-devtools/python/python-pyyaml.inc  | 14 +
 .../recipes-devtools/python/python-pyyaml/setup.py | 64 --
 .../recipes-devtools/python/python-pyyaml_3.12.bb  | 26 +
 .../recipes-devtools/python/python3-pyyaml_3.12.bb |  2 +
 4 files changed, 18 insertions(+), 88 deletions(-)
 create mode 100755 meta-python/recipes-devtools/python/python-pyyaml.inc
 delete mode 100644 meta-python/recipes-devtools/python/python-pyyaml/setup.py
 mode change 100644 => 100755 
meta-python/recipes-devtools/python/python-pyyaml_3.12.bb
 create mode 100755 meta-python/recipes-devtools/python/python3-pyyaml_3.12.bb

diff --git a/meta-python/recipes-devtools/python/python-pyyaml.inc 
b/meta-python/recipes-devtools/python/python-pyyaml.inc
new file mode 100755
index 000..41321ca
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyyaml.inc
@@ -0,0 +1,14 @@
+SUMMARY = "Python support for YAML"
+HOMEPAGE = "http://www.pyyaml.org";
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6015f088759b10e0bc2bf64898d4ae17"
+DEPENDS = "libyaml ${PYTHON_PN}-cython-native"
+
+PYPI_PACKAGE = "PyYAML"
+inherit pypi
+
+SRC_URI[md5sum] = "4c129761b661d181ebf7ff4eb2d79950"
+SRC_URI[sha256sum] = 
"592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-pyyaml/setup.py 
b/meta-python/recipes-devtools/python/python-pyyaml/setup.py
deleted file mode 100644
index 2ed1c94..000
--- a/meta-python/recipes-devtools/python/python-pyyaml/setup.py
+++ /dev/null
@@ -1,64 +0,0 @@
-NAME = 'PyYAML'
-VERSION = '3.10'
-DESCRIPTION = "YAML parser and emitter for Python"
-LONG_DESCRIPTION = """\
-YAML is a data serialization format designed for human readability and
-interaction with scripting languages.  PyYAML is a YAML parser and
-emitter for Python.
-
-PyYAML features a complete YAML 1.1 parser, Unicode support, pickle
-support, capable extension API, and sensible error messages.  PyYAML
-supports standard YAML tags and provides Python-specific tags that allow
-to represent an arbitrary Python object.
-
-PyYAML is applicable for a broad range of tasks from complex
-configuration files to object serialization and persistance."""
-AUTHOR = "Kirill Simonov"
-AUTHOR_EMAIL = 'x...@resolvent.net'
-LICENSE = "MIT"
-PLATFORMS = "Any"
-URL = "http://pyyaml.org/wiki/PyYAML";
-DOWNLOAD_URL = "http://pyyaml.org/download/pyyaml/%s-%s.tar.gz"; % (NAME, 
VERSION)
-CLASSIFIERS = [
-"Development Status :: 5 - Production/Stable",
-"Intended Audience :: Developers",
-"License :: OSI Approved :: MIT License",
-"Operating System :: OS Independent",
-"Programming Language :: Python",
-"Topic :: Software Development :: Libraries :: Python Modules",
-"Topic :: Text Processing :: Markup",
-]
-
-from distutils.core import setup
-from distutils.extension import Extension
-from Cython.Distutils import build_ext
-
-import sys, os.path
-
-
-if __name__ == '__main__':
-
-setup(
-name=NAME,
-version=VERSION,
-description=DESCRIPTION,
-long_description=LONG_DESCRIPTION,
-author=AUTHOR,
-author_email=AUTHOR_EMAIL,
-license=LICENSE,
-platforms=PLATFORMS,
-url=URL,
-download_url=DOWNLOAD_URL,
-classifiers=CLASSIFIERS,
-
-package_dir={'': 'lib'},
-packages=['yaml'],
-
-ext_modules = [
-Extension( "_yaml", ["ext/_yaml.pyx"], libraries = ["yaml"] )
-],
-
-cmdclass={
-'build_ext': build_ext,
-},
-)
diff --git a/meta-python/recipes-devtools/python/python-pyyaml_3.12.bb 
b/meta-python/recipes-devtools/python/python-pyyaml_3.12.bb
old mode 100644
new mode 100755
index 0899a2e..6d9f3e9
--- a/meta-python/recipes-devtools/python/python-pyyaml_3.12.bb
+++ b/meta-python/recipes-devtools/python/python-pyyaml_3.12.bb
@@ -1,24 +1,2 @@
-SUMMARY = "Python support for YAML"
-HOMEPAGE = "http://www.pyyaml.org";
-SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=6015f088759b10e0bc2bf64898d4ae17"
-DEPENDS = "libyaml python-cython-native"
-
-SRC_URI = "http://pyyaml.org/download/pyyaml/PyYAML-${PV}.tar.gz \
-   file://setup.py \
-"
-
-SRC_URI[md5sum] = "4c129761b661d181ebf7ff4eb2d79950"

[oe] [meta-oe][PATCH] poco: update to 1.7.5

2016-09-15 Thread Pascal Bach
Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-support/poco/{poco_1.7.4.bb => poco_1.7.5.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/poco/{poco_1.7.4.bb => poco_1.7.5.bb} (98%)

diff --git a/meta-oe/recipes-support/poco/poco_1.7.4.bb 
b/meta-oe/recipes-support/poco/poco_1.7.5.bb
similarity index 98%
rename from meta-oe/recipes-support/poco/poco_1.7.4.bb
rename to meta-oe/recipes-support/poco/poco_1.7.5.bb
index e7a279f..0fc50e1 100644
--- a/meta-oe/recipes-support/poco/poco_1.7.4.bb
+++ b/meta-oe/recipes-support/poco/poco_1.7.5.bb
@@ -12,7 +12,7 @@ inherit cmake ptest
 
 BBCLASSEXTEND = "native"
 
-SRCREV = "da66f2863aa02c11967862f2d9f0251574a5e9c2"
+SRCREV = "7dfdcfb70d75ccdaaf2b43fa0b23f82599aebec3"
 SRC_URI = " \
 git://github.com/pocoproject/poco.git \
 file://run-ptest \
-- 
2.1.4

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


[oe] [meta-java]: java and javac in path provided by cocao and ecj

2016-09-06 Thread Pascal Bach
Hi


While diving into meta-java I noticed the following.

The java version that is found by default in an SDK is provided by cacao-native 
and the javac version by ecj-native.
Both of these are very old and I get errors if I try to compile newer java 
packages as for example Ant 1.9.7.

I was wondering if this is intentional and there is something I'm missing.

In my opinion it would be better if java and javac were provided by recent 
JDK/JRE like OpenJDK 8.
So in relation to my proposal to unify the virtual/java handling I think it 
would make sense to clean up the java bootstrapping too.

The proposal is to not have anything from the bootstrapping process in the 
PATH. This means no javac from ecj not old versions of ant, no IcedTea 7 
binaries.
But only the final openjdk-8-native binaries that also provide 
virtual/jdk8-native. I guess this would mean to move all the boostrap 
components to a different filesystem location maybe under {sysroot_native}/opt 
somewhere. IceadTea already seems build up kind of a fake-jdk by linking the 
binaries. So instead of doing that ecj and cacoa could directly install to 
{sysroot_native}/opt/java-bootstrap and IceadTea can then use that. Also other 
bootstrap packages like old ant version could go to that location.

I attached a graphic that tries to explain how the new bootstrap process could 
look like and where a host provided java would fit into that process.

Does this make sense or am I completely off?

Pascal


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


Re: [oe] [meta-java] Unify virtual java providers

2016-09-02 Thread Pascal Bach

>> This is a hint that you need to set PREFERRED_PROVIDER_foo in your
>> local.conf (or machine.conf or distro.conf or...)
>>
>> http://www.yoctoproject.org/docs/2.1/mega-manual/mega-manual.html#var-PREFERRED_PROVIDER
>>
>> You might also need to set PREFERRED_VERSION, depending on the situation.
>>
>> My idea would be to allow the user to select a default provider for
> I think setting PREFERRED_VERSION is not the issue in my case.
>
> The reason I see the issue is that I also tried to set: RPROVIDES_${PN} += 
> "virtual/jre" in order to allow users to select "virtual/jre"
>  in an RDEPENDS which I believe is necessary in many cases.
>
> However I don't know of a way to set a preferred RPROVIDER.
Sorry I completely missed that one can set PREFERRED_RPROVIDER too (it's not in 
the documentation only PREFERRED_PROVIDER is).

However when I set PREFERRED_RPROVIDER_virtual/jre = "zulu-java" i'm still not 
able to install zulu-java, openjdk and oracle-java at the same time.
I modified them all to RPROVIDE_${PN} += "virtual/jre" and added ALTERNATIVES 
for java vie updata-alternatives.
But bitbake gives me the following error:

ERROR: Nothing RPROVIDES 'oracle-java' (but /home/projects/image.bb RDEPENDS on 
or otherwise requires it)
ERROR: oracle-java was skipped: PREFERRED_PROVIDER_virtual/jre set to 
zulu-java, not oracle-java

So based on that I assume it's really not possible to have a preverd java 
REPROVIDER and still install others to be used via the alternatives system?

>
>>> "virtual/jre" but still allow to install an additional specific java
>>> provider if necessary.
>>> Is this even possible?
> Based on what I found out above, don't think this is possible. Please correct 
> me if I'm wrong.
>
> Pascal

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


[oe] [meta-oe][PATCH] p7zip: update to version 16.02

2016-09-02 Thread Pascal Bach
Signed-off-by: Pascal Bach 
---
 meta-oe/recipes-extended/p7zip/{p7zip_15.14.1.bb => p7zip_16.02.bb} | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-extended/p7zip/{p7zip_15.14.1.bb => p7zip_16.02.bb} 
(89%)

diff --git a/meta-oe/recipes-extended/p7zip/p7zip_15.14.1.bb 
b/meta-oe/recipes-extended/p7zip/p7zip_16.02.bb
similarity index 89%
rename from meta-oe/recipes-extended/p7zip/p7zip_15.14.1.bb
rename to meta-oe/recipes-extended/p7zip/p7zip_16.02.bb
index 8e2e241..12be02c 100644
--- a/meta-oe/recipes-extended/p7zip/p7zip_15.14.1.bb
+++ b/meta-oe/recipes-extended/p7zip/p7zip_16.02.bb
@@ -7,8 +7,9 @@ LIC_FILES_CHKSUM = 
"file://DOC/copying.txt;md5=4fbd65380cdd255951079008b364516c
 
 SRC_URI = 
"http://downloads.sourceforge.net/p7zip/p7zip/${PV}/p7zip_${PV}_src_all.tar.bz2 
\
   file://do_not_override_compiler_and_do_not_strip.patch"
-SRC_URI[md5sum] = "92cca093312b5a71a7be7dc7d1d32509"
-SRC_URI[sha256sum] = 
"699db4da3621904113e040703220abb1148dfef477b55305e2f14a4f1f8f25d4"
+
+SRC_URI[md5sum] = "a0128d661cfe7cc8c121e73519c54fbf"
+SRC_URI[sha256sum] = 
"5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f"
 
 S = "${WORKDIR}/${BPN}_${PV}"
 
-- 
2.1.4

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


  1   2   >