Re: [OE-core] [PATCH v2 1/3] mesa: Update 18.1.9 -> 18.3.4

2019-02-19 Thread Richard Purdie
On Wed, 2019-02-20 at 08:52 +0100, Alexander Kanavin wrote:
> I guess xrandr needs to be in X11_DEPS, this was added in the
> original
> mega-patch, but overlooked in the split version.

There were failures all over the autobuilder from this as well :(

Cheers,

Richard

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


Re: [OE-core] [PATCH v2 1/3] mesa: Update 18.1.9 -> 18.3.4

2019-02-19 Thread Alexander Kanavin
I guess xrandr needs to be in X11_DEPS, this was added in the original
mega-patch, but overlooked in the split version.

Alex


On Wed, 20 Feb 2019 at 03:33, Khem Raj  wrote:
>
> Fails for rpi3/aarch64
>
> | checking for libdrm >= 2.4.75... yes
> | checking for glproto >= 1.4.14... yes
> | checking for dri2proto >= 2.8... yes
> | checking for x11 xext xdamage >= 1.1 xfixes x11-xcb xcb xcb-glx >=
> 1.8.1 xcb-dri2 >= 1.8 xxf86vm... yes
> | checking for wayland-client >= 1.11... yes
> | checking for wayland-server >= 1.11... yes
> | checking for wayland-protocols >= 1.8... yes
> | checking for wayland-egl-backend >= 3... yes
> | checking for wayland-scanner...
> /mnt/a/yoe/build/tmp/work/aarch64-yoe-linux/mesa/2_18.3.4-r0/recipe-sysroot-native/usr/bin/wayland-scanner
> | checking for x11-xcb xcb xcb-dri2 >= 1.8 xcb-xfixes... yes
> | checking for x11-xcb xcb >= 1.9.3 xcb-dri3 xcb-xfixes xcb-present
> xcb-sync xshmfence >= 1.1... yes
> | checking for xcb-dri3 >= 1.13 xcb-present >= 1.13... yes
> | checking for x11-xcb xcb-randr... yes
> | checking for xrandr... no
> | configure: error: Package requirements (xrandr) were not met:
> |
> | No package 'xrandr' found
> |
> | Consider adjusting the PKG_CONFIG_PATH environment variable if you
> | installed software in a non-standard prefix.
> |
> | Alternatively, you may set the environment variables XLIB_RANDR_CFLAGS
> | and XLIB_RANDR_LIBS to avoid the need to call pkg-config.
> | See the pkg-config man page for more details.
> | NOTE: The following config.log files may provide further information.
> | NOTE: 
> /mnt/a/yoe/build/tmp/work/aarch64-yoe-linux/mesa/2_18.3.4-r0/build/config.log
> | ERROR: configure failed
> | WARNING: 
> /mnt/a/yoe/build/tmp/work/aarch64-yoe-linux/mesa/2_18.3.4-r0/temp/run.do_configure.11286:1
> exit 1 from 'exit 1'
> | ERROR: Function failed: do_configure (log file is located at
> /mnt/a/yoe/build/tmp/work/aarch64-yoe-linux/mesa/2_18.3.4-r0/temp/log.do_configure.11286)
>
> On Tue, Feb 19, 2019 at 8:59 AM Fabio Berton
>  wrote:
> >
> >   - Refresh all patches.
> >
> >   - Remove "Use Python 3 to execute the scripts" patch
> >   Commit 986033a2750c1160a4cef3c8418fc7f9e2b4fb5a add support
> >   for both python 2 and 3.
> >
> >   - Remove "dri: i965: Add missing time.h include" patch
> >   Commit 3c288da5eec81ee58b85927df18d9194ead8f5c2 add time.h
> >   header file.
> >
> >   - Remove --enable-texture-float.
> >   Commit 66673bef941af344314fe9c91cad8cd330b245eb remove option to
> >   unconditionally enable floating-point textures.
> >
> >   - Commit 30b10dbb7c6f6bdf3e489620f8333c727bd3a6dd moved
> > ${sysconfdir}/drirc to ${datadir}/drirc.d/00-mesa-defaults.conf
> >
> >   - Add patch to fix mesa-native build
> >
> > Signed-off-by: Fabio Berton 
> > ---
> >  ...0001-Simplify-wayland-scanner-lookup.patch | 20 +---
> >  ...-winsys-svga-drm-Include-sys-types.h.patch |  8 +--
> >  ...M-version-when-using-LLVM-Git-releas.patch | 12 ++---
> >  ...-Use-Python-3-to-execute-the-scripts.patch | 32 
> >  ...-for-defining-WAYLAND_PROTOCOLS_DAT.patch} | 23 -
> >  ...-dri-i965-Add-missing-time.h-include.patch | 36 --
> >  ...sing-include-stddef.h-in-egldevice.h.patch | 49 +++
> >  .../{mesa-gl_18.1.9.bb => mesa-gl_18.3.4.bb}  |  0
> >  meta/recipes-graphics/mesa/mesa.inc   |  4 +-
> >  .../mesa/{mesa_18.1.9.bb => mesa_18.3.4.bb}   |  9 ++--
> >  10 files changed, 89 insertions(+), 104 deletions(-)
> >  delete mode 100644 
> > meta/recipes-graphics/mesa/files/0004-Use-Python-3-to-execute-the-scripts.patch
> >  rename 
> > meta/recipes-graphics/mesa/files/{0006-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch
> >  => 0004-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch} (60%)
> >  delete mode 100644 
> > meta/recipes-graphics/mesa/files/0005-dri-i965-Add-missing-time.h-include.patch
> >  create mode 100644 
> > meta/recipes-graphics/mesa/files/0005-egl-add-missing-include-stddef.h-in-egldevice.h.patch
> >  rename meta/recipes-graphics/mesa/{mesa-gl_18.1.9.bb => mesa-gl_18.3.4.bb} 
> > (100%)
> >  rename meta/recipes-graphics/mesa/{mesa_18.1.9.bb => mesa_18.3.4.bb} (69%)
> >
> > diff --git 
> > a/meta/recipes-graphics/mesa/files/0001-Simplify-wayland-scanner-lookup.patch
> >  
> > b/meta/recipes-graphics/mesa/files/0001-Simplify-wayland-scanner-lookup.patch
> > index a50d2a2ba2..e765356fe1 100644
> > --- 
> > a/meta/recipes-graphics/mesa/files/0001-Simplify-wayland-scanner-lookup.patch
> > +++ 
> > b/meta/recipes-graphics/mesa/files/0001-Simplify-wayland-scanner-lookup.patch
> > @@ -1,7 +1,7 @@
> > -From 7e8e0f8a8ac2425e19a2f340c9e3da9345f25940 Mon Sep 17 00:00:00 2001
> > +From 7338667148cb7fcefee76b27359bc1e11656c132 Mon Sep 17 00:00:00 2001
> >  From: Jussi Kukkonen 
> >  Date: Tue, 15 Nov 2016 15:20:49 +0200
> > -Subject: [PATCH 1/6] Simplify wayland-scanner lookup
> > +Subject: [PATCH 1/5] Simplify wayland-scanner lookup
> >  Organization: O.S. 

[OE-core] [PATCH 2/2] glib-networking: upgrade 2.54.1 -> 2.58.0

2019-02-19 Thread Anuj Mittal
* Autotools support has been removed upstream, so migrate recipe to
meson. For changes, see:
https://gitlab.gnome.org/GNOME/glib-networking/blob/glib-2-58/NEWS

* Remove unsupported configure options: pkcs11, ca-certificates. See:
https://bugzilla.gnome.org/show_bug.cgi?id=793281
https://bugzilla.gnome.org/show_bug.cgi?id=753260

License-Update: Change to LGPLv2.1

Signed-off-by: Anuj Mittal 
---
 ...ng_2.54.1.bb => glib-networking_2.58.0.bb} | 26 ++-
 1 file changed, 14 insertions(+), 12 deletions(-)
 rename meta/recipes-core/glib-networking/{glib-networking_2.54.1.bb => 
glib-networking_2.58.0.bb} (40%)

diff --git a/meta/recipes-core/glib-networking/glib-networking_2.54.1.bb 
b/meta/recipes-core/glib-networking/glib-networking_2.58.0.bb
similarity index 40%
rename from meta/recipes-core/glib-networking/glib-networking_2.54.1.bb
rename to meta/recipes-core/glib-networking/glib-networking_2.58.0.bb
index 5d17a824f0..f3190e1cae 100644
--- a/meta/recipes-core/glib-networking/glib-networking_2.54.1.bb
+++ b/meta/recipes-core/glib-networking/glib-networking_2.58.0.bb
@@ -3,27 +3,29 @@ DESCRIPTION = "glib-networking contains the implementations 
of certain GLib netw
 HOMEPAGE = "https://gitlab.gnome.org/GNOME/glib-networking/;
 BUGTRACKER = "http://bugzilla.gnome.org;
 
-LICENSE = "LGPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 SECTION = "libs"
 DEPENDS = "glib-2.0"
 
-SRC_URI[archive.md5sum] = "99867463f182c2767bce0c74bc9cc981"
-SRC_URI[archive.sha256sum] = 
"eaa787b653015a0de31c928e9a17eb57b4ce23c8cf6f277afaec0d685335012f"
+SRC_URI[archive.md5sum] = "75b14b7e73a67753be9ce307751c661d"
+SRC_URI[archive.sha256sum] = 
"bdfa0255e031b8ee003cc283002536b77ee76450105f1dc6ab066b9bf4330068"
 
-PACKAGECONFIG ??= "ca-certificates gnutls"
+PACKAGECONFIG ??= "gnutls"
 
-# No explicit dependency as it works without ca-certificates installed
-PACKAGECONFIG[ca-certificates] = 
"--with-ca-certificates=${sysconfdir}/ssl/certs/ca-certificates.crt,--without-ca-certificates"
-PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls"
-PACKAGECONFIG[libproxy] = "--with-libproxy,--without-libproxy,libproxy"
-PACKAGECONFIG[pkcs11] = "--with-pkcs11,--without-pkcs11,p11-kit"
+PACKAGECONFIG[gnutls] = "-Dgnutls=true,-Dgnutls=false,gnutls"
+PACKAGECONFIG[libproxy] = 
"-Dlibproxy_support=true,-Dlibproxy_support=false,libproxy"
 
-EXTRA_OECONF = "--without-gnome-proxy"
+EXTRA_OEMESON = "-Dgnome_proxy_support=false"
 
+GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase gettext upstream-version-is-even gio-module-cache
 
-FILES_${PN} += "${libdir}/gio/modules/libgio*.so ${datadir}/dbus-1/services/"
+FILES_${PN} += "\
+${libdir}/gio/modules/libgio*.so \
+${datadir}/dbus-1/services/ \
+${systemd_user_unitdir} \
+"
 FILES_${PN}-dev += "${libdir}/gio/modules/libgio*.la"
 FILES_${PN}-staticdev += "${libdir}/gio/modules/libgio*.a"
-- 
2.17.1

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


[OE-core] [PATCH 1/2] libjpeg-turbo: upgrade 2.0.1 -> 2.0.2

2019-02-19 Thread Anuj Mittal
For changes, see:

https://github.com/libjpeg-turbo/libjpeg-turbo/releases

Signed-off-by: Anuj Mittal 
---
 ...0001-libjpeg-turbo-fix-package_qa-error.patch | 16 
 ...peg-turbo_2.0.1.bb => libjpeg-turbo_2.0.2.bb} |  4 ++--
 2 files changed, 10 insertions(+), 10 deletions(-)
 rename meta/recipes-graphics/jpeg/{libjpeg-turbo_2.0.1.bb => 
libjpeg-turbo_2.0.2.bb} (95%)

diff --git 
a/meta/recipes-graphics/jpeg/files/0001-libjpeg-turbo-fix-package_qa-error.patch
 
b/meta/recipes-graphics/jpeg/files/0001-libjpeg-turbo-fix-package_qa-error.patch
index 6f3d201b21..82fffe1e68 100644
--- 
a/meta/recipes-graphics/jpeg/files/0001-libjpeg-turbo-fix-package_qa-error.patch
+++ 
b/meta/recipes-graphics/jpeg/files/0001-libjpeg-turbo-fix-package_qa-error.patch
@@ -1,4 +1,4 @@
-From ce3bd4f0e46f738a9aec098e7c341ad6deeab9f2 Mon Sep 17 00:00:00 2001
+From 5cf847b5bef8dc3f9f89bd09dd5af4e6603f393c Mon Sep 17 00:00:00 2001
 From: Changqing Li 
 Date: Mon, 27 Aug 2018 16:10:55 +0800
 Subject: [PATCH] libjpeg-turbo: fix package_qa error
@@ -16,17 +16,17 @@ Signed-off-by: Anuj Mittal 
  1 file changed, 4 deletions(-)
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index efeb51a..bbebe55 100644
+index 2bc3458..ea3041e 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -109,10 +109,6 @@ endif()
- 
- include(cmakescripts/GNUInstallDirs.cmake)
+@@ -189,10 +189,6 @@ endif()
+ report_option(ENABLE_SHARED "Shared libraries")
+ report_option(ENABLE_STATIC "Static libraries")
  
 -if(ENABLE_SHARED)
 -  set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR})
 -endif()
 -
- macro(report_directory var)
-   if(CMAKE_INSTALL_${var} STREQUAL CMAKE_INSTALL_FULL_${var})
- message(STATUS "CMAKE_INSTALL_${var} = ${CMAKE_INSTALL_${var}}")
+ if(WITH_12BIT)
+   set(WITH_ARITH_DEC 0)
+   set(WITH_ARITH_ENC 0)
diff --git a/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.1.bb 
b/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.2.bb
similarity index 95%
rename from meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.1.bb
rename to meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.2.bb
index 029847ff5f..e1df754b76 100644
--- a/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.1.bb
+++ b/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.2.bb
@@ -14,8 +14,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
file://0001-libjpeg-turbo-fix-package_qa-error.patch \
"
 
-SRC_URI[md5sum] = "1b05a66aa9b006fd04ed29f408e68f46"
-SRC_URI[sha256sum] = 
"e5f86cec31df1d39596e0cca619ab1b01f99025a27dafdfc97a30f3a12f866ff"
+SRC_URI[md5sum] = "79f76fbfb0c6109631332762d10e16d2"
+SRC_URI[sha256sum] = 
"acb8599fe5399af114287ee5907aea4456f8f2c1cc96d26c28aebfdf5ee82fed"
 UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/libjpeg-turbo/files/;
 UPSTREAM_CHECK_REGEX = "/libjpeg-turbo/files/(?P(\d+[\.\-_]*)+)/"
 
-- 
2.17.1

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


Re: [OE-core] [PATCH 0/2 v7] test-case-mgmt

2019-02-19 Thread Yeoh, Ee Peng
Hi RP,

Thank you very much for all your help and inputs! 
Would you like us to take all the improvements from your branch to merge or 
squash with the base patchset and move forward with the one remaining 
improvement below? 

> > * Revisit and redo the way the git branch handling is happening.
> > We 
> >   really want to model how oe-build-perf-report handles git repos 
> > for
> >   comparisons:
> >   - Its able to query data from git repos without changing the 
> > current
> > working branch, 
> >   - it can search on tag formats to find comparison data

Best regards,
Yeoh Ee Peng

-Original Message-
From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] 
Sent: Monday, February 18, 2019 6:46 AM
To: Yeoh, Ee Peng ; 
openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH 0/2 v7] test-case-mgmt

On Sun, 2019-02-17 at 17:54 +, Richard Purdie wrote:
> > Despite my changes there are things that still need to be done.
> > Essential things which need to happen before this code merges:
> > 
> > * oe-git-archive is importing using the commit/branch of the current
> >   repo, not the data in the results file.

Also now fixed. I put my patches into master-next too.

With this working, I was able to run something along the lines of:

for D in $1/*; do
resulttool store $D $2 --allow-empty done

on the autobuilder's recent results which lead to the creation of this
repository:

http://git.yoctoproject.org/cgit.cgi/yocto-testresults/


> > * Revisit and redo the way the git branch handling is happening.
> > We 
> >   really want to model how oe-build-perf-report handles git repos 
> > for
> >   comparisons:
> >   - Its able to query data from git repos without changing the 
> > current
> > working branch, 
> >   - it can search on tag formats to find comparison data

Which means we now need to make the git branch functionality of the report and 
regression commands compare with the above repo, so we're a step closer to 
getting thie merged.

Ultimately we'll auto-populate the above repo by having the autobuilder run a 
"store" command at the end of its runs.

I have a feeling I may have broken the resulttool selftests so that is 
something else which will need to be fixed before anything merges. Time for me 
to step away from the keyboard for a bit too.

Cheers,

Richard


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


Re: [OE-core] [PATCH v2 1/3] mesa: Update 18.1.9 -> 18.3.4

2019-02-19 Thread Khem Raj
Fails for rpi3/aarch64

| checking for libdrm >= 2.4.75... yes
| checking for glproto >= 1.4.14... yes
| checking for dri2proto >= 2.8... yes
| checking for x11 xext xdamage >= 1.1 xfixes x11-xcb xcb xcb-glx >=
1.8.1 xcb-dri2 >= 1.8 xxf86vm... yes
| checking for wayland-client >= 1.11... yes
| checking for wayland-server >= 1.11... yes
| checking for wayland-protocols >= 1.8... yes
| checking for wayland-egl-backend >= 3... yes
| checking for wayland-scanner...
/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux/mesa/2_18.3.4-r0/recipe-sysroot-native/usr/bin/wayland-scanner
| checking for x11-xcb xcb xcb-dri2 >= 1.8 xcb-xfixes... yes
| checking for x11-xcb xcb >= 1.9.3 xcb-dri3 xcb-xfixes xcb-present
xcb-sync xshmfence >= 1.1... yes
| checking for xcb-dri3 >= 1.13 xcb-present >= 1.13... yes
| checking for x11-xcb xcb-randr... yes
| checking for xrandr... no
| configure: error: Package requirements (xrandr) were not met:
|
| No package 'xrandr' found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
|
| Alternatively, you may set the environment variables XLIB_RANDR_CFLAGS
| and XLIB_RANDR_LIBS to avoid the need to call pkg-config.
| See the pkg-config man page for more details.
| NOTE: The following config.log files may provide further information.
| NOTE: 
/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux/mesa/2_18.3.4-r0/build/config.log
| ERROR: configure failed
| WARNING: 
/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux/mesa/2_18.3.4-r0/temp/run.do_configure.11286:1
exit 1 from 'exit 1'
| ERROR: Function failed: do_configure (log file is located at
/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux/mesa/2_18.3.4-r0/temp/log.do_configure.11286)

On Tue, Feb 19, 2019 at 8:59 AM Fabio Berton
 wrote:
>
>   - Refresh all patches.
>
>   - Remove "Use Python 3 to execute the scripts" patch
>   Commit 986033a2750c1160a4cef3c8418fc7f9e2b4fb5a add support
>   for both python 2 and 3.
>
>   - Remove "dri: i965: Add missing time.h include" patch
>   Commit 3c288da5eec81ee58b85927df18d9194ead8f5c2 add time.h
>   header file.
>
>   - Remove --enable-texture-float.
>   Commit 66673bef941af344314fe9c91cad8cd330b245eb remove option to
>   unconditionally enable floating-point textures.
>
>   - Commit 30b10dbb7c6f6bdf3e489620f8333c727bd3a6dd moved
> ${sysconfdir}/drirc to ${datadir}/drirc.d/00-mesa-defaults.conf
>
>   - Add patch to fix mesa-native build
>
> Signed-off-by: Fabio Berton 
> ---
>  ...0001-Simplify-wayland-scanner-lookup.patch | 20 +---
>  ...-winsys-svga-drm-Include-sys-types.h.patch |  8 +--
>  ...M-version-when-using-LLVM-Git-releas.patch | 12 ++---
>  ...-Use-Python-3-to-execute-the-scripts.patch | 32 
>  ...-for-defining-WAYLAND_PROTOCOLS_DAT.patch} | 23 -
>  ...-dri-i965-Add-missing-time.h-include.patch | 36 --
>  ...sing-include-stddef.h-in-egldevice.h.patch | 49 +++
>  .../{mesa-gl_18.1.9.bb => mesa-gl_18.3.4.bb}  |  0
>  meta/recipes-graphics/mesa/mesa.inc   |  4 +-
>  .../mesa/{mesa_18.1.9.bb => mesa_18.3.4.bb}   |  9 ++--
>  10 files changed, 89 insertions(+), 104 deletions(-)
>  delete mode 100644 
> meta/recipes-graphics/mesa/files/0004-Use-Python-3-to-execute-the-scripts.patch
>  rename 
> meta/recipes-graphics/mesa/files/{0006-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch
>  => 0004-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch} (60%)
>  delete mode 100644 
> meta/recipes-graphics/mesa/files/0005-dri-i965-Add-missing-time.h-include.patch
>  create mode 100644 
> meta/recipes-graphics/mesa/files/0005-egl-add-missing-include-stddef.h-in-egldevice.h.patch
>  rename meta/recipes-graphics/mesa/{mesa-gl_18.1.9.bb => mesa-gl_18.3.4.bb} 
> (100%)
>  rename meta/recipes-graphics/mesa/{mesa_18.1.9.bb => mesa_18.3.4.bb} (69%)
>
> diff --git 
> a/meta/recipes-graphics/mesa/files/0001-Simplify-wayland-scanner-lookup.patch 
> b/meta/recipes-graphics/mesa/files/0001-Simplify-wayland-scanner-lookup.patch
> index a50d2a2ba2..e765356fe1 100644
> --- 
> a/meta/recipes-graphics/mesa/files/0001-Simplify-wayland-scanner-lookup.patch
> +++ 
> b/meta/recipes-graphics/mesa/files/0001-Simplify-wayland-scanner-lookup.patch
> @@ -1,7 +1,7 @@
> -From 7e8e0f8a8ac2425e19a2f340c9e3da9345f25940 Mon Sep 17 00:00:00 2001
> +From 7338667148cb7fcefee76b27359bc1e11656c132 Mon Sep 17 00:00:00 2001
>  From: Jussi Kukkonen 
>  Date: Tue, 15 Nov 2016 15:20:49 +0200
> -Subject: [PATCH 1/6] Simplify wayland-scanner lookup
> +Subject: [PATCH 1/5] Simplify wayland-scanner lookup
>  Organization: O.S. Systems Software LTDA.
>
>  Don't use pkg-config to lookup the path of a binary that's in the path.
> @@ -13,20 +13,24 @@ Upstream-Status: Pending
>  Signed-off-by: Jussi Kukkonen 
>  Signed-off-by: Otavio Salvador 
>  ---
> - configure.ac | 7 +--
> - 1 file changed, 1 insertion(+), 6 deletions(-)
> + configure.ac | 11 +--
> + 1 file changed, 1 insertion(+), 10 deletions(-)

[OE-core] Yocto Project Unassigned Bugs - Help Needed

2019-02-19 Thread sjolley.yp.pm
All,

 

The triage team meets weekly and does its best to handle the bugs reported
into the Bugzilla. The number of people attending that meeting has fallen,
as have the number of people available to help fix bugs. One of the things
we hear users report is they don't know how to help. We (the triage team)
are therefore going to start reporting out the currently 295 unassigned
bugs.

 

We're hoping people may be able to spare some time now and again to help out
with these.

 

Bugs are split into two types, "true bugs" where things don't work as they
should and "enhancements" which are features we'd want to add to the system.

 

There are also roughly four different "priority" classes right now, "2.7",
"2.8", "2.99" and "Future", the more pressing/urgent issues being in "2.7"
and then "2.8".

 

Please review this link and if a bug is something you would be able to help
with either take ownership of the bug, or send me
(stephen.k.jol...@intel.com  ) an e-mail
with the bug number you would like and I will assign it to you (please make
sure you have a Bugzilla account).

 

The list is at:
https://wiki.yoctoproject.org/wiki/Bug_Triage#Unassigned_Bugs

 

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

*Cell:(208) 244-4460

* Email:  sjolley.yp...@gmail.com
 

 

 

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


[OE-core] [PATCH 1/3] kmod: upgrade to 26

2019-02-19 Thread Chen Qi
Refresh patches to avoid warning.

Signed-off-by: Chen Qi 
---
 meta/recipes-kernel/kmod/kmod.inc   |  4 ++--
 ...-to-calling-bswap_-instead-of-htobe-and-be-toh.patch | 17 +
 .../recipes-kernel/kmod/kmod/avoid_parallel_tests.patch | 15 ++-
 meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch   | 13 +++--
 4 files changed, 28 insertions(+), 21 deletions(-)

diff --git a/meta/recipes-kernel/kmod/kmod.inc 
b/meta/recipes-kernel/kmod/kmod.inc
index 29885fb..ceb66ad 100644
--- a/meta/recipes-kernel/kmod/kmod.inc
+++ b/meta/recipes-kernel/kmod/kmod.inc
@@ -14,9 +14,9 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
"
 inherit autotools gtk-doc pkgconfig manpages
 
-SRCREV = "aca4eca103d6699543f7ed663335c28c2e9908bb"
+SRCREV = "58133a96c894c043e48c74ddf0bfe8db90bac62f"
 # Lookout for PV bump too when SRCREV is changed
-PV = "25+git${SRCPV}"
+PV = "26+git${SRCPV}"
 
 SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git \
file://depmod-search.conf \
diff --git 
a/meta/recipes-kernel/kmod/kmod/Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch
 
b/meta/recipes-kernel/kmod/kmod/Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch
index b722183..0ec20fa 100644
--- 
a/meta/recipes-kernel/kmod/kmod/Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch
+++ 
b/meta/recipes-kernel/kmod/kmod/Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch
@@ -1,4 +1,7 @@
-Subject: Change to calling bswap_* instead of htobe* and be*toh
+From 38d6871d9c98e0080426ea375e390728485b2bc2 Mon Sep 17 00:00:00 2001
+From: Ting Liu 
+Date: Tue, 10 Sep 2013 06:00:20 +
+Subject: [PATCH] Change to calling bswap_* instead of htobe* and be*toh
 
 We can't use htobe* and be*toh functions because they are not
 available on older versions of glibc, For example, shipped on Centos 5.5.
@@ -9,12 +12,13 @@ Upstream-Status: Inappropriate
 
 Signed-off-by: Ting Liu 
 Signed-off-by: Chen Qi 
+
 ---
  libkmod/libkmod-signature.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
 
 diff --git a/libkmod/libkmod-signature.c b/libkmod/libkmod-signature.c
-index 6fc06fc..912185a 100644
+index 48d0145..dd2c6fa 100644
 --- a/libkmod/libkmod-signature.c
 +++ b/libkmod/libkmod-signature.c
 @@ -18,6 +18,7 @@
@@ -23,9 +27,9 @@ index 6fc06fc..912185a 100644
  #include 
 +#include 
  #include 
- #include 
- #include 
-@@ -127,7 +128,7 @@ bool kmod_module_signature_info(const struct kmod_file 
*file, struct kmod_signat
+ #ifdef ENABLE_OPENSSL
+ #include 
+@@ -343,7 +344,7 @@ bool kmod_module_signature_info(const struct kmod_file 
*file, struct kmod_signat
modsig->hash >= PKEY_HASH__LAST ||
modsig->id_type >= PKEY_ID_TYPE__LAST)
return false;
@@ -34,6 +38,3 @@ index 6fc06fc..912185a 100644
if (sig_len == 0 ||
size < (int64_t)(modsig->signer_len + modsig->key_id_len + sig_len))
return false;
--- 
-1.9.1
-
diff --git a/meta/recipes-kernel/kmod/kmod/avoid_parallel_tests.patch 
b/meta/recipes-kernel/kmod/kmod/avoid_parallel_tests.patch
index 5f45fce..990c338 100644
--- a/meta/recipes-kernel/kmod/kmod/avoid_parallel_tests.patch
+++ b/meta/recipes-kernel/kmod/kmod/avoid_parallel_tests.patch
@@ -1,3 +1,8 @@
+From be6f82c54f694617c646ca1f8b5bcf93694e20ad Mon Sep 17 00:00:00 2001
+From: Tudor Florea 
+Date: Fri, 6 Sep 2013 21:11:57 +
+Subject: [PATCH] kmod: avoid parallel-tests
+
 Avoid parallel-tests as it remove
 buildtest-TESTS and runtest-TESTS targets required by ptest.
 In automake 1.13.4 parallel-tests is assumed by defauls.
@@ -5,16 +10,16 @@ In order to have buildtest-TESTS and runtest-TESTS targets
 serial-tests is now required
 
 Signed-off-by: Tudor Florea 
-Upstream-Status: Inappropriate (disable feature incompatible with ptest) 
+Upstream-Status: Inappropriate (disable feature incompatible with ptest)
 
 ---
  configure.ac | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-Index: git/configure.ac
-===
 git.orig/configure.ac
-+++ git/configure.ac
+diff --git a/configure.ac b/configure.ac
+index ee72283..60980c0 100644
+--- a/configure.ac
 b/configure.ac
 @@ -14,7 +14,7 @@ AC_USE_SYSTEM_EXTENSIONS
  AC_SYS_LARGEFILE
  AC_PREFIX_DEFAULT([/usr])
diff --git a/meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch 
b/meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch
index 5d9d40c..07e4a1f 100644
--- a/meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch
+++ b/meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch
@@ -1,4 +1,4 @@
-From bd43367eee868059770188fd9e9db38520dc6fff Mon Sep 17 00:00:00 2001
+From 5f55e6806cd8ae1a6c8ec1e6cb38ad292cfc1df9 Mon Sep 17 00:00:00 2001
 From: Robert Yang 
 Date: Wed, 22 Jan 2014 01:06:40 -0500
 Subject: [PATCH] libkmod/libkmod-internal.h: check whether O_CLOEXEC is
@@ -14,14 +14,15 @@ This problem was reported 

[OE-core] [PATCH 3/3] tar: upgrade to 1.31

2019-02-19 Thread Chen Qi
Remove the musl specific do_install, as it's not suitable for this
version.

Signed-off-by: Chen Qi 
---
 meta/recipes-extended/tar/{tar_1.30.bb => tar_1.31.bb} | 9 ++---
 1 file changed, 2 insertions(+), 7 deletions(-)
 rename meta/recipes-extended/tar/{tar_1.30.bb => tar_1.31.bb} (88%)

diff --git a/meta/recipes-extended/tar/tar_1.30.bb 
b/meta/recipes-extended/tar/tar_1.31.bb
similarity index 88%
rename from meta/recipes-extended/tar/tar_1.30.bb
rename to meta/recipes-extended/tar/tar_1.31.bb
index bd24f47..a785042 100644
--- a/meta/recipes-extended/tar/tar_1.30.bb
+++ b/meta/recipes-extended/tar/tar_1.31.bb
@@ -11,8 +11,8 @@ SRC_URI = "${GNU_MIRROR}/tar/tar-${PV}.tar.bz2 \
file://musl_dirent.patch \
 "
 
-SRC_URI[md5sum] = "8404e4c1fc5a3000228ab2b8ad674a65"
-SRC_URI[sha256sum] = 
"87592b86cb037c554375f5868bdd3cc57748aef38d6cb741c81065f0beac63b7"
+SRC_URI[md5sum] = "77afa35b696c8d760331fa0e12c2fac9"
+SRC_URI[sha256sum] = 
"577bd4463eea103bdfc662fc385789e2228dbeb399a1d0b98571ed9ce044f763"
 
 inherit autotools gettext texinfo
 
@@ -43,11 +43,6 @@ do_install_append_class-target() {
 fi
 }
 
-do_install_append_libc-musl() {
-rm -f ${D}${libdir}/charset.alias
-rmdir ${D}${libdir}
-}
-
 PACKAGES =+ "${PN}-rmt"
 
 FILES_${PN}-rmt = "${base_sbindir}/rmt*"
-- 
1.9.1

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


[OE-core] [PATCH 0/3] Package Upgrade: kmod, sysstat, tar

2019-02-19 Thread Chen Qi
The following changes since commit 8476abec290e253685ea33fa528936241a31537e:

  mc: upgrade 4.8.21 -> 4.8.22 (2019-02-19 16:14:58 +)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib ChenQi/PU-20190220
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/PU-20190220

Chen Qi (3):
  kmod: upgrade to 26
  sysstat: upgrade to 12.1.3
  tar: upgrade to 1.31

 .../sysstat/{sysstat_12.1.1.bb => sysstat_12.1.3.bb}|  4 ++--
 meta/recipes-extended/tar/{tar_1.30.bb => tar_1.31.bb}  |  9 ++---
 meta/recipes-kernel/kmod/kmod.inc   |  4 ++--
 ...-to-calling-bswap_-instead-of-htobe-and-be-toh.patch | 17 +
 .../recipes-kernel/kmod/kmod/avoid_parallel_tests.patch | 15 ++-
 meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch   | 13 +++--
 6 files changed, 32 insertions(+), 30 deletions(-)
 rename meta/recipes-extended/sysstat/{sysstat_12.1.1.bb => sysstat_12.1.3.bb} 
(53%)
 rename meta/recipes-extended/tar/{tar_1.30.bb => tar_1.31.bb} (88%)

-- 
1.9.1

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


[OE-core] [PATCH 2/3] sysstat: upgrade to 12.1.3

2019-02-19 Thread Chen Qi
Signed-off-by: Chen Qi 
---
 .../recipes-extended/sysstat/{sysstat_12.1.1.bb => sysstat_12.1.3.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/sysstat/{sysstat_12.1.1.bb => sysstat_12.1.3.bb} 
(53%)

diff --git a/meta/recipes-extended/sysstat/sysstat_12.1.1.bb 
b/meta/recipes-extended/sysstat/sysstat_12.1.3.bb
similarity index 53%
rename from meta/recipes-extended/sysstat/sysstat_12.1.1.bb
rename to meta/recipes-extended/sysstat/sysstat_12.1.3.bb
index 027e710..5daf3f4 100644
--- a/meta/recipes-extended/sysstat/sysstat_12.1.1.bb
+++ b/meta/recipes-extended/sysstat/sysstat_12.1.3.bb
@@ -4,5 +4,5 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=a23a74b3f4caf9616230789d94217acb"
 
 SRC_URI += "file://0001-Include-needed-headers-explicitly.patch"
 
-SRC_URI[md5sum] = "43e27a92ebb4e6650cb2362b32b9d7d0"
-SRC_URI[sha256sum] = 
"64a286cabbf7939c32db5ca46009ae96509c85a2730905dc2f8f98ecc4a63937"
+SRC_URI[md5sum] = "0f9b73f60aba6fd49de346bc384902c3"
+SRC_URI[sha256sum] = 
"55498bf82755ba9fed3e7df61fd26f8f50dd3e7b3b229c731029a4c8ab51a1aa"
-- 
1.9.1

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


Re: [OE-core] wic creates ext4 images that read really slow in u-boot

2019-02-19 Thread Leon Woestenberg
Hello all,

On Tue, Feb 19, 2019 at 8:28 PM Andre McCurdy  wrote:
> On Tue, Feb 19, 2019 at 9:13 AM Leon Woestenberg  wrote:
>>
>> Hello Mike,
>>
>> sounds familiar.
>>
>> On Tue, 19 Feb 2019 at 17:55, Mike Looijmans  wrote:
>>>
>>> Took me a while to figure out why my board took 90 seconds to boot suddenly.
>>> The issue turned out to be the ext4 partition created by wic.
>>
>> I suspect it's not WIC's fault.
>>>
>>> ZynqMP> load mmc 0:2 0x10 /lib/firmware/fpga.bin
>>> 19311092 bytes read in 85529 ms (219.7 KiB/s)
>>>
>>> Now if I boot the board rename and copy that file onto itself, then it's
>>> suddenly normal again when I reboot the board:
>>>
>>> ZynqMP> load mmc 0:2 0x1
>>> I'm not knowledgeable on ext4, so any ideas what's being passed onto the 
>>> image
>>> creation tool that causes this?
>>
>> I suspect your version of U-Boot does not handle files spread across 
>> multiple filesystems (allocation) extends efficiently.
>>
>> Copying the file makes the copy being layed out in one extend probably.
>
>
> If WIC is generating filesystem images from scratch there's no excuse for 
> files to be unnecessarily fragmented.
>
> Even if some of all of the boot time can be recovered by a patch to u-boot 
> that won't help systems which have already been deployed and don't have a way 
> to update the bootloader.
>
I am not sure if "fragmented" is the right term in terms of filesystem
details. Filesystem allocation extents (not "extends" as I mistyped
earlier) are different from heavy file fragmentation. However, I agree
things can be made more optimal.

So, with adding the above, there are *two* issues at play here:
1) Most/older versions of U-Boot not able to efficiently load files
from ext4 filesystems, that cross multiple extents. I am aware of two
fixes, see below.
2) WIC uses mkext4fs in such a way that files can cross multiple
(allocation) extents. This is sub-optimal and know to cause issues
with many U-Boot versions (deployed on existing systems in the field).
The problems shows "randomly" with large files being deployed to the
ext4 filesystem. We (OE/Yocto) may want to fix this.

>> I am aware of two fixes for U-Boot. I will look them up, and reply again to 
>> this thread.

Google for these two commits. I cherry-picked the first one for my
project and can confirm it brings back the desired performance. (Still
assuming this is the identical cause as for TO/Mike.)

commit 855b8e4f9f255415a7753819e392e4b5d984f35c
Author: Matt Madison 
Date:   Sat Aug 19 08:46:46 2017 -0700

ext4: cache extent blocks during file reads

A simpler and less-efficient approach to solving
the problem with extent index blocks than what
was in fc0fc50f38a4d7d0554558076a79dfe8b0d78cd5,
but one that does not break write operations.

Signed-off-by: Matt Madison 

Regards,

Leon.

p.s. excuse the earlier HTML mail with signature
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] opkg-utils: do not set mtime on data.tar.X

2019-02-19 Thread Alejandro del Castillo
Suggested-by: Tristan Ramseyer 
Signed-off-by: Alejandro del Castillo 
---
 ...build-do-not-set-mtime-on-data.tar.X.patch | 33 +++
 .../opkg-utils/opkg-utils_0.4.0.bb|  1 +
 2 files changed, 34 insertions(+)
 create mode 100644 
meta/recipes-devtools/opkg-utils/opkg-utils/0001-opkg-build-do-not-set-mtime-on-data.tar.X.patch

diff --git 
a/meta/recipes-devtools/opkg-utils/opkg-utils/0001-opkg-build-do-not-set-mtime-on-data.tar.X.patch
 
b/meta/recipes-devtools/opkg-utils/opkg-utils/0001-opkg-build-do-not-set-mtime-on-data.tar.X.patch
new file mode 100644
index 00..6c058c71d7
--- /dev/null
+++ 
b/meta/recipes-devtools/opkg-utils/opkg-utils/0001-opkg-build-do-not-set-mtime-on-data.tar.X.patch
@@ -0,0 +1,33 @@
+From 42afc1f652d28dce3c5b9915d0cd3087a144e445 Mon Sep 17 00:00:00 2001
+From: Alejandro del Castillo 
+Date: Mon, 18 Feb 2019 11:25:43 -0600
+Subject: [PATCH] opkg-build: do not set mtime on data.tar.X
+
+Opkg should make sure the binaries it creates are created in a
+repoducibe way, but it shouldn't modify the mtime of the binaries it
+consumes. Doing so has side effects, for exmaple, Python pyc files are
+invalidated.
+
+Signed-off-by: Alejandro del Castillo 
+
+Upstream-Status: Submitted
+---
+ opkg-build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/opkg-build b/opkg-build
+index 13782ee..363cd01 100755
+--- a/opkg-build
 b/opkg-build
+@@ -301,7 +301,7 @@ build_date="${SOURCE_DATE_EPOCH:-$(date +%s)}"
+ 
+ ( cd $pkg_dir/$CONTROL && find . -type f > $tmp_dir/control_list )
+ ( cd $pkg_dir && find . -path ./$CONTROL -prune -o -print > 
$tmp_dir/file_list )
+-( cd $pkg_dir && tar $ogargs $tsortargs --no-recursion --mtime=@$build_date 
-c $tarformat -T $tmp_dir/file_list | $compressor $compressorargs > 
$tmp_dir/data.tar.$cext )
++( cd $pkg_dir && tar $ogargs $tsortargs --no-recursion -c $tarformat -T 
$tmp_dir/file_list | $compressor $compressorargs > $tmp_dir/data.tar.$cext )
+ ( cd $pkg_dir/$CONTROL && tar $ogargs $tsortargs --no-recursion 
--mtime=@$build_date -c $tarformat -T $tmp_dir/control_list | gzip $zipargs > 
$tmp_dir/control.tar.gz )
+ rm $tmp_dir/file_list
+ rm $tmp_dir/control_list
+-- 
+2.20.1
+
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.0.bb 
b/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.0.bb
index eab74eabd6..9a3e06b92e 100644
--- a/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.0.bb
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.0.bb
@@ -9,6 +9,7 @@ PROVIDES += "${@bb.utils.contains('PACKAGECONFIG', 
'update-alternatives', 'virtu
 
 SRC_URI = 
"http://git.yoctoproject.org/cgit/cgit.cgi/${BPN}/snapshot/${BPN}-${PV}.tar.gz \
file://0001-Switch-all-scripts-to-use-Python-3.x.patch \
+   file://0001-opkg-build-do-not-set-mtime-on-data.tar.X.patch \
 "
 UPSTREAM_CHECK_URI = 
"http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/refs/;
 
-- 
2.20.1

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


Re: [OE-core] wic creates ext4 images that read really slow in u-boot

2019-02-19 Thread Andre McCurdy
On Tue, Feb 19, 2019 at 9:13 AM Leon Woestenberg 
wrote:

> Hello Mike,
>
> sounds familiar.
>
> On Tue, 19 Feb 2019 at 17:55, Mike Looijmans 
> wrote:
>
>> Took me a while to figure out why my board took 90 seconds to boot
>> suddenly.
>>
>> The issue turned out to be the ext4 partition created by wic.
>
>
> I suspect it's not WIC's fault.
>
>
>> ZynqMP> load mmc 0:2 0x10 /lib/firmware/fpga.bin
>> 19311092 bytes read in 85529 ms (219.7 KiB/s)
>>
>> Now if I boot the board rename and copy that file onto itself, then it's
>> suddenly normal again when I reboot the board:
>>
>> ZynqMP> load mmc 0:2 0x1
>> I'm not knowledgeable on ext4, so any ideas what's being passed onto the
>> image
>> creation tool that causes this?
>
>
> I suspect your version of U-Boot does not handle files spread across
> multiple filesystems (allocation) extends efficiently.
>
> Copying the file makes the copy being layed out in one extend probably.
>

If WIC is generating filesystem images from scratch there's no excuse for
files to be unnecessarily fragmented.

Even if some of all of the boot time can be recovered by a patch to u-boot
that won't help systems which have already been deployed and don't have a
way to update the bootloader.

I am aware of two fixes for U-Boot. I will look them up, and reply again to
> this thread.
>
> Regards, Leon
> --
> Leon Woestenberg
> l...@sidebranch.com
> T: +31 40 711 42 76
> M: +31 6 472 30 372
>
> Sidebranch
> Embedded Systems
> Eindhoven, The Netherlands
> http://www.sidebranch.com
>
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 14/20] librepo: upgrade 1.9.3 -> 1.9.4

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../librepo/{librepo_1.9.3.bb => librepo_1.9.4.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/librepo/{librepo_1.9.3.bb => librepo_1.9.4.bb} 
(93%)

diff --git a/meta/recipes-devtools/librepo/librepo_1.9.3.bb 
b/meta/recipes-devtools/librepo/librepo_1.9.4.bb
similarity index 93%
rename from meta/recipes-devtools/librepo/librepo_1.9.3.bb
rename to meta/recipes-devtools/librepo/librepo_1.9.4.bb
index abfed798f35..c4d6c163e9b 100644
--- a/meta/recipes-devtools/librepo/librepo_1.9.3.bb
+++ b/meta/recipes-devtools/librepo/librepo_1.9.4.bb
@@ -7,7 +7,7 @@ SRC_URI = "git://github.com/rpm-software-management/librepo.git 
\

file://0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch \
"
 
-SRCREV = "f1212bd4a55467ab8578c87f98ed363cccd5907a"
+SRCREV = "928c2d9c66f0d10477b8c9d1192785b88e2b1155"
 
 S = "${WORKDIR}/git"
 
-- 
2.17.1

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


[OE-core] [PATCH 18/20] ca-certificates: upgrade 20180409 -> 20190110

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...{ca-certificates_20180409.bb => ca-certificates_20190110.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/ca-certificates/{ca-certificates_20180409.bb => 
ca-certificates_20190110.bb} (98%)

diff --git a/meta/recipes-support/ca-certificates/ca-certificates_20180409.bb 
b/meta/recipes-support/ca-certificates/ca-certificates_20190110.bb
similarity index 98%
rename from meta/recipes-support/ca-certificates/ca-certificates_20180409.bb
rename to meta/recipes-support/ca-certificates/ca-certificates_20190110.bb
index 0d57083c522..b9f57900c8e 100644
--- a/meta/recipes-support/ca-certificates/ca-certificates_20180409.bb
+++ b/meta/recipes-support/ca-certificates/ca-certificates_20190110.bb
@@ -14,7 +14,7 @@ DEPENDS_class-nativesdk = "openssl-native"
 # Need c_rehash from openssl and run-parts from debianutils
 PACKAGE_WRITE_DEPS += "openssl-native debianutils-native"
 
-SRCREV = "dbbd11e56af93bb79f21d0ee6059a901f83f70a5"
+SRCREV = "c28799b138b044c963d24c4a69659b6e5486e3be"
 
 SRC_URI = "git://salsa.debian.org/debian/ca-certificates.git;protocol=https \
file://0002-update-ca-certificates-use-SYSROOT.patch \
-- 
2.17.1

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


[OE-core] [PATCH 19/20] ffmpeg: update to 4.1.1

2019-02-19 Thread Alexander Kanavin
Drop backported patches.

Signed-off-by: Alexander Kanavin 
---
 ...cess_template-remove-FF_REG_sp-from-.patch | 31 
 .../ffmpeg/ffmpeg/CVE-2018-15822.patch| 37 ---
 .../{ffmpeg_4.0.2.bb => ffmpeg_4.1.1.bb}  |  6 +--
 3 files changed, 2 insertions(+), 72 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/ffmpeg/ffmpeg/0001-postproc-postprocess_template-remove-FF_REG_sp-from-.patch
 delete mode 100644 meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2018-15822.patch
 rename meta/recipes-multimedia/ffmpeg/{ffmpeg_4.0.2.bb => ffmpeg_4.1.1.bb} 
(96%)

diff --git 
a/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-postproc-postprocess_template-remove-FF_REG_sp-from-.patch
 
b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-postproc-postprocess_template-remove-FF_REG_sp-from-.patch
deleted file mode 100644
index 83fb4b81afd..000
--- 
a/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-postproc-postprocess_template-remove-FF_REG_sp-from-.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From c1cbeb87db4bfc6e281e4254a6c7fdd3854fc9b9 Mon Sep 17 00:00:00 2001
-From: Michael Niedermayer 
-Date: Thu, 20 Dec 2018 22:40:06 +0100
-Subject: [PATCH] postproc/postprocess_template: remove FF_REG_sp from clobber
- list
-
-Future gcc may no longer support this
-
-Upstream-Status: Backport 
[https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/c1cbeb87db4bfc6e281e4254a6c7fdd3854fc9b9]
-Tested-by: James Almer 
-Signed-off-by: Michael Niedermayer 

- libpostproc/postprocess_template.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libpostproc/postprocess_template.c 
b/libpostproc/postprocess_template.c
-index 485eb5cfc0..b0adfd168c 100644
 a/libpostproc/postprocess_template.c
-+++ b/libpostproc/postprocess_template.c
-@@ -1317,7 +1317,7 @@ DERING_CORE((%0, %1, 8)   ,(%%FF_REGd, %1, 
4),%%mm2,%%mm4,%%mm0,%%mm3,%%mm5,
- "1:\n\t"
- : : "r" (src), "r" ((x86_reg)stride), "m" (c->pQPb), "m"(c->pQPb2), 
"q"(tmp)
-   NAMED_CONSTRAINTS_ADD(deringThreshold,b00,b02,b08)
--: "%"FF_REG_a, "%"FF_REG_d, "%"FF_REG_sp
-+: "%"FF_REG_a, "%"FF_REG_d
- );
- #else // HAVE_7REGS && (TEMPLATE_PP_MMXEXT || TEMPLATE_PP_3DNOW)
- int y;
--- 
-2.20.1
-
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2018-15822.patch 
b/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2018-15822.patch
deleted file mode 100644
index 7d5868a72ad..000
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2018-15822.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 6b67d7f05918f7a1ee8fc6ff21355d7e8736aa10 Mon Sep 17 00:00:00 2001
-From: Michael Niedermayer 
-Date: Sat, 28 Jul 2018 15:03:50 +0200
-Subject: [PATCH] avformat/flvenc: Check audio packet size
-
-Fixes: Assertion failure
-Fixes: assert_flvenc.c:941_1.swf
-
-Upstream-Status: Backport 
[https://github.com/FFmpeg/FFmpeg/commit/6b67d7f05918f7a1ee8fc6ff21355d7e8736aa10]
-CVE: CVE-2018-15822
-
-Found-by: #CHEN HONGXU# 
-Signed-off-by: Michael Niedermayer 
-Signed-off-by: Mingli Yu 

- libavformat/flvenc.c | 5 +
- 1 file changed, 5 insertions(+)
-
-diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
-index 1c552a3e6b..e4863f1fc7 100644
 a/libavformat/flvenc.c
-+++ b/libavformat/flvenc.c
-@@ -883,6 +883,11 @@ static int flv_write_packet(AVFormatContext *s, AVPacket 
*pkt)
- int flags = -1, flags_size, ret;
- int64_t cur_offset = avio_tell(pb);
- 
-+if (par->codec_type == AVMEDIA_TYPE_AUDIO && !pkt->size) {
-+av_log(s, AV_LOG_WARNING, "Empty audio Packet\n");
-+return AVERROR(EINVAL);
-+}
-+
- if (par->codec_id == AV_CODEC_ID_VP6F || par->codec_id == 
AV_CODEC_ID_VP6A ||
- par->codec_id == AV_CODEC_ID_VP6  || par->codec_id == AV_CODEC_ID_AAC)
- flags_size = 2;
--- 
-2.17.1
-
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb 
b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.1.bb
similarity index 96%
rename from meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb
rename to meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.1.bb
index 0c227b7fc9c..0506e11c4ba 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.1.bb
@@ -25,11 +25,9 @@ LIC_FILES_CHKSUM = 
"file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 
 SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \
file://mips64_cpu_detection.patch \
-   file://CVE-2018-15822.patch \
-   
file://0001-postproc-postprocess_template-remove-FF_REG_sp-from-.patch \
"
-SRC_URI[md5sum] = "ae0bfdf809306a212b4f0e6eb8d1c75e"
-SRC_URI[sha256sum] = 
"a95c0cc9eb990e94031d2183f2e6e444cc61c99f6f182d1575c433d62afb2f97"
+SRC_URI[md5sum] = "720fc84617a2c38aeae79aff3689a567"
+SRC_URI[sha256sum] = 
"373749824dfd334d84e55dff406729edfd1606575ee44dd485d97d45ea4d2d86"
 
 # Build fails when thumb is enabled: 
https://bugzilla.yoctoproject.org/show_bug.cgi?id=7717
 ARM_INSTRUCTION_SET_armv4 = "arm"
-- 
2.17.1

-- 

[OE-core] [PATCH 17/20] libwebp: upgrade 1.0.1 -> 1.0.2

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../webp/{libwebp_1.0.1.bb => libwebp_1.0.2.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/webp/{libwebp_1.0.1.bb => libwebp_1.0.2.bb} 
(93%)

diff --git a/meta/recipes-multimedia/webp/libwebp_1.0.1.bb 
b/meta/recipes-multimedia/webp/libwebp_1.0.2.bb
similarity index 93%
rename from meta/recipes-multimedia/webp/libwebp_1.0.1.bb
rename to meta/recipes-multimedia/webp/libwebp_1.0.2.bb
index 451b0659b0c..8b3ffe02132 100644
--- a/meta/recipes-multimedia/webp/libwebp_1.0.1.bb
+++ b/meta/recipes-multimedia/webp/libwebp_1.0.2.bb
@@ -14,8 +14,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=6e8dee932c26f2dab503abf70c96d8bb \
 file://PATENTS;md5=c6926d0cb07d296f886ab6e0cc5a85b7"
 
 SRC_URI = "http://downloads.webmproject.org/releases/webp/${BP}.tar.gz;
-SRC_URI[md5sum] = "ba72dfa7588c751a3a9b735a6746a23e"
-SRC_URI[sha256sum] = 
"8c744a5422dbffa0d1f92e90b34186fb8ed44db93fbacb55abd751ac8808d922"
+SRC_URI[md5sum] = "02c0c55f1dd8612cd4d462e3409ad35d"
+SRC_URI[sha256sum] = 
"3d47b48c40ed6476e8047b2ddb81d93835e0ca1b8d3e8c679afbb3004dd564b1"
 
 UPSTREAM_CHECK_URI = 
"http://downloads.webmproject.org/releases/webp/index.html;
 
-- 
2.17.1

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


[OE-core] [PATCH 12/20] gcr: upgrade 3.28.0 -> 3.28.1

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-gnome/gcr/{gcr_3.28.0.bb => gcr_3.28.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-gnome/gcr/{gcr_3.28.0.bb => gcr_3.28.1.bb} (86%)

diff --git a/meta/recipes-gnome/gcr/gcr_3.28.0.bb 
b/meta/recipes-gnome/gcr/gcr_3.28.1.bb
similarity index 86%
rename from meta/recipes-gnome/gcr/gcr_3.28.0.bb
rename to meta/recipes-gnome/gcr/gcr_3.28.1.bb
index 0796362e4b3..2299199c31f 100644
--- a/meta/recipes-gnome/gcr/gcr_3.28.0.bb
+++ b/meta/recipes-gnome/gcr/gcr_3.28.1.bb
@@ -12,8 +12,8 @@ inherit gnomebase gtk-icon-cache gtk-doc 
distro_features_check upstream-version-
 # depends on gtk+3, but also x11 through gtk+-x11
 REQUIRED_DISTRO_FEATURES = "x11"
 
-SRC_URI[archive.md5sum] = "5321319307dad34dca2fd52e7c9c01ab"
-SRC_URI[archive.sha256sum] = 
"15e175d1da7ec486d59749ba34906241c442898118ce224a7b70bf2e849faf0b"
+SRC_URI[archive.md5sum] = "afd88cacfd54c1ac5b3e0eb35e3aa674"
+SRC_URI[archive.sha256sum] = 
"95204aa2111c301778ebfbe60975ce3ed698c958430ffcc2a785ac5e593d168b"
 
 FILES_${PN} += " \
 ${datadir}/dbus-1 \
-- 
2.17.1

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


[OE-core] [PATCH 16/20] dnf: upgrade 4.0.10 -> 4.1.0

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/dnf/{dnf_4.0.10.bb => dnf_4.1.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/dnf/{dnf_4.0.10.bb => dnf_4.1.0.bb} (98%)

diff --git a/meta/recipes-devtools/dnf/dnf_4.0.10.bb 
b/meta/recipes-devtools/dnf/dnf_4.1.0.bb
similarity index 98%
rename from meta/recipes-devtools/dnf/dnf_4.0.10.bb
rename to meta/recipes-devtools/dnf/dnf_4.1.0.bb
index cd2713fcc6d..d45023eb0c0 100644
--- a/meta/recipes-devtools/dnf/dnf_4.0.10.bb
+++ b/meta/recipes-devtools/dnf/dnf_4.1.0.bb
@@ -12,7 +12,7 @@ SRC_URI = "git://github.com/rpm-software-management/dnf.git \
file://0030-Run-python-scripts-using-env.patch \
"
 
-SRCREV = "622e6d6fab05f0b15460c5b734f9e7b5935864f2"
+SRCREV = "ad9b2175517c896c898cf9c8660e9b9b688ac5c7"
 UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)"
 
 S = "${WORKDIR}/git"
-- 
2.17.1

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


[OE-core] [PATCH 20/20] menu-cache: fix upstream version check

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-graphics/menu-cache/menu-cache_1.1.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/menu-cache/menu-cache_1.1.0.bb 
b/meta/recipes-graphics/menu-cache/menu-cache_1.1.0.bb
index dfc15ba5ed3..ddbbd940669 100644
--- a/meta/recipes-graphics/menu-cache/menu-cache_1.1.0.bb
+++ b/meta/recipes-graphics/menu-cache/menu-cache_1.1.0.bb
@@ -13,6 +13,6 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/lxde/menu-cache-${PV}.tar.xz"
 SRC_URI[md5sum] = "9a0bca48b980105208760c8fd893"
 SRC_URI[sha256sum] = 
"ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7"
 
-UPSTREAM_CHECK_URI = 
"http://sourceforge.net/projects/lxde/files/menu-cache/1.0/;
+UPSTREAM_CHECK_URI = 
"http://sourceforge.net/projects/lxde/files/menu-cache/1.1/;
 
 inherit autotools gettext pkgconfig gtk-doc
-- 
2.17.1

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


[OE-core] [PATCH 08/20] iso-codes: upgrade 4.1 -> 4.2

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../iso-codes/{iso-codes_4.1.bb => iso-codes_4.2.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/iso-codes/{iso-codes_4.1.bb => iso-codes_4.2.bb} 
(92%)

diff --git a/meta/recipes-support/iso-codes/iso-codes_4.1.bb 
b/meta/recipes-support/iso-codes/iso-codes_4.2.bb
similarity index 92%
rename from meta/recipes-support/iso-codes/iso-codes_4.1.bb
rename to meta/recipes-support/iso-codes/iso-codes_4.2.bb
index 1761ded44e1..15130dd7c44 100644
--- a/meta/recipes-support/iso-codes/iso-codes_4.1.bb
+++ b/meta/recipes-support/iso-codes/iso-codes_4.2.bb
@@ -6,7 +6,7 @@ LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 SRC_URI = "git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http"
-SRCREV = "164802d5fd8c7a8167816fd86a62b286680619f0"
+SRCREV = "58a4f20f8e6f4d8f9545333f3eae4cfe5678de16"
 
 # inherit gettext cannot be used, because it adds gettext-native to 
BASEDEPENDS which
 # are inhibited by allarch
-- 
2.17.1

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


[OE-core] [PATCH 04/20] epiphany: upgrade 3.30.2 -> 3.30.3

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../epiphany/{epiphany_3.30.2.bb => epiphany_3.30.3.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-gnome/epiphany/{epiphany_3.30.2.bb => epiphany_3.30.3.bb} 
(85%)

diff --git a/meta/recipes-gnome/epiphany/epiphany_3.30.2.bb 
b/meta/recipes-gnome/epiphany/epiphany_3.30.3.bb
similarity index 85%
rename from meta/recipes-gnome/epiphany/epiphany_3.30.2.bb
rename to meta/recipes-gnome/epiphany/epiphany_3.30.3.bb
index 3dd699d4fe4..a64c82f48bf 100644
--- a/meta/recipes-gnome/epiphany/epiphany_3.30.2.bb
+++ b/meta/recipes-gnome/epiphany/epiphany_3.30.3.bb
@@ -13,8 +13,8 @@ REQUIRED_DISTRO_FEATURES = "x11 opengl"
 SRC_URI = 
"${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive
 \
file://0002-help-meson.build-disable-the-use-of-yelp.patch \
"
-SRC_URI[archive.md5sum] = "1b7c072880562c33f52a3347a94bfe6c"
-SRC_URI[archive.sha256sum] = 
"8c7ef1e51b9fa825a43a603265ce8b06cacc42229e9337c8611c357bc65a8104"
+SRC_URI[archive.md5sum] = "fd05702b1c9bcb6a0633de54c4a6ccd2"
+SRC_URI[archive.sha256sum] = 
"76cdb8db6af2da8c3371a73e2dfd5ba64867b5f1e65fa9621f35348a42ff0d17"
 
 EXTRA_OEMESON += " -Ddistributor_name=${DISTRO}"
 
-- 
2.17.1

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


[OE-core] [PATCH 15/20] btrfs-tools: upgrade 4.19.1 -> 4.20.1

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../{btrfs-tools_4.19.1.bb => btrfs-tools_4.20.1.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/btrfs-tools/{btrfs-tools_4.19.1.bb => 
btrfs-tools_4.20.1.bb} (96%)

diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.19.1.bb 
b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.20.1.bb
similarity index 96%
rename from meta/recipes-devtools/btrfs-tools/btrfs-tools_4.19.1.bb
rename to meta/recipes-devtools/btrfs-tools/btrfs-tools_4.20.1.bb
index 2f59a0c13ea..1b4f515cb62 100644
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.19.1.bb
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.20.1.bb
@@ -14,7 +14,7 @@ DEPENDS = "util-linux attr e2fsprogs lzo acl 
python3-setuptools-native"
 DEPENDS_append_class-target = " udev"
 RDEPENDS_${PN} = "libgcc"
 
-SRCREV = "167651ca29ec522cff0d81b52dc0cc4ae4e3f535"
+SRCREV = "6c33832b8c7bf2d7b64d6aed023c0bda43a03311"
 SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git 
\
file://0001-Makefile-build-mktables-using-native-gcc.patch \
file://0001-Add-LDFLAGS-when-building-libbtrfsutil.so.patch \
-- 
2.17.1

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


[OE-core] [PATCH 13/20] webkitgtk: upgrade 2.22.5 -> 2.22.6

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../webkit/{webkitgtk_2.22.5.bb => webkitgtk_2.22.6.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-sato/webkit/{webkitgtk_2.22.5.bb => webkitgtk_2.22.6.bb} 
(97%)

diff --git a/meta/recipes-sato/webkit/webkitgtk_2.22.5.bb 
b/meta/recipes-sato/webkit/webkitgtk_2.22.6.bb
similarity index 97%
rename from meta/recipes-sato/webkit/webkitgtk_2.22.5.bb
rename to meta/recipes-sato/webkit/webkitgtk_2.22.6.bb
index 3d8c0338c7d..35c70e0d026 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.22.5.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.22.6.bb
@@ -23,8 +23,8 @@ SRC_URI = 
"http://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
file://bad_optional_access.patch \
"
 
-SRC_URI[md5sum] = "96a731522b800f38e70f85c22f8de477"
-SRC_URI[sha256sum] = 
"99d3863f418a7c3a3e37e5062950dbf2d91fb106ec1633459b0ef6f2d5f6cb13"
+SRC_URI[md5sum] = "7c21a30f7f078f0b712caf0c7ee966a4"
+SRC_URI[sha256sum] = 
"df90db9c0db0a2072b945fa3e1d45865922bd686c4659cce6cb5897ce357c85b"
 
 inherit cmake pkgconfig gobject-introspection perlnative distro_features_check 
upstream-version-is-even gtk-doc
 
-- 
2.17.1

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


[OE-core] [PATCH 11/20] createrepo-c: upgrade 0.12.0 -> 0.12.1

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/createrepo-c/createrepo-c_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c_git.bb 
b/meta/recipes-devtools/createrepo-c/createrepo-c_git.bb
index 3a4cfb7b021..9aa8d2ae73b 100644
--- a/meta/recipes-devtools/createrepo-c/createrepo-c_git.bb
+++ b/meta/recipes-devtools/createrepo-c/createrepo-c_git.bb
@@ -8,8 +8,8 @@ SRC_URI = 
"git://github.com/rpm-software-management/createrepo_c \
file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
"
 
-PV = "0.12.0"
-SRCREV = "8884a469680b7fb4a10fcbd49dbfef99b035c44b"
+PV = "0.12.1"
+SRCREV = "7744554ddef7c5be2cd7fbcac49c8b24ce60ef88"
 
 S = "${WORKDIR}/git"
 
-- 
2.17.1

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


[OE-core] [PATCH 10/20] lighttpd: upgrade 1.4.52 -> 1.4.53

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../lighttpd/{lighttpd_1.4.52.bb => lighttpd_1.4.53.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/lighttpd/{lighttpd_1.4.52.bb => 
lighttpd_1.4.53.bb} (96%)

diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.52.bb 
b/meta/recipes-extended/lighttpd/lighttpd_1.4.53.bb
similarity index 96%
rename from meta/recipes-extended/lighttpd/lighttpd_1.4.52.bb
rename to meta/recipes-extended/lighttpd/lighttpd_1.4.53.bb
index fb76a8bbb1a..a58faa17be3 100644
--- a/meta/recipes-extended/lighttpd/lighttpd_1.4.52.bb
+++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.53.bb
@@ -20,8 +20,8 @@ SRC_URI = 
"http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.t
 file://0001-Use-pkg-config-for-pcre-dependency-instead-of-config.patch 
\
 "
 
-SRC_URI[md5sum] = "34f5c79137325ba31484bed1e54e66e6"
-SRC_URI[sha256sum] = 
"27bc0991c530b7c6335e6efff2181934d3c1a1c516f7401ea71d8302cefda764"
+SRC_URI[md5sum] = "f93436d8d400b2b0e26ee4bcc60b9ac7"
+SRC_URI[sha256sum] = 
"3bdfce1cf3e9650a556a8c26fb15342c5717c63f530c54693db632b0371dcb78"
 
 PACKAGECONFIG ??= "openssl pcre zlib \
 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
-- 
2.17.1

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


[OE-core] [PATCH 09/20] libcomps: upgrade 0.1.9 -> 0.1.10

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/libcomps/libcomps_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/libcomps/libcomps_git.bb 
b/meta/recipes-devtools/libcomps/libcomps_git.bb
index 500d412340f..ff6820851fe 100644
--- a/meta/recipes-devtools/libcomps/libcomps_git.bb
+++ b/meta/recipes-devtools/libcomps/libcomps_git.bb
@@ -9,8 +9,8 @@ SRC_URI = 
"git://github.com/rpm-software-management/libcomps.git \
file://0001-Add-crc32.c-to-sources-list.patch \
"
 
-PV = "0.1.9"
-SRCREV = "58be208122179ca6e4edc0635a26f02bf733d6a9"
+PV = "0.1.10"
+SRCREV = "86a82fcd155c27092340d15a34f5c75c4da88243"
 
 S = "${WORKDIR}/git"
 
-- 
2.17.1

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


[OE-core] [PATCH 07/20] p11-kit: upgrade 0.23.14 -> 0.23.15

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../p11-kit/{p11-kit_0.23.14.bb => p11-kit_0.23.15.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/p11-kit/{p11-kit_0.23.14.bb => p11-kit_0.23.15.bb} 
(97%)

diff --git a/meta/recipes-support/p11-kit/p11-kit_0.23.14.bb 
b/meta/recipes-support/p11-kit/p11-kit_0.23.15.bb
similarity index 97%
rename from meta/recipes-support/p11-kit/p11-kit_0.23.14.bb
rename to meta/recipes-support/p11-kit/p11-kit_0.23.15.bb
index dd25c381329..59e675b5428 100644
--- a/meta/recipes-support/p11-kit/p11-kit_0.23.14.bb
+++ b/meta/recipes-support/p11-kit/p11-kit_0.23.15.bb
@@ -9,7 +9,7 @@ DEPENDS = "libtasn1 libffi"
 SRC_URI = "git://github.com/p11-glue/p11-kit \

file://0001-LINGUAS-drop-the-languages-for-which-upstream-does-n.patch \
"
-SRCREV = "3770793f026e46a000d2d8816d56122598289d5c"
+SRCREV = "1ba80c67c492f25581ed97c8c31ffb5f20636d06"
 S = "${WORKDIR}/git"
 
 AUTOTOOLS_AUXDIR = "${S}/build/litter"
-- 
2.17.1

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


[OE-core] [PATCH 06/20] meson: upgrade 0.49.0 -> 0.49.2

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/meson/meson.inc  | 4 ++--
 .../meson/meson/0001-Make-CPU-family-warnings-fatal.patch  | 7 ++-
 .../0002-Support-building-allarch-recipes-again.patch  | 7 ++-
 .../meson/{meson_0.49.0.bb => meson_0.49.2.bb} | 0
 ...nativesdk-meson_0.49.0.bb => nativesdk-meson_0.49.2.bb} | 0
 5 files changed, 6 insertions(+), 12 deletions(-)
 rename meta/recipes-devtools/meson/{meson_0.49.0.bb => meson_0.49.2.bb} (100%)
 rename meta/recipes-devtools/meson/{nativesdk-meson_0.49.0.bb => 
nativesdk-meson_0.49.2.bb} (100%)

diff --git a/meta/recipes-devtools/meson/meson.inc 
b/meta/recipes-devtools/meson/meson.inc
index c39b1a3d5e2..d5d71c67b61 100644
--- a/meta/recipes-devtools/meson/meson.inc
+++ b/meta/recipes-devtools/meson/meson.inc
@@ -15,8 +15,8 @@ SRC_URI = 
"https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${P
file://0001-modules-windows-split-WINDRES-env-variable.patch \

file://0002-environment.py-detect-windows-also-if-the-system-str.patch \
"
-SRC_URI[sha256sum] = 
"fb0395c4ac208eab381cd1a20571584bdbba176eb562a7efa9cb17cace0e1551"
-SRC_URI[md5sum] = "3c35b91e8040901034809576d54007c6"
+SRC_URI[sha256sum] = 
"ef9f14326ec1e30d3ba1a26df0f92826ede5a79255ad723af78a2691c37109fd"
+SRC_URI[md5sum] = "0267b0871266056184c484792572c682"
 
 SRC_URI_append_class-native = " \
 file://0001-Make-CPU-family-warnings-fatal.patch \
diff --git 
a/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch 
b/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
index 785c0f027bf..fbc3f5ad827 100644
--- 
a/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
+++ 
b/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
@@ -1,7 +1,7 @@
-From d058d0f1d8833d99e8a3d3b9bcc383db23b52671 Mon Sep 17 00:00:00 2001
+From 2db829d865bb6464ac15dbb4a58c9a675e296866 Mon Sep 17 00:00:00 2001
 From: Ross Burton 
 Date: Tue, 3 Jul 2018 13:59:09 +0100
-Subject: [PATCH 1/2] Make CPU family warnings fatal
+Subject: [PATCH] Make CPU family warnings fatal
 
 Upstream-Status: Inappropriate [OE specific]
 Signed-off-by: Ross Burton 
@@ -34,6 +34,3 @@ index 2ccd31e..5fcf9df 100644
  
  endian = literal['endian']
  if endian not in ('little', 'big'):
--- 
-2.17.1
-
diff --git 
a/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch
 
b/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch
index e7ba40701f6..81548cdfb85 100644
--- 
a/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch
+++ 
b/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch
@@ -1,7 +1,7 @@
-From ffab5c5046da29fc20b074d21f6de46520cee58c Mon Sep 17 00:00:00 2001
+From f8419d5f279f1fb9b5e7eead4f1579bce7cb0e4e Mon Sep 17 00:00:00 2001
 From: Peter Kjellerstedt 
 Date: Thu, 26 Jul 2018 16:32:49 +0200
-Subject: [PATCH 2/2] Support building allarch recipes again
+Subject: [PATCH] Support building allarch recipes again
 
 This registers "allarch" as a known CPU family.
 
@@ -24,6 +24,3 @@ index 5fcf9df..b4fc0dc 100644
  'aarch64',
  'arc',
  'arm',
--- 
-2.17.1
-
diff --git a/meta/recipes-devtools/meson/meson_0.49.0.bb 
b/meta/recipes-devtools/meson/meson_0.49.2.bb
similarity index 100%
rename from meta/recipes-devtools/meson/meson_0.49.0.bb
rename to meta/recipes-devtools/meson/meson_0.49.2.bb
diff --git a/meta/recipes-devtools/meson/nativesdk-meson_0.49.0.bb 
b/meta/recipes-devtools/meson/nativesdk-meson_0.49.2.bb
similarity index 100%
rename from meta/recipes-devtools/meson/nativesdk-meson_0.49.0.bb
rename to meta/recipes-devtools/meson/nativesdk-meson_0.49.2.bb
-- 
2.17.1

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


[OE-core] [PATCH 05/20] libdnf: upgrade 0.24.1 -> 0.26.0

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../libdnf/{libdnf_0.24.1.bb => libdnf_0.26.0.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/libdnf/{libdnf_0.24.1.bb => libdnf_0.26.0.bb} 
(95%)

diff --git a/meta/recipes-devtools/libdnf/libdnf_0.24.1.bb 
b/meta/recipes-devtools/libdnf/libdnf_0.26.0.bb
similarity index 95%
rename from meta/recipes-devtools/libdnf/libdnf_0.24.1.bb
rename to meta/recipes-devtools/libdnf/libdnf_0.26.0.bb
index a55acb2ef0e..9c2247c237d 100644
--- a/meta/recipes-devtools/libdnf/libdnf_0.24.1.bb
+++ b/meta/recipes-devtools/libdnf/libdnf_0.26.0.bb
@@ -10,7 +10,7 @@ SRC_URI = "git://github.com/rpm-software-management/libdnf \
file://0001-include-missing-string-and-errno.h-headers.patch \
"
 
-SRCREV = "04b71d78a2170e930a3c248d48a231b19f823064"
+SRCREV = "bd23204aa83d10e3d293a9f2d496cba6070f6a4d"
 
 S = "${WORKDIR}/git"
 
-- 
2.17.1

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


[OE-core] [PATCH 01/20] libpipeline: update to 1.5.1

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../{libpipeline_1.5.0.bb => libpipeline_1.5.1.bb}   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/libpipeline/{libpipeline_1.5.0.bb => 
libpipeline_1.5.1.bb} (72%)

diff --git a/meta/recipes-extended/libpipeline/libpipeline_1.5.0.bb 
b/meta/recipes-extended/libpipeline/libpipeline_1.5.1.bb
similarity index 72%
rename from meta/recipes-extended/libpipeline/libpipeline_1.5.0.bb
rename to meta/recipes-extended/libpipeline/libpipeline_1.5.1.bb
index 14cc9e519a8..a5802074b13 100644
--- a/meta/recipes-extended/libpipeline/libpipeline_1.5.0.bb
+++ b/meta/recipes-extended/libpipeline/libpipeline_1.5.1.bb
@@ -7,8 +7,9 @@ LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
 SRC_URI = "${SAVANNAH_GNU_MIRROR}/libpipeline/libpipeline-${PV}.tar.gz"
-SRC_URI[md5sum] = "b7437a5020190cfa84f09c412db38902"
-SRC_URI[sha256sum] = 
"0d72e12e4f2afff67fd7b9df0a24d7ba42b5a7c9211ac5b3d5cd8b286f2b"
+SRC_URI[md5sum] = "4c8fe6cd85422baafd6e060f896c61bc"
+SRC_URI[sha256sum] = 
"d633706b7d845f08b42bc66ddbe845d57e726bf89298e2cee29f09577e2f902f"
 
 inherit pkgconfig autotools
 
+acpaths = "-I ${S}/gl/m4 -I ${S}/m4"
-- 
2.17.1

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


[OE-core] [PATCH 03/20] vala: upgrade 0.42.4 -> 0.42.5

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/vala/{vala_0.42.4.bb => vala_0.42.5.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/vala/{vala_0.42.4.bb => vala_0.42.5.bb} (64%)

diff --git a/meta/recipes-devtools/vala/vala_0.42.4.bb 
b/meta/recipes-devtools/vala/vala_0.42.5.bb
similarity index 64%
rename from meta/recipes-devtools/vala/vala_0.42.4.bb
rename to meta/recipes-devtools/vala/vala_0.42.5.bb
index 49ffc41bc36..eea17661604 100644
--- a/meta/recipes-devtools/vala/vala_0.42.4.bb
+++ b/meta/recipes-devtools/vala/vala_0.42.5.bb
@@ -6,5 +6,5 @@ SRC_URI += " 
file://0001-git-version-gen-don-t-append-dirty-if-we-re-not-in-g.pa
 file://0001-Disable-valadoc.patch \
 "
 
-SRC_URI[md5sum] = "f34cb465a164ba7f1f2e7fea31f36d13"
-SRC_URI[sha256sum] = 
"b528906d080ac5b6043285a82c194c988e495c70da71ae19c1fc7811509f4f1e"
+SRC_URI[md5sum] = "d204eb4fa210995e731e2a9a01c8c772"
+SRC_URI[sha256sum] = 
"8c33b4abc0573d364781bbfe54a1668ed34956902e471191a31cf05dc87c6e12"
-- 
2.17.1

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


[OE-core] [PATCH 02/20] libmodulemd: update to 2.1.0

2019-02-19 Thread Alexander Kanavin
Add support for gobject-introspection.

Add v2 API fixes to the gtkdoc/gi disabling patch.
Add a dependency on glib-native to allow use of glib-mkenums.

Disable v2 API/library for now as libdnf is not compatible with it,
yet is erroneously linked against it (if it's enabled).

Signed-off-by: Alexander Kanavin 
---
 ...ec_tmpl.sh-use-bin-sh-not-usr-bin-sh.patch |  7 +-
 ...n.build-do-not-generate-gir-or-gtkdo.patch | 76 ++-
 .../libmodulemd/libmodulemd_git.bb| 19 +++--
 3 files changed, 57 insertions(+), 45 deletions(-)

diff --git 
a/meta/recipes-devtools/libmodulemd/libmodulemd/0001-spec_tmpl.sh-use-bin-sh-not-usr-bin-sh.patch
 
b/meta/recipes-devtools/libmodulemd/libmodulemd/0001-spec_tmpl.sh-use-bin-sh-not-usr-bin-sh.patch
index 9465c385202..2598c177c4c 100644
--- 
a/meta/recipes-devtools/libmodulemd/libmodulemd/0001-spec_tmpl.sh-use-bin-sh-not-usr-bin-sh.patch
+++ 
b/meta/recipes-devtools/libmodulemd/libmodulemd/0001-spec_tmpl.sh-use-bin-sh-not-usr-bin-sh.patch
@@ -1,16 +1,17 @@
-From 590bd5ec9f378ab727ee404bb32f615e1bbd15bf Mon Sep 17 00:00:00 2001
+From 74ea6a665d0f3417e75f1d3d02f27a12f128ec70 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Tue, 6 Nov 2018 13:41:29 +0100
 Subject: [PATCH] spec_tmpl.sh: use /bin/sh, not /usr/bin/sh
 
 Upstream-Status: Pending
 Signed-off-by: Alexander Kanavin 
+
 ---
  spec_tmpl.sh | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/spec_tmpl.sh b/spec_tmpl.sh
-index 45009c3..307c0c2 100755
+index 14e895a..fc80fc6 100755
 --- a/spec_tmpl.sh
 +++ b/spec_tmpl.sh
 @@ -1,4 +1,4 @@
@@ -18,4 +19,4 @@ index 45009c3..307c0c2 100755
 +#!/bin/sh
  
  version=$1
- template=$2
+ libmodulemd_v1_version=$2
diff --git 
a/meta/recipes-devtools/libmodulemd/libmodulemd/0002-modulemd-v1-meson.build-do-not-generate-gir-or-gtkdo.patch
 
b/meta/recipes-devtools/libmodulemd/libmodulemd/0002-modulemd-v1-meson.build-do-not-generate-gir-or-gtkdo.patch
index e94abd27c39..a3e62bf52ca 100644
--- 
a/meta/recipes-devtools/libmodulemd/libmodulemd/0002-modulemd-v1-meson.build-do-not-generate-gir-or-gtkdo.patch
+++ 
b/meta/recipes-devtools/libmodulemd/libmodulemd/0002-modulemd-v1-meson.build-do-not-generate-gir-or-gtkdo.patch
@@ -1,65 +1,67 @@
-From b6c8039afe016d25c17cdf1b2462d6a53d49fad1 Mon Sep 17 00:00:00 2001
+From b77c9c3d07430b014b2d1bff42027f483c81f15a Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Tue, 6 Nov 2018 13:43:00 +0100
-Subject: [PATCH] modulemd/v1/meson.build: do not generate gir or gtkdoc
+Subject: [PATCH] modulemd/v[12]/meson.build: do not generate gtkdoc or python
+ bindings
 
-Both of these really need a configuration option.
+All of these really need a configuration option.
 
 Upstream-Status: Inappropriate [oe-core specific]
 Signed-off-by: Alexander Kanavin 
 
 ---
- meson.build |  1 -
- modulemd/v1/meson.build | 20 
- 2 files changed, 21 deletions(-)
+ meson.build | 3 +--
+ modulemd/v1/meson.build | 8 
+ modulemd/v2/meson.build | 8 
+ 3 files changed, 1 insertion(+), 18 deletions(-)
 
 diff --git a/meson.build b/meson.build
-index db7c6a1..e0ea61a 100644
+index 228bd34..a1e60bb 100644
 --- a/meson.build
 +++ b/meson.build
-@@ -49,7 +49,6 @@ gnome = import('gnome')
+@@ -52,7 +52,6 @@ gnome = import('gnome')
  pkg = import('pkgconfig')
  gobject = dependency('gobject-2.0')
  yaml = dependency('yaml-0.1')
 -gtkdoc = dependency('gtk-doc')
  
- spec_tmpl = find_program('spec_tmpl.sh')
+ sh = find_program('sh')
+ sed = find_program('sed')
+@@ -110,4 +109,4 @@ configure_file(
+ )
  
+ subdir('modulemd')
+-subdir('bindings/python')
++
 diff --git a/modulemd/v1/meson.build b/modulemd/v1/meson.build
-index 38e0d15..d59e519 100644
+index 74db89a..4d54e69 100644
 --- a/modulemd/v1/meson.build
 +++ b/modulemd/v1/meson.build
-@@ -311,19 +311,6 @@ if valgrind.found()
-   timeout : 300)
- endif
+@@ -341,11 +341,3 @@ configure_file(
+   configuration : xcdata
+ )
  
--gnome.generate_gir(
--modulemd_v1_lib,
--sources : modulemd_v1_srcs + modulemd_v1_hdrs,
--nsversion : '.'.join([libmodulemd_version_array[0], '0']),
--namespace : 'Modulemd',
--symbol_prefix : 'modulemd_',
--identifier_prefix : 'Modulemd',
--includes : [
--'GObject-2.0',
--],
+-gnome.gtkdoc(
+-'modulemd-1.0',
+-install_dir: 'modulemd-1.0',
+-src_dir : './modulemd/v1',
+-main_xml : 'modulemd-v1-docs.xml',
 -install : true,
--)
+-)
 -
- xcdata = configuration_data()
- xcdata.set('VERSION', libmodulemd_version)
- configure_file(
-@@ -339,13 +326,6 @@ configure_file(
-   configuration : cdata
+diff --git a/modulemd/v2/meson.build b/modulemd/v2/meson.build
+index 7b94e0c..c5f72b9 100644
+--- a/modulemd/v2/meson.build
 b/modulemd/v2/meson.build
+@@ -530,11 +530,3 @@ configure_file(
+   configuration : xcdata
  )
  
 -gnome.gtkdoc(
--'modulemd-1.0',
--install_dir: 'modulemd-1.0',
--src_dir : './',
--main_xml : 

Re: [OE-core] wic creates ext4 images that read really slow in u-boot

2019-02-19 Thread Leon Woestenberg
Hello Mike,

sounds familiar.

On Tue, 19 Feb 2019 at 17:55, Mike Looijmans 
wrote:

> Took me a while to figure out why my board took 90 seconds to boot
> suddenly.
>
> The issue turned out to be the ext4 partition created by wic.


I suspect it's not WIC's fault.


> ZynqMP> load mmc 0:2 0x10 /lib/firmware/fpga.bin
> 19311092 bytes read in 85529 ms (219.7 KiB/s)
>
> Now if I boot the board rename and copy that file onto itself, then it's
> suddenly normal again when I reboot the board:
>
> ZynqMP> load mmc 0:2 0x1
> I'm not knowledgeable on ext4, so any ideas what's being passed onto the
> image
> creation tool that causes this?


I suspect your version of U-Boot does not handle files spread across
multiple filesystems (allocation) extends efficiently.

Copying the file makes the copy being layed out in one extend probably.

I am aware of two fixes for U-Boot. I will look them up, and reply again to
this thread.

Regards, Leon
-- 
Leon Woestenberg
l...@sidebranch.com
T: +31 40 711 42 76
M: +31 6 472 30 372

Sidebranch
Embedded Systems
Eindhoven, The Netherlands
http://www.sidebranch.com
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH v2 2/3] mesa: Replace dri-native with dri for native and nativesdk classes

2019-02-19 Thread Fabio Berton
Instead of using a native specific packageconfig option, we now set
the swrast as the supported driver.

Currently the native version does not build any dri drivers at all.
This is intentional: mesa-native is used only by virgl, so was made
the most minimal possible configuration for mesa-native so that a)
virgl works; and b) build time is as short as possible.

There are two swrast drivers, one dri-based, another gallium-based.
Autotools lets you build both, meson forces you to choose.
Thus DRIDRIVERS = "swrast" is only set for _native, as for _target
we get the gallium driver instead.

See discussion here [1]

Based on https://patchwork.openembedded.org/patch/158748/

[1] https://patchwork.openembedded.org/patch/158806/

Signed-off-by: Fabio Berton 
---
 meta/recipes-graphics/mesa/mesa.inc | 13 ++---
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index a57438b295..8d3e976481 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -49,8 +49,8 @@ PACKAGECONFIG_class-target ??= 
"${@bb.utils.filter('DISTRO_FEATURES', 'wayland v
${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 
dri3', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 
'dri3', '', d)} \
   "
-PACKAGECONFIG_class-native ?= "gbm dri-native egl"
-PACKAGECONFIG_class-nativesdk ?= "gbm dri-native egl"
+PACKAGECONFIG_class-native ?= "gbm dri egl"
+PACKAGECONFIG_class-nativesdk ?= "gbm dri egl"
 
 # "gbm" requires "dri", "opengl"
 PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm"
@@ -61,13 +61,12 @@ PACKAGECONFIG[x11] = 
"--enable-glx-tls,--disable-glx,${X11_DEPS}"
 PACKAGECONFIG[xvmc] = "--enable-xvmc,--disable-xvmc,libxvmc"
 PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm wayland-protocols"
 
-DRIDRIVERS = "swrast"
-DRIDRIVERS_append_x86_class-target = ",radeon,r200,nouveau,i965,i915"
-DRIDRIVERS_append_x86-64_class-target = ",radeon,r200,nouveau,i965,i915"
+DRIDRIVERS_class-native = "swrast"
+DRIDRIVERS_class-nativesdk = "swrast"
+DRIDRIVERS_append_x86_class-target = ",r100,r200,nouveau,i965,i915"
+DRIDRIVERS_append_x86-64_class-target = ",r100,r200,nouveau,i965,i915"
 # "dri" requires "opengl"
 PACKAGECONFIG[dri] = "--enable-dri --with-dri-drivers=${DRIDRIVERS}, 
--disable-dri, xorgproto libdrm"
-# On the native builds we use host's dri drivers
-PACKAGECONFIG[dri-native] = "--enable-dri, , xorgproto libdrm"
 PACKAGECONFIG[dri3] = "--enable-dri3, --disable-dri3, xorgproto libxshmfence"
 
 # Vulkan drivers need dri3 enabled
-- 
2.20.1

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


[OE-core] [PATCH v2 3/3] mesa: Add opengl to native and nativesdk PACKAGECONFIG

2019-02-19 Thread Fabio Berton
Allow the use of opengl for native and nativesdk packages.

Based on https://patchwork.openembedded.org/patch/158748/

Signed-off-by: Fabio Berton 
---
 meta/recipes-graphics/mesa/mesa.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index 8d3e976481..233de8eb27 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -49,8 +49,8 @@ PACKAGECONFIG_class-target ??= 
"${@bb.utils.filter('DISTRO_FEATURES', 'wayland v
${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 
dri3', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 
'dri3', '', d)} \
   "
-PACKAGECONFIG_class-native ?= "gbm dri egl"
-PACKAGECONFIG_class-nativesdk ?= "gbm dri egl"
+PACKAGECONFIG_class-native ?= "gbm dri egl opengl"
+PACKAGECONFIG_class-nativesdk ?= "gbm dri egl opengl"
 
 # "gbm" requires "dri", "opengl"
 PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm"
-- 
2.20.1

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


[OE-core] [PATCH v2 1/3] mesa: Update 18.1.9 -> 18.3.4

2019-02-19 Thread Fabio Berton
  - Refresh all patches.

  - Remove "Use Python 3 to execute the scripts" patch
  Commit 986033a2750c1160a4cef3c8418fc7f9e2b4fb5a add support
  for both python 2 and 3.

  - Remove "dri: i965: Add missing time.h include" patch
  Commit 3c288da5eec81ee58b85927df18d9194ead8f5c2 add time.h
  header file.

  - Remove --enable-texture-float.
  Commit 66673bef941af344314fe9c91cad8cd330b245eb remove option to
  unconditionally enable floating-point textures.

  - Commit 30b10dbb7c6f6bdf3e489620f8333c727bd3a6dd moved
${sysconfdir}/drirc to ${datadir}/drirc.d/00-mesa-defaults.conf

  - Add patch to fix mesa-native build

Signed-off-by: Fabio Berton 
---
 ...0001-Simplify-wayland-scanner-lookup.patch | 20 +---
 ...-winsys-svga-drm-Include-sys-types.h.patch |  8 +--
 ...M-version-when-using-LLVM-Git-releas.patch | 12 ++---
 ...-Use-Python-3-to-execute-the-scripts.patch | 32 
 ...-for-defining-WAYLAND_PROTOCOLS_DAT.patch} | 23 -
 ...-dri-i965-Add-missing-time.h-include.patch | 36 --
 ...sing-include-stddef.h-in-egldevice.h.patch | 49 +++
 .../{mesa-gl_18.1.9.bb => mesa-gl_18.3.4.bb}  |  0
 meta/recipes-graphics/mesa/mesa.inc   |  4 +-
 .../mesa/{mesa_18.1.9.bb => mesa_18.3.4.bb}   |  9 ++--
 10 files changed, 89 insertions(+), 104 deletions(-)
 delete mode 100644 
meta/recipes-graphics/mesa/files/0004-Use-Python-3-to-execute-the-scripts.patch
 rename 
meta/recipes-graphics/mesa/files/{0006-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch
 => 0004-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch} (60%)
 delete mode 100644 
meta/recipes-graphics/mesa/files/0005-dri-i965-Add-missing-time.h-include.patch
 create mode 100644 
meta/recipes-graphics/mesa/files/0005-egl-add-missing-include-stddef.h-in-egldevice.h.patch
 rename meta/recipes-graphics/mesa/{mesa-gl_18.1.9.bb => mesa-gl_18.3.4.bb} 
(100%)
 rename meta/recipes-graphics/mesa/{mesa_18.1.9.bb => mesa_18.3.4.bb} (69%)

diff --git 
a/meta/recipes-graphics/mesa/files/0001-Simplify-wayland-scanner-lookup.patch 
b/meta/recipes-graphics/mesa/files/0001-Simplify-wayland-scanner-lookup.patch
index a50d2a2ba2..e765356fe1 100644
--- 
a/meta/recipes-graphics/mesa/files/0001-Simplify-wayland-scanner-lookup.patch
+++ 
b/meta/recipes-graphics/mesa/files/0001-Simplify-wayland-scanner-lookup.patch
@@ -1,7 +1,7 @@
-From 7e8e0f8a8ac2425e19a2f340c9e3da9345f25940 Mon Sep 17 00:00:00 2001
+From 7338667148cb7fcefee76b27359bc1e11656c132 Mon Sep 17 00:00:00 2001
 From: Jussi Kukkonen 
 Date: Tue, 15 Nov 2016 15:20:49 +0200
-Subject: [PATCH 1/6] Simplify wayland-scanner lookup
+Subject: [PATCH 1/5] Simplify wayland-scanner lookup
 Organization: O.S. Systems Software LTDA.
 
 Don't use pkg-config to lookup the path of a binary that's in the path.
@@ -13,20 +13,24 @@ Upstream-Status: Pending
 Signed-off-by: Jussi Kukkonen 
 Signed-off-by: Otavio Salvador 
 ---
- configure.ac | 7 +--
- 1 file changed, 1 insertion(+), 6 deletions(-)
+ configure.ac | 11 +--
+ 1 file changed, 1 insertion(+), 10 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index 14f1af2b2f..916d0bd207 100644
+index cd9ff259fad..cbc455e130f 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -1825,12 +1825,7 @@ for plat in $platforms; do
- PKG_CHECK_MODULES([WAYLAND_PROTOCOLS], [wayland-protocols >= 
$WAYLAND_PROTOCOLS_REQUIRED])
+@@ -1841,16 +1841,7 @@ for plat in $platforms; do
+ fi
  WAYLAND_PROTOCOLS_DATADIR=`$PKG_CONFIG --variable=pkgdatadir 
wayland-protocols`
  
 -PKG_CHECK_MODULES([WAYLAND_SCANNER], [wayland-scanner],
 -  WAYLAND_SCANNER=`$PKG_CONFIG 
--variable=wayland_scanner wayland-scanner`,
 -  WAYLAND_SCANNER='')
+-PKG_CHECK_EXISTS([wayland-scanner >= 1.15],
+-  AC_SUBST(SCANNER_ARG, 'private-code'),
+-  AC_SUBST(SCANNER_ARG, 'code'))
+-
 -if test "x$WAYLAND_SCANNER" = x; then
 -AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner], [:])
 -fi
@@ -35,5 +39,5 @@ index 14f1af2b2f..916d0bd207 100644
  if test "x$WAYLAND_SCANNER" = "x:"; then
  AC_MSG_ERROR([wayland-scanner is needed to compile the 
wayland platform])
 -- 
-2.18.0
+2.20.1
 
diff --git 
a/meta/recipes-graphics/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch
 
b/meta/recipes-graphics/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch
index ffb3bf7a63..12dca61e19 100644
--- 
a/meta/recipes-graphics/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch
+++ 
b/meta/recipes-graphics/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch
@@ -1,7 +1,7 @@
-From 7792f228991744a0396b8bf811e281dca86165d3 Mon Sep 17 00:00:00 2001
+From 34c3d07b67e6c08f555473a86ff158951abb6000 Mon Sep 17 00:00:00 2001
 From: Khem Raj 
 Date: Wed, 16 Aug 2017 18:58:20 -0700
-Subject: [PATCH 2/6] winsys/svga/drm: Include sys/types.h
+Subject: [PATCH 2/5] 

[OE-core] wic creates ext4 images that read really slow in u-boot

2019-02-19 Thread Mike Looijmans
Took me a while to figure out why my board took 90 seconds to boot suddenly.

The issue turned out to be the ext4 partition created by wic.

On a "wic" created ext4 disk, this is what u-boot does:

ZynqMP> load mmc 0:2 0x10 /lib/firmware/fpga.bin
19311092 bytes read in 85529 ms (219.7 KiB/s)


Now if I boot the board rename and copy that file onto itself, then it's 
suddenly normal again when I reboot the board:

ZynqMP> load mmc 0:2 0x10 /lib/firmware/fpga.bin
19311092 bytes read in 1426 ms (12.9 MiB/s)


I checked with other files, and it turns out that ANY big file written by wic 
will read very slow (at 200k/s) but if I make a copy from a running system, it 
suddenly reads fast.

I'm not knowledgeable on ext4, so any ideas what's being passed onto the image 
creation tool that causes this?

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


Re: [OE-core] [PATCH] glibc: support powerpc e5500 and e6500

2019-02-19 Thread Khem Raj
On Tue, Feb 19, 2019 at 8:35 AM Richard Purdie
 wrote:
>
> On Tue, 2019-02-19 at 05:50 +, C.r. Guo wrote:
> > From: Chunrong Guo 
> >
> > Signed-off-by: Chunrong Guo 
> > ---
> >  .../glibc/0031-glibc-support-e5500-and-e6500.patch | 564
> > +
> >  meta/recipes-core/glibc/glibc_2.29.bb  |   1 +
> >  2 files changed, 565 insertions(+)
> >  create mode 100644 meta/recipes-core/glibc/glibc/0031-glibc-support-
> > e5500-and-e6500.patch
>
> I'd like to understand whether this is likely to make it upstream and
> who is using the powerpc support in the Yocto Project. Do you have any
> information on that?

They are fairly upstreamable patches

>
> Cheers,
>
> Richard
>
> --
> ___
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] glibc: support powerpc e5500 and e6500

2019-02-19 Thread Richard Purdie
On Tue, 2019-02-19 at 05:50 +, C.r. Guo wrote:
> From: Chunrong Guo 
> 
> Signed-off-by: Chunrong Guo 
> ---
>  .../glibc/0031-glibc-support-e5500-and-e6500.patch | 564
> +
>  meta/recipes-core/glibc/glibc_2.29.bb  |   1 +
>  2 files changed, 565 insertions(+)
>  create mode 100644 meta/recipes-core/glibc/glibc/0031-glibc-support-
> e5500-and-e6500.patch

I'd like to understand whether this is likely to make it upstream and
who is using the powerpc support in the Yocto Project. Do you have any
information on that?

Cheers,

Richard

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


Re: [OE-core] [PATCH 5/5] sudo: upgrade to 1.8.27

2019-02-19 Thread Richard Purdie
On Tue, 2019-02-19 at 09:53 +0800, Chen Qi wrote:
> --- a/meta/recipes-extended/sudo/sudo_1.8.26.bb
> +++ b/meta/recipes-extended/sudo/sudo_1.8.27.bb
> @@ -1,3 +1,24 @@
> +# FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool
> upgrade'.
> +# The following is the difference between the old and the new
> license text.
> +# Please update the LICENSE value if needed, and summarize the
> changes in
> +# the commit message via 'License-Update:' tag.
> +# (example: 'License-Update: copyright years updated.')
> +#
> +# The changes:
> +#
> +# --- doc/LICENSE
> +# +++ doc/LICENSE
> +# @@ -1,6 +1,6 @@
> +#  Sudo is distributed under the following license:
> +#  
> +# -   Copyright (c) 1994-1996, 1998-2018
> +# +   Copyright (c) 1994-1996, 1998-2019
> +#  Todd C. Miller 
> +#  
> +# Permission to use, copy, modify, and distribute this software
> for any
> +# 
> +#
> +

Thanks for the upgrades. I removed this bit in the patch I queued for
testing!

Cheers,

Richard

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


[OE-core] Yocto Project Status WW08'19

2019-02-19 Thread sjolley.yp.pm
Current Dev Position: YP 2.7 M3

Next Deadline: YP 2.7 M3 Cutoff is Feb. 25, 2019

 

SWAT Team Rotation:

*   SWAT lead is currently: Amanda
*   SWAT team rotation: Amanda -> Ross on Feb. 22, 2019
*   SWAT team rotation: Ross -> Chen on Mar. 1, 2019
*
https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team

 

Key Status/Updates:

*   YP 2.7 M2 rc2 is in QA and 94% complete.  See:

https://wiki.yoctoproject.org/wiki/2.7_QA_Status
*   YP M2 rc1 had major problems in perl as fallout from the perl
upgrade and switch to perl-cross. We've therefore built an rc2 based on a
more recent master.
*   The project is considering moving its mailing list hosting to
groups.io, if anyone has any experience of that, positive or negative please
let Michael, Nico and Richard know. Note that google has made further
significant changes to its mail processing at the detriment to mailing
lists:

https://lists.freedesktop.org/archives/freedesktop/2019-February/000396.html
*   RDEPENDS handling in native recipes had a significant change, fixing
some long standing bugs but also needing some circular dependencies to be
fixed. The change may impact other layers.
*   Circular dependency debugging from bitbake was fixed and should no
longer hang, another long standing issue which when fixed, allowed the
native RDEPENDS to be debugged and fixed.
*   The default compiler path mappings were enhanced and should now also
cover macro files.
*   There is major work/review going on for "resulttool" with a view to
using this for QAing M3.
*   A new round of AUH (Automatic upgrade Helper) patches has been sent,
thanks to everyone who's processed and responded to those! It was able to
upgrade around half the recipes needing upgrading.

 

Planned Releases for YP 2.7:

*   YP 2.7 M2 is in QA for rc2.
*   YP 2.7 M2 Release Target is Feb. 1, 2019
*   YP 2.7 M3 Cutoff is Feb. 25, 2019
*   YP 2.7 M3 Release Target is Mar. 8, 2019
*   YP 2.7 M4 Cutoff is Apr. 1, 2019
*   YP 2.7 M4 Release Target is Apr. 26, 2019

 

Planned upcoming dot releases:

*   YP 2.5.3 (Sumo) will be targeted after YP 2.7 M2 is done.
*   YP 2.5.4 (Sumo) will be targeted after YP 2.7 M4 is done.
*   YP 2.6.2 (Thud) will be targeted after YP 2.5.4 is done.

 

Tracking Metrics:

*   WDD 2392 (last week 2353) (

https://wiki.yoctoproject.org/charts/combo.html)
*   Poky Patch Metrics  

*   Total patches found: 1527 (last week 1527
*   Patches in the Pending State: 663 (43%) [last week 663 (43%)]

 

Key Status Links for YP:

 
https://wiki.yoctoproject.org/wiki/Yocto_Project_v2.7_Status

 
https://wiki.yoctoproject.org/wiki/Yocto_2.7_Schedule

 
https://wiki.yoctoproject.org/wiki/Yocto_2.7_Features

 

The Status reports are now stored on the wiki at:

https://wiki.yoctoproject.org/wiki/Weekly_Status

 

[If anyone has suggestions for other information you'd like to see on this
weekly status update, let us know!]

 

Thanks,

 

Stephen K. Jolley

Yocto Project Project Manager

*Cell:(208) 244-4460

* Email:  sjolley.yp...@gmail.com
 

 

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


[OE-core] [PATCH 8/8] glib-2.0: convert from autotools to meson

2019-02-19 Thread Alexander Kanavin
PRINTF settings no longer seem necessary (tested with mingw).

Add meson-specific bits to Enable-more-tests-while-cross-compiling.patch and
0001-Install-gio-querymodules-as-libexec_PROGRAM.patch

Add 0001-Set-host_machine-correctly-when-building-with-mingw3.patch
to allow 'mingw32' as target machine in addition to 'windows'.

Add 0001-meson.build-do-not-hardcode-linux-as-the-host-system.patch to
correct ARM build errors.

Drop configure-libtool.patch (autotools-specific).

Signed-off-by: Alexander Kanavin 
---
 ...t-write-bindir-into-pkg-config-files.patch |  50 +
 ...-gio-querymodules-as-libexec_PROGRAM.patch |  17 ++-
 ...-correctly-when-building-with-mingw3.patch | 104 ++
 ...ot-hardcode-linux-as-the-host-system.patch |  27 +
 ...ble-more-tests-while-cross-compiling.patch |  91 ++-
 .../glib-2.0/glib-2.0/configure-libtool.patch |  44 
 .../glib-2.0/glib-2.0/relocate-modules.patch  |   2 +-
 meta/recipes-core/glib-2.0/glib-2.0_2.58.3.bb |   4 +-
 meta/recipes-core/glib-2.0/glib.inc   |  35 +++---
 9 files changed, 309 insertions(+), 65 deletions(-)
 create mode 100644 
meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch
 create mode 100644 
meta/recipes-core/glib-2.0/glib-2.0/0001-Set-host_machine-correctly-when-building-with-mingw3.patch
 create mode 100644 
meta/recipes-core/glib-2.0/glib-2.0/0001-meson.build-do-not-hardcode-linux-as-the-host-system.patch
 delete mode 100644 meta/recipes-core/glib-2.0/glib-2.0/configure-libtool.patch

diff --git 
a/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch
 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch
new file mode 100644
index 000..ede29c90bab
--- /dev/null
+++ 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch
@@ -0,0 +1,50 @@
+From 474e59abec88de0c455836c1f53152bf2aa26c34 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Fri, 15 Feb 2019 11:17:27 +0100
+Subject: [PATCH] Do not write $bindir into pkg-config files
+
+This would otherwise break when using the files to build other target
+components (we need to rely on PATH containing the paths to utilities,
+rather than use target paths).
+
+Upstream-Status: Inappropriate [upstream wants the paths in .pc files]
+Signed-off-by: Alexander Kanavin 
+---
+ gio/meson.build  | 6 +++---
+ glib/meson.build | 6 +++---
+ 2 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/gio/meson.build b/gio/meson.build
+index 85d8b14..657720a 100644
+--- a/gio/meson.build
 b/gio/meson.build
+@@ -813,9 +813,9 @@ pkg.generate(libraries : libgio,
+'schemasdir=' + join_paths('${datadir}', schemas_subdir),
+'bindir=' + join_paths('${prefix}', get_option('bindir')),
+'giomoduledir=' + giomodulesdir,
+-   'glib_compile_schemas=' + join_paths('${bindir}', 
'glib-compile-schemas'),
+-   'glib_compile_resources=' + join_paths('${bindir}', 
'glib-compile-resources'),
+-   'gdbus_codegen=' + join_paths('${bindir}', 'gdbus-codegen')],
++   'glib_compile_schemas=glib-compile-schemas',
++   'glib_compile_resources=glib-compile-resources',
++   'gdbus_codegen=gdbus-codegen'],
+   version : glib_version,
+   install_dir : glib_pkgconfigreldir,
+   filebase : 'gio-2.0',
+diff --git a/glib/meson.build b/glib/meson.build
+index c05c694..434e8b1 100644
+--- a/glib/meson.build
 b/glib/meson.build
+@@ -261,9 +261,9 @@ pkg.generate(libraries : [libglib, libintl],
+   subdirs : ['glib-2.0'],
+   extra_cflags : ['-I${libdir}/glib-2.0/include'] + win32_cflags,
+   variables : ['bindir=' + join_paths('${prefix}', get_option('bindir')),
+-   'glib_genmarshal=' + join_paths('${bindir}', 
'glib-genmarshal'),
+-   'gobject_query=' + join_paths('${bindir}', 'gobject-query'),
+-   'glib_mkenums=' + join_paths('${bindir}', 'glib-mkenums')],
++   'glib_genmarshal=glib-genmarshal',
++   'gobject_query=gobject-query',
++   'glib_mkenums=glib-mkenums'],
+   version : glib_version,
+   install_dir : glib_pkgconfigreldir,
+   filebase : 'glib-2.0',
diff --git 
a/meta/recipes-core/glib-2.0/glib-2.0/0001-Install-gio-querymodules-as-libexec_PROGRAM.patch
 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-Install-gio-querymodules-as-libexec_PROGRAM.patch
index 97d0aff5d6c..f246254942e 100644
--- 
a/meta/recipes-core/glib-2.0/glib-2.0/0001-Install-gio-querymodules-as-libexec_PROGRAM.patch
+++ 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-Install-gio-querymodules-as-libexec_PROGRAM.patch
@@ -1,4 +1,4 @@
-From 856045927b9ab391165c0ebabf401835f8439eab Mon Sep 17 00:00:00 2001
+From 17fc9230fb932432d8fbf8c56fdc4845495e Mon Sep 17 00:00:00 2001
 From: Jussi Kukkonen 
 Date: Tue, 22 Mar 2016 15:14:58 +0200
 Subject: [PATCH] Install gio-querymodules 

[OE-core] [PATCH 6/8] llvm: switch to the official git repository

2019-02-19 Thread Alexander Kanavin
Until now an unoffcial mirror was used, which may or may not
be maintained in the longer run, as the need for it has gone.

Also, the official mirror has version tags which allows us
to track upstream development in an automated manner.

${S} has changed as upstream decided to use a monorepo for all
of the llvm-related projects.

Further info:
https://www.phoronix.com/scan.php?page=news_item=LLVM-GitHub-Mono-Repo
https://llvm.org/docs/GettingStarted.html#checkout-llvm-from-git

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/llvm/llvm_git.bb | 14 +-
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-devtools/llvm/llvm_git.bb 
b/meta/recipes-devtools/llvm/llvm_git.bb
index eca78af09e4..9e9b15bddec 100644
--- a/meta/recipes-devtools/llvm/llvm_git.bb
+++ b/meta/recipes-devtools/llvm/llvm_git.bb
@@ -19,20 +19,24 @@ PROVIDES += "llvm${PV}"
 LLVM_RELEASE = "${PV}"
 LLVM_DIR = "llvm${LLVM_RELEASE}"
 
-SRCREV = "e5cc6808dc0d5b773479bf36c51d59d0d3174733"
-BRANCH = "release_${MAJOR_VERSION}${MINOR_VERSION}"
+# SRCREV is set to the revision of 8.0.0-rc2 tag, while latest release
+# tag is 7.0.1 as of Feb 18 2019, hence the need for UPSTREAM_CHECK_UNKNOWN
+# Remove the UPSTREAM_CHECK_UNKNOWN line once 8.0.0 final is tagged
+UPSTREAM_CHECK_UNKNOWN = "1"
+SRCREV = "98ebe7460199b9cd79eb562b5e8705ad28f5513f"
+
+BRANCH = "release/${MAJOR_VERSION}.x"
 MAJOR_VERSION = "8"
 MINOR_VERSION = "0"
 PATCH_VERSION = "0"
 SOLIBVER = "1"
 PV = "${MAJOR_VERSION}.${MINOR_VERSION}"
-SRC_URI = "git://github.com/llvm-mirror/llvm.git;branch=${BRANCH} \
+SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH} \

file://0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch \
file://0002-llvm-allow-env-override-of-exe-path.patch \
   "
-UPSTREAM_CHECK_COMMITS = "1"
 
-S = "${WORKDIR}/git"
+S = "${WORKDIR}/git/llvm"
 
 LLVM_INSTALL_DIR = "${WORKDIR}/llvm-install"
 
-- 
2.17.1

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


[OE-core] [PATCH 7/8] gdk-pixbuf: convert from autotools to meson

2019-02-19 Thread Alexander Kanavin
Drop autotools-specific patches.

Rework jku's thumbnailer patch into meson configuration.

Add a patch to disable tests in native builds.

Signed-off-by: Alexander Kanavin 
---
 .../0001-Disable-tests-in-native-builds.patch |  30 
 ...f-decisions-around-cross-compilation.patch |  38 +
 ...without-libtiff-not-having-an-effect.patch |  27 
 ...nd-thumbnailer-cross-compile-failure.patch |  53 +++
 ...nd-thumbnailer-cross-compile-failure.patch | 131 ++
 .../extending-libinstall-dependencies.patch   |  42 --
 .../gdk-pixbuf/hardcoded_libtool.patch|  33 -
 .../gdk-pixbuf/gdk-pixbuf_2.36.11.bb  |  41 --
 8 files changed, 248 insertions(+), 147 deletions(-)
 create mode 100644 
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Disable-tests-in-native-builds.patch
 create mode 100644 
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Fix-a-couple-of-decisions-around-cross-compilation.patch
 delete mode 100644 
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Fix-without-libtiff-not-having-an-effect.patch
 create mode 100644 
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0002-Work-around-thumbnailer-cross-compile-failure.patch
 delete mode 100644 
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/extending-libinstall-dependencies.patch
 delete mode 100644 
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/hardcoded_libtool.patch

diff --git 
a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Disable-tests-in-native-builds.patch
 
b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Disable-tests-in-native-builds.patch
new file mode 100644
index 000..c991635bb95
--- /dev/null
+++ 
b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Disable-tests-in-native-builds.patch
@@ -0,0 +1,30 @@
+From d44aad1858c9c0da74f389d3de4dabade28b56c3 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Mon, 18 Feb 2019 16:00:12 +0100
+Subject: [PATCH] Disable tests in native builds.
+
+They have found to be problematic at least on Centos 7:
+https://autobuilder.yoctoproject.org/typhoon/#/builders/50/builds/296/steps/7/logs/step1b
+
+With autotools this was not a problem because it had a configuration
+switch for disabling test, which was used. Meson has no such facility :(
+
+Upstream-Status: Inappropriate [oe-core specific]
+Signed-off-by: Alexander Kanavin 
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 92c4049..0871c84 100644
+--- a/meson.build
 b/meson.build
+@@ -397,7 +397,7 @@ endif
+ # i18n
+ subdir('po')
+ 
+-subdir('tests')
++#subdir('tests')
+ subdir('thumbnailer')
+ 
+ # Documentation
diff --git 
a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Fix-a-couple-of-decisions-around-cross-compilation.patch
 
b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Fix-a-couple-of-decisions-around-cross-compilation.patch
new file mode 100644
index 000..90d4830df50
--- /dev/null
+++ 
b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Fix-a-couple-of-decisions-around-cross-compilation.patch
@@ -0,0 +1,38 @@
+From 48cbdd56036728ffea431ad63cf5e2ad05cef69c Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Thu, 14 Feb 2019 18:06:25 +0100
+Subject: [PATCH] Fix a couple of decisions around cross-compilation
+
+1. gobject-introspection can be build when cross compiling
+2. generating loaders.cache requires running a target binary which
+we do elsewhere (in postinsts)
+
+Upstream-Status: Pending
+Signed-off-by: Alexander Kanavin 
+---
+ gdk-pixbuf/meson.build | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/gdk-pixbuf/meson.build b/gdk-pixbuf/meson.build
+index 77c162b..fc3eb33 100644
+--- a/gdk-pixbuf/meson.build
 b/gdk-pixbuf/meson.build
+@@ -230,6 +230,7 @@ foreach bin: gdkpixbuf_bin
+   set_variable(bin_name.underscorify(), bin)
+ endforeach
+ 
++if not meson.is_cross_build()
+ # The 'loaders.cache' used for testing, so we don't accidentally
+ # load the installed cache; we always build it by default
+ loaders_cache = custom_target('loaders.cache',
+@@ -241,8 +242,9 @@ loaders_cache = custom_target('loaders.cache',
+   ],
+   build_by_default: true)
+ loaders_dep = declare_dependency(sources: [ loaders_cache ])
++endif
+ 
+-build_gir = get_option('with_gir') and not meson.is_cross_build()
++build_gir = get_option('with_gir')
+ if build_gir
+   gir_args = [
+ '--quiet',
diff --git 
a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Fix-without-libtiff-not-having-an-effect.patch
 
b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Fix-without-libtiff-not-having-an-effect.patch
deleted file mode 100644
index 2a54d8ed763..000
--- 
a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Fix-without-libtiff-not-having-an-effect.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 460befc992adb32434b0408b453be39a6866ccf8 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Tue, 10 Oct 2017 14:33:18 +0300
-Subject: [PATCH] Fix --without-libtiff not having an 

[OE-core] [PATCH 4/8] libxkbcommon: update to 0.8.3

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../xorg-lib/{libxkbcommon_0.8.2.bb => libxkbcommon_0.8.3.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-lib/{libxkbcommon_0.8.2.bb => 
libxkbcommon_0.8.3.bb} (83%)

diff --git a/meta/recipes-graphics/xorg-lib/libxkbcommon_0.8.2.bb 
b/meta/recipes-graphics/xorg-lib/libxkbcommon_0.8.3.bb
similarity index 83%
rename from meta/recipes-graphics/xorg-lib/libxkbcommon_0.8.2.bb
rename to meta/recipes-graphics/xorg-lib/libxkbcommon_0.8.3.bb
index 8cf508b0bff..ff0f0690b67 100644
--- a/meta/recipes-graphics/xorg-lib/libxkbcommon_0.8.2.bb
+++ b/meta/recipes-graphics/xorg-lib/libxkbcommon_0.8.3.bb
@@ -9,8 +9,8 @@ DEPENDS = "util-macros flex-native bison-native"
 
 SRC_URI = "http://xkbcommon.org/download/${BPN}-${PV}.tar.xz;
 
-SRC_URI[md5sum] = "5f7f8533f907ebcfb1cf8dceb9501264"
-SRC_URI[sha256sum] = 
"7ab8c4b3403d89d01898066b72cb6069bddeb5af94905a65368f671a026ed58c"
+SRC_URI[md5sum] = "8225a206e00c4146d2e06f5e688b28e7"
+SRC_URI[sha256sum] = 
"b855c629849a97ab9835a4ad99d6b749a636f70d38a03f070c6ef72024825540"
 
 UPSTREAM_CHECK_URI = "http://xkbcommon.org/;
 
-- 
2.17.1

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


[OE-core] [PATCH 5/8] pango: convert from autotools to meson

2019-02-19 Thread Alexander Kanavin
libxft is a hard dependency now, accordingly drop the patch that
was made for it being optional.

Signed-off-by: Alexander Kanavin 
---
 ...on-of-docs-pango.types-it-is-build-c.patch | 147 --
 meta/recipes-graphics/pango/pango_1.42.4.bb   |  32 ++--
 2 files changed, 21 insertions(+), 158 deletions(-)
 delete mode 100644 
meta/recipes-graphics/pango/pango/0001-Enforce-recreation-of-docs-pango.types-it-is-build-c.patch

diff --git 
a/meta/recipes-graphics/pango/pango/0001-Enforce-recreation-of-docs-pango.types-it-is-build-c.patch
 
b/meta/recipes-graphics/pango/pango/0001-Enforce-recreation-of-docs-pango.types-it-is-build-c.patch
deleted file mode 100644
index 6784a105a55..000
--- 
a/meta/recipes-graphics/pango/pango/0001-Enforce-recreation-of-docs-pango.types-it-is-build-c.patch
+++ /dev/null
@@ -1,147 +0,0 @@
-From 526a6a9fc9a1cfe75c521c8bb39b61754fe42fe8 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Fri, 2 Sep 2016 14:00:24 +0300
-Subject: [PATCH] Enforce recreation of docs/pango.types; it is build
- configuration-specific.
-
-In particular, it needs to exclude references to PangoXft if Xft is not 
available.
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin 

- docs/Makefile.am | 17 
- docs/pango.types | 80 
- 2 files changed, 5 insertions(+), 92 deletions(-)
- delete mode 100644 docs/pango.types
-
-diff --git a/docs/Makefile.am b/docs/Makefile.am
-index f5f1317..8947a99 100644
 a/docs/Makefile.am
-+++ b/docs/Makefile.am
-@@ -49,6 +49,10 @@ IGNORE_HFILES=  \
-   pangocoretext-private.h \
-   pangoatsui-private.h
- 
-+if !HAVE_XFT
-+IGNORE_HFILES += pangoxft pangoxft-render.h
-+endif
-+
- # CFLAGS and LDFLAGS for compiling scan program. Only needed
- # if $(DOC_MODULE).types is non-empty.
- INCLUDES =\
-@@ -103,16 +107,6 @@ include $(top_srcdir)/gtk-doc.make
- # This line really belongs in gtk-doc.mk
- $(REPORT_FILES): sgml-build.stamp
- 
--pango.types:
--  @echo "Rebuilding $@"
--  @LANG=C; LIST=$$(grep 'pango_[_a-zA-Z0-9]*_get_type' $(HFILE_GLOB) | 
grep -v '\(private\|atsui\|core_text\|win32\)' | sed 
's/\([^:]*:\).*\(pango[_a-zA-Z0-9]*_get_type\).*/\1\2/') && \
--  echo "$$LIST" | sed 's/.*\/\(pango\/.*\):.*/#include <\1>/' | sort -u > 
$@.tmp && \
--  echo >> $@.tmp && \
--  echo "$$LIST" | cut -d : -f 2 | sort -u >> $@.tmp && \
--  mv $@.tmp $@
--
--BUILT_SOURCES = pango.types
--
- 
- 
- MAINTAINERCLEANFILES = $(BUILT_SOURCES)
-@@ -120,8 +114,7 @@ EXTRA_DIST +=  \
-   layout.fig  \
-   layout.eps  \
-   version.xml.in  \
--  check.docs  \
--  pango.types
-+  check.docs
- 
- # force doc rebulid after configure
- dist-hook-local: dist-local-check-no-cross-references all-local
-diff --git a/docs/pango.types b/docs/pango.types
-deleted file mode 100644
-index 7d93cda..000
 a/docs/pango.types
-+++ /dev/null
-@@ -1,80 +0,0 @@
--#include 
--#include 
--#include 
--#include 
--#include 
--#include 
--#include 
--#include 
--#include 
--#include 
--#include 
--#include 
--#include 
--#include 
--#include 
--#include 
--#include 
--#include 
--#include 
--#include 
--#include 
--#include 
--#include 
--#include 
--
--pango_alignment_get_type
--pango_attr_list_get_type
--pango_attr_type_get_type
--pango_bidi_type_get_type
--pango_cairo_fc_font_map_get_type
--pango_cairo_font_get_type
--pango_cairo_font_map_get_type
--pango_color_get_type
--pango_context_get_type
--pango_coverage_level_get_type
--pango_direction_get_type
--pango_ellipsize_mode_get_type
--pango_engine_get_type
--pango_engine_lang_get_type
--pango_engine_shape_get_type
--pango_fc_decoder_get_type
--pango_fc_font_get_type
--pango_fc_font_map_get_type
--pango_font_description_get_type
--pango_font_face_get_type
--pango_font_family_get_type
--pango_font_get_type
--pango_font_map_get_type
--pango_font_mask_get_type
--pango_font_metrics_get_type
--pango_fontset_get_type
--pango_fontset_simple_get_type
--pango_ft2_font_map_get_type
--pango_glyph_item_get_type
--pango_glyph_item_iter_get_type
--pango_glyph_string_get_type
--pango_gravity_get_type
--pango_gravity_hint_get_type
--pango_item_get_type
--pango_language_get_type
--pango_layout_get_type
--pango_layout_iter_get_type
--pango_layout_line_get_type
--pango_matrix_get_type
--pango_ot_info_get_type
--pango_ot_ruleset_get_type
--pango_render_part_get_type
--pango_renderer_get_type
--pango_script_get_type
--pango_stretch_get_type
--pango_style_get_type
--pango_tab_align_get_type
--pango_tab_array_get_type
--pango_underline_get_type
--pango_variant_get_type
--pango_weight_get_type
--pango_wrap_mode_get_type
--pango_xft_font_get_type
--pango_xft_font_map_get_type
--pango_xft_renderer_get_type
--- 

[OE-core] [PATCH 3/8] libsoup-2.4: convert from autotools to meson

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...no-introspection-when-cross-building.patch | 24 +
 .../libsoup/libsoup-2.4_2.64.2.bb | 27 +++
 2 files changed, 46 insertions(+), 5 deletions(-)
 create mode 100644 
meta/recipes-support/libsoup/libsoup-2.4/0001-Do-not-enforce-no-introspection-when-cross-building.patch

diff --git 
a/meta/recipes-support/libsoup/libsoup-2.4/0001-Do-not-enforce-no-introspection-when-cross-building.patch
 
b/meta/recipes-support/libsoup/libsoup-2.4/0001-Do-not-enforce-no-introspection-when-cross-building.patch
new file mode 100644
index 000..72b029a80b6
--- /dev/null
+++ 
b/meta/recipes-support/libsoup/libsoup-2.4/0001-Do-not-enforce-no-introspection-when-cross-building.patch
@@ -0,0 +1,24 @@
+From 921888affe66953c92a08ae440e911b016b124be Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Fri, 15 Feb 2019 14:21:06 +0100
+Subject: [PATCH] Do not enforce no-introspection when cross-building
+
+Upstream-Status: Pending
+Signed-off-by: Alexander Kanavin 
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 5a92cda..cfb3520 100644
+--- a/meson.build
 b/meson.build
+@@ -262,7 +262,7 @@ enable_gnome = get_option('gnome') and 
host_machine.system() != 'windows'
+ #
+ # GObject introspection #
+ #
+-enable_introspection = get_option('introspection') and 
find_program('g-ir-scanner', required: false).found() and not 
meson.is_cross_build()
++enable_introspection = get_option('introspection') and 
find_program('g-ir-scanner', required: false).found()
+ 
+ 
+ # Vala API #
diff --git a/meta/recipes-support/libsoup/libsoup-2.4_2.64.2.bb 
b/meta/recipes-support/libsoup/libsoup-2.4_2.64.2.bb
index 9f852d5c054..ae7c1a68636 100644
--- a/meta/recipes-support/libsoup/libsoup-2.4_2.64.2.bb
+++ b/meta/recipes-support/libsoup/libsoup-2.4_2.64.2.bb
@@ -9,20 +9,37 @@ DEPENDS = "glib-2.0 glib-2.0-native libxml2 sqlite3 
intltool-native libpsl"
 
 SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
 
-SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz"
+SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \
+   
file://0001-Do-not-enforce-no-introspection-when-cross-building.patch \
+   "
 SRC_URI[md5sum] = "cac755dc6c6acd6e0c70007f547548f5"
 SRC_URI[sha256sum] = 
"75ddc194a5b1d6f25033bb9d355f04bfe5c03e0e1c71ed0774104457b3a786c6"
 
 S = "${WORKDIR}/libsoup-${PV}"
 
-inherit autotools gettext pkgconfig upstream-version-is-even 
gobject-introspection gtk-doc
+inherit meson gettext pkgconfig upstream-version-is-even gobject-introspection 
gtk-doc
 
 # libsoup-gnome is entirely deprecated and just stubs in 2.42 onwards. Disable 
by default.
 PACKAGECONFIG ??= ""
-PACKAGECONFIG[gnome] = "--with-gnome,--without-gnome"
-PACKAGECONFIG[gssapi] = "--with-gssapi,--without-gssapi,krb5"
+PACKAGECONFIG[gnome] = "-Dgnome=true,-Dgnome=false"
+PACKAGECONFIG[gssapi] = "-Dgssapi=true,-Dgssapi=false,krb5"
+
+EXTRA_OEMESON_append = " -Dvapi=false"
+
+GTKDOC_ENABLE_FLAG = "-Ddoc=true"
+GTKDOC_DISABLE_FLAG = "-Ddoc=false"
+
+GI_ENABLE_FLAG = "-Dintrospection=true"
+GI_DISABLE_FLAG = "-Dintrospection=false"
+
+EXTRA_OEMESON_append_class-nativesdk = " ${GI_DISABLE_FLAG}"
+
+EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 
'True', '${GI_ENABLE_FLAG}', \
+   
'${GI_DISABLE_FLAG}', d)} "
+
+EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 
'True', '${GTKDOC_ENABLE_FLAG}', \
+   
  '${GTKDOC_DISABLE_FLAG}', d)} "
 
-EXTRA_OECONF = "--disable-vala"
 
 # When built without gnome support, libsoup-2.4 will contain only one shared 
lib
 # and will therefore become subject to renaming by debian.bbclass. Prevent
-- 
2.17.1

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


[OE-core] [PATCH 1/8] clutter-gtk-1.0: convert to meson

2019-02-19 Thread Alexander Kanavin
This required adding an option to control gobject introspection
via a custom patch, and tweaking clutter.bbclass to not enforce
autotools.

Signed-off-by: Alexander Kanavin 
---
 meta/classes/clutter.bbclass  |  3 +-
 .../clutter/clutter-gtk-1.0.inc   | 20 +-
 ...iable-for-enabling-disabling-introsp.patch | 37 +++
 .../clutter/clutter-gtk-1.0_1.8.4.bb  |  1 +
 4 files changed, 58 insertions(+), 3 deletions(-)
 create mode 100644 
meta/recipes-graphics/clutter/clutter-gtk-1.0/0001-Add-a-config-variable-for-enabling-disabling-introsp.patch

diff --git a/meta/classes/clutter.bbclass b/meta/classes/clutter.bbclass
index 5edab0e55d6..24b53a13e40 100644
--- a/meta/classes/clutter.bbclass
+++ b/meta/classes/clutter.bbclass
@@ -14,4 +14,5 @@ REALNAME = "${@get_real_name("${BPN}")}"
 SRC_URI = 
"${GNOME_MIRROR}/${REALNAME}/${VERMINOR}/${REALNAME}-${PV}.tar.xz;name=archive"
 S = "${WORKDIR}/${REALNAME}-${PV}"
 
-inherit autotools pkgconfig gtk-doc gettext
+CLUTTERBASEBUILDCLASS ??= "autotools"
+inherit ${CLUTTERBASEBUILDCLASS} pkgconfig gtk-doc gettext
diff --git a/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc 
b/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc
index 05c4e5f5caa..4e82f566057 100644
--- a/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc
+++ b/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc
@@ -2,7 +2,9 @@ SUMMARY = "Library for embedding a Clutter canvas in a GTK+ 
application"
 HOMEPAGE = "http://www.clutter-project.org/;
 LICENSE = "LGPLv2+"
 
-inherit clutter distro_features_check upstream-version-is-even 
gobject-introspection
+CLUTTERBASEBUILDCLASS = "meson"
+inherit clutter distro_features_check upstream-version-is-even 
gobject-introspection gtk-doc
+
 # depends on clutter-1.0 which depends on cogl-1.0
 REQUIRED_DISTRO_FEATURES ?= "opengl"
 # depends on gtk+3
@@ -10,6 +12,20 @@ ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
 DEPENDS = "clutter-1.0 gtk+3"
 PACKAGES  =+ "${PN}-examples"
-AUTOTOOLS_AUXDIR = "${S}/build"
+
+GTKDOC_ENABLE_FLAG = "-Denable_docs=true"
+GTKDOC_DISABLE_FLAG = "-Denable_docs=false"
+
+GI_ENABLE_FLAG = "-Denable_gi=true"
+GI_DISABLE_FLAG = "-Denable_gi=false"
+
+EXTRA_OEMESON_append_class-nativesdk = " ${GI_DISABLE_FLAG}"
+
+EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 
'True', '${GI_ENABLE_FLAG}', \
+   
'${GI_DISABLE_FLAG}', d)} "
+
+EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GTKDOC_ENABLED', 
'True', '${GTKDOC_ENABLE_FLAG}', \
+   
  '${GTKDOC_DISABLE_FLAG}', d)} "
+
 
 
diff --git 
a/meta/recipes-graphics/clutter/clutter-gtk-1.0/0001-Add-a-config-variable-for-enabling-disabling-introsp.patch
 
b/meta/recipes-graphics/clutter/clutter-gtk-1.0/0001-Add-a-config-variable-for-enabling-disabling-introsp.patch
new file mode 100644
index 000..e21c6fd9036
--- /dev/null
+++ 
b/meta/recipes-graphics/clutter/clutter-gtk-1.0/0001-Add-a-config-variable-for-enabling-disabling-introsp.patch
@@ -0,0 +1,37 @@
+From 7233883c6bd4e80c0e91b29b5c76fe798023e9fe Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Mon, 11 Feb 2019 16:41:13 +0100
+Subject: [PATCH] Add a config variable for enabling/disabling introspection
+
+Upstream-Status: Pending
+Signed-off-by: Alexander Kanavin 
+---
+ clutter-gtk/meson.build | 2 +-
+ meson_options.txt   | 4 
+ 2 files changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/clutter-gtk/meson.build b/clutter-gtk/meson.build
+index 5d6847d..5d934b6 100644
+--- a/clutter-gtk/meson.build
 b/clutter-gtk/meson.build
+@@ -49,7 +49,7 @@ clutter_gtk_dep = declare_dependency(link_with: clutter_gtk,
+  dependencies: [ mathlib_dep, 
clutter_dep, gtk_dep ],
+  include_directories: 
include_directories('.'))
+ 
+-if not meson.is_cross_build()
++if get_option('enable_gi')
+   gnome.generate_gir(clutter_gtk,
+  sources: clutter_gtk_headers + clutter_gtk_sources,
+  namespace: 'GtkClutter',
+diff --git a/meson_options.txt b/meson_options.txt
+index aaf59f1..b7e51c3 100644
+--- a/meson_options.txt
 b/meson_options.txt
+@@ -2,3 +2,7 @@ option('enable_docs',
+type: 'boolean',
+value: false,
+description: 'Enable generating the API reference (depends on 
GTK-Doc)')
++option('enable_gi',
++   type: 'boolean',
++   value: false,
++   description: 'Enable gobject introspection')
diff --git a/meta/recipes-graphics/clutter/clutter-gtk-1.0_1.8.4.bb 
b/meta/recipes-graphics/clutter/clutter-gtk-1.0_1.8.4.bb
index f0300c7164c..53948c89442 100644
--- a/meta/recipes-graphics/clutter/clutter-gtk-1.0_1.8.4.bb
+++ b/meta/recipes-graphics/clutter/clutter-gtk-1.0_1.8.4.bb
@@ -2,5 +2,6 @@ require clutter-gtk-1.0.inc
 
 LIC_FILES_CHKSUM 

[OE-core] [PATCH 2/8] meson: add a couple of patches to help with mingw builds

2019-02-19 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/meson/meson.inc |  2 ++
 ...s-windows-split-WINDRES-env-variable.patch | 26 +++
 ...etect-windows-also-if-the-system-str.patch | 25 ++
 3 files changed, 53 insertions(+)
 create mode 100644 
meta/recipes-devtools/meson/meson/0001-modules-windows-split-WINDRES-env-variable.patch
 create mode 100644 
meta/recipes-devtools/meson/meson/0002-environment.py-detect-windows-also-if-the-system-str.patch

diff --git a/meta/recipes-devtools/meson/meson.inc 
b/meta/recipes-devtools/meson/meson.inc
index d37afc3b0dc..c39b1a3d5e2 100644
--- a/meta/recipes-devtools/meson/meson.inc
+++ b/meta/recipes-devtools/meson/meson.inc
@@ -12,6 +12,8 @@ SRC_URI = 
"https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${P

file://0001-python-module-do-not-manipulate-the-environment-when.patch \
file://disable-rpath-handling.patch \
file://cross-libdir.patch \
+   file://0001-modules-windows-split-WINDRES-env-variable.patch \
+   
file://0002-environment.py-detect-windows-also-if-the-system-str.patch \
"
 SRC_URI[sha256sum] = 
"fb0395c4ac208eab381cd1a20571584bdbba176eb562a7efa9cb17cace0e1551"
 SRC_URI[md5sum] = "3c35b91e8040901034809576d54007c6"
diff --git 
a/meta/recipes-devtools/meson/meson/0001-modules-windows-split-WINDRES-env-variable.patch
 
b/meta/recipes-devtools/meson/meson/0001-modules-windows-split-WINDRES-env-variable.patch
new file mode 100644
index 000..c334e6dd66b
--- /dev/null
+++ 
b/meta/recipes-devtools/meson/meson/0001-modules-windows-split-WINDRES-env-variable.patch
@@ -0,0 +1,26 @@
+From 5293d0f5067b2aeefe9ce3c175c972de367589bc Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Wed, 13 Feb 2019 17:43:54 +0100
+Subject: [PATCH] modules/windows: split WINDRES env variable
+
+As it may contain not just the binary, but also the arguments to it.
+
+Upstream-Status: Pending
+Signed-off-by: Alexander Kanavin 
+---
+ mesonbuild/modules/windows.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mesonbuild/modules/windows.py b/mesonbuild/modules/windows.py
+index d185d89..dbaeb9b 100644
+--- a/mesonbuild/modules/windows.py
 b/mesonbuild/modules/windows.py
+@@ -56,7 +56,7 @@ class WindowsModule(ExtensionModule):
+ if 'WINDRES' in os.environ:
+ # Pick-up env var WINDRES if set. This is often used for
+ # specifying an arch-specific windres.
+-rescomp = ExternalProgram('windres', 
command=os.environ.get('WINDRES'), silent=True)
++rescomp = ExternalProgram('windres', 
command=os.environ.get('WINDRES').split(), silent=True)
+ 
+ if not rescomp or not rescomp.found():
+ # Take windres from the config file after the environment, which 
is
diff --git 
a/meta/recipes-devtools/meson/meson/0002-environment.py-detect-windows-also-if-the-system-str.patch
 
b/meta/recipes-devtools/meson/meson/0002-environment.py-detect-windows-also-if-the-system-str.patch
new file mode 100644
index 000..1be5d663291
--- /dev/null
+++ 
b/meta/recipes-devtools/meson/meson/0002-environment.py-detect-windows-also-if-the-system-str.patch
@@ -0,0 +1,25 @@
+From 7bf4c2c02eb7fe1bf24b23e3ba2d7df36495e0aa Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Wed, 13 Feb 2019 17:45:09 +0100
+Subject: [PATCH] environment.py: detect windows also if the system string
+ contains 'mingw'
+
+Upstream-Status: Pending
+Signed-off-by: Alexander Kanavin 
+---
+ mesonbuild/environment.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
+index b4fc0dc..845077e 100644
+--- a/mesonbuild/environment.py
 b/mesonbuild/environment.py
+@@ -1247,7 +1247,7 @@ class MachineInfo:
+ """
+ Machine is windows?
+ """
+-return self.system == 'windows'
++return self.system == 'windows' or 'mingw' in self.system
+ 
+ def is_cygwin(self):
+ """
-- 
2.17.1

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


[OE-core] [PATCH] glibc: support powerpc e5500 and e6500

2019-02-19 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 .../glibc/0031-glibc-support-e5500-and-e6500.patch | 564 +
 meta/recipes-core/glibc/glibc_2.29.bb  |   1 +
 2 files changed, 565 insertions(+)
 create mode 100644 
meta/recipes-core/glibc/glibc/0031-glibc-support-e5500-and-e6500.patch

diff --git 
a/meta/recipes-core/glibc/glibc/0031-glibc-support-e5500-and-e6500.patch 
b/meta/recipes-core/glibc/glibc/0031-glibc-support-e5500-and-e6500.patch
new file mode 100644
index 000..146115a
--- /dev/null
+++ b/meta/recipes-core/glibc/glibc/0031-glibc-support-e5500-and-e6500.patch
@@ -0,0 +1,564 @@
+From 70dc75d3da86dea8b6ebdaedfa76e625a076678e Mon Sep 17 00:00:00 2001
+From: Chunrong Guo 
+Date: Wed, 31 Oct 2018 17:56:24 +0800
+Subject: [PATCH] glibc: support e5500 and e6500
+
+Upstream-Status: Pending
+
+Signed-off-by: BJ DevOps Team 
+---
+ sysdeps/powerpc/powerpc64/be/e5500/Implies |   2 +
+ sysdeps/powerpc/powerpc64/be/e5500/fpu/e_sqrt.c| 137 +
+ sysdeps/powerpc/powerpc64/be/e5500/fpu/e_sqrtf.c   | 103 
+ .../powerpc/powerpc64/be/e5500/multiarch/Implies   |   1 +
+ sysdeps/powerpc/powerpc64/be/e6500/Implies |   2 +
+ sysdeps/powerpc/powerpc64/be/e6500/fpu/e_sqrt.c| 137 +
+ sysdeps/powerpc/powerpc64/be/e6500/fpu/e_sqrtf.c   | 103 
+ .../powerpc/powerpc64/be/e6500/multiarch/Implies   |   1 +
+ 8 files changed, 486 insertions(+)
+ create mode 100644 sysdeps/powerpc/powerpc64/be/e5500/Implies
+ create mode 100644 sysdeps/powerpc/powerpc64/be/e5500/fpu/e_sqrt.c
+ create mode 100644 sysdeps/powerpc/powerpc64/be/e5500/fpu/e_sqrtf.c
+ create mode 100644 sysdeps/powerpc/powerpc64/be/e5500/multiarch/Implies
+ create mode 100644 sysdeps/powerpc/powerpc64/be/e6500/Implies
+ create mode 100644 sysdeps/powerpc/powerpc64/be/e6500/fpu/e_sqrt.c
+ create mode 100644 sysdeps/powerpc/powerpc64/be/e6500/fpu/e_sqrtf.c
+ create mode 100644 sysdeps/powerpc/powerpc64/be/e6500/multiarch/Implies
+
+diff --git a/sysdeps/powerpc/powerpc64/be/e5500/Implies 
b/sysdeps/powerpc/powerpc64/be/e5500/Implies
+new file mode 100644
+index 000..a795586
+--- /dev/null
 b/sysdeps/powerpc/powerpc64/be/e5500/Implies
+@@ -0,0 +1,2 @@
++powerpc/powerpc64/e5500
++
+diff --git a/sysdeps/powerpc/powerpc64/be/e5500/fpu/e_sqrt.c 
b/sysdeps/powerpc/powerpc64/be/e5500/fpu/e_sqrt.c
+new file mode 100644
+index 000..13a8197
+--- /dev/null
 b/sysdeps/powerpc/powerpc64/be/e5500/fpu/e_sqrt.c
+@@ -0,0 +1,137 @@
++/* Double-precision floating point square root.
++   Copyright (C) 2010 Free Software Foundation, Inc.
++   This file is part of the GNU C Library.
++
++   The GNU C Library is free software; you can redistribute it and/or
++   modify it under the terms of the GNU Lesser General Public
++   License as published by the Free Software Foundation; either
++   version 2.1 of the License, or (at your option) any later version.
++
++   The GNU C Library is distributed in the hope that it will be useful,
++   but WITHOUT ANY WARRANTY; without even the implied warranty of
++   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++   Lesser General Public License for more details.
++
++   You should have received a copy of the GNU Lesser General Public
++   License along with the GNU C Library; if not, write to the Free
++   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
++   02111-1307 USA.  */
++
++#include 
++#include 
++#include 
++#include 
++
++#include 
++#include 
++
++static const ieee_float_shape_type a_nan = {.word = 0x7fc0 };
++static const ieee_float_shape_type a_inf = {.word = 0x7f80 };
++static const float two108 = 3.245185536584267269e+32;
++static const float twom54 = 5.551115123125782702e-17;
++static const float half = 0.5;
++
++/* The method is based on the descriptions in:
++
++   _The Handbook of Floating-Pointer Arithmetic_ by Muller et al., chapter 5;
++   _IA-64 and Elementary Functions: Speed and Precision_ by Markstein, 
chapter 9
++
++   We find the actual square root and half of its reciprocal
++   simultaneously.  */
++
++double
++__slow_ieee754_sqrt (double b)
++{
++  if (__builtin_expect (b > 0, 1))
++{
++  double y, g, h, d, r;
++  ieee_double_shape_type u;
++
++  if (__builtin_expect (b != a_inf.value, 1))
++{
++  fenv_t fe;
++
++  fe = fegetenv_register ();
++
++  u.value = b;
++
++  relax_fenv_state ();
++
++  __asm__ ("frsqrte %[estimate], %[x]\n"
++   : [estimate] "=f" (y) : [x] "f" (b));
++
++  /* Following Muller et al, page 168, equation 5.20.
++
++ h goes to 1/(2*sqrt(b))
++ g goes to sqrt(b).
++
++ We need three iterations to get within 1ulp.  */
++
++  /* Indicate that these can be performed prior to the branch.  GCC
++ insists on sinking them below the branch, however; it seems like
++   

Re: [OE-core] [PATCH 7/8] glib-2.0: convert from autotools to meson

2019-02-19 Thread Alexander Kanavin
Thanks, I have now corrected it, and sent another updated patch.

Alex


On Tue, 19 Feb 2019 at 07:58, Khem Raj  wrote:
>
> seeing an error armv5te/thumb
> https://errors.yoctoproject.org/Errors/Details/228765/
>
> On Mon, Feb 18, 2019 at 4:42 AM Alexander Kanavin
>  wrote:
> >
> > PRINTF settings no longer seem necessary (tested with mingw).
> >
> > Add meson-specific bits to Enable-more-tests-while-cross-compiling.patch and
> > 0001-Install-gio-querymodules-as-libexec_PROGRAM.patch
> >
> > Add 0001-Set-host_machine-correctly-when-building-with-mingw3.patch
> > to allow 'mingw32' as target machine in addition to 'windows'.
> >
> > Drop configure-libtool.patch and uclibc_musl_translation.patch
> > (both autotools-specific).
> >
> > Signed-off-by: Alexander Kanavin 
> > ---
> >  ...t-write-bindir-into-pkg-config-files.patch | 50 ++
> >  ...-gio-querymodules-as-libexec_PROGRAM.patch | 17 +++-
> >  ...-correctly-when-building-with-mingw3.patch | 81 +
> >  ...ble-more-tests-while-cross-compiling.patch | 91 ++-
> >  .../glib-2.0/glib-2.0/configure-libtool.patch | 44 -
> >  .../glib-2.0/glib-2.0/relocate-modules.patch  |  2 +-
> >  .../glib-2.0/uclibc_musl_translation.patch| 22 -
> >  meta/recipes-core/glib-2.0/glib-2.0_2.58.3.bb |  4 +-
> >  meta/recipes-core/glib-2.0/glib.inc   | 33 ---
> >  9 files changed, 256 insertions(+), 88 deletions(-)
> >  create mode 100644 
> > meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch
> >  create mode 100644 
> > meta/recipes-core/glib-2.0/glib-2.0/0001-Set-host_machine-correctly-when-building-with-mingw3.patch
> >  delete mode 100644 
> > meta/recipes-core/glib-2.0/glib-2.0/configure-libtool.patch
> >  delete mode 100644 
> > meta/recipes-core/glib-2.0/glib-2.0/uclibc_musl_translation.patch
> >
> > diff --git 
> > a/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch
> >  
> > b/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch
> > new file mode 100644
> > index 000..ede29c90bab
> > --- /dev/null
> > +++ 
> > b/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch
> > @@ -0,0 +1,50 @@
> > +From 474e59abec88de0c455836c1f53152bf2aa26c34 Mon Sep 17 00:00:00 2001
> > +From: Alexander Kanavin 
> > +Date: Fri, 15 Feb 2019 11:17:27 +0100
> > +Subject: [PATCH] Do not write $bindir into pkg-config files
> > +
> > +This would otherwise break when using the files to build other target
> > +components (we need to rely on PATH containing the paths to utilities,
> > +rather than use target paths).
> > +
> > +Upstream-Status: Inappropriate [upstream wants the paths in .pc files]
> > +Signed-off-by: Alexander Kanavin 
> > +---
> > + gio/meson.build  | 6 +++---
> > + glib/meson.build | 6 +++---
> > + 2 files changed, 6 insertions(+), 6 deletions(-)
> > +
> > +diff --git a/gio/meson.build b/gio/meson.build
> > +index 85d8b14..657720a 100644
> > +--- a/gio/meson.build
> >  b/gio/meson.build
> > +@@ -813,9 +813,9 @@ pkg.generate(libraries : libgio,
> > +'schemasdir=' + join_paths('${datadir}', schemas_subdir),
> > +'bindir=' + join_paths('${prefix}', get_option('bindir')),
> > +'giomoduledir=' + giomodulesdir,
> > +-   'glib_compile_schemas=' + join_paths('${bindir}', 
> > 'glib-compile-schemas'),
> > +-   'glib_compile_resources=' + join_paths('${bindir}', 
> > 'glib-compile-resources'),
> > +-   'gdbus_codegen=' + join_paths('${bindir}', 
> > 'gdbus-codegen')],
> > ++   'glib_compile_schemas=glib-compile-schemas',
> > ++   'glib_compile_resources=glib-compile-resources',
> > ++   'gdbus_codegen=gdbus-codegen'],
> > +   version : glib_version,
> > +   install_dir : glib_pkgconfigreldir,
> > +   filebase : 'gio-2.0',
> > +diff --git a/glib/meson.build b/glib/meson.build
> > +index c05c694..434e8b1 100644
> > +--- a/glib/meson.build
> >  b/glib/meson.build
> > +@@ -261,9 +261,9 @@ pkg.generate(libraries : [libglib, libintl],
> > +   subdirs : ['glib-2.0'],
> > +   extra_cflags : ['-I${libdir}/glib-2.0/include'] + win32_cflags,
> > +   variables : ['bindir=' + join_paths('${prefix}', get_option('bindir')),
> > +-   'glib_genmarshal=' + join_paths('${bindir}', 
> > 'glib-genmarshal'),
> > +-   'gobject_query=' + join_paths('${bindir}', 
> > 'gobject-query'),
> > +-   'glib_mkenums=' + join_paths('${bindir}', 'glib-mkenums')],
> > ++   'glib_genmarshal=glib-genmarshal',
> > ++   'gobject_query=gobject-query',
> > ++   'glib_mkenums=glib-mkenums'],
> > +   version : glib_version,
> > +   install_dir : glib_pkgconfigreldir,
> > +   filebase : 'glib-2.0',
> > diff --git 
> > a/meta/recipes-core/glib-2.0/glib-2.0/0001-Install-gio-querymodules-as-libexec_PROGRAM.patch
> >  
> > 

[OE-core] [PATCH] glib-2.0: convert from autotools to meson

2019-02-19 Thread Alexander Kanavin
PRINTF settings no longer seem necessary (tested with mingw).

Add meson-specific bits to Enable-more-tests-while-cross-compiling.patch and
0001-Install-gio-querymodules-as-libexec_PROGRAM.patch

Add 0001-Set-host_machine-correctly-when-building-with-mingw3.patch
to allow 'mingw32' as target machine in addition to 'windows'.

Add 0001-meson.build-do-not-hardcode-linux-as-the-host-system.patch to
correct ARM build errors.

Drop configure-libtool.patch and uclibc_musl_translation.patch
(both autotools-specific).

Signed-off-by: Alexander Kanavin 
---
 ...t-write-bindir-into-pkg-config-files.patch | 50 ++
 ...-gio-querymodules-as-libexec_PROGRAM.patch | 17 +++-
 ...-correctly-when-building-with-mingw3.patch | 81 +
 ...ot-hardcode-linux-as-the-host-system.patch | 27 ++
 ...ble-more-tests-while-cross-compiling.patch | 91 ++-
 .../glib-2.0/glib-2.0/configure-libtool.patch | 44 -
 .../glib-2.0/glib-2.0/relocate-modules.patch  |  2 +-
 .../glib-2.0/uclibc_musl_translation.patch| 22 -
 meta/recipes-core/glib-2.0/glib-2.0_2.58.3.bb |  5 +-
 meta/recipes-core/glib-2.0/glib.inc   | 35 ---
 10 files changed, 286 insertions(+), 88 deletions(-)
 create mode 100644 
meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch
 create mode 100644 
meta/recipes-core/glib-2.0/glib-2.0/0001-Set-host_machine-correctly-when-building-with-mingw3.patch
 create mode 100644 
meta/recipes-core/glib-2.0/glib-2.0/0001-meson.build-do-not-hardcode-linux-as-the-host-system.patch
 delete mode 100644 meta/recipes-core/glib-2.0/glib-2.0/configure-libtool.patch
 delete mode 100644 
meta/recipes-core/glib-2.0/glib-2.0/uclibc_musl_translation.patch

diff --git 
a/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch
 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch
new file mode 100644
index 000..ede29c90bab
--- /dev/null
+++ 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch
@@ -0,0 +1,50 @@
+From 474e59abec88de0c455836c1f53152bf2aa26c34 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Fri, 15 Feb 2019 11:17:27 +0100
+Subject: [PATCH] Do not write $bindir into pkg-config files
+
+This would otherwise break when using the files to build other target
+components (we need to rely on PATH containing the paths to utilities,
+rather than use target paths).
+
+Upstream-Status: Inappropriate [upstream wants the paths in .pc files]
+Signed-off-by: Alexander Kanavin 
+---
+ gio/meson.build  | 6 +++---
+ glib/meson.build | 6 +++---
+ 2 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/gio/meson.build b/gio/meson.build
+index 85d8b14..657720a 100644
+--- a/gio/meson.build
 b/gio/meson.build
+@@ -813,9 +813,9 @@ pkg.generate(libraries : libgio,
+'schemasdir=' + join_paths('${datadir}', schemas_subdir),
+'bindir=' + join_paths('${prefix}', get_option('bindir')),
+'giomoduledir=' + giomodulesdir,
+-   'glib_compile_schemas=' + join_paths('${bindir}', 
'glib-compile-schemas'),
+-   'glib_compile_resources=' + join_paths('${bindir}', 
'glib-compile-resources'),
+-   'gdbus_codegen=' + join_paths('${bindir}', 'gdbus-codegen')],
++   'glib_compile_schemas=glib-compile-schemas',
++   'glib_compile_resources=glib-compile-resources',
++   'gdbus_codegen=gdbus-codegen'],
+   version : glib_version,
+   install_dir : glib_pkgconfigreldir,
+   filebase : 'gio-2.0',
+diff --git a/glib/meson.build b/glib/meson.build
+index c05c694..434e8b1 100644
+--- a/glib/meson.build
 b/glib/meson.build
+@@ -261,9 +261,9 @@ pkg.generate(libraries : [libglib, libintl],
+   subdirs : ['glib-2.0'],
+   extra_cflags : ['-I${libdir}/glib-2.0/include'] + win32_cflags,
+   variables : ['bindir=' + join_paths('${prefix}', get_option('bindir')),
+-   'glib_genmarshal=' + join_paths('${bindir}', 
'glib-genmarshal'),
+-   'gobject_query=' + join_paths('${bindir}', 'gobject-query'),
+-   'glib_mkenums=' + join_paths('${bindir}', 'glib-mkenums')],
++   'glib_genmarshal=glib-genmarshal',
++   'gobject_query=gobject-query',
++   'glib_mkenums=glib-mkenums'],
+   version : glib_version,
+   install_dir : glib_pkgconfigreldir,
+   filebase : 'glib-2.0',
diff --git 
a/meta/recipes-core/glib-2.0/glib-2.0/0001-Install-gio-querymodules-as-libexec_PROGRAM.patch
 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-Install-gio-querymodules-as-libexec_PROGRAM.patch
index 97d0aff5d6c..f246254942e 100644
--- 
a/meta/recipes-core/glib-2.0/glib-2.0/0001-Install-gio-querymodules-as-libexec_PROGRAM.patch
+++ 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-Install-gio-querymodules-as-libexec_PROGRAM.patch
@@ -1,4 +1,4 @@
-From 856045927b9ab391165c0ebabf401835f8439eab Mon Sep 17 

[OE-core] [PATCH] glibc: support powerpc e5500 and e6500

2019-02-19 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 .../glibc/0031-glibc-support-e5500-and-e6500.patch | 564 +
 meta/recipes-core/glibc/glibc_2.29.bb  |   1 +
 2 files changed, 565 insertions(+)
 create mode 100644 
meta/recipes-core/glibc/glibc/0031-glibc-support-e5500-and-e6500.patch

diff --git 
a/meta/recipes-core/glibc/glibc/0031-glibc-support-e5500-and-e6500.patch 
b/meta/recipes-core/glibc/glibc/0031-glibc-support-e5500-and-e6500.patch
new file mode 100644
index 000..146115a
--- /dev/null
+++ b/meta/recipes-core/glibc/glibc/0031-glibc-support-e5500-and-e6500.patch
@@ -0,0 +1,564 @@
+From 70dc75d3da86dea8b6ebdaedfa76e625a076678e Mon Sep 17 00:00:00 2001
+From: Chunrong Guo 
+Date: Wed, 31 Oct 2018 17:56:24 +0800
+Subject: [PATCH] glibc: support e5500 and e6500
+
+Upstream-Status: Pending
+
+Signed-off-by: BJ DevOps Team 
+---
+ sysdeps/powerpc/powerpc64/be/e5500/Implies |   2 +
+ sysdeps/powerpc/powerpc64/be/e5500/fpu/e_sqrt.c| 137 +
+ sysdeps/powerpc/powerpc64/be/e5500/fpu/e_sqrtf.c   | 103 
+ .../powerpc/powerpc64/be/e5500/multiarch/Implies   |   1 +
+ sysdeps/powerpc/powerpc64/be/e6500/Implies |   2 +
+ sysdeps/powerpc/powerpc64/be/e6500/fpu/e_sqrt.c| 137 +
+ sysdeps/powerpc/powerpc64/be/e6500/fpu/e_sqrtf.c   | 103 
+ .../powerpc/powerpc64/be/e6500/multiarch/Implies   |   1 +
+ 8 files changed, 486 insertions(+)
+ create mode 100644 sysdeps/powerpc/powerpc64/be/e5500/Implies
+ create mode 100644 sysdeps/powerpc/powerpc64/be/e5500/fpu/e_sqrt.c
+ create mode 100644 sysdeps/powerpc/powerpc64/be/e5500/fpu/e_sqrtf.c
+ create mode 100644 sysdeps/powerpc/powerpc64/be/e5500/multiarch/Implies
+ create mode 100644 sysdeps/powerpc/powerpc64/be/e6500/Implies
+ create mode 100644 sysdeps/powerpc/powerpc64/be/e6500/fpu/e_sqrt.c
+ create mode 100644 sysdeps/powerpc/powerpc64/be/e6500/fpu/e_sqrtf.c
+ create mode 100644 sysdeps/powerpc/powerpc64/be/e6500/multiarch/Implies
+
+diff --git a/sysdeps/powerpc/powerpc64/be/e5500/Implies 
b/sysdeps/powerpc/powerpc64/be/e5500/Implies
+new file mode 100644
+index 000..a795586
+--- /dev/null
 b/sysdeps/powerpc/powerpc64/be/e5500/Implies
+@@ -0,0 +1,2 @@
++powerpc/powerpc64/e5500
++
+diff --git a/sysdeps/powerpc/powerpc64/be/e5500/fpu/e_sqrt.c 
b/sysdeps/powerpc/powerpc64/be/e5500/fpu/e_sqrt.c
+new file mode 100644
+index 000..13a8197
+--- /dev/null
 b/sysdeps/powerpc/powerpc64/be/e5500/fpu/e_sqrt.c
+@@ -0,0 +1,137 @@
++/* Double-precision floating point square root.
++   Copyright (C) 2010 Free Software Foundation, Inc.
++   This file is part of the GNU C Library.
++
++   The GNU C Library is free software; you can redistribute it and/or
++   modify it under the terms of the GNU Lesser General Public
++   License as published by the Free Software Foundation; either
++   version 2.1 of the License, or (at your option) any later version.
++
++   The GNU C Library is distributed in the hope that it will be useful,
++   but WITHOUT ANY WARRANTY; without even the implied warranty of
++   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++   Lesser General Public License for more details.
++
++   You should have received a copy of the GNU Lesser General Public
++   License along with the GNU C Library; if not, write to the Free
++   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
++   02111-1307 USA.  */
++
++#include 
++#include 
++#include 
++#include 
++
++#include 
++#include 
++
++static const ieee_float_shape_type a_nan = {.word = 0x7fc0 };
++static const ieee_float_shape_type a_inf = {.word = 0x7f80 };
++static const float two108 = 3.245185536584267269e+32;
++static const float twom54 = 5.551115123125782702e-17;
++static const float half = 0.5;
++
++/* The method is based on the descriptions in:
++
++   _The Handbook of Floating-Pointer Arithmetic_ by Muller et al., chapter 5;
++   _IA-64 and Elementary Functions: Speed and Precision_ by Markstein, 
chapter 9
++
++   We find the actual square root and half of its reciprocal
++   simultaneously.  */
++
++double
++__slow_ieee754_sqrt (double b)
++{
++  if (__builtin_expect (b > 0, 1))
++{
++  double y, g, h, d, r;
++  ieee_double_shape_type u;
++
++  if (__builtin_expect (b != a_inf.value, 1))
++{
++  fenv_t fe;
++
++  fe = fegetenv_register ();
++
++  u.value = b;
++
++  relax_fenv_state ();
++
++  __asm__ ("frsqrte %[estimate], %[x]\n"
++   : [estimate] "=f" (y) : [x] "f" (b));
++
++  /* Following Muller et al, page 168, equation 5.20.
++
++ h goes to 1/(2*sqrt(b))
++ g goes to sqrt(b).
++
++ We need three iterations to get within 1ulp.  */
++
++  /* Indicate that these can be performed prior to the branch.  GCC
++ insists on sinking them below the branch, however; it seems like
++