Re: [OE-core] [PATCH] mesa: Upgrade 19.1.6 -> 19.2.1

2019-10-11 Thread Alexander Kanavin
On Fri, 11 Oct 2019 at 22:20, Fabio Berton wrote: > - Update patches with devtool finish --force-patch-refresh I'm not sure what you did exactly, but one of the patches below is incorrectly updated. Do use 'devtool upgrade', which properly rebases the patches and allows you to resolve

Re: [OE-core] [PATCH 10/19] gtk-doc: upgrade 1.31 -> 1.32

2019-10-11 Thread Alexander Kanavin
On Fri, 11 Oct 2019 at 21:30, akuster808 wrote: > > --- a/meta/recipes-gnome/gtk-doc/files/pkg-config-native.patch > > +++ b/meta/recipes-gnome/gtk-doc/files/pkg-config-native.patch > > @@ -1,4 +1,4 @@ > > -From 9537a7998a220b698b26d926a111bb400ff1ce01 Mon Sep 17 00:00:00 2001 > > +From

[OE-core] [PATCH 17/19] libmodulemd-v1: introduce the recipe

2019-10-11 Thread Alexander Kanavin
Upstream has split version 1 of the libmodulemd recipe into its own branch and removed version 1 from the master branch and 2.x releases; as libdnf requires v1 of libmodulemd, this commit introduces a v1-specific revipe. Signed-off-by: Alexander Kanavin --- meta/conf/distro/include

[OE-core] [PATCH 19/19] createrepo-c: upgrade to 0.15.1

2019-10-11 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../{createrepo-c_0.15.0.bb => createrepo-c_0.15.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/createrepo-c/{createrepo-c_0.15.0.bb => createrepo-c_0.15.1.bb} (95%) diff --git a/meta/recipes-de

[OE-core] [PATCH 16/19] meson: update to 0.52.0

2019-10-11 Thread Alexander Kanavin
Drop backported patches. Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/meson/meson.inc | 7 +-- ...efined-by-the-existance-of-a-cross-f.patch | 28 --- .../0001-Make-CPU-family-warnings-fatal.patch | 8 +-- ...etect-windows-also-if-the-system-str.patch | 29

[OE-core] [PATCH 15/19] vala: upgrade 0.44.7 -> 0.46.3

2019-10-11 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/vala/{vala_0.44.7.bb => vala_0.46.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/vala/{vala_0.44.7.bb => vala_0.46.3.bb} (57%) diff --git a/meta/recipes-devtools/vala/vala_0.44.7.bb

[OE-core] [PATCH 18/19] libmodulemd: remove the recipe

2019-10-11 Thread Alexander Kanavin
Version 2 of the recipe is not actually required by anything; the lidmodulemd dependency in createrepo-c is optional, and the libmodulemd feature is not used in YP. Signed-off-by: Alexander Kanavin --- meta/conf/distro/include/maintainers.inc | 1 - .../createrepo-c/createrepo-c_0.15.0.bb

[OE-core] [PATCH 14/19] p11-kit: upgrade 0.23.16.1 -> 0.23.18.1

2019-10-11 Thread Alexander Kanavin
Drop the patch that has been merged upstream. Signed-off-by: Alexander Kanavin --- ...-languages-for-which-upstream-does-n.patch | 29 --- ...-kit_0.23.16.1.bb => p11-kit_0.23.18.1.bb} | 6 ++-- 2 files changed, 2 insertions(+), 33 deletions(-) delete mode 100644 meta/reci

[OE-core] [PATCH 09/19] webkitgtk: update 2.24.4 -> 2.26.1

2019-10-11 Thread Alexander Kanavin
does not have. Signed-off-by: Alexander Kanavin --- ...acros-Append-to-I-and-not-to-isystem.patch | 125 -- ...streamer-add-a-missing-format-string.patch | 24 .../webkitgtk/detect-gstreamer-gl.patch | 20 --- .../webkit/webkitgtk/narrowing.patch | 31

[OE-core] [PATCH 10/19] gtk-doc: upgrade 1.31 -> 1.32

2019-10-11 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-gnome/gtk-doc/files/pkg-config-native.patch | 2 +- .../gtk-doc/{gtk-doc_1.31.bb => gtk-doc_1.32.bb} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-gnome/gtk-doc/{gtk-doc_1.31.bb => gtk-do

[OE-core] [PATCH 11/19] libdazzle: upgrade 3.32.3 -> 3.34.1

2019-10-11 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../libdazzle/{libdazzle_3.32.3.bb => libdazzle_3.34.1.bb}| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-gnome/libdazzle/{libdazzle_3.32.3.bb => libdazzle_3.34.1.bb} (73%) diff --git a/meta/recipes-gnome/lib

[OE-core] [PATCH 08/19] epiphany: upgrade 3.32.4 -> 3.34.1

2019-10-11 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../epiphany/{epiphany_3.32.4.bb => epiphany_3.34.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-gnome/epiphany/{epiphany_3.32.4.bb => epiphany_3.34.1.bb} (84%) diff --git a/meta/recipes-gnome/ep

[OE-core] [PATCH 13/19] mpg123: upgrade 1.25.11 -> 1.25.12

2019-10-11 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../mpg123/{mpg123_1.25.11.bb => mpg123_1.25.12.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-multimedia/mpg123/{mpg123_1.25.11.bb => mpg123_1.25.12.bb} (94%) diff --git a/meta/recipes-multimedia/

[OE-core] [PATCH 07/19] sysprof: update to 3.34.1

2019-10-11 Thread Alexander Kanavin
0001-Do-not-build-anything-in-help-as-it-requires-itstool.patch is replaced by a meson option. Signed-off-by: Alexander Kanavin --- ...thing-in-help-as-it-requires-itstool.patch | 27 -- ...-Define-NT_GNU_BUILD_ID-if-undefined.patch | 35 +++ .../files/define

[OE-core] [PATCH 12/19] libsecret: upgrade 0.19.0 -> 0.19.1

2019-10-11 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../libsecret/{libsecret_0.19.0.bb => libsecret_0.19.1.bb}| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-gnome/libsecret/{libsecret_0.19.0.bb => libsecret_0.19.1.bb} (81%) diff --git a/meta/recipes-gnome/lib

[OE-core] [PATCH 06/19] glib-networking: update to 2.62.1

2019-10-11 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../{glib-networking_2.60.3.bb => glib-networking_2.62.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-core/glib-networking/{glib-networking_2.60.3.bb => glib-networking_2.62.1.bb} (88%) diff --git a/meta/recipe

[OE-core] [PATCH 03/19] runqemu: unset another environment variable for 'egl-headless'

2019-10-11 Thread Alexander Kanavin
Some host distributions (opensuse for example) are using 'pkgconf', which, unlike the original pkg-config, appends PKG_CONFIG_SYSROOT_DIR to every directory from the .pc file. Signed-off-by: Alexander Kanavin --- scripts/runqemu | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts

[OE-core] [PATCH 04/19] gobject-introspection: update to 1.62.0

2019-10-11 Thread Alexander Kanavin
Upstream has removed autotools support entirely, so we can drop the chunks of patches that touch it. Signed-off-by: Alexander Kanavin --- ...t-cross-compilation-support-to-meson.patch | 20 +- ...pository-directory-for-native-builds.patch | 6 +- ...lete-upstream-attempt-at-cross-compi.patch

[OE-core] [PATCH 05/19] glib-2.0: upgrade to 2.62.1

2019-10-11 Thread Alexander Kanavin
Drop backported 0001-meson-do-a-build-time-check-for-strlcpy-before-attem.patch and 0001-meson.build-do-not-hardcode-linux-as-the-host-system.patch where upstream has removed the problematic bit. Signed-off-by: Alexander Kanavin --- ...t-write-bindir-into-pkg-config-files.patch | 31

[OE-core] [PATCH 02/19] oe-selftest: extend virgl gtk test to also check the SDL option

2019-10-11 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/lib/oeqa/selftest/cases/runtime_test.py | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index 3f212bd0eac..8f98a9ead46

[OE-core] [PATCH 01/19] runqemu: add options that enable virgl with the SDL frontend

2019-10-11 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- scripts/runqemu | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index 1a5aca98ac7..22671f19ec3 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -67,9 +67,9 @@ of the following

[OE-core] [PATCH 08/10] elfutils: do not depend on target libtool

2019-10-10 Thread Alexander Kanavin
This seems to be entirely unneeded. Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/elfutils/elfutils_0.177.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/elfutils/elfutils_0.177.bb b/meta/recipes-devtools/elfutils/elfutils_0.177.bb

[OE-core] [PATCH 10/10] license_image.bbclass: check and reject packages which have incompatible licenses

2019-10-10 Thread Alexander Kanavin
gplv2 layer, while still enforcing the no-gpl3 rule where possible and needed. Signed-off-by: Alexander Kanavin --- meta/classes/license_image.bbclass| 10 +- .../oeqa/selftest/cases/incompatible_lic.py | 34 +++ 2 files changed, 43 insertions(+), 1 deletion(-) d

[OE-core] [PATCH 03/10] python3: make gdbm optional

2019-10-10 Thread Alexander Kanavin
The use case is building a gpl3-free image, without having to rely on outdated recipes from meta-gplv2 layer. Signed-off-by: Alexander Kanavin --- ...fig-append-STAGING_LIBDIR-python-sys.patch | 10 +++--- ...ON3HOME-is-set-use-instead-of-PYTHON.patch | 10 +++--- ...report-missing-dependencies

[OE-core] [PATCH 06/10] iproute2: make elfutils support optional

2019-10-10 Thread Alexander Kanavin
The use case is as well allowing gpl3-free builds without pulling in outdated meta-gpl2 recipes. Signed-off-by: Alexander Kanavin --- meta/recipes-connectivity/iproute2/iproute2.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-connectivity/iproute2

[OE-core] [PATCH 09/10] license.bbclass: split incompatible license check into a helper function

2019-10-10 Thread Alexander Kanavin
This would help with checking incompatible licenses at do_rootfs step in image creation, where it is beneficial to pass the license string directly to the function. Signed-off-by: Alexander Kanavin --- meta/classes/license.bbclass | 25 ++--- 1 file changed, 14 insertions

[OE-core] [PATCH 07/10] bind: do not RDEPEND on bash

2019-10-10 Thread Alexander Kanavin
Nothing in the target installation actually needs it. Signed-off-by: Alexander Kanavin --- meta/recipes-connectivity/bind/bind_9.11.5-P4.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/recipes-connectivity/bind/bind_9.11.5-P4.bb b/meta/recipes-connectivity/bind/bind_9.11.5-P4.bb

[OE-core] [PATCH 04/10] python3: un-break disabling the readline PACKAGECONFIG

2019-10-10 Thread Alexander Kanavin
Previously the readline module would have been built regardless of readline's presence in the sysroot, and the recipe would fail at package_qa. Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/python/python3_3.7.4.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes

[OE-core] [PATCH 05/10] libcheck: split /usr/bin/checkmk into its own package

2019-10-10 Thread Alexander Kanavin
This allows not pulling in gawk, which is gplv3 licensed when only the libcheck library itself is needed. checkmk is a development tool that writes out a C boilerplate for tests. Signed-off-by: Alexander Kanavin --- meta/recipes-support/libcheck/libcheck_0.12.0.bb | 9 +++-- 1 file changed

[OE-core] [PATCH 02/10] perl: make gdbm optional

2019-10-10 Thread Alexander Kanavin
Recent versions of gdbm are gplv3, so in some scenarios it is beneficial to not depend on it. (thanks Ross for leading the way with the db option :) Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/perl/perl_5.30.0.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff

[OE-core] [PATCH 01/10] socat: turn hard readline dependency into an option

2019-10-10 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-connectivity/socat/socat_1.7.3.3.bb | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meta/recipes-connectivity/socat/socat_1.7.3.3.bb b/meta/recipes-connectivity/socat/socat_1.7.3.3.bb index 067f7c64443..1dbbe5cd558

Re: [OE-core] [PATCH 03/13] qemu: switch to '-vga std' emulated hardware from vmware/cirrus for x86/mips

2019-10-10 Thread Alexander Kanavin
On Thu, 10 Oct 2019 at 08:16, Changqing Li wrote: > After switch from -vga vmware to -vga std (use qemux86-64), start image > by "runqemu nographic", > > Memory used by process Xorg raised a lot, for my image, from ~%7 to > ~%34 (check by ps aux --sort -rss) > > also check memory by command

Re: [OE-core] [RFC PATCH 2/2] license_image.bbclass: check and reject packages which have incompatible licenses

2019-10-09 Thread Alexander Kanavin
t to you in your gplv2 work, perhaps? Specifically > handling the whitelisting. > > On Wed, Oct 9, 2019 at 8:45 AM Alexander Kanavin > wrote: > >> The use case is setting INCOMPATIBLE_LICENSE per image, >> rather than as an awkward, and too strict global setting. >>

[OE-core] [RFC PATCH 1/2] license.bbclass: split incompatible license check into a helper function

2019-10-09 Thread Alexander Kanavin
This would help with checking incompatible licenses at do_rootfs step in image creation, where it is beneficial to pass the license string directly to the function. Signed-off-by: Alexander Kanavin --- meta/classes/license.bbclass | 25 ++--- 1 file changed, 14 insertions

[OE-core] [RFC PATCH 2/2] license_image.bbclass: check and reject packages which have incompatible licenses

2019-10-09 Thread Alexander Kanavin
icense; this is accepted, but only 'other' is added to the license manifest (this was already handled correctly previously). Eventually, this would allow deprecating the meta-gplv2 layer, while still enforcing the no-gpl3 rule where possible and needed. Signed-off-by: Alexander Ka

Re: [OE-core] [PATCH 2/2] ethtool, libcap: fix upstream version check

2019-10-02 Thread Alexander Kanavin
On Wed, 2 Oct 2019 at 20:18, Adrian Bunk wrote: > On Wed, Oct 02, 2019 at 08:08:08PM +0200, Alexander Kanavin wrote: > > On Wed, 2 Oct 2019 at 19:51, Adrian Bunk wrote: > > > > > Works for me without your patch: > > > > I am not sure what this may mean; bu

Re: [OE-core] [PATCH 2/2] ethtool, libcap: fix upstream version check

2019-10-02 Thread Alexander Kanavin
On Wed, 2 Oct 2019 at 19:51, Adrian Bunk wrote: > Works for me without your patch: > I am not sure what this may mean; but for me the patch definitely solves the problem. Alex -- ___ Openembedded-core mailing list

[OE-core] [PATCH 2/2] ethtool, libcap: fix upstream version check

2019-10-02 Thread Alexander Kanavin
The default URI returns a gzip-compressed index page which browsers can auto-detect, but we can't. Signed-off-by: Alexander Kanavin --- meta/recipes-extended/ethtool/ethtool_5.2.bb | 2 ++ meta/recipes-support/libcap/libcap_2.27.bb | 2 ++ 2 files changed, 4 insertions(+) diff --git a/meta

[OE-core] [PATCH 1/2] binutils: drop UPSTREAM_VERSION_UNKNOWN

2019-10-02 Thread Alexander Kanavin
As there is now a new version of binutils, upstream version check works again. Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/binutils/binutils-2.32.inc | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/meta/recipes-devtools/binutils/binutils-2.32.inc b

Re: [OE-core] Yocto Project Status WW40’19

2019-10-01 Thread Alexander Kanavin
On Tue, 1 Oct 2019 at 16:54, Stephen K Jolley wrote: > A significant performance problem has been found on the autobuilder where > some builds are scaling in time badly as the sstate cache grows, taking 12 > hours or more in some cases. Unfortunately nobody seems motivated to help > work on this

Re: [OE-core] [PATCH v2] ruby: fix non-IPv6 support

2019-09-27 Thread Alexander Kanavin
On Fri, 27 Sep 2019 at 17:24, André Draszik wrote: > Can't the auto-updater do it? (Without the repackaging?) > I think it fails at the rebasing patches step - merge conflicts can only be resolved by a human. Alex -- ___ Openembedded-core mailing

Re: [OE-core] [PATCH v2] ruby: fix non-IPv6 support

2019-09-27 Thread Alexander Kanavin
Just wanted to request, would you be able to provide a ruby version upgrade as well? Alex On Fri, 27 Sep 2019 at 16:10, André Draszik wrote: > From: André Draszik > > When IPv6 support is disabled, this recipe mis-configures > ruby so that it end up non-working: > --enable-wide-getaddrinfo

[OE-core] [PATCH 2/4] oe-selftest: extend virgl gtk test to also check the SDL option

2019-09-17 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/lib/oeqa/selftest/cases/runtime_test.py | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index 3f212bd0eac..8f98a9ead46

[OE-core] [PATCH 4/4] strace: add a timeout for running ptests

2019-09-17 Thread Alexander Kanavin
stuck and eventually timing out. https://bugzilla.yoctoproject.org/show_bug.cgi?id=13506 Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/strace/strace/run-ptest | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/strace/strace/run-ptest b/meta/recipes-devtools

[OE-core] [PATCH 3/4] runqemu: unset another environment variable for 'egl-headless'

2019-09-17 Thread Alexander Kanavin
Some host distributions (opensuse for example) are using 'pkgconf', which, unlike the original pkg-config, appends PKG_CONFIG_SYSROOT_DIR to every directory from the .pc file. Signed-off-by: Alexander Kanavin --- scripts/runqemu | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts

[OE-core] [PATCH 1/4] runqemu: add options that enable virgl with the SDL frontend

2019-09-17 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- scripts/runqemu | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index 68ba7dcfb94..18091a29c3b 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -67,9 +67,9 @@ of the following

Re: [OE-core] [PATCH 3/3] oe-selftest: extend virgl gtk test to also check the SDL option

2019-09-13 Thread Alexander Kanavin
On Fri, 13 Sep 2019 at 21:15, Ross Burton wrote: > On 12/09/2019 16:36, Alexander Kanavin wrote: > > -def test_testimage_virgl_gtk(self): > > +def test_testimage_virgl_gtk_sdl(self): > > Failing on the autobuilder: > > https://autobuilder.yoctoproject.org/typho

[OE-core] [PATCH 1/3] runqemu: decouple gtk and gl options

2019-09-12 Thread Alexander Kanavin
This will allow not having to multiply these options for the sdl frontend, instead combining them as needed. Signed-off-by: Alexander Kanavin --- meta/lib/oeqa/selftest/cases/runtime_test.py | 2 +- scripts/runqemu | 21 +--- 2 files changed, 15

[OE-core] [PATCH 3/3] oe-selftest: extend virgl gtk test to also check the SDL option

2019-09-12 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/lib/oeqa/selftest/cases/runtime_test.py | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index 3f212bd0eac..8f98a9ead46

[OE-core] [PATCH 2/3] runqemu: add options that enable virgl with the SDL frontend

2019-09-12 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- scripts/runqemu | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index 68ba7dcfb94..18091a29c3b 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -67,9 +67,9 @@ of the following

Re: [OE-core] [PATCH v3] rpm: make rpm work in toolchain.

2019-09-12 Thread Alexander Kanavin
Thanks, I think this looks more or less correct now. Alex On Thu, 12 Sep 2019 at 09:53, Zheng Ruoqin wrote: > We need to configure rpm to use package architecture from yocto build > system. > > Install rpmrc and rpm/platform to ${SDKTARGETSYSROOT} because config file > in host-sysroot as

Re: [OE-core] [PATCH] mesa: Upgrade 19.1.1 -> 19.1.6

2019-09-11 Thread Alexander Kanavin
On Wed, 11 Sep 2019 at 14:35, Ross Burton wrote: > > See I knew that but had blocked it out because it's so horrible. > > One day we need to sit down with upstream Python and figure out how to > handle cross-compilation properly. > > I finally managed to make my own builds fail (had to turn off

Re: [OE-core] [PATCH] mesa: Upgrade 19.1.1 -> 19.1.6

2019-09-10 Thread Alexander Kanavin
ot;export STAGING_LIBDIR = > "${STAGING_LIBDIR_NATIVE}"" and removing python3 from DEPENDS worked. > > Alexander, I don't know what is the best way to do this, maybe you can > help here. > > Thanks! > > On Tue, Sep 10, 2019 at 7:40 AM Alexander Kanavin >

Re: [OE-core] [PATCH] rpm: make rpm work in toolchain.

2019-09-10 Thread Alexander Kanavin
On Tue, 10 Sep 2019 at 13:56, Zheng, Ruoqin wrote: > 3. Actually, my first plan is to write ${MACHINE_ARCH} in toolchain, but > it was rejected > > +++ b/meta/classes/toolchain-scripts.bbclass > > @@ -101,6 +101,7 @@ toolchain_shared_env_script () { > > echo 'export

Re: [OE-core] [PATCH] rpm: make rpm work in toolchain.

2019-09-10 Thread Alexander Kanavin
On Tue, 10 Sep 2019 at 10:07, Zheng, Ruoqin wrote: > In last patch, I put the config file in meta-environment as its do_install > task is in the target environment which means the value of ${PACKAGE_ARCHS} > is right. > > And it finally produce a nativesdk package. > > > > If I put the config

Re: [OE-core] [PATCH] mesa: Upgrade 19.1.1 -> 19.1.6

2019-09-10 Thread Alexander Kanavin
On Tue, 10 Sep 2019 at 11:50, Ross Burton wrote: > On 09/09/2019 19:41, Alexander Kanavin wrote: > > and find_installation() method of meson does not merely look for the > > native python binary, it runs the binary with a meson-supplied python > > script designe

Re: [OE-core] [PATCH] mesa: Upgrade 19.1.1 -> 19.1.6

2019-09-09 Thread Alexander Kanavin
On Mon, 9 Sep 2019 at 18:49, Ross Burton wrote: > > As I had previously suggested... can you try adding 'python3' to DEPENDS > > of mesa, and see if that helps please? I think that would allow avoiding > > this patch altogether. > > So why does Meson need *target* Python to be present when

Re: [OE-core] [PATCH] mesa: Upgrade 19.1.1 -> 19.1.6

2019-09-09 Thread Alexander Kanavin
Thanks, now it's future-proof :) Alex On Mon, 9 Sep 2019 at 16:54, Fabio Berton wrote: > Hi Alexander! > > I sent a v2 with python3 in depends and dropped the patch. > > Thanks! > > On Fri, Sep 6, 2019 at 5:33 PM Alexander Kanavin > wrote: > > > > On Fri,

Re: [OE-core] [PATCH] rpm: make rpm work in toolchain.

2019-09-09 Thread Alexander Kanavin
On Mon, 9 Sep 2019 at 13:19, Zheng, Ruoqin wrote: > ->What do these two sed commands do? If we create /etc/rpmrc just above, > can it have the right content from the beginning? > > > > Well, in the environment in Yocto Build system, the value of > ${PACKAGE_ARCHS} include “–nativesdk” as not

Re: [OE-core] [PATCH] rpm: make rpm work in toolchain.

2019-09-09 Thread Alexander Kanavin
On Mon, 9 Sep 2019 at 13:08, Zheng, Ruoqin wrote: > I'd like to explain the path ${SDKTARGETSYSROOT} in this patch. > > As you see, ${SDKTARGETSYSROOT} for x86_64 is > /opt/poky/2.7+snapshot/sysroots/core2-64-pokysdk-linux. > > I make it because config file in host-sysroot as >

Re: [OE-core] [PATCH] rpm: make rpm work in toolchain.

2019-09-09 Thread Alexander Kanavin
On Mon, 9 Sep 2019 at 12:58, Zheng Ruoqin wrote: > rm -rf ${D}/var > +install -d ${D}/${SDKTARGETSYSROOT}/etc/rpm > Why not simply ${D}/etc/rpm? > +sed -i 's/-nativesdk//g' ${D}/${SDKTARGETSYSROOT}/etc/rpmrc > +sed -i 's/-/_/'

Re: [OE-core] [PATCH] mesa: Upgrade 19.1.1 -> 19.1.6

2019-09-06 Thread Alexander Kanavin
On Fri, 6 Sep 2019 at 22:12, Otavio Salvador < otavio.salva...@ossystems.com.br> wrote: > > As I had previously suggested... can you try adding 'python3' to DEPENDS > of mesa, and see if that helps please? I think that would allow avoiding > this patch altogether. > > Why a new build dependency

Re: [OE-core] [PATCH] mesa: Upgrade 19.1.1 -> 19.1.6

2019-09-06 Thread Alexander Kanavin
On Fri, 6 Sep 2019 at 20:47, Fabio Berton wrote: > +Subject: [PATCH] Revert "meson: Improve detection of Python when using > Meson > + >=0.50." > +Organization: O.S. Systems Software LTDA. > + > +This reverts commit cb3072488cd327155206e92d1ad8eb72a23ab04e. > + > +Upstream-Status: Inappropriate

Re: [OE-core] [PATCH 1/5] bitbake.conf: propagate 'opengl' DISTRO_FEATURE to native/nativesdk from target

2019-09-06 Thread Alexander Kanavin
a limited subset of mesa-native is currently built. >> >> Drop native/nativesdk overrides from virglrenderer/libepoxy recipes >> as opengl feature is now correctly set for those variants. >> >> Signed-off-by: Alexander Kanavin >> --- >> meta/conf/bitbake.

[OE-core] [PATCH 5/5] oe-selftest: extend virgl gtk test to also check the SDL option

2019-09-06 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/lib/oeqa/selftest/cases/runtime_test.py | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index 7b48fe562ef..d8698f37375 100644

[OE-core] [PATCH 4/5] runqemu: add options that enable virgl with the SDL frontend

2019-09-06 Thread Alexander Kanavin
Also, add an option to use Gtk without virgl acceleration. Signed-off-by: Alexander Kanavin --- scripts/runqemu | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index b5200106244..80d59424d78 100755 --- a/scripts/runqemu

[OE-core] [PATCH 2/5] libsdl2: enable opengl option for native/nativesdk, subject to 'opengl' in DISTRO_FEATURES

2019-09-06 Thread Alexander Kanavin
This allows virgl support in qemu with the SDL frontend Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/libsdl2/libsdl2_2.0.10.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.10.bb b/meta/recipes-graphics/libsdl2

[OE-core] [PATCH 1/5] bitbake.conf: propagate 'opengl' DISTRO_FEATURE to native/nativesdk from target

2019-09-06 Thread Alexander Kanavin
/nativesdk overrides from virglrenderer/libepoxy recipes as opengl feature is now correctly set for those variants. Signed-off-by: Alexander Kanavin --- meta/conf/bitbake.conf | 4 ++-- meta/recipes-gnome/gtk+/gtk+3.inc | 2 ++ meta/recipes

[OE-core] [PATCH 3/5] qemu: enable virglrenderer and glx options subject to 'opengl' DISTRO_FEATURE

2019-09-06 Thread Alexander Kanavin
-headless option, and see the output with a VNC viewer (for which, qemu needs to be started with a VNC server): $ runqemu kvm egl-headless publicvnc Signed-off-by: Alexander Kanavin --- meta/lib/oeqa/selftest/cases/runtime_test.py | 15 ++- .../qemu/qemu-system-native_4.1.0.bb

[OE-core] [PATCH 0/5] virgl: add SDL support and enable by default

2019-09-06 Thread Alexander Kanavin
kernel by default (2019-09-06 08:25:29 +0100) are available in the Git repository at: git://git.yoctoproject.org/poky-contrib akanavin/qemu-split-virgl-gtk http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=akanavin/qemu-split-virgl-gtk Alexander Kanavin (5): bitbake.conf: propagate

[OE-core] [PATCH] package.bbclass: allow shell-style wildcards in PRIVATE_LIBS

2019-09-06 Thread Alexander Kanavin
using shell-style wildcards in the variable, similar to how FILES lists what gets packaged. Signed-off-by: Alexander Kanavin --- meta/classes/package.bbclass | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index

Re: [OE-core] [PATCH V2] python3native, pythonnative: export PYTHON_LIBRARY and PYTHON_INCLUDE_DIR

2019-09-04 Thread Alexander Kanavin
Thanks, this looks good now. Alex On Wed, 4 Sep 2019 at 20:49, Khem Raj wrote: > packages can use > > find_package(PythonInterp REQUIRED) > find_package(PythonLibs REQUIRED) > > while we control PYTHON pointing to native py3 the libs and include > directories will then point to build host

Re: [OE-core] [PATCH 2/2] python3native: export PYTHON_LIBRARY and PYTHON_INCLUDE_DIR

2019-09-04 Thread Alexander Kanavin
On Wed, 4 Sep 2019 at 20:10, Khem Raj wrote: > +export PYTHON_LIBRARY="${STAGING_LIBDIR}/${PYTHON_BINABI}" > +export PYTHON_INCLUDE_DIR="${STAGING_INCDIR}/${PYTHON_BINABI} > You need to explain why this is needed. Where are these variables used? Also, python3-dir.bbclass already has all the

Re: [OE-core] [PATCH 1/2] python3: Expose PYTHON_BINABI in global config metadata

2019-09-04 Thread Alexander Kanavin
On Wed, 4 Sep 2019 at 20:10, Khem Raj wrote: > # llvm version being used, so always bump it with llvm recipe version bump > LLVMVERSION ?= "8.0.1" > > +# This should be bumped when python3 recipe's MIN_VER is bumped e.g. 3.7 > -> 3.8 > +PYTHON_BINABI = "3.7m" > + > This is already set in

Re: [OE-core] [PATCH] package.bbclass: allow shell-style wildcards in PRIVATE_LIBS

2019-09-04 Thread Alexander Kanavin
On Wed, 4 Sep 2019 at 16:57, Quentin Schulz < quentin.sch...@streamunlimited.com> wrote: > > the original code is not adding any lines at all while yours adds eight > so > > I'd just keep the patch as it is. > > > > Added lines vs added execution time. > I am fairly certain do_package spends the

Re: [OE-core] [PATCH] package.bbclass: allow shell-style wildcards in PRIVATE_LIBS

2019-09-04 Thread Alexander Kanavin
On Wed, 4 Sep 2019 at 14:55, Quentin Schulz < quentin.sch...@streamunlimited.com> wrote: > So we just need to invert the logic actually. > > matched = False > for pattern in private_libs: > if fnmatch.fnmatch(this_soname, pattern)]) == 0: > matched = True >

Re: [OE-core] [PATCH] meta-environment: make rpm and dnf work in toolchain

2019-09-04 Thread Alexander Kanavin
On Wed, 4 Sep 2019 at 03:44, Zheng, Ruoqin wrote: > Thank you for your advice and I have a question. > > > > 1:-> This does not seem like the right place to me to adjust the settings. > > > > Well, did you mean that I shouldn’t adjust the settings in > meta-environment recipe, instead of it,

Re: [OE-core] [PATCH] package.bbclass: allow shell-style wildcards in PRIVATE_LIBS

2019-09-04 Thread Alexander Kanavin
On Wed, 4 Sep 2019 at 09:32, Quentin Schulz < quentin.sch...@streamunlimited.com> wrote: > > +++ b/meta/classes/package.bbclass > > @@ -1646,7 +1646,8 @@ python package_do_shlibs() { > > prov = (this_soname, ldir, pkgver) > > if not prov in sonames: > >

Re: [OE-core] [PATCH] package.bbclass: allow shell-style wildcards in PRIVATE_LIBS

2019-09-04 Thread Alexander Kanavin
On Wed, 4 Sep 2019 at 09:32, Quentin Schulz < quentin.sch...@streamunlimited.com> wrote: > > # if library is private (only used by package) then > do not build shlib for it > > -if not private_libs or this_soname not in > private_libs: > > +

[OE-core] [PATCH] package.bbclass: allow shell-style wildcards in PRIVATE_LIBS

2019-09-03 Thread Alexander Kanavin
using shell-style wildcards in the variable, similar to how FILES lists what gets packaged. Signed-off-by: Alexander Kanavin --- meta/classes/package.bbclass | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index

Re: [OE-core] [PATCH] package.bbclass: add PRIVATE_LIBS_ALL

2019-09-03 Thread Alexander Kanavin
On Tue, 3 Sep 2019 at 17:29, Alexander Kanavin wrote: > PRIVATE_LIBS is used to exclude 'private' libraries from getting added to > automatic runtime dependency resolution. That variable has to list > all libraries by name which becomes a maintenance issue if the list > of su

[OE-core] [PATCH] package.bbclass: add PRIVATE_LIBS_ALL

2019-09-03 Thread Alexander Kanavin
declaring all libraries private, either for a specific target package (e.g. -ptest), or for all packages produced by a recipe. Signed-off-by: Alexander Kanavin --- meta/classes/package.bbclass | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/meta/classes/package.bbclass b

Re: [OE-core] [PATCH] meta-environment: make rpm and dnf work in toolchain

2019-09-02 Thread Alexander Kanavin
On Mon, 2 Sep 2019 at 03:16, Zheng Ruoqin wrote: > We need to configure dnf and rpm to use and make it compatible with > package architecture from yocto build system. > + > +mkdir -p ${D}/${SDKTARGETSYSROOT}/etc/rpm > +echo "arch_compat: ${MACHINE_ARCH}: ${PACKAGE_ARCHS}" > >

[OE-core] [PATCH 5/5] oe-selftest: extend virgl gtk test to also check the SDL option

2019-09-01 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/lib/oeqa/selftest/cases/runtime_test.py | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index 7b48fe562ef..d8698f37375 100644

[OE-core] [PATCH 2/5] libsdl2: enable opengl option for native/nativesdk, subject to 'opengl' in DISTRO_FEATURES

2019-09-01 Thread Alexander Kanavin
This allows virgl support in qemu with the SDL frontend Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/libsdl2/libsdl2_2.0.10.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.10.bb b/meta/recipes-graphics/libsdl2

[OE-core] [PATCH 3/5] qemu: enable virglrenderer and glx options subject to 'opengl' DISTRO_FEATURE

2019-09-01 Thread Alexander Kanavin
-headless option, and see the output with a VNC viewer (for which, qemu needs to be started with a VNC server): $ runqemu kvm egl-headless publicvnc Signed-off-by: Alexander Kanavin --- meta/lib/oeqa/selftest/cases/runtime_test.py | 15 ++- .../qemu/qemu-system-native_4.1.0.bb

[OE-core] [PATCH 1/5] bitbake.conf: propagate 'opengl' DISTRO_FEATURE to native/nativesdk from target

2019-09-01 Thread Alexander Kanavin
/nativesdk overrides from virglrenderer/libepoxy recipes as opengl feature is now correctly set for those variants. Signed-off-by: Alexander Kanavin --- meta/conf/bitbake.conf | 4 ++-- meta/recipes-gnome/gtk+/gtk+3.inc | 2 ++ meta/recipes

[OE-core] [PATCH 4/5] runqemu: add options that enable virgl with the SDL frontend

2019-09-01 Thread Alexander Kanavin
Also, add an option to use Gtk without virgl acceleration. Signed-off-by: Alexander Kanavin --- scripts/runqemu | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index b5200106244..80d59424d78 100755 --- a/scripts/runqemu

[OE-core] [PATCH 0/5] virgl: add SDL support and enable by default

2019-09-01 Thread Alexander Kanavin
PACKAGECONFIG for native/nativesdk (2019-09-01 17:08:18 +0200) are available in the Git repository at: git://git.yoctoproject.org/poky-contrib akanavin/qemu-split-virgl-gtk http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=akanavin/qemu-split-virgl-gtk Alexander Kanavin (5): bitbake.conf

[OE-core] [PATCH 1/2] default-providers.inc: set mesa as the provider for native(sdk) virtual/libgl

2019-09-01 Thread Alexander Kanavin
native/nativesdk libepoxy and libsdl2 require this to be set, when they have the respective opengl features enabled. Signed-off-by: Alexander Kanavin --- meta/conf/distro/include/default-providers.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/conf/distro/include/default

[OE-core] [PATCH 2/2] libepoxy: enable x11 PACKAGECONFIG for native/nativesdk

2019-09-01 Thread Alexander Kanavin
This is needed to enable virgl support in qemu with SDL frontend Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb b/meta/recipes

Re: [OE-core] [PATCH 1/2] default-providers.inc: set mesa as the provider for native virtual/libgl

2019-09-01 Thread Alexander Kanavin
On Sun, 1 Sep 2019 at 11:39, Alexander Kanavin wrote: > native libepoxy and libsdl2 require this to be set, when they > have the respective opengl features enabled. > nativesdk needs the same fix, will resend. Alex -- ___ Openembedded-cor

[OE-core] [PATCH 2/2] libepoxy: enable x11 PACKAGECONFIG for native/nativesdk

2019-09-01 Thread Alexander Kanavin
This is needed to enable virgl support in qemu with SDL frontend Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb b/meta/recipes

[OE-core] [PATCH 1/2] default-providers.inc: set mesa as the provider for native virtual/libgl

2019-09-01 Thread Alexander Kanavin
native libepoxy and libsdl2 require this to be set, when they have the respective opengl features enabled. Signed-off-by: Alexander Kanavin --- meta/conf/distro/include/default-providers.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/conf/distro/include/default-providers.inc b

[OE-core] [PATCH 2/2] libffi: fix upstream version check

2019-08-30 Thread Alexander Kanavin
As there is no version newer than 3.3-rc0 yet, an exception from the check is needed. Signed-off-by: Alexander Kanavin --- meta/recipes-support/libffi/libffi_3.3~rc0.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-support/libffi/libffi_3.3~rc0.bb b/meta/recipes-support

[OE-core] [PATCH 1/2] lsb-release: fix upstream version check

2019-08-30 Thread Alexander Kanavin
With the new recipe matching the tarbal version, there is no need for an exception from the check. Signed-off-by: Alexander Kanavin --- meta/recipes-extended/lsb/lsb-release_1.4.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-extended/lsb/lsb-release_1.4.bb b/meta/recipes

[OE-core] [PATCH 11/13] eglinfo: remove the recipe

2019-08-30 Thread Alexander Kanavin
Last commit upstream was in Sep 2014; pull requests have been ignored since. I believe eglinfo from mesa-demos is an adequate and maintained alternative. Also this recipe was using an ugly waf blob placed directly into oe-core, which was also dependent on python 2. Signed-off-by: Alexander

[OE-core] [PATCH 12/13] webkitgtk: use Python 3 for builds

2019-08-30 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-sato/webkit/webkitgtk_2.24.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-sato/webkit/webkitgtk_2.24.3.bb b/meta/recipes-sato/webkit/webkitgtk_2.24.3.bb index 0e5ee5ba006..71082421688 100644 --- a/meta

[OE-core] [PATCH 13/13] webkitgtk: update 2.24.3 -> 2.24.4

2019-08-30 Thread Alexander Kanavin
In particular this brings an important fix for builds with py3: "Fix build issue which would cause media controls to disappear when Python 3.x was used during the build process." https://webkitgtk.org/2019/08/28/webkitgtk2.24.4-released.html Signed-off-by: Alexander Kanavin --- .

[OE-core] [PATCH 07/13] libpsl: use python 3 during builds

2019-08-30 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- ...-PYTHON-when-invoking-psl-make-dafsa.patch | 50 +++ meta/recipes-support/libpsl/libpsl_0.21.0.bb | 1 + 2 files changed, 51 insertions(+) create mode 100644 meta/recipes-support/libpsl/libpsl/0001-Makefile.am-use-PYTHON-when-invoking

  1   2   3   4   5   6   7   8   9   10   >