[oe] [meta-oe][PATCH v2] Dhrystone: add recipe 2.1

2017-08-21 Thread Jose Alarcon
Dhrystone is a synthetic computing benchmark program developed
in 1984 by Reinhold P. Weicker intended to be representative of
system (integer) programming.

https://en.wikipedia.org/wiki/Dhrystone

Signed-off-by: Jose Alarcon 
---
 .../dhrystone/dhrystone-2.1/dhrystone.patch| 81 ++
 .../recipes-benchmark/dhrystone/dhrystone_2.1.bb   | 26 +++
 2 files changed, 107 insertions(+)
 create mode 100644 
meta-oe/recipes-benchmark/dhrystone/dhrystone-2.1/dhrystone.patch
 create mode 100644 meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb

diff --git a/meta-oe/recipes-benchmark/dhrystone/dhrystone-2.1/dhrystone.patch 
b/meta-oe/recipes-benchmark/dhrystone/dhrystone-2.1/dhrystone.patch
new file mode 100644
index 000..6a5350c
--- /dev/null
+++ b/meta-oe/recipes-benchmark/dhrystone/dhrystone-2.1/dhrystone.patch
@@ -0,0 +1,81 @@
+dhrystone: fix compilation problems
+
+This patch fixes two compilation errors with original
+dhrystone sources:
+* Redefinition of times() with wrong return type
+  - Fixed by commenting out the unnecessary redefinition
+* Undefined identifier HZ
+  - Originally HZ was supposed to be the clock frequency
+value for times()
+  - For Linux, the frequency should come from sysconf
+  - This patch defines global varible HZ and initializes
+it from sysconf
+
+Additionally, this patch adds a simple Makefile.
+
+Upstream-status: Pending
+
+Sign-off-by: Kimmo Surakka 
+Signed-off-by: Jose Alarcon 
+---
+
+diff -Naur dhry.orig/dhry_1.c dhry/dhry_1.c
+--- dhry.orig/dhry_1.c 2015-07-20 14:25:58.059945353 +0300
 dhry/dhry_1.c  2015-07-20 12:43:25.318945353 +0300
+@@ -45,11 +45,15 @@
+ 
+ #ifdef TIMES
+ struct tms  time_info;
+-extern  int times ();
++/* extern  int times (); */
+ /* see library function "times" */
+ #define Too_Small_Time 120
+ /* Measurements should last at least about 2 seconds */
+ #endif
++#ifndef HZ
++#include   /* sysconf */
++   long HZ;
++#endif
+ #ifdef TIME
+ extern long time();
+ /* see library function "time"  */
+@@ -84,6 +88,9 @@
+ 
+   /* Initializations */
+ 
++#ifndef HZ
++  HZ = sysconf(_SC_CLK_TCK);
++#endif
+   Next_Ptr_Glob = (Rec_Pointer) malloc (sizeof (Rec_Type));
+   Ptr_Glob = (Rec_Pointer) malloc (sizeof (Rec_Type));
+ 
+diff -Naur dhry.orig/dhry.h dhry/dhry.h
+--- dhry.orig/dhry.h   2015-07-20 14:25:58.054945353 +0300
 dhry/dhry.h2015-07-20 12:42:59.903945353 +0300
+@@ -420,4 +420,6 @@
+   } variant;
+   } Rec_Type, *Rec_Pointer;
+ 
+-
++#ifndef HZ
++   extern long HZ;
++#endif
+diff -Naur dhry.orig/Makefile dhry/Makefile
+--- dhry.orig/Makefile 1970-01-01 02:00:00.0 +0200
 dhry/Makefile  2015-07-20 14:10:45.832945353 +0300
+@@ -0,0 +1,15 @@
++CC=gcc
++
++all: dhry
++
++dhry: dhry_1.o dhry_2.o
++  $(CC) $(LDFLAGS) -o $@ $^ $(LOADLIBES) $(LDLIBS)
++
++dhry_1.o: dhry_1.c dhry.h
++
++dhry_2.o: dhry_2.c dhry.h
++
++clean:
++  rm -f *.o *~
++
++.PHONY: all clean
diff --git a/meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb 
b/meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb
new file mode 100644
index 000..17e8c70
--- /dev/null
+++ b/meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb
@@ -0,0 +1,26 @@
+SUMMARY = "Dhrystone CPU benchmark"
+LICENSE = "PD"
+LIC_FILES_CHKSUM = 
"file://${COREBASE}/meta/files/common-licenses/PD;md5=b3597d12946881e13cb3b548d1173851"
+
+SRC_URI = "http://www.netlib.org/benchmark/dhry-c;downloadfilename=dhry-c.shar 
\
+   file://dhrystone.patch"
+SRC_URI[md5sum] = "75aa5909c174eed98c134be2f56307da"
+SRC_URI[sha256sum] = 
"038a7e9169787125c3451a6c941f3aca5db2d2f3863871afcdce154ef17f4e3e"
+
+# Need to override Makefile variables
+EXTRA_OEMAKE = "-e MAKEFLAGS="
+
+do_unpack() {
+[ -d ${S} ] || mkdir -p ${S}
+cd ${S}
+sh ${DL_DIR}/dhry-c.shar
+}
+do_install() {
+install -d ${D}${bindir}
+install -m 0755 ${S}/dhry ${D}${bindir}
+}
+
+# Prevent procedure merging as required by dhrystone.c:
+CFLAGS += "-fno-lto"
+
+LDFLAGS += "-fno-lto"
-- 
2.10.1

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


[oe] [meta-oe][PATCH] postgresql: update to 9.4.13

2017-08-21 Thread Yi Zhao
Fixed three security vulnerabilities:

CVE-2017-7546: Empty password accepted in some authentication methods
CVE-2017-7547: The "pg_user_mappings" catalog view discloses passwords
to users lacking server privileges
CVE-2017-7548: lo_put() function ignores ACLs

See release note:
https://www.postgresql.org/docs/9.4/static/release-9-4-13.html

Signed-off-by: Yi Zhao 
---
 .../postgresql/{postgresql_9.4.11.bb => postgresql_9.4.13.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/postgresql/{postgresql_9.4.11.bb => 
postgresql_9.4.13.bb} (67%)

diff --git a/meta-oe/recipes-support/postgresql/postgresql_9.4.11.bb 
b/meta-oe/recipes-support/postgresql/postgresql_9.4.13.bb
similarity index 67%
rename from meta-oe/recipes-support/postgresql/postgresql_9.4.11.bb
rename to meta-oe/recipes-support/postgresql/postgresql_9.4.13.bb
index 7043b27..bf97cad 100644
--- a/meta-oe/recipes-support/postgresql/postgresql_9.4.11.bb
+++ b/meta-oe/recipes-support/postgresql/postgresql_9.4.13.bb
@@ -11,5 +11,5 @@ do_compile_prepend_libc-musl() {
 sed -i -e 's/\-lnsl//g' ${B}/src/Makefile.global
 }
 
-SRC_URI[md5sum] = "2fee03f2034034dbfcb3321a0bb0f829"
-SRC_URI[sha256sum] = 
"e3eb51d045c180b03d2de1f0c3af9356e10be49448e966ca01dfc2c6d1cc9d23"
+SRC_URI[md5sum] = "dbdb9fbe1b9a394b9ac19d3113b73944"
+SRC_URI[sha256sum] = 
"0080f55d65194de8b96a2dab153443f8248ff2b2b10e6ab4cda2dcadcac7f2ab"
-- 
2.7.4

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


[oe] [meta-oe][PATCH] glibmm: fix perl path

2017-08-21 Thread Robert Yang
Fixed:
ERROR: QA Issue: /usr/lib/glibmm-2.4/proc/gmmproc contained in package 
glibmm-dev requires /path/to/tmp/hosttools/perl, but no providers found in 
RDEPENDS_glibmm-dev? [file-rdeps]

Signed-off-by: Robert Yang 
---
 meta-oe/recipes-core/glib-2.0/glibmm_2.50.1.bb | 4 
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-core/glib-2.0/glibmm_2.50.1.bb 
b/meta-oe/recipes-core/glib-2.0/glibmm_2.50.1.bb
index 401b3b2..9cc558f 100644
--- a/meta-oe/recipes-core/glib-2.0/glibmm_2.50.1.bb
+++ b/meta-oe/recipes-core/glib-2.0/glibmm_2.50.1.bb
@@ -23,6 +23,10 @@ do_install_append() {
 
 install -m 0644 glib/glibmmconfig.h ${D}${datadir}/glibmm-2.4/
 install -m 0644 scripts/glibmm_check_perl.m4 ${D}${datadir}/aclocal/ || 
true
+
+for i in generate_wrap_init.pl gmmproc; do
+sed -i -e '1s,.*,#!${bindir}/env perl,' 
${D}${libdir}/glibmm-2.4/proc/$i
+done
 }
 
 FILES_${PN} = "${libdir}/lib*.so.*"
-- 
2.10.2

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


[oe] [meta-webserver][PATCH] sthttpd: update to 2.27.1

2017-08-21 Thread Yi Zhao
* Fix CVE-2017-10671: Heap-based buffer overflow in the de_dotdot
  function in libhttpd.c

* Update SRC_URI because the original site can not access.

Signed-off-by: Yi Zhao 
---
 .../recipes-httpd/sthttpd/{sthttpd_2.27.0.bb => sthttpd_2.27.1.bb}  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-webserver/recipes-httpd/sthttpd/{sthttpd_2.27.0.bb => 
sthttpd_2.27.1.bb} (88%)

diff --git a/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.0.bb 
b/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb
similarity index 88%
rename from meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.0.bb
rename to meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb
index 2125b24..c9fe55b 100644
--- a/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.0.bb
+++ b/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb
@@ -6,13 +6,13 @@ LIC_FILES_CHKSUM = 
"file://src/thttpd.c;beginline=1;endline=26;md5=0c5762c2c34dc
 
 DEPENDS += "base-passwd"
 
-SRC_URI = "http://opensource.dyc.edu/pub/sthttpd/sthttpd-${PV}.tar.gz \
+SRC_URI = 
"https://github.com/blueness/${BPN}/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz
 \
file://thttpd.service \
file://thttpd.conf \
file://init"
 
-SRC_URI[md5sum] = "f7dd2d506dc5fad2ad8794b1800d2634"
-SRC_URI[sha256sum] = 
"97d660a881331e93818e872ce11536f461105d70a18dfc5de5895851c4b2afdb"
+SRC_URI[md5sum] = "3cda1b6c8c8542b1510eadb8e540d8b6"
+SRC_URI[sha256sum] = 
"a1ee2806432eaf5b5dd267a0523701f9f1fa00fefd499d5bec42165a41e05846"
 
 S = "${WORKDIR}/sthttpd-${PV}"
 
-- 
2.7.4

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


[oe] [meta-qt5][PATCHv2 7/7] qtwebengine: update 0004-Force-host-toolchain-configuration.patch

2017-08-21 Thread Martin Jansa
* refresh the patch from:
  
http://code.qt.io/cgit/yocto/meta-qt5.git/diff/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch?id=5bac910f95453d0df6fe540778dd16a9707dcabf

* might fix passing arm specific flags into host builds like:
  gcc: error: unrecognized command line option '-mflooat-abi=hard'
  strip: unable to recognise the format of the input file

Signed-off-by: Martin Jansa 
---
 .../0004-Force-host-toolchain-configuration.patch  | 35 +++---
 ...qtbug-61521.cpp-use-free-instead-of-cfree.patch |  2 +-
 2 files changed, 32 insertions(+), 5 deletions(-)

diff --git 
a/recipes-qt/qt5/qtwebengine/0004-Force-host-toolchain-configuration.patch 
b/recipes-qt/qt5/qtwebengine/0004-Force-host-toolchain-configuration.patch
index 258afd5..bda0ba1 100644
--- a/recipes-qt/qt5/qtwebengine/0004-Force-host-toolchain-configuration.patch
+++ b/recipes-qt/qt5/qtwebengine/0004-Force-host-toolchain-configuration.patch
@@ -1,4 +1,4 @@
-From 5106be504b7edb7bc75309d581dfd33a89ed04fc Mon Sep 17 00:00:00 2001
+From 9bdd03ad0bbb221ad7bffe0e570605c21c28b1b5 Mon Sep 17 00:00:00 2001
 From: Samuli Piippo 
 Date: Wed, 15 Mar 2017 13:53:28 +0200
 Subject: [PATCH] Force host toolchain configuration
@@ -6,16 +6,30 @@ Subject: [PATCH] Force host toolchain configuration
 Force gcc/g++ to be used for parts using host toolchain, since
 the option(host_build) does not work in yocto builds.
 
+Don't use QT_ARCH for the host architecture, since that's always
+the target architecture in bitbake builds, instead ask specifically
+for the qmakes's host architecture.
+
 Upstream-Status: Inappropriate [OE specific]
 Signed-off-by: Samuli Piippo 
 ---
- src/buildtools/configure_host.pro | 12 ++--
- 1 file changed, 6 insertions(+), 6 deletions(-)
+ src/buildtools/configure_host.pro | 14 +++---
+ src/core/config/linux.pri |  2 +-
+ 2 files changed, 8 insertions(+), 8 deletions(-)
 
 diff --git a/src/buildtools/configure_host.pro 
b/src/buildtools/configure_host.pro
-index f1b3d47b..521c507b 100644
+index f1b3d47b..12123729 100644
 --- a/src/buildtools/configure_host.pro
 +++ b/src/buildtools/configure_host.pro
+@@ -4,7 +4,7 @@ TEMPLATE = aux
+ # Pick up the host toolchain
+ option(host_build)
+ 
+-GN_HOST_CPU = $$gnArch($$QT_ARCH)
++GN_HOST_CPU = $$gnArch($$QMAKE_HOST.arch)
+ !isEmpty(QT_TARGET_ARCH): GN_TARGET_CPU = $$gnArch($$QT_TARGET_ARCH)
+ else: GN_TARGET_CPU = $$GN_HOST_CPU
+ GN_OS = $$gnOS()
 @@ -29,9 +29,9 @@ GN_CONTENTS = \
  "import(\"//build/config/sysroot.gni\")" \
  "import(\"//build/toolchain/gcc_toolchain.gni\")" \
@@ -42,3 +56,16 @@ index f1b3d47b..521c507b 100644
  "  ar = \"$$which(ar)\" " \
  "  nm = \"$$which(nm)\" " \
  "  toolchain_args = { " \
+diff --git a/src/core/config/linux.pri b/src/core/config/linux.pri
+index 714c864d..f66ca551 100644
+--- a/src/core/config/linux.pri
 b/src/core/config/linux.pri
+@@ -98,7 +98,7 @@ contains(QT_ARCH, "mips"):!host_build {
+ 
+ host_build {
+ gn_args += custom_toolchain=\"$$QTWEBENGINE_OUT_ROOT/src/toolchain:host\"
+-GN_HOST_CPU = $$gnArch($$QT_ARCH)
++GN_HOST_CPU = $$gnArch($$QMAKE_HOST.arch)
+ gn_args += host_cpu=\"$$GN_HOST_CPU\"
+ # Don't bother trying to use system libraries in this case
+ gn_args += use_glib=false
diff --git 
a/recipes-qt/qt5/qtwebengine/0005-qtbug-61521.cpp-use-free-instead-of-cfree.patch
 
b/recipes-qt/qt5/qtwebengine/0005-qtbug-61521.cpp-use-free-instead-of-cfree.patch
index 7375ff7..d8d89b8 100644
--- 
a/recipes-qt/qt5/qtwebengine/0005-qtbug-61521.cpp-use-free-instead-of-cfree.patch
+++ 
b/recipes-qt/qt5/qtwebengine/0005-qtbug-61521.cpp-use-free-instead-of-cfree.patch
@@ -1,4 +1,4 @@
-From b4eb5c926cf822ee5d5cf398d1bcdb0fdca6e47a Mon Sep 17 00:00:00 2001
+From 331de4be615b8552e498ac2f3deff4b49b4b0fc0 Mon Sep 17 00:00:00 2001
 From: Martin Jansa 
 Date: Sun, 20 Aug 2017 20:37:38 +0200
 Subject: [PATCH] qtbug-61521.cpp: use free instead of cfree
-- 
2.14.1

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


[oe] [meta-qt5][PATCHv2 5/7] qt: upgrade to latest revision in 5.9 branch

2017-08-21 Thread Martin Jansa
* 3 patches were included upstream

Signed-off-by: Martin Jansa 
---
 recipes-qt/qt5/nativesdk-qtbase_git.bb |   6 +-
 .../qt5/qt3d/0001-Allow-a-tools-only-build.patch   |   2 +-
 ...2-Fix-BlenderDNA-for-clang-cross-compiler.patch |   2 +-
 recipes-qt/qt5/qt3d_git.bb |   4 +-
 recipes-qt/qt5/qt5-git.inc |   4 +-
 recipes-qt/qt5/qtbase-native_git.bb|   6 +-
 .../qt5/qtbase/0001-Add-linux-oe-g-platform.patch  |   6 +-
 ...make-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch |   2 +-
 ...o-allow-to-set-qt.conf-from-the-outside-u.patch |   2 +-
 ...ump-path-length-from-256-to-512-character.patch |   4 +-
 ...-unknown-features-instead-of-erroring-out.patch |   6 +-
 ...-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch |   4 +-
 .../0007-Delete-qlonglong-and-qulonglong.patch |   2 +-
 ...08-Replace-pthread_yield-with-sched_yield.patch |   4 +-
 recipes-qt/qt5/qtbase/0009-Always-build-uic.patch  |   2 +-
 recipes-qt/qt5/qtbase_git.bb   |   4 +-
 recipes-qt/qt5/qtcanvas3d_git.bb   |   2 +-
 recipes-qt/qt5/qtcharts_git.bb |   2 +-
 recipes-qt/qt5/qtconnectivity_git.bb   |   2 +-
 recipes-qt/qt5/qtdatavis3d_git.bb  |   2 +-
 recipes-qt/qt5/qtdeclarative_git.bb|   2 +-
 recipes-qt/qt5/qtenginio_git.bb|   1 -
 recipes-qt/qt5/qtgamepad_git.bb|   2 +-
 recipes-qt/qt5/qtgraphicaleffects_git.bb   |   2 +-
 recipes-qt/qt5/qtimageformats_git.bb   |   2 +-
 .../0001-Make-mapbox-gl-build-configurable.patch   |   8 +-
 recipes-qt/qt5/qtlocation_git.bb   |   6 +-
 recipes-qt/qt5/qtmultimedia_git.bb |   4 +-
 recipes-qt/qt5/qtnetworkauth_git.bb|   2 +-
 recipes-qt/qt5/qtquick1_git.bb |   5 +-
 ...fix-invalid-use-of-incomplete-type-class-.patch |   4 +-
 recipes-qt/qt5/qtquickcontrols2_git.bb |   2 +-
 recipes-qt/qt5/qtquickcontrols_git.bb  |   4 +-
 recipes-qt/qt5/qtremoteobjects_git.bb  |   4 +-
 recipes-qt/qt5/qtscript_git.bb |   2 +-
 ...Use-external-host-bin-path-for-cmake-file.patch |   4 +-
 recipes-qt/qt5/qtscxml_git.bb  |   4 +-
 recipes-qt/qt5/qtsensors_git.bb|   2 +-
 recipes-qt/qt5/qtserialbus_git.bb  |   2 +-
 recipes-qt/qt5/qtserialport_git.bb |   2 +-
 recipes-qt/qt5/qtsvg_git.bb|   2 +-
 recipes-qt/qt5/qtsystems_git.bb|   2 +-
 .../0001-add-noqtwebkit-configuration.patch|  12 +-
 ...ols-cmake-allow-overriding-the-location-f.patch |   2 +-
 recipes-qt/qt5/qttools_git.bb  |   4 +-
 recipes-qt/qt5/qttranslations_git.bb   |   9 +-
 .../0001-include-sys-time.h-for-timeval.patch  |   5 +-
 recipes-qt/qt5/qtvirtualkeyboard_git.bb|   4 +-
 .../0001-fix-build-without-xkbcommon-evdev.patch   |   2 +-
 recipes-qt/qt5/qtwayland_git.bb|   4 +-
 recipes-qt/qt5/qtwebchannel_git.bb |  11 +-
 ...ange-false-to-FALSE-and-1-to-TRUE-FIX-qtw.patch |   2 +-
 ...s.prf-allow-build-for-linux-oe-g-platform.patch |   6 +-
 ...quickwebengineview_p_p.h-add-include-QCol.patch |   4 +-
 ...romium-Force-host-toolchain-configuration.patch |   2 +-
 ...-dependency-to-QCoreApplication-translate.patch |   2 +-
 ...sl-sandbox-Define-TEMP_FAILURE_RETRY-if-n.patch |   2 +-
 .../0004-Force-host-toolchain-configuration.patch  |   8 +-
 ...sl-Avoid-mallinfo-APIs-on-non-glibc-linux.patch |   2 +-
 .../0005-Always-compile-QWebEnginePage-print.patch | 241 -
 ...-chromium-musl-include-fcntl.h-for-loff_t.patch |   2 +-
 ...sl-use-off64_t-instead-of-the-internal-__.patch |   2 +-
 ...ium-musl-linux-glibc-make-the-distinction.patch |   2 +-
 ...sl-allocator-Do-not-include-glibc_weak_sy.patch |   2 +-
 ...sl-Use-correct-member-name-__si_fields-fr.patch |   2 +-
 recipes-qt/qt5/qtwebengine_git.bb  |  11 +-
 recipes-qt/qt5/qtwebkit-examples_git.bb|   2 +-
 .../0001-qtwebkit-fix-QA-issue-bad-RPATH.patch |   2 +-
 ...ude-backtrace-API-for-non-glibc-libraries.patch |   2 +-
 .../0003-Fix-compilation-with-ICU-59.patch |  89 
 recipes-qt/qt5/qtwebkit_git.bb |   5 +-
 recipes-qt/qt5/qtwebsockets_git.bb |  12 +-
 .../0001-Add-missing-include-for-qWarning.patch|  22 --
 recipes-qt/qt5/qtwebview_git.bb|   6 +-
 recipes-qt/qt5/qtx11extras_git.bb  |   2 +-
 recipes-qt/qt5/qtxmlpatterns_git.bb|   2 +-
 76 files changed, 128 insertions(+), 495 deletions(-)
 delete mode 100644 
recipes-qt/qt5/qtwebengine/0005-Always-compile-QWebEnginePage-print.patch
 delete mode 100644 
recipes-qt/qt5/qtwebkit/0003-Fix-compilation-with-ICU-59.patch
 delete 

[oe] [meta-qt5][PATCHv2 6/7] qtwebengine: fix build with glibc-2.26

2017-08-21 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 ...qtbug-61521.cpp-use-free-instead-of-cfree.patch | 25 ++
 recipes-qt/qt5/qtwebengine_git.bb  |  3 ++-
 2 files changed, 27 insertions(+), 1 deletion(-)
 create mode 100644 
recipes-qt/qt5/qtwebengine/0005-qtbug-61521.cpp-use-free-instead-of-cfree.patch

diff --git 
a/recipes-qt/qt5/qtwebengine/0005-qtbug-61521.cpp-use-free-instead-of-cfree.patch
 
b/recipes-qt/qt5/qtwebengine/0005-qtbug-61521.cpp-use-free-instead-of-cfree.patch
new file mode 100644
index 000..7375ff7
--- /dev/null
+++ 
b/recipes-qt/qt5/qtwebengine/0005-qtbug-61521.cpp-use-free-instead-of-cfree.patch
@@ -0,0 +1,25 @@
+From b4eb5c926cf822ee5d5cf398d1bcdb0fdca6e47a Mon Sep 17 00:00:00 2001
+From: Martin Jansa 
+Date: Sun, 20 Aug 2017 20:37:38 +0200
+Subject: [PATCH] qtbug-61521.cpp: use free instead of cfree
+
+* as cfree man says:
+  This  function  should  never  be used.  Use free(3) instead.
+  Starting with version 2.26, it has been removed from glibc.
+---
+ src/core/api/qtbug-61521.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/core/api/qtbug-61521.cpp b/src/core/api/qtbug-61521.cpp
+index 86d5998e..1dcc4cfa 100644
+--- a/src/core/api/qtbug-61521.cpp
 b/src/core/api/qtbug-61521.cpp
+@@ -100,7 +100,7 @@ SHIM_HIDDEN void* ShimCalloc(size_t n, size_t size) {
+ }
+ 
+ SHIM_HIDDEN void ShimCFree(void* ptr) {
+-cfree(ptr);
++free(ptr);
+ }
+ 
+ SHIM_HIDDEN void* ShimMemalign(size_t align, size_t s) {
diff --git a/recipes-qt/qt5/qtwebengine_git.bb 
b/recipes-qt/qt5/qtwebengine_git.bb
index 2815cb9..cdb4512 100644
--- a/recipes-qt/qt5/qtwebengine_git.bb
+++ b/recipes-qt/qt5/qtwebengine_git.bb
@@ -130,13 +130,14 @@ RDEPENDS_${PN}-examples += " \
 QT_MODULE_BRANCH_CHROMIUM = "56-based"
 
 # Patches from https://github.com/meta-qt5/qtwebengine/commits/b5.9
-# 5.9.meta-qt5.2
+# 5.9.meta-qt5.3
 SRC_URI += " \
 
${QT_GIT}/qtwebengine-chromium.git;name=chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty
 \
 file://0001-functions.prf-allow-build-for-linux-oe-g-platform.patch \
 file://0002-WebEngine-qquickwebengineview_p_p.h-add-include-QCol.patch \
 file://0003-Include-dependency-to-QCoreApplication-translate.patch \
 file://0004-Force-host-toolchain-configuration.patch \
+file://0005-qtbug-61521.cpp-use-free-instead-of-cfree.patch \
 "
 
 # Patches from 
https://github.com/meta-qt5/qtwebengine-chromium/commits/56-based 
-- 
2.14.1

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


[oe] [meta-qt5][PATCHv2 4/7] qt: refresh remaining patches and add links to meta-qt5 repos

2017-08-21 Thread Martin Jansa
* remove
  qtdeclarative/0001-Fix-QQmlExpression-leaking-QQmlError-objects.patch
  qtwayland/0002-Fix-initial-window-property-values-being-propagated.patch
  which is already applied and fuzzy patch just apply the same section
  twice

* restore
  qttools/0001-add-noqtwebkit-configuration.patch
  which was removed from SRC_URI in 5.9 upgrade

* add comment with link to meta-qt5 repository where the meta-qt5 .patch
  files are maintained, include branch and tag name so that it's more
  clear from where these changes are exported (with:
  git format-patch --no-numbered --no-signature)

Signed-off-by: Martin Jansa 
---
 recipes-qt/qt5/nativesdk-qtbase_git.bb |  4 +++
 recipes-qt/qt5/qt3d_git.bb |  2 ++
 recipes-qt/qt5/qtbase-native_git.bb|  4 +++
 recipes-qt/qt5/qtbase_git.bb   |  2 ++
 ...-QQmlExpression-leaking-QQmlError-objects.patch | 35 --
 recipes-qt/qt5/qtdeclarative_git.bb|  4 ---
 recipes-qt/qt5/qtlocation_git.bb   |  2 ++
 recipes-qt/qt5/qtmultimedia_git.bb |  2 ++
 recipes-qt/qt5/qtquickcontrols_git.bb  |  2 ++
 recipes-qt/qt5/qtremoteobjects_git.bb  |  2 ++
 recipes-qt/qt5/qtscxml_git.bb  |  2 ++
 ...tch => 0001-add-noqtwebkit-configuration.patch} | 14 -
 ...ls-cmake-allow-overriding-the-location-f.patch} |  4 +--
 recipes-qt/qt5/qttools_git.bb  |  5 +++-
 recipes-qt/qt5/qtvirtualkeyboard_git.bb|  3 ++
 .../0001-fix-build-without-xkbcommon-evdev.patch   | 17 +--
 ...l-window-property-values-being-propagated.patch | 35 --
 recipes-qt/qt5/qtwayland_git.bb|  3 +-
 recipes-qt/qt5/qtwebengine_git.bb  |  2 ++
 .../0001-qtwebkit-fix-QA-issue-bad-RPATH.patch |  4 +--
 ...de-backtrace-API-for-non-glibc-libraries.patch} |  4 +--
 ...atch => 0003-Fix-compilation-with-ICU-59.patch} |  5 +---
 recipes-qt/qt5/qtwebkit_git.bb |  6 ++--
 recipes-qt/qt5/qtwebview_git.bb|  2 ++
 24 files changed, 60 insertions(+), 105 deletions(-)
 delete mode 100644 
recipes-qt/qt5/qtdeclarative/0001-Fix-QQmlExpression-leaking-QQmlError-objects.patch
 rename recipes-qt/qt5/qttools/{0003-add-noqtwebkit-configuration.patch => 
0001-add-noqtwebkit-configuration.patch} (80%)
 rename 
recipes-qt/qt5/qttools/{0004-linguist-tools-cmake-allow-overriding-the-location-f.patch
 => 0002-linguist-tools-cmake-allow-overriding-the-location-f.patch} (95%)
 delete mode 100644 
recipes-qt/qt5/qtwayland/0002-Fix-initial-window-property-values-being-propagated.patch
 rename 
recipes-qt/qt5/qtwebkit/{0003-Exclude-backtrace-API-for-non-glibc-libraries.patch
 => 0002-Exclude-backtrace-API-for-non-glibc-libraries.patch} (93%)
 rename recipes-qt/qt5/qtwebkit/{0004-Fix-compilation-with-ICU-59.patch => 
0003-Fix-compilation-with-ICU-59.patch} (98%)

diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb 
b/recipes-qt/qt5/nativesdk-qtbase_git.bb
index e1b30c9..d229c21 100644
--- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
+++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
@@ -25,6 +25,8 @@ require qt5-git.inc
 FILESEXTRAPATHS =. "${FILE_DIRNAME}/qtbase:"
 
 # common for qtbase-native, qtbase-nativesdk and qtbase
+# Patches from https://github.com/meta-qt5/qtbase/commits/b5.9-shared
+# 5.9.meta-qt5-shared.1
 SRC_URI += "\
 file://0001-Add-linux-oe-g-platform.patch \
 file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \
@@ -37,6 +39,8 @@ SRC_URI += "\
 "
 
 # common for qtbase-native and nativesdk-qtbase
+# Patches from https://github.com/meta-qt5/qtbase/commits/b5.9-native
+# 5.9.meta-qt5-native.1
 SRC_URI += " \
 file://0009-Always-build-uic.patch \
 "
diff --git a/recipes-qt/qt5/qt3d_git.bb b/recipes-qt/qt5/qt3d_git.bb
index 41b5fbc..4226bac 100644
--- a/recipes-qt/qt5/qt3d_git.bb
+++ b/recipes-qt/qt5/qt3d_git.bb
@@ -11,6 +11,8 @@ LIC_FILES_CHKSUM = " \
 DEPENDS += "qtbase"
 DEPENDS_class-target += "qtdeclarative qt3d-native"
 
+# Patches from https://github.com/meta-qt5/qt3d/commits/b5.9
+# 5.9.meta-qt5.1
 SRC_URI += " \
 file://0001-Allow-a-tools-only-build.patch \
 file://0002-Fix-BlenderDNA-for-clang-cross-compiler.patch \
diff --git a/recipes-qt/qt5/qtbase-native_git.bb 
b/recipes-qt/qt5/qtbase-native_git.bb
index 84cb2b0..336df95 100644
--- a/recipes-qt/qt5/qtbase-native_git.bb
+++ b/recipes-qt/qt5/qtbase-native_git.bb
@@ -20,6 +20,8 @@ require qt5-native.inc
 require qt5-git.inc
 
 # common for qtbase-native, qtbase-nativesdk and qtbase
+# Patches from https://github.com/meta-qt5/qtbase/commits/b5.9-shared
+# 5.9.meta-qt5-shared.1
 SRC_URI += "\
 file://0001-Add-linux-oe-g-platform.patch \
 file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \
@@ -32,6 +34,8 @@ SRC_URI += "\
 "
 
 # common for qtbase-native and nativesdk-qtbase
+# Patches from 

[oe] [meta-qt5][PATCHv2 1/7] qtbase, qtgraphicaleffect, qtmultimedia, qtscript, qtlocation, qtwayland: disable gold to work around binutils bug

2017-08-21 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 recipes-qt/qt5/qtbase_git.bb | 25 -
 recipes-qt/qt5/qtgraphicaleffects_git.bb |  4 
 recipes-qt/qt5/qtlocation_git.bb |  4 
 recipes-qt/qt5/qtmultimedia_git.bb   |  4 
 recipes-qt/qt5/qtscript_git.bb   |  4 
 recipes-qt/qt5/qtwayland_git.bb  |  4 
 6 files changed, 44 insertions(+), 1 deletion(-)

diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
index 8cd23a0..550968c 100644
--- a/recipes-qt/qt5/qtbase_git.bb
+++ b/recipes-qt/qt5/qtbase_git.bb
@@ -41,6 +41,28 @@ SRC_URI += "\
 # for syncqt
 RDEPENDS_${PN}-tools += "perl"
 
+# workaround for gold bug:
+# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842304
+# https://sourceware.org/bugzilla/show_bug.cgi?id=21712
+# it's triggered only in combination of gold and security_flags.inc,
+# because security_flags.inc now enable pie by default.
+# Adding -no-pie or changing -fuse-ld=gold to -fuse-ld=bfd
+# works around this issue, will use -fuse-ld=bfd as it's considered
+# binutils bug.
+# OE @ 
~/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/build/tests/auto/corelib/kernel/qmetatype
 $ i586-oe-linux-g++  -m32 -march=i586 
--sysroot=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/recipe-sysroot
 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed 
--sysroot=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/recipe-sysroot
 -Wl,-O1 -fuse-ld=gold -Wl,--enable-new-dtags -o tst_qmetatype 
.obj/tst_qmetatype.o   
-L/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/build/lib
 -lQt5Test -lQt5Core -lpthread
+# .obj/tst_qmetatype.o(.qtversion+0x0): error: unexpected reloc 3 against 
global symbol qt_version_tag without base register in object file when 
generating a position-independent output file
+# collect2: error: ld returned 1 exit status
+#
+# with -no-pie:
+# OE @ 
~/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/build/tests/auto/corelib/kernel/qmetatype
 $ i586-oe-linux-g++ -no-pie -m32 -march=i586 
--sysroot=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/recipe-sysroot
 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed 
--sysroot=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/recipe-sysroot
 -Wl,-O1 -fuse-ld=gold -Wl,--enable-new-dtags -o tst_qmetatype 
.obj/tst_qmetatype.o   
-L/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/build/lib
 -lQt5Test -lQt5Core -lpthread
+#
+# with -fuse-ld=gold replaced with -fuse-ld=bfd:
+# OE @ 
~/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/build/tests/auto/corelib/kernel/qmetatype
 $ i586-oe-linux-g++  -m32 -march=i586 
--sysroot=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/recipe-sysroot
 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed 
--sysroot=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/recipe-sysroot
 -Wl,-O1 -fuse-ld=bfd -Wl,--enable-new-dtags -o tst_qmetatype 
.obj/tst_qmetatype.o   
-L/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/build/lib
 -lQt5Test -lQt5Core -lpthread
+#
+# http://errors.yoctoproject.org/Errors/Details/150329/
+QT_CONFIG_FLAGS_GOLD_x86 = "-no-use-gold-linker"
+LDFLAGS_append_x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' 
-fuse-ld=bfd ', '', d)}"
+
 # separate some parts of PACKAGECONFIG which are often changed
 PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', 
'', d)}"
 PACKAGECONFIG_FB ?= "${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 
'directfb', '', d)}"
@@ -129,8 +151,9 @@ PACKAGECONFIG[libproxy] = "-libproxy,-no-libproxy,libproxy"
 PACKAGECONFIG[libinput] = "-libinput,-no-libinput,libinput"
 PACKAGECONFIG[journald] = "-journald,-no-journald,systemd"
 
+QT_CONFIG_FLAGS_GOLD = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', 
'-use-gold-linker', '-no-use-gold-linker', d)}"
 QT_CONFIG_FLAGS += " \
-${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '-use-gold-linker', 
'-no-use-gold-linker', d)} \
+${QT_CONFIG_FLAGS_GOLD} \
 -shared \
 -silent \
 -no-pch \
diff --git a/recipes-qt/qt5/qtgraphicaleffects_git.bb 
b/recipes-qt/qt5/qtgraphicaleffects_git.bb
index f4b43e7..eadd4bc 100644
--- a/recipes-qt/qt5/qtgraphicaleffects_git.bb
+++ b/recipes-qt/qt5/qtgraphicaleffects_git.bb
@@ -20,3 +20,7 @@ DEPENDS += "qtdeclarative"
 RDEPENDS_${PN}-dev = ""
 
 SRCREV = "1583bb5569cfc50141d879107a46146d5f28"
+
+# The same issue as in qtbase:
+# http://errors.yoctoproject.org/Errors/Build/44912/
+LDFLAGS_append_x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' 
-fuse-ld=bfd ', '', d)}"
diff --git a/recipes-qt/qt5/qtlocation_git.bb 

[oe] [meta-qt5][PATCHv2 3/7] qtwebengine: add a fix for building demobrowser without printing support

2017-08-21 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 .../0005-Always-compile-QWebEnginePage-print.patch | 241 +
 recipes-qt/qt5/qtwebengine_git.bb  |   6 +
 2 files changed, 247 insertions(+)
 create mode 100644 
recipes-qt/qt5/qtwebengine/0005-Always-compile-QWebEnginePage-print.patch

diff --git 
a/recipes-qt/qt5/qtwebengine/0005-Always-compile-QWebEnginePage-print.patch 
b/recipes-qt/qt5/qtwebengine/0005-Always-compile-QWebEnginePage-print.patch
new file mode 100644
index 000..c63086d
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/0005-Always-compile-QWebEnginePage-print.patch
@@ -0,0 +1,241 @@
+From a8c0deca850ca519b3f146c71492a8f42a33dd84 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?J=C3=BCri=20Valdmann?= 
+Date: Tue, 20 Jun 2017 15:36:43 +0200
+Subject: [PATCH] Always compile QWebEnginePage::print
+
+- Remove two out of five layers of ifdefs around and inside this method.
+- Now always compiled but will yield an error if printing is disabled.
+- Remove printing-related ifdefs from demobrowser.
+
+Task-number: QTBUG-61510
+Change-Id: I79781189d3d3fb62db0a2216b2b989e3fa1d1f86
+Reviewed-by: Allan Sandfeld Jensen 
+Reviewed-by: Rolf Eike Beer 
+---
+ examples/webenginewidgets/demobrowser/browsermainwindow.cpp | 12 
+ examples/webenginewidgets/demobrowser/browsermainwindow.h   |  6 --
+ examples/webenginewidgets/demobrowser/printtopdfdialog.cpp  |  7 ---
+ src/webenginewidgets/api/qwebenginepage.cpp | 10 ++
+ src/webenginewidgets/api/qwebenginepage.h   |  8 
+ 5 files changed, 2 insertions(+), 41 deletions(-)
+
+diff --git a/examples/webenginewidgets/demobrowser/browsermainwindow.cpp 
b/examples/webenginewidgets/demobrowser/browsermainwindow.cpp
+index 327d7a9d..14d49f7f 100644
+--- a/examples/webenginewidgets/demobrowser/browsermainwindow.cpp
 b/examples/webenginewidgets/demobrowser/browsermainwindow.cpp
+@@ -109,9 +109,7 @@ BrowserMainWindow::BrowserMainWindow(QWidget *parent, 
Qt::WindowFlags flags)
+ , m_historyForward(0)
+ , m_stop(0)
+ , m_reload(0)
+-#ifndef QT_NO_PRINTER
+ , m_currentPrinter(nullptr)
+-#endif
+ {
+ setToolButtonStyle(Qt::ToolButtonFollowStyle);
+ setAttribute(Qt::WA_DeleteOnClose, true);
+@@ -312,9 +310,7 @@ void BrowserMainWindow::setupMenu()
+ #if defined(QWEBENGINEPAGE_PRINT)
+ fileMenu->addAction(tr("P Preview..."), this, 
SLOT(slotFilePrintPreview()));
+ #endif
+-#ifndef QT_NO_PRINTER
+ fileMenu->addAction(tr(""), this, SLOT(slotFilePrint()), 
QKeySequence::Print);
+-#endif
+ fileMenu->addAction(tr(" to PDF..."), this, 
SLOT(slotFilePrintToPDF()));
+ fileMenu->addSeparator();
+ 
+@@ -702,23 +698,19 @@ void BrowserMainWindow::slotFileOpen()
+ 
+ void BrowserMainWindow::slotFilePrintPreview()
+ {
+-#ifndef QT_NO_PRINTPREVIEWDIALOG
+ if (!currentTab())
+ return;
+ QPrintPreviewDialog *dialog = new QPrintPreviewDialog(this);
+ connect(dialog, SIGNAL(paintRequested(QPrinter*)),
+ currentTab(), SLOT(print(QPrinter*)));
+ dialog->exec();
+-#endif
+ }
+ 
+ void BrowserMainWindow::slotFilePrint()
+ {
+-#ifndef QT_NO_PRINTER
+ if (!currentTab())
+ return;
+ printRequested(currentTab()->page());
+-#endif
+ }
+ 
+ void BrowserMainWindow::slotHandlePdfPrinted(const QByteArray& result)
+@@ -751,7 +743,6 @@ void BrowserMainWindow::slotFilePrintToPDF()
+ currentTab()->page()->printToPdf(invoke(this, 
::slotHandlePdfPrinted), dialog->pageLayout());
+ }
+ 
+-#ifndef QT_NO_PRINTER
+ void BrowserMainWindow::slotHandlePagePrinted(bool result)
+ {
+ Q_UNUSED(result);
+@@ -763,7 +754,6 @@ void BrowserMainWindow::slotHandlePagePrinted(bool result)
+ 
+ void BrowserMainWindow::printRequested(QWebEnginePage *page)
+ {
+-#ifndef QT_NO_PRINTDIALOG
+ if (m_currentPrinter)
+ return;
+ m_currentPrinter = new QPrinter();
+@@ -774,9 +764,7 @@ void BrowserMainWindow::printRequested(QWebEnginePage 
*page)
+ return;
+ }
+ page->print(m_currentPrinter, invoke(this, 
::slotHandlePagePrinted));
+-#endif
+ }
+-#endif
+ 
+ void BrowserMainWindow::slotPrivateBrowsing()
+ {
+diff --git a/examples/webenginewidgets/demobrowser/browsermainwindow.h 
b/examples/webenginewidgets/demobrowser/browsermainwindow.h
+index 91e1c1d2..5292 100644
+--- a/examples/webenginewidgets/demobrowser/browsermainwindow.h
 b/examples/webenginewidgets/demobrowser/browsermainwindow.h
+@@ -56,9 +56,7 @@
+ #include 
+ 
+ QT_BEGIN_NAMESPACE
+-#ifndef QT_NO_PRINTER
+ class QPrinter;
+-#endif
+ class QWebEnginePage;
+ QT_END_NAMESPACE
+ 
+@@ -142,10 +140,8 @@ private slots:
+ void slotSwapFocus();
+ void slotHandlePdfPrinted(const QByteArray&);
+ 
+-#ifndef QT_NO_PRINTER
+ void slotHandlePagePrinted(bool result);
+ void printRequested(QWebEnginePage *page);
+-#endif
+ void geometryChangeRequested(const QRect );
+ void 

Re: [oe] [meta-qt5][PATCH] qtbase: fix Krogoth build regression from efa8aaf

2017-08-21 Thread Khem Raj
On Mon, Aug 21, 2017 at 2:51 AM, Martin Jansa  wrote:
> I know it's not caused by this change, but it still creates "foodummy" file
> in ${TOPDIR} can we please get rid of it or at least move it somewhere else
> like ${WORKDIR}?

ah thats where it comes from, I was wondering if its some of my workspace
tooling doing this. But thanks now I will less annoyed to see it.

>
> On Sat, Aug 19, 2017 at 5:07 PM, Martin Jansa 
> wrote:
>
>> Nothing from me yet, it's included in master-next for my next bitbake
>> world builds to test it, but first I need to resolve other issues in
>> meta-qt5.
>>
>> On Sat, Aug 19, 2017 at 2:55 PM, Matt Hoosier 
>> wrote:
>>
>>> On Thu, Aug 17, 2017 at 7:27 AM, Matt Hoosier 
>>> wrote:
>>> >
>>> > From: Matt Hoosier 
>>> >
>>> > With
>>> >
>>> > commit efa8aaf82e580a7d32eaaab48eb92d436f2e222a
>>> > Author: Andreas Müller 
>>> > Date:   Thu Feb  9 00:26:09 2017
>>> >
>>> > qmake5_base.bbclass: set qt.conf by environment variable again
>>> >
>>> > we stopped pointing ${OE_QMAKE_QTCONF_PATH} at a valid file and
>>> > instead directed it to a path which was intended not to exist.
>>> >
>>> > The motivation was to permit qtbase/qtbase-native/nativesdk-qtbase
>>> > to build again after Qt 5.8 started paying attention to the
>>> > contents of this file.
>>> >
>>> > The change as done in efa8aaf works well enough for Morty and
>>> > subsequent releases' copies of Bitbake, but fails on earlier
>>> > releases because they lack the following change:
>>> >
>>> > commit 2afcbfef2cd1ca568e5225884a8021df38ee3db0
>>> > Author: Ross Burton 
>>> > Date: 2016-07-14 13:56:22
>>> >
>>> > bitbake: build: don't use $B as the default cwd for functions
>>> >
>>> > The result is that when we build with Krogoth or prior, the body
>>> > of do_generate_qt_config_file() runs with a cwd of ${B}, which was
>>> > _not_ the intent of efa8aaf. Because the working directory is ${B},
>>> > ${OE_QMAKE_QTCONF_PATH} is written in there too. do_configure() --
>>> > whose cwd is by design also ${B} -- then finds the file 'foodummy',
>>> > and the build breaks for the reasons outlined in efa8aaf.
>>> >
>>> > This change simply shifts the implementation tactics to suppress
>>> > the creation of ${OE_QMAKE_QTCONF_PATH} during qtbase rather than rely
>>> > on unspecified behavior about the cwd of do_generate_qt_config_file().
>>> >
>>> > (cherry picked from commit a17ff281aa8d99f770b0a049cb798235005fb93e
>>> > at https://codereview.qt-project.org/yocto/meta-qt5.)
>>> > ---
>>> >  recipes-qt/qt5/nativesdk-qtbase_git.bb | 2 +-
>>> >  recipes-qt/qt5/qtbase-native_git.bb| 2 +-
>>> >  recipes-qt/qt5/qtbase_git.bb   | 2 +-
>>> >  3 files changed, 3 insertions(+), 3 deletions(-)
>>> >
>>> > diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/
>>> nativesdk-qtbase_git.bb
>>> > index f2ff5f7..ffbb917 100644
>>> > --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
>>> > +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
>>> > @@ -94,7 +94,7 @@ OE_QMAKE_PATH_HOST_LIBS = "${libdir}"
>>> >
>>> >  # for qtbase configuration we need default settings
>>> >  # since we cannot set empty set filename to a not existent file
>>> > -export OE_QMAKE_QTCONF_PATH = "foodummy"
>>> > +deltask generate_qt_config_file
>>> >
>>> >  do_configure() {
>>> >  ${S}/configure -v \
>>> > diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/
>>> qtbase-native_git.bb
>>> > index 98cbecc..0884a19 100644
>>> > --- a/recipes-qt/qt5/qtbase-native_git.bb
>>> > +++ b/recipes-qt/qt5/qtbase-native_git.bb
>>> > @@ -79,7 +79,7 @@ PACKAGECONFIG_CONFARGS = " \
>>> >
>>> >  # for qtbase configuration we need default settings
>>> >  # since we cannot set empty set filename to a not existent file
>>> > -export OE_QMAKE_QTCONF_PATH = "foodummy"
>>> > +deltask generate_qt_config_file
>>> >
>>> >  do_configure_prepend() {
>>> >  # Avoid qmake error "Cannot read 
>>> > [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri:
>>> No such file or directory"
>>> > diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/
>>> qtbase_git.bb
>>> > index 5cfbcfa..a2e8917 100644
>>> > --- a/recipes-qt/qt5/qtbase_git.bb
>>> > +++ b/recipes-qt/qt5/qtbase_git.bb
>>> > @@ -137,7 +137,7 @@ QT_CONFIG_FLAGS += " \
>>> >
>>> >  # for qtbase configuration we need default settings
>>> >  # since we cannot set empty set filename to a not existent file
>>> > -export OE_QMAKE_QTCONF_PATH = "foodummy"
>>> > +deltask generate_qt_config_file
>>> >
>>> >  do_configure() {
>>> >  # Avoid qmake error "Cannot read 
>>> > [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri:
>>> No such file or directory" during configuration
>>> > --
>>> > 2.12.0
>>> >
>>>
>>> Any comments?
>>>
>>
>>
> --
> ___
> Openembedded-devel mailing list
> 

[oe] [meta-python][PATCH] python-requests: Update to version 2.18.4

2017-08-21 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 meta-python/recipes-devtools/python/python-requests.inc   | 4 ++--
 .../python/{python-requests_2.18.3.bb => python-requests_2.18.4.bb}   | 0
 .../python/{python3-requests_2.18.3.bb => python3-requests_2.18.4.bb} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-requests_2.18.3.bb => 
python-requests_2.18.4.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-requests_2.18.3.bb => 
python3-requests_2.18.4.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-requests.inc 
b/meta-python/recipes-devtools/python/python-requests.inc
index 03eb7dfd1..5d6dca5d3 100644
--- a/meta-python/recipes-devtools/python/python-requests.inc
+++ b/meta-python/recipes-devtools/python/python-requests.inc
@@ -3,8 +3,8 @@ HOMEPAGE = "http://python-requests.org;
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=979d6a23b143e13ea0e5e3aa81248820"
 
-SRC_URI[md5sum] = "c8f60cf816a35c0c3fef0a40d0e407a6"
-SRC_URI[sha256sum] = 
"fb68a7baef4965c12d9cd67c0f5a46e6e28be3d8c7b6910c758fbcc99880b518"
+SRC_URI[md5sum] = "081412b2ef79bdc48229891af13f4d82"
+SRC_URI[sha256sum] = 
"9c443e7324ba5b85070c4a818ade28bfabedf16ea10206da1132edaa6dda237e"
 
 inherit pypi
 
diff --git a/meta-python/recipes-devtools/python/python-requests_2.18.3.bb 
b/meta-python/recipes-devtools/python/python-requests_2.18.4.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-requests_2.18.3.bb
rename to meta-python/recipes-devtools/python/python-requests_2.18.4.bb
diff --git a/meta-python/recipes-devtools/python/python3-requests_2.18.3.bb 
b/meta-python/recipes-devtools/python/python3-requests_2.18.4.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-requests_2.18.3.bb
rename to meta-python/recipes-devtools/python/python3-requests_2.18.4.bb
-- 
2.11.0

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


Re: [oe] [meta-qt5][PATCH] qtbase: fix Krogoth build regression from efa8aaf

2017-08-21 Thread Martin Jansa
I know it's not caused by this change, but it still creates "foodummy" file
in ${TOPDIR} can we please get rid of it or at least move it somewhere else
like ${WORKDIR}?

On Sat, Aug 19, 2017 at 5:07 PM, Martin Jansa 
wrote:

> Nothing from me yet, it's included in master-next for my next bitbake
> world builds to test it, but first I need to resolve other issues in
> meta-qt5.
>
> On Sat, Aug 19, 2017 at 2:55 PM, Matt Hoosier 
> wrote:
>
>> On Thu, Aug 17, 2017 at 7:27 AM, Matt Hoosier 
>> wrote:
>> >
>> > From: Matt Hoosier 
>> >
>> > With
>> >
>> > commit efa8aaf82e580a7d32eaaab48eb92d436f2e222a
>> > Author: Andreas Müller 
>> > Date:   Thu Feb  9 00:26:09 2017
>> >
>> > qmake5_base.bbclass: set qt.conf by environment variable again
>> >
>> > we stopped pointing ${OE_QMAKE_QTCONF_PATH} at a valid file and
>> > instead directed it to a path which was intended not to exist.
>> >
>> > The motivation was to permit qtbase/qtbase-native/nativesdk-qtbase
>> > to build again after Qt 5.8 started paying attention to the
>> > contents of this file.
>> >
>> > The change as done in efa8aaf works well enough for Morty and
>> > subsequent releases' copies of Bitbake, but fails on earlier
>> > releases because they lack the following change:
>> >
>> > commit 2afcbfef2cd1ca568e5225884a8021df38ee3db0
>> > Author: Ross Burton 
>> > Date: 2016-07-14 13:56:22
>> >
>> > bitbake: build: don't use $B as the default cwd for functions
>> >
>> > The result is that when we build with Krogoth or prior, the body
>> > of do_generate_qt_config_file() runs with a cwd of ${B}, which was
>> > _not_ the intent of efa8aaf. Because the working directory is ${B},
>> > ${OE_QMAKE_QTCONF_PATH} is written in there too. do_configure() --
>> > whose cwd is by design also ${B} -- then finds the file 'foodummy',
>> > and the build breaks for the reasons outlined in efa8aaf.
>> >
>> > This change simply shifts the implementation tactics to suppress
>> > the creation of ${OE_QMAKE_QTCONF_PATH} during qtbase rather than rely
>> > on unspecified behavior about the cwd of do_generate_qt_config_file().
>> >
>> > (cherry picked from commit a17ff281aa8d99f770b0a049cb798235005fb93e
>> > at https://codereview.qt-project.org/yocto/meta-qt5.)
>> > ---
>> >  recipes-qt/qt5/nativesdk-qtbase_git.bb | 2 +-
>> >  recipes-qt/qt5/qtbase-native_git.bb| 2 +-
>> >  recipes-qt/qt5/qtbase_git.bb   | 2 +-
>> >  3 files changed, 3 insertions(+), 3 deletions(-)
>> >
>> > diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/
>> nativesdk-qtbase_git.bb
>> > index f2ff5f7..ffbb917 100644
>> > --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
>> > +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
>> > @@ -94,7 +94,7 @@ OE_QMAKE_PATH_HOST_LIBS = "${libdir}"
>> >
>> >  # for qtbase configuration we need default settings
>> >  # since we cannot set empty set filename to a not existent file
>> > -export OE_QMAKE_QTCONF_PATH = "foodummy"
>> > +deltask generate_qt_config_file
>> >
>> >  do_configure() {
>> >  ${S}/configure -v \
>> > diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/
>> qtbase-native_git.bb
>> > index 98cbecc..0884a19 100644
>> > --- a/recipes-qt/qt5/qtbase-native_git.bb
>> > +++ b/recipes-qt/qt5/qtbase-native_git.bb
>> > @@ -79,7 +79,7 @@ PACKAGECONFIG_CONFARGS = " \
>> >
>> >  # for qtbase configuration we need default settings
>> >  # since we cannot set empty set filename to a not existent file
>> > -export OE_QMAKE_QTCONF_PATH = "foodummy"
>> > +deltask generate_qt_config_file
>> >
>> >  do_configure_prepend() {
>> >  # Avoid qmake error "Cannot read 
>> > [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri:
>> No such file or directory"
>> > diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/
>> qtbase_git.bb
>> > index 5cfbcfa..a2e8917 100644
>> > --- a/recipes-qt/qt5/qtbase_git.bb
>> > +++ b/recipes-qt/qt5/qtbase_git.bb
>> > @@ -137,7 +137,7 @@ QT_CONFIG_FLAGS += " \
>> >
>> >  # for qtbase configuration we need default settings
>> >  # since we cannot set empty set filename to a not existent file
>> > -export OE_QMAKE_QTCONF_PATH = "foodummy"
>> > +deltask generate_qt_config_file
>> >
>> >  do_configure() {
>> >  # Avoid qmake error "Cannot read 
>> > [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri:
>> No such file or directory" during configuration
>> > --
>> > 2.12.0
>> >
>>
>> Any comments?
>>
>
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH v2] pcsc-lite: Update to 1.8.22

2017-08-21 Thread Huang Qiyu
1) Upgrade pcsc-lite from 1.8.13 to 1.8.22.

2) License information has changed in pcsc-lite-1.8.22/COPYING  for 
src/strlcpy.3, src/strlcat.c and src/strlcpy.c have been removed in 
pcsc-lite-1.8.22, so modify the LIC_FILES_CHKSUM. 

Signed-off-by: Huang Qiyu 
---
 .../pcsc-lite/{pcsc-lite_1.8.13.bb => pcsc-lite_1.8.22.bb}| 8 
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-support/pcsc-lite/{pcsc-lite_1.8.13.bb => 
pcsc-lite_1.8.22.bb} (82%)

diff --git a/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.13.bb 
b/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.22.bb
similarity index 82%
rename from meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.13.bb
rename to meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.22.bb
index 0d2cb33..90d58b0 100644
--- a/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.13.bb
+++ b/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.22.bb
@@ -8,12 +8,12 @@ LICENSE_${PN}-dev = "BSD"
 LICENSE_${PN}-dbg = "BSD & GPLv3+"
 LICENSE_${PN}-spy = "GPLv3+"
 LICENSE_${PN}-spy-dev = "GPLv3+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=bcfbd85230ac3c586fb294c8b627cf32"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f38b3d1c7ef7fc2c8b6d20cd38efdc29"
 DEPENDS = "udev"
 
-SRC_URI = 
"https://alioth.debian.org/frs/download.php/file/4126/pcsc-lite-${PV}.tar.bz2;
-SRC_URI[md5sum] = "4dcd22d20a6df8810fac5480cc320b6d"
-SRC_URI[sha256sum] = 
"f315047e808d63a3262c4a040f77548af2e04d1fd707e0c2759369b926fbbc3b"
+SRC_URI = 
"https://alioth.debian.org/frs/download.php/file/4225/pcsc-lite-${PV}.tar.bz2;
+SRC_URI[md5sum] = "0ec103b1ef298d0c58d6ef6b00b9cf17"
+SRC_URI[sha256sum] = 
"6a358f61ed3b66a7f6e1f4e794a94c7be4c81b7a58ec360c33791e8d7d9bd405"
 
 
 inherit autotools systemd pkgconfig
-- 
2.7.4



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


Re: [oe] [meta-python][PATCH 3/3] python-m2crypto: Upgrade to 0.26.0

2017-08-21 Thread Martin Jansa
Fails to build here:
http://errors.yoctoproject.org/Errors/Details/152770/

On Tue, Aug 15, 2017 at 5:02 PM, Leonardo Sandoval <
leonardo.sandoval.gonza...@linux.intel.com> wrote:

> On Mon, 2017-08-14 at 22:02 -0700, Khem Raj wrote:
> > Use proper LICENCE file for LIC_FILES_CHKSUM
> >
> > Signed-off-by: Khem Raj 
> > ---
> >  ...{python-m2crypto_0.25.1.bb => python-m2crypto_0.26.0.bb} | 13
> +
> >  1 file changed, 5 insertions(+), 8 deletions(-)
> >  rename meta-python/recipes-devtools/python/{python-m2crypto_0.25.1.bb
> => python-m2crypto_0.26.0.bb} (79%)
> >
> > diff --git a/meta-python/recipes-devtools/python/python-
> m2crypto_0.25.1.bb b/meta-python/recipes-devtools/python/python-
> m2crypto_0.26.0.bb
> > similarity index 79%
> > rename from meta-python/recipes-devtools/python/python-m2crypto_0.25.1.
> bb
> > rename to meta-python/recipes-devtools/python/python-m2crypto_0.26.0.bb
> > index 72523bd7f..446f4d80a 100644
> > --- a/meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb
> > +++ b/meta-python/recipes-devtools/python/python-m2crypto_0.26.0.bb
> > @@ -2,12 +2,11 @@ SUMMARY = "A Python crypto and SSL toolkit"
> >  HOMEPAGE = "http://chandlerproject.org/bin/view/Projects/MeTooCrypto;
>
> Just tried looking into the HOMEPAGE and seems that it has moved to
>
> https://gitlab.com/m2crypto/m2crypto
>
>
> updating this patch with the above would be the fastest path to change
> this var.
>
>
>
> >
> >  LICENSE = "BSD"
> > -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=95295693f047bb8f76928251a6154a
> 60"
> > -
> > -SRC_URI[md5sum] = "040234289fbef5bed4029f0f7d1dae35"
> > -SRC_URI[sha256sum] = "ac303a1881307a51c85ee8b1d87844
> d9866ee823b4fdbc52f7e79187c2d9acef"
> > +LIC_FILES_CHKSUM = "file://LICENCE;md5=b0e1f0b7d0ce8a62c18b1287b99180
> 0e"
> >
> >  SRC_URI += 
> > "file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch
> "
> > +SRC_URI[md5sum] = "9f02f0b88fbe225cc6ea8680945cafa0"
> > +SRC_URI[sha256sum] = "05d94fd9b2dae2fb8e072819a795f0
> e05d3611b09ea185f68e1630530ec09ae8"
> >
> >  PYPI_PACKAGE = "M2Crypto"
> >  inherit pypi setuptools siteinfo
> > @@ -18,10 +17,8 @@ RDEPENDS_${PN} += "python-typing"
> >  DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_DIR_HOST}
> -I${STAGING_INCDIR}"
> >  DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_DIR_HOST}"
> >
> > -inherit setuptools
> > -
> > -SWIG_FEATURES_x86-64 = "-D__x86_64__"
> > -SWIG_FEATURES ?= ""
> > +SWIG_FEATURES_append_x86-64 = " -D__x86_64__"
> > +SWIG_FEATURES = "-ignoremissing"
> >  export SWIG_FEATURES
> >
> >  # Get around a problem with swig, but only if the
> > --
> > 2.14.1
> >
>
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] mariadb: 5.5.55 -> 5.5.57

2017-08-21 Thread Martin Jansa
I've quickly tried it on the jenkins builder and without thumb it builds ok.

So if you don't want to dig what wents wrong in our toolchain when
security_flags.inc is used, you can just add:

ARM_INSTRUCTION_SET_armv4 = "arm"
ARM_INSTRUCTION_SET_armv5 = "arm"

and check if it builds with some armv7a with thumb enabled, or

ARM_INSTRUCTION_SET = "arm"

if it fails for armv7a as well. And include link to this thread + error log
or something like that.



On Mon, Aug 21, 2017 at 6:46 AM, Martin Jansa 
wrote:

> Hi,
>
> the security_flags.inc:
>
> require conf/distro/include/security_flags.inc
>
> and if still doesn't reproduce than last bit is thumb:
>
> PREFERRED_ARM_INSTRUCTION_SET  ?= "thumb"
> ARM_INSTRUCTION_SET = "${PREFERRED_ARM_INSTRUCTION_SET}"
>
> Regards,
>
> On Mon, Aug 21, 2017 at 6:08 AM, Kang Kai  wrote:
>
>> On 2017年08月21日 07:48, Martin Jansa wrote:
>>
>> Like the previous version this one fails to build for qemuarm when
>> security_flags.inc are enabled (maybe only in combination with gold and
>> thumb), can you please look into it?
>>
>> http://errors.yoctoproject.org/Errors/Details/152655/
>>
>>
>> I built qemuarm with following configures in local.conf and no failure.
>>
>> require conf/distro/include/security_flags.inc
>>
>> DISTRO_FEATURES_append = " ld-is-gold"
>>
>>
>> Any other configure did I miss? Thanks.
>>
>>
>> Regards,
>> Kai
>>
>>
>>
>> On Fri, Aug 18, 2017 at 4:51 AM, Kang Kai  wrote:
>>
>>> On 2017年08月17日 17:28, kai.k...@windriver.com wrote:
>>>
 From: Kai Kang 

 Upgrade mariadb from 5.5.55 to 5.5.57.

>>>
>>> Forgot [meta-oe] in title. Sorry for inconvenience.
>>>
>>> --Kai
>>>
>>>
>>>
 * update SRC_URI that mariadb.com doesn't provides source tarball of
 5.5.57
 * remove gcc7.patch which is not needed any more

 Signed-off-by: Kai Kang 
 ---
   .../{mariadb-native_5.5.55.bb => mariadb-native_5.5.57.bb}  |  0
   meta-oe/recipes-support/mysql/mariadb.inc   |  8
 
   meta-oe/recipes-support/mysql/mariadb/gcc7.patch| 13
 -
   .../mysql/{mariadb_5.5.55.bb => mariadb_5.5.57.bb}  |  0
   4 files changed, 4 insertions(+), 17 deletions(-)
   rename meta-oe/recipes-support/mysql/{mariadb-native_5.5.55.bb =>
 mariadb-native_5.5.57.bb} (100%)
   delete mode 100644 meta-oe/recipes-support/mysql/mariadb/gcc7.patch
   rename meta-oe/recipes-support/mysql/{mariadb_5.5.55.bb =>
 mariadb_5.5.57.bb} (100%)

 diff --git a/meta-oe/recipes-support/mysql/mariadb-native_5.5.55.bb
 b/meta-oe/recipes-support/mysql/mariadb-native_5.5.57.bb
 similarity index 100%
 rename from meta-oe/recipes-support/mysql/mariadb-native_5.5.55.bb
 rename to meta-oe/recipes-support/mysql/mariadb-native_5.5.57.bb
 diff --git a/meta-oe/recipes-support/mysql/mariadb.inc
 b/meta-oe/recipes-support/mysql/mariadb.inc
 index fd9dcbd..32e3eaa 100644
 --- a/meta-oe/recipes-support/mysql/mariadb.inc
 +++ b/meta-oe/recipes-support/mysql/mariadb.inc
 @@ -4,7 +4,7 @@ SECTION = "libs"
   LICENSE = "GPLv2"
   LIC_FILES_CHKSUM = "file://COPYING;md5=751419260a
 a954499f7abaabaa882bbe"
   -SRC_URI = "http://downloads.mariadb.com/
 MariaDB/mariadb-${PV}/source/mariadb-${PV}.tar.gz \
 +SRC_URI = "https://downloads.mariadb.org/f/${BP}/source/${BP}.tar.gz \
  file://fix-cmake-module-path.patch \
  file://remove-bad-path.patch \
  file://fix-mysqlclient-r-version.patch \
 @@ -17,10 +17,10 @@ SRC_URI = "http://downloads.mariadb.com/
 MariaDB/mariadb-${PV}/source/mariadb-${P
  file://fix-a-building-failure.patch \
  file://change-cc-to-cc-version.patch \
  file://0001-disable-ucontext-on-musl.patch \
 -   file://gcc7.patch \
 "
 -SRC_URI[md5sum] = "54a0bbbc9b67308e7c076622d02f0fcd"
 -SRC_URI[sha256sum] = "cb94e315d0fc90c62db5a6c7829c9
 966f674285d99b3ba3ffa575fb4a26edc86"
 +
 +SRC_URI[md5sum] = "2d4104aae0b9e5efa8878918bd329cb4"
 +SRC_URI[sha256sum] = "5dbde98d7e4a5a1721b6cbed7898b
 2549a88866247951cf586057975c6cea641"
 S = "${WORKDIR}/mariadb-${PV}"
   diff --git a/meta-oe/recipes-support/mysql/mariadb/gcc7.patch
 b/meta-oe/recipes-support/mysql/mariadb/gcc7.patch
 deleted file mode 100644
 index 3e75b26..000
 --- a/meta-oe/recipes-support/mysql/mariadb/gcc7.patch
 +++ /dev/null
 @@ -1,13 +0,0 @@
 -Index: mariadb-5.5.55/client/mysql.cc
 -===
  mariadb-5.5.55.orig/client/mysql.cc
 -+++ mariadb-5.5.55/client/mysql.cc
 -@@ -2850,7 +2850,7 @@ You can turn off this feature to get a q
 - 

[oe] [meta-efl][PATCH] meta-efl: remove this now pretty empty layer

2017-08-21 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 meta-efl/COPYING.MIT   |  17 --
 meta-efl/README|  18 --
 meta-efl/classes/e-base.bbclass|  14 --
 meta-efl/classes/e.bbclass |  22 ---
 meta-efl/classes/efl.bbclass   |  66 ---
 .../conf/distro/include/efl-from-svn-recipes.inc   |  43 -
 meta-efl/conf/layer.conf   |  35 
 meta-efl/recipes-core/meta/meta-toolchain-efl.bb   |   6 -
 meta-efl/recipes-devtools/python/python-edbus.inc  |  46 -
 meta-efl/recipes-devtools/python/python-efl.inc|  71 ---
 meta-efl/recipes-efl/e17/cpu/configure.patch   |  13 --
 meta-efl/recipes-efl/e17/e-module.inc  |  19 --
 .../0001-dbus-stuff-Convert-to-eldbus.patch| 204 -
 .../e17/e-wm-theme-illume-efenniht/LICENSE |  25 ---
 meta-efl/recipes-efl/e17/e-wm.inc  | 200 
 .../e17/e-wm/0001-Fix-incorrect-message-type.patch |  28 ---
 .../e17/e-wm/0001-configure.ac-add-foreign.patch   |  29 ---
 meta-efl/recipes-efl/e17/e-wm/applications.menu| 105 ---
 .../recipes-efl/e17/e-wm/enlightenment_start.oe|   9 -
 .../recipes-efl/e17/elmdentica/configure.patch |  13 --
 ...position-as-percent-and-define-a-1-second.patch | 133 --
 meta-efl/recipes-efl/e17/enjoy/configure.patch |  13 --
 meta-efl/recipes-efl/e17/ephoto/configure.patch|  13 --
 .../recipes-efl/e17/exalt-client/configure.patch   |  28 ---
 .../recipes-efl/e17/exquisite-theme-illume/LICENSE |  25 ---
 meta-efl/recipes-efl/e17/exquisite/exquisite-init  |  40 
 meta-efl/recipes-efl/e17/exquisite/splashfuncs |  29 ---
 meta-efl/recipes-efl/e17/flame/configure.patch |  13 --
 meta-efl/recipes-efl/e17/forecasts/configure.patch |  13 --
 ...file-update-KEYBOARDS_DIR-for-new-illume2.patch |  23 ---
 .../recipes-efl/e17/illume-keyboards-shr/LICENSE   |  25 ---
 .../recipes-efl/e17/illume-keyboards-shr_git.bb| 100 --
 meta-efl/recipes-efl/e17/places/configure.patch|  13 --
 meta-efl/recipes-efl/e17/rain/configure.patch  |  13 --
 .../screenshot/screenshot-fix-mkinstalldirs.patch  |  23 ---
 meta-efl/recipes-efl/e17/terminology.inc   |  22 ---
 meta-efl/recipes-efl/e17/uptime/configure.patch|  13 --
 .../recipes-efl/efl/e-wm-illume-dict-pl_git.bb |  18 --
 .../efl/ecore/fix-ecore-fb-initialization.patch|  41 -
 meta-efl/recipes-efl/efl/edb_svn.bb|  16 --
 meta-efl/recipes-efl/efl/edbus.inc |  29 ---
 meta-efl/recipes-efl/efl/edje-fpu.inc  |   6 -
 .../efl/elementary-theme-efenniht/LICENSE  |  25 ---
 meta-efl/recipes-efl/efl/elementary.inc|  89 -
 ...e-elementary_codegen-defined-in-configure.patch |  29 ---
 .../recipes-efl/efl/emotion-generic-players.inc|  14 --
 ...am-use-common-auth-instead-of-system-auth.patch |  26 ---
 meta-efl/recipes-efl/efl/entrance/entrance.service |   8 -
 ...alias-functions-poppler-has-dropped-them-.patch | 132 -
 ...r_postscript.cpp-fix-build-for-poppler-AP.patch |  45 -
 meta-efl/recipes-efl/efl/evas-generic-loaders.inc  |  73 
 meta-efl/recipes-efl/efl/expedite.inc  |  25 ---
 meta-efl/recipes-efl/efl/imlib2_git.bb |  45 -
 .../efl/libeflvala/disable.eina.test.patch |  44 -
 .../packagegroups/packagegroup-efl-sdk.inc |  12 --
 ...ine-comparison_fn_t-for-non-glibc-systems.patch |  33 
 .../id3-plugin-support-out-of-tree-build.patch |  11 --
 .../lightmediascanner/lightmediascanner_0.5.1.bb   |  63 ---
 58 files changed, 2306 deletions(-)
 delete mode 100644 meta-efl/COPYING.MIT
 delete mode 100644 meta-efl/README
 delete mode 100644 meta-efl/classes/e-base.bbclass
 delete mode 100644 meta-efl/classes/e.bbclass
 delete mode 100644 meta-efl/classes/efl.bbclass
 delete mode 100644 meta-efl/conf/distro/include/efl-from-svn-recipes.inc
 delete mode 100644 meta-efl/conf/layer.conf
 delete mode 100644 meta-efl/recipes-core/meta/meta-toolchain-efl.bb
 delete mode 100644 meta-efl/recipes-devtools/python/python-edbus.inc
 delete mode 100644 meta-efl/recipes-devtools/python/python-efl.inc
 delete mode 100644 meta-efl/recipes-efl/e17/cpu/configure.patch
 delete mode 100644 meta-efl/recipes-efl/e17/e-module.inc
 delete mode 100644 
meta-efl/recipes-efl/e17/e-tasks/0001-dbus-stuff-Convert-to-eldbus.patch
 delete mode 100644 meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht/LICENSE
 delete mode 100644 meta-efl/recipes-efl/e17/e-wm.inc
 delete mode 100644 
meta-efl/recipes-efl/e17/e-wm/0001-Fix-incorrect-message-type.patch
 delete mode 100644 
meta-efl/recipes-efl/e17/e-wm/0001-configure.ac-add-foreign.patch
 delete mode 100644 meta-efl/recipes-efl/e17/e-wm/applications.menu
 delete mode 100644 meta-efl/recipes-efl/e17/e-wm/enlightenment_start.oe
 

[oe] [meta-ruby][PATCH] meta-ruby: remove this now pretty empty layer

2017-08-21 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 meta-ruby/COPYING.MIT  |  17 --
 meta-ruby/README   |  16 -
 meta-ruby/classes/ruby.bbclass | 131 -
 meta-ruby/conf/layer.conf  |  15 -
 4 files changed, 179 deletions(-)
 delete mode 100644 meta-ruby/COPYING.MIT
 delete mode 100644 meta-ruby/README
 delete mode 100644 meta-ruby/classes/ruby.bbclass
 delete mode 100644 meta-ruby/conf/layer.conf

diff --git a/meta-ruby/COPYING.MIT b/meta-ruby/COPYING.MIT
deleted file mode 100644
index fb950dc69..0
--- a/meta-ruby/COPYING.MIT
+++ /dev/null
@@ -1,17 +0,0 @@
-Permission is hereby granted, free of charge, to any person obtaining a copy 
-of this software and associated documentation files (the "Software"), to deal 
-in the Software without restriction, including without limitation the rights 
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
-copies of the Software, and to permit persons to whom the Software is 
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in 
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 
-THE SOFTWARE.
diff --git a/meta-ruby/README b/meta-ruby/README
deleted file mode 100644
index 08e0aa7eb..0
--- a/meta-ruby/README
+++ /dev/null
@@ -1,16 +0,0 @@
-This layer depends on:
-
-URI: git://github.com/openembedded/oe-core.git
-branch: master
-revision: HEAD
-
-URI: git://github.com/openembedded/meta-oe.git
-branch: master
-revision: HEAD
-
-Send pull requests to openembedded-devel@lists.openembedded.org with 
'[meta-ruby]' in the subject'
-
-When sending single patches, please using something like:
-'git send-email -M -1 --to openembedded-devel@lists.openembedded.org 
--subject-prefix=meta-ruby][PATCH'
-
-Layer maintainer: Armin Kuster 
diff --git a/meta-ruby/classes/ruby.bbclass b/meta-ruby/classes/ruby.bbclass
deleted file mode 100644
index 1acf2e0bd..0
--- a/meta-ruby/classes/ruby.bbclass
+++ /dev/null
@@ -1,131 +0,0 @@
-BPV ?= "${PV}"
-
-DEPENDS += " \
-ruby-native \
-"
-RDEPENDS_${PN} += " \
-ruby \
-"
-
-def get_rubyversion(p):
-import re
-from os.path import isfile
-import subprocess
-found_version = "SOMETHING FAILED!"
-
-cmd = "%s/ruby" % p
-
-if not isfile(cmd):
-   return found_version
-
-version = subprocess.Popen([cmd, "--version"], 
stdout=subprocess.PIPE).communicate()[0].decode("utf-8")
-
-r = re.compile("ruby ([0-9]+\.[0-9]+\.[0-9]+)*")
-m = r.match(version)
-if m:
-found_version = m.group(1)
-
-return found_version
-
-def get_rubygemslocation(p):
-import re
-from os.path import isfile
-import subprocess
-found_loc = "SOMETHING FAILED!"
-
-cmd = "%s/gem" % p
-
-if not isfile(cmd):
-   return found_loc
-
-loc = subprocess.Popen([cmd, "env"], 
stdout=subprocess.PIPE).communicate()[0].decode("utf-8")
-
-r = re.compile(".*\- (/usr.*/ruby/gems/.*)")
-for line in loc.split('\n'):
-m = r.match(line)
-if m:
-found_loc = m.group(1)
-break
-
-return found_loc
-
-def get_rubygemsversion(p):
-import re
-from os.path import isfile
-import subprocess
-found_version = "SOMETHING FAILED!"
-
-cmd = "%s/gem" % p
-
-if not isfile(cmd):
-   return found_version
-
-version = subprocess.Popen([cmd, "env", "gemdir"], 
stdout=subprocess.PIPE).communicate()[0].decode("utf-8")
-
-r = re.compile(".*([0-9]+\.[0-9]+\.[0-9]+)$")
-m = r.match(version)
-if m:
-found_version = m.group(1)
-
-return found_version
-
-RUBY_VERSION ?= "${@get_rubyversion("${STAGING_BINDIR_NATIVE}")}"
-RUBY_GEM_DIRECTORY ?= "${@get_rubygemslocation("${STAGING_BINDIR_NATIVE}")}"
-RUBY_GEM_VERSION ?= "${@get_rubygemsversion("${STAGING_BINDIR_NATIVE}")}"
-
-export GEM_HOME = "${STAGING_DIR_NATIVE}/usr/lib/ruby/gems/${RUBY_GEM_VERSION}"
-
-RUBY_BUILD_GEMS ?= "${BPN}.gemspec"
-RUBY_INSTALL_GEMS ?= "${BPN}-${BPV}.gem"
-
-RUBY_COMPILE_FLAGS ?= 'LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8"'
-
-ruby_do_compile() {
-   for gem in ${RUBY_BUILD_GEMS}; do
-   ${RUBY_COMPILE_FLAGS} gem build $gem
-   done
-}
-
-
-ruby_do_install() {
-   for gem in ${RUBY_INSTALL_GEMS}; do
-   gem install --ignore-dependencies --local --env-shebang 
--install-dir ${D}/${libdir}/ruby/gems/${RUBY_GEM_VERSION}/ $gem
-   done
-
- 

Re: [oe] [meta-oe][PATCH] recipes: remove blacklisted recipes

2017-08-21 Thread Martin Jansa
On Mon, Aug 21, 2017 at 09:18:47AM +0200, Martin Jansa wrote:
> * as PNBLACKLIST message says, these recipes are blacklisted for long
>   time and nobody showed any interest to fix them
> 
> Signed-off-by: Martin Jansa 
> ---
>  .../recipes-devtools/python/python-edbus_1.7.0.bb  |   8 -
>  .../recipes-devtools/python/python-efl_1.15.0.bb   |   6 -
>  meta-efl/recipes-devtools/python/python-efl_git.bb |  11 -
>  meta-efl/recipes-efl/e17/cpu_svn.bb|  12 -
>  meta-efl/recipes-efl/e17/diskio_svn.bb |  10 -
>  meta-efl/recipes-efl/e17/e-tasks_git.bb|  34 ---
>  meta-efl/recipes-efl/e17/e-wm-theme-b-and-w_svn.bb |  37 ---
>  .../e17/e-wm-theme-illume-efenniht_svn.bb  |  39 ---
>  meta-efl/recipes-efl/e17/e-wm_0.18.8.bb|  17 --
>  meta-efl/recipes-efl/e17/e-wm_0.19.10.bb   |  21 --
>  meta-efl/recipes-efl/e17/e-wm_git.bb   |  16 --
>  meta-efl/recipes-efl/e17/edje-viewer_svn.bb|  18 --
>  meta-efl/recipes-efl/e17/elbow_git.bb  |  26 --
>  meta-efl/recipes-efl/e17/elfe_git.bb   |  17 --
>  meta-efl/recipes-efl/e17/elmdentica_svn.bb |  23 --
>  meta-efl/recipes-efl/e17/emprint_svn.bb|  14 -
>  meta-efl/recipes-efl/e17/enjoy_git.bb  |  50 
>  meta-efl/recipes-efl/e17/ephoto_svn.bb |  21 --
>  meta-efl/recipes-efl/e17/exalt-client_svn.bb   |  26 --
>  meta-efl/recipes-efl/e17/exalt_svn.bb  |  36 ---
>  meta-efl/recipes-efl/e17/exquisite-theme-illume.bb |  41 ---
>  meta-efl/recipes-efl/e17/exquisite_svn.bb  |  43 ---
>  meta-efl/recipes-efl/e17/flame_svn.bb  |  17 --
>  meta-efl/recipes-efl/e17/forecasts_svn.bb  |  12 -
>  meta-efl/recipes-efl/e17/news_svn.bb   |  14 -
>  meta-efl/recipes-efl/e17/places_svn.bb |  18 --
>  meta-efl/recipes-efl/e17/rage_svn.bb   |  15 --
>  meta-efl/recipes-efl/e17/rain_svn.bb   |  18 --
>  meta-efl/recipes-efl/e17/screenshot_svn.bb |  16 --
>  meta-efl/recipes-efl/e17/terminology_0.9.1.bb  |  10 -
>  meta-efl/recipes-efl/e17/uptime_svn.bb |  12 -
>  meta-efl/recipes-efl/efl/azy_svn.bb|  37 ---
>  meta-efl/recipes-efl/efl/edbus_1.7.9.bb|  16 --
>  meta-efl/recipes-efl/efl/efl.inc   | 290 
> -
>  ...igure.ac-Don-t-check-for-Xprint-extension.patch |  27 --
>  .../efl/efl/0001-evas_3d-Add-Eet.h-includes.patch  |  51 
>  meta-efl/recipes-efl/efl/efl_1.15.1.bb |  29 ---
>  .../efl/elementary-theme-efenniht_svn.bb   |  44 
>  meta-efl/recipes-efl/efl/elementary_1.15.1.bb  |  18 --
>  .../efl/emotion-generic-players_1.15.0.bb  |  14 -
>  meta-efl/recipes-efl/efl/engrave_svn.bb|  15 --
>  meta-efl/recipes-efl/efl/entrance_svn.bb   |  43 ---
>  meta-efl/recipes-efl/efl/epdf_svn.bb   |  35 ---
>  .../recipes-efl/efl/evas-generic-loaders_1.15.0.bb |  14 -
>  meta-efl/recipes-efl/efl/expedite_1.7.9.bb |  28 --
>  meta-efl/recipes-efl/efl/expedite_git.bb   |  31 ---
>  meta-efl/recipes-efl/efl/libeflvala_svn.bb |  23 --
>  meta-efl/recipes-efl/efl/libeweather_svn.bb|  48 
>  .../packagegroups/packagegroup-efl-sdk.bb  |  19 --
>  .../packagegroup-efl-standalone-sdk-target.bb  |  19 --
>  .../packagegroups/packagegroup-x11-illume.bb   |  30 ---
>  meta-efl/recipes-efl/webkit/webkit-efl.inc |  69 -
>  ...on.cmake-don-t-mix-CXX_FLAGS-into-C_FLAGS.patch |  46 
>  ...rs.cmake-Add-Wno-error-deprecated-declara.patch |  45 
>  .../0003-FEBlendNEON.h-fix-missing-semicolon.patch |  35 ---
>  ...ld-with-EFL-1.12-https-bugs.webkit.org-sh.patch | 146 ---
>  .../0005-Fix-the-build-with-cmake-3.patch  | 104 
>  ...sEfl.cmake-Fix-build-with-newer-CMake-3.4.patch |  30 ---
>  meta-efl/recipes-efl/webkit/webkit-efl_1.11.0.bb   |  12 -
>  meta-efl/recipes-navigation/mcnavi/mcnavi_0.3.4.bb |  19 --
>  .../recipes-filesystems/smbnetfs/smbnetfs_git.bb   |  28 --
>  .../recipes-utils/dmapi/dmapi_2.2.12.bb|  33 ---
>  meta-gnome/recipes-apps/cheese/cheese_2.30.1.bb|  26 --
>  meta-gnome/recipes-apps/epdfview/epdfview_0.1.8.bb |  25 --
>  .../recipes-apps/gnome-mplayer/gmtk_1.0.5.bb   |  18 --
>  .../gnome-mplayer/gnome-mplayer_1.0.5.bb   |  32 ---
>  .../gtk-theme-torturer/gtk-theme-torturer_git.bb   |  25 --
>  .../recipes-gnome/gcalctool/gcalctool_5.32.0.bb|  20 --
>  meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb | 108 
>  .../gnome-backgrounds/gnome-backgrounds_2.32.0.bb  |  21 --
>  .../gnome-control-center_2.32.1.bb |  35 ---
>  .../gnome-desktop/gnome-desktop_2.32.1.bb  |  28 --
>  .../gnome-disk-utility_2.32.0.bb   |  45 
>  .../gnome-keyring/gnome-keyring_2.32.1.bb  |  45 
>  

[oe] [meta-webserver][PATCH] phpmyadmin: upgrade to 4.7.3

2017-08-21 Thread jackie.huang
From: Jackie Huang 

The license files and md5 are updated.

Signed-off-by: Jackie Huang 
---
 .../phpmyadmin/{phpmyadmin_4.6.3.bb => phpmyadmin_4.7.3.bb}| 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)
 rename meta-webserver/recipes-php/phpmyadmin/{phpmyadmin_4.6.3.bb => 
phpmyadmin_4.7.3.bb} (70%)

diff --git a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.6.3.bb 
b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.7.3.bb
similarity index 70%
rename from meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.6.3.bb
rename to meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.7.3.bb
index 61872ae09..9949a7395 100644
--- a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.6.3.bb
+++ b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.7.3.bb
@@ -1,16 +1,18 @@
 SUMMARY = "Web-based MySQL administration interface"
 HOMEPAGE = "http://www.phpmyadmin.net;
-# Main code is GPLv2, libraries/tcpdf is under LGPLv3, js/jquery is under MIT
+# Main code is GPLv2, vendor/tecnickcom/tcpdf is under LGPLv3, js/jquery is 
under MIT
 LICENSE = "GPLv2 & LGPLv3 & MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
-
file://libraries/tcpdf/LICENSE.TXT;md5=5c87b66a5358ebcc495b03e0afcd342c"
+
file://vendor/tecnickcom/tcpdf/LICENSE.TXT;md5=5c87b66a5358ebcc495b03e0afcd342c 
\
+
file://js/jquery/MIT-LICENSE.txt;md5=e43aa437a6a1ba421653bd5034333bf9 \
+"
 
 SRC_URI = 
"https://files.phpmyadmin.net/phpMyAdmin/${PV}/phpMyAdmin-${PV}-all-languages.tar.xz
 \
file://apache.conf \
 "
 
-SRC_URI[md5sum] = "53c7a6a577d10de04a5dd21a05018542"
-SRC_URI[sha256sum] = 
"943bad38a95f21bb015bdb78c9c067e0ea7510c1b35d4b8e757cb89c413e3bac"
+SRC_URI[md5sum] = "4b0c5dbaf871eb86671613da3c31e6b3"
+SRC_URI[sha256sum] = 
"ed51669043f62494dc3bc21a87423373164ff63865a6c6bceaee535ef785f33e"
 
 S = "${WORKDIR}/phpMyAdmin-${PV}-all-languages"
 
-- 
2.11.0

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


Re: [oe] [PATCH 0/3] multipath-tools/python3-pykickstart/xmlrpc-c: fix file-rdeps QA issues

2017-08-21 Thread Hongxu Jia

On 2017年08月21日 14:21, Martin Jansa wrote:

Do you know why so many do_package_qa failures were detected now?

I was reading oe-core commits added since last world build and I don't 
see where this QA check was fixed or why it reports so many issues now.


Is it thanks to this change?
http://git.openembedded.org/openembedded-core/commit/?id=bf017930036f19b3d6df8e5b50d9979ee7045c5c



I think so, I sync oe-core to latest and found these QA issue.

Here is the original repo:

http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pkj/rpm_regressions2

And some improvement in

https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg100243.html

//Hongxu

On Mon, Aug 21, 2017 at 8:00 AM, Hongxu Jia > wrote:


The following changes since commit
ac2a6d2b5d69937577effcb8bb2149651bac0176:

  json-spirit: Add -latomic to LDFLAGS (2017-08-13 13:21:04 +0200)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib

hongxu/fix-qa-issue

http://cgit.openembedded.org/openembedded-core-contrib/log/?h=hongxu/fix-qa-issue



Hongxu Jia (3):
  multipath-tools: add bash to RDEPENDS
  python3-pykickstart: tweak shebang to python3
  xmlrpc-c: add perl to RDEPENDS

 .../recipes-devtools/xmlrpc-c/xmlrpc-c_1.31.0.bb
  |  2 +-
 .../multipath-tools/multipath-tools_0.7.1.bb
  |  2 +-
 .../files/0005-tweak-shebang-to-python3.patch  | 25
++
 .../python-pykickstart/python3-pykickstart_2.35.bb
 |  1 +
 4 files changed, 28 insertions(+), 2 deletions(-)
 create mode 100644

meta-python/recipes-extended/python-pykickstart/files/0005-tweak-shebang-to-python3.patch

--
2.8.1




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


Re: [oe] [PATCH 0/3] multipath-tools/python3-pykickstart/xmlrpc-c: fix file-rdeps QA issues

2017-08-21 Thread Martin Jansa
Do you know why so many do_package_qa failures were detected now?

I was reading oe-core commits added since last world build and I don't see
where this QA check was fixed or why it reports so many issues now.

Is it thanks to this change?
http://git.openembedded.org/openembedded-core/commit/?id=bf017930036f19b3d6df8e5b50d9979ee7045c5c

On Mon, Aug 21, 2017 at 8:00 AM, Hongxu Jia 
wrote:

> The following changes since commit ac2a6d2b5d69937577effcb8bb2149
> 651bac0176:
>
>   json-spirit: Add -latomic to LDFLAGS (2017-08-13 13:21:04 +0200)
>
> are available in the git repository at:
>
>   git://git.openembedded.org/openembedded-core-contrib hongxu/fix-qa-issue
>   http://cgit.openembedded.org/openembedded-core-contrib/log/
> ?h=hongxu/fix-qa-issue
>
> Hongxu Jia (3):
>   multipath-tools: add bash to RDEPENDS
>   python3-pykickstart: tweak shebang to python3
>   xmlrpc-c: add perl to RDEPENDS
>
>  .../recipes-devtools/xmlrpc-c/xmlrpc-c_1.31.0.bb   |  2 +-
>  .../multipath-tools/multipath-tools_0.7.1.bb   |  2 +-
>  .../files/0005-tweak-shebang-to-python3.patch  | 25
> ++
>  .../python-pykickstart/python3-pykickstart_2.35.bb |  1 +
>  4 files changed, 28 insertions(+), 2 deletions(-)
>  create mode 100644 meta-python/recipes-extended/
> python-pykickstart/files/0005-tweak-shebang-to-python3.patch
>
> --
> 2.8.1
>
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 0/3] multipath-tools/python3-pykickstart/xmlrpc-c: fix file-rdeps QA issues

2017-08-21 Thread Hongxu Jia
The following changes since commit ac2a6d2b5d69937577effcb8bb2149651bac0176:

  json-spirit: Add -latomic to LDFLAGS (2017-08-13 13:21:04 +0200)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib hongxu/fix-qa-issue
  
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=hongxu/fix-qa-issue

Hongxu Jia (3):
  multipath-tools: add bash to RDEPENDS
  python3-pykickstart: tweak shebang to python3
  xmlrpc-c: add perl to RDEPENDS

 .../recipes-devtools/xmlrpc-c/xmlrpc-c_1.31.0.bb   |  2 +-
 .../multipath-tools/multipath-tools_0.7.1.bb   |  2 +-
 .../files/0005-tweak-shebang-to-python3.patch  | 25 ++
 .../python-pykickstart/python3-pykickstart_2.35.bb |  1 +
 4 files changed, 28 insertions(+), 2 deletions(-)
 create mode 100644 
meta-python/recipes-extended/python-pykickstart/files/0005-tweak-shebang-to-python3.patch

-- 
2.8.1

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


[oe] [PATCH 3/3] xmlrpc-c: add perl to RDEPENDS

2017-08-21 Thread Hongxu Jia
Fix the following file-rdeps QA issue:
...
|ERROR: xmlrpc-c-1.31.0-r0 do_package_qa: QA Issue:
/usr/bin/xml-rpc-api2txt contained in package xmlrpc-c requires
/usr/bin/perl, but no providers found in RDEPENDS_xmlrpc-c? [file-rdeps]
...

Signed-off-by: Hongxu Jia 
---
 meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.31.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.31.0.bb 
b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.31.0.bb
index 70bd9e8..efa58f1 100644
--- a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.31.0.bb
+++ b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.31.0.bb
@@ -13,7 +13,7 @@ SRCREV = "81443a9dc234cc275449dbc17867ad77ae189124"
 S = "${WORKDIR}/git"
 
 DEPENDS = "curl libxml2"
-RDEPENDS_${PN} = "curl"
+RDEPENDS_${PN} = "curl perl"
 
 inherit cmake
 
-- 
2.8.1

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


[oe] [PATCH 1/3] multipath-tools: add bash to RDEPENDS

2017-08-21 Thread Hongxu Jia
Fix the following file-rdeps QA issue:
...
|ERROR: multipath-tools-0.7.1-r0 do_package_qa: QA Issue: /sbin/mpathconf
contained in package multipath-tools requires /bin/bash, but no
providers found in RDEPENDS_multipath-tools? [file-rdeps]
...

Signed-off-by: Hongxu Jia 
---
 meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.1.bb 
b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.1.bb
index 610ba7a..a13efbe 100644
--- a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.1.bb
+++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.1.bb
@@ -97,7 +97,7 @@ FILES_${PN}-dbg += "${base_libdir}/multipath/.debug"
 PACKAGES =+ "${PN}-libs"
 FILES_${PN}-libs = "${base_libdir}/lib*.so.* \
 ${base_libdir}/multipath/lib*.so*"
-RDEPENDS_${PN} += "${PN}-libs"
+RDEPENDS_${PN} += "${PN}-libs bash"
 
 PROVIDES += "device-mapper-multipath"
 RPROVIDES_${PN} += "device-mapper-multipath"
-- 
2.8.1

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


[oe] [PATCH 2/3] python3-pykickstart: tweak shebang to python3

2017-08-21 Thread Hongxu Jia
Fix the following file-rdeps QA issue:
...
|ERROR: python3-pykickstart-2.35-r0 do_package_qa: QA Issue:
/usr/bin/ksvalidator contained in package python3-pykickstart requires
/usr/bin/python, but no providers found in RDEPENDS_python3-pykickstart?
[file-rdeps]
...

Signed-off-by: Hongxu Jia 
---
 .../files/0005-tweak-shebang-to-python3.patch  | 25 ++
 .../python-pykickstart/python3-pykickstart_2.35.bb |  1 +
 2 files changed, 26 insertions(+)
 create mode 100644 
meta-python/recipes-extended/python-pykickstart/files/0005-tweak-shebang-to-python3.patch

diff --git 
a/meta-python/recipes-extended/python-pykickstart/files/0005-tweak-shebang-to-python3.patch
 
b/meta-python/recipes-extended/python-pykickstart/files/0005-tweak-shebang-to-python3.patch
new file mode 100644
index 000..3d61495
--- /dev/null
+++ 
b/meta-python/recipes-extended/python-pykickstart/files/0005-tweak-shebang-to-python3.patch
@@ -0,0 +1,25 @@
+From 8a1f598223bd4cbcc877eb2aba3f5586c75c9d14 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia 
+Date: Mon, 21 Aug 2017 10:05:06 +0800
+Subject: [PATCH] tweak shebang to python3
+
+Upstream-Status: Pending
+
+Signed-off-by: Hongxu Jia 
+---
+ tools/ksvalidator.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tools/ksvalidator.py b/tools/ksvalidator.py
+index d6051d5..c3682e8 100755
+--- a/tools/ksvalidator.py
 b/tools/ksvalidator.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+ #
+ # Chris Lumens 
+ #
+-- 
+1.8.3.1
+
diff --git 
a/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_2.35.bb 
b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_2.35.bb
index e96af43..2a2840f 100644
--- 
a/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_2.35.bb
+++ 
b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_2.35.bb
@@ -17,6 +17,7 @@ SRC_URI = 
"git://github.com/rhinstaller/pykickstart.git;protocol=https;branch=py

file://0002-pykickstart-parser.py-add-lock-for-readKickstart-and.patch \

file://0003-comment-out-sections-shutdown-and-environment-in-gen.patch \
file://0004-load.py-retry-to-invoke-request-with-timeout.patch \
+   file://0005-tweak-shebang-to-python3.patch \
"
 SRCREV = "b2787a818540e678c2f9c5dca0c6bbd65b8b55e5"
 
-- 
2.8.1

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