[OE-core] [OE-Core][PATCH] perf: Package libperf-jvmti.so as part of ${PN}

2019-01-14 Thread Alex Kiernan
perf's jvmti support builds libperf-jvmti.so that needs to be packaged as part of the main package, not a developer package. Given there's no files in the developer package, override FILES_SOLIBSDEV so it's not gobbled by FILES_${PN}-dev, and then add just that file to FILES_${PN} so that if in

[OE-core] [PATCH] libcomps & librepo: fix buildpaths qa warnings

2019-01-14 Thread kai.kang
From: Kai Kang Add preprocess option '-fmacro-prefix-map' to TARGET_CPPFLAGS to fix buildpaths qa warnings of libcomps and librepo. Signed-off-by: Kai Kang --- meta/recipes-devtools/libcomps/libcomps_git.bb | 2 ++ meta/recipes-devtools/librepo/librepo_1.9.3.bb | 2 ++ 2 files changed, 4

Re: [OE-core] [PATCH] Added armeb into QEMU_TARGETS.

2019-01-14 Thread Lei, Maohui
ping > -Original Message- > From: Hong, Liu/洪 流 > Sent: Wednesday, January 02, 2019 1:18 PM > To: openembedded-core@lists.openembedded.org > Cc: Lei, Maohui/雷 茂慧 > Subject: [OE-core] [PATCH] Added armeb into QEMU_TARGETS. > > From: Lei Maohui > > Signed-off-by: Lei Maohui > --- >

Re: [OE-core] [oe-core] [PATCH] Added armeb into meson.bbclass.

2019-01-14 Thread Lei, Maohui
Hi, Plesse merge to thud branch. Best regards Lei > -Original Message- > From: Hong, Liu/洪 流 > Sent: Wednesday, January 02, 2019 1:18 PM > To: openembedded-core@lists.openembedded.org > Cc: Lei, Maohui/雷 茂慧 > Subject: [oe-core] [PATCH] Added armeb into meson.bbclass. > > From: Lei

Re: [OE-core] [PATCH 20/23] runqemu: add support for virgl GL acceleration

2019-01-14 Thread Martin Jansa
You're duplicating nographic elif On Mon, Jan 14, 2019 at 4:06 PM Alexander Kanavin wrote: > Also, do not hardcode -vga option to qemu, set it according to command > line parameters. > > Signed-off-by: Alexander Kanavin > --- > meta/conf/machine/include/qemuboot-x86.inc | 2 +- >

[OE-core] [PATCH 0/2] piglit support build without x11

2019-01-14 Thread changqing.li
Fixes bug: [YOCTO #6077] To support piglit without x11 by disable PIGLIT_BUILD_GL_TESTS, but the result is piglit can use without x11, but only small part of it can be used. Most of testcase will be skipped. Changqing Li (2): waffle: supprt build waffle without x11 piglit: support build

[OE-core] [PATCH 2/2] piglit: support build piglit without x11

2019-01-14 Thread changqing.li
From: Changqing Li 1. Only depend on X11_DEPS when DISTRO_FEATURES enabled x11 2. test PIGLIT_BUILD_GL_TESTS depend on glx library, so depend on x11, so disable it when x11 is not enabled. 3. mesa-demos depend on libGL.so which is provide by recipe mesa, but when x11 is disabled, libGL.so

[OE-core] [PATCH 1/2] waffle: supprt build waffle without x11

2019-01-14 Thread changqing.li
From: Changqing Li glx depend on x11, so only enable glx when DISTRO_FEATURES enabled x11. build waffle support gbm platform when x11 is not enabled Signed-off-by: Changqing Li --- meta/recipes-graphics/waffle/waffle_1.5.2.bb | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff

[OE-core] [PATCH v2] ltp: Remove admin_tools test

2019-01-14 Thread He Zhe
admin_tools test group has been removed from upstream. Backport to fix the following failures. at_deny01 1 TFAIL : ltpapicmd.c:188: At denyed user to execute test job at_allow01 1 TFAIL : ltpapicmd.c:188: At did not allow user to execute job Signed-off-by: He Zhe --- v2: Add missing SOB and

Re: [OE-core] Suggest removing classes/siteconfig.bbclass

2019-01-14 Thread Robert Yang
On 1/12/19 9:34 AM, Khem Raj wrote: On Wed, Jan 9, 2019 at 11:17 PM Robert Yang > wrote: Hi, I reimplemented glibc's site config and did a lot of tests recently, finally, I found that it isn't as useful as I had thought, so I'm leaning to

Re: [OE-core] [PATCH V3 03/11] ccache.bbclass: Refactor it to make it more reliable

2019-01-14 Thread Robert Yang
Hi Randy, I'm sorry for the types, and thanks for the correction. I found that it has been merged, I will be more careful. // Robert On 1/12/19 4:49 AM, Randy MacLeod wrote: A couple of typos and grammar improvements, otherwise a good improvement for iterative development of a package/image

[OE-core] [PATCH] tune-cortexa5.inc: Add tune options for vfpv4

2019-01-14 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/conf/machine/include/tune-cortexa5.inc | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/meta/conf/machine/include/tune-cortexa5.inc b/meta/conf/machine/include/tune-cortexa5.inc index 1f0cda6640..e9eddb407f 100644 ---

Re: [OE-core] [PATCH 1/2] systemd: Correct and clean up user/group definitions

2019-01-14 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core-boun...@lists.openembedded.org core-boun...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt > Sent: den 15 januari 2019 01:49 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [PATCH 1/2] systemd: Correct and clean

[OE-core] [PATCH 1/2] systemd: Correct and clean up user/group definitions

2019-01-14 Thread Peter Kjellerstedt
This makes sure that packages are only added to USERADD_PACKAGES if they will create users/groups. This avoids the following error: ERROR: systemd_239.bb: meta/recipes-core/systemd/systemd_239.bb inherits useradd but doesn't set USERADD_PARAM, GROUPADD_PARAM or GROUPMEMS_PARAM for package

[OE-core] [PATCH 2/2] systemd: Correct a conditional add to SYSTEMD_PACKAGES

2019-01-14 Thread Peter Kjellerstedt
The code conditionally adding ${PN}-journal-remote to SYSTEMD_PACKAGE checked PACKAGECONFIG for an empty string rather than 'microhttpd'... Signed-off-by: Peter Kjellerstedt --- meta/recipes-core/systemd/systemd_239.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [OE-core] [PATCH resend^2] wic: allow bitbake variables in kickstarter files

2019-01-14 Thread Rasmus Villemoes
ping ping On 29/12/2018 01.06, Rasmus Villemoes wrote: > image_types_wic.bbclass has a mechanism for doing variable substitution > on .wks files by simply letting the input file be called > .wks.in. However, that doesn't allow using variables in files included > via the include directive. This is

Re: [OE-core] [PATCH 1/2 v2] meta: Fix Deprecated warnings from regexs

2019-01-14 Thread Richard Purdie
On Mon, 2019-01-14 at 23:04 +, Richard Purdie wrote: > Fix handling of escape characters in regexs and hence fix python > Deprecation warnings which will be problematic in python 3.8. > > Note that some show up as: > > """ > meta/classes/package.bbclass:1293: DeprecationWarning: invalid

Re: [OE-core] [PATCH 2/2] meta: Fix python code quoting issues

2019-01-14 Thread Richard Purdie
On Mon, 2019-01-14 at 23:06 +, Burton, Ross wrote: > On Mon, 14 Jan 2019 at 23:04, Richard Purdie < > richard.pur...@linuxfoundation.org> wrote: > > -oe_terminal("${SHELL} -c \"make %s; if [ \$? -ne 0 ]; then > > echo 'Command failed.'; printf 'Press any key to continue... '; > > read r;

Re: [OE-core] [PATCH 2/2] meta: Fix python code quoting issues

2019-01-14 Thread Burton, Ross
On Mon, 14 Jan 2019 at 23:04, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > -oe_terminal("${SHELL} -c \"make %s; if [ \$? -ne 0 ]; then echo > 'Command failed.'; printf 'Press any key to continue... '; read r; fi\"" % > d.getVar('KCONFIG_CONFIG_COMMAND'), > +

[OE-core] [PATCH 1/2 v2] meta: Fix Deprecated warnings from regexs

2019-01-14 Thread Richard Purdie
Fix handling of escape characters in regexs and hence fix python Deprecation warnings which will be problematic in python 3.8. Note that some show up as: """ meta/classes/package.bbclass:1293: DeprecationWarning: invalid escape sequence \.   """ where the problem isn't on 1293 in

[OE-core] [PATCH 2/2] meta: Fix python code quoting issues

2019-01-14 Thread Richard Purdie
python 3.8 will be stricter about python quoting. Fix up several misquoted expressions and fix Deprecation warnings like: Var :1: DeprecationWarning: invalid escape sequence \$ Signed-off-by: Richard Purdie --- meta/classes/cml1.bbclass | 2 +-

[OE-core] [OE-Core][PATCH] openssl: move c_rehash pkg to avoid perl dep

2019-01-14 Thread Brad Bishop
Perl and its dependencies have a decent footprint impact. On my xz compressed filesystem: 634880: /usr/lib/libperl.so.5.24.4 Put c_rehash in the openssl-misc package so the dependency can be avoided where it isn't needed. Change-Id: Iae9bccabfb1c8cfa1401ca6785abc39713d3fdf0 Signed-off-by: Brad

Re: [OE-core] [PATCH] webkitgtk: Enable building for ARC architecture

2019-01-14 Thread Khem Raj
On Mon, Jan 14, 2019 at 12:45 PM Alexey Brodkin wrote: > > Hi Khem, > > > -Original Message- > > From: Khem Raj [mailto:raj.k...@gmail.com] > > Sent: Friday, January 11, 2019 6:32 PM > > To: Alexey Brodkin > > Cc: Patches and discussions about the oe-core layer > > ; > > Richard Purdie

Re: [OE-core] [PATCH] webkitgtk: Enable building for ARC architecture

2019-01-14 Thread Alexey Brodkin
Hi Khem, > -Original Message- > From: Khem Raj [mailto:raj.k...@gmail.com] > Sent: Friday, January 11, 2019 6:32 PM > To: Alexey Brodkin > Cc: Patches and discussions about the oe-core layer > ; > Richard Purdie ; Ross Burton > ; linux-snps- > a...@lists.infradead.org; Alexander

Re: [OE-core] [PATCH v3] systemd: fix remaining issues with statx and glibc 2.28+

2019-01-14 Thread Ruslan Bilovol via Openembedded-core
Hi Chen, Will you pick up this fix? Still don't see it in the master-next Thanks, Ruslan On 12/22/18 1:48 AM, Khem Raj wrote: On Fri, Dec 21, 2018 at 11:45 AM Ruslan Bilovol wrote: Commit 776d14db9589 "systemd: Detect if statx struct is defined in sys/stat.h" did only a part of work, and

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

2019-01-14 Thread Jolley, Stephen K
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

[OE-core] [PATCH] meta: Fix Deprecated warnings from regexs

2019-01-14 Thread Richard Purdie
Fix handling of escape characters in regexs and hence fix python Deprecation warnings which will be problematic in python 3.8. Signed-off-by: Richard Purdie --- meta/classes/debian.bbclass | 6 ++--- meta/classes/kernel-module-split.bbclass | 2 +-

Re: [OE-core] [PATCH 12/23] mesa-gl: do not enable nativesdk variant to avoid clashes with main mesa recipe

2019-01-14 Thread Burton, Ross
Wouldn't a preferred provider would sort this? Ross On Mon, 14 Jan 2019 at 15:06, Alexander Kanavin wrote: > Signed-off-by: Alexander Kanavin > --- > meta/recipes-graphics/mesa/mesa-gl_18.1.9.bb | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

Re: [OE-core] [PATCH 16/23] atk: disable gobject-introspection for nativesdk

2019-01-14 Thread Burton, Ross
Rationale please. Ross On Mon, 14 Jan 2019 at 15:06, Alexander Kanavin wrote: > Signed-off-by: Alexander Kanavin > --- > meta/recipes-support/atk/atk_2.30.0.bb | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta/recipes-support/atk/atk_2.30.0.bb >

Re: [OE-core] [PATCH 08/23] mesa: enable native and nativesdk variants

2019-01-14 Thread Burton, Ross
On Mon, 14 Jan 2019 at 15:05, Alexander Kanavin wrote: > -ANY_OF_DISTRO_FEATURES = "opengl vulkan" > +ANY_OF_DISTRO_FEATURES_class-target = "opengl vulkan" Sounds like this means we should be fiddling the native DISTRO_FEATURES instead of making a distro feature check target-only. Ross --

Re: [OE-core] [PATCH 07/23] libepoxy: enable native/nativesdk variants

2019-01-14 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core-boun...@lists.openembedded.org core-boun...@lists.openembedded.org> On Behalf Of Alexander Kanavin > Sent: den 14 januari 2019 16:03 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [PATCH 07/23] libepoxy: enable

Re: [OE-core] [PATCH 00/23] Enable accelerated OpenGL in qemu

2019-01-14 Thread Alexander Kanavin
Oh, I forgot the rationale: 1. I think we are heading towards a reality where some kind of working GL is a 'must' for any kind of UI work. 2. Typically people build images and then transfer them to the NUC or even target boards for testing - using qemu would be less awkward. 3. Current qemu

[OE-core] [PATCH 22/23] qemu: add environment variable wrappers to make qemu look good with gtk frontend

2019-01-14 Thread Alexander Kanavin
GTK_THEME instructs gtk to use its built-in theme. Otherwise gtk attempts to use the theme from the host, which may be from a totally mismatching gtk version. On the other hand FONTCONFIG_PATH tells it to use the host fonts, as providing fonts in the native sysroot and instructing the components

[OE-core] [PATCH 23/23] selftest: add a test for virgl GL acceleration

2019-01-14 Thread Alexander Kanavin
Note that the test requires that the host machine has a X display and is able to create OpenGL contexts. Signed-off-by: Alexander Kanavin --- meta-selftest/lib/oeqa/runtime/cases/virgl.py | 17 + meta/lib/oeqa/selftest/cases/runtime_test.py | 19 +++ 2 files

[OE-core] [PATCH 21/23] runqemu: do not check for GL libraries

2019-01-14 Thread Alexander Kanavin
qemu has been using libepoxy for a long time, and libepoxy loads GL via dlopen() only when instructed to. Signed-off-by: Alexander Kanavin --- scripts/runqemu | 35 --- 1 file changed, 35 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index

[OE-core] [PATCH 20/23] runqemu: add support for virgl GL acceleration

2019-01-14 Thread Alexander Kanavin
Also, do not hardcode -vga option to qemu, set it according to command line parameters. Signed-off-by: Alexander Kanavin --- meta/conf/machine/include/qemuboot-x86.inc | 2 +- scripts/runqemu| 11 +++ 2 files changed, 12 insertions(+), 1 deletion(-) diff

[OE-core] [PATCH 19/23] qemu: add a patch to avoid a missing include error

2019-01-14 Thread Alexander Kanavin
| In file included from /home/alexander/development/poky/build-virgl-gtk-64/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/3.1.0-r0/qemu-3.1.0/include/ui/egl-context.h:5, | from

[OE-core] [PATCH 18/23] libjpeg-turbo: fix nativesdk build in same way as native builds are

2019-01-14 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.1.bb b/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.1.bb index d9d877dc0df..029847ff5f4 100644 ---

[OE-core] [PATCH 17/23] qemu: add a gettext-native dependency

2019-01-14 Thread Alexander Kanavin
xgettext/msgmerge is used during do_install(). Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/qemu/qemu.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index db9c2245df9..6937bbc87b4

[OE-core] [PATCH 15/23] qemu: remove support for building against host sdl

2019-01-14 Thread Alexander Kanavin
This hasn't been the default for a long time (as some distros don't support it), and with gtk+ being the new default shouldn't be needed at all. Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/qemu/qemu.inc | 8 1 file changed, 8 deletions(-) diff --git

[OE-core] [PATCH 14/23] qemu: build target variant with gtk+, and nativesdk variant without sdl

2019-01-14 Thread Alexander Kanavin
As sdl is deprecated in favor of gtk+, it should not be the default. Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/qemu/qemu.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index

[OE-core] [PATCH 16/23] atk: disable gobject-introspection for nativesdk

2019-01-14 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-support/atk/atk_2.30.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-support/atk/atk_2.30.0.bb b/meta/recipes-support/atk/atk_2.30.0.bb index 481f8e89a13..4e2dacbc4d8 100644 --- a/meta/recipes-support/atk/atk_2.30.0.bb

[OE-core] [PATCH 13/23] local.conf.sample: adjust the qemu config to enable gtk+ instead of sdl

2019-01-14 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta-poky/conf/local.conf.sample | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/meta-poky/conf/local.conf.sample b/meta-poky/conf/local.conf.sample index cf96598819c..079b7b9945d 100644 --- a/meta-poky/conf/local.conf.sample

[OE-core] [PATCH 12/23] mesa-gl: do not enable nativesdk variant to avoid clashes with main mesa recipe

2019-01-14 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/mesa/mesa-gl_18.1.9.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-graphics/mesa/mesa-gl_18.1.9.bb b/meta/recipes-graphics/mesa/mesa-gl_18.1.9.bb index 73267eb4f0d..030db6c1440 100644 ---

[OE-core] [PATCH 09/23] virglrenderer: add a recipe

2019-01-14 Thread Alexander Kanavin
This component enables hardware-accelerated GL inside QEMU guests. For more information, see here: https://lwn.net/Articles/767970/ https://www.collabora.com/news-and-blog/blog/2018/02/12/virtualizing-gpu-access/ https://www.collabora.com/news-and-blog/blog/2018/05/09/gpu-virtualization-update/

[OE-core] [PATCH 08/23] mesa: enable native and nativesdk variants

2019-01-14 Thread Alexander Kanavin
Note that only the most minimal necessary subset of mesa is built; particularly we don't build any drivers as that is offloaded to the GL implementation provided by the host. Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/mesa/mesa.inc | 12 +--- 1 file changed, 9

[OE-core] [PATCH 11/23] qemu: drop --with-gtkabi option, as it is no longer supported

2019-01-14 Thread Alexander Kanavin
Recent qemu versions support gtk+3 only. Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/qemu/qemu.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index f943b9ee5a2..6db1facc9a5 100644

[OE-core] [PATCH 10/23] qemu: enable virglrenderer and glx options for native/nativesdk builds

2019-01-14 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/qemu/qemu.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index b05c1cee9eb..f943b9ee5a2 100644 ---

[OE-core] [PATCH 06/23] meta: add native and nativesdk variants to various recipes to enable gtk+3-native/nativesdk

2019-01-14 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.11.bb | 2 +- meta/recipes-gnome/gnome/adwaita-icon-theme_3.28.0.bb | 2 ++ .../recipes-gnome/hicolor-icon-theme/hicolor-icon-theme_0.17.bb | 2 ++

[OE-core] [PATCH 07/23] libepoxy: enable native/nativesdk variants

2019-01-14 Thread Alexander Kanavin
libepoxy is a requirement of virglrenderer. Note that we strip RPATH from the library, as this allows fall-through to the host GL implementation, instead of attempting (and failing) to use mesa-native. Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb | 12

[OE-core] [PATCH 05/23] pixbufcache.bbclass: remove a dependency loop introduced by enabling gtk+3-native

2019-01-14 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/classes/pixbufcache.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/pixbufcache.bbclass b/meta/classes/pixbufcache.bbclass index 3378ff2c806..fb50cd49659 100644 --- a/meta/classes/pixbufcache.bbclass +++

[OE-core] [PATCH 01/23] gtk+3: enable native/nativesdk variant

2019-01-14 Thread Alexander Kanavin
Host-assisted GL in Qemu in theory works with both SDL and GTK; in practice SDL shows an empty screen. This prepares the switchover of graphical qemu to use native gtk, which also provides a neat set of menus to control the emulator. Signed-off-by: Alexander Kanavin ---

[OE-core] [PATCH 03/23] shared-mime-info: update the database also in native builds

2019-01-14 Thread Alexander Kanavin
Otherwise glib-compile-resources fails when building gtk+3-native. Signed-off-by: Alexander Kanavin --- meta/recipes-support/shared-mime-info/shared-mime-info.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info.inc

[OE-core] [PATCH 04/23] gtk+: drop support for choosing between 2.x and 3.x implementations of gtk-update-icon-cache

2019-01-14 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-gnome/gtk+/gtk+.inc | 5 + meta/recipes-gnome/gtk+/gtk+3.inc | 10 ++ 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/meta/recipes-gnome/gtk+/gtk+.inc b/meta/recipes-gnome/gtk+/gtk+.inc index 14ed8d812ca..eb67db20552

[OE-core] [PATCH 02/23] gtk+3: remove the gtk-icon-utils-native recipe

2019-01-14 Thread Alexander Kanavin
As we are now build native gtk+3, it already provides the necessary utilities. Signed-off-by: Alexander Kanavin --- meta/recipes-gnome/gtk+/gtk+3.inc | 7 +- .../gtk+/gtk-icon-utils-native_3.22.30.bb | 63 --- ...endency-from-gtk-encode-symbolic-svg.patch | 102

[OE-core] [PATCH 00/23] Enable accelerated OpenGL in qemu

2019-01-14 Thread Alexander Kanavin
0. TLDR: $ . oe-init-build-env build-virgl $ bitbake core-image-sato-sdk $ runqemu kvm gl $$ run glxgears or any other GL-capable binary inside qemu 1. qemu is switched over to use gtk frontend. I simply couldn't get SDL frontend to work properly, it only displays a blank black window or

Re: [OE-core] [PATCH] sdl2: fix sdl2.pc include paths

2019-01-14 Thread Andreas Müller
My two comments: 1. There is already an upgrade libsdl2 -> 2.09 pending so this patch needs rebase [1] 2. Removing CFLAGS is easier but potentially a risk of unwanted effects. My sdl2.pc contains -D_REENTRANT. This should be obsolete but who guarantees that there isn't some old application still

[OE-core] [PATCH 12/12] utils-linux: final cleanup

2019-01-14 Thread André Draszik
From: André Draszik * use ${PN} instead of util-linux * use PACKAGESPLITFUNCS for creating util-linux-lib* packages rather than an _append OVERRIDE * sort ALTERNATIVE_LINK_NAME alphabetically [YOCTO #13058] Signed-off-by: André Draszik --- meta/recipes-core/util-linux/util-linux.inc | 131

[OE-core] [PATCH 11/12] util-linux: one package per binary (pt 4: bindir)

2019-01-14 Thread André Draszik
From: André Draszik Similar to the previous patch. Existing packages (and current dependency by main package): * ionice <- RRECOMMENDS * lsblk <- RDEPENDS * lscpu * mcookie * prlimit <- RRECOMMENDS * unshare * uuidgen New packages: * too many to list To avoid breaking existing users, all the

[OE-core] [PATCH 09/12] util-linux: one package per binary (pt 2: base_bindir)

2019-01-14 Thread André Draszik
From: André Draszik Similar to the previous patch. Existing packages (and current dependency by main package): * mount <- RRECOMMENDS * umount <- RDEPENDS * mountpoint <- RRECOMMENDS * getopt * su <- RDEPENDS New packages: * dmesg * kill * more To avoid breaking existing users, all the new

[OE-core] [PATCH 07/12] update-alternatives: try to update FILES_${PN} when renaming a file

2019-01-14 Thread André Draszik
From: André Draszik When using update-alternatives, FILES_${PN} must be referencing the new name after update-alternatives has renamed files. This is more or less OK when having static lists of files to be packaged into a package, but makes it quite hard to dynamically generate FILES_${PN},

[OE-core] [PATCH 10/12] util-linux: one package per binary (pt 3: sbindir)

2019-01-14 Thread André Draszik
From: André Draszik Similar to the previous patch. Existing packages (and current dependency by main package): * blkdiscard <- RRECOMMENDS * findfs * fsck.cramfs * mkfs <- RRECOMMENDS * mkfs.cramfs * partx * readprofile <- RRECOMMENDS * rfkill * runuser <- RDEPENDS * sfdisk <- RRECOMMENDS *

[OE-core] [PATCH 08/12] util-linux: one package per binary (pt 1: base_sbindir)

2019-01-14 Thread André Draszik
From: André Draszik Now that we have required infrastructure in place, we can start creating one package per binary. To make this process easier to follow, this is done in steps, starting with binaries from base_sbindir. Existing packages (and current dependency by main package): * agetty *

[OE-core] [PATCH 06/12] update-alternatives: allow hooks before renaming files

2019-01-14 Thread André Draszik
From: André Draszik At the moment, the update alternatives handling is happening right after copying into PKGD during packaging time using an _append OVERRIDE to the copy function. This means that at this point the PACKAGES variable must have been fully populated, as that is a prerequisite for

[OE-core] [PATCH 04/12] util-linux: be more explicit about what files go into packages

2019-01-14 Thread André Draszik
From: André Draszik Just using a wildcard leaves the reader wondering what is meant here. By being explicit we can describe exactly what is intended, i.e. the file name as resulting from the ALTERNATIVE and ALTERNATIVE_LINK_NAME mechanism. Signed-off-by: André Draszik ---

[OE-core] [PATCH 05/12] util-linux: fix the su and runuser packages

2019-01-14 Thread André Draszik
From: André Draszik The packages get an automatic RDEPENDS via shlibs, no need to explicitly state it, so we can drop those useless explicit assignments. su is moved into ${base_bindir} in do_install(), so because of a mismatched FILES specification su is actually packaged into the main package

[OE-core] [PATCH 03/12] util-linux: remove minix remnants

2019-01-14 Thread André Draszik
From: André Draszik While commit fc66762d7c11 ("util-linux: Disable minix support.") (or e88cee8cc31d in poky) removed most of the bits, there are still references to minix remaining. Remove them. Signed-off-by: André Draszik --- meta/recipes-core/util-linux/util-linux.inc | 2 +- 1 file

[OE-core] [PATCH 02/12] util-linux: remove erroneous patch (qsort_r)

2019-01-14 Thread André Draszik
From: André Draszik The patch in question is patching the code to use qsort() instead of qsort_r(), without adopting the compare function. This is a major issue, because the compare function as written is evaluating / accessing a third argument, which is not passed with this OE patch, causing

[OE-core] [PATCH 01/12] util-linux: simplify version upgrades (MAJOR_VERSION)

2019-01-14 Thread André Draszik
From: André Draszik There doesn't appear to be a need to manually and explicitly specificy the major version (for the download URL), it can be deduced easily from PV. Do so. Signed-off-by: André Draszik --- meta/recipes-core/util-linux/util-linux.inc | 3 ++-

[OE-core] [PATCH 00/12] RFC: util-linux: one package per binary

2019-01-14 Thread André Draszik
This series of patches changes util-linux to splitting into one package per binary automatically, using do_split_packages() * the first 5 patches are a general clean-up * patch 2 could be classed as avoiding a potential crash * patch 5 is important, as it fixes up some existing packaging

[OE-core] [PATCH] strace: add lost Upstream-Status

2019-01-14 Thread Ross Burton
Signed-off-by: Ross Burton --- .../0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/strace/strace/0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch

[OE-core] [PATCH] perl: fix yet another race failure

2019-01-14 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- ...oader-separately-as-race-failures-ha.patch | 31 +++ .../perl-sanity/perl_5.28.1.bb| 1 + 2 files changed, 32 insertions(+) create mode 100644

Re: [OE-core] [PATCH] sdl2: fix sdl2.pc include paths

2019-01-14 Thread Burton, Ross
Would it be easier to just remove @SDL_CFLAGS@ from sdl.pc.in? Does that contain other values that are needed, or are they all spurious? Ross On Sat, 12 Jan 2019 at 08:43, Samuli Piippo wrote: > SDL2 dumps all cflags to the sdl2.pc, which might then contain paths > to the recipe sysroot

[OE-core] [PATCH] classes/buildhistory: display modified git branches

2019-01-14 Thread André Draszik
From: André Draszik When collecting the git revision of repositories, also take note of whether or not that repository has uncommited changes. This makes it a bit clearer what went on when looking at diffs. Signed-off-by: André Draszik --- meta/classes/buildhistory.bbclass | 21