Re: [oe] [meta-oe][master-next][PATCH v3 16/17] opencv: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Anuj Mittal
On 05/24/2018 10:38 PM, Trevor Woerner wrote:
> The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
> ${datadir}/cmake end up in the dev package, so recipes no longer need to
> provide custom packaging rules to handles these files.
> 
>   
> http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93
> 
> Originally-conceived-by: Andre McCurdy 
> Signed-off-by: Trevor Woerner 
> ---
>  meta-oe/recipes-support/opencv/opencv_3.3.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-support/opencv/opencv_3.3.bb 
> b/meta-oe/recipes-support/opencv/opencv_3.3.bb
> index ca62de7c8f..1cadbdb533 100644
> --- a/meta-oe/recipes-support/opencv/opencv_3.3.bb
> +++ b/meta-oe/recipes-support/opencv/opencv_3.3.bb
> @@ -167,7 +167,7 @@ PACKAGES_DYNAMIC += "^libopencv-.*"
>  
>  FILES_${PN} = ""
>  FILES_${PN}-dbg += "${datadir}/OpenCV/java/.debug/* 
> ${datadir}/OpenCV/samples/bin/.debug/*"
> -FILES_${PN}-dev = "${includedir} ${libdir}/pkgconfig 
> ${datadir}/OpenCV/*.cmake"

${datadir}/OpenCV/*.cmake won't be handled by the bbclass and if you
remove this change, *.cmake files in OpenCV directory will go to
${PN}-apps which is probably not the intention here.
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][master-next][PATCH 1/2] grpc: variable cleanup

2018-05-24 Thread Trevor Woerner
Reorder recipe variables according to:

https://www.openembedded.org/wiki/Styleguide

Signed-off-by: Trevor Woerner 
---
 meta-networking/recipes-devtools/grpc/grpc_1.8.5.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-networking/recipes-devtools/grpc/grpc_1.8.5.bb 
b/meta-networking/recipes-devtools/grpc/grpc_1.8.5.bb
index e9491c45a9..4b6028dbfb 100644
--- a/meta-networking/recipes-devtools/grpc/grpc_1.8.5.bb
+++ b/meta-networking/recipes-devtools/grpc/grpc_1.8.5.bb
@@ -4,12 +4,11 @@ Provides gRPC libraries for multiple languages written on top 
of shared C core l
 HOMEPAGE = "https://github.com/grpc/grpc;
 SECTION = "libs"
 LICENSE = "Apache-2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
 DEPENDS = "gflags c-ares protobuf protobuf-native protobuf-c protobuf-c-native 
openssl"
 DEPENDS_append_class-target = " gtest grpc-native "
 
-LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
-
 SRC_URI = "https://github.com/grpc/grpc/archive/v${PV}.tar.gz \

file://0001-CMakeLists.txt-Fix-libraries-installation-for-Linux.patch \

file://0004-CMakeLists.txt-Find-c-ares-in-target-sysroot-alone.patch \
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-networking][master-next][PATCH 2/2] c-ares: variable cleanup

2018-05-24 Thread Trevor Woerner
Reorder recipe variables according to:

https://www.openembedded.org/wiki/Styleguide

Signed-off-by: Trevor Woerner 
---
 meta-networking/recipes-support/c-ares/c-ares_1.13.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/c-ares/c-ares_1.13.0.bb 
b/meta-networking/recipes-support/c-ares/c-ares_1.13.0.bb
index defbeaa623..934c8454d5 100644
--- a/meta-networking/recipes-support/c-ares/c-ares_1.13.0.bb
+++ b/meta-networking/recipes-support/c-ares/c-ares_1.13.0.bb
@@ -4,13 +4,14 @@ HOMEPAGE = "http://daniel.haxx.se/projects/c-ares/;
 SECTION = "libs"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=f4b026880834eb01c035c5e5cb47ccac"
-SRCREV = "3be1924221e1326df520f8498d704a5c4c8d0cce"
+
 PV = "1.13.0+gitr${SRCPV}"
 
 SRC_URI = "\
 git://github.com/c-ares/c-ares.git \
 file://cmake-install-libcares.pc.patch \
 "
+SRCREV = "3be1924221e1326df520f8498d704a5c4c8d0cce"
 
 S = "${WORKDIR}/git"
 
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH 11/11] openobex: variable cleanup

2018-05-24 Thread Trevor Woerner
Reorder recipe variables according to:

https://www.openembedded.org/wiki/Styleguide

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb | 13 +
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb 
b/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb
index dcc2edf76e..3fb8cb1901 100644
--- a/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb
+++ b/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb
@@ -2,29 +2,26 @@ DESCRIPTION = "The Openobex project is an open source 
implementation of the \
 Object Exchange (OBEX) protocol."
 HOMEPAGE = "http://openobex.triq.net;
 SECTION = "libs"
-DEPENDS = "virtual/libusb0"
-DEPENDS_append_class-target = " 
${@bb.utils.contains('DISTRO_FEATURES','bluez5','bluez5','bluez4',d)}"
-
 LICENSE = "GPLv2 & LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
 file://COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343 \
 "
 
+DEPENDS = "virtual/libusb0"
+DEPENDS_append_class-target = " 
${@bb.utils.contains('DISTRO_FEATURES','bluez5','bluez5','bluez4',d)}"
+
 SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}/${PV}/${BP}-Source.tar.gz \
 "
-
 SRC_URI[md5sum] = "f6e0b6cb7dcfd731460a7e9a91429a3a"
 SRC_URI[sha256sum] = 
"158860aaea52f0fce0c8e4b64550daaae06df2689e05834697b7e8c7d73dd4fc"
 
-inherit cmake pkgconfig
-
 S = "${WORKDIR}/${BP}-Source"
 
+inherit cmake pkgconfig
+
 EXTRA_OECONF = " -DCMAKE_SKIP_RPATH=ON "
 EXTRA_OECMAKE += "-DBUILD_DOCUMENTATION=OFF"
 
-#--enable-apps --enable-syslog
-
 ASNEEDED = ""
 
 do_install_append () {
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH 08/11] msgpack-c: variable cleanup

2018-05-24 Thread Trevor Woerner
Reorder recipe variables according to:

https://www.openembedded.org/wiki/Styleguide

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-devtools/msgpack/msgpack-c_2.1.5.bb | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/meta-oe/recipes-devtools/msgpack/msgpack-c_2.1.5.bb 
b/meta-oe/recipes-devtools/msgpack/msgpack-c_2.1.5.bb
index 3ae4c1f879..690a7f444b 100644
--- a/meta-oe/recipes-devtools/msgpack/msgpack-c_2.1.5.bb
+++ b/meta-oe/recipes-devtools/msgpack/msgpack-c_2.1.5.bb
@@ -9,12 +9,11 @@ LIC_FILES_CHKSUM = 
"file://NOTICE;md5=7a858c074723608e08614061dc044352 \
 
 PV .= "+git${SRCPV}"
 
-SRCREV = "208595b2620cf6260ce3d6d4cf8543f13b206449"
-
 SRC_URI = "git://github.com/msgpack/msgpack-c \
file://0001-Fix-Werror-class-memaccess.patch \
"
-
-inherit cmake pkgconfig
+SRCREV = "208595b2620cf6260ce3d6d4cf8543f13b206449"
 
 S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH 09/11] json-spirit: variable cleanup

2018-05-24 Thread Trevor Woerner
Reorder recipe variables according to:

https://www.openembedded.org/wiki/Styleguide

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-devtools/json-spirit/json-spirit_4.08.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-devtools/json-spirit/json-spirit_4.08.bb 
b/meta-oe/recipes-devtools/json-spirit/json-spirit_4.08.bb
index 3c1d8a9959..d6e42c81d5 100644
--- a/meta-oe/recipes-devtools/json-spirit/json-spirit_4.08.bb
+++ b/meta-oe/recipes-devtools/json-spirit/json-spirit_4.08.bb
@@ -9,6 +9,8 @@ PRIORITY = "optional"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=278ef6183dec4aae1524fccc4b0113c9"
 
+DEPENDS = "boost"
+
 SRC_URI = "file://json_spirit_v${PV}.zip \
file://0001-Adjust-the-cmake-files.patch \
file://0001-Link-to-libatomic.patch \
@@ -16,8 +18,6 @@ SRC_URI = "file://json_spirit_v${PV}.zip \
 
 S = "${WORKDIR}/json_spirit_v${PV}"
 
-DEPENDS = "boost"
-
 inherit cmake
 
 BBCLASSEXTEND = "nativesdk"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH 10/11] capnproto: variable cleanup

2018-05-24 Thread Trevor Woerner
Reorder recipe variables according to:

https://www.openembedded.org/wiki/Styleguide

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 .../recipes-devtools/capnproto/capnproto_0.6.1.bb   | 13 ++---
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/meta-oe/recipes-devtools/capnproto/capnproto_0.6.1.bb 
b/meta-oe/recipes-devtools/capnproto/capnproto_0.6.1.bb
index dfe19947c0..6ca3613db3 100644
--- a/meta-oe/recipes-devtools/capnproto/capnproto_0.6.1.bb
+++ b/meta-oe/recipes-devtools/capnproto/capnproto_0.6.1.bb
@@ -2,24 +2,23 @@ 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"
 LIC_FILES_CHKSUM = "file://../LICENSE;md5=0a5b5b742baf10cc1c158579eba7fb1d"
 
-SRCREV = "c949a18da5f041a36cc218c5c4b79c7705999b4f"
 SRC_URI = "git://github.com/sandstorm-io/capnproto.git;branch=release-${PV}"
+SRCREV = "c949a18da5f041a36cc218c5c4b79c7705999b4f"
+
+S = "${WORKDIR}/git/c++"
+
+inherit cmake
 
 EXTRA_OECMAKE += "\
 -DBUILD_TESTING=OFF \
 "
 
-inherit cmake
-
-S = "${WORKDIR}/git/c++"
+FILES_${PN}-compiler = "${bindir}"
 
 PACKAGE_BEFORE_PN = "${PN}-compiler"
 RDEPENDS_${PN}-dev += "${PN}-compiler"
 
-FILES_${PN}-compiler = "${bindir}"
-
 BBCLASSEXTEND = "native nativesdk"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH 07/11] glm: variable cleanup

2018-05-24 Thread Trevor Woerner
Reorder recipe variables according to:

https://www.openembedded.org/wiki/Styleguide

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-graphics/glm/glm_0.9.9-a2.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-oe/recipes-graphics/glm/glm_0.9.9-a2.bb 
b/meta-oe/recipes-graphics/glm/glm_0.9.9-a2.bb
index dc0081d031..7f16708edb 100644
--- a/meta-oe/recipes-graphics/glm/glm_0.9.9-a2.bb
+++ b/meta-oe/recipes-graphics/glm/glm_0.9.9-a2.bb
@@ -4,9 +4,7 @@ mathematics library for graphics software based on the OpenGL \
 Shading Language (GLSL) specifications."
 HOMEPAGE = "https://glm.g-truc.net;
 BUGTRACKER = "https://github.com/g-truc/glm/issues;
-
 SECTION = "libs"
-
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = 
"file://readme.md;beginline=21;endline=22;md5=3075b5727d36f29edccf97b93e72b790"
 
@@ -16,6 +14,7 @@ SRC_URI = " \
 file://0002-glm-install-headers-only.patch \
 "
 SRCREV = "fcbedf5058ef8613dd02aac62ef00d55dcfeadd7"
+
 S = "${WORKDIR}/git"
 
 inherit cmake
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH 02/11] libssh: variable cleanup

2018-05-24 Thread Trevor Woerner
Reorder recipe variables according to:

https://www.openembedded.org/wiki/Styleguide

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-support/libssh/libssh_0.7.3.bb | 16 
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/meta-oe/recipes-support/libssh/libssh_0.7.3.bb 
b/meta-oe/recipes-support/libssh/libssh_0.7.3.bb
index e5ea2b8bfa..6064969ae0 100644
--- a/meta-oe/recipes-support/libssh/libssh_0.7.3.bb
+++ b/meta-oe/recipes-support/libssh/libssh_0.7.3.bb
@@ -1,16 +1,21 @@
 SUMMARY = "Multiplatform C library implementing the SSHv2 and SSHv1 protocol"
 HOMEPAGE = "http://www.libssh.org;
 SECTION = "libs"
-
-DEPENDS = "zlib openssl libgcrypt"
-
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=388a4fb1dea8ceae0be78ba9b01fc139"
 
+DEPENDS = "zlib openssl libgcrypt"
+
 SRC_URI = "git://git.libssh.org/projects/libssh.git;branch=v0-7"
 SRCREV = "cdf7690e038230623cbbf6b024ece62f41efa98d"
+
 S = "${WORKDIR}/git"
 
+inherit cmake
+
+PACKAGECONFIG ??=""
+PACKAGECONFIG[gssapi] = "-DWITH_GSSAPI=1, -DWITH_GSSAPI=0, krb5, "
+
 EXTRA_OECMAKE = " \
 -DWITH_GCRYPT=1 \
 -DWITH_PCAP=1 \
@@ -19,11 +24,6 @@ EXTRA_OECMAKE = " \
 -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \
 "
 
-PACKAGECONFIG ??=""
-PACKAGECONFIG[gssapi] = "-DWITH_GSSAPI=1, -DWITH_GSSAPI=0, krb5, "
-
-inherit cmake
-
 do_configure_prepend () {
 # Disable building of examples
 sed -i -e '/add_subdirectory(examples)/s/^/#DONOTWANT/' 
${S}/CMakeLists.txt \
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH 06/11] openjpeg: variable cleanup

2018-05-24 Thread Trevor Woerner
Reorder recipe variables according to:

https://www.openembedded.org/wiki/Styleguide

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-graphics/openjpeg/openjpeg_2.2.0.bb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-graphics/openjpeg/openjpeg_2.2.0.bb 
b/meta-oe/recipes-graphics/openjpeg/openjpeg_2.2.0.bb
index f749d62342..22b75d9623 100644
--- a/meta-oe/recipes-graphics/openjpeg/openjpeg_2.2.0.bb
+++ b/meta-oe/recipes-graphics/openjpeg/openjpeg_2.2.0.bb
@@ -1,9 +1,10 @@
 DESCRIPTION = "OpenJPEG library is an open-source JPEG 2000 codec"
 HOMEPAGE = "http://www.openjpeg.org;
-
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c648878b4840d7babaade1303e7f108c"
 
+DEPENDS = "libpng tiff lcms zlib"
+
 SRC_URI = 
"https://github.com/uclouvain/${BPN}/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz
 \

file://0001-bmp_read_info_header-reject-bmp-files-with-biBitCoun.patch \
   "
@@ -12,8 +13,6 @@ SRC_URI[sha256sum] = 
"6fddbce5a618e910e03ad00d66e7fcd09cc6ee307ce69932666d54c73b
 
 inherit cmake
 
-DEPENDS = "libpng tiff lcms zlib"
-
 # standard path for *.cmake
 EXTRA_OECMAKE += "-DOPENJPEG_INSTALL_PACKAGE_DIR=${baselib}/cmake \
   -DOPENJPEG_INSTALL_LIB_DIR:PATH=${libdir}"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH 05/11] ceres-solver: variable cleanup

2018-05-24 Thread Trevor Woerner
Reorder recipe variables according to:

https://www.openembedded.org/wiki/Styleguide

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb 
b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
index a3444b934c..ad7c8f2a3b 100644
--- a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
+++ b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
@@ -1,17 +1,16 @@
 DESCRIPTION = "Ceres Solver is an open source C++ library for modeling and 
solving large, complicated optimization problems."
 AUTHOR = "Sameer Agarwal and Keir Mierle and Others"
 HOMEPAGE = "http://ceres-solver.org/;
-
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=35e00f0c4c96a0820a03e0b31e6416be"
 
+DEPENDS = "libeigen glog"
+
 SRC_URI = "git://github.com/ceres-solver/ceres-solver.git"
 SRCREV = "facb199f3eda902360f9e1d5271372b7e54febe1"
 
 S = "${WORKDIR}/git"
 
-DEPENDS = "libeigen glog"
-
 inherit cmake
 
 # Only a static library and headers are created
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH 04/11] gflags: variable cleanup

2018-05-24 Thread Trevor Woerner
Reorder recipe variables according to:

https://www.openembedded.org/wiki/Styleguide

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-support/gflags/gflags_2.2.0.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/gflags/gflags_2.2.0.bb 
b/meta-oe/recipes-support/gflags/gflags_2.2.0.bb
index b186326e9b..157123 100644
--- a/meta-oe/recipes-support/gflags/gflags_2.2.0.bb
+++ b/meta-oe/recipes-support/gflags/gflags_2.2.0.bb
@@ -1,7 +1,5 @@
 DESCRIPTION = "The gflags package contains a C++ library that implements 
commandline flags processing. It includes built-in support for standard types 
such as string and the ability to define flags in the source file in which they 
are used"
-
 HOMEPAGE = "https://github.com/gflags/gflags;
-
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING.txt;md5=c80d1a3b623f72bb85a4c75b556551df"
 
@@ -16,6 +14,7 @@ EXTRA_OECMAKE="-DBUILD_SHARED_LIBS=ON 
-DREGISTER_INSTALL_PREFIX=OFF -DLIB_INSTAL
 
 PACKAGES =+ "${PN}-bash-completion"
 FILES_${PN}-bash-completion += "${bindir}/gflags_completions.sh"
+
 RDEPENDS_${PN}-bash-completion = "bash bash-completion"
 
 BBCLASSEXTEND = "native"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH 01/11] poco: variable cleanup

2018-05-24 Thread Trevor Woerner
Reorder recipe variables according to:

https://www.openembedded.org/wiki/Styleguide

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-support/poco/poco_1.9.0.bb | 44 +++---
 1 file changed, 22 insertions(+), 22 deletions(-)

diff --git a/meta-oe/recipes-support/poco/poco_1.9.0.bb 
b/meta-oe/recipes-support/poco/poco_1.9.0.bb
index 1016caef7c..a4f8a05188 100644
--- a/meta-oe/recipes-support/poco/poco_1.9.0.bb
+++ b/meta-oe/recipes-support/poco/poco_1.9.0.bb
@@ -1,34 +1,22 @@
 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/;
+SECTION = "libs"
 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 \
"
+SRCREV = "94966785a8f9ad0191dffd075ebd67826e6e4b6d"
 
 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"
+inherit cmake ptest
 
 # By default the most commonly used poco components are built
 # Foundation is built anyway and doesn't need to be listed explicitly
@@ -60,6 +48,16 @@ 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"
 
+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"
+
 python populate_packages_prepend () {
 poco_libdir = d.expand('${libdir}')
 pn = d.getVar("PN")
@@ -77,6 +75,14 @@ python populate_packages_prepend () {
 d.setVar("POCO_TESTRUNNERS", "\n".join(testrunners))
 }
 
+do_install_ptest () {
+   cp -rf ${B}/bin/ ${D}${PTEST_PATH}
+   cp -f ${B}/lib/libCppUnit.so* ${D}${libdir}
+   cp -rf ${B}/*/testsuite/data ${D}${PTEST_PATH}/bin/
+   find "${D}${PTEST_PATH}" -executable -exec chrpath -d {} \;
+   echo "${POCO_TESTRUNNERS}" > "${D}${PTEST_PATH}/testrunners"
+}
+
 PACKAGES_DYNAMIC = "poco-.*"
 
 # "poco" is a metapackage which pulls in all Poco components
@@ -89,10 +95,4 @@ ALLOW_EMPTY_${PN}-cppunit = "1"
 
 RDEPENDS_${PN}-ptest += "${PN}-cppunit"
 
-do_install_ptest () {
-   cp -rf ${B}/bin/ ${D}${PTEST_PATH}
-   cp -f ${B}/lib/libCppUnit.so* ${D}${libdir}
-   cp -rf ${B}/*/testsuite/data ${D}${PTEST_PATH}/bin/
-   find "${D}${PTEST_PATH}" -executable -exec chrpath -d {} \;
-   echo "${POCO_TESTRUNNERS}" > "${D}${PTEST_PATH}/testrunners"
-}
+BBCLASSEXTEND = "native"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH 00/11] reorder variable

2018-05-24 Thread Trevor Woerner
When Andre McCurdy originally submitted the "rely on cmake.bbclass..."
patches, he intermixed some formatting changes as well. A clean version of the
"rely on cmake.bbclass..." patches have already been sent, this patchset adds
in the formatting changes as well.

NOTE: there are slightly more formatting changes in this patchset than in
Andre's original. These formatting changes are restricted to variable
ordering as per: https://www.openembedded.org/wiki/Styleguide

Trevor Woerner (11):
  poco: variable cleanup
  libssh: variable cleanup
  libftdi: variable cleanup
  gflags: variable cleanup
  ceres-solver: variable cleanup
  openjpeg: variable cleanup
  glm: variable cleanup
  msgpack-c: variable cleanup
  json-spirit: variable cleanup
  capnproto: variable cleanup
  openobex: variable cleanup

 .../obex/openobex_1.7.2.bb| 13 +++---
 .../capnproto/capnproto_0.6.1.bb  | 13 +++---
 .../json-spirit/json-spirit_4.08.bb   |  4 +-
 .../msgpack/msgpack-c_2.1.5.bb|  7 ++-
 meta-oe/recipes-graphics/glm/glm_0.9.9-a2.bb  |  3 +-
 .../openjpeg/openjpeg_2.2.0.bb|  5 +--
 .../ceres-solver/ceres-solver_1.14.bb |  5 +--
 .../recipes-support/gflags/gflags_2.2.0.bb|  3 +-
 .../recipes-support/libftdi/libftdi_1.4.bb|  6 +--
 .../recipes-support/libssh/libssh_0.7.3.bb| 16 +++
 meta-oe/recipes-support/poco/poco_1.9.0.bb| 44 +--
 11 files changed, 54 insertions(+), 65 deletions(-)

-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH 03/11] libftdi: variable cleanup

2018-05-24 Thread Trevor Woerner
Reorder recipe variables according to:

https://www.openembedded.org/wiki/Styleguide

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-support/libftdi/libftdi_1.4.bb | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/meta-oe/recipes-support/libftdi/libftdi_1.4.bb 
b/meta-oe/recipes-support/libftdi/libftdi_1.4.bb
index a1576b5617..98c5995a5f 100644
--- a/meta-oe/recipes-support/libftdi/libftdi_1.4.bb
+++ b/meta-oe/recipes-support/libftdi/libftdi_1.4.bb
@@ -3,7 +3,6 @@ FT232BM/245BM, FT2232C/D and FT232/245R using libusb,\
 including the popular bitbang mode."
 HOMEPAGE = "http://www.intra2net.com/en/developer/libftdi/;
 SECTION = "libs"
-
 LICENSE = "LGPLv2.1 & GPLv2"
 LIC_FILES_CHKSUM= "\
 file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \
@@ -13,17 +12,16 @@ LIC_FILES_CHKSUM= "\
 DEPENDS = "libusb1"
 
 SRC_URI = 
"http://www.intra2net.com/en/developer/${BPN}/download/${BPN}1-${PV}.tar.bz2;
-
 SRC_URI[md5sum] = "0c09fb2bb19a57c839fa6845c6c780a2"
 SRC_URI[sha256sum] = 
"ec36fb49080f834690c24008328a5ef42d3cf584ef4060f3a35aa4681cb31b74"
 
 S = "${WORKDIR}/${BPN}1-${PV}"
 
+inherit cmake binconfig pkgconfig
+
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[cpp-wrapper] = "-DFTDI_BUILD_CPP=on 
-DFTDIPP=on,-DFTDI_BUILD_CPP=off -DFTDIPP=off,boost"
 
-inherit cmake binconfig pkgconfig
-
 EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}"
 
 BBCLASSEXTEND = "native"
-- 
2.17.0.582.gccdcbd54c

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


Re: [oe] [meta-oe][PATCH 01/17] libwebsockets: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
On Mon 2018-05-21 @ 11:10:59 AM, Andre McCurdy wrote:
> It hasn't been updated to give ordering for PACKAGECONFIG or
> BBCLASSEXTEND but the conventions for those (based on recipes in
> oe-core) seem to be:
> 
>  - PACKAGECONFIG lines go between "inherit ..." and EXTRA_OECONF
>  - BBCLASSEXTEND goes at the end of the recipe

Done.

Thanks for the pointers/tips :-)
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe] [PATCH V2] redis: Update to 4.0.8

2018-05-24 Thread Alistair Francis
Update redis to the latest 4.0.8 release. This also involves updating
the redis.conf while maintaining some OE specific config options.

Signed-off-by: Alistair Francis 
---
V2:
 - Fix MIPS build failure

 ...Makefile-to-add-symbols-to-staticlib.patch |  19 -
 .../hiredis-use-default-CC-if-it-is-set.patch |  12 +-
 .../redis/redis/oe-use-libc-malloc.patch  |  10 +-
 .../recipes-extended/redis/redis/redis.conf   | 974 --
 .../redis/redis/remove-atomics.patch  |  72 ++
 .../redis/{redis_3.0.2.bb => redis_4.0.8.bb}  |   7 +-
 6 files changed, 956 insertions(+), 138 deletions(-)
 delete mode 100644 
meta-oe/recipes-extended/redis/redis/hiredis-update-Makefile-to-add-symbols-to-staticlib.patch
 create mode 100644 meta-oe/recipes-extended/redis/redis/remove-atomics.patch
 rename meta-oe/recipes-extended/redis/{redis_3.0.2.bb => redis_4.0.8.bb} (89%)

diff --git 
a/meta-oe/recipes-extended/redis/redis/hiredis-update-Makefile-to-add-symbols-to-staticlib.patch
 
b/meta-oe/recipes-extended/redis/redis/hiredis-update-Makefile-to-add-symbols-to-staticlib.patch
deleted file mode 100644
index 2b3b58793..0
--- 
a/meta-oe/recipes-extended/redis/redis/hiredis-update-Makefile-to-add-symbols-to-staticlib.patch
+++ /dev/null
@@ -1,19 +0,0 @@
 redis-3.0.2/deps/hiredis/Makefile.orig 2016-05-06 19:36:26.179003036 
-0700
-+++ redis-3.0.2/deps/hiredis/Makefile  2016-05-06 19:40:15.341340736 -0700
-@@ -25,7 +25,7 @@
- 
- # Fallback to gcc when $CC is not in $PATH.
- CC?=$(shell sh -c 'type $(CC) >/dev/null 2>/dev/null && echo $(CC) || echo 
gcc')
--OPTIMIZATION?=-O3
-+OPTIMIZATION?=-O2
- WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings
- DEBUG?= -g -ggdb
- REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG) $(ARCH)
-@@ -68,6 +68,7 @@
- 
- $(STLIBNAME): $(OBJ)
-   $(STLIB_MAKE_CMD) $(OBJ)
-+  $(RANLIB) $@
- 
- dynamic: $(DYLIBNAME)
- static: $(STLIBNAME)
diff --git 
a/meta-oe/recipes-extended/redis/redis/hiredis-use-default-CC-if-it-is-set.patch
 
b/meta-oe/recipes-extended/redis/redis/hiredis-use-default-CC-if-it-is-set.patch
index f9f1c0dbd..421f306de 100644
--- 
a/meta-oe/recipes-extended/redis/redis/hiredis-use-default-CC-if-it-is-set.patch
+++ 
b/meta-oe/recipes-extended/redis/redis/hiredis-use-default-CC-if-it-is-set.patch
@@ -8,23 +8,23 @@ as CC has spaces in it, just skip it if one was already 
passed in.
 
 Signed-off-by: Venture Research 
 
-Update to work with 3.0.x
-Signed-off-by: Armin Kuster 
+Update to work with 4.0.8
+Signed-off-by: Alistair Francis 
 
 ---
  deps/hiredis/Makefile | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-Index: deps/hiredis/Makefile
-===
+diff --git a/deps/hiredis/Makefile b/deps/hiredis/Makefile
+index 9a4de836..271c06ba 100644
 --- a/deps/hiredis/Makefile
 +++ b/deps/hiredis/Makefile
-@@ -24,7 +24,7 @@ endef
+@@ -36,7 +36,7 @@ endef
  export REDIS_TEST_CONFIG
  
  # Fallback to gcc when $CC is not in $PATH.
 -CC:=$(shell sh -c 'type $(CC) >/dev/null 2>/dev/null && echo $(CC) || echo 
gcc')
 +CC?=$(shell sh -c 'type $(CC) >/dev/null 2>/dev/null && echo $(CC) || echo 
gcc')
+ CXX:=$(shell sh -c 'type $(CXX) >/dev/null 2>/dev/null && echo $(CXX) || echo 
g++')
  OPTIMIZATION?=-O3
  WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings
- DEBUG?= -g -ggdb
diff --git a/meta-oe/recipes-extended/redis/redis/oe-use-libc-malloc.patch 
b/meta-oe/recipes-extended/redis/redis/oe-use-libc-malloc.patch
index b768a7749..6745f3d0e 100644
--- a/meta-oe/recipes-extended/redis/redis/oe-use-libc-malloc.patch
+++ b/meta-oe/recipes-extended/redis/redis/oe-use-libc-malloc.patch
@@ -11,15 +11,15 @@ jemalloc wasn't building correctly.
 
 Signed-off-by: Venture Research 
 
-Update to work with 3.0.x
-Signed-off-by: Armin Kuster 
+Update to work with 4.0.8
+Signed-off-by: Alistair Francis 
 
 ---
  src/Makefile | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-Index: src/Makefile
-===
+diff --git a/src/Makefile b/src/Makefile
+index 86e0b3fe..a810180b 100644
 --- a/src/Makefile
 +++ b/src/Makefile
 @@ -13,7 +13,8 @@
@@ -29,6 +29,6 @@ Index: src/Makefile
 -uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
 +# use fake uname option to force use of generic libc
 +uname_S := "USE_LIBC_MALLOC"
+ uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
  OPTIMIZATION?=-O2
  DEPENDENCY_TARGETS=hiredis linenoise lua
- 
diff --git a/meta-oe/recipes-extended/redis/redis/redis.conf 
b/meta-oe/recipes-extended/redis/redis/redis.conf
index ab024ad85..75037d6dc 100644
--- a/meta-oe/recipes-extended/redis/redis/redis.conf
+++ b/meta-oe/recipes-extended/redis/redis/redis.conf
@@ -1,4 +1,9 @@
-# Redis configuration file example
+# Redis 

Re: [oe] [PATCH] redis: Update to 4.0.8

2018-05-24 Thread Alistair Francis
>-Original Message-
>From: Khem Raj [mailto:raj.k...@gmail.com]
>Sent: Wednesday, May 23, 2018 6:26 PM
>To: Alistair Francis 
>Cc: Alistair Francis ; openembeded-devel
>
>Subject: Re: [oe] [PATCH] redis: Update to 4.0.8
>
>On Wed, May 23, 2018 at 9:03 PM, Alistair Francis 
>wrote:
>> On Wed, May 23, 2018 at 5:37 PM, Khem Raj  wrote:
>>> On Wed, May 23, 2018 at 5:58 PM, Alistair Francis
>>>  wrote:
 Update redis to the latest 4.0.8 release. This also involves updating
 the redis.conf while maintaining some OE specific config options.

>>>
>>> fails on mips
>>>
>>> | networking.o: In function `createClient':
>>> | /usr/src/debug/redis/4.0.8-r0/redis-4.0.8/src/networking.c:93:
>>> undefined reference to `__atomic_fetch_add_8'
>>> | collect2: error: ld returned 1 exit status
>>> | make[1]: *** [redis-server] Error 1
>>> | make[1]: *** Waiting for unfinished jobs
>>> | make[1]: Leaving directory
>>> `/mnt/jenkins/workspace/OpenEmbedded/build/tmp/work/mips32r2-bec-
>linux/redis/4.0.8-r0/redis-4.0.8/src'
>>> | make: *** [all] Error 2
>>> | ERROR: oe_runmake failed
>>
>> This seems like a limitation in Redis:
>> https://github.com/antirez/redis/issues/4282
>>
>> I see two options:
>>  1. Try and add pthread support to Redis for MIPS and then maintain that
>>  2. Move the other platforms forward to 4.0.x and keep MIPS at the old
>> 3.x version or remove Redis for MIPS
>>
>> Thoughts?
>>
>
>does this work ?
>
>https://github.com/patrikx3/lede-redis/blob/master/redis/patches/010-
>redis.patch

It does, I'll send a v2.

Alistair

>
>> Alistair
>>
>>>
>>>
>>>
 Signed-off-by: Alistair Francis 
 ---
  ...Makefile-to-add-symbols-to-staticlib.patch |  19 -
  .../hiredis-use-default-CC-if-it-is-set.patch |  12 +-
  .../redis/redis/oe-use-libc-malloc.patch  |  10 +-
  .../recipes-extended/redis/redis/redis.conf   | 974 --
  .../redis/{redis_3.0.2.bb => redis_4.0.8.bb}  |   5 +-
  5 files changed, 882 insertions(+), 138 deletions(-)
  delete mode 100644 meta-oe/recipes-extended/redis/redis/hiredis-update-
>Makefile-to-add-symbols-to-staticlib.patch
  rename meta-oe/recipes-extended/redis/{redis_3.0.2.bb => redis_4.0.8.bb}
>(89%)

 diff --git a/meta-oe/recipes-extended/redis/redis/hiredis-update-Makefile-
>to-add-symbols-to-staticlib.patch b/meta-oe/recipes-
>extended/redis/redis/hiredis-update-Makefile-to-add-symbols-to-staticlib.patch
 deleted file mode 100644
 index 2b3b58793..0
 --- a/meta-oe/recipes-extended/redis/redis/hiredis-update-Makefile-to-add-
>symbols-to-staticlib.patch
 +++ /dev/null
 @@ -1,19 +0,0 @@
  redis-3.0.2/deps/hiredis/Makefile.orig 2016-05-06 
 19:36:26.179003036
>-0700
 -+++ redis-3.0.2/deps/hiredis/Makefile  2016-05-06 19:40:15.341340736 -
>0700
 -@@ -25,7 +25,7 @@
 -
 - # Fallback to gcc when $CC is not in $PATH.
 - CC?=$(shell sh -c 'type $(CC) >/dev/null 2>/dev/null && echo $(CC) || 
 echo
>gcc')
 --OPTIMIZATION?=-O3
 -+OPTIMIZATION?=-O2
 - WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings
 - DEBUG?= -g -ggdb
 - REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG)
>$(ARCH)
 -@@ -68,6 +68,7 @@
 -
 - $(STLIBNAME): $(OBJ)
 -   $(STLIB_MAKE_CMD) $(OBJ)
 -+  $(RANLIB) $@
 -
 - dynamic: $(DYLIBNAME)
 - static: $(STLIBNAME)
 diff --git 
 a/meta-oe/recipes-extended/redis/redis/hiredis-use-default-CC-if-
>it-is-set.patch 
>b/meta-oe/recipes-extended/redis/redis/hiredis-use-default-CC-if-
>it-is-set.patch
 index f9f1c0dbd..421f306de 100644
 --- a/meta-oe/recipes-extended/redis/redis/hiredis-use-default-CC-if-it-is-
>set.patch
 +++ b/meta-oe/recipes-extended/redis/redis/hiredis-use-default-CC-if-it-is-
>set.patch
 @@ -8,23 +8,23 @@ as CC has spaces in it, just skip it if one was already
>passed in.

  Signed-off-by: Venture Research 

 -Update to work with 3.0.x
 -Signed-off-by: Armin Kuster 
 +Update to work with 4.0.8
 +Signed-off-by: Alistair Francis 

  ---
   deps/hiredis/Makefile | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)

 -Index: deps/hiredis/Makefile
 -
>==
>=
 +diff --git a/deps/hiredis/Makefile b/deps/hiredis/Makefile
 +index 9a4de836..271c06ba 100644
  --- a/deps/hiredis/Makefile
  +++ b/deps/hiredis/Makefile
 -@@ -24,7 +24,7 @@ endef
 +@@ -36,7 +36,7 @@ endef
   export REDIS_TEST_CONFIG

   # Fallback to gcc when $CC is not in $PATH.
  -CC:=$(shell sh -c 'type $(CC) >/dev/null 2>/dev/null && echo $(CC) || 
 echo

Re: [oe] [OE-core] meta-openembedded maintainer ship change.

2018-05-24 Thread Trevor Woerner
Thanks to everyone for making this such a great community.
Thanks especially to Armin and Khem (and all past and future maintainers of
meta-openembedded!!) for allowing the project to keep moving forward.
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [OE-core] [RFT] GCC 8.1

2018-05-24 Thread Martin Jansa
> That leaves only few issues in our internal components and strange failure 
> with perf which fails to include various header files:
> perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal 
> error: ../../../../include/uapi/linux/swab.h: No such file or directory
> perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal 
> error: ../../../../include/uapi/linux/swab.h: No such file or directory
> perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal 
> error: ../../../../include/uapi/linux/swab.h: No such file or directory
> perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:1:28:
>  error: #include nested too deeply
> perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:2:26:
>  error: #include nested too deeply
> perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:3:25:
>  error: #include nested too deeply
> perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:5:41:
>  error: #include nested too deeply
> perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal 
> error: ../../../../include/uapi/linux/swab.h: No such file or directory
> perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal 
> error: ../../../../include/uapi/linux/swab.h: No such file or directory
> perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:1:28:
>  error: #include nested too deeply
> perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:2:26:
>  error: #include nested too deeply
> perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:3:25:
>  error: #include nested too deeply
> perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:5:41:
>  error: #include nested too deeply
> perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:1:28:
>  error: #include nested too deeply
> perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:2:26:
>  error: #include nested too deeply
> perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:3:25:
>  error: #include nested too deeply
> perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:5:41:
>  error: #include nested too deeply
> perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal 
> error: ../../../../include/uapi/linux/swab.h: No such file or directory
> perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal 
> error: ../../../../include/uapi/linux/swab.h: No such file or directory
> perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal 
> error: ../../../../include/uapi/linux/swab.h: No such file or directory
> perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal 
> error: ../../../../include/uapi/linux/swab.h: No such file or directory
> perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:1:28:
>  error: #include nested too deeply
> perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:2:26:
>  error: #include nested too deeply
> perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:3:25:
>  error: #include nested too deeply
> perf/1.0-r9/perf-1.0/tools/perf/util/include/../../../include/linux/list.h:5:41:
>  error: #include nested too deeply
> perf/1.0-r9/perf-1.0/tools/perf/util/include/asm/byteorder.h:2:10: fatal 
> error: ../../../../include/uapi/linux/swab.h: No such file or directory
> perf/1.0-r9/perf-1.0/tools/perf/arch/arm/include/../../../../include/asm-generic/bitops/fls.h:1:56:
>  error: #include nested too deeply
> perf/1.0-r9/perf-1.0/tools/perf/arch/arm/include/../../../../include/asm-generic/bitops/fls.h:1:56:
>  error: #include nested too deeply
> ...

This issue wasn't caused by gcc upgrade, it was caused by:
https://patchwork.openembedded.org/patch/150269/
which was included in the same batch of updates when I've included
these RFT changes.

I've sent separate fix for perf with slightly longer explanation what
was wrong:
https://patchwork.openembedded.org/patch/151017/

Now I got a bit further with testing again, remaining 3 issues in public
recipes:

gcc-sanitizers/8.1.0-r0 fails to build with qemuarm (with thumb
enabled):
{standard input}: Assembler messages:
{standard input}:5724: Error: lo register required -- `ldr ip,[sp],#8'
make[2]: *** [sanitizer_linux.lo] Error 1

qtbase/5.6.3+gitAUTOINC+e6f8b072d2-r0 fails to build with qemuarm (with
thumb
enabled):
{standard input}: Assembler messages:
{standard input}: Error: unaligned opcodes detected in executable segment
make[2]: *** [.obj/qdrawhelper.o] Error 1

lib32-glibc-initial/2.27-r0 fails to build with multilib
checking installed Linux kernel header files... missing or too old!
configure: error: GNU libc requires kernel header files from
Linux 3.2.0 or later to be installed before configuring.
The kernel header files are found 

[oe] [meta-oe][master-next][PATCH v3 17/17] libeigen: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.


http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-support/libeigen/libeigen_3.3.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/libeigen/libeigen_3.3.4.bb 
b/meta-oe/recipes-support/libeigen/libeigen_3.3.4.bb
index bc3b32e384..2ffaea63ad 100644
--- a/meta-oe/recipes-support/libeigen/libeigen_3.3.4.bb
+++ b/meta-oe/recipes-support/libeigen/libeigen_3.3.4.bb
@@ -13,7 +13,7 @@ S = "${WORKDIR}/eigen-eigen-5a0156e40feb"
 inherit cmake
 
 FILES_${PN} = "${includedir} ${libdir}"
-FILES_${PN}-dev = "${datadir}/eigen3/cmake ${datadir}/cmake/Modules 
${datadir}/pkgconfig"
+FILES_${PN}-dev = "${datadir}/pkgconfig"
 
 # ${PN} is empty so we need to tweak -dev and -dbg package dependencies
 RDEPENDS_${PN}-dev = ""
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH v3 16/17] opencv: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.


http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-support/opencv/opencv_3.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/opencv/opencv_3.3.bb 
b/meta-oe/recipes-support/opencv/opencv_3.3.bb
index ca62de7c8f..1cadbdb533 100644
--- a/meta-oe/recipes-support/opencv/opencv_3.3.bb
+++ b/meta-oe/recipes-support/opencv/opencv_3.3.bb
@@ -167,7 +167,7 @@ PACKAGES_DYNAMIC += "^libopencv-.*"
 
 FILES_${PN} = ""
 FILES_${PN}-dbg += "${datadir}/OpenCV/java/.debug/* 
${datadir}/OpenCV/samples/bin/.debug/*"
-FILES_${PN}-dev = "${includedir} ${libdir}/pkgconfig ${datadir}/OpenCV/*.cmake"
+FILES_${PN}-dev = "${includedir} ${libdir}/pkgconfig"
 FILES_${PN}-staticdev += "${datadir}/OpenCV/3rdparty/lib/*.a"
 FILES_${PN}-apps = "${bindir}/* ${datadir}/OpenCV"
 FILES_${PN}-java = "${datadir}/OpenCV/java"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH v3 15/17] libwebsockets: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.


http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 .../recipes-connectivity/libwebsockets/libwebsockets_3.0.0.bb| 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_3.0.0.bb 
b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_3.0.0.bb
index ea262f855b..f38414862a 100644
--- a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_3.0.0.bb
+++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_3.0.0.bb
@@ -23,5 +23,4 @@ PACKAGECONFIG[testapps] = 
"-DLWS_WITHOUT_TESTAPPS=OFF,-DLWS_WITHOUT_TESTAPPS=ON,
 
 PACKAGES =+ "${PN}-testapps"
 
-FILES_${PN}-dev += "${libdir}/cmake"
 FILES_${PN}-testapps += "${datadir}/libwebsockets-test-server/*"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH v3 14/17] libtinyxml2: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.


http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-support/libtinyxml2/libtinyxml2_5.0.1.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta-oe/recipes-support/libtinyxml2/libtinyxml2_5.0.1.bb 
b/meta-oe/recipes-support/libtinyxml2/libtinyxml2_5.0.1.bb
index 8b5ab44fdd..c763a6c2b3 100644
--- a/meta-oe/recipes-support/libtinyxml2/libtinyxml2_5.0.1.bb
+++ b/meta-oe/recipes-support/libtinyxml2/libtinyxml2_5.0.1.bb
@@ -12,6 +12,4 @@ S = "${WORKDIR}/git"
 
 inherit cmake
 
-FILES_${PN}-dev += "${libdir}/cmake/"
-
 BBCLASSEXTEND = "native"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH v3 13/17] libssh: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.


http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-support/libssh/libssh_0.7.3.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-oe/recipes-support/libssh/libssh_0.7.3.bb 
b/meta-oe/recipes-support/libssh/libssh_0.7.3.bb
index 79e7dc5998..e5ea2b8bfa 100644
--- a/meta-oe/recipes-support/libssh/libssh_0.7.3.bb
+++ b/meta-oe/recipes-support/libssh/libssh_0.7.3.bb
@@ -30,5 +30,4 @@ do_configure_prepend () {
 || bbfatal "Failed to disable examples"
 }
 
-FILES_${PN}-dev += "${libdir}/cmake"
 TOOLCHAIN = "gcc"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH v3 12/17] libftdi: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.


http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-support/libftdi/libftdi_1.4.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta-oe/recipes-support/libftdi/libftdi_1.4.bb 
b/meta-oe/recipes-support/libftdi/libftdi_1.4.bb
index 6bea16582f..a1576b5617 100644
--- a/meta-oe/recipes-support/libftdi/libftdi_1.4.bb
+++ b/meta-oe/recipes-support/libftdi/libftdi_1.4.bb
@@ -26,6 +26,4 @@ inherit cmake binconfig pkgconfig
 
 EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}"
 
-FILES_${PN}-dev += "${libdir}/cmake"
-
 BBCLASSEXTEND = "native"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH v3 08/17] glm: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.


http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-graphics/glm/glm_0.9.9-a2.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-oe/recipes-graphics/glm/glm_0.9.9-a2.bb 
b/meta-oe/recipes-graphics/glm/glm_0.9.9-a2.bb
index 4e2ee23787..dc0081d031 100644
--- a/meta-oe/recipes-graphics/glm/glm_0.9.9-a2.bb
+++ b/meta-oe/recipes-graphics/glm/glm_0.9.9-a2.bb
@@ -22,7 +22,6 @@ inherit cmake
 
 EXTRA_OECMAKE = "-DGLM_ENABLE_EXPERIMENTAL=ON"
 
-FILES_${PN}-dev += "${libdir}/cmake"
 RDEPENDS_${PN}-dev = ""
 
 BBCLASSEXTEND = "native"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH v3 11/17] gflags: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.


http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-support/gflags/gflags_2.2.0.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta-oe/recipes-support/gflags/gflags_2.2.0.bb 
b/meta-oe/recipes-support/gflags/gflags_2.2.0.bb
index 28b652a640..b186326e9b 100644
--- a/meta-oe/recipes-support/gflags/gflags_2.2.0.bb
+++ b/meta-oe/recipes-support/gflags/gflags_2.2.0.bb
@@ -10,8 +10,6 @@ SRCREV = "f8a0efe03aa69b3336d8e228b37d4ccb17324b88"
 
 S = "${WORKDIR}/git"
 
-FILES_${PN}-dev += "${libdir}/cmake"
-
 inherit cmake
 
 EXTRA_OECMAKE="-DBUILD_SHARED_LIBS=ON -DREGISTER_INSTALL_PREFIX=OFF 
-DLIB_INSTALL_DIR=${baselib}"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH v3 10/17] ceres-solver: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.


http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb 
b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
index 29917c8a14..a3444b934c 100644
--- a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
+++ b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
@@ -16,5 +16,3 @@ inherit cmake
 
 # Only a static library and headers are created
 ALLOW_EMPTY_${PN} = "1"
-
-FILES_${PN}-dev += "${libdir}/cmake/*"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH v3 09/17] openjpeg: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.


http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-graphics/openjpeg/openjpeg_2.2.0.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta-oe/recipes-graphics/openjpeg/openjpeg_2.2.0.bb 
b/meta-oe/recipes-graphics/openjpeg/openjpeg_2.2.0.bb
index 4ef1c408fd..f749d62342 100644
--- a/meta-oe/recipes-graphics/openjpeg/openjpeg_2.2.0.bb
+++ b/meta-oe/recipes-graphics/openjpeg/openjpeg_2.2.0.bb
@@ -17,5 +17,3 @@ DEPENDS = "libpng tiff lcms zlib"
 # standard path for *.cmake
 EXTRA_OECMAKE += "-DOPENJPEG_INSTALL_PACKAGE_DIR=${baselib}/cmake \
   -DOPENJPEG_INSTALL_LIB_DIR:PATH=${libdir}"
-
-FILES_${PN}-dev += "${libdir}/cmake/*.cmake"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH v3 07/17] rapidjson: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.


http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb 
b/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb
index 8ab35d224b..069385d5b0 100644
--- a/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb
+++ b/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb
@@ -20,7 +20,6 @@ EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF 
-DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJ
 
 # RapidJSON is a header-only C++ library, so the main package will be empty.
 
-FILES_${PN}-dev += "${libdir}/cmake"
 RDEPENDS_${PN}-dev = ""
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH v3 06/17] msgpack_c: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.


http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-devtools/msgpack/msgpack-c_2.1.5.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta-oe/recipes-devtools/msgpack/msgpack-c_2.1.5.bb 
b/meta-oe/recipes-devtools/msgpack/msgpack-c_2.1.5.bb
index 02c0cd2964..3ae4c1f879 100644
--- a/meta-oe/recipes-devtools/msgpack/msgpack-c_2.1.5.bb
+++ b/meta-oe/recipes-devtools/msgpack/msgpack-c_2.1.5.bb
@@ -18,5 +18,3 @@ SRC_URI = "git://github.com/msgpack/msgpack-c \
 inherit cmake pkgconfig
 
 S = "${WORKDIR}/git"
-
-FILES_${PN}-dev += "${libdir}/cmake/msgpack/*.cmake"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH v3 02/17] rocksdb: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.


http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb 
b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
index 9a2f9dd1c5..a3b06fd133 100644
--- a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
+++ b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
@@ -30,5 +30,3 @@ EXTRA_OECMAKE = "\
 -DWITH_TESTS=OFF \
 -DWITH_TOOLS=OFF \
 "
-
-FILES_${PN}-dev += "${libdir}/cmake"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH v3 05/17] librcf: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.


http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb 
b/meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb
index 267c0e79f5..dcd47a4e69 100644
--- a/meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb
+++ b/meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb
@@ -47,7 +47,6 @@ PACKAGECONFIG[demos] = 
"-DLIBRCF_BUILD_DEMOS=ON,-DLIBRCF_BUILD_DEMOS=OFF,"
 PACKAGES =+ "${@bb.utils.contains('PACKAGECONFIG', 'demos', '${PN}-demos', '', 
d)}"
 
 FILES_${PN}-demos = "${bindir}/*"
-FILES_${PN}-dev += "${datadir}/cmake/Modules/FindLibRcf.cmake"
 
 BBCLASSEXTEND = "nativesdk"
 
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH v3 01/17] openobex: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.


http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb 
b/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb
index 1b56685c57..dcc2edf76e 100644
--- a/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb
+++ b/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb
@@ -34,7 +34,7 @@ do_install_append () {
 PACKAGES =+ "openobex-apps"
 FILES_${PN}-apps = "${bindir}/*"
 FILES_${PN} += "${libdir}/lib*.so.*"
-FILES_${PN}-dev += "${bindir}/openobex-config ${libdir}/cmake"
+FILES_${PN}-dev += "${bindir}/openobex-config"
 DEBIAN_NOAUTONAME_${PN}-apps = "1"
 
 BBCLASSEXTEND = "native"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH v3 04/17] json-spirit: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.


http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-devtools/json-spirit/json-spirit_4.08.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta-oe/recipes-devtools/json-spirit/json-spirit_4.08.bb 
b/meta-oe/recipes-devtools/json-spirit/json-spirit_4.08.bb
index c7c1ad1eca..3c1d8a9959 100644
--- a/meta-oe/recipes-devtools/json-spirit/json-spirit_4.08.bb
+++ b/meta-oe/recipes-devtools/json-spirit/json-spirit_4.08.bb
@@ -20,6 +20,4 @@ DEPENDS = "boost"
 
 inherit cmake
 
-FILES_${PN}-dev += "${datadir}/cmake/Modules/FindLibJsonSpirit.cmake"
-
 BBCLASSEXTEND = "nativesdk"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH v3 00/17] rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
v3:
- break patches back up into individual patches for each recipe
- avoid including fftw
- find a couple extra recipes to patch:
libwebsockets
opencv
libeigen

v2:
- re-spin Andre's patches to only include this change
  (i.e. rely on cmake.bbclass) without any formatting changes
- re-base on top of master-next (changes location of grpc)
- combine all such patches together into 2 patches
  (one for meta-oe, one for meta-networking)

v1:
- Andre's original patchset

Trevor Woerner (17):
  openobex: rely on cmake.bbclass to put cmake package files in dev package
  rocksdb: rely on cmake.bbclass to put cmake package files in dev package
  capnproto: rely on cmake.bbclass to put cmake package files in dev package
  json-spirit: rely on cmake.bbclass to put cmake package files in dev package
  librcf: rely on cmake.bbclass to put cmake package files in dev package
  msgpack_c: rely on cmake.bbclass to put cmake package files in dev package
  rapidjson: rely on cmake.bbclass to put cmake package files in dev package
  glm: rely on cmake.bbclass to put cmake package files in dev package
  openjpeg: rely on cmake.bbclass to put cmake package files in dev package
  ceres-solver: rely on cmake.bbclass to put cmake package files in dev package
  gflags: rely on cmake.bbclass to put cmake package files in dev package
  libftdi: rely on cmake.bbclass to put cmake package files in dev package
  libssh: rely on cmake.bbclass to put cmake package files in dev package
  libtinyxml2: rely on cmake.bbclass to put cmake package files in dev package
  libwebsockets: rely on cmake.bbclass to put cmake package files in dev package
  opencv: rely on cmake.bbclass to put cmake package files in dev package
  libeigen: rely on cmake.bbclass to put cmake package files in dev package

 .../recipes-connectivity/libwebsockets/libwebsockets_3.0.0.bb   | 1 -
 meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb | 2 +-
 meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb  | 2 --
 meta-oe/recipes-devtools/capnproto/capnproto_0.6.1.bb   | 1 -
 meta-oe/recipes-devtools/json-spirit/json-spirit_4.08.bb| 2 --
 meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb   | 1 -
 meta-oe/recipes-devtools/msgpack/msgpack-c_2.1.5.bb | 2 --
 meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb | 1 -
 meta-oe/recipes-graphics/glm/glm_0.9.9-a2.bb| 1 -
 meta-oe/recipes-graphics/openjpeg/openjpeg_2.2.0.bb | 2 --
 meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb   | 2 --
 meta-oe/recipes-support/gflags/gflags_2.2.0.bb  | 2 --
 meta-oe/recipes-support/libeigen/libeigen_3.3.4.bb  | 2 +-
 meta-oe/recipes-support/libftdi/libftdi_1.4.bb  | 2 --
 meta-oe/recipes-support/libssh/libssh_0.7.3.bb  | 1 -
 meta-oe/recipes-support/libtinyxml2/libtinyxml2_5.0.1.bb| 2 --
 meta-oe/recipes-support/opencv/opencv_3.3.bb| 2 +-
 17 files changed, 3 insertions(+), 25 deletions(-)

-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][master-next][PATCH v3 03/17] capnproto: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.


http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-oe/recipes-devtools/capnproto/capnproto_0.6.1.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/capnproto/capnproto_0.6.1.bb 
b/meta-oe/recipes-devtools/capnproto/capnproto_0.6.1.bb
index ffbe73feee..dfe19947c0 100644
--- a/meta-oe/recipes-devtools/capnproto/capnproto_0.6.1.bb
+++ b/meta-oe/recipes-devtools/capnproto/capnproto_0.6.1.bb
@@ -20,7 +20,6 @@ S = "${WORKDIR}/git/c++"
 PACKAGE_BEFORE_PN = "${PN}-compiler"
 RDEPENDS_${PN}-dev += "${PN}-compiler"
 
-FILES_${PN}-dev += "${libdir}/cmake"
 FILES_${PN}-compiler = "${bindir}"
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.17.0.582.gccdcbd54c

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


Re: [oe] [meta-networking][morty][PATCH 1/1] dnsmasq: backport CVE fixes from dnsmasq 2.78

2018-05-24 Thread Randy MacLeod


Khem,

Are you handling backports for morty as well?
This _is_ in patchworks so it might reduce your ping emails
if you state that you'll get to the backlog over the
coming month or so.

Thanks,
../Randy


On 05/04/2018 06:04 PM, Joe Slater wrote:

From: Zhang Xiao 

CVE-2017-1449{1-6}

Signed-off-by: Zhang Xiao 
Signed-off-by: Joe Slater 
---
  .../dnsmasq/dnsmasq-CVE-2017-14491-02.patch|  75 ++
  .../dnsmasq/dnsmasq/dnsmasq-CVE-2017-14491.patch   | 268 +
  .../dnsmasq/dnsmasq/dnsmasq-CVE-2017-14492.patch   |  37 +++
  .../dnsmasq/dnsmasq/dnsmasq-CVE-2017-14493.patch   |  37 +++
  .../dnsmasq/dnsmasq/dnsmasq-CVE-2017-14494.patch   |  37 +++
  .../dnsmasq/dnsmasq/dnsmasq-CVE-2017-14495.patch   |  48 
  .../dnsmasq/dnsmasq/dnsmasq-CVE-2017-14496.patch   |  73 ++
  .../recipes-support/dnsmasq/dnsmasq_2.76.bb|   7 +
  8 files changed, 582 insertions(+)
  create mode 100644 
meta-networking/recipes-support/dnsmasq/dnsmasq/dnsmasq-CVE-2017-14491-02.patch
  create mode 100644 
meta-networking/recipes-support/dnsmasq/dnsmasq/dnsmasq-CVE-2017-14491.patch
  create mode 100644 
meta-networking/recipes-support/dnsmasq/dnsmasq/dnsmasq-CVE-2017-14492.patch
  create mode 100644 
meta-networking/recipes-support/dnsmasq/dnsmasq/dnsmasq-CVE-2017-14493.patch
  create mode 100644 
meta-networking/recipes-support/dnsmasq/dnsmasq/dnsmasq-CVE-2017-14494.patch
  create mode 100644 
meta-networking/recipes-support/dnsmasq/dnsmasq/dnsmasq-CVE-2017-14495.patch
  create mode 100644 
meta-networking/recipes-support/dnsmasq/dnsmasq/dnsmasq-CVE-2017-14496.patch



--
# Randy MacLeod
# Wind River Linux
--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-networking][rocko][PATCH v3] civetweb: Add new recipe with git-based version

2018-05-24 Thread akuster808


On 05/24/2018 02:03 AM, Krzysztof Kozlowski wrote:
> Add recipe for CivetWeb: easy to use, powerful, C/C++ embeddable web
> server with optional CGI, SSL and Lua support, under MIT license.
>
> CivetWeb provides C and C++ libraries and a standalone server binary.
>
> Choose specific post-v1.10 git revision b8148afe8fa4 which has a fixed
> SSL support (depending on OpenSSL v1.0.2).
>
> Signed-off-by: Krzysztof Kozlowski 

Adding new packages to a stable branch is not allowed.  Also I don't see
it in master.

- Armin 
>
> ---
>
> Changes since v2:
> 1. Bump to post-v1.10 git revision.
> 2. Add ssl package config.
> 3. Drop cgi, cpp and debug from default package config.
>
> Changes since v1:
> 1. Use SRCREC as suggested by Khem Raj.
> 2. Drop nativesdk class.
> 3. Fix native build with patch.
> 4. Explicitly disable SSL (does not build at v1.10).
> 5. Disable ASAN (not applicable for native builds).
> ---
>  ...ssing-librt-and-libm-during-native-compil.patch | 42 +
>  .../recipes-connectivity/civetweb/civetweb_git.bb  | 43 
> ++
>  2 files changed, 85 insertions(+)
>  create mode 100644 
> meta-networking/recipes-connectivity/civetweb/civetweb/0001-Test-Fix-missing-librt-and-libm-during-native-compil.patch
>  create mode 100644 
> meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
>
> diff --git 
> a/meta-networking/recipes-connectivity/civetweb/civetweb/0001-Test-Fix-missing-librt-and-libm-during-native-compil.patch
>  
> b/meta-networking/recipes-connectivity/civetweb/civetweb/0001-Test-Fix-missing-librt-and-libm-during-native-compil.patch
> new file mode 100644
> index ..401cf39ad8df
> --- /dev/null
> +++ 
> b/meta-networking/recipes-connectivity/civetweb/civetweb/0001-Test-Fix-missing-librt-and-libm-during-native-compil.patch
> @@ -0,0 +1,42 @@
> +From cd93e2c538cecb3192fd24c0fbd6e834d0c47eec Mon Sep 17 00:00:00 2001
> +From: Krzysztof Kozlowski 
> +Date: Wed, 18 Apr 2018 14:11:52 +0200
> +Subject: [PATCH] Unittest: Fix missing librt and libm during native 
> compilation
> +
> +civetweb looks for librt and libm in weird places and for native build
> +this fails:
> +
> +| ../third_party/lib/libcheck.a(check.c.o): In function `tcase_create':
> +| 
> build/tmp/work/x86_64-linux/civetweb-native/1.10-r0/build/third_party/src/check-unit-test-framework/src/check.c:145:
>  undefined reference to `floor'
> +| 
> build/tmp/work/x86_64-linux/civetweb-native/1.10-r0/build/third_party/src/check-unit-test-framework/src/check.c:148:
>  undefined reference to `floor'
> +
> +These are needed dependencies so try regular system linkage in such
> +case.
> +
> +Signed-off-by: Krzysztof Kozlowski 
> +---
> + unittest/CMakeLists.txt | 4 
> + 1 file changed, 4 insertions(+)
> +
> +diff --git a/unittest/CMakeLists.txt b/unittest/CMakeLists.txt
> +index f34b2e0e4ce4..05d25702178c 100644
> +--- a/unittest/CMakeLists.txt
>  b/unittest/CMakeLists.txt
> +@@ -60,10 +60,14 @@ endif()
> + find_package(LibM)
> + if (LIBM_FOUND)
> +   set(CHECK_LIBRARIES "${CHECK_LIBRARIES};LIBM::LIBM")
> ++else()
> ++  set(CHECK_LIBRARIES "${CHECK_LIBRARIES};-lm")
> + endif()
> + find_package(LibRt)
> + if (LIBRT_FOUND)
> +   set(CHECK_LIBRARIES "${CHECK_LIBRARIES};LIBRT::LIBRT")
> ++else()
> ++  set(CHECK_LIBRARIES "${CHECK_LIBRARIES};-lrt")
> + endif()
> + 
> + # Build the C unit tests
> +-- 
> +2.7.4
> +
> diff --git a/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb 
> b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
> new file mode 100644
> index ..ffe7282b73c9
> --- /dev/null
> +++ b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
> @@ -0,0 +1,43 @@
> +SUMMARY = "Civetweb embedded web server"
> +HOMEPAGE = "https://github.com/civetweb/civetweb;
> +
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=6f28fdcba0dda735eed62bac6a397562"
> +
> +SRCREV = "b8148afe8fa44c64f75e69655c4fdc9095565568"
> +PV = "1.10+git${SRCPV}"
> +SRC_URI = "git://github.com/civetweb/civetweb.git"
> +SRC_URI_append_class-native = " \
> +file://0001-Test-Fix-missing-librt-and-libm-during-native-compil.patch \
> +"
> +S = "${WORKDIR}/git"
> +
> +# civetweb supports building with make or cmake (although cmake lacks few 
> features)
> +inherit cmake
> +
> +# Disable Lua and Duktape because they do not compile from CMake (as of 
> v1.8, v1.9 and v1.10).
> +# Disable ASAN as it is included only in Debug build.
> +EXTRA_OECMAKE = " \
> +-DBUILD_SHARED_LIBS=ON \
> +-DCIVETWEB_ENABLE_DUKTAPE=OFF \
> +-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 \
> +"
> +
> +PACKAGECONFIG ??= "caching ipv6 server ssl websockets"
> +PACKAGECONFIG[caching] = 
> 

[oe] [meta-oe][PATCH v2] turbostat: add the recipe of turbostat to meta-oe

2018-05-24 Thread Hongzhi.Song
It is an efficient and necessary tool to reflect the status of X86
processors. Turbostat reports processor topology, frequency, idle
power-state statistics, temperature and power on X86 processors.

Signed-off-by: Hongzhi.Song 
---
 recipes-kernel/turbostat/turbostat_3.4.bb | 58 +++
 1 file changed, 58 insertions(+)
 create mode 100644 recipes-kernel/turbostat/turbostat_3.4.bb

diff --git a/recipes-kernel/turbostat/turbostat_3.4.bb 
b/recipes-kernel/turbostat/turbostat_3.4.bb
new file mode 100644
index 000..13c53aa
--- /dev/null
+++ b/recipes-kernel/turbostat/turbostat_3.4.bb
@@ -0,0 +1,58 @@
+#
+# Copyright (C) 2013 Wind River Systems, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+SUMMARY = "Frequency and Idle power monitoring tools for Linux"
+
+DESCRIPTION = "The turbostat tool allows you to determine the actual \
+processor frequency and idle power saving state residency on supported \
+processors."
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
+
+COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux'
+COMPATIBLE_HOST_libc-musl = "null"
+
+DEPENDS = "virtual/kernel"
+
+do_fetch[noexec] = "1"
+do_unpack[noexec] = "1"
+do_patch[noexec] = "1"
+
+# This looks in S, so we better make sure there's
+# something in the directory.
+#
+do_populate_lic[depends] = "${PN}:do_configure"
+
+
+EXTRA_OEMAKE = '\
+CC="${CC}" \
+   'CFLAGS=-Wall -I${STAGING_KERNEL_DIR}/arch/x86/include/uapi 
${LDFLAGS}' \
+   '
+
+# If we build under STAGING_KERNEL_DIR, source will not be put
+# into the dbg rpm.  STAGING_KERNEL_DIR will exist by the time
+# do_configure() is invoked so we can safely copy from it.
+#
+do_configure_prepend() {
+   mkdir -p ${S}
+   cp -r ${STAGING_KERNEL_DIR}/arch/x86/include/asm/msr-index.h ${S}
+   cp -r ${STAGING_KERNEL_DIR}/arch/x86/include/asm/intel-family.h ${S}
+   cp -r ${STAGING_KERNEL_DIR}/tools/power/x86/turbostat/* ${S}
+   cp -r ${STAGING_KERNEL_DIR}/COPYING ${S}
+}
+
+do_compile() {
+   sed -i 's#MSRHEADER#"msr-index.h"#' turbostat.c
+   sed -i 's#INTEL_FAMILY_HEADER#"intel-family.h"#' turbostat.c
+   sed -i 's#\$(CC) \$(CFLAGS) \$< -o \$(BUILD_OUTPUT)/\$@#\$(CC) 
\$(CFLAGS) \$(LDFLAGS) \$< -o \$(BUILD_OUTPUT)/\$@#' Makefile
+   oe_runmake STAGING_KERNEL_DIR=${STAGING_KERNEL_DIR}
+}
+
+do_install() {
+   oe_runmake DESTDIR="${D}" install
+}
-- 
2.11.0

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


[oe] [meta-networking][master-next][PATCH v3 2/2] c-ares: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.


http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-networking/recipes-support/c-ares/c-ares_1.13.0.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-networking/recipes-support/c-ares/c-ares_1.13.0.bb 
b/meta-networking/recipes-support/c-ares/c-ares_1.13.0.bb
index 70e497f5f0..defbeaa623 100644
--- a/meta-networking/recipes-support/c-ares/c-ares_1.13.0.bb
+++ b/meta-networking/recipes-support/c-ares/c-ares_1.13.0.bb
@@ -18,7 +18,6 @@ inherit cmake pkgconfig
 
 PACKAGES =+ "${PN}-utils"
 
-FILES_${PN}-dev += "${libdir}/cmake"
 FILES_${PN}-utils = "${bindir}"
 
 BBCLASSEXTEND = "native"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-networking][master-next][PATCH v3 1/2] grpc: rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.


http://git.openembedded.org/openembedded-core/commit/?id=d91dc483a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy 
Signed-off-by: Trevor Woerner 
---
 meta-networking/recipes-devtools/grpc/grpc_1.8.5.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta-networking/recipes-devtools/grpc/grpc_1.8.5.bb 
b/meta-networking/recipes-devtools/grpc/grpc_1.8.5.bb
index 0883ec176b..e9491c45a9 100644
--- a/meta-networking/recipes-devtools/grpc/grpc_1.8.5.bb
+++ b/meta-networking/recipes-devtools/grpc/grpc_1.8.5.bb
@@ -31,6 +31,4 @@ EXTRA_OECMAKE = " \
 -DBUILD_SHARED_LIBS=ON \
 "
 
-FILES_${PN}-dev += "${libdir}/cmake"
-
 BBCLASSEXTEND = "native"
-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-networking][master-next][PATCH v3 0/2] rely on cmake.bbclass to put cmake package files in dev package

2018-05-24 Thread Trevor Woerner
v3:
- break patches back up into individual patches for each recipe
- avoid including fftw

v2:
- re-spin Andre's patches to only include this change (i.e. rely on
  cmake.bbclass) without any formatting changes
- combine all such patches together into 2 patches
  (one for meta-oe, one for meta-networking)

v1:
- Andre's original patchset

Trevor Woerner (2):
  grpc: rely on cmake.bbclass to put cmake package files in dev package
  c-ares: rely on cmake.bbclass to put cmake package files in dev
package

 meta-networking/recipes-devtools/grpc/grpc_1.8.5.bb | 2 --
 meta-networking/recipes-support/c-ares/c-ares_1.13.0.bb | 1 -
 2 files changed, 3 deletions(-)

-- 
2.17.0.582.gccdcbd54c

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


[oe] [meta-oe][PATCH] libtevent: refresh patch

2018-05-24 Thread Hains van den Bosch
WARNING: libtevent-0.9.36-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly 
applied patches.
The context lines in the patches can be updated with devtool:

devtool modify 
devtool finish --force-patch-refresh  

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch avoid-attr-unless-wanted.patch
patching file lib/replace/wscript
Hunk #1 succeeded at 793 with fuzz 2 (offset 175 lines).
Hunk #2 succeeded at 806 with fuzz 2 (offset 178 lines).

Now at patch avoid-attr-unless-wanted.patch

Signed-off-by: Hains van den Bosch 
---
 .../libtevent/avoid-attr-unless-wanted.patch   | 18 ++
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git 
a/meta-networking/recipes-support/libtevent/libtevent/avoid-attr-unless-wanted.patch
 
b/meta-networking/recipes-support/libtevent/libtevent/avoid-attr-unless-wanted.patch
index 2fc55239c..35890335a 100644
--- 
a/meta-networking/recipes-support/libtevent/libtevent/avoid-attr-unless-wanted.patch
+++ 
b/meta-networking/recipes-support/libtevent/libtevent/avoid-attr-unless-wanted.patch
@@ -1,20 +1,22 @@
 a/lib/replace/wscript  2015-11-18 15:40:19.0 +0100
-+++ b/lib/replace/wscript  2015-11-18 15:48:09.0 +0100
-@@ -618,8 +618,6 @@
+diff --git a/lib/replace/wscript b/lib/replace/wscript
+index 079761d..07e0104 100644
+--- a/lib/replace/wscript
 b/lib/replace/wscript
+@@ -793,8 +793,6 @@ def build(bld):
  if not bld.CONFIG_SET('HAVE_INET_ATON'): REPLACE_SOURCE += ' 
inet_aton.c'
  if not bld.CONFIG_SET('HAVE_INET_NTOP'): REPLACE_SOURCE += ' 
inet_ntop.c'
  if not bld.CONFIG_SET('HAVE_INET_PTON'): REPLACE_SOURCE += ' 
inet_pton.c'
 -if not bld.CONFIG_SET('HAVE_GETXATTR') or 
bld.CONFIG_SET('XATTR_ADDITIONAL_OPTIONS'):
 - REPLACE_SOURCE += ' xattr.c'
  
- bld.SAMBA_LIBRARY('replace',
-   source=REPLACE_SOURCE,
-@@ -630,7 +628,7 @@
+ if not bld.CONFIG_SET('HAVE_CLOSEFROM'):
+ REPLACE_SOURCE += ' closefrom.c'
+@@ -808,7 +806,7 @@ def build(bld):
# at the moment:
# hide_symbols=bld.BUILTIN_LIBRARY('replace'),
private_library=True,
 -  deps='crypt dl nsl socket rt attr' + extra_libs)
 +  deps='crypt dl nsl socket rt ' + extra_libs)
  
- bld.SAMBA_SUBSYSTEM('replace-test',
-   source='''test/testsuite.c test/strptime.c
+ replace_test_cflags="-Wno-format-zero-length"
+ if bld.CONFIG_SET('HAVE_WNO_FORMAT_TRUNCATION'):
-- 
2.17.0

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


[oe] [meta-networking][rocko][PATCH v3] civetweb: Add new recipe with git-based version

2018-05-24 Thread Krzysztof Kozlowski
Add recipe for CivetWeb: easy to use, powerful, C/C++ embeddable web
server with optional CGI, SSL and Lua support, under MIT license.

CivetWeb provides C and C++ libraries and a standalone server binary.

Choose specific post-v1.10 git revision b8148afe8fa4 which has a fixed
SSL support (depending on OpenSSL v1.0.2).

Signed-off-by: Krzysztof Kozlowski 

---

Changes since v2:
1. Bump to post-v1.10 git revision.
2. Add ssl package config.
3. Drop cgi, cpp and debug from default package config.

Changes since v1:
1. Use SRCREC as suggested by Khem Raj.
2. Drop nativesdk class.
3. Fix native build with patch.
4. Explicitly disable SSL (does not build at v1.10).
5. Disable ASAN (not applicable for native builds).
---
 ...ssing-librt-and-libm-during-native-compil.patch | 42 +
 .../recipes-connectivity/civetweb/civetweb_git.bb  | 43 ++
 2 files changed, 85 insertions(+)
 create mode 100644 
meta-networking/recipes-connectivity/civetweb/civetweb/0001-Test-Fix-missing-librt-and-libm-during-native-compil.patch
 create mode 100644 
meta-networking/recipes-connectivity/civetweb/civetweb_git.bb

diff --git 
a/meta-networking/recipes-connectivity/civetweb/civetweb/0001-Test-Fix-missing-librt-and-libm-during-native-compil.patch
 
b/meta-networking/recipes-connectivity/civetweb/civetweb/0001-Test-Fix-missing-librt-and-libm-during-native-compil.patch
new file mode 100644
index ..401cf39ad8df
--- /dev/null
+++ 
b/meta-networking/recipes-connectivity/civetweb/civetweb/0001-Test-Fix-missing-librt-and-libm-during-native-compil.patch
@@ -0,0 +1,42 @@
+From cd93e2c538cecb3192fd24c0fbd6e834d0c47eec Mon Sep 17 00:00:00 2001
+From: Krzysztof Kozlowski 
+Date: Wed, 18 Apr 2018 14:11:52 +0200
+Subject: [PATCH] Unittest: Fix missing librt and libm during native compilation
+
+civetweb looks for librt and libm in weird places and for native build
+this fails:
+
+| ../third_party/lib/libcheck.a(check.c.o): In function `tcase_create':
+| 
build/tmp/work/x86_64-linux/civetweb-native/1.10-r0/build/third_party/src/check-unit-test-framework/src/check.c:145:
 undefined reference to `floor'
+| 
build/tmp/work/x86_64-linux/civetweb-native/1.10-r0/build/third_party/src/check-unit-test-framework/src/check.c:148:
 undefined reference to `floor'
+
+These are needed dependencies so try regular system linkage in such
+case.
+
+Signed-off-by: Krzysztof Kozlowski 
+---
+ unittest/CMakeLists.txt | 4 
+ 1 file changed, 4 insertions(+)
+
+diff --git a/unittest/CMakeLists.txt b/unittest/CMakeLists.txt
+index f34b2e0e4ce4..05d25702178c 100644
+--- a/unittest/CMakeLists.txt
 b/unittest/CMakeLists.txt
+@@ -60,10 +60,14 @@ endif()
+ find_package(LibM)
+ if (LIBM_FOUND)
+   set(CHECK_LIBRARIES "${CHECK_LIBRARIES};LIBM::LIBM")
++else()
++  set(CHECK_LIBRARIES "${CHECK_LIBRARIES};-lm")
+ endif()
+ find_package(LibRt)
+ if (LIBRT_FOUND)
+   set(CHECK_LIBRARIES "${CHECK_LIBRARIES};LIBRT::LIBRT")
++else()
++  set(CHECK_LIBRARIES "${CHECK_LIBRARIES};-lrt")
+ endif()
+ 
+ # Build the C unit tests
+-- 
+2.7.4
+
diff --git a/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb 
b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
new file mode 100644
index ..ffe7282b73c9
--- /dev/null
+++ b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
@@ -0,0 +1,43 @@
+SUMMARY = "Civetweb embedded web server"
+HOMEPAGE = "https://github.com/civetweb/civetweb;
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=6f28fdcba0dda735eed62bac6a397562"
+
+SRCREV = "b8148afe8fa44c64f75e69655c4fdc9095565568"
+PV = "1.10+git${SRCPV}"
+SRC_URI = "git://github.com/civetweb/civetweb.git"
+SRC_URI_append_class-native = " \
+file://0001-Test-Fix-missing-librt-and-libm-during-native-compil.patch \
+"
+S = "${WORKDIR}/git"
+
+# civetweb supports building with make or cmake (although cmake lacks few 
features)
+inherit cmake
+
+# Disable Lua and Duktape because they do not compile from CMake (as of v1.8, 
v1.9 and v1.10).
+# Disable ASAN as it is included only in Debug build.
+EXTRA_OECMAKE = " \
+-DBUILD_SHARED_LIBS=ON \
+-DCIVETWEB_ENABLE_DUKTAPE=OFF \
+-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 \
+"
+
+PACKAGECONFIG ??= "caching ipv6 server ssl websockets"
+PACKAGECONFIG[caching] = 
"-DCIVETWEB_DISABLE_CACHING=OFF,-DCIVETWEB_DISABLE_CACHING=ON,"
+PACKAGECONFIG[cgi] = "-DCIVETWEB_DISABLE_CGI=OFF,-DCIVETWEB_DISABLE_CGI=ON,"
+PACKAGECONFIG[cpp] = "-DCIVETWEB_ENABLE_CXX=ON,-DCIVETWEB_ENABLE_CXX=OFF,"
+PACKAGECONFIG[debug] = 
"-DCIVETWEB_ENABLE_MEMORY_DEBUGGING=ON,-DCIVETWEB_ENABLE_MEMORY_DEBUGGING=OFF,"
+PACKAGECONFIG[ipv6] = "-DCIVETWEB_ENABLE_IPV6=ON,-DCIVETWEB_ENABLE_IPV6=OFF,"
+PACKAGECONFIG[server] = 

[oe] [meta-gnome][PATCH V2] metacity: fix version number typo 3.38.0 -> 3.28.0

2018-05-24 Thread Hongxu Jia
Signed-off-by: Hongxu Jia 
---
 .../recipes-gnome/metacity/{metacity_3.38.0.bb => metacity_3.28.0.bb}   | 2 ++
 1 file changed, 2 insertions(+)
 rename meta-gnome/recipes-gnome/metacity/{metacity_3.38.0.bb => 
metacity_3.28.0.bb} (99%)

diff --git a/meta-gnome/recipes-gnome/metacity/metacity_3.38.0.bb 
b/meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb
similarity index 99%
rename from meta-gnome/recipes-gnome/metacity/metacity_3.38.0.bb
rename to meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb
index 48fc914..ce97a80 100644
--- a/meta-gnome/recipes-gnome/metacity/metacity_3.38.0.bb
+++ b/meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb
@@ -4,6 +4,8 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b4cce53560b8e619ffa7c830fb8761aa \
 
file://src/include/main.h;endline=24;md5=72148ede07a6dadd01de6a882d20a9ad"
 
+PE = "1"
+
 DEPENDS = "gsettings-desktop-schemas startup-notification \
gnome-doc-utils gdk-pixbuf-native \
gtk+3 glib-2.0 libcanberra libgtop intltool-native"
-- 
2.7.4

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


Re: [oe] [meta-gnome][PATCH] metacity: fix version number typo 3.38.0 -> 3.28.0

2018-05-24 Thread Hongxu Jia

On 2018年05月24日 16:16, Andreas Müller wrote:

On Thu, May 24, 2018 at 9:39 AM, Hongxu Jia  wrote:

Signed-off-by: Hongxu Jia 
---
  .../recipes-gnome/metacity/{metacity_3.38.0.bb => metacity_3.28.0.bb} | 0
  1 file changed, 0 insertions(+), 0 deletions(-)
  rename meta-gnome/recipes-gnome/metacity/{metacity_3.38.0.bb => 
metacity_3.28.0.bb} (100%)

diff --git a/meta-gnome/recipes-gnome/metacity/metacity_3.38.0.bb 
b/meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb
similarity index 100%
rename from meta-gnome/recipes-gnome/metacity/metacity_3.38.0.bb
rename to meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb
--
2.7.4


This causes version going backwards. How about adding (incrementing) PE?


Agree, here is the introduce

https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-PE

//Hongxu



Andreas



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


Re: [oe] [meta-gnome][PATCH] metacity: fix version number typo 3.38.0 -> 3.28.0

2018-05-24 Thread Andreas Müller
On Thu, May 24, 2018 at 9:39 AM, Hongxu Jia  wrote:
> Signed-off-by: Hongxu Jia 
> ---
>  .../recipes-gnome/metacity/{metacity_3.38.0.bb => metacity_3.28.0.bb} | 0
>  1 file changed, 0 insertions(+), 0 deletions(-)
>  rename meta-gnome/recipes-gnome/metacity/{metacity_3.38.0.bb => 
> metacity_3.28.0.bb} (100%)
>
> diff --git a/meta-gnome/recipes-gnome/metacity/metacity_3.38.0.bb 
> b/meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb
> similarity index 100%
> rename from meta-gnome/recipes-gnome/metacity/metacity_3.38.0.bb
> rename to meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb
> --
> 2.7.4
>
This causes version going backwards. How about adding (incrementing) PE?

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


[oe] [meta-multimedia][PATCH] meta-multimedia: update LAYERDEPENDS

2018-05-24 Thread Yi Zhao
Add meta-oe as LAYERDEPENDS to fix ParseError:
meta-multimedia/recipes-mkv/libebml/libebml_1.3.0.bb:13:
Could not inherit file classes/dos2unix.bbclass

Signed-off-by: Yi Zhao 
---
 meta-multimedia/conf/layer.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-multimedia/conf/layer.conf b/meta-multimedia/conf/layer.conf
index cfedf2f..24d7a6d 100644
--- a/meta-multimedia/conf/layer.conf
+++ b/meta-multimedia/conf/layer.conf
@@ -28,5 +28,6 @@ BBFILE_PRIORITY_multimedia-layer = "6"
 LAYERVERSION_multimedia-layer = "1"
 
 LAYERDEPENDS_multimedia-layer = "core"
+LAYERDEPENDS_multimedia-layer += "openembedded-layer"
 
 LAYERSERIES_COMPAT_multimedia-layer = "sumo"
-- 
2.7.4

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