Re: [OE-core][PATCH] bluez5: add dbus to RDEPENDS

2022-10-15 Thread Andreas Müller
On Fri, Oct 14, 2022 at 9:27 PM Bartosz Golaszewski  wrote:
>
> From: Bartosz Golaszewski 
>
> Unless we're using systemd, dbus is not pulled into the system
> automatically. Bluez5 will not work without dbus so add it to RDEPENDS
> explicitly.
>
> Signed-off-by: Bartosz Golaszewski 
> ---
>  meta/recipes-connectivity/bluez5/bluez5.inc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc 
> b/meta/recipes-connectivity/bluez5/bluez5.inc
> index 79d4645ca8..b6f1c00c14 100644
> --- a/meta/recipes-connectivity/bluez5/bluez5.inc
> +++ b/meta/recipes-connectivity/bluez5/bluez5.inc
> @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = 
> "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
>  file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \
>  
> file://src/main.c;beginline=1;endline=24;md5=0ad83ca0dc37ab08af448777c581e7ac"
>  DEPENDS = "dbus glib-2.0"
> +RDEPENDS:${PN} = "dbus"
^ Other RDEPENDS are overwritten. So why not use '+=' ?

Andreas
>  PROVIDES += "bluez-hcidump"
>  RPROVIDES:${PN} += "bluez-hcidump"
>
> --
> 2.34.1
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#171740): 
https://lists.openembedded.org/g/openembedded-core/message/171740
Mute This Topic: https://lists.openembedded.org/mt/94334177/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] libxml2: don't override XML_CATALOG_FILES in xmllint wrapper if already set

2022-09-12 Thread Andreas Müller
On Mon, Sep 12, 2022 at 11:43 AM Richard Purdie
 wrote:
>
> On Sun, 2022-09-11 at 23:21 +0100, Richard Purdie via
> lists.openembedded.org wrote:
> > On Fri, 2022-09-09 at 23:54 +0100, Richard Purdie via
> > lists.openembedded.org wrote:
> > > On Fri, 2022-09-09 at 17:36 +0100, Ross Burton wrote:
> > > > The KDE build uses custom catalogs by setting XML_CATALOG_FILES, so this
> > > > wrapper should not override that value if it has already been set.
> > > >
> > > > Signed-off-by: Ross Burton 
> > > > ---
> > > >  meta/recipes-core/libxml/libxml2_2.9.14.bb | 2 +-
> > > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > >
> > > > diff --git a/meta/recipes-core/libxml/libxml2_2.9.14.bb 
> > > > b/meta/recipes-core/libxml/libxml2_2.9.14.bb
> > > > index 2b2289e38a6..165c92d4114 100644
> > > > --- a/meta/recipes-core/libxml/libxml2_2.9.14.bb
> > > > +++ b/meta/recipes-core/libxml/libxml2_2.9.14.bb
> > > > @@ -121,7 +121,7 @@ do_install:append:class-native () {
> > > >   # Docs are not needed in the native case
> > > >   rm ${D}${datadir}/gtk-doc -rf
> > > >
> > > > - create_wrapper ${D}${bindir}/xmllint 
> > > > XML_CATALOG_FILES=${sysconfdir}/xml/catalog
> > > > + create_wrapper ${D}${bindir}/xmllint 
> > > > 'XML_CATALOG_FILES=${XML_CATALOG_FILES:-${sysconfdir}/xml/catalog}'
> > > >  }
> > >
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/69/builds/5823/steps/24/logs/stdio
> >
> >
> > Dependency on variable 
> > XML_CATALOG_FILES:-/media/build1/poky/build-st-282284/tmp-sstatesamehash/work/x86_64-linux/libxml2-native/2.9.14-r0/recipe-sysroot-native/etc/xml/catalog
> >  was added
> > Dependency on Variable 
> > XML_CATALOG_FILES:-/media/build1/poky/build-st-282284/tmp-sstatesamehash2/work/x86_64-linux/libxml2-native/2.9.14-r0/recipe-sysroot-native/etc/xml/catalog
> >  was removed
> >
> > i.e. it is expanding the variable in the keyname!
>
> I tweaked the patch to exclude this variable for now. We probably need
> to think a bit more about what bitbake is considering a variable name
> though...

Thanks for addressing. Will remove my workaround in meta-qt5-extra and
hope not to come back :)

Andreas

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#170547): 
https://lists.openembedded.org/g/openembedded-core/message/170547
Mute This Topic: https://lists.openembedded.org/mt/93577134/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] libxml2: wrap xmllint to use the correct XML catalogues

2022-09-03 Thread Andreas Müller
Hi,

this is a major change on behaviour and causing trouble at least for
KDE's kdoctools. Am no expert but I guess kdoctools uses custom
catalogs. Worked around trouble in meta-qt5-extra (assume meta-kf5
will face same) by preferring bare xmllint [1].
Just a heads up - it is about to land in kirkstone - have no idea what
this patch fixes.

[1] 
https://github.com/schnitzeltony/meta-qt5-extra/blob/master/recipes-kde/kf5/tier2/kdoctools/files/0002-Prefer-bare-xmllint.patch


Andreas

On Tue, Aug 23, 2022 at 5:37 PM Ross Burton  wrote:
>
> Install a wrapper around xmllint in native builds to set
> XML_CATALOG_FILES to the correct location of the XML catalogues, so that
> the callers of this script (like xmlto) don't need to do the same.
>
> Signed-off-by: Ross Burton 
> ---
>  meta/recipes-core/libxml/libxml2_2.9.14.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-core/libxml/libxml2_2.9.14.bb 
> b/meta/recipes-core/libxml/libxml2_2.9.14.bb
> index e58298d3b01..d803db86721 100644
> --- a/meta/recipes-core/libxml/libxml2_2.9.14.bb
> +++ b/meta/recipes-core/libxml/libxml2_2.9.14.bb
> @@ -109,6 +109,8 @@ do_install_ptest () {
>  do_install:append:class-native () {
> # Docs are not needed in the native case
> rm ${D}${datadir}/gtk-doc -rf
> +
> +   create_wrapper ${D}${bindir}/xmllint 
> XML_CATALOG_FILES=${sysconfdir}/xml/catalog
>  }
>
>  BBCLASSEXTEND = "native nativesdk"
> --
> 2.34.1
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#170268): 
https://lists.openembedded.org/g/openembedded-core/message/170268
Mute This Topic: https://lists.openembedded.org/mt/93206851/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] vte: upgrade 0.66.2 -> 0.68.0

2022-04-03 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 meta/recipes-support/vte/{vte_0.66.2.bb => vte_0.68.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/vte/{vte_0.66.2.bb => vte_0.68.0.bb} (95%)

diff --git a/meta/recipes-support/vte/vte_0.66.2.bb 
b/meta/recipes-support/vte/vte_0.68.0.bb
similarity index 95%
rename from meta/recipes-support/vte/vte_0.66.2.bb
rename to meta/recipes-support/vte/vte_0.68.0.bb
index af1c47cf80..fc4324872d 100644
--- a/meta/recipes-support/vte/vte_0.66.2.bb
+++ b/meta/recipes-support/vte/vte_0.68.0.bb
@@ -21,7 +21,7 @@ inherit gnomebase gtk-doc features_check 
upstream-version-is-even gobject-intros
 # vapigen.m4 is required when vala is not present (but the one from vala 
should be used normally)
 SRC_URI += "file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch \
 
file://0001-Makefile.docs-correctly-substitute-gtkdoc-qemu-wrapp.patch"
-SRC_URI[archive.sha256sum] = 
"e89974673a72a0a06edac6d17830b82bb124decf0cb3b52cebc92ec3ff04d976"
+SRC_URI[archive.sha256sum] = 
"13e7d4789ca216a33780030d246c9b13ddbfd04094c6316eea7ff92284dd1749"
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163966): 
https://lists.openembedded.org/g/openembedded-core/message/163966
Mute This Topic: https://lists.openembedded.org/mt/90224405/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] libsdl2: Fix build when libunwind is not used

2022-01-06 Thread Andreas Müller
On Thu, Jan 6, 2022 at 7:54 PM Khem Raj  wrote:
>
> clang provides libunwind.h and cmake adds a check to
> find libunwind when this header is detected, which was
> not the case with automake. The check however is expecting
> specific unwinder implementation which provides libunwind-generic
> solib, this is not a standard library that all implementations
> will provide, therefore make this check optional.
>
> Signed-off-by: Khem Raj 
> Cc: Andreas Müller 
Had just started to look into before I saw this. Thanks for taking care.

Cheers

Andreas

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160242): 
https://lists.openembedded.org/g/openembedded-core/message/160242
Mute This Topic: https://lists.openembedded.org/mt/88245006/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] do_prepare_recipe_sysroot takes >5min @100% CPU

2022-01-04 Thread Andreas Müller
Hi,

with relatively actual states of layers/bitbake I see huge delays in
my builds on tasks do_prepare_recipe_sysroot and sometimes or do_patch
- even if recipe does not have patches.

The time the tasks take is 5-10min and each of them load one CPU with
100%. Is this something others have noticed or even better: any hint
how to get over?

Cheers

Andreas

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160170): 
https://lists.openembedded.org/g/openembedded-core/message/160170
Mute This Topic: https://lists.openembedded.org/mt/88195633/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH v2] libsdl2: Move to CMake build

2022-01-04 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
v1->v2:
* Fix '==' typo - Thanks Jacob!
* remove autotools patch

 .../libsdl2/libsdl2/more-gen-depends.patch| 60 ---
 .../libsdl2/libsdl2_2.0.18.bb | 51 ++--
 2 files changed, 19 insertions(+), 92 deletions(-)
 delete mode 100644 meta/recipes-graphics/libsdl2/libsdl2/more-gen-depends.patch

diff --git a/meta/recipes-graphics/libsdl2/libsdl2/more-gen-depends.patch 
b/meta/recipes-graphics/libsdl2/libsdl2/more-gen-depends.patch
deleted file mode 100644
index 8ca52ebde7..00
--- a/meta/recipes-graphics/libsdl2/libsdl2/more-gen-depends.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From e0f4b6d18ce6f025c78773e909b9c395ad833c7a Mon Sep 17 00:00:00 2001
-From: Ross Burton 
-Date: Mon, 29 Jul 2019 08:38:32 +0800
-Subject: [PATCH] configure: fix dependencies
-
-Many source files include e.g. wayland-protocols.h which should be found in the
-sysroot but SDL wants to build its own headers from the XML definitions.
-
-However the rules to generate those headers are only dependencies of the
-top-level libSDL2.la object so can be built in parallel with the rest of the
-objects, which can lead to interesting errors if the header is parsed by the
-compiler whilst it's being written by another process:
-
-| gen/wayland-client-protocol.h:3: error: unterminated #ifndef
-|  #ifndef WAYLAND_CLIENT_PROTOCOL_H
-
-Solve this by adding more dependencies so the generated files are built before
-the primary objects.
-
-Upstream-Status: Pending
-Signed-off-by: Ross Burton 
-[Moved to configure.ac]
-Signed-off-by: Anuj Mittal 

- configure.ac | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 9e782c6..997915a 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -4061,7 +4061,7 @@ DEPENDS=`echo $SOURCES | tr ' ' '\n'`
- for EXT in asm cc m c S; do
- OBJECTS=`echo "$OBJECTS" | sed 's,[[^ ]]*/\([[^ 
]]*\)\.'$EXT',$(objects)/\1.lo,g'`
- DEPENDS=`echo "$DEPENDS" | sed "s,^\\([[^ ]]*\\)/\\([[^ 
]]*\\)\\.$EXT\\$,
--\\$(objects)/\\2.lo: \\1/\\2.$EXT \\$(objects)/.created
-+\\$(objects)/\\2.lo: \\1/\\2.$EXT \\$(objects)/.created \\$(GEN_OBJECTS)
-   \\$(RUN_CMD_CC)\\$(LIBTOOL) --tag=CC --mode=compile \\$(CC) \\$(CFLAGS) 
\\$(EXTRA_CFLAGS) $DEPENDENCY_TRACKING_OPTIONS -c \\$< -o \\$@,g"`
- done
- 
-@@ -4078,14 +4078,14 @@ SDLMAIN_OBJECTS=`echo $SDLMAIN_SOURCES`
- SDLMAIN_DEPENDS=`echo $SDLMAIN_SOURCES`
- SDLMAIN_OBJECTS=`echo "$SDLMAIN_OBJECTS" | sed 's,[[^ ]]*/\([[^ 
]]*\)\.c,$(objects)/\1.lo,g'`
- SDLMAIN_DEPENDS=`echo "$SDLMAIN_DEPENDS" | sed "s,\\([[^ ]]*\\)/\\([[^ 
]]*\\)\\.c,
--\\$(objects)/\\2.lo: \\1/\\2.c \\$(objects)/.created
-+\\$(objects)/\\2.lo: \\1/\\2.c \\$(objects)/.created \\$(GEN_OBJECTS)
-   \\$(RUN_CMD_CC)\\$(LIBTOOL) --tag=CC --mode=compile \\$(CC) \\$(CFLAGS) 
\\$(EXTRA_CFLAGS) $DEPENDENCY_TRACKING_OPTIONS -c \\$< -o \\$@,g"`
- 
- SDLTEST_OBJECTS=`echo $SDLTEST_SOURCES`
- SDLTEST_DEPENDS=`echo $SDLTEST_SOURCES`
- SDLTEST_OBJECTS=`echo "$SDLTEST_OBJECTS" | sed 's,[[^ ]]*/\([[^ 
]]*\)\.c,$(objects)/\1.lo,g'`
- SDLTEST_DEPENDS=`echo "$SDLTEST_DEPENDS" | sed "s,\\([[^ ]]*\\)/\\([[^ 
]]*\\)\\.c,
--\\$(objects)/\\2.lo: \\1/\\2.c \\$(objects)/.created
-+\\$(objects)/\\2.lo: \\1/\\2.c \\$(objects)/.created \\$(GEN_OBJECTS)
-   \\$(RUN_CMD_CC)\\$(LIBTOOL) --tag=CC --mode=compile \\$(CC) \\$(CFLAGS) 
\\$(EXTRA_CFLAGS) $DEPENDENCY_TRACKING_OPTIONS -c \\$< -o \\$@,g"`
- 
- # Set runtime shared library paths as needed
--- 
-2.7.4
-
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb 
b/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb
index 5e645b443c..1e22a0593f 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb
@@ -16,28 +16,25 @@ LIC_FILES_CHKSUM:append = " 
${@bb.utils.contains('PACKAGECONFIG', 'arm-neon', 'f
 
 PROVIDES = "virtual/libsdl2"
 
-SRC_URI = "http://www.libsdl.org/release/SDL2-${PV}.tar.gz \
-   file://more-gen-depends.patch \
-"
+SRC_URI = "http://www.libsdl.org/release/SDL2-${PV}.tar.gz";
 
 S = "${WORKDIR}/SDL2-${PV}"
 
 SRC_URI[sha256sum] = 
"94d40cd73dbfa10bb6eadfbc28f355992bb2d6ef6761ad9d4074eff95ee5711c"
 
-inherit autotools lib_package binconfig-disabled pkgconfig
+inherit cmake lib_package binconfig-disabled pkgconfig
 
 BINCONFIG = "${bindir}/sdl2-config"
 
 CVE_PRODUCT = "simple_directmedia_layer sdl"
 
-EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \
---disable-diskaudio --disable-nas --disable-esd-shared 
--disable-esdtest \
---disable-video-dummy \
---disable-video-rpi \
- 

Re: [OE-core] [PATCH] libsdl2: Move to CMake build

2022-01-04 Thread Andreas Müller
Please ignore - it went out too early

On Tue, Jan 4, 2022 at 10:21 AM Andreas Müller  wrote:
>
> Signed-off-by: Andreas Müller 
> ---
>  .../libsdl2/libsdl2_2.0.18.bb | 47 +++
>  1 file changed, 18 insertions(+), 29 deletions(-)
>
> diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb 
> b/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb
> index 5e645b443c..d1af282a1c 100644
> --- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb
> +++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb
> @@ -24,20 +24,19 @@ S = "${WORKDIR}/SDL2-${PV}"
>
>  SRC_URI[sha256sum] = 
> "94d40cd73dbfa10bb6eadfbc28f355992bb2d6ef6761ad9d4074eff95ee5711c"
>
> -inherit autotools lib_package binconfig-disabled pkgconfig
> +inherit cmake lib_package binconfig-disabled pkgconfig
>
>  BINCONFIG = "${bindir}/sdl2-config"
>
>  CVE_PRODUCT = "simple_directmedia_layer sdl"
>
> -EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \
> ---disable-diskaudio --disable-nas --disable-esd-shared 
> --disable-esdtest \
> ---disable-video-dummy \
> ---disable-video-rpi \
> ---enable-pthreads \
> ---disable-rpath \
> ---disable-sndio \
> ---disable-fcitx --disable-ibus \
> +EXTRA_OECMAKE = "-DSDL_OSS=OFF -DSDL_ESD=OFF -DSDL_ARTS=OFF \
> + -DSDL_DISKAUDIO=OFF -DSDL_NAS=OFF -DSDL_ESD_SHARED=OFF \
> + -DSDL_DUMMYVIDEO=OFF \
> + -DSDL_RPI=OFF \
> + -DSDL_PTHREADS=ON \
> + -DSDL_RPATH=OFF \
> + -DSDL_SNDIO=OFF \
>  "
>
>  # opengl packageconfig factored out to make it easy for distros
> @@ -52,27 +51,17 @@ PACKAGECONFIG ??= " \
>  ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2', '', 
> d)} \
>  ${@bb.utils.contains("TUNE_FEATURES", "neon","arm-neon","",d)} \
>  "
> -PACKAGECONFIG[alsa]   = "--enable-alsa 
> --disable-alsatest,--disable-alsa,alsa-lib,"
> -PACKAGECONFIG[arm-neon]   = "--enable-arm-neon,--disable-arm-neon"
> -PACKAGECONFIG[directfb]   = 
> "--enable-video-directfb,--disable-video-directfb,directfb,directfb"
> -PACKAGECONFIG[gles2]  = 
> "--enable-video-opengles,--disable-video-opengles,virtual/libgles2"
> -PACKAGECONFIG[jack]   = "--enable-jack,--disable-jack,jack"
> -PACKAGECONFIG[kmsdrm] = 
> "--enable-video-kmsdrm,--disable-video-kmsdrm,libdrm virtual/libgbm"
> -PACKAGECONFIG[opengl] = 
> "--enable-video-opengl,--disable-video-opengl,virtual/libgl"
> -PACKAGECONFIG[pulseaudio] = 
> "--enable-pulseaudio,--disable-pulseaudio,pulseaudio"
> -PACKAGECONFIG[wayland]= 
> "--enable-video-wayland,--disable-video-wayland,wayland-native wayland 
> wayland-protocols libxkbcommon"
> -PACKAGECONFIG[x11]= 
> "--enable-video-x11,--disable-video-x11,virtual/libx11 libxext libxrandr 
> libxrender"
> +PACKAGECONFIG[alsa]   = "-DSDL_ALSA=ON,-DSDL_ALSA=OFF,alsa-lib,"
> +PACKAGECONFIG[arm-neon]   = "-DSDL_ARMNEON=ON,-DSDL_ARMNEON=OFF"
> +PACKAGECONFIG[directfb]   = 
> "-DSDL_DIRECTFB=ON,-DSDL_DIRECTFB=OFF,directfb,directfb"
> +PACKAGECONFIG[gles2]  = 
> "-DSDL_OPENGLES=ON,-DSDL_OPENGLES=OFF,virtual/libgles2"
> +PACKAGECONFIG[jack]   = "-DSDL_JACK=ON,-DSDL_JACK=OFF,jack"
> +PACKAGECONFIG[kmsdrm] = "-DSDL_KMSDRM=ON,-DSDL_KMSDRM=OFF,libdrm 
> virtual/libgbm"
> +PACKAGECONFIG[opengl] = "-DSDL_OPENGL=ON,-DSDL_OPENGL=OFF,virtual/libgl"
> +PACKAGECONFIG[pulseaudio] = 
> "-DSDL_PULSEAUDIO=ON,-DSDL_PULSEAUDIO=OFF,pulseaudio"
> +PACKAGECONFIG[wayland]= 
> "-DSDL_WAYLAND=ON,-DSDL_WAYLAND=OFF,wayland-native wayland wayland-protocols 
> libxkbcommon"
> +PACKAGECONFIG[x11]= "-DSDL_X11=ON,-DSDL_X11=OFF,virtual/libx11 
> libxext libxrandr libxrender"
>
> -EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader"
>  CFLAGS:append:class-native = " -DNO_SHARED_MEMORY"
>
> -do_configure:prepend() {
> -# Remove old libtool macros.
> -MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 
> ltversion.m4"
> -for i in ${MACROS}; do
> -   rm -f ${S}/acinclude/$i
> -done
> -export SYSROOT=$PKG_CONFIG_SYSROOT_DIR
> -}
> -
>  BBCLASSEXTEND = "native nativesdk"
> --
> 2.31.1
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160160): 
https://lists.openembedded.org/g/openembedded-core/message/160160
Mute This Topic: https://lists.openembedded.org/mt/88180295/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] libsdl2: Move to CMake build

2022-01-04 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 .../libsdl2/libsdl2_2.0.18.bb | 47 +++
 1 file changed, 18 insertions(+), 29 deletions(-)

diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb 
b/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb
index 5e645b443c..d1af282a1c 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb
@@ -24,20 +24,19 @@ S = "${WORKDIR}/SDL2-${PV}"
 
 SRC_URI[sha256sum] = 
"94d40cd73dbfa10bb6eadfbc28f355992bb2d6ef6761ad9d4074eff95ee5711c"
 
-inherit autotools lib_package binconfig-disabled pkgconfig
+inherit cmake lib_package binconfig-disabled pkgconfig
 
 BINCONFIG = "${bindir}/sdl2-config"
 
 CVE_PRODUCT = "simple_directmedia_layer sdl"
 
-EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \
---disable-diskaudio --disable-nas --disable-esd-shared 
--disable-esdtest \
---disable-video-dummy \
---disable-video-rpi \
---enable-pthreads \
---disable-rpath \
---disable-sndio \
---disable-fcitx --disable-ibus \
+EXTRA_OECMAKE = "-DSDL_OSS=OFF -DSDL_ESD=OFF -DSDL_ARTS=OFF \
+ -DSDL_DISKAUDIO=OFF -DSDL_NAS=OFF -DSDL_ESD_SHARED=OFF \
+ -DSDL_DUMMYVIDEO=OFF \
+ -DSDL_RPI=OFF \
+ -DSDL_PTHREADS=ON \
+ -DSDL_RPATH=OFF \
+ -DSDL_SNDIO=OFF \
 "
 
 # opengl packageconfig factored out to make it easy for distros
@@ -52,27 +51,17 @@ PACKAGECONFIG ??= " \
 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2', '', 
d)} \
 ${@bb.utils.contains("TUNE_FEATURES", "neon","arm-neon","",d)} \
 "
-PACKAGECONFIG[alsa]   = "--enable-alsa 
--disable-alsatest,--disable-alsa,alsa-lib,"
-PACKAGECONFIG[arm-neon]   = "--enable-arm-neon,--disable-arm-neon"
-PACKAGECONFIG[directfb]   = 
"--enable-video-directfb,--disable-video-directfb,directfb,directfb"
-PACKAGECONFIG[gles2]  = 
"--enable-video-opengles,--disable-video-opengles,virtual/libgles2"
-PACKAGECONFIG[jack]   = "--enable-jack,--disable-jack,jack"
-PACKAGECONFIG[kmsdrm] = 
"--enable-video-kmsdrm,--disable-video-kmsdrm,libdrm virtual/libgbm"
-PACKAGECONFIG[opengl] = 
"--enable-video-opengl,--disable-video-opengl,virtual/libgl"
-PACKAGECONFIG[pulseaudio] = 
"--enable-pulseaudio,--disable-pulseaudio,pulseaudio"
-PACKAGECONFIG[wayland]= 
"--enable-video-wayland,--disable-video-wayland,wayland-native wayland 
wayland-protocols libxkbcommon"
-PACKAGECONFIG[x11]= 
"--enable-video-x11,--disable-video-x11,virtual/libx11 libxext libxrandr 
libxrender"
+PACKAGECONFIG[alsa]   = "-DSDL_ALSA=ON,-DSDL_ALSA=OFF,alsa-lib,"
+PACKAGECONFIG[arm-neon]   = "-DSDL_ARMNEON=ON,-DSDL_ARMNEON=OFF"
+PACKAGECONFIG[directfb]   = 
"-DSDL_DIRECTFB=ON,-DSDL_DIRECTFB=OFF,directfb,directfb"
+PACKAGECONFIG[gles2]  = 
"-DSDL_OPENGLES=ON,-DSDL_OPENGLES=OFF,virtual/libgles2"
+PACKAGECONFIG[jack]   = "-DSDL_JACK=ON,-DSDL_JACK=OFF,jack"
+PACKAGECONFIG[kmsdrm] = "-DSDL_KMSDRM=ON,-DSDL_KMSDRM=OFF,libdrm 
virtual/libgbm"
+PACKAGECONFIG[opengl] = "-DSDL_OPENGL=ON,-DSDL_OPENGL=OFF,virtual/libgl"
+PACKAGECONFIG[pulseaudio] = 
"-DSDL_PULSEAUDIO=ON,-DSDL_PULSEAUDIO=OFF,pulseaudio"
+PACKAGECONFIG[wayland]= "-DSDL_WAYLAND=ON,-DSDL_WAYLAND=OFF,wayland-native 
wayland wayland-protocols libxkbcommon"
+PACKAGECONFIG[x11]= "-DSDL_X11=ON,-DSDL_X11=OFF,virtual/libx11 libxext 
libxrandr libxrender"
 
-EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader"
 CFLAGS:append:class-native = " -DNO_SHARED_MEMORY"
 
-do_configure:prepend() {
-# Remove old libtool macros.
-MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
-for i in ${MACROS}; do
-   rm -f ${S}/acinclude/$i
-done
-export SYSROOT=$PKG_CONFIG_SYSROOT_DIR
-}
-
 BBCLASSEXTEND = "native nativesdk"
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160158): 
https://lists.openembedded.org/g/openembedded-core/message/160158
Mute This Topic: https://lists.openembedded.org/mt/88180295/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] libsdl2: Move to CMake build

2022-01-03 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 .../libsdl2/libsdl2_2.0.18.bb | 47 +++
 1 file changed, 18 insertions(+), 29 deletions(-)

diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb 
b/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb
index 5e645b443c..dbc270d858 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb
@@ -24,20 +24,19 @@ S = "${WORKDIR}/SDL2-${PV}"
 
 SRC_URI[sha256sum] = 
"94d40cd73dbfa10bb6eadfbc28f355992bb2d6ef6761ad9d4074eff95ee5711c"
 
-inherit autotools lib_package binconfig-disabled pkgconfig
+inherit cmake lib_package binconfig-disabled pkgconfig
 
 BINCONFIG = "${bindir}/sdl2-config"
 
 CVE_PRODUCT = "simple_directmedia_layer sdl"
 
-EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \
---disable-diskaudio --disable-nas --disable-esd-shared 
--disable-esdtest \
---disable-video-dummy \
---disable-video-rpi \
---enable-pthreads \
---disable-rpath \
---disable-sndio \
---disable-fcitx --disable-ibus \
+EXTRA_OECMAKE = "-DSDL_OSS==OFF -DSDL_ESD=OFF -DSDL_ARTS=OFF \
+ -DSDL_DISKAUDIO=OFF -DSDL_NAS=OFF -DSDL_ESD_SHARED=OFF \
+ -DSDL_DUMMYVIDEO=OFF \
+ -DSDL_RPI=OFF \
+ -DSDL_PTHREADS=ON \
+ -DSDL_RPATH=OFF \
+ -DSDL_SNDIO=OFF \
 "
 
 # opengl packageconfig factored out to make it easy for distros
@@ -52,27 +51,17 @@ PACKAGECONFIG ??= " \
 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2', '', 
d)} \
 ${@bb.utils.contains("TUNE_FEATURES", "neon","arm-neon","",d)} \
 "
-PACKAGECONFIG[alsa]   = "--enable-alsa 
--disable-alsatest,--disable-alsa,alsa-lib,"
-PACKAGECONFIG[arm-neon]   = "--enable-arm-neon,--disable-arm-neon"
-PACKAGECONFIG[directfb]   = 
"--enable-video-directfb,--disable-video-directfb,directfb,directfb"
-PACKAGECONFIG[gles2]  = 
"--enable-video-opengles,--disable-video-opengles,virtual/libgles2"
-PACKAGECONFIG[jack]   = "--enable-jack,--disable-jack,jack"
-PACKAGECONFIG[kmsdrm] = 
"--enable-video-kmsdrm,--disable-video-kmsdrm,libdrm virtual/libgbm"
-PACKAGECONFIG[opengl] = 
"--enable-video-opengl,--disable-video-opengl,virtual/libgl"
-PACKAGECONFIG[pulseaudio] = 
"--enable-pulseaudio,--disable-pulseaudio,pulseaudio"
-PACKAGECONFIG[wayland]= 
"--enable-video-wayland,--disable-video-wayland,wayland-native wayland 
wayland-protocols libxkbcommon"
-PACKAGECONFIG[x11]= 
"--enable-video-x11,--disable-video-x11,virtual/libx11 libxext libxrandr 
libxrender"
+PACKAGECONFIG[alsa]   = "-DSDL_ALSA=ON,-DSDL_ALSA=OFF,alsa-lib,"
+PACKAGECONFIG[arm-neon]   = "-DSDL_ARMNEON=ON,-DSDL_ARMNEON=OFF"
+PACKAGECONFIG[directfb]   = 
"-DSDL_DIRECTFB=ON,-DSDL_DIRECTFB=OFF,directfb,directfb"
+PACKAGECONFIG[gles2]  = 
"-DSDL_OPENGLES=ON,-DSDL_OPENGLES=OFF,virtual/libgles2"
+PACKAGECONFIG[jack]   = "-DSDL_JACK=ON,-DSDL_JACK=OFF,jack"
+PACKAGECONFIG[kmsdrm] = "-DSDL_KMSDRM=ON,-DSDL_KMSDRM=OFF,libdrm 
virtual/libgbm"
+PACKAGECONFIG[opengl] = "-DSDL_OPENGL=ON,-DSDL_OPENGL=OFF,virtual/libgl"
+PACKAGECONFIG[pulseaudio] = 
"-DSDL_PULSEAUDIO=ON,-DSDL_PULSEAUDIO=OFF,pulseaudio"
+PACKAGECONFIG[wayland]= "-DSDL_WAYLAND=ON,-DSDL_WAYLAND=OFF,wayland-native 
wayland wayland-protocols libxkbcommon"
+PACKAGECONFIG[x11]= "-DSDL_X11=ON,-DSDL_X11=OFF,virtual/libx11 libxext 
libxrandr libxrender"
 
-EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader"
 CFLAGS:append:class-native = " -DNO_SHARED_MEMORY"
 
-do_configure:prepend() {
-# Remove old libtool macros.
-MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
-for i in ${MACROS}; do
-   rm -f ${S}/acinclude/$i
-done
-export SYSROOT=$PKG_CONFIG_SYSROOT_DIR
-}
-
 BBCLASSEXTEND = "native nativesdk"
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160153): 
https://lists.openembedded.org/g/openembedded-core/message/160153
Mute This Topic: https://lists.openembedded.org/mt/88180295/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] base/patch: Disable network for unpack/patch/configure/compile/install

2021-12-23 Thread Andreas Müller
On Thu, Dec 23, 2021 at 2:19 PM Konrad Weihmann  wrote:
>
>
>
> On 23.12.21 14:11, Richard Purdie wrote:
> > On Thu, 2021-12-23 at 12:31 +0100, Konrad Weihmann wrote:
> >>
> >> On 23.12.21 11:49, Peter Kjellerstedt wrote:
>  -Original Message-
>  From: openembedded-core@lists.openembedded.org 
>   On Behalf Of Richard Purdie
>  Sent: den 23 december 2021 00:21
>  To: openembedded-core@lists.openembedded.org
>  Subject: [OE-core] [PATCH] base/patch: Disable network for 
>  unpack/patch/configure/compile/install
> 
>  Use the newly added nonetwork task flag to disable network access where
>  possible in unpack/patch/configure/compile/install tasks.
> 
>  We can't disable networking in sstate tasks due to sstate downloads and
>  also so we can report hash equivalence to the server.
> >>>
> >>> Since no tasks except fetch (and apparently the sstate tasks) are expected
> >>> to use the network, wouldn't it make more sense to reverse this flag? 
> >>> I.e.,
> >>> add do_fetch[network] = "1" instead. That way you don't get away with
> >>> adding some random task and using the network from it unless you 
> >>> explicitly
> >>> state that you will.
> >>
> >> This is actually a brilliant idea, which would also make it easier to
> >> control this behavior from a user's perspective
> >
> > Part of me wonders if we really do want to make this "easy" for the user :/
>
> "easier" may have sounded wrong - what I mean is that it would be then
> explicit, with no network access being the default.
>
> So for instance a simple grep on a new layer could confirm whether a
> layer needs network access or not - while with the opt-out method of
> your patch things may be a bit more difficult to check.
>
> side note: this could also be put into the check-layer script (as I
> think the official badge shall just go to layers that do not need
> network access out of the scope defined by core)
>
> And yes I got a ton of additional tasks in the layers I work with and
> none of these would be affected by the opt-in model.
>
> Either way, I really love to see this feature finally happen
>
Out of curiosity (will see fallout at least on libreoffice): Why is
this a feature to love?

Andreas

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#159986): 
https://lists.openembedded.org/g/openembedded-core/message/159986
Mute This Topic: https://lists.openembedded.org/mt/87909311/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [RFC PATCH 14/14] layer.conf: Extend recipes not to install without explict dependencies

2021-10-18 Thread Andreas Müller
On Mon, Oct 18, 2021 at 4:12 PM Martin Jansa  wrote:
>
> On Mon, Oct 18, 2021 at 1:50 AM Andreas Müller  
> wrote:
>>
>> On Fri, Oct 1, 2021 at 4:17 PM Martin Jansa  wrote:
>> >
>> > FWIW: I've fixed some bigger layers where pkgconfig was causing quite a 
>> > few build failures,
>> >
>> Had an off-oe time due to  heavy work load.
>> Think this one is the reason for the pkgconfig patch flood. You are
>> aware that there are packages not failing at build time for missing
>> pkgconfig but build output is different and bugs will pop up at
>> runtime.
>>
>> To avoid responsible maintainers have to go through EVERY recipe (and
>> combination of PACKAGECONFIGs) and check if builds are still as
>> expected - Can't believe it!
>
>
> Not sure why this seems targeted to me.
It was not targeted to you - just responded all in the last post - sorry

Andreas
>
> Yes I've tried to fix whatever issues this change caused in my world builds 
> and I'm partially responsible for pkgconfig patch flood, because I wanted 
> layers like meta-ros/*, meta-qt5, meta-qt6, meta-webosose/* to stay 
> compatible with oe-core whenever this change from RP is merged to master.
>
> I've also tried to compare buildhistory and image content (for 
> ros-image-world with ros1-melodic) to see if I can spot more cases of 
> non-fatal build output changes as in collada-dom and unfortunately there is a 
> lot of noise in buildhistory (due to many recipes included in this image not 
> really build-reproducible), so I've used mostly installed-package-sizes.txt 
> file to spot 2 more recipes where the size was different (but both don't seem 
> to be caused by pkgconfig-native in the end).
>
> I did both builds from scratch without sstate, so I would assume that it will 
> catch all possible cases, but surprisingly just yesterday I've caught another 
> missing pkgconfig-native in one of meta-ros1-melodic recipes (caught in 
> kirkstone based build - while before I was testing on top of a bit older 
> honister with this change cherry-picked just for test - to prepare recipes to 
> be future-proof for kirkstone).
>
> Regards,

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157087): 
https://lists.openembedded.org/g/openembedded-core/message/157087
Mute This Topic: https://lists.openembedded.org/mt/85739636/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [RFC PATCH 14/14] layer.conf: Extend recipes not to install without explict dependencies

2021-10-18 Thread Andreas Müller
On Mon, Oct 18, 2021 at 4:12 PM Martin Jansa  wrote:
>
> On Mon, Oct 18, 2021 at 1:50 AM Andreas Müller  
> wrote:
>>
>> On Fri, Oct 1, 2021 at 4:17 PM Martin Jansa  wrote:
>> >
>> > FWIW: I've fixed some bigger layers where pkgconfig was causing quite a 
>> > few build failures,
>> >
>> Had an off-oe time due to  heavy work load.
>> Think this one is the reason for the pkgconfig patch flood. You are
>> aware that there are packages not failing at build time for missing
>> pkgconfig but build output is different and bugs will pop up at
>> runtime.
>>
>> To avoid responsible maintainers have to go through EVERY recipe (and
>> combination of PACKAGECONFIGs) and check if builds are still as
>> expected - Can't believe it!
>
>
> Not sure why this seems targeted to me.
>
> Yes I've tried to fix whatever issues this change caused in my world builds 
> and I'm partially responsible for pkgconfig patch flood, because I wanted 
> layers like meta-ros/*, meta-qt5, meta-qt6, meta-webosose/* to stay 
> compatible with oe-core whenever this change from RP is merged to master.
I am not against the flood of pkconfig patches I am against this patch.
>
> I've also tried to compare buildhistory and image content (for 
> ros-image-world with ros1-melodic) to see if I can spot more cases of 
> non-fatal build output changes as in collada-dom and unfortunately there is a 
> lot of noise in buildhistory (due to many recipes included in this image not 
> really build-reproducible), so I've used mostly installed-package-sizes.txt 
> file to spot 2 more recipes where the size was different (but both don't seem 
> to be caused by pkgconfig-native in the end).
>
> I did both builds from scratch without sstate, so I would assume that it will 
> catch all possible cases, but surprisingly just yesterday I've caught another 
> missing pkgconfig-native in one of meta-ros1-melodic recipes (caught in 
> kirkstone based build - while before I was testing on top of a bit older 
> honister with this change cherry-picked just for test - to prepare recipes to 
> be future-proof for kirkstone).
>
This was huge effort - and it sounds there is still no 100% confidence
to get same you had before - right? Others have to do same.

And for what? A build acceleration of how much - this patch does not
mention numbers. Or is it: Only the perfect recipes are allowed to
survive.

To me oe-core has decided (again) to make changes without taking care:
Break dozens of layers and force maintainers to spend days to get what
they had before this change. From image perspective nothing has
changed. And the very best: Some layers were just made for fun and
since this is definitely no fun they are going to die.

After this I have to work on my motivation spending time on this
project - not an easy task.

My opinion

Andreas
> Regards,

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157086): 
https://lists.openembedded.org/g/openembedded-core/message/157086
Mute This Topic: https://lists.openembedded.org/mt/85739636/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [RFC PATCH 14/14] layer.conf: Extend recipes not to install without explict dependencies

2021-10-17 Thread Andreas Müller
On Fri, Oct 1, 2021 at 4:17 PM Martin Jansa  wrote:
>
> FWIW: I've fixed some bigger layers where pkgconfig was causing quite a few 
> build failures,
>
Had an off-oe time due to  heavy work load.
Think this one is the reason for the pkgconfig patch flood. You are
aware that there are packages not failing at build time for missing
pkgconfig but build output is different and bugs will pop up at
runtime.

To avoid responsible maintainers have to go through EVERY recipe (and
combination of PACKAGECONFIGs) and check if builds are still as
expected - Can't believe it!

Andreas

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157047): 
https://lists.openembedded.org/g/openembedded-core/message/157047
Mute This Topic: https://lists.openembedded.org/mt/85739636/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] webkitgtk: add gperf-native to DEPENDS to fix build

2021-10-17 Thread Andreas Müller
On Sun, Oct 17, 2021 at 2:03 PM Richard Purdie
 wrote:
>
> On Sun, 2021-10-17 at 13:57 +0200, Andreas Müller wrote:
> > >   Could NOT find Gperf (missing: GPERF_EXECUTABLE) (Required is at least
> > >   version "3.0.1")
> >
> > Signed-off-by: Andreas Müller 
> > ---
> >  meta/recipes-sato/webkit/webkitgtk_2.34.0.bb | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/meta/recipes-sato/webkit/webkitgtk_2.34.0.bb b/meta/recipes-
> > sato/webkit/webkitgtk_2.34.0.bb
> > index 25e1d422cc..a8e067147c 100644
> > --- a/meta/recipes-sato/webkit/webkitgtk_2.34.0.bb
> > +++ b/meta/recipes-sato/webkit/webkitgtk_2.34.0.bb
> > @@ -32,6 +32,7 @@ CVE_PRODUCT = "webkitgtk webkitgtk\+"
> >
> >  DEPENDS = " \
> >ruby-native \
> > +  gperf-native \
> >cairo \
> >harfbuzz \
> >jpeg \
>
> Out of interest, why are you seeing that and the automated testing isn't?
>
Asked myself same but did not find an answer. My build should use
default PACKAGECONFIGs. Was off for a while so now pulled master
(meta-openembedded master-next for mozjs upgrade) and started a build.
Not helpful exactly - sorry...

Andreas

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157037): 
https://lists.openembedded.org/g/openembedded-core/message/157037
Mute This Topic: https://lists.openembedded.org/mt/86389188/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] webkitgtk: add gperf-native to DEPENDS to fix build

2021-10-17 Thread Andreas Müller
|   Could NOT find Gperf (missing: GPERF_EXECUTABLE) (Required is at least
|   version "3.0.1")

Signed-off-by: Andreas Müller 
---
 meta/recipes-sato/webkit/webkitgtk_2.34.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-sato/webkit/webkitgtk_2.34.0.bb 
b/meta/recipes-sato/webkit/webkitgtk_2.34.0.bb
index 25e1d422cc..a8e067147c 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.34.0.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.34.0.bb
@@ -32,6 +32,7 @@ CVE_PRODUCT = "webkitgtk webkitgtk\+"
 
 DEPENDS = " \
   ruby-native \
+  gperf-native \
   cairo \
   harfbuzz \
   jpeg \
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157035): 
https://lists.openembedded.org/g/openembedded-core/message/157035
Mute This Topic: https://lists.openembedded.org/mt/86389188/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] Layerlist update broken?

2021-09-09 Thread Andreas Müller
Hi,

Just a heads up: looks like https://layers.openembedded.org/ has
stopped updating 3 weeks ago.

Cheers,

Andreas

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#155870): 
https://lists.openembedded.org/g/openembedded-core/message/155870
Mute This Topic: https://lists.openembedded.org/mt/85494554/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 2/2] binutils: Apply upstream patch to fix 'too many open files' on qtwebengine

2021-08-17 Thread Andreas Müller
Since upgrade of binutils to 2.37 builds of qtwebengine failed to link even
with ulimits -n 100 (!!).
Fix that by applying a patch from stable 'binutils-2_37-branch'.

Signed-off-by: Andreas Müller 
---
 .../binutils/binutils-2.37.inc|   1 +
 ...le-descriptor-if-there-is-no-archive.patch | 234 ++
 2 files changed, 235 insertions(+)
 create mode 100644 
meta/recipes-devtools/binutils/binutils/0017-bfd-Close-the-file-descriptor-if-there-is-no-archive.patch

diff --git a/meta/recipes-devtools/binutils/binutils-2.37.inc 
b/meta/recipes-devtools/binutils/binutils-2.37.inc
index 4218c0a616..6093558e4b 100644
--- a/meta/recipes-devtools/binutils/binutils-2.37.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.37.inc
@@ -35,5 +35,6 @@ SRC_URI = "\
  file://0014-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \
  file://0015-sync-with-OE-libtool-changes.patch \
  file://0016-Check-for-clang-before-checking-gcc-version.patch \
+ file://0017-bfd-Close-the-file-descriptor-if-there-is-no-archive.patch \
 "
 S  = "${WORKDIR}/git"
diff --git 
a/meta/recipes-devtools/binutils/binutils/0017-bfd-Close-the-file-descriptor-if-there-is-no-archive.patch
 
b/meta/recipes-devtools/binutils/binutils/0017-bfd-Close-the-file-descriptor-if-there-is-no-archive.patch
new file mode 100644
index 00..9becee39a2
--- /dev/null
+++ 
b/meta/recipes-devtools/binutils/binutils/0017-bfd-Close-the-file-descriptor-if-there-is-no-archive.patch
@@ -0,0 +1,234 @@
+From 1c611b40e6bfc8029bff7696814330b5bc0ee5c0 Mon Sep 17 00:00:00 2001
+From: "H.J. Lu" 
+Date: Mon, 26 Jul 2021 05:59:55 -0700
+Subject: [PATCH] bfd: Close the file descriptor if there is no archive fd
+
+Close the file descriptor if there is no archive plugin file descriptor
+to avoid running out of file descriptors on thin archives with many
+archive members.
+
+bfd/
+
+   PR ld/28138
+   * plugin.c (bfd_plugin_close_file_descriptor): Close the file
+   descriptor there is no archive plugin file descriptor.
+
+ld/
+
+   PR ld/28138
+   * testsuite/ld-plugin/lto.exp: Run tmpdir/pr28138 only for
+   native build.
+
+   PR ld/28138
+   * testsuite/ld-plugin/lto.exp: Run ld/28138 tests.
+   * testsuite/ld-plugin/pr28138.c: New file.
+   * testsuite/ld-plugin/pr28138-1.c: Likewise.
+   * testsuite/ld-plugin/pr28138-2.c: Likewise.
+   * testsuite/ld-plugin/pr28138-3.c: Likewise.
+   * testsuite/ld-plugin/pr28138-4.c: Likewise.
+   * testsuite/ld-plugin/pr28138-5.c: Likewise.
+   * testsuite/ld-plugin/pr28138-6.c: Likewise.
+   * testsuite/ld-plugin/pr28138-7.c: Likewise.
+
+(cherry picked from commit 5a98fb7513b559e20dfebdbaa2a471afda3b4742)
+(cherry picked from commit 7dc37e1e1209c80e0bab784df6b6bac335e836f2)
+
+Upstream-Status: 
Accepted[https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=1c611b40e6bfc8029bff7696814330b5bc0ee5c0]
+---
+ bfd/plugin.c   |  8 +++
+ ld/testsuite/ld-plugin/lto.exp | 34 ++
+ ld/testsuite/ld-plugin/pr28138-1.c |  6 ++
+ ld/testsuite/ld-plugin/pr28138-2.c |  6 ++
+ ld/testsuite/ld-plugin/pr28138-3.c |  6 ++
+ ld/testsuite/ld-plugin/pr28138-4.c |  6 ++
+ ld/testsuite/ld-plugin/pr28138-5.c |  6 ++
+ ld/testsuite/ld-plugin/pr28138-6.c |  6 ++
+ ld/testsuite/ld-plugin/pr28138-7.c |  6 ++
+ ld/testsuite/ld-plugin/pr28138.c   | 20 ++
+ 10 files changed, 104 insertions(+)
+ create mode 100644 ld/testsuite/ld-plugin/pr28138-1.c
+ create mode 100644 ld/testsuite/ld-plugin/pr28138-2.c
+ create mode 100644 ld/testsuite/ld-plugin/pr28138-3.c
+ create mode 100644 ld/testsuite/ld-plugin/pr28138-4.c
+ create mode 100644 ld/testsuite/ld-plugin/pr28138-5.c
+ create mode 100644 ld/testsuite/ld-plugin/pr28138-6.c
+ create mode 100644 ld/testsuite/ld-plugin/pr28138-7.c
+ create mode 100644 ld/testsuite/ld-plugin/pr28138.c
+
+diff --git a/bfd/plugin.c b/bfd/plugin.c
+index 6cfa2b66470..3bab8febe88 100644
+--- a/bfd/plugin.c
 b/bfd/plugin.c
+@@ -291,6 +291,14 @@ bfd_plugin_close_file_descriptor (bfd *abfd, int fd)
+&& !bfd_is_thin_archive (abfd->my_archive))
+   abfd = abfd->my_archive;
+ 
++  /* Close the file descriptor if there is no archive plugin file
++   descriptor.  */
++  if (abfd->archive_plugin_fd == -1)
++  {
++close (fd);
++return;
++  }
++
+   abfd->archive_plugin_fd_open_count--;
+   /* Dup the archive plugin file descriptor for later use, which
+will be closed by _bfd_archive_close_and_cleanup.  */
+diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp
+index def69e43ab3..999d911ce6a 100644
+--- a/ld/testsuite/ld-plugin/lto.exp
 b/ld/testsuite/ld-plugin/lto.exp
+@@ -687,6 +687,40 @@ if { [is_elf_format] && [check_lto_shared_available] } {
+ }
+ }
+ 
++run_cc_link

[OE-core] [PATCH 1/2] mesa: upgrade 21.1.5 -> 21.1.7

2021-08-17 Thread Andreas Müller
e DDQ calculation to after scaling.
llvmpipe: add support for time elapsed queries.
.pick_status.json: Mark a9c9a9938d6d2ead6f08ccf5256c95801fbc864f as 
backported
.pick_status.json: Update to 376fb4f55f080929df8ca5a2a975fc88a00eec06
.pick_status.json: Update to 1d6c790f9f6c373e667de955822b1048c7073ba3
.pick_status.json: Update to 73262d4bd4a4637a332264a165c62ce3209d03fb
zink: remove duplicate format-mapping on little-endian
vulkan: do not map zero-sized region of memory
vulkan: allocate host-visible memory for swapchain images
nir/gcm: Clear out pass_flags before starting
iris: Re-emit MEDIA_VFE_STATE for variable group size shaders
anv: Handle errors properly in anv_i915_query
v3d/driconf: Expose non-MSAA texture limits for mutter and gnome-shell
lavapipe: Use common Vulkan format helpers
broadcom/compiler: emit TMU flush before a jump
nv50/ir/nir: fix smem size for GL
radeonsi: don’t expose no-attachment MSAA 16x on all 1 RB chips due to 
issues
st/mesa: always use PIPE_USAGE_STAGING for GL_MAP_READ_BIT usage
egl/android: include “util/compiler.h” for FALLTHROUGH macro
util/foz: stop crashing on destroy if prepare hasn’t been called
radeonsi: Check aux_context on si_destroy_screen()
mesa: clear shader_info::is_lowered in prog_to_nir
mesa: fix bindless uniform samplers update
aco: don’t create v_madmk_f32/v_madak_f32 from v_fma_legacy_f16
freedreno/ir3: Don’t force RTNE if rounding mode is undefined
radv: only init the TC-compat ZRANGE metadata for the depth aspect
glsl: replace some C++ code with C
util: add workaround for Full Bore
glsl: relax rule on varying matching for shaders older than 4.20
lima: handle fp16 vertex formats

Signed-off-by: Andreas Müller 
---
 ...mabuf-import-for-non-scanout-buffers.patch | 72 ---
 .../{mesa-gl_21.1.5.bb => mesa-gl_21.1.7.bb}  |  0
 meta/recipes-graphics/mesa/mesa.inc   |  3 +-
 .../mesa/{mesa_21.1.5.bb => mesa_21.1.7.bb}   |  0
 4 files changed, 1 insertion(+), 74 deletions(-)
 delete mode 100644 
meta/recipes-graphics/mesa/files/0001-v3d-vc4-Fix-dmabuf-import-for-non-scanout-buffers.patch
 rename meta/recipes-graphics/mesa/{mesa-gl_21.1.5.bb => mesa-gl_21.1.7.bb} 
(100%)
 rename meta/recipes-graphics/mesa/{mesa_21.1.5.bb => mesa_21.1.7.bb} (100%)

diff --git 
a/meta/recipes-graphics/mesa/files/0001-v3d-vc4-Fix-dmabuf-import-for-non-scanout-buffers.patch
 
b/meta/recipes-graphics/mesa/files/0001-v3d-vc4-Fix-dmabuf-import-for-non-scanout-buffers.patch
deleted file mode 100644
index 1a8771028b..00
--- 
a/meta/recipes-graphics/mesa/files/0001-v3d-vc4-Fix-dmabuf-import-for-non-scanout-buffers.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-From 303c02a31df4e2b8f6090e75982922a9cba33e4c Mon Sep 17 00:00:00 2001
-From: Joshua Watt 
-Date: Tue, 27 Jul 2021 11:41:53 -0500
-Subject: [PATCH] v3d, vc4: Fix dmabuf import for non-scanout buffers
-
-Failure to create a buffer for scanout should not be fatal when
-importing a buffer. Buffers allocated from a render-only device may not
-be able to scanned out directly but can still be used for other
-rendering purposes (e.g. as a texture).
-
-Signed-off-by: Joshua Watt 
-Upstream-Status: Submitted 
[https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12081]

- src/gallium/drivers/v3d/v3d_resource.c | 13 +
- src/gallium/drivers/vc4/vc4_resource.c |  3 ---
- 2 files changed, 5 insertions(+), 11 deletions(-)
-
-diff --git a/src/gallium/drivers/v3d/v3d_resource.c 
b/src/gallium/drivers/v3d/v3d_resource.c
-index 602ba6d8447..02dc29ae6a0 100644
 a/src/gallium/drivers/v3d/v3d_resource.c
-+++ b/src/gallium/drivers/v3d/v3d_resource.c
-@@ -433,10 +433,11 @@ v3d_resource_get_handle(struct pipe_screen *pscreen,
- return v3d_bo_flink(bo, &whandle->handle);
- case WINSYS_HANDLE_TYPE_KMS:
- if (screen->ro) {
--assert(rsc->scanout);
--bool ok = renderonly_get_handle(rsc->scanout, 
whandle);
--whandle->stride = rsc->slices[0].stride;
--return ok;
-+if (renderonly_get_handle(rsc->scanout, whandle)) {
-+whandle->stride = rsc->slices[0].stride;
-+return true;
-+}
-+return false;
- }
- whandle->handle = bo->handle;
- return true;
-@@ -929,10 +930,6 @@ v3d_resource_from_handle(struct pipe_screen *pscreen,
- renderonly_create_gpu_import_for_resource(prsc,
-   screen->ro,
-   NULL);
--if (!rsc->scanout) {
--fprintf(stderr, "Failed to c

[OE-core] [PATCH] mesa: upgrade 21.1.4 -> 21.1.5

2021-07-18 Thread Andreas Müller
Bug fixes
  * [build error] macros.h:88:26: error: size of unnamed array is negative
  * Game Issue: Nuclear Throne crashes in RadeonSI
  * Crash in glLinkProgram while trying to craft the link error
  * Shader compilation memory leaks
  * Wolfenstein II: The New Colossus - Screen goes black in some cases
  * SpaceEngine in Steam Proton cannot start with Mesa >=20.3
  * [bisected] KDE plasma menu text renders like stretched strangely [amdgpu]
  * Luna Sky Crashes on Launch
  * Mesa crashes on undefined texture behaviour
  * Mesa crashes on undefined texture behaviour
  * cache_test uses uninitialized stack memory

Changes
  * nir: Fix constant folding for irhadd/urhadd
  * ac/surface: Handle non-retiled displayable DCC correctly for modifiers.
  * ir3: Fix infinite loop in scheduler when splitting
  * glsl: Prohibit implicit conversion of mem parameter in atomicOP functions
  * draw: fix tessellation output vertex size calculation
  * .pick_status.json: Update to e4f762ac346f31fc1fd201aecdc375348be5075f
  * zink: mark a bunch of zink-piglit-quick_gl tests as flakes
  * .pick_status.json: Update to c704bb630d21e0a30500e9d8f42493ede3cc55ae
  * .pick_status.json: Mark e5d158881b3e12270521d7081b4bba0ac2108d2e as 
denominated
  * softpipe: add missing sentinel to debug option array
  * iris: Don’t leak the surface if uncompressed re-interp fails
  * intel/perf: use the right popcount for 64bits
  * ac/surface/tests: fix the ARM build
  * radeonsi,radv: fix a late alloc deadlock with <= 6 CUs per SA
  * Convert most remaining free-form fall-through comments to FALLTHROUGH
  * osmesa: Replace default case FALLTHROUGH annotation by following return
  * Fix up leftover “state_trackers” references to “frontends”
  * radeonsi: fix fb_too_small condition
  * radeonsi/gfx7: always sync pfp/me
  * ac/surface: don’t print stencil info if tex has no stencil
  * radeonsi/driconf: add workaround for SpaceEngine
  * st/mesa: fix size miss match for some check
  * freedreno: Consolidate needs_flush and clearing last_fence
  * freedreno/a6xx: Fix framebuffer_barrier crash
  * radv: disable DCC for DOOM 2016 and Wolfenstein II
  * aco: fix shared_atomic_comp_swap if the second source isn’t a VGPR
  * nir: return progress from nir_lower_packing
  * nir/ifind_msb_rev: fix input check
  * broadcom/compiler: fix add vs. mul
  * util/tests: initialise key in cache_test
  * mesa: don’t crash on incorrect texture use
  * i965: don’t crash on incorrect texture use
  * util/driconf: add new ignore_write_to_readonly_var workaround
  * util: add some workarounds for the game Luna Sky
  * glsl: force_glsl_version to shaders with no defined version
  * util/radeonsi: add radeonsi workaround for Nuclear Throne
  * st/xa: Mark default xa_get_pipe_format case unreachable.
  * intel: fix leaking memor
  * y on shader creation

Signed-off-by: Andreas Müller 
---
 .../mesa/{mesa-gl_21.1.4.bb => mesa-gl_21.1.5.bb}   | 0
 meta/recipes-graphics/mesa/mesa.inc | 2 +-
 meta/recipes-graphics/mesa/{mesa_21.1.4.bb => mesa_21.1.5.bb}   | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/mesa/{mesa-gl_21.1.4.bb => mesa-gl_21.1.5.bb} 
(100%)
 rename meta/recipes-graphics/mesa/{mesa_21.1.4.bb => mesa_21.1.5.bb} (100%)

diff --git a/meta/recipes-graphics/mesa/mesa-gl_21.1.4.bb 
b/meta/recipes-graphics/mesa/mesa-gl_21.1.5.bb
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa-gl_21.1.4.bb
rename to meta/recipes-graphics/mesa/mesa-gl_21.1.5.bb
diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index 6a102585a1..6a0df4fa2e 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -21,7 +21,7 @@ SRC_URI = 
"https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
file://0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch \
"
 
-SRC_URI[sha256sum] = 
"1f177f44098164b65731c5ded4c928fd58b14f6c9d2087aa0e37bc79bf79e90b"
+SRC_URI[sha256sum] = 
"022c7293074aeeced2278c872db4fa693147c70f8595b076cf3f1ef81520766d"
 
 UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P\d+(\.\d+)+)"
 
diff --git a/meta/recipes-graphics/mesa/mesa_21.1.4.bb 
b/meta/recipes-graphics/mesa/mesa_21.1.5.bb
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa_21.1.4.bb
rename to meta/recipes-graphics/mesa/mesa_21.1.5.bb
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#153980): 
https://lists.openembedded.org/g/openembedded-core/message/153980
Mute This Topic: https://lists.openembedded.org/mt/84293373/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core][PATCH] iputils: Update to 20210202

2021-07-06 Thread Andreas Müller
On Mon, Jun 28, 2021 at 12:09 AM Changhyeok Bae
 wrote:
>
> Signed-off-by: Changhyeok Bae 
> ---
>  .../iputils/{iputils_s20200821.bb => iputils_20210202.bb}   | 2 +-
By this version went backwards. What is preferred Bump PE or re-add 's'?

Andreas

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#153606): 
https://lists.openembedded.org/g/openembedded-core/message/153606
Mute This Topic: https://lists.openembedded.org/mt/83832905/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 3/3] pango: upgrade 1.48.5 -> 1.48.7

2021-07-05 Thread Andreas Müller
Overview of changes in 1.48.7
=
- Fix a thread-safety issue in fontmap initialization
- Small documentation improvements

Overview of changes in 1.48.6
=
- Avoid attribute index overflow
- Add a new pango-segmentation utility
- Documentation cleanups and fixes
- Update script property data for gravity
- Bring back careful glyph position rounding
- Add a few missing bidi types
- Add more tests

Signed-off-by: Andreas Müller 
---
 .../recipes-graphics/pango/{pango_1.48.5.bb => pango_1.48.7.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/pango/{pango_1.48.5.bb => pango_1.48.7.bb} (94%)

diff --git a/meta/recipes-graphics/pango/pango_1.48.5.bb 
b/meta/recipes-graphics/pango/pango_1.48.7.bb
similarity index 94%
rename from meta/recipes-graphics/pango/pango_1.48.5.bb
rename to meta/recipes-graphics/pango/pango_1.48.7.bb
index b29c3c2d96..963fd5d01c 100644
--- a/meta/recipes-graphics/pango/pango_1.48.5.bb
+++ b/meta/recipes-graphics/pango/pango_1.48.7.bb
@@ -20,7 +20,7 @@ GIR_MESON_DISABLE_FLAG = "disabled"
 
 SRC_URI += "file://run-ptest"
 
-SRC_URI[archive.sha256sum] = 
"501e74496173c02dcd024ded7fbb3f09efd37e2a488e248aa40799424dbb3b2a"
+SRC_URI[archive.sha256sum] = 
"28a82f6a6cab60aa3b75a90f04197ead2d311fa8fe8b7bfdf8666e2781d506dc"
 
 DEPENDS = "glib-2.0 glib-2.0-native fontconfig freetype virtual/libiconv cairo 
harfbuzz fribidi"
 
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#153564): 
https://lists.openembedded.org/g/openembedded-core/message/153564
Mute This Topic: https://lists.openembedded.org/mt/84003534/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 2/3] mesa: upgrade 21.1.3 -> 21.1.4

2021-07-05 Thread Andreas Müller
Bug fixes
* [anv] GravityMark (benchmark) crashes on ANV
* [opengl] We happy few not being rendered correctly
* Factorio: GPU hang when opening machine inventory
* RuneScape on Mesa 21.1.1 (VEGA10) has bad performance and leaks memory
* Supraland: flickering black bars on ground
* radv: GPU hang in Cyberpunk 2077 on Big Navi
* [amdgpu][renoir][rx5500m]: [drm:0x8198ad5e] *ERROR* ring gfx 
timeout, signaled seq=10952, emitted seq=10954
* [spirv-fuzz] SPIR-V parsing FAILED: Invalid back or cross-edge in the CFG
* panfrost Mount and Blade: Warband (glitches)
* anv: dEQP-VK.robustness.robustness2*no_fmt_qual.null_descriptor.samples* 
fail

Changes
* util/fossilize_db: Pull seek into lock.
* util/fossilize_db: Split out reading the index.
* util/fossilize_db: Do not lock the fossilize db permanently.
* spirv: Fix handling of OpBranchConditional with same THEN and ELSE
* nir/opt_if: Don’t split ALU for single block infinite loops
* llvmpipe: Add handle export for resource_get_param
* i965: fix regression in pipe control on g45
* pick_status.json: Update to 977355c6e5efd781dde85d834172dd23cd4852f1
* pick_status.json: Update to 40b67a292297606f0a7576e3ef4087028d5edd17
* zink: do not unmap dt-buffers twice
* zink: drop repeated usage-bit
* zink: do not check buffer-format for usage-bits
* zink: remove unused moltenvk functions
* libgl-gdi: add missing include
* aux/trace: fix bool argument
* ci/windows: work around meson encoding issues
* intel/fs: Teach IR about EOT instruction writing the accumulator 
implicitly on TGL+.
* intel/fs: Fix synchronization of accumulator-clearing W/A move on TGL+.
* pan/mdg: Add a bundle ID to instructions
* pan/mdg: Reorder some code in mir_spill_register
* pan/mdg: Fill from TLS before spilling non-SSA nodes
* pan/mdg: Fix reading a spilt register in the bundle it’s written
* pan/mdg: Add 16 bytes of padding to the end of shaders
* intel/nir: Fix txs for null surfaces
* spirv: Create acceleration structure and shader record variables
* nv50/ir: fix surface lowering when values get shared accross operations
* anv: Fix dynamic primitive topology for tess on Gfx7.x too
* anv: allocate bigger batches as we grow command buffers
* mesa: unreference zombie buffers when creating buffers to lower memory 
usage
* compiler/glsl: Use mutex lock while freeing up mem_ctx
* anv: fix dynamic primitive topology for tess
* zink: handle custom border color without matching wrap mode case
* radeonsi: skip instance_count==0 draws on <= GFX9
* radeonsi: disable ngg culling on llvm < 12
* radv: reject binding buffer/image when the device memory is too small
* radv: always decompress both aspects of a depth/stencil image
* amd/addrlib: remove Meson debug message()
* radeon/vcn/enc: Add missing line to HEVC SPS header code
* util: add work around for the game We Happy Few
* ac/nir: Update TCS output barriers with nir_var_mem_shared.
* radv/llvm: Emit s_barrier at the beginning of NGG non-GS shaders.
* aco/gfx10: NGG zero output workaround for conservative rasterization.
* aco/gfx10: Emit barrier at the start of NGG VS and TES.

Signed-off-by: Andreas Müller 
---
 .../mesa/{mesa-gl_21.1.3.bb => mesa-gl_21.1.4.bb}   | 0
 meta/recipes-graphics/mesa/mesa.inc | 2 +-
 meta/recipes-graphics/mesa/{mesa_21.1.3.bb => mesa_21.1.4.bb}   | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/mesa/{mesa-gl_21.1.3.bb => mesa-gl_21.1.4.bb} 
(100%)
 rename meta/recipes-graphics/mesa/{mesa_21.1.3.bb => mesa_21.1.4.bb} (100%)

diff --git a/meta/recipes-graphics/mesa/mesa-gl_21.1.3.bb 
b/meta/recipes-graphics/mesa/mesa-gl_21.1.4.bb
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa-gl_21.1.3.bb
rename to meta/recipes-graphics/mesa/mesa-gl_21.1.4.bb
diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index b7e42a9d7f..6a102585a1 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -21,7 +21,7 @@ SRC_URI = 
"https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
file://0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch \
"
 
-SRC_URI[sha256sum] = 
"cbe221282670875ffd762247b6a2c95dcee91d0a34c29802c75ef761fc891e69"
+SRC_URI[sha256sum] = 
"1f177f44098164b65731c5ded4c928fd58b14f6c9d2087aa0e37bc79bf79e90b"
 
 UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P\d+(\.\d+)+)"
 
diff --git a/meta/recipes-graphics/mesa/mesa_21.1.3.bb 
b/meta/recipes-graphics/mesa/mesa_21.1.4.bb
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa_21.1.3.bb
rename to meta/recipes-graphics/mesa/mesa_21.1.4.bb
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messag

[OE-core] [PATCH 1/3] libdrm: upgrade 2.4.106 -> 2.4.107

2021-07-05 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 .../drm/{libdrm_2.4.106.bb => libdrm_2.4.107.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/drm/{libdrm_2.4.106.bb => libdrm_2.4.107.bb} (97%)

diff --git a/meta/recipes-graphics/drm/libdrm_2.4.106.bb 
b/meta/recipes-graphics/drm/libdrm_2.4.107.bb
similarity index 97%
rename from meta/recipes-graphics/drm/libdrm_2.4.106.bb
rename to meta/recipes-graphics/drm/libdrm_2.4.107.bb
index 2f63489021..1dd07046f7 100644
--- a/meta/recipes-graphics/drm/libdrm_2.4.106.bb
+++ b/meta/recipes-graphics/drm/libdrm_2.4.107.bb
@@ -13,7 +13,7 @@ DEPENDS = "libpthread-stubs"
 SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.xz \
   "
 
-SRC_URI[sha256sum] = 
"92d8ac54429b171e087e61c2894dc5399fe6a549b1fbba09fa6a3cb9d4e57bd4"
+SRC_URI[sha256sum] = 
"c554cef03b033636a975543eab363cc19081cb464595d3da1ec129f87370f888"
 
 inherit meson pkgconfig manpages
 
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#153562): 
https://lists.openembedded.org/g/openembedded-core/message/153562
Mute This Topic: https://lists.openembedded.org/mt/84003530/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] mesa: upgrade 21.1.2 -> 21.1.3

2021-06-20 Thread Andreas Müller
Changelog:

Bug fixes
* radv: ACO miscompiles a specific DIRT 5 shader
* Segfault in mtx_unlock/amdgpu_bo_slab_destroy
* [radeonsi] Incorrect rendering when using glDisable(GL_MULTISAMPLE) with 
multisample backbuffer
* kwin_x11 ring gfx_0.0.0 timeout
* [i965] regression: 
piglit.spec.arb_depth_buffer_float.fbo-depthstencil-gl_depth32f_stencil8-drawpixels

Changes
* classic/xlib: Fix the build after !9817
* radv: Don’t skip barriers that only change queues.
* radv: Actually return correct value for read-only DCC compressedness.
* radv: Allow DCC images to be compressed with foreign queues.
* llvmpipe: add the interesting bit of cpu detection to the cache.
* zink: Correct compiler issue with have_moltenvk member having been moved.
* .pick_status.json: Update to db83dc619c96c35a039f2d8a32e1a179c0f00d64
* .pick_status.json: Update to f884c2e3be363903a59dbee01868c7ad0bf0f346
* .pick_status.json: Update to 561f9ae74b2b7da06bb4830aaca8d017a3dd2746
* llvmpipe: fix edge-rule logic for lines
* anv: Clear all pending stall after pipe flush
* util: Zero out all of mask in util_set_thread_affinity
* panfrost: Use first_tiler to check if tiling is needed
* intel/vec4: Also use MOV_FOR_SCRATCH for swizzle resolves
* anv: Handle OOM in the pinned path in anv_reloc_list_add
* sparc: Avoid some redefinition warnings
* zink: ci updates
* anv: fix availability for copying timestamp query results
* util/vbuf: fix buffer overrun in attribute conversions
* zink: fix caching of shader variants with inlined uniforms
* zink: use scissor region for discarding clears during blit
* zink: fix typo that’s definitely not at all embarrassing or anything like that
* svga: Initialize pipe_shader_state for transform shaders
* docs/install: remove one extra when
* frontend/dri: set PIPE_BIND_PROTECTED later
* frontend/dri: fix bool/int comparison
* radeonsi: fix encryption check for buffers
* radeonsi: add a gfx10 bug workaround for NOT_EOP
* radeonsi: dirty msaa_config on rs->multisample_enable change
* winsys/amdgpu: don’t read bo->u.slab.entry after pb_slab_free
* aco: do not clause NSA instructions
* aco: don’t create 4 and 5 dword NSA instructions on GFX10
* aco: use v1b/v2b for ds_read_u8/ds_read_u16
* egl: zero is a valid fd
* freedreno/ir3: Fix use after free
* radv: enable RADV_DEBUG=invariantgeom for SotTR DX11/DX12 versions
* radv: emit PA_SC_CONSERVATIVE_RASTERIZATION_CNTL only on GFX9+
* aco: fix range checking for SSBO loads/stores with SGPR offset on GFX6-7
* aco: fix emitting literal offsets with SMEM on GFX7
* radv: do not launch an IB2 for secondary cmdbuf with INDIRECT_MULTI on GFX7
* radv: fix aligning the image offset by using align64()
* util/format: Change the pointer offset.
* aco/ra: Fix off-by-one-error in print_regs
* travis: Download XQuartz from GitHub.

Signed-off-by: Andreas Müller 
---
 .../mesa/{mesa-gl_21.1.2.bb => mesa-gl_21.1.3.bb}   | 0
 meta/recipes-graphics/mesa/mesa.inc | 2 +-
 meta/recipes-graphics/mesa/{mesa_21.1.2.bb => mesa_21.1.3.bb}   | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/mesa/{mesa-gl_21.1.2.bb => mesa-gl_21.1.3.bb} 
(100%)
 rename meta/recipes-graphics/mesa/{mesa_21.1.2.bb => mesa_21.1.3.bb} (100%)

diff --git a/meta/recipes-graphics/mesa/mesa-gl_21.1.2.bb 
b/meta/recipes-graphics/mesa/mesa-gl_21.1.3.bb
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa-gl_21.1.2.bb
rename to meta/recipes-graphics/mesa/mesa-gl_21.1.3.bb
diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index 5700cc9673..86a02047d1 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -21,7 +21,7 @@ SRC_URI = 
"https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
file://0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch \
"
 
-SRC_URI[sha256sum] = 
"23b4b63760561f3a4f98b5be12c6de621e9a6bdf355e087a83d9184cd4e2825f"
+SRC_URI[sha256sum] = 
"cbe221282670875ffd762247b6a2c95dcee91d0a34c29802c75ef761fc891e69"
 
 UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P\d+(\.\d+)+)"
 
diff --git a/meta/recipes-graphics/mesa/mesa_21.1.2.bb 
b/meta/recipes-graphics/mesa/mesa_21.1.3.bb
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa_21.1.2.bb
rename to meta/recipes-graphics/mesa/mesa_21.1.3.bb
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#153122): 
https://lists.openembedded.org/g/openembedded-core/message/153122
Mute This Topic: https://lists.openembedded.org/mt/83667693/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 2/5] libx11: upgrade 1.7.1 -> 1.7.2

2021-06-14 Thread Andreas Müller
Version 1.1.2 - This is a bug fix release, correcting a regression [1] 
introduced by and
improving the checks from the fix for CVE-2021-31535.

[1] https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/133
Alan Coopersmith (1):
  libX11 1.7.2
Matthieu Herrb (2):
  include  always, not if HAVE_CONFIG_H is set.
  Check for NULL strings before getting their lengths
Tobias Stoeckmann (1):
  Protect against overly long strings

Signed-off-by: Andreas Müller 
---
 .../xorg-lib/{libx11_1.7.1.bb => libx11_1.7.2.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/xorg-lib/{libx11_1.7.1.bb => libx11_1.7.2.bb} 
(93%)

diff --git a/meta/recipes-graphics/xorg-lib/libx11_1.7.1.bb 
b/meta/recipes-graphics/xorg-lib/libx11_1.7.2.bb
similarity index 93%
rename from meta/recipes-graphics/xorg-lib/libx11_1.7.1.bb
rename to meta/recipes-graphics/xorg-lib/libx11_1.7.2.bb
index b5f0445e12..383860409f 100644
--- a/meta/recipes-graphics/xorg-lib/libx11_1.7.1.bb
+++ b/meta/recipes-graphics/xorg-lib/libx11_1.7.2.bb
@@ -14,7 +14,7 @@ SRC_URI += "file://Fix-hanging-issue-in-_XReply.patch \
file://disable_tests.patch \
"
 
-SRC_URI[sha256sum] = 
"e64e43deaa562cbfb0d5ada64670ec09c6fac7935262dcd77bbc6d984a535d47"
+SRC_URI[sha256sum] = 
"1cfa35e37aaabbe4792e9bb690468efefbfbf6b147d9c69d6f90d13c3092ea6c"
 
 PROVIDES = "virtual/libx11"
 
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152943): 
https://lists.openembedded.org/g/openembedded-core/message/152943
Mute This Topic: https://lists.openembedded.org/mt/83541201/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 1/5] libpcap: upgrade 1.10.0 -> 1.10.1

2021-06-14 Thread Andreas Müller
Summary for 1.10.1 libpcap release
  Packet filtering:
Fix "type XXX subtype YYY" giving a parse error
  Source code:
Add PCAP_AVAILABLE_1_11.
  Building and testing:
Rename struct bpf_aux_data to avoid NetBSD compile errors
Squelch some compiler warnings
Squelch some Bison warnings
Fix cross-builds with older kernels lacking BPF_MOD and BPF_XOR
Fix Bison detection for minor version 0.
Fix parallel build with FreeBSD make.
Get DLT_MATCHING_MAX right in gencode.c on NetBSD.
Define timeradd() and timersub() if necessary.
Fix Cygwin/MSYS target directories.
Fix symlinking with DESTDIR.
Fix generation of libpcap.pc with CMake when not building a shared
library.
Check for Arm64 as well as x86-64 when looking for packet.lib on
Windows.
  Documentation:
Refine Markdown in README.md.
Improve the description of portrange in filters.
README.linux.md isn't Markdown, rename it just README.linux.
  pcapng:
Support reading version 1.2, which some writers produce, and which
is the same as 1.0 (some new block types were added, but
that's not sufficient reason to bump the minor version number,
as code that understands those new block types can handle them
in a 1.0 file)
  Linux:
Drop support for text-mode USB captures, as we require a 2.6.27
or later kernel (credit to Chaoyuan Peng for noting the
sscanf vulnerabilities in the text-mode code that got me to
realize that we didn't need this code any more)
Bluetooth: fix non-blocking mode.
Don't assume that all compilers used to build for Linux support
the __atomic builtins
  Windows:
...
  rpcap:
Clean up error checking and error messages for server address
    lookup.

Signed-off-by: Andreas Müller 
---
 .../libpcap/{libpcap_1.10.0.bb => libpcap_1.10.1.bb}| 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)
 rename meta/recipes-connectivity/libpcap/{libpcap_1.10.0.bb => 
libpcap_1.10.1.bb} (88%)

diff --git a/meta/recipes-connectivity/libpcap/libpcap_1.10.0.bb 
b/meta/recipes-connectivity/libpcap/libpcap_1.10.1.bb
similarity index 88%
rename from meta/recipes-connectivity/libpcap/libpcap_1.10.0.bb
rename to meta/recipes-connectivity/libpcap/libpcap_1.10.1.bb
index 967eabcc13..f528595c94 100644
--- a/meta/recipes-connectivity/libpcap/libpcap_1.10.0.bb
+++ b/meta/recipes-connectivity/libpcap/libpcap_1.10.1.bb
@@ -10,10 +10,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=5eb289217c160e2920d2e35bddc36453 \
 
file://pcap.h;beginline=1;endline=32;md5=39af3510e011f34b8872f120b1dc31d2"
 DEPENDS = "flex-native bison-native"
 
-SRC_URI = "https://www.tcpdump.org/release/${BP}.tar.gz \
-   "
-SRC_URI[md5sum] = "8c12dc19dd7e0d02d2bb6596eb5a71c7"
-SRC_URI[sha256sum] = 
"8d12b42623eeefee872f123bd0dc85d535b00df4d42e865f993c40f7bfc92b1e"
+SRC_URI = "https://www.tcpdump.org/release/${BP}.tar.gz";
+SRC_URI[sha256sum] = 
"ed285f4accaf05344f90975757b3dbfe772ba41d1c401c2648b7fa45b711bdd4"
 
 inherit autotools binconfig-disabled pkgconfig
 
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152942): 
https://lists.openembedded.org/g/openembedded-core/message/152942
Mute This Topic: https://lists.openembedded.org/mt/83541200/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 4/5] xorgproto: upgrade 2021.4.99.1 -> 2021.4.99.2

2021-06-14 Thread Andreas Müller
Changes:
* Bump inputproto to 2.3.99.2
* specs: Fix type of GESTURECLASS num_touches member
* specs: Fix type of TOUCHCLASS num_touches member
* Bump inputproto to 2.3.99.1
* specs: Specify XI 2.4 as unreleased

Signed-off-by: Andreas Müller 
---
 .../{xorgproto_2021.4.99.1.bb => xorgproto_2021.4.99.2.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/xorg-proto/{xorgproto_2021.4.99.1.bb => 
xorgproto_2021.4.99.2.bb} (90%)

diff --git a/meta/recipes-graphics/xorg-proto/xorgproto_2021.4.99.1.bb 
b/meta/recipes-graphics/xorg-proto/xorgproto_2021.4.99.2.bb
similarity index 90%
rename from meta/recipes-graphics/xorg-proto/xorgproto_2021.4.99.1.bb
rename to meta/recipes-graphics/xorg-proto/xorgproto_2021.4.99.2.bb
index f4b0895154..8db3e6d7a3 100644
--- a/meta/recipes-graphics/xorg-proto/xorgproto_2021.4.99.1.bb
+++ b/meta/recipes-graphics/xorg-proto/xorgproto_2021.4.99.2.bb
@@ -9,7 +9,7 @@ LICENSE = "MIT-style"
 LIC_FILES_CHKSUM = 
"file://COPYING-x11proto;md5=dfc4bd2b0568b31725b85b0604e69b56"
 
 SRC_URI = "${XORG_MIRROR}/individual/proto/${BP}.tar.bz2"
-SRC_URI[sha256sum] = 
"0bce7d4fe800dcb5581cc59a99946c12e6e0be292636544221ec73e96f1a28ed"
+SRC_URI[sha256sum] = 
"c38878053179c6f8bc2dab4710b5fbf0e46db5b3134aee4a1977ffb06e7a"
 
 inherit meson
 
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152945): 
https://lists.openembedded.org/g/openembedded-core/message/152945
Mute This Topic: https://lists.openembedded.org/mt/83541203/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 5/5] mpg123: 1.27.2 -> 1.28.0

2021-06-14 Thread Andreas Müller
Changes:
build:
  * Fix up the build to actually build all library objects with libtool
consistently, also ensuring no pointless static archives for output modules.
  * Adapted things to autoconf 2.71, requiring 2.69 now (the latter tested on
Debian, with their patches).
  * Improved configure to be more useful --with-default-audio to define the
search order, fix static build for --with-audio being a list (just choosing
the first one).
  * Ensure consistent use of LINK_MPG123_DLL in headers.
build (ports/cmake):
  * Thanks to Evgeni Poberezhnikov for working with us on that.
  * Fix up ports/cmake to really work in MSVC also for users of the lib (tested
in vcpkg, bug 310).
  * Hardcode ports/cmake CPU detection for x64 and ARM as CMAKE_SYSTEM_PROCESSOR
is useless crap (bug 298 for real).
  * Add missing io.h for _setmode() MSVC warned about (bug 311).
  * Added BUILD_NO_LARGENAME define to be used by MSVC builds. Note that an
MSVC build of libmpg123 does not support 64 bit file offsets. That would
need more morting to the explicit API. Thanks to MS for making off_t even
more messy and less useful.
  * Added JACK output, fixed handling of compat_str there and in win32_wasapi.
libsyn123:
* Fix syn123_mix() to actually do intermediate conversion when input
  and output encoding are the same but non-float. This makes out123 --mix work
  with s16 input and output, which is not that special!
libmpg123:
* Fix misguided handling of part2_3_length checks in III_get_scale_factors_1()
  and III_get_scale_factors_2() which invalidated decoding of a mono source
  encoded as ms+i-stereo (bug 312). This was a regression introduced with
  version 1.25.7.
libout123:
  * Print basic module loading errors only for last one in list. This enables
use of an output module search list that anticipates module files not
installed with the main package.
  * Fixes for win32_wasapi build with MSVC.

Signed-off-by: Andreas Müller 
---
 .../mpg123/{mpg123_1.27.2.bb => mpg123_1.28.0.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-multimedia/mpg123/{mpg123_1.27.2.bb => mpg123_1.28.0.bb} 
(96%)

diff --git a/meta/recipes-multimedia/mpg123/mpg123_1.27.2.bb 
b/meta/recipes-multimedia/mpg123/mpg123_1.28.0.bb
similarity index 96%
rename from meta/recipes-multimedia/mpg123/mpg123_1.27.2.bb
rename to meta/recipes-multimedia/mpg123/mpg123_1.28.0.bb
index 9a91cc89d6..143a59ba63 100644
--- a/meta/recipes-multimedia/mpg123/mpg123_1.27.2.bb
+++ b/meta/recipes-multimedia/mpg123/mpg123_1.28.0.bb
@@ -10,7 +10,7 @@ LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e7b9c15fcfb986abb4cc5e8400a24169"
 
 SRC_URI = "https://www.mpg123.de/download/${BP}.tar.bz2";
-SRC_URI[sha256sum] = 
"52f6ceb962c05db0c043bb27acf5a721381f5f356ac4610e5221f50293891b04"
+SRC_URI[sha256sum] = 
"e49466853685026da5d113dc7ff026b1b2ad0b57d78df693a446add9db88a7d5"
 
 UPSTREAM_CHECK_REGEX = "mpg123-(?P\d+(\.\d+)+)\.tar"
 
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152946): 
https://lists.openembedded.org/g/openembedded-core/message/152946
Mute This Topic: https://lists.openembedded.org/mt/83541204/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 3/5] libx11: remove CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE"

2021-06-14 Thread Andreas Müller
With 1.7.2 it is not required any and although they mention glibc explicitly,
_GNU_SOURCE is set in config.h for musl either.

Signed-off-by: Andreas Müller 
---
 meta/recipes-graphics/xorg-lib/libx11_1.7.2.bb | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meta/recipes-graphics/xorg-lib/libx11_1.7.2.bb 
b/meta/recipes-graphics/xorg-lib/libx11_1.7.2.bb
index 383860409f..5d7e9e3783 100644
--- a/meta/recipes-graphics/xorg-lib/libx11_1.7.2.bb
+++ b/meta/recipes-graphics/xorg-lib/libx11_1.7.2.bb
@@ -31,9 +31,6 @@ EXTRA_OEMAKE += 'CWARNFLAGS=""'
 PACKAGECONFIG ??= "xcms"
 PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms"
 
-# src/util/makekeys is built natively but needs -D_GNU_SOURCE defined.
-CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE"
-
 PACKAGES =+ "${PN}-xcb"
 
 inherit gettext
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152944): 
https://lists.openembedded.org/g/openembedded-core/message/152944
Mute This Topic: https://lists.openembedded.org/mt/83541202/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 1/3] epiphany: upgrade 40.1 -> 40.2

2021-06-08 Thread Andreas Müller
40.2 - June 4, 2021
===

 * Fix some memory leaks (from !958)
 * Fix memory corruption in history dialog (!960)
 * Fix crash when checking for modified forms (!962)

Signed-off-by: Andreas Müller 
---
 .../epiphany/{epiphany_40.1.bb => epiphany_40.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-gnome/epiphany/{epiphany_40.1.bb => epiphany_40.2.bb} (93%)

diff --git a/meta/recipes-gnome/epiphany/epiphany_40.1.bb 
b/meta/recipes-gnome/epiphany/epiphany_40.2.bb
similarity index 93%
rename from meta/recipes-gnome/epiphany/epiphany_40.1.bb
rename to meta/recipes-gnome/epiphany/epiphany_40.2.bb
index 2242e9d010..abd4ad057c 100644
--- a/meta/recipes-gnome/epiphany/epiphany_40.1.bb
+++ b/meta/recipes-gnome/epiphany/epiphany_40.2.bb
@@ -20,7 +20,7 @@ SRC_URI = 
"${GNOME_MIRROR}/${GNOMEBN}/${@oe.utils.trim_version("${PV}", 1)}/${GN
file://migrator.patch \
file://distributor.patch \
"
-SRC_URI[archive.sha256sum] = 
"696a426b1702774af8d0f056828f5d9ff9350507aba7f4c7e3e499f07a581ad0"
+SRC_URI[archive.sha256sum] = 
"75119e22065657cf70ef2b603d4f73835573bd034f1e618c0f662478fd6c6835"
 
 # Developer mode enables debugging
 PACKAGECONFIG[developer-mode] = "-Ddeveloper_mode=true,-Ddeveloper_mode=false"
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152795): 
https://lists.openembedded.org/g/openembedded-core/message/152795
Mute This Topic: https://lists.openembedded.org/mt/83415022/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 2/3] vala: upgrade 0.52.3 -> 0.52.4

2021-06-08 Thread Andreas Müller
Vala 0.52.4
===
 * Various improvements and bug fixes:
  - codegen:
+ GArray, GByteArray and GPtrArray are reference counted
+ Replace wrongly hard coded usage of G_OBJECT_GET_CLASS
+ Don't add errornous cast for unknown type_symbol
+ Mark entry point method implementation "_vala_main" as static
+ Improve check for GLib.Source derived classes
  - vala: Parameter following params-array parameter is not allowed
  - doc: Update man page to include more information on profiles

 * Bindings:
  - glib-2.0: Add missing has_typedef attributes on SourceFuncs delegates
  - gstreamer: Update from 1.19.0+ git master
  - gtk+-3.0: Update to 3.24.29+f9fe28ce
  - gtk4: Update to 4.3.0+24f0ae1d
  - pango: Mark language parameter of AttrIterator.get_font() as out
  - vapi: Update GIR-based bindings

Signed-off-by: Andreas Müller 
---
 meta/recipes-devtools/vala/{vala_0.52.3.bb => vala_0.52.4.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/vala/{vala_0.52.3.bb => vala_0.52.4.bb} (50%)

diff --git a/meta/recipes-devtools/vala/vala_0.52.3.bb 
b/meta/recipes-devtools/vala/vala_0.52.4.bb
similarity index 50%
rename from meta/recipes-devtools/vala/vala_0.52.3.bb
rename to meta/recipes-devtools/vala/vala_0.52.4.bb
index 133dc9efad..8e2869d408 100644
--- a/meta/recipes-devtools/vala/vala_0.52.3.bb
+++ b/meta/recipes-devtools/vala/vala_0.52.4.bb
@@ -2,4 +2,4 @@ require ${BPN}.inc
 
 SRC_URI += " file://0001-vapigen.m4-use-PKG_CONFIG_SYSROOT_DIR.patch"
 
-SRC_URI[sha256sum] = 
"037ea1a92bf0f1ab04a71b52a01d50aca1945ad1017b6189d9614f84f5c9b2d9"
+SRC_URI[sha256sum] = 
"ecde520e5160e659ee699f8b1cdc96065edbd44bbd08eb48ef5f2506751fdf31"
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152796): 
https://lists.openembedded.org/g/openembedded-core/message/152796
Mute This Topic: https://lists.openembedded.org/mt/83415023/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 3/3] p11-kit: upgrade 0.23.22 -> 0.23.24

2021-06-08 Thread Andreas Müller
* Use inclusive language on certificate distrust. Note: This changes the 
directory and attribute names to distrust certain CAs to
  "blocklist" [#324]
* Fix issues spotted by coverity and ASan [#349, #351]
* Integrate gettext with tools more tightly [#358]
* rpc: Forbid use of array of attributes [#365, #367]
* Build fixes [#342, #344, #345, #353, #362, #364]

Signed-off-by: Andreas Müller 
---
 .../p11-kit/{p11-kit_0.23.22.bb => p11-kit_0.24.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/p11-kit/{p11-kit_0.23.22.bb => p11-kit_0.24.0.bb} 
(91%)

diff --git a/meta/recipes-support/p11-kit/p11-kit_0.23.22.bb 
b/meta/recipes-support/p11-kit/p11-kit_0.24.0.bb
similarity index 91%
rename from meta/recipes-support/p11-kit/p11-kit_0.23.22.bb
rename to meta/recipes-support/p11-kit/p11-kit_0.24.0.bb
index 623afccb5e..6759168b37 100644
--- a/meta/recipes-support/p11-kit/p11-kit_0.23.22.bb
+++ b/meta/recipes-support/p11-kit/p11-kit_0.24.0.bb
@@ -10,8 +10,8 @@ DEPENDS = "libtasn1 libtasn1-native libffi"
 
 DEPENDS_append = "${@' glib-2.0' if d.getVar('GTKDOC_ENABLED') == 'True' else 
''}"
 
-SRC_URI = "git://github.com/p11-glue/p11-kit;branch=0.23"
-SRCREV = "bd97afbfe28d5fbbde95ce36ff7a8834fc0291ee"
+SRC_URI = "git://github.com/p11-glue/p11-kit"
+SRCREV = "34826623f58399b24c21f1788e2cdaea34521b7b"
 S = "${WORKDIR}/git"
 
 PACKAGECONFIG ??= ""
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152797): 
https://lists.openembedded.org/g/openembedded-core/message/152797
Mute This Topic: https://lists.openembedded.org/mt/83415024/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 1/2] libinput: upgrade 1.17.3 -> 1.18.0

2021-06-03 Thread Andreas Müller
* COPYING changed by link (master->main) [1]

[1] 
https://gitlab.freedesktop.org/libinput/libinput/-/commit/354df8bce9874e92de2ad8535fdcedaec0755b27

Signed-off-by: Andreas Müller 
---
 .../wayland/{libinput_1.17.3.bb => libinput_1.18.0.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/wayland/{libinput_1.17.3.bb => 
libinput_1.18.0.bb} (91%)

diff --git a/meta/recipes-graphics/wayland/libinput_1.17.3.bb 
b/meta/recipes-graphics/wayland/libinput_1.18.0.bb
similarity index 91%
rename from meta/recipes-graphics/wayland/libinput_1.17.3.bb
rename to meta/recipes-graphics/wayland/libinput_1.18.0.bb
index ef19146f79..e46071c67b 100644
--- a/meta/recipes-graphics/wayland/libinput_1.17.3.bb
+++ b/meta/recipes-graphics/wayland/libinput_1.18.0.bb
@@ -8,7 +8,7 @@ HOMEPAGE = "http://www.freedesktop.org/wiki/Software/libinput/";
 SECTION = "libs"
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=1f2ea9ebff3a2c6d458faf58492efb63"
+LIC_FILES_CHKSUM = "file://COPYING;md5=bab4ac7dc1c10bc0fb037dc76c46ef8a"
 
 DEPENDS = "libevdev udev mtdev libcheck"
 
@@ -16,7 +16,7 @@ SRC_URI = 
"http://www.freedesktop.org/software/${BPN}/${BP}.tar.xz \
file://run-ptest \
file://determinism.patch \
"
-SRC_URI[sha256sum] = 
"0d010e0bf601b5d3a06b3c4d77d67751cf554f3e6448e57aa046ea9ee8f818ac"
+SRC_URI[sha256sum] = 
"18c6a286583268d39841348e561fbb4713bde0c643b360f5d8a3f27800afdb9a"
 
 UPSTREAM_CHECK_REGEX = "libinput-(?P\d+\.\d+\.(?!9\d+)\d+)"
 
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152623): 
https://lists.openembedded.org/g/openembedded-core/message/152623
Mute This Topic: https://lists.openembedded.org/mt/83293388/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 2/2] xf86-input-libinput: upgrade 0.30.0 -> 1.0.1

2021-06-03 Thread Andreas Müller
License was changed to real MIT [1]

[1] 
https://github.com/freedesktop/xorg-xf86-input-libinput/commit/2bbc4727a12471e3699e2803404a013656066a94

Signed-off-by: Andreas Müller 
---
 ...nput-libinput_0.30.0.bb => xf86-input-libinput_1.0.1.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-graphics/xorg-driver/{xf86-input-libinput_0.30.0.bb => 
xf86-input-libinput_1.0.1.bb} (44%)

diff --git a/meta/recipes-graphics/xorg-driver/xf86-input-libinput_0.30.0.bb 
b/meta/recipes-graphics/xorg-driver/xf86-input-libinput_1.0.1.bb
similarity index 44%
rename from meta/recipes-graphics/xorg-driver/xf86-input-libinput_0.30.0.bb
rename to meta/recipes-graphics/xorg-driver/xf86-input-libinput_1.0.1.bb
index d02988caa4..1777492ed9 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-input-libinput_0.30.0.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-input-libinput_1.0.1.bb
@@ -1,11 +1,11 @@
 require xorg-driver-input.inc
 
 SUMMARY = "Generic input driver for the X.Org server based on libinput"
-LIC_FILES_CHKSUM = "file://COPYING;md5=5e6b20ea2ef94a998145f0ea3f788ee0"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a22925127bd3c827c384cedd23ed2309"
 
 DEPENDS += "libinput"
 
-SRC_URI[md5sum] = "11dcfa2cc39f790731a9545fcdeea717"
-SRC_URI[sha256sum] = 
"f9c7f9fd41ae14061e0e9c3bd45fa170e5e21027a2bc5810034e1e748db996c0"
+SRC_URI[sha256sum] = 
"fddec49c115591918475155bf16aaf23017d7f814cee7823a0c11f867aca245b"
 
 FILES_${PN} += "${datadir}/X11/xorg.conf.d"
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152624): 
https://lists.openembedded.org/g/openembedded-core/message/152624
Mute This Topic: https://lists.openembedded.org/mt/83293390/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 2/8] systemd: Add more ugly casts to fix build with musl

2021-06-03 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 .../0010-Use-uintmax_t-for-handling-rlim_t.patch  | 11 ++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git 
a/meta/recipes-core/systemd/systemd/0010-Use-uintmax_t-for-handling-rlim_t.patch
 
b/meta/recipes-core/systemd/systemd/0010-Use-uintmax_t-for-handling-rlim_t.patch
index af1a6bb053..940db4c5c6 100644
--- 
a/meta/recipes-core/systemd/systemd/0010-Use-uintmax_t-for-handling-rlim_t.patch
+++ 
b/meta/recipes-core/systemd/systemd/0010-Use-uintmax_t-for-handling-rlim_t.patch
@@ -47,9 +47,18 @@ index b7e18768e3..3195ab205d 100644
  #if SIZEOF_DEV_T == 8
  #  define DEV_FMT "%" PRIu64
 diff --git a/src/basic/rlimit-util.c b/src/basic/rlimit-util.c
-index 23d108d5df..94373c9422 100644
+index 23d108d5df..b037734ee3 100644
 --- a/src/basic/rlimit-util.c
 +++ b/src/basic/rlimit-util.c
+@@ -43,7 +43,7 @@ int setrlimit_closest(int resource, const struct rlimit 
*rlim) {
+ fixed.rlim_max == highest.rlim_max)
+ return 0;
+ 
+-log_debug("Failed at setting rlimit " RLIM_FMT " for resource 
RLIMIT_%s. Will attempt setting value " RLIM_FMT " instead.", rlim->rlim_max, 
rlimit_to_string(resource), fixed.rlim_max);
++log_debug("Failed at setting rlimit " RLIM_FMT " for resource 
RLIMIT_%s. Will attempt setting value " RLIM_FMT " instead.", 
(uintmax_t)rlim->rlim_max, rlimit_to_string(resource), 
(uintmax_t)fixed.rlim_max);
+ 
+ if (setrlimit(resource, &fixed) < 0)
+ return -errno;
 @@ -308,13 +308,13 @@ int rlimit_format(const struct rlimit *rl, char **ret) {
  if (rl->rlim_cur >= RLIM_INFINITY && rl->rlim_max >= RLIM_INFINITY)
  s = strdup("infinity");
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152608): 
https://lists.openembedded.org/g/openembedded-core/message/152608
Mute This Topic: https://lists.openembedded.org/mt/83286652/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 8/8] alsa-utils(-scripts): upgrade 1.2.4 -> 1.2.5

2021-06-03 Thread Andreas Müller
See changelog at [1]

[1] https://github.com/alsa-project/alsa-utils/releases/tag/v1.2.5

Signed-off-by: Andreas Müller 
---
 ...s_1.2.4.bb => alsa-utils-scripts_1.2.5.bb} |  0
 meta/recipes-multimedia/alsa/alsa-utils.inc   |  5 ++-
 ...lsa-utils_1.2.4.bb => alsa-utils_1.2.5.bb} |  0
 ...limits.h-explicitly-to-fix-build-on-.patch | 37 +++
 4 files changed, 40 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/alsa/{alsa-utils-scripts_1.2.4.bb => 
alsa-utils-scripts_1.2.5.bb} (100%)
 rename meta/recipes-multimedia/alsa/{alsa-utils_1.2.4.bb => 
alsa-utils_1.2.5.bb} (100%)
 create mode 100644 
meta/recipes-multimedia/alsa/files/0001-utils.c-Include-limits.h-explicitly-to-fix-build-on-.patch

diff --git a/meta/recipes-multimedia/alsa/alsa-utils-scripts_1.2.4.bb 
b/meta/recipes-multimedia/alsa/alsa-utils-scripts_1.2.5.bb
similarity index 100%
rename from meta/recipes-multimedia/alsa/alsa-utils-scripts_1.2.4.bb
rename to meta/recipes-multimedia/alsa/alsa-utils-scripts_1.2.5.bb
diff --git a/meta/recipes-multimedia/alsa/alsa-utils.inc 
b/meta/recipes-multimedia/alsa/alsa-utils.inc
index f2e8133d2c..a017b02faf 100644
--- a/meta/recipes-multimedia/alsa/alsa-utils.inc
+++ b/meta/recipes-multimedia/alsa/alsa-utils.inc
@@ -23,8 +23,9 @@ PACKAGECONFIG[udev] = "--with-udev-rules-dir=`pkg-config 
--variable=udevdir udev
 PACKAGECONFIG[manpages] = "--enable-xmlto, --disable-xmlto, xmlto-native 
docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
 
 # alsa-utils specified in SRC_URI due to alsa-utils-scripts recipe
-SRC_URI = 
"https://www.alsa-project.org/files/pub/utils/alsa-utils-${PV}.tar.bz2";
-SRC_URI[sha256sum] = 
"98ffc2d599de0577d423a48fa5f20a992ca0b82d812ed1f2e58ade49ac6da426"
+SRC_URI = 
"https://www.alsa-project.org/files/pub/utils/alsa-utils-${PV}.tar.bz2 \
+   
file://0001-utils.c-Include-limits.h-explicitly-to-fix-build-on-.patch"
+SRC_URI[sha256sum] = 
"09970af05838b30001ca93ba27cb85b24c45056c70a80066c3ece6abe5a19997"
 
 # On build machines with python-docutils (not python3-docutils !!) installed
 # rst2man (not rst2man.py) is detected and compile fails with
diff --git a/meta/recipes-multimedia/alsa/alsa-utils_1.2.4.bb 
b/meta/recipes-multimedia/alsa/alsa-utils_1.2.5.bb
similarity index 100%
rename from meta/recipes-multimedia/alsa/alsa-utils_1.2.4.bb
rename to meta/recipes-multimedia/alsa/alsa-utils_1.2.5.bb
diff --git 
a/meta/recipes-multimedia/alsa/files/0001-utils.c-Include-limits.h-explicitly-to-fix-build-on-.patch
 
b/meta/recipes-multimedia/alsa/files/0001-utils.c-Include-limits.h-explicitly-to-fix-build-on-.patch
new file mode 100644
index 00..445f3ecade
--- /dev/null
+++ 
b/meta/recipes-multimedia/alsa/files/0001-utils.c-Include-limits.h-explicitly-to-fix-build-on-.patch
@@ -0,0 +1,37 @@
+From b20cb6ef5e3f331181b93e39293602ad2c774af8 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= 
+Date: Thu, 3 Jun 2021 16:07:10 +0200
+Subject: [PATCH] utils.c: Include limits.h explicitly to fix build on musl
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Fixes:
+| ../../alsa-utils-1.2.5/alsactl/utils.c: In function 'snd_card_clean_cfgdir':
+| ../../alsa-utils-1.2.5/alsactl/utils.c:309:19: error: 'PATH_MAX' undeclared 
(first use in this function)
+|   309 | char path[PATH_MAX];
+|   |   ^~~~
+| ../../alsa-utils-1.2.5/alsactl/utils.c:309:19: note: each undeclared 
identifier is reported only once for each function it appears in
+
+Upstream-Status: Submitted [https://github.com/alsa-project/alsa-utils/pull/92]
+
+Signed-off-by: Andreas Müller 
+---
+ alsactl/utils.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/alsactl/utils.c b/alsactl/utils.c
+index 881b505..1a4896b 100644
+--- a/alsactl/utils.c
 b/alsactl/utils.c
+@@ -30,6 +30,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include "alsactl.h"
+ 
+ int file_map(const char *filename, char **buf, size_t *bufsize)
+-- 
+2.31.1
+
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152614): 
https://lists.openembedded.org/g/openembedded-core/message/152614
Mute This Topic: https://lists.openembedded.org/mt/83286658/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 1/8] mesa: upgrade 21.1.1 -> 21.1.2

2021-06-03 Thread Andreas Müller
Changes:
Adam Jackson (1):
  zink/ntv: Don't call free() on ralloc'd memory

Alyssa Rosenzweig (3):
  panfrost: Fix the reads_dest prototype
  panfrost: Fix is_opaque prototype
  panfrost: Increase tiler_heap max allocation to 64MB

Anuj Phogat (1):
  intel/gfx12+: Add Wa_14013840143

Charmaine Lee (1):
  svga: fix texture rectangle sampling when no sampler view declaration is 
defined

Emma Anholt (2):
  i915g: Disable 3D-pipeline clears.
  i915g: Add support for the .Absolute flag on TGSI srcs.

Eric Anholt (1):
  i915g: Stop advertising support for indirect addressing in the FS.

Eric Engestrom (9):
  .pick_status.json: Update to 17861aff9614abfea3b8a8f111a114b26b351915
  pick-ui & .pick_status.json: rename `master_sha` to `main_sha`
  .pick_status.json: Update to b663c544177e9547793ee405887f0d41c50e6d1d
  .pick_status.json: Update to 507e8907af913ab7b89211240568b8002b3475f1
  .pick_status.json: Update to 3179daf61393ee8a0fac943b94335b114e34873b
  .pick_status.json: Update to 761383720617b46617bd278ec6015c9520f43f5c
  .pick_status.json: Update to 1199d86b238a101e63bdf9b60a7391f96092
  docs: add release notes for 21.1.2
  VERSION: bump for 21.1.2

Erik Faye-Lund (2):
  zink: use actual const for const offset
  util/prim_restart: revert part of bad fix

Erik Kurzinger (1):
  vulkan/device_select: avoid segfault on Wayland if wl_drm is unavailable

Georg Lehmann (1):
  radv: Fix compatible image handle type for dmabufs.

Ian Romanick (2):
  nir/algebraic: Remove some optimizations of comparisons with fsat
  nir/algebraic: Invert comparisons less often

Icecream95 (1):
  panfrost: Fix polygon list size computations

Italo Nicola (1):
  panfrost: fix GL_EXT_multisampled_render_to_texture regression

Jason Ekstrand (3):
  anv: Plumb the shader into push constant helpers
  anv: Support pushing shader constants
  intel/vec4: Don't spill fp64 registers more than once

José Fonseca (1):
  draw: Allocate extra padding for extra shader outputs.

Juan A. Suarez Romero (1):
  vc4: initialize array

Kenneth Graunke (2):
  i965: Don't advertise Y-tiled modifiers for scanout buffers on Gfx8-
  iris: Don't advertise Y-tiled modifiers for scanout buffers on Gfx8

Marek Olšák (3):
  ac/gpu_info: set has_zero_index_buffer_bug for Navi12 too
  radeonsi: add a gfx10 hw bug workaround with the barrier before 
gs_alloc_req
  radeonsi: disable DFSM on gfx9 by default because it decreases 
performance a lot

Mike Blumenkrantz (4):
  util/prim_restart: fix util_translate_prim_restart_ib
  aux/vbuf: prevent uint underflow and assert if no vbs are dirty
  aux/trace: fix set_inlinable_constants hook
  zink: remove weird lod hack for texturing

Nanley Chery (2):
  anv,iris: Port the D16 workaround stalls to BLORP
  intel/isl: Fix HiZ+CCS comment about ambiguates

Neha Bhende (2):
  svga: Add target and sampler_return_type info into shader key
  svga: Use shader_key info to declare resources if TGSI shader is missing 
it

Rhys Perry (3):
  aco: disallow SGPRs on DPP instructions
  radv: add radv_absolute_depth_bias
  radv: workaround incorrect depthBiasConstantFactor by Path of Exile

Robert Tarasov (1):
  iris: Check data alignment for copy_mem_mem

Samuel Pitoiset (4):
  aco: fix derivatives/intrinsics with SGPR sources
  radv: fix fast clearing DCC if one level can't be compressed on GFX10+
  aco: fix emitting discard when the program just ends
  radv: enable RADV_DEBUG=invariantgeom for Monster Hunter World

SureshGuttula (1):
  frontends/va/picture:Fix wrong reallocation even surface is protected

cheyang (1):
  virgl:Fix the leak of hw_res used as fence

Signed-off-by: Andreas Müller 
---
 .../mesa/{mesa-gl_21.1.1.bb => mesa-gl_21.1.2.bb}   | 0
 meta/recipes-graphics/mesa/mesa.inc | 2 +-
 meta/recipes-graphics/mesa/{mesa_21.1.1.bb => mesa_21.1.2.bb}   | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/mesa/{mesa-gl_21.1.1.bb => mesa-gl_21.1.2.bb} 
(100%)
 rename meta/recipes-graphics/mesa/{mesa_21.1.1.bb => mesa_21.1.2.bb} (100%)

diff --git a/meta/recipes-graphics/mesa/mesa-gl_21.1.1.bb 
b/meta/recipes-graphics/mesa/mesa-gl_21.1.2.bb
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa-gl_21.1.1.bb
rename to meta/recipes-graphics/mesa/mesa-gl_21.1.2.bb
diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index 32cc997c9e..5700cc9673 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -21,7 +21,7 @@ SRC_URI = 
"https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
file://0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch \
"
 
-SRC_URI[sha256sum] = 
"eec

[OE-core] [PATCH 7/8] alsa-ucm-conf: upgrade 1.2.4 -> 1.2.5

2021-06-03 Thread Andreas Müller
See changelog at [1]

[1] https://github.com/alsa-project/alsa-ucm-conf/releases/tag/v1.2.5

Signed-off-by: Andreas Müller 
---
 .../alsa/{alsa-ucm-conf_1.2.4.bb => alsa-ucm-conf_1.2.5.bb}   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 rename meta/recipes-multimedia/alsa/{alsa-ucm-conf_1.2.4.bb => 
alsa-ucm-conf_1.2.5.bb} (80%)

diff --git a/meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.4.bb 
b/meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.5.bb
similarity index 80%
rename from meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.4.bb
rename to meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.5.bb
index 32cf41c8fd..5de7185895 100644
--- a/meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.4.bb
+++ b/meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.5.bb
@@ -8,7 +8,9 @@ LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=20d74d74db9741697903372ad001d3b4"
 
 SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2";
-SRC_URI[sha256sum] = 
"2c3b535c77dcb9aaf62a61f4f8324f1ab184162f105f7ec9ed1e37c742fcd340"
+SRC_URI[sha256sum] = 
"093ae3d85a5e6fd2cd1cc27feda400d7191382fb8b5e5e23497286c87c1507a5"
+# Something went wrong at upstream tarballing
+S = "${WORKDIR}/${BPN}-1.2.4.81.g4884e"
 
 inherit allarch
 
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152613): 
https://lists.openembedded.org/g/openembedded-core/message/152613
Mute This Topic: https://lists.openembedded.org/mt/83286657/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 6/8] alsa-topology-conf: upgrade 1.2.4 -> 1.2.5

2021-06-03 Thread Andreas Müller
Changes:
/Makefile
 - Makefile: add SRCPATH to override the source .conf tree
 - Introduce Makefile to simplify the binary files availability
Description
 - Introduce Makefile to simplify the binary files availability

Signed-off-by: Andreas Müller 
---
 ...lsa-topology-conf_1.2.4.bb => alsa-topology-conf_1.2.5.bb} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 rename meta/recipes-multimedia/alsa/{alsa-topology-conf_1.2.4.bb => 
alsa-topology-conf_1.2.5.bb} (79%)

diff --git a/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.4.bb 
b/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.5.bb
similarity index 79%
rename from meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.4.bb
rename to meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.5.bb
index 26542fbbbc..a6b2d7a608 100644
--- a/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.4.bb
+++ b/meta/recipes-multimedia/alsa/alsa-topology-conf_1.2.5.bb
@@ -8,7 +8,9 @@ LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=20d74d74db9741697903372ad001d3b4"
 
 SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2";
-SRC_URI[sha256sum] = 
"55e0e6e42eca4cc7656c257af2440cdc65b83689dca49fc60ca0194db079ed07"
+SRC_URI[sha256sum] = 
"8bfa8306ca63e1d0cbe80be984660273b91bd5b7dd0800a6c5aa71dd8c8d775c"
+# Something went wrong at upstream tarballing
+S = "${WORKDIR}/${BPN}-1.2.4.2.g15998"
 
 inherit allarch
 
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152612): 
https://lists.openembedded.org/g/openembedded-core/message/152612
Mute This Topic: https://lists.openembedded.org/mt/83286656/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 5/8] alsa-tools: upgrade 1.2.2 -> 1.2.5

2021-06-03 Thread Andreas Müller
Changelog:
Core
 - Release v1.2.5
hdspmixer
 - hdspmixer: add output loopback buttons
 - hdspmixer: enhance saving of presets

Signed-off-by: Andreas Müller 
---
 .../alsa/{alsa-tools_1.2.2.bb => alsa-tools_1.2.5.bb}  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta/recipes-multimedia/alsa/{alsa-tools_1.2.2.bb => 
alsa-tools_1.2.5.bb} (95%)

diff --git a/meta/recipes-multimedia/alsa/alsa-tools_1.2.2.bb 
b/meta/recipes-multimedia/alsa/alsa-tools_1.2.5.bb
similarity index 95%
rename from meta/recipes-multimedia/alsa/alsa-tools_1.2.2.bb
rename to meta/recipes-multimedia/alsa/alsa-tools_1.2.5.bb
index 0a25d809b0..8f9c77e4fc 100644
--- a/meta/recipes-multimedia/alsa/alsa-tools_1.2.2.bb
+++ b/meta/recipes-multimedia/alsa/alsa-tools_1.2.5.bb
@@ -14,8 +14,7 @@ LIC_FILES_CHKSUM = 
"file://hdsploader/COPYING;md5=59530bdf33659b29e73d4adb9f9f65
 
 SRC_URI = "https://www.alsa-project.org/files/pub/tools/${BP}.tar.bz2";
 
-SRC_URI[md5sum] = "4e6187d2c3a8c73a9d75d66a72faed27"
-SRC_URI[sha256sum] = 
"bfd3c7aae1289269605d3da02279159b10e3dabdd31e658cbceaa30170957349"
+SRC_URI[sha256sum] = 
"35a71027a01f4d7de4722e223520e940de68b3c570b6c671691567ae28f9893e"
 
 inherit autotools-brokensep pkgconfig
 # brokensep as as10k1 (and probably more) fail out of tree
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152611): 
https://lists.openembedded.org/g/openembedded-core/message/152611
Mute This Topic: https://lists.openembedded.org/mt/83286655/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 4/8] alsa-plugins: upgrade 1.2.2 -> 1.2.5

2021-06-03 Thread Andreas Müller
Changelog is found at [1]

[1] https://github.com/alsa-project/alsa-utils/releases/tag/v1.2.5

Signed-off-by: Andreas Müller 
---
 .../alsa/{alsa-plugins_1.2.2.bb => alsa-plugins_1.2.5.bb}  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta/recipes-multimedia/alsa/{alsa-plugins_1.2.2.bb => 
alsa-plugins_1.2.5.bb} (98%)

diff --git a/meta/recipes-multimedia/alsa/alsa-plugins_1.2.2.bb 
b/meta/recipes-multimedia/alsa/alsa-plugins_1.2.5.bb
similarity index 98%
rename from meta/recipes-multimedia/alsa/alsa-plugins_1.2.2.bb
rename to meta/recipes-multimedia/alsa/alsa-plugins_1.2.5.bb
index 1381896f38..f940a4bd35 100644
--- a/meta/recipes-multimedia/alsa/alsa-plugins_1.2.2.bb
+++ b/meta/recipes-multimedia/alsa/alsa-plugins_1.2.5.bb
@@ -23,8 +23,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \
 "
 
 SRC_URI = "https://www.alsa-project.org/files/pub/plugins/${BP}.tar.bz2";
-SRC_URI[md5sum] = "8455e3c6fbc47f62f070afabc14ba575"
-SRC_URI[sha256sum] = 
"1c0f06450c928d711719686c9dbece2d480184f36fab11b8f0534cb7b41e337d"
+SRC_URI[sha256sum] = 
"42eef98433d2c8d11f1deeeb459643619215a75aa5a5bbdd06a794e4c413df20"
 
 DEPENDS += "alsa-lib"
 
-- 
2.31.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152610): 
https://lists.openembedded.org/g/openembedded-core/message/152610
Mute This Topic: https://lists.openembedded.org/mt/83286654/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 3/8] alsa-lib: upgrade 1.2.4 -> 1.2.5

2021-06-03 Thread Andreas Müller
* Backported patch can go
* See full changelog at [1]

[1] https://github.com/alsa-project/alsa-lib/releases/tag/v1.2.5

Signed-off-by: Andreas Müller 
---
 ...de-limits.h-explicitly-to-fix-build-.patch | 41 +++
 ...8e5503980295dd8e5e54a6285d2d7e32eb1e.patch | 31 --
 .../{alsa-lib_1.2.4.bb => alsa-lib_1.2.5.bb}  |  4 +-
 3 files changed, 43 insertions(+), 33 deletions(-)
 create mode 100644 
meta/recipes-multimedia/alsa/alsa-lib/0001-ucm_exec.c-Include-limits.h-explicitly-to-fix-build-.patch
 delete mode 100644 
meta/recipes-multimedia/alsa/alsa-lib/ad8c8e5503980295dd8e5e54a6285d2d7e32eb1e.patch
 rename meta/recipes-multimedia/alsa/{alsa-lib_1.2.4.bb => alsa-lib_1.2.5.bb} 
(89%)

diff --git 
a/meta/recipes-multimedia/alsa/alsa-lib/0001-ucm_exec.c-Include-limits.h-explicitly-to-fix-build-.patch
 
b/meta/recipes-multimedia/alsa/alsa-lib/0001-ucm_exec.c-Include-limits.h-explicitly-to-fix-build-.patch
new file mode 100644
index 00..8752ef0dc0
--- /dev/null
+++ 
b/meta/recipes-multimedia/alsa/alsa-lib/0001-ucm_exec.c-Include-limits.h-explicitly-to-fix-build-.patch
@@ -0,0 +1,41 @@
+From 26ab44c99e9f370e3da0c18982fa482e2e55f0a8 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= 
+Date: Thu, 3 Jun 2021 12:29:03 +0200
+Subject: [PATCH] ucm_exec.c: Include limits.h explicitly to fix build on musl
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Fixes:
+| ../../../alsa-lib-1.2.5/src/ucm/ucm_exec.c: In function 'find_exec':
+| ../../../alsa-lib-1.2.5/src/ucm/ucm_exec.c:43:18: error: 'PATH_MAX' 
undeclared (first use in this function)
+|43 | char bin[PATH_MAX];
+|   |  ^~~~
+| ../../../alsa-lib-1.2.5/src/ucm/ucm_exec.c:43:18: note: each undeclared 
identifier is reported only once for each function it appears in
+| ../../../alsa-lib-1.2.5/src/ucm/ucm_exec.c: In function 'uc_mgr_exec':
+| ../../../alsa-lib-1.2.5/src/ucm/ucm_exec.c:177:18: error: 'PATH_MAX' 
undeclared (first use in this function)
+|   177 | char bin[PATH_MAX];
+|   |  ^~~~
+
+Upstream-Status: Submitted [https://github.com/alsa-project/alsa-lib/pull/145]
+
+Signed-off-by: Andreas Müller 
+---
+ src/ucm/ucm_exec.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/ucm/ucm_exec.c b/src/ucm/ucm_exec.c
+index d83206d0..4ddf5d15 100644
+--- a/src/ucm/ucm_exec.c
 b/src/ucm/ucm_exec.c
+@@ -30,6 +30,7 @@
+ #include "ucm_local.h"
+ #include 
+ #include 
++#include 
+ #include 
+ 
+ static pthread_mutex_t fork_lock = PTHREAD_MUTEX_INITIALIZER;
+-- 
+2.31.1
+
diff --git 
a/meta/recipes-multimedia/alsa/alsa-lib/ad8c8e5503980295dd8e5e54a6285d2d7e32eb1e.patch
 
b/meta/recipes-multimedia/alsa/alsa-lib/ad8c8e5503980295dd8e5e54a6285d2d7e32eb1e.patch
deleted file mode 100644
index 98e2988dda..00
--- 
a/meta/recipes-multimedia/alsa/alsa-lib/ad8c8e5503980295dd8e5e54a6285d2d7e32eb1e.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From ad8c8e5503980295dd8e5e54a6285d2d7e32eb1e Mon Sep 17 00:00:00 2001
-From: Jaroslav Kysela 
-Date: Thu, 22 Oct 2020 20:57:32 +0200
-Subject: [PATCH] dlmisc: the snd_plugin_dir_set / snd_plugin_dir must be
- declared even for \!DL_ORIGIN_AVAILABLE
-
-Fixes: 8580c081c2 ("dlsym: add support for ALSA_PLUGIN_DIR environment 
variable")
-BugLink: https://github.com/alsa-project/alsa-lib/issues/91
-Signed-off-by: Jaroslav Kysela 
-Upstream-Status: Backport
-Signed-off-by: Alexander Kanavin 

- src/dlmisc.c | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/src/dlmisc.c b/src/dlmisc.c
-index c9517c55..f20eb593 100644
 a/src/dlmisc.c
-+++ b/src/dlmisc.c
-@@ -42,11 +42,9 @@
- #ifndef PIC
- struct snd_dlsym_link *snd_dlsym_start = NULL;
- #endif
--#ifdef DL_ORIGIN_AVAILABLE
- static int snd_plugin_dir_set = 0;
- static char *snd_plugin_dir = NULL;
- #endif
--#endif
- 
- #if defined(DL_ORIGIN_AVAILABLE) && defined(HAVE_LIBPTHREAD)
- static pthread_mutex_t snd_dlpath_mutex = PTHREAD_MUTEX_INITIALIZER;
diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.2.4.bb 
b/meta/recipes-multimedia/alsa/alsa-lib_1.2.5.bb
similarity index 89%
rename from meta/recipes-multimedia/alsa/alsa-lib_1.2.4.bb
rename to meta/recipes-multimedia/alsa/alsa-lib_1.2.5.bb
index c49cc2a9b4..1d6a9655f6 100644
--- a/meta/recipes-multimedia/alsa/alsa-lib_1.2.4.bb
+++ b/meta/recipes-multimedia/alsa/alsa-lib_1.2.5.bb
@@ -10,8 +10,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \
 "
 
 SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2 \
-   file://ad8c8e5503980295dd8e5e54a6285d2d7e32eb1e.patch"
-SRC_URI[sha256sum] = 
"f7554be1a56cdff468b58fc1c29b95b64864c590038dd309c7a978c7116908f7"
+   
file://0001-ucm_exec.c-Include-limits.h-explicitly-to-fix-build-.patch"
+SRC_URI[sha256sum] = 
"9092894a8c083b33acf8d6deb90

Re: [OE-core] [PATCH] sstatesig.py: make it fatal error when sstate manifest isn't found

2021-05-31 Thread Andreas Müller
On Mon, May 31, 2021 at 3:25 AM Andreas Müller via
lists.openembedded.org
 wrote:
>
> On Wed, May 19, 2021 at 6:46 PM Konrad Weihmann  wrote:
> If I am not mistaken this breaks wide areas of meta-freescale +
> meta-qt5-extra. I have seen the manifest warning using meta-freescale
> for long time (and many licensed not found in do_rootfs) but now
> builds fail.
> Most recipes failing are native recipes inheriting meta-qt5's
> cmake_qt5-bbcalss  - have many of them in meta-qt5-extra.
> To analyse I did:
>
> [superandy@thanks-buchmuellers oe-core]$ bitbake -e
> extra-cmake-modules-native | grep ^DEPENDS
> DEPENDS="qtbase qtbase-native cmake-native  qtbase-native
> qtbase-native cmake-native qttools-native python3-native
> python3-native  ninja-native"
>
> As soon as I remove (target) qtbase from DEPENDS, build is fine.
> Have the strong feeling that the dynamic-packagearch magic [1] is the
> culprit confusing a native recipe finding target recipe's manifest if
> that recipe is marked as SO-SPECIFIC  - as qtbase [2] is.
>
> Wrote here because I hope the audience is wider - will open an issue
> at meta-freescale tomorrow after zzz...
see https://github.com/Freescale/meta-freescale/issues/798
>
> Cheers,
>
> Andreas
>
> [1] 
> https://github.com/Freescale/meta-freescale/blob/master/classes/fsl-dynamic-packagearch.bbclass
> [2] 
> https://github.com/Freescale/meta-freescale/blob/733e1683ce8895a960c01a3ee1fce40118d82982/conf/machine/include/imx-base.inc#L246
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152461): 
https://lists.openembedded.org/g/openembedded-core/message/152461
Mute This Topic: https://lists.openembedded.org/mt/82932967/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] sstatesig.py: make it fatal error when sstate manifest isn't found

2021-05-30 Thread Andreas Müller
On Wed, May 19, 2021 at 6:46 PM Konrad Weihmann  wrote:
If I am not mistaken this breaks wide areas of meta-freescale +
meta-qt5-extra. I have seen the manifest warning using meta-freescale
for long time (and many licensed not found in do_rootfs) but now
builds fail.
Most recipes failing are native recipes inheriting meta-qt5's
cmake_qt5-bbcalss  - have many of them in meta-qt5-extra.
To analyse I did:

[superandy@thanks-buchmuellers oe-core]$ bitbake -e
extra-cmake-modules-native | grep ^DEPENDS
DEPENDS="qtbase qtbase-native cmake-native  qtbase-native
qtbase-native cmake-native qttools-native python3-native
python3-native  ninja-native"

As soon as I remove (target) qtbase from DEPENDS, build is fine.
Have the strong feeling that the dynamic-packagearch magic [1] is the
culprit confusing a native recipe finding target recipe's manifest if
that recipe is marked as SO-SPECIFIC  - as qtbase [2] is.

Wrote here because I hope the audience is wider - will open an issue
at meta-freescale tomorrow after zzz...

Cheers,

Andreas

[1] 
https://github.com/Freescale/meta-freescale/blob/master/classes/fsl-dynamic-packagearch.bbclass
[2] 
https://github.com/Freescale/meta-freescale/blob/733e1683ce8895a960c01a3ee1fce40118d82982/conf/machine/include/imx-base.inc#L246

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152454): 
https://lists.openembedded.org/g/openembedded-core/message/152454
Mute This Topic: https://lists.openembedded.org/mt/82932967/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 4/8] meson: update 0.57.2 -> 0.58.0

2021-05-14 Thread Andreas Müller
On Fri, May 14, 2021 at 5:20 PM Khem Raj  wrote:
>
> On Fri, May 14, 2021 at 6:59 AM Alexander Kanavin
>  wrote:
> >
> > Probably resolved by updating to 40.1?
> > https://gitlab.gnome.org/GNOME/nautilus/-/tags
> >
>
> easier said than done.  Sadly these are complex apps and I don't have
> time to fix the  long list of dependencies it will ensue
> therefore I will leave it broken and exclude them from my distro
> builds from, Andreas might be
> interested
>
Will look into

Cheers

Andreas

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#151771): 
https://lists.openembedded.org/g/openembedded-core/message/151771
Mute This Topic: https://lists.openembedded.org/mt/82809617/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] Layer list's certificate expired

2021-05-13 Thread Andreas Müller
Hi,

On opening OE-layers browsers complain that certificate has expired
yesterday 13.th of May. Just wanted to let you know.

Cheers,

Andreas

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#151744): 
https://lists.openembedded.org/g/openembedded-core/message/151744
Mute This Topic: https://lists.openembedded.org/mt/82812746/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] Dunfell support for Fedora 33

2021-05-08 Thread Andreas Müller
On Thu, Apr 29, 2021 at 7:17 PM Steve Sakoman  wrote:
>
> On Thu, Apr 29, 2021 at 6:57 AM Andreas Müller  
> wrote:
> >
> > On Thu, Apr 22, 2021 at 6:24 PM Steve Sakoman  wrote:
> > >
> > > I'd like to work toward getting Fedora 33 as a supported distro for
> > > the next dunfell release (3.1.8).
> > >
> > > Initial autobuilder testing looks fairly good, but I'd like to get
> > > some feedback from people who are already doing dunfell builds on
> > > Fedora 33.  Have you run into any issues?  If including
> > > meta-openembedded in your builds, any issues there?
> > >
> > > Thanks!
> > >
> > > Steve
> > >
> > Hi,
> >
> > FWIW: on my new machine I gave my monster image a build with dunfell /
> > fedora 33. Ok this is not a world build but I had no issues on oe-core
> > / meta-openembedded.
>
> Thanks for the report!
>
> Steve
Hi Steve,

it seems Fedora 33 updated python to 3.9.2 (bottom posts in [1]) and
am not sure my tests included that. Will try another build.

[1] https://github.com/kraj/meta-clang/issues/463

Cheers,

Andreas

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#151482): 
https://lists.openembedded.org/g/openembedded-core/message/151482
Mute This Topic: https://lists.openembedded.org/mt/82289551/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] gstreamer1.0-plugins-good: fix build with gcc11

2021-05-08 Thread Andreas Müller
On Sat, May 8, 2021 at 2:18 PM Richard Purdie
 wrote:
> I'm guessing this only happens when qt is enabled? I was wondering
> why we hadn't seen this initially...
>
> Cheers,
>
> Richard
>
Wanted to write something like: 'What am I missing?' - now I know:
Have Qt enabled

Cheers

Andreas

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#151478): 
https://lists.openembedded.org/g/openembedded-core/message/151478
Mute This Topic: https://lists.openembedded.org/mt/82676348/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] gstreamer1.0-plugins-good: fix build with gcc11

2021-05-08 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 ...from-static-vars-to-fix-build-with-g.patch | 100 ++
 .../gstreamer1.0-plugins-good_1.18.4.bb   |   1 +
 2 files changed, 101 insertions(+)
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0003-Remove-volatile-from-static-vars-to-fix-build-with-g.patch

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0003-Remove-volatile-from-static-vars-to-fix-build-with-g.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0003-Remove-volatile-from-static-vars-to-fix-build-with-g.patch
new file mode 100644
index 00..87223826c6
--- /dev/null
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0003-Remove-volatile-from-static-vars-to-fix-build-with-g.patch
@@ -0,0 +1,100 @@
+From 07572920319ea86cebb6dd073ab65915ec207eed Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= 
+Date: Sat, 8 May 2021 14:08:41 +0200
+Subject: [PATCH] Remove volatile from static vars to fix build with gcc11
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Stolen from [1]
+
+[1] 
https://src.fedoraproject.org/rpms/gstreamer1-plugins-good/blob/rawhide/f/gstreamer1-plugins-good-gcc11.patch
+
+Upstream-Status: Pending
+
+Signed-off-by: Andreas Müller 
+---
+ ext/qt/gstqsgtexture.cc  | 2 +-
+ ext/qt/gstqtglutility.cc | 2 +-
+ ext/qt/qtglrenderer.cc   | 2 +-
+ ext/qt/qtitem.cc | 2 +-
+ ext/qt/qtwindow.cc   | 4 ++--
+ 5 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/ext/qt/gstqsgtexture.cc b/ext/qt/gstqsgtexture.cc
+index 4cc9fc6..50c8d7f 100644
+--- a/ext/qt/gstqsgtexture.cc
 b/ext/qt/gstqsgtexture.cc
+@@ -35,7 +35,7 @@ GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);
+ 
+ GstQSGTexture::GstQSGTexture ()
+ {
+-  static volatile gsize _debug;
++  static gsize _debug;
+ 
+   initializeOpenGLFunctions();
+ 
+diff --git a/ext/qt/gstqtglutility.cc b/ext/qt/gstqtglutility.cc
+index acb89b6..d2c0922 100644
+--- a/ext/qt/gstqtglutility.cc
 b/ext/qt/gstqtglutility.cc
+@@ -66,7 +66,7 @@ gst_qt_get_gl_display ()
+ {
+   GstGLDisplay *display = NULL;
+   QGuiApplication *app = static_cast 
(QCoreApplication::instance ());
+-  static volatile gsize _debug;
++  static gsize _debug;
+ 
+   g_assert (app != NULL);
+ 
+diff --git a/ext/qt/qtglrenderer.cc b/ext/qt/qtglrenderer.cc
+index 2ad5601..bffba8f 100644
+--- a/ext/qt/qtglrenderer.cc
 b/ext/qt/qtglrenderer.cc
+@@ -22,7 +22,7 @@ GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);
+ static void
+ init_debug (void)
+ {
+-  static volatile gsize _debug;
++  static gsize _debug;
+ 
+   if (g_once_init_enter (&_debug)) {
+ GST_DEBUG_CATEGORY_INIT (GST_CAT_DEFAULT, "qtglrenderer", 0,
+diff --git a/ext/qt/qtitem.cc b/ext/qt/qtitem.cc
+index 7659800..bc99639 100644
+--- a/ext/qt/qtitem.cc
 b/ext/qt/qtitem.cc
+@@ -104,7 +104,7 @@ void InitializeSceneGraph::run()
+ 
+ QtGLVideoItem::QtGLVideoItem()
+ {
+-  static volatile gsize _debug;
++  static gsize _debug;
+ 
+   if (g_once_init_enter (&_debug)) {
+ GST_DEBUG_CATEGORY_INIT (GST_CAT_DEFAULT, "qtglwidget", 0, "Qt GL 
Widget");
+diff --git a/ext/qt/qtwindow.cc b/ext/qt/qtwindow.cc
+index 0dfd3f1..f1bd4ae 100644
+--- a/ext/qt/qtwindow.cc
 b/ext/qt/qtwindow.cc
+@@ -103,7 +103,7 @@ QtGLWindow::QtGLWindow ( QWindow * parent, QQuickWindow 
*src ) :
+   QQuickWindow( parent ), source (src)
+ {
+   QGuiApplication *app = static_cast 
(QCoreApplication::instance ());
+-  static volatile gsize _debug;
++  static gsize _debug;
+ 
+   g_assert (app != NULL);
+ 
+@@ -152,7 +152,7 @@ QtGLWindow::beforeRendering()
+ 
+   g_mutex_lock (&this->priv->lock);
+ 
+-  static volatile gsize once = 0;
++  static gsize once = 0;
+   if (g_once_init_enter(&once)) {
+ this->priv->start = QDateTime::currentDateTime().toMSecsSinceEpoch();
+ g_once_init_leave(&once,1);
+-- 
+2.30.2
+
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.4.bb
index 07cacdc68a..c7d31d206d 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.4.bb
@@ -7,6 +7,7 @@ BUGTRACKER = 
"https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues
 SRC_URI = 
"https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz
 \

file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \

file://0002-rtpjitterbuffer-Fix-parsing-of-the-mediaclk-direct-f.patch \
+   
file://0003-Remove-volatile-from-static-vars-to-fix-build-with-g.patch \
"
 
 SRC_URI[sha256sum] = 
"b6e50e3a9bbcd56ee6ec71c33aa8332cc9c926b0c1fae995aac8b3040ebe39b0"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to 

[OE-core] [PATCH] xwayland: remove protocol.txt - it clashes with xserver-xorg

2021-05-02 Thread Andreas Müller
* Images with wayland-compositors + xwayland + xserver fail to build
* Fedora - they introduced standalone xwayland - does same [1]

[1] 
https://src.fedoraproject.org/rpms/xorg-x11-server-Xwayland/blob/rawhide/f/xorg-x11-server-Xwayland.spec

Signed-off-by: Andreas Müller 
---
 meta/recipes-graphics/xwayland/xwayland_21.1.1.bb | 5 +
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-graphics/xwayland/xwayland_21.1.1.bb 
b/meta/recipes-graphics/xwayland/xwayland_21.1.1.bb
index b2ff25fbbc..8b1c96fc4a 100644
--- a/meta/recipes-graphics/xwayland/xwayland_21.1.1.bb
+++ b/meta/recipes-graphics/xwayland/xwayland_21.1.1.bb
@@ -17,5 +17,10 @@ REQUIRED_DISTRO_FEATURES = "x11 opengl"
 
 DEPENDS += "xorgproto xtrans pixman libxkbfile libxfont2 wayland 
wayland-native wayland-protocols libdrm libepoxy"
 
+do_install_append() {
+# remove files not needed and clashing with xserver-xorg
+rm -rf ${D}/${libdir}/xorg/
+}
+
 FILES_${PN} += "${libdir}/xorg/protocol.txt"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#151173): 
https://lists.openembedded.org/g/openembedded-core/message/151173
Mute This Topic: https://lists.openembedded.org/mt/82536095/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] Dunfell support for Fedora 33

2021-04-29 Thread Andreas Müller
On Thu, Apr 22, 2021 at 6:24 PM Steve Sakoman  wrote:
>
> I'd like to work toward getting Fedora 33 as a supported distro for
> the next dunfell release (3.1.8).
>
> Initial autobuilder testing looks fairly good, but I'd like to get
> some feedback from people who are already doing dunfell builds on
> Fedora 33.  Have you run into any issues?  If including
> meta-openembedded in your builds, any issues there?
>
> Thanks!
>
> Steve
>
Hi,

FWIW: on my new machine I gave my monster image a build with dunfell /
fedora 33. Ok this is not a world build but I had no issues on oe-core
/ meta-openembedded.

Cheers,

Andreas

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#151108): 
https://lists.openembedded.org/g/openembedded-core/message/151108
Mute This Topic: https://lists.openembedded.org/mt/82289551/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] webkitgtk: Use linker options to reduce memory overhead during linking

2021-03-09 Thread Andreas Müller
On Tue, Mar 9, 2021 at 1:01 PM Alexander Kanavin  wrote:
>
> Thanks Khem, this makes sense.
>
> Alex
>
webkitgtk is one of the top swappers for my (very old) machines -
would be cool if this has an end

Andreas

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#149195): 
https://lists.openembedded.org/g/openembedded-core/message/149195
Mute This Topic: https://lists.openembedded.org/mt/81189464/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH][V2] openssl: re-enable whirlpool

2021-02-05 Thread Andreas Müller
* it breaks KDE's qca and dependencies
* it is not deprecated. Openssl 3.0 (currently alpha) will deprecate whirlpool

[1] https://www.openssl.org/news/changelog.html#openssl-30

Signed-off-by: Andreas Müller 
---
V1 -> V2: Add comment for whirlpool
 meta/recipes-connectivity/openssl/openssl_1.1.1i.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1i.bb 
b/meta/recipes-connectivity/openssl/openssl_1.1.1i.bb
index 5617f337e0..99b1566740 100644
--- a/meta/recipes-connectivity/openssl/openssl_1.1.1i.bb
+++ b/meta/recipes-connectivity/openssl/openssl_1.1.1i.bb
@@ -65,7 +65,8 @@ CFLAGS_append_class-nativesdk = " -DOPENSSLDIR=/not/builtin 
-DENGINESDIR=/not/bu
 # rc2 (mailx)
 # psk (qt5)
 # srp (libest)
-DEPRECATED_CRYPTO_FLAGS = "no-ssl no-idea no-rc5 no-md2 no-camellia no-mdc2 
no-scrypt no-seed no-siphash no-sm2 no-sm3 no-sm4 no-whirlpool"
+# whirlpool (qca)
+DEPRECATED_CRYPTO_FLAGS = "no-ssl no-idea no-rc5 no-md2 no-camellia no-mdc2 
no-scrypt no-seed no-siphash no-sm2 no-sm3 no-sm4"
 
 do_configure () {
os=${HOST_OS}
-- 
2.26.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#147689): 
https://lists.openembedded.org/g/openembedded-core/message/147689
Mute This Topic: https://lists.openembedded.org/mt/80403318/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] openssl: re-enable whirlpool

2021-02-05 Thread Andreas Müller
* it breaks KDE's qca and dependencies
* it is not deprecated. Openssl 3.0 (currently alpha) will deprecate whirlpool

[1] https://www.openssl.org/news/changelog.html#openssl-30

Signed-off-by: Andreas Müller 
---
 meta/recipes-connectivity/openssl/openssl_1.1.1i.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1i.bb 
b/meta/recipes-connectivity/openssl/openssl_1.1.1i.bb
index ffa261a1be..774341c719 100644
--- a/meta/recipes-connectivity/openssl/openssl_1.1.1i.bb
+++ b/meta/recipes-connectivity/openssl/openssl_1.1.1i.bb
@@ -65,7 +65,7 @@ CFLAGS_append_class-nativesdk = " -DOPENSSLDIR=/not/builtin 
-DENGINESDIR=/not/bu
 # rc2 (mailx)
 # psk (qt5)
 # srp (libest)
-DEPRECATED_CRYPTO_FLAGS = "no-ssl no-idea no-rc5 no-md2 no-camellia no-mdc2 
no-scrypt no-seed no-siphash no-sm2 no-sm3 no-sm4 no-whirlpool"
+DEPRECATED_CRYPTO_FLAGS = "no-ssl no-idea no-rc5 no-md2 no-camellia no-mdc2 
no-scrypt no-seed no-siphash no-sm2 no-sm3 no-sm4"
 
 do_configure () {
os=${HOST_OS}
-- 
2.26.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#147687): 
https://lists.openembedded.org/g/openembedded-core/message/147687
Mute This Topic: https://lists.openembedded.org/mt/80403163/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [dunfell][PATCH 1/2] classes/waf: Add build and install arguments

2021-01-16 Thread Andreas Müller
Aargh just read cover letter - sorry

On Sat, Jan 16, 2021 at 9:37 PM Andreas Müller via
lists.openembedded.org
 wrote:
>
> On Sat, Jan 16, 2021 at 6:44 PM akuster  wrote:
> >
> > From: Joshua Watt 
> >
> > Adds variables that can be used to allow a recipe to pass extra
> > arguments to `waf build` and `waf install`. In most cases, you want to
> > pass the same arguments to `build` and `install` (since install is a
> > superset of `build`), so by default setting EXTRA_OEWAF_BUILD also
> > affects `waf install`, but this can be overridded.
> >
> Hi Armin,
>
> Have no problem with this - most of my layers are compatible from
> dunfell up to master but from meta-musicians (musicians seem to like
> waf) I know that this can cause breakages for packages shipping (very)
> old waf. Nothing unsolvable but...
> Just out of my curiosity: Why add this patch to dunfell?
> Cheers
>
> Andreas
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#146885): 
https://lists.openembedded.org/g/openembedded-core/message/146885
Mute This Topic: https://lists.openembedded.org/mt/79732578/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [dunfell][PATCH 1/2] classes/waf: Add build and install arguments

2021-01-16 Thread Andreas Müller
On Sat, Jan 16, 2021 at 6:44 PM akuster  wrote:
>
> From: Joshua Watt 
>
> Adds variables that can be used to allow a recipe to pass extra
> arguments to `waf build` and `waf install`. In most cases, you want to
> pass the same arguments to `build` and `install` (since install is a
> superset of `build`), so by default setting EXTRA_OEWAF_BUILD also
> affects `waf install`, but this can be overridded.
>
Hi Armin,

Have no problem with this - most of my layers are compatible from
dunfell up to master but from meta-musicians (musicians seem to like
waf) I know that this can cause breakages for packages shipping (very)
old waf. Nothing unsolvable but...
Just out of my curiosity: Why add this patch to dunfell?
Cheers

Andreas

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#146884): 
https://lists.openembedded.org/g/openembedded-core/message/146884
Mute This Topic: https://lists.openembedded.org/mt/79732578/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] libpam: remove entries for pam_tally and pam_tally2

2021-01-12 Thread Andreas Müller
Both were removed in 1.5.0 and one should use pam_faillock [1]

[1] https://github.com/linux-pam/linux-pam/releases/tag/v1.5.0

Signed-off-by: Andreas Müller 
---
 meta/recipes-extended/pam/libpam_1.5.1.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta/recipes-extended/pam/libpam_1.5.1.bb 
b/meta/recipes-extended/pam/libpam_1.5.1.bb
index 8c008a9701..f2f4fd91d6 100644
--- a/meta/recipes-extended/pam/libpam_1.5.1.bb
+++ b/meta/recipes-extended/pam/libpam_1.5.1.bb
@@ -118,8 +118,6 @@ python populate_packages_prepend () {
   'PAM plugin for %s', hook=pam_plugin_hook, 
extra_depends='')
 pam_plugin_append_file('%spam-plugin-unix' % mlprefix, pam_sbindir, 
'unix_chkpwd')
 pam_plugin_append_file('%spam-plugin-unix' % mlprefix, pam_sbindir, 
'unix_update')
-pam_plugin_append_file('%spam-plugin-tally' % mlprefix, pam_sbindir, 
'pam_tally')
-pam_plugin_append_file('%spam-plugin-tally2' % mlprefix, pam_sbindir, 
'pam_tally2')
 pam_plugin_append_file('%spam-plugin-timestamp' % mlprefix, pam_sbindir, 
'pam_timestamp_check')
 pam_plugin_append_file('%spam-plugin-mkhomedir' % mlprefix, pam_sbindir, 
'mkhomedir_helper')
 pam_plugin_append_file('%spam-plugin-console' % mlprefix, pam_sbindir, 
'pam_console_apply')
-- 
2.26.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#146628): 
https://lists.openembedded.org/g/openembedded-core/message/146628
Mute This Topic: https://lists.openembedded.org/mt/79634240/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH v5 01/11] lto: Add global LTO distro policy file

2020-11-09 Thread Andreas Müller
On Mon, Nov 9, 2020 at 8:15 PM Khem Raj  wrote:
>
> On Mon, Nov 9, 2020 at 12:30 AM Andreas Müller  
> wrote:
> >
> > On Mon, Nov 9, 2020 at 1:02 AM Khem Raj  wrote:
> > >
> > > Distros which want to enable LTO can utilize this file, it only covers
> > > packages from OE-Core, other layers should include there own exclusion
> > > list for recipe which dont work with LTO
> > >
> > > Document the needed changes in local.conf.extended
> > >
> > Maybe I missed something but I haven't seen a word why I should want
> > link time optimization. And from the patches I see here it seems we
> > are about to create another contributor's burden.
> >
>
> Thanks for your feedback. LTO is quite beneficial for the kind of
> images OE is targeting,
> It results in smaller binaries and better optimizations as well. LTO
> has been around for a while
> in GCC but it is becoming useful with gcc10+ and more distros e.g.
> Fedora/SuSE are also starting
> to use LTO distro wide which means we will be able to reuse the
> upstream work that's ongoing in
> different packages. You can see there are patches already floating to
> enable it for poky-tiny already
> so OE userbase is already starting to use it. Moreover, its already
> default for many packages themselves
> so you might already be using it at package level e.g. systemd
>
>  This is similar to what we did for enabling security flags. As you
> can see, these changes are currently optional. This means they won't
> go into effect for
> distros without them choosing to use it via DISTRO_FEATURES. Since it
> takes a bit to get
> such changes stable, we might keep it disabled by default for the next
> release depending upon
> how it pans out. Eventually, the plan is to enable it for poky/yocto distro.
>
> As far as the contribution burden, I think it won't be a blocker until
> it becomes one of the tested configurations
> on yocto auto-builder.
>
> Feel free to express if you have more concerns.
>
Thanks for explanation. At least I understand better now why you (and
others?) are taking efforts on LTO support.

Andreas

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#144427): 
https://lists.openembedded.org/g/openembedded-core/message/144427
Mute This Topic: https://lists.openembedded.org/mt/78125452/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH v5 01/11] lto: Add global LTO distro policy file

2020-11-09 Thread Andreas Müller
On Mon, Nov 9, 2020 at 1:02 AM Khem Raj  wrote:
>
> Distros which want to enable LTO can utilize this file, it only covers
> packages from OE-Core, other layers should include there own exclusion
> list for recipe which dont work with LTO
>
> Document the needed changes in local.conf.extended
>
Maybe I missed something but I haven't seen a word why I should want
link time optimization. And from the patches I see here it seems we
are about to create another contributor's burden.

Andreas

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#144406): 
https://lists.openembedded.org/g/openembedded-core/message/144406
Mute This Topic: https://lists.openembedded.org/mt/78125452/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass: Avoid an exception if an empty pkgconfig dir exist

2020-09-01 Thread Andreas Müller
On Tue, Sep 1, 2020 at 6:33 PM Andreas Müller  wrote:
>
> On Wed, Jun 17, 2020 at 3:50 AM Peter Kjellerstedt
>  wrote:
> >
> > This has been integrated to master now (commit f9c5df6d).
> > Please cherry-pick it to Dunfell and Zeus.
> >
> > //Peter
> >
> > > -Original Message-
> > > From: openembedded-core@lists.openembedded.org  > > c...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> > > Sent: den 12 juni 2020 18:26
> > > To: openembedded-core@lists.openembedded.org
> > > Subject: Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass: Avoid
> > > an exception if an empty pkgconfig dir exist
> > >
> > > *ping* *ping* *ping* *ping*
> > >
> > > Ok, it was only two weeks since I pinged this the last time, but
> > > since I'm going on vacation in a week I thought I'd give it a shot
> > > before then. I am still waiting for any kind of reaction to this
> > > patch...
> > >
> > > //Peter
> > >
> > > > -Original Message-
> > > > From: openembedded-core@lists.openembedded.org  > > > c...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> > > > Sent: den 28 maj 2020 03:26
> > > > To: openembedded-core@lists.openembedded.org
> > > > Subject: Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass: Avoid
> > > > an exception if an empty pkgconfig dir exist
> > > >
> > > > *ping* *ping* *ping*
> > > >
> > > > I am not sure why this is being ignored. It is two months since I
> > > > first sent it and the third time I ping it. I have not received any
> > > > objections, yet it has never made it even to master-next as far as
> > > > I know.
> > > >
> > > > This should not be taken as a complaint. I know there has been
> > > > problems with the autobuilder and that patch integration has been
> > > > slowed, and during this time all other patches I have sent have
> > > > been applied on the first try. So it just seems to be this one that
> > > > has been left out, and I would like to know if there is a reason or
> > > > if it just has fallen between the cracks.
> > > >
> > > > //Peter
> > > >
> > > > PS. The patch of course applies to Dunfell now too in addition to
> > > > master and Zeus since it has been released in the meantime.
> > > >
> > > > > -Original Message-
> > > > > From: openembedded-core@lists.openembedded.org  > > > c...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> > > > > Sent: den 25 april 2020 11:17
> > > > > To: openembedded-core@lists.openembedded.org
> > > > > Subject: Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass:
> > > Avoid
> > > > an exception if an empty pkgconfig dir exist
> > > > >
> > > > > *ping again*
> > > > >
> > > > > //Peter
> > > > >
> > > > > > -Original Message-
> > > > > > From: openembedded-core@lists.openembedded.org  > > > c...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> > > > > > Sent: den 3 april 2020 18:24
> > > > > > To: openembedded-core@lists.openembedded.org
> > > > > > Subject: Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass:
> > > > Avoid an exception if an empty pkgconfig dir exist
> > > > > >
> > > > > > *ping*
> > > > > >
> > > > > > //Peter
> > > > > >
> > > > > > > -Original Message-
> > > > > > > From: openembedded-core-boun...@lists.openembedded.org
> > > >  On Behalf Of Peter
> > > > Kjellerstedt
> > > > > > > Sent: den 20 mars 2020 19:04
> > > > > > > To: openembedded-core@lists.openembedded.org
> > > > > > > Subject: [OE-core] [master][zeus][PATCH] relocatable.bbclass:
> > > Avoid
> > > > an exception if an empty pkgconfig dir exist
> > > > > > >
> > > > > > > Rewrite relocatable_native_pcfiles() so that it can handle that
> > > any
> > > > of
> > > > > > > the checked pkgconfig directories are empty without causing an
> > > > > > > exception.
> > > > > > >
> > > > > &

Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass: Avoid an exception if an empty pkgconfig dir exist

2020-09-01 Thread Andreas Müller
On Wed, Jun 17, 2020 at 3:50 AM Peter Kjellerstedt
 wrote:
>
> This has been integrated to master now (commit f9c5df6d).
> Please cherry-pick it to Dunfell and Zeus.
>
> //Peter
>
> > -Original Message-
> > From: openembedded-core@lists.openembedded.org  > c...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> > Sent: den 12 juni 2020 18:26
> > To: openembedded-core@lists.openembedded.org
> > Subject: Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass: Avoid
> > an exception if an empty pkgconfig dir exist
> >
> > *ping* *ping* *ping* *ping*
> >
> > Ok, it was only two weeks since I pinged this the last time, but
> > since I'm going on vacation in a week I thought I'd give it a shot
> > before then. I am still waiting for any kind of reaction to this
> > patch...
> >
> > //Peter
> >
> > > -Original Message-
> > > From: openembedded-core@lists.openembedded.org  > > c...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> > > Sent: den 28 maj 2020 03:26
> > > To: openembedded-core@lists.openembedded.org
> > > Subject: Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass: Avoid
> > > an exception if an empty pkgconfig dir exist
> > >
> > > *ping* *ping* *ping*
> > >
> > > I am not sure why this is being ignored. It is two months since I
> > > first sent it and the third time I ping it. I have not received any
> > > objections, yet it has never made it even to master-next as far as
> > > I know.
> > >
> > > This should not be taken as a complaint. I know there has been
> > > problems with the autobuilder and that patch integration has been
> > > slowed, and during this time all other patches I have sent have
> > > been applied on the first try. So it just seems to be this one that
> > > has been left out, and I would like to know if there is a reason or
> > > if it just has fallen between the cracks.
> > >
> > > //Peter
> > >
> > > PS. The patch of course applies to Dunfell now too in addition to
> > > master and Zeus since it has been released in the meantime.
> > >
> > > > -Original Message-
> > > > From: openembedded-core@lists.openembedded.org  > > c...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> > > > Sent: den 25 april 2020 11:17
> > > > To: openembedded-core@lists.openembedded.org
> > > > Subject: Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass:
> > Avoid
> > > an exception if an empty pkgconfig dir exist
> > > >
> > > > *ping again*
> > > >
> > > > //Peter
> > > >
> > > > > -Original Message-
> > > > > From: openembedded-core@lists.openembedded.org  > > c...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> > > > > Sent: den 3 april 2020 18:24
> > > > > To: openembedded-core@lists.openembedded.org
> > > > > Subject: Re: [OE-core] [master][zeus][PATCH] relocatable.bbclass:
> > > Avoid an exception if an empty pkgconfig dir exist
> > > > >
> > > > > *ping*
> > > > >
> > > > > //Peter
> > > > >
> > > > > > -Original Message-
> > > > > > From: openembedded-core-boun...@lists.openembedded.org
> > >  On Behalf Of Peter
> > > Kjellerstedt
> > > > > > Sent: den 20 mars 2020 19:04
> > > > > > To: openembedded-core@lists.openembedded.org
> > > > > > Subject: [OE-core] [master][zeus][PATCH] relocatable.bbclass:
> > Avoid
> > > an exception if an empty pkgconfig dir exist
> > > > > >
> > > > > > Rewrite relocatable_native_pcfiles() so that it can handle that
> > any
> > > of
> > > > > > the checked pkgconfig directories are empty without causing an
> > > > > > exception.
> > > > > >
> > > > > > Signed-off-by: Peter Kjellerstedt 
> > > > > > ---
> > > > > >  meta/classes/relocatable.bbclass | 20 +++-
> > > > > >  1 file changed, 11 insertions(+), 9 deletions(-)
> > > > > >
> > > > > > diff --git a/meta/classes/relocatable.bbclass
> > > b/meta/classes/relocatable.bbclass
> > > > > > index 582812c1cf..af04be5cca 100644
> > > > > > --- a/meta/classes/relocatable.bbclass
> > > > > > +++ b/meta/classes/relocatable.bbclass
> > > > > > @@ -6,13 +6,15 @@ python relocatable_binaries_preprocess() {
> > > > > >  rpath_replace(d.expand('${SYSROOT_DESTDIR}'), d)
> > > > > >  }
> > > > > >
> > > > > > -relocatable_native_pcfiles () {
> > > > > > - if [ -d ${SYSROOT_DESTDIR}${libdir}/pkgconfig ]; then
> > > > > > - rel=${@os.path.relpath(d.getVar('base_prefix'),
> > > d.getVar('libdir') + "/pkgconfig")}
> > > > > > - sed -i -e "s:${base_prefix}:\${pcfiledir}/$rel:g"
> > > ${SYSROOT_DESTDIR}${libdir}/pkgconfig/*.pc
> > > > > > - fi
> > > > > > - if [ -d ${SYSROOT_DESTDIR}${datadir}/pkgconfig ]; then
> > > > > > - rel=${@os.path.relpath(d.getVar('base_prefix'),
> > > d.getVar('datadir') + "/pkgconfig")}
> > > > > > - sed -i -e "s:${base_prefix}:\${pcfiledir}/$rel:g"
> > > ${SYSROOT_DESTDIR}${datadir}/pkgconfig/*.pc
> > > > > > - fi
> > > > > > +relocatable_native_pcfiles() {
> > > > > > + for dir in ${libdir}/pkgconfig ${datadir}/pkgconfig; do
> > > > > >

Re: [OE-core][dunfell 14/18] core: glib-2.0: fix requested libmount/mkostemp/selinux not being linked in

2020-07-27 Thread Andreas Müller
On Mon, Jul 27, 2020 at 5:10 PM Steve Sakoman  wrote:
>
> From: Ahmad Fatoum 
>
> Since 010202076760 ("meson.bbclass: avoid unexpected operating-system
> names"), meson is no longer used with a cross file that appends the used
> libc to the operating system name, e.g. linux-gnueabi.
>
> Prior to that commit, the host_system == 'linux' checks in glib's meson
> failed, which led to glib being compiled without libmount, mkostemp and
> selinux even if explicitly requested.
>
> As the aforementioned commit affects all recipes built by glib, it might
> not be a candidate for backporting to current stable branches.
If I am not mistaken, the patch
"meson.bbclass: avoid unexpected operating-system names"
made it into dunfell so this patch does not change anything (it should
do no harm either)

Andreas
> To fix just the glib issue, instances of host_system == 'linux' are patched
> locally.
>
> The patch is marked as Upstream-Status: Inappropriate as it is rendered
> unnecessary for OE releases newer than Dunfell.
>
> Signed-off-by: Ahmad Fatoum 
> Signed-off-by: Steve Sakoman 
> ---
>  ...ot-hardcode-linux-as-the-host-system.patch | 49 +++
>  meta/recipes-core/glib-2.0/glib-2.0_2.62.4.bb |  1 +
>  2 files changed, 50 insertions(+)
>  create mode 100644 
> meta/recipes-core/glib-2.0/glib-2.0/0020-meson.build-do-not-hardcode-linux-as-the-host-system.patch
>
> diff --git 
> a/meta/recipes-core/glib-2.0/glib-2.0/0020-meson.build-do-not-hardcode-linux-as-the-host-system.patch
>  
> b/meta/recipes-core/glib-2.0/glib-2.0/0020-meson.build-do-not-hardcode-linux-as-the-host-system.patch
> new file mode 100644
> index 00..616bbd8a7d
> --- /dev/null
> +++ 
> b/meta/recipes-core/glib-2.0/glib-2.0/0020-meson.build-do-not-hardcode-linux-as-the-host-system.patch
> @@ -0,0 +1,49 @@
> +From a300a09661124451d4783d4be66e3993262dc9be Mon Sep 17 00:00:00 2001
> +From: Ahmad Fatoum 
> +Date: Thu, 9 Jul 2020 13:00:16 +0200
> +Subject: [PATCH] meson.build: do not hardcode 'linux' as the host system
> +
> +OE build system can set this to other values that include 'linux',
> +e.g. 'linux-gnueabi'. This led to glib always being built without
> +libmount, mkostemp and selinux support.
> +
> +Upstream-Status: Inappropriate [other]
> +Signed-off-by: Ahmad Fatoum 
> +---
> + meson.build | 6 +++---
> + 1 file changed, 3 insertions(+), 3 deletions(-)
> +
> +diff --git a/meson.build b/meson.build
> +index 3a47a7cc4b98..af09dfc853e5 100644
> +--- a/meson.build
>  b/meson.build
> +@@ -632,7 +632,7 @@ else
> + endif
> + message('Checking whether to use statfs or statvfs .. ' + stat_func_to_use)
> +
> +-if host_system == 'linux'
> ++if host_system.contains('linux')
> +   if cc.has_function('mkostemp',
> +  prefix: '''#define _GNU_SOURCE
> + #include ''')
> +@@ -1857,7 +1857,7 @@ glib_conf.set_quoted('GLIB_LOCALE_DIR', 
> join_paths(glib_datadir, 'locale'))
> + # libmount is only used by gio, but we need to fetch the libs to generate 
> the
> + # pkg-config file below
> + libmount_dep = []
> +-if host_system == 'linux' and get_option('libmount')
> ++if host_system.contains('linux') and get_option('libmount')
> +   libmount_dep = [dependency('mount', version : '>=2.23', required : true)]
> +   glib_conf.set('HAVE_LIBMOUNT', 1)
> + endif
> +@@ -1867,7 +1867,7 @@ if host_system == 'windows'
> + endif
> +
> + selinux_dep = []
> +-if host_system == 'linux'
> ++if host_system.contains('linux')
> +   selinux_dep = dependency('libselinux', required: get_option('selinux'))
> +
> +   glib_conf.set('HAVE_SELINUX', selinux_dep.found())
> +--
> +2.27.0
> +
> diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.62.4.bb 
> b/meta/recipes-core/glib-2.0/glib-2.0_2.62.4.bb
> index d496235003..fd7f5ee920 100644
> --- a/meta/recipes-core/glib-2.0/glib-2.0_2.62.4.bb
> +++ b/meta/recipes-core/glib-2.0/glib-2.0_2.62.4.bb
> @@ -19,6 +19,7 @@ SRC_URI = 
> "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \
> 
> file://0011-GMainContext-Fix-GSource-iterator-if-iteration-can-m.patch \
> 
> file://0012-GMainContext-Fix-memory-leaks-and-memory-corruption-.patch \
> 
> file://0013-GMainContext-Move-mutex-unlocking-in-destructor-righ.patch \
> +   
> file://0020-meson.build-do-not-hardcode-linux-as-the-host-system.patch \
> "
>
>  SRC_URI_append_class-native = " file://relocate-modules.patch"
> --
> 2.17.1
>
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#141007): 
https://lists.openembedded.org/g/openembedded-core/message/141007
Mute This Topic: https://lists.openembedded.org/mt/75824515/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [OE-core] [PATCH 3/3] ccache: upgrade 3.7.9 -> 3.7.10

2020-07-03 Thread Andreas Müller
On Thu, Jul 2, 2020 at 2:47 PM Andreas Müller via
lists.openembedded.org
 wrote:
>
> On Thu, Jul 2, 2020 at 2:00 PM Dmitry Baryshkov  wrote:
> >
> > Hello,
> >
> > вс, 28 июн. 2020 г. в 16:34, Andreas Müller :
> > >
> > > remove SRC_URI[md5sum]
> > >
> > > Signed-off-by: Andreas Müller 
> > > ---
> > >  .../ccache/{ccache_3.7.9.bb => ccache_3.7.10.bb}   | 3 +--
> > >  1 file changed, 1 insertion(+), 2 deletions(-)
> > >  rename meta/recipes-devtools/ccache/{ccache_3.7.9.bb => 
> > > ccache_3.7.10.bb} (86%)
> >
> > This update broke python3 here (see the attached do_compile log).
> > Reverting this patch fixes python compilation.
> >
> > --
> > With best wishes
> > Dmitry
> Will try to reproduce and hope to come up with something helpful
>
> Andreas
Did not understand why it did not fail during my tests. Looking into
some more I found out that I set INHERIT += "ccache" in a build
environment that was not active. So in fact this patch went out
untested and yes now that ccache is active (not only) python3 fails to
build also here.

To make things even worse: From tomorrow on I will be out of reach
from all communication services for two weeks - need some outage

Have opened an issue at [1] - maybe there is support.

The only workaround I can offer currently is a revert of this patch -
what do others think?

Sorry for inconvenience

Andreas
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#140289): 
https://lists.openembedded.org/g/openembedded-core/message/140289
Mute This Topic: https://lists.openembedded.org/mt/75170448/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [OE-core] [PATCH 3/3] ccache: upgrade 3.7.9 -> 3.7.10

2020-07-02 Thread Andreas Müller
On Thu, Jul 2, 2020 at 2:00 PM Dmitry Baryshkov  wrote:
>
> Hello,
>
> вс, 28 июн. 2020 г. в 16:34, Andreas Müller :
> >
> > remove SRC_URI[md5sum]
> >
> > Signed-off-by: Andreas Müller 
> > ---
> >  .../ccache/{ccache_3.7.9.bb => ccache_3.7.10.bb}   | 3 +--
> >  1 file changed, 1 insertion(+), 2 deletions(-)
> >  rename meta/recipes-devtools/ccache/{ccache_3.7.9.bb => ccache_3.7.10.bb} 
> > (86%)
>
> This update broke python3 here (see the attached do_compile log).
> Reverting this patch fixes python compilation.
>
> --
> With best wishes
> Dmitry
Will try to reproduce and hope to come up with something helpful

Andreas
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#140231): 
https://lists.openembedded.org/g/openembedded-core/message/140231
Mute This Topic: https://lists.openembedded.org/mt/75170448/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [OE-core] [PATCH 1/3] nfs-utils: upgrade 2.4.3 -> 2.5.1

2020-06-28 Thread Andreas Müller
On Sun, Jun 28, 2020 at 6:36 PM Konrad Weihmann  wrote:
>
> On 28.06.20 15:34, Andreas Müller wrote:
> > * cacheio was fixed upstream slightly different
> > * nfsdclnts is a python3 script for printing various nfs client information
> >pack it in ${PN}-stats
> > * replace leading spaces by tabs in shell tasks
>
> Is there a technical reason for this?
> AFAIK http://www.openembedded.org/wiki/Styleguide is still valid.
> If not the document should be reworked I guess
There have been some discussions on this from time to time but as far
as I can remember in oe-core  4 spaces for everything except shell
code - there it is tabs. Don't know the document for that.

Andreas
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#140072): 
https://lists.openembedded.org/g/openembedded-core/message/140072
Mute This Topic: https://lists.openembedded.org/mt/75170446/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [PATCH 3/3] ccache: upgrade 3.7.9 -> 3.7.10

2020-06-28 Thread Andreas Müller
remove SRC_URI[md5sum]

Signed-off-by: Andreas Müller 
---
 .../ccache/{ccache_3.7.9.bb => ccache_3.7.10.bb}   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta/recipes-devtools/ccache/{ccache_3.7.9.bb => ccache_3.7.10.bb} (86%)

diff --git a/meta/recipes-devtools/ccache/ccache_3.7.9.bb 
b/meta/recipes-devtools/ccache/ccache_3.7.10.bb
similarity index 86%
rename from meta/recipes-devtools/ccache/ccache_3.7.9.bb
rename to meta/recipes-devtools/ccache/ccache_3.7.10.bb
index e55854bfa8..852583dfd2 100644
--- a/meta/recipes-devtools/ccache/ccache_3.7.9.bb
+++ b/meta/recipes-devtools/ccache/ccache_3.7.10.bb
@@ -12,8 +12,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.adoc;md5=22d514dbc01fdf9a9784334b6b59417a"
 DEPENDS = "zlib"
 
 SRC_URI = 
"https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz";
-SRC_URI[md5sum] = "a4a38afc62ed189904357739fd8f3fb8"
-SRC_URI[sha256sum] = 
"92838e2133c9e704fdab9ee2608dad86c99021278b9ac47d065aa8ff2ea8ce36"
+SRC_URI[sha256sum] = 
"447ddf21a5f0ffa6b6d26839ae876a6d17d0d7e3533926cdf78ecd11dad793f8"
 
 UPSTREAM_CHECK_URI = "https://github.com/ccache/ccache/releases/";
 
-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#140065): 
https://lists.openembedded.org/g/openembedded-core/message/140065
Mute This Topic: https://lists.openembedded.org/mt/75170448/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [PATCH 2/3] ccache: merge ccache.inc into recipe

2020-06-28 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 meta/recipes-devtools/ccache/ccache.inc  | 28 
 meta/recipes-devtools/ccache/ccache_3.7.9.bb | 28 +++-
 2 files changed, 27 insertions(+), 29 deletions(-)
 delete mode 100644 meta/recipes-devtools/ccache/ccache.inc

diff --git a/meta/recipes-devtools/ccache/ccache.inc 
b/meta/recipes-devtools/ccache/ccache.inc
deleted file mode 100644
index dcbbf0ca7a..00
--- a/meta/recipes-devtools/ccache/ccache.inc
+++ /dev/null
@@ -1,28 +0,0 @@
-SUMMARY = "a fast C/C++ compiler cache"
-DESCRIPTION = "ccache is a compiler cache. It speeds up recompilation \
-by caching the result of previous compilations and detecting when the \
-same compilation is being done again. Supported languages are C, C\+\+, \
-Objective-C and Objective-C++."
-HOMEPAGE = "http://ccache.samba.org";
-SECTION = "devel"
-LICENSE = "GPLv3+"
-
-DEPENDS = "zlib"
-
-SRC_URI = 
"https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz";
-UPSTREAM_CHECK_URI = "https://github.com/ccache/ccache/releases/";
-
-inherit autotools
-
-# Remove ccache-native's dependencies, so that it can be used widely by
-# other native recipes.
-DEPENDS_class-native = ""
-EXTRA_OECONF_class-native = "--with-bundled-zlib"
-INHIBIT_AUTOTOOLS_DEPS_class-native = "1"
-PATCHTOOL = "patch"
-
-BBCLASSEXTEND = "native"
-
-do_configure_class-native() {
-oe_runconf
-}
diff --git a/meta/recipes-devtools/ccache/ccache_3.7.9.bb 
b/meta/recipes-devtools/ccache/ccache_3.7.9.bb
index a4de6c9fe1..e55854bfa8 100644
--- a/meta/recipes-devtools/ccache/ccache_3.7.9.bb
+++ b/meta/recipes-devtools/ccache/ccache_3.7.9.bb
@@ -1,7 +1,33 @@
-require ccache.inc
+SUMMARY = "a fast C/C++ compiler cache"
+DESCRIPTION = "ccache is a compiler cache. It speeds up recompilation \
+by caching the result of previous compilations and detecting when the \
+same compilation is being done again. Supported languages are C, C\+\+, \
+Objective-C and Objective-C++."
+HOMEPAGE = "http://ccache.samba.org";
+SECTION = "devel"
 
 LICENSE = "GPLv3+"
 LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=22d514dbc01fdf9a9784334b6b59417a"
 
+DEPENDS = "zlib"
+
+SRC_URI = 
"https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz";
 SRC_URI[md5sum] = "a4a38afc62ed189904357739fd8f3fb8"
 SRC_URI[sha256sum] = 
"92838e2133c9e704fdab9ee2608dad86c99021278b9ac47d065aa8ff2ea8ce36"
+
+UPSTREAM_CHECK_URI = "https://github.com/ccache/ccache/releases/";
+
+inherit autotools
+
+# Remove ccache-native's dependencies, so that it can be used widely by
+# other native recipes.
+DEPENDS_class-native = ""
+EXTRA_OECONF_class-native = "--with-bundled-zlib"
+INHIBIT_AUTOTOOLS_DEPS_class-native = "1"
+PATCHTOOL = "patch"
+
+BBCLASSEXTEND = "native"
+
+do_configure_class-native() {
+oe_runconf
+}
-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#140064): 
https://lists.openembedded.org/g/openembedded-core/message/140064
Mute This Topic: https://lists.openembedded.org/mt/75170447/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [PATCH 1/3] nfs-utils: upgrade 2.4.3 -> 2.5.1

2020-06-28 Thread Andreas Müller
* cacheio was fixed upstream slightly different
* nfsdclnts is a python3 script for printing various nfs client information
  pack it in ${PN}-stats
* replace leading spaces by tabs in shell tasks
* remove SRC_URI[md5sum]

Signed-off-by: Andreas Müller 
---
 ...acheio-use-intmax_t-for-formatted-IO.patch | 38 ---
 ...{nfs-utils_2.4.3.bb => nfs-utils_2.5.1.bb} | 21 +-
 2 files changed, 9 insertions(+), 50 deletions(-)
 delete mode 100644 
meta/recipes-connectivity/nfs-utils/nfs-utils/0001-cacheio-use-intmax_t-for-formatted-IO.patch
 rename meta/recipes-connectivity/nfs-utils/{nfs-utils_2.4.3.bb => 
nfs-utils_2.5.1.bb} (86%)

diff --git 
a/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-cacheio-use-intmax_t-for-formatted-IO.patch
 
b/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-cacheio-use-intmax_t-for-formatted-IO.patch
deleted file mode 100644
index bafff5b9c0..00
--- 
a/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-cacheio-use-intmax_t-for-formatted-IO.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From ac32b813f5d6f9a2de944015cf9bb98d68e0203a Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Sat, 1 Dec 2018 10:02:12 -0800
-Subject: [PATCH] cacheio: use intmax_t for formatted IO
-
-time_t is not same size on x32 ABI (ILP32)
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj 

- support/nfs/cacheio.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/support/nfs/cacheio.c b/support/nfs/cacheio.c
-index 9dc4cf1..2086a95 100644
 a/support/nfs/cacheio.c
-+++ b/support/nfs/cacheio.c
-@@ -17,6 +17,7 @@
- 
- #include 
- #include 
-+#include 
- #include 
- #include 
- #include 
-@@ -234,7 +235,7 @@ cache_flush(int force)
-   stb.st_mtime > now)
-   stb.st_mtime = time(0);
-   
--  sprintf(stime, "%ld\n", stb.st_mtime);
-+  sprintf(stime, "%jd\n", (intmax_t)stb.st_mtime);
-   for (c=0; cachelist[c]; c++) {
-   int fd;
-   sprintf(path, "/proc/net/rpc/%s/flush", cachelist[c]);
--- 
-2.19.2
-
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.4.3.bb 
b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.5.1.bb
similarity index 86%
rename from meta/recipes-connectivity/nfs-utils/nfs-utils_2.4.3.bb
rename to meta/recipes-connectivity/nfs-utils/nfs-utils_2.5.1.bb
index 9bdb6f4ae4..188a8893b4 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.4.3.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.5.1.bb
@@ -28,12 +28,10 @@ SRC_URI = 
"${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.x
file://proc-fs-nfsd.mount \
file://nfs-utils-debianize-start-statd.patch \
file://bugfix-adjust-statd-service-name.patch \
-   file://0001-cacheio-use-intmax_t-for-formatted-IO.patch \
file://0001-Makefile.am-fix-undefined-function-for-libnsm.a.patch \
file://clang-warnings.patch \
"
-SRC_URI[md5sum] = "06020c76f531ed97f3145514901e0e7c"
-SRC_URI[sha256sum] = 
"af65fce5dd8370cff9ead67baac5a6cd69c376dcadfef264dc2c78c904f26599"
+SRC_URI[sha256sum] = 
"0f1c8170e16a07d9836bbf0836d48d0c842b6f0e0e8b18748f099751851d30c4"
 
 # Only kernel-module-nfsd is required here (but can be built-in)  - the nfsd 
module will
 # pull in the remainder of the dependencies.
@@ -91,7 +89,7 @@ RDEPENDS_${PN}-client = "${PN}-mount rpcbind"
 
 FILES_${PN}-mount = "${base_sbindir}/*mount.nfs*"
 
-FILES_${PN}-stats = "${sbindir}/mountstats ${sbindir}/nfsiostat"
+FILES_${PN}-stats = "${sbindir}/mountstats ${sbindir}/nfsiostat 
${sbindir}/nfsdclnts"
 RDEPENDS_${PN}-stats = "python3-core"
 
 FILES_${PN}-staticdev += "${libdir}/libnfsidmap/*.a"
@@ -99,8 +97,8 @@ FILES_${PN}-staticdev += "${libdir}/libnfsidmap/*.a"
 FILES_${PN} += "${systemd_unitdir} ${libdir}/libnfsidmap/"
 
 do_configure_prepend() {
-sed -i -e 's,sbindir = /sbin,sbindir = ${base_sbindir},g' \
-${S}/utils/mount/Makefile.am
+   sed -i -e 's,sbindir = /sbin,sbindir = ${base_sbindir},g' \
+   ${S}/utils/mount/Makefile.am
 }
 
 # Make clean needed because the package comes with
@@ -129,9 +127,9 @@ do_install_append () {
-e 's,@HIGH_RLIMIT_NOFILE@,${HIGH_RLIMIT_NOFILE},g' \
${D}${systemd_unitdir}/system/*.service
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; 
then
-   install -m 0644 ${WORKDIR}/proc-fs-nfsd.mount 
${D}${systemd_unitdir}/system/
-   install -d ${D}${systemd_unitdir}/system/sysinit.target.wants/
-   ln -sf ../proc-fs-nfsd.mount 
${D}${systemd_unitdir}/system/sysinit.target.wants/proc-fs-nfsd.mount
+   install -m 0644 ${WORKDIR}/proc-fs-nfsd.mount 
${D}${systemd_unitdir}/system/
+ 

Re: [OE-core] [PATCH][dunfell] u-boot: introduce UBOOT_INITIAL_ENV

2020-06-24 Thread Andreas Müller
On Thu, Jun 18, 2020 at 5:19 PM Andreas Müller  wrote:
>
> From: Ming Liu 
>
> It defaults to ${PN}-initial-env, no functional changes with current
> implementation, but this allows it to be changed in individual u-boot
> recipes.
>
> If UBOOT_INITIAL_ENV is empty, then no initial env would be compiled/
> installed/deployed, set ALLOW_EMPTY_${PN}-env = "1".
>
> The major purpose for introducing this, is that the users might have
> some scripts on targets like:
> ```
> /sbin/fw_setenv -f /etc/u-boot-initial-env
> ```
>
> and it should be able to run against a identical path generated by
> different u-boot recipes.
>
> Signed-off-by: Ming Liu 
> Signed-off-by: Richard Purdie 
> (cherry picked from commit fb7e8b6b88855f3f523b2176ea2c85a330bfe00b)
I'd like to do a little advertisement for this. This patch:

* is mandatory to build older versions of u-boot. They do not support
make target u-boot-initial-env and are buildable only by setting
UBOOT_INITIAL_ENV="" introduced by this patch.
* does not introduce functional change when keeping UBOOT_INITIAL_ENV untouched.

Regards

Andreas
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139902): 
https://lists.openembedded.org/g/openembedded-core/message/139902
Mute This Topic: https://lists.openembedded.org/mt/74960680/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [PATCH 2/5] sqlite3: upgrade 3.32.2 -> 3.32.3

2020-06-22 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 .../sqlite/{sqlite3_3.32.2.bb => sqlite3_3.32.3.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/sqlite/{sqlite3_3.32.2.bb => sqlite3_3.32.3.bb} 
(68%)

diff --git a/meta/recipes-support/sqlite/sqlite3_3.32.2.bb 
b/meta/recipes-support/sqlite/sqlite3_3.32.3.bb
similarity index 68%
rename from meta/recipes-support/sqlite/sqlite3_3.32.2.bb
rename to meta/recipes-support/sqlite/sqlite3_3.32.3.bb
index 8de74aa221..1d4e8d4772 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.32.2.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.32.3.bb
@@ -4,8 +4,8 @@ LICENSE = "PD"
 LIC_FILES_CHKSUM = 
"file://sqlite3.h;endline=11;md5=786d3dc581eff03f4fd9e4a77ed00c66"
 
 SRC_URI = "http://www.sqlite.org/2020/sqlite-autoconf-${SQLITE_PV}.tar.gz";
-SRC_URI[md5sum] = "eb498918a33159cdf8104997aad29e83"
-SRC_URI[sha256sum] = 
"2dbef1254c1dbeeb5d13d7722d37e633f18ccbba689806b0a65b68701a5b6084"
+SRC_URI[md5sum] = "2e3911a3c15e85c2f2d040154bbe5ce3"
+SRC_URI[sha256sum] = 
"a31507123c1c2e3a210afec19525fd7b5bb1e19a6a34ae5b998fbd7302568b66"
 
 # -19242 is only an issue in specific development branch commits
 CVE_CHECK_WHITELIST += "CVE-2019-19242"
-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139803): 
https://lists.openembedded.org/g/openembedded-core/message/139803
Mute This Topic: https://lists.openembedded.org/mt/75049402/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [PATCH 1/5] libinput: upgrade 1.15.5 -> 1.15.6

2020-06-22 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 .../wayland/{libinput_1.15.5.bb => libinput_1.15.6.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/wayland/{libinput_1.15.5.bb => 
libinput_1.15.6.bb} (92%)

diff --git a/meta/recipes-graphics/wayland/libinput_1.15.5.bb 
b/meta/recipes-graphics/wayland/libinput_1.15.6.bb
similarity index 92%
rename from meta/recipes-graphics/wayland/libinput_1.15.5.bb
rename to meta/recipes-graphics/wayland/libinput_1.15.6.bb
index e56f181bf5..f81cf7f031 100644
--- a/meta/recipes-graphics/wayland/libinput_1.15.5.bb
+++ b/meta/recipes-graphics/wayland/libinput_1.15.6.bb
@@ -16,8 +16,8 @@ SRC_URI = 
"http://www.freedesktop.org/software/${BPN}/${BP}.tar.xz \
file://run-ptest \
file://determinism.patch \
"
-SRC_URI[md5sum] = "c9a1b15bb932eaf22f840efe4c3f84eb"
-SRC_URI[sha256sum] = 
"a90efc8f423c3094f2f9f372fb92381b2f3aad62e8b5882a8abe333aa8249c97"
+SRC_URI[md5sum] = "b2388a1d6f0dcc944b49bc7239a53be8"
+SRC_URI[sha256sum] = 
"aeedea216a6317ddc6e27c3d54f26b987078780db6a8320cc09e19c25b307f1c"
 
 UPSTREAM_CHECK_REGEX = "libinput-(?P\d+\.\d+\.(?!9\d+)\d+)"
 
-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139802): 
https://lists.openembedded.org/g/openembedded-core/message/139802
Mute This Topic: https://lists.openembedded.org/mt/75049400/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [PATCH 3/5] desktop-file-utils: upgrade 0.24 -> 0.26

2020-06-22 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 ...{desktop-file-utils_0.24.bb => desktop-file-utils_0.26.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/desktop-file-utils/{desktop-file-utils_0.24.bb => 
desktop-file-utils_0.26.bb} (81%)

diff --git 
a/meta/recipes-devtools/desktop-file-utils/desktop-file-utils_0.24.bb 
b/meta/recipes-devtools/desktop-file-utils/desktop-file-utils_0.26.bb
similarity index 81%
rename from meta/recipes-devtools/desktop-file-utils/desktop-file-utils_0.24.bb
rename to meta/recipes-devtools/desktop-file-utils/desktop-file-utils_0.26.bb
index aecba07235..90c265aed9 100644
--- a/meta/recipes-devtools/desktop-file-utils/desktop-file-utils_0.24.bb
+++ b/meta/recipes-devtools/desktop-file-utils/desktop-file-utils_0.26.bb
@@ -7,8 +7,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 
file://src/validator.c;beginline=4;endline=27;md5=281e1114ee6c486a1a0a4295986b9416"
 
 SRC_URI = "http://freedesktop.org/software/${BPN}/releases/${BP}.tar.xz";
-SRC_URI[md5sum] = "9364b82e14cfcad881161aa7ea5257ae"
-SRC_URI[sha256sum] = 
"a1de5da60cbdbe91e5c9c10ac9afee6c3deb019e0cee5fdb9a99dddc245f83d9"
+SRC_URI[md5sum] = "29739e005f5887cf41639b8450f3c23f"
+SRC_URI[sha256sum] = 
"b26dbde79ea72c8c84fb7f9d870ffd857381d049a86d25e0038c4cef4c747309"
 
 DEPENDS = "glib-2.0"
 
-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139804): 
https://lists.openembedded.org/g/openembedded-core/message/139804
Mute This Topic: https://lists.openembedded.org/mt/75049404/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [PATCH 4/5] file: upgrade 5.38 -> 5.39

2020-06-22 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 meta/recipes-devtools/file/{file_5.38.bb => file_5.39.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/file/{file_5.38.bb => file_5.39.bb} (96%)

diff --git a/meta/recipes-devtools/file/file_5.38.bb 
b/meta/recipes-devtools/file/file_5.39.bb
similarity index 96%
rename from meta/recipes-devtools/file/file_5.38.bb
rename to meta/recipes-devtools/file/file_5.39.bb
index 48cf8ab549..0dcc90548a 100644
--- a/meta/recipes-devtools/file/file_5.38.bb
+++ b/meta/recipes-devtools/file/file_5.39.bb
@@ -13,7 +13,7 @@ DEPENDS_class-native = "bzip2-replacement-native"
 
 SRC_URI = "git://github.com/file/file.git"
 
-SRCREV = "ec41083645689a787cdd00cb3b5bf578aa79e46c"
+SRCREV = "87731415de945660b00f02207d8e9d986ef9b82e"
 S = "${WORKDIR}/git"
 
 inherit autotools update-alternatives
-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139805): 
https://lists.openembedded.org/g/openembedded-core/message/139805
Mute This Topic: https://lists.openembedded.org/mt/75049405/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [PATCH 5/5] ffmpeg: upgrade 4.2.3 -> 4.3

2020-06-22 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 .../ffmpeg/{ffmpeg_4.2.3.bb => ffmpeg_4.3.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-multimedia/ffmpeg/{ffmpeg_4.2.3.bb => ffmpeg_4.3.bb} (98%)

diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.2.3.bb 
b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.3.bb
similarity index 98%
rename from meta/recipes-multimedia/ffmpeg/ffmpeg_4.2.3.bb
rename to meta/recipes-multimedia/ffmpeg/ffmpeg_4.3.bb
index e837a05d47..2b0c38d782 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.2.3.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.3.bb
@@ -26,7 +26,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \
file://mips64_cpu_detection.patch \
"
-SRC_URI[sha256sum] = 
"9df6c90aed1337634c1fb026fb01c154c29c82a64ea71291ff2da9aacb9aad31"
+SRC_URI[sha256sum] = 
"1d0ad06484f44bcb97eba5e93c40bcb893890f9f64aeb43e46cd9bb4cbd6795d"
 
 # Build fails when thumb is enabled: 
https://bugzilla.yoctoproject.org/show_bug.cgi?id=7717
 ARM_INSTRUCTION_SET_armv4 = "arm"
-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139806): 
https://lists.openembedded.org/g/openembedded-core/message/139806
Mute This Topic: https://lists.openembedded.org/mt/75049406/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [PATCH V2] boost: Add upstream patch to fix build on depending projects

2020-06-20 Thread Andreas Müller
KDE's krita failed with:
| error: 'typedef void boost::static_visitor::result_type' is 
inaccessible within this context

Note that only boost 0.173 is affected. 0.172 (dunfell) does not have this
problem and the patch will be included in upcoming 0.174.

Signed-off-by: Andreas Müller 
---
 ...l-rtree-visitors-insert-base-class-p.patch | 30 +++
 meta/recipes-support/boost/boost_1.73.0.bb|  1 +
 2 files changed, 31 insertions(+)
 create mode 100644 
meta/recipes-support/boost/boost/0001-Make-index-detail-rtree-visitors-insert-base-class-p.patch

diff --git 
a/meta/recipes-support/boost/boost/0001-Make-index-detail-rtree-visitors-insert-base-class-p.patch
 
b/meta/recipes-support/boost/boost/0001-Make-index-detail-rtree-visitors-insert-base-class-p.patch
new file mode 100644
index 00..fb31823dd4
--- /dev/null
+++ 
b/meta/recipes-support/boost/boost/0001-Make-index-detail-rtree-visitors-insert-base-class-p.patch
@@ -0,0 +1,30 @@
+From aafbceccc76dccb75963dd4f596fd1f10ee34b03 Mon Sep 17 00:00:00 2001
+From: Jonathan Wakely 
+Date: Fri, 5 Jun 2020 19:29:27 +0100
+Subject: [PATCH] Make index::detail::rtree::visitors::insert base class public
+
+Fixes #721
+
+Upstream-Status: Accepted 
[https://github.com/boostorg/geometry/commit/aafbceccc76dccb75963dd4f596fd1f10ee34b03]
+
+Signed-off-by: Andreas Müller 
+---
+ boost/geometry/index/detail/rtree/visitors/insert.hpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/boost/geometry/index/detail/rtree/visitors/insert.hpp 
b/boost/geometry/index/detail/rtree/visitors/insert.hpp
+index 2d324cb7f..5709a930c 100644
+--- a/boost/geometry/index/detail/rtree/visitors/insert.hpp
 b/boost/geometry/index/detail/rtree/visitors/insert.hpp
+@@ -265,7 +265,7 @@ struct insert_traverse_data
+ // Default insert visitor
+ template 
+ class insert
+-: MembersHolder::visitor
++: public MembersHolder::visitor
+ {
+ protected:
+ typedef typename MembersHolder::box_type box_type;
+-- 
+2.26.2
+
diff --git a/meta/recipes-support/boost/boost_1.73.0.bb 
b/meta/recipes-support/boost/boost_1.73.0.bb
index 5e9e0d87d7..995c14e8cc 100644
--- a/meta/recipes-support/boost/boost_1.73.0.bb
+++ b/meta/recipes-support/boost/boost_1.73.0.bb
@@ -7,4 +7,5 @@ SRC_URI += "file://arm-intrinsics.patch \
file://0001-Apply-boost-1.62.0-no-forced-flags.patch.patch \

file://0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch \
file://0001-dont-setup-compiler-flags-m32-m64.patch \
+   
file://0001-Make-index-detail-rtree-visitors-insert-base-class-p.patch \
"
-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139721): 
https://lists.openembedded.org/g/openembedded-core/message/139721
Mute This Topic: https://lists.openembedded.org/mt/75007607/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [PATCH] boost: Add upstream patch to fix build on depending projects

2020-06-20 Thread Andreas Müller
KDE's krita failed with:
| error: 'typedef void boost::static_visitor::result_type' is 
inaccessible within this context

Note that only boost 0.173 is affected. 0.172 (dunfell) does not have this
problem and the patch will be included in upcoming 0.174.

Signed-off-by: Andreas Müller 
---
 ...l-rtree-visitors-insert-base-class-p.patch | 30 +++
 meta/recipes-support/boost/boost_1.73.0.bb|  1 +
 2 files changed, 31 insertions(+)
 create mode 100644 
meta/recipes-support/boost/boost/0001-Make-index-detail-rtree-visitors-insert-base-class-p.patch

diff --git 
a/meta/recipes-support/boost/boost/0001-Make-index-detail-rtree-visitors-insert-base-class-p.patch
 
b/meta/recipes-support/boost/boost/0001-Make-index-detail-rtree-visitors-insert-base-class-p.patch
new file mode 100644
index 00..80f9f6f9ca
--- /dev/null
+++ 
b/meta/recipes-support/boost/boost/0001-Make-index-detail-rtree-visitors-insert-base-class-p.patch
@@ -0,0 +1,30 @@
+From aafbceccc76dccb75963dd4f596fd1f10ee34b03 Mon Sep 17 00:00:00 2001
+From: Jonathan Wakely 
+Date: Fri, 5 Jun 2020 19:29:27 +0100
+Subject: [PATCH] Make index::detail::rtree::visitors::insert base class public
+
+Fixes #721
+
+Upstream-Status: 
Applied[https://github.com/boostorg/geometry/commit/aafbceccc76dccb75963dd4f596fd1f10ee34b03]
+
+Signed-off-by: Andreas Müller 
+---
+ boost/geometry/index/detail/rtree/visitors/insert.hpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/boost/geometry/index/detail/rtree/visitors/insert.hpp 
b/boost/geometry/index/detail/rtree/visitors/insert.hpp
+index 2d324cb7f..5709a930c 100644
+--- a/boost/geometry/index/detail/rtree/visitors/insert.hpp
 b/boost/geometry/index/detail/rtree/visitors/insert.hpp
+@@ -265,7 +265,7 @@ struct insert_traverse_data
+ // Default insert visitor
+ template 
+ class insert
+-: MembersHolder::visitor
++: public MembersHolder::visitor
+ {
+ protected:
+ typedef typename MembersHolder::box_type box_type;
+-- 
+2.26.2
+
diff --git a/meta/recipes-support/boost/boost_1.73.0.bb 
b/meta/recipes-support/boost/boost_1.73.0.bb
index 5e9e0d87d7..995c14e8cc 100644
--- a/meta/recipes-support/boost/boost_1.73.0.bb
+++ b/meta/recipes-support/boost/boost_1.73.0.bb
@@ -7,4 +7,5 @@ SRC_URI += "file://arm-intrinsics.patch \
file://0001-Apply-boost-1.62.0-no-forced-flags.patch.patch \

file://0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch \
file://0001-dont-setup-compiler-flags-m32-m64.patch \
+   
file://0001-Make-index-detail-rtree-visitors-insert-base-class-p.patch \
"
-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139719): 
https://lists.openembedded.org/g/openembedded-core/message/139719
Mute This Topic: https://lists.openembedded.org/mt/75006508/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [OE-core] [V3][PATCH] mime.bbclass: fix post install scriptlet error

2020-06-19 Thread Andreas Müller
On Fri, Jun 19, 2020 at 11:13 AM Changqing Li
 wrote:
>
> From: Changqing Li 
>
> fix error during post uninstall:
> %postun(shared-mime-info-data-2.0-r0.4.corei7_64): execv(/bin/sh) pid 78
> + '[' 0 = 0 ']'
> + set -e
> + '[' x '!=' x ']'
> + echo 'Updating MIME database... this may take a while.'
> Updating MIME database... this may take a while.
> + update-mime-database /usr/share/mime
> Directory '/usr/share/mime/packages' does not exist!
> %postun(shared-mime-info-data-2.0-r0.4.corei7_64): waitpid(78) rc 78 status 
> 100
> warning: %postun(shared-mime-info-data-2.0-r0.4.corei7_64) scriptlet failed, 
> exit status 1
>
> when run post uninstall scriptlet, /usr/share/mime/packages has been
> removed during unintall, while update-mime-database will check xml under
> /usr/share/mime/packages.
>
> workaround by create this dir before update, then remove it
>
> Signed-off-by: Changqing Li 
> ---
>  meta/classes/mime.bbclass | 13 -
>  1 file changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/meta/classes/mime.bbclass b/meta/classes/mime.bbclass
> index c9072adf3b..bb99bc35cb 100644
> --- a/meta/classes/mime.bbclass
> +++ b/meta/classes/mime.bbclass
> @@ -24,7 +24,18 @@ if [ "x$D" != "x" ]; then
> mimedir=${MIMEDIR}
>  else
> echo "Updating MIME database... this may take a while."
> -   update-mime-database $D${MIMEDIR}
> +   # $D${MIMEDIR}/packages belong to package shared-mime-info-data,
> +   # packages like libfm-mime depend on shared-mime-info-data.
> +   # after shared-mime-info-data uninstalled, $D${MIMEDIR}/packages
> +   # is removed, but update-mime-database need this dir to update
> +   # database, workaround to create one and remove it later
> +   if [ ! -d $D${MIMEDIR}/packages ]; then
> +   mkdir -p $D${MIMEDIR}/packages
> +   update-mime-database $D${MIMEDIR}
> +   rmdir --ignore-fail-on-non-empty $D${MIMEDIR}/packages
> +   else
> +   update-mime-database $D${MIMEDIR}
> +fi
>  fi
>  }
>
> --
> 2.17.1
>
Looks good to me now

Andreas
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139688): 
https://lists.openembedded.org/g/openembedded-core/message/139688
Mute This Topic: https://lists.openembedded.org/mt/74976075/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [OE-core][dunfell 00/21] Patch review - gcc 10 build support

2020-06-18 Thread Andreas Müller
On Thu, Jun 18, 2020 at 5:41 PM Steve Sakoman  wrote:
>
> This set of patches consists only of patches related to supporting builds
> on distros using gcc 10. All patches are cherry-picked
> from master except
The ones which caused trouble for me are included.
> for "u-boot-tools: backport patch from upstream to fix gcc 10 builds"
Did not find this one. Helped myself by cherry-picking upgrade to
2020.04 - but this is definitely the better choice.

Can't wait to see it applied - Thanks!

Andreas
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139671): 
https://lists.openembedded.org/g/openembedded-core/message/139671
Mute This Topic: https://lists.openembedded.org/mt/74961193/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [PATCH][dunfell] u-boot: introduce UBOOT_INITIAL_ENV

2020-06-18 Thread Andreas Müller
From: Ming Liu 

It defaults to ${PN}-initial-env, no functional changes with current
implementation, but this allows it to be changed in individual u-boot
recipes.

If UBOOT_INITIAL_ENV is empty, then no initial env would be compiled/
installed/deployed, set ALLOW_EMPTY_${PN}-env = "1".

The major purpose for introducing this, is that the users might have
some scripts on targets like:
```
/sbin/fw_setenv -f /etc/u-boot-initial-env
```

and it should be able to run against a identical path generated by
different u-boot recipes.

Signed-off-by: Ming Liu 
Signed-off-by: Richard Purdie 
(cherry picked from commit fb7e8b6b88855f3f523b2176ea2c85a330bfe00b)
---
 meta/recipes-bsp/u-boot/u-boot.inc | 55 +++---
 1 file changed, 36 insertions(+), 19 deletions(-)

diff --git a/meta/recipes-bsp/u-boot/u-boot.inc 
b/meta/recipes-bsp/u-boot/u-boot.inc
index 80f828df52..cbe15cb3c8 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -60,6 +60,10 @@ UBOOT_ENV_BINARY ?= "${UBOOT_ENV}.${UBOOT_ENV_SUFFIX}"
 UBOOT_ENV_IMAGE ?= "${UBOOT_ENV}-${MACHINE}-${PV}-${PR}.${UBOOT_ENV_SUFFIX}"
 UBOOT_ENV_SYMLINK ?= "${UBOOT_ENV}-${MACHINE}.${UBOOT_ENV_SUFFIX}"
 
+# Default name of u-boot initial env, but enable individual recipes to change
+# this value.
+UBOOT_INITIAL_ENV ?= "${PN}-initial-env"
+
 # U-Boot EXTLINUX variables. U-Boot searches for /boot/extlinux/extlinux.conf
 # to find EXTLINUX conf file.
 UBOOT_EXTLINUX_INSTALL_DIR ?= "/boot/extlinux"
@@ -124,8 +128,10 @@ do_compile () {
 done
 
 # Generate the uboot-initial-env
-oe_runmake -C ${S} O=${B}/${config} u-boot-initial-env
-cp ${B}/${config}/u-boot-initial-env 
${B}/${config}/u-boot-initial-env-${type}
+if [ -n "${UBOOT_INITIAL_ENV}" ]; then
+oe_runmake -C ${S} O=${B}/${config} u-boot-initial-env
+cp ${B}/${config}/u-boot-initial-env 
${B}/${config}/u-boot-initial-env-${type}
+fi
 
 unset k
 fi
@@ -137,7 +143,9 @@ do_compile () {
 oe_runmake -C ${S} O=${B} ${UBOOT_MAKE_TARGET}
 
 # Generate the uboot-initial-env
-oe_runmake -C ${S} O=${B} u-boot-initial-env
+if [ -n "${UBOOT_INITIAL_ENV}" ]; then
+oe_runmake -C ${S} O=${B} u-boot-initial-env
+fi
 fi
 
 }
@@ -156,10 +164,12 @@ do_install () {
 ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} 
${D}/boot/${UBOOT_BINARY}
 
 # Install the uboot-initial-env
-install -D -m 644 
${B}/${config}/u-boot-initial-env-${type} 
${D}/${sysconfdir}/${PN}-initial-env-${MACHINE}-${type}-${PV}-${PR}
-ln -sf ${PN}-initial-env-${MACHINE}-${type}-${PV}-${PR} 
${D}/${sysconfdir}/${PN}-initial-env-${MACHINE}-${type}
-ln -sf ${PN}-initial-env-${MACHINE}-${type}-${PV}-${PR} 
${D}/${sysconfdir}/${PN}-initial-env-${type}
-ln -sf ${PN}-initial-env-${MACHINE}-${type}-${PV}-${PR} 
${D}/${sysconfdir}/${PN}-initial-env
+if [ -n "${UBOOT_INITIAL_ENV}" ]; then
+install -D -m 644 
${B}/${config}/u-boot-initial-env-${type} 
${D}/${sysconfdir}/${UBOOT_INITIAL_ENV}-${MACHINE}-${type}-${PV}-${PR}
+ln -sf 
${UBOOT_INITIAL_ENV}-${MACHINE}-${type}-${PV}-${PR} 
${D}/${sysconfdir}/${UBOOT_INITIAL_ENV}-${MACHINE}-${type}
+ln -sf 
${UBOOT_INITIAL_ENV}-${MACHINE}-${type}-${PV}-${PR} 
${D}/${sysconfdir}/${UBOOT_INITIAL_ENV}-${type}
+ln -sf 
${UBOOT_INITIAL_ENV}-${MACHINE}-${type}-${PV}-${PR} 
${D}/${sysconfdir}/${UBOOT_INITIAL_ENV}
+fi
 fi
 done
 unset  j
@@ -170,9 +180,11 @@ do_install () {
 ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
 
 # Install the uboot-initial-env
-install -D -m 644 ${B}/u-boot-initial-env 
${D}/${sysconfdir}/${PN}-initial-env-${MACHINE}-${PV}-${PR}
-ln -sf ${PN}-initial-env-${MACHINE}-${PV}-${PR} 
${D}/${sysconfdir}/${PN}-initial-env-${MACHINE}
-ln -sf ${PN}-initial-env-${MACHINE}-${PV}-${PR} 
${D}/${sysconfdir}/${PN}-initial-env
+if [ -n "${UBOOT_INITIAL_ENV}" ]; then
+install -D -m 644 ${B}/u-boot-initial-env 
${D}/${sysconfdir}/${UBOOT_INITIAL_ENV}-${MACHINE}-${PV}-${PR}
+ln -sf ${UBOOT_INITIAL_ENV}-${MACHINE}-${PV}-${PR} 
${D}/${sysconfdir}/${UBOOT_INITIAL_ENV}-${MACHINE}
+ln -sf ${UBOOT_INITIAL_ENV}-${MACHINE}-${PV}-${PR} 
${D}/${sysconfdir}/${UBOOT_INITIAL_ENV}
+fi
 fi
 
 if [ -n "${UBOOT_ELF}" ]
@@ -244,8 +256,9 @@ do_install () {
 PACKAGE_BEFORE_PN += "${PN}-env"
 
 RPROVIDES_${PN}-env += "u-boot-default-env"
+ALLOW_EMPTY_${PN}-env = "1"
 FILES_${PN}-env = " \
-${sysconfdir}/${PN}-initial-env* \
+${@ '${sysconfdir}/${UBOOT_

Re: [OE-core] [V2][PATCH] mime.bbclass: fix post install scriptlet error

2020-06-17 Thread Andreas Müller
On Thu, Jun 18, 2020 at 3:16 AM Changqing Li  wrote:
>
> From: Changqing Li 
>
> fix error during post uninstall:
> %postun(shared-mime-info-data-2.0-r0.4.corei7_64): execv(/bin/sh) pid 78
> + '[' 0 = 0 ']'
> + set -e
> + '[' x '!=' x ']'
> + echo 'Updating MIME database... this may take a while.'
> Updating MIME database... this may take a while.
> + update-mime-database /usr/share/mime
> Directory '/usr/share/mime/packages' does not exist!
> %postun(shared-mime-info-data-2.0-r0.4.corei7_64): waitpid(78) rc 78 status 
> 100
> warning: %postun(shared-mime-info-data-2.0-r0.4.corei7_64) scriptlet failed, 
> exit status 1
>
> when run post uninstall scriptlet, /usr/share/mime/packages has been
> removed during unintall, while update-mime-database will check xml under
> /usr/share/mime/packages.
>
> workaround by create this dir before update, then remove it
>
> Signed-off-by: Changqing Li 
> ---
>  meta/classes/mime.bbclass | 8 +++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/meta/classes/mime.bbclass b/meta/classes/mime.bbclass
> index c9072adf3b..728fba1d94 100644
> --- a/meta/classes/mime.bbclass
> +++ b/meta/classes/mime.bbclass
> @@ -24,7 +24,13 @@ if [ "x$D" != "x" ]; then
> mimedir=${MIMEDIR}
>  else
> echo "Updating MIME database... this may take a while."
> -   update-mime-database $D${MIMEDIR}
> +   if [ ! -d $D${MIMEDIR}/packages ]; then
> +   mkdir $D${MIMEDIR}/packages
^ Add '-p' otherwise an error is created for path already existing
> +   update-mime-database $D${MIMEDIR}
> +   rmdir $D${MIMEDIR}/packages
^ Similar: add '--ignore-fail-on-non-empty' otherwise all 'non-last'
is going to create an error
> +   else
> +   update-mime-database $D${MIMEDIR}
> +   fi
>  fi
>  }
>
And maybe a short comment would be helpful to understand why the
mkdir/rmdir-dance is done (otherwise somebody else could be tempted to
remove it later :)

Andreas
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139626): 
https://lists.openembedded.org/g/openembedded-core/message/139626
Mute This Topic: https://lists.openembedded.org/mt/74950565/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [OE-core] [PATCH] mime.bbclass: change postrm to prerm

2020-06-17 Thread Andreas Müller
On Wed, Jun 17, 2020 at 10:10 AM Changqing Li
 wrote:
>
> From: Changqing Li 
>
> fix error during post uninstall:
> %postun(shared-mime-info-data-2.0-r0.4.corei7_64): execv(/bin/sh) pid 78
> + '[' 0 = 0 ']'
> + set -e
> + '[' x '!=' x ']'
> + echo 'Updating MIME database... this may take a while.'
> Updating MIME database... this may take a while.
> + update-mime-database /usr/share/mime
> Directory '/usr/share/mime/packages' does not exist!
> %postun(shared-mime-info-data-2.0-r0.4.corei7_64): waitpid(78) rc 78 status 
> 100
> warning: %postun(shared-mime-info-data-2.0-r0.4.corei7_64) scriptlet failed, 
> exit status 1
>
> when run post uninstall scriptlet, /usr/share/mime/packages has been
> removed during unintall, while update-mime-database need to use
> /usr/share/mime/packages/freedesktop.org.xml
>
> correct by change postrm to prerm
>
> Signed-off-by: Changqing Li 
> ---
>  meta/classes/mime.bbclass | 14 +++---
>  1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/meta/classes/mime.bbclass b/meta/classes/mime.bbclass
> index c9072adf3b..a0943b4476 100644
> --- a/meta/classes/mime.bbclass
> +++ b/meta/classes/mime.bbclass
> @@ -17,7 +17,7 @@ else
>  fi
>  }
>
> -mime_postrm() {
> +mime_prerm() {
>  if [ "x$D" != "x" ]; then
> $INTERCEPT_DIR/postinst_intercept update_mime_database ${PKG} \
> mlprefix=${MLPREFIX} \
> @@ -42,17 +42,17 @@ python populate_packages_append () {
>  mimes_types_found = True
>  break
>  if mimes_types_found:
> -bb.note("adding mime postinst and postrm scripts to %s" % pkg)
> +bb.note("adding mime postinst and prerm scripts to %s" % pkg)
>  postinst = d.getVar('pkg_postinst_%s' % pkg)
>  if not postinst:
>  postinst = '#!/bin/sh\n'
>  postinst += d.getVar('mime_postinst')
>  d.setVar('pkg_postinst_%s' % pkg, postinst)
> -postrm = d.getVar('pkg_postrm_%s' % pkg)
> -if not postrm:
> -postrm = '#!/bin/sh\n'
> -postrm += d.getVar('mime_postrm')
> -d.setVar('pkg_postrm_%s' % pkg, postrm)
> +prerm = d.getVar('pkg_prerm_%s' % pkg)
> +if not prerm:
> +prerm = '#!/bin/sh\n'
> +prerm += d.getVar('mime_prerm')
> +d.setVar('pkg_prerm_%s' % pkg, prerm)
>  if pkg != 'shared-mime-info-data':
>  bb.note("adding shared-mime-info-data dependency to %s" % 
> pkg)
>  d.appendVar('RDEPENDS_' + pkg, " " + 
> d.getVar('MLPREFIX')+"shared-mime-info-data")
> --
> 2.17.1
>
If I understand this correctly

* The error pops up once the LAST package with files  in
/usr/share/mime/packages is removed. If not something else is wrong
* This is not a fix but a workaround leaving mime db inconsistent with
entries removed later.

Andreas
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139591): 
https://lists.openembedded.org/g/openembedded-core/message/139591
Mute This Topic: https://lists.openembedded.org/mt/74933440/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [OE-core] [dunfell-backport PATCH 3/9] libtirpc: upgrade 1.2.5 -> 1.2.6

2020-06-12 Thread Andreas Müller
On Fri, Jun 12, 2020 at 7:33 PM Otavio Salvador
 wrote:
>
> From: zhengruoqin 
>
> 0001-xdr_float-do-not-include-bits-endian.h.patch
> removed since it is included in 1.2.6
>
> Signed-off-by: Zheng Ruoqin 
> Signed-off-by: Richard Purdie 
> (cherry picked from commit c940792e1492923036cae97010f9945e7ad43a32)
> Signed-off-by: Otavio Salvador 
For me this fixes native build on hosts with gcc10

Acked-by: Andreas Müller 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139462): 
https://lists.openembedded.org/g/openembedded-core/message/139462
Mute This Topic: https://lists.openembedded.org/mt/74843982/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [PATCH 1/4] vte: tiny cleanup / renumber patch

2020-06-05 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 ... => 0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch} | 0
 meta/recipes-support/vte/vte_0.60.2.bb| 4 +---
 2 files changed, 1 insertion(+), 3 deletions(-)
 rename 
meta/recipes-support/vte/vte/{0002-Add-W_EXITCODE-macro-for-non-glibc-systems.patch
 => 0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch} (100%)

diff --git 
a/meta/recipes-support/vte/vte/0002-Add-W_EXITCODE-macro-for-non-glibc-systems.patch
 
b/meta/recipes-support/vte/vte/0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch
similarity index 100%
rename from 
meta/recipes-support/vte/vte/0002-Add-W_EXITCODE-macro-for-non-glibc-systems.patch
rename to 
meta/recipes-support/vte/vte/0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch
diff --git a/meta/recipes-support/vte/vte_0.60.2.bb 
b/meta/recipes-support/vte/vte_0.60.2.bb
index 8c7054913f..571fdeba9e 100644
--- a/meta/recipes-support/vte/vte_0.60.2.bb
+++ b/meta/recipes-support/vte/vte_0.60.2.bb
@@ -17,9 +17,7 @@ GIR_MESON_OPTION = 'gir'
 inherit gnomebase gtk-doc features_check upstream-version-is-even 
gobject-introspection
 
 # vapigen.m4 is required when vala is not present (but the one from vala 
should be used normally)
-SRC_URI += " \
-file://0002-Add-W_EXITCODE-macro-for-non-glibc-systems.patch \
-   "
+SRC_URI += "file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch"
 SRC_URI[archive.md5sum] = "1a0b5395915d2f3c88484511b38cc584"
 SRC_URI[archive.sha256sum] = 
"35a0280e3f12feeb3096da05699191373c47a4a20c55cb7081e828e6015f8ca5"
 
-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139263): 
https://lists.openembedded.org/g/openembedded-core/message/139263
Mute This Topic: https://lists.openembedded.org/mt/74695126/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [PATCH 2/4] vte: upgrade 0.60.2 -> 0.60.3

2020-06-05 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 meta/recipes-support/vte/{vte_0.60.2.bb => vte_0.60.3.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/vte/{vte_0.60.2.bb => vte_0.60.3.bb} (92%)

diff --git a/meta/recipes-support/vte/vte_0.60.2.bb 
b/meta/recipes-support/vte/vte_0.60.3.bb
similarity index 92%
rename from meta/recipes-support/vte/vte_0.60.2.bb
rename to meta/recipes-support/vte/vte_0.60.3.bb
index 571fdeba9e..02a886bce0 100644
--- a/meta/recipes-support/vte/vte_0.60.2.bb
+++ b/meta/recipes-support/vte/vte_0.60.3.bb
@@ -18,8 +18,8 @@ inherit gnomebase gtk-doc features_check 
upstream-version-is-even gobject-intros
 
 # vapigen.m4 is required when vala is not present (but the one from vala 
should be used normally)
 SRC_URI += "file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch"
-SRC_URI[archive.md5sum] = "1a0b5395915d2f3c88484511b38cc584"
-SRC_URI[archive.sha256sum] = 
"35a0280e3f12feeb3096da05699191373c47a4a20c55cb7081e828e6015f8ca5"
+SRC_URI[archive.md5sum] = "4214712ecab2d50e2a3a07897c3ada49"
+SRC_URI[archive.sha256sum] = 
"feb76e1181a357d86112d447a08d127e2081438df76ece83243b18609dd9822a"
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139264): 
https://lists.openembedded.org/g/openembedded-core/message/139264
Mute This Topic: https://lists.openembedded.org/mt/74695127/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [PATCH 3/4] harfbuzz: upgrade 2.6.4 -> 2.6.7

2020-06-05 Thread Andreas Müller
* Seems they stopped maintaining freedesktop downloads so we missed few 
versions.
  To stay tuned add UPSTREM_CHECKs.
* License checksum was changed by credits & date changes [1]

[1] 
https://github.com/harfbuzz/harfbuzz/commit/5440313924172e155e34391f033f5e6c5e2390b3#diff-7116ef0705885343c9e1b2171a06be0e

Signed-off-by: Andreas Müller 
---
 .../harfbuzz/{harfbuzz_2.6.4.bb => harfbuzz_2.6.7.bb} | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)
 rename meta/recipes-graphics/harfbuzz/{harfbuzz_2.6.4.bb => harfbuzz_2.6.7.bb} 
(77%)

diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz_2.6.4.bb 
b/meta/recipes-graphics/harfbuzz/harfbuzz_2.6.7.bb
similarity index 77%
rename from meta/recipes-graphics/harfbuzz/harfbuzz_2.6.4.bb
rename to meta/recipes-graphics/harfbuzz/harfbuzz_2.6.7.bb
index ee08c12bee..4f79da4170 100644
--- a/meta/recipes-graphics/harfbuzz/harfbuzz_2.6.4.bb
+++ b/meta/recipes-graphics/harfbuzz/harfbuzz_2.6.7.bb
@@ -4,12 +4,15 @@ HOMEPAGE = "http://www.freedesktop.org/wiki/Software/HarfBuzz";
 BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=HarfBuzz";
 SECTION = "libs"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=e11f5c3149cdec4bb309babb020b32b9 \
+LIC_FILES_CHKSUM = "file://COPYING;md5=8f787620b7d3866d9552fd1924c07572 \
 
file://src/hb-ucd.cc;beginline=1;endline=15;md5=29d4dcb6410429195df67efe3382d8bc"
 
-SRC_URI = "http://www.freedesktop.org/software/harfbuzz/release/${BP}.tar.xz";
-SRC_URI[md5sum] = "2b3a4dfdb3e5e50055f941978944da9f"
-SRC_URI[sha256sum] = 
"9413b8d96132d699687ef914ebb8c50440efc87b3f775d25856d7ec347c03c12"
+UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases";
+UPSTREAM_CHECK_REGEX = "harfbuzz-(?P\d+(\.\d+)+).tar"
+
+SRC_URI = 
"https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.xz";
+SRC_URI[md5sum] = "3b884586a09328c5fae76d8c200b0e1c"
+SRC_URI[sha256sum] = 
"49e481d06cdff97bf68d99fa26bdf785331f411614485d892ea4c78eb479b218"
 
 inherit autotools pkgconfig lib_package gtk-doc
 
-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139265): 
https://lists.openembedded.org/g/openembedded-core/message/139265
Mute This Topic: https://lists.openembedded.org/mt/74695130/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [PATCH 4/4] sqlite3: upgrade 3.32.1 -> 3.32.2

2020-06-05 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 .../sqlite/{sqlite3_3.32.1.bb => sqlite3_3.32.2.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/sqlite/{sqlite3_3.32.1.bb => sqlite3_3.32.2.bb} 
(68%)

diff --git a/meta/recipes-support/sqlite/sqlite3_3.32.1.bb 
b/meta/recipes-support/sqlite/sqlite3_3.32.2.bb
similarity index 68%
rename from meta/recipes-support/sqlite/sqlite3_3.32.1.bb
rename to meta/recipes-support/sqlite/sqlite3_3.32.2.bb
index d6081f10ad..8de74aa221 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.32.1.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.32.2.bb
@@ -4,8 +4,8 @@ LICENSE = "PD"
 LIC_FILES_CHKSUM = 
"file://sqlite3.h;endline=11;md5=786d3dc581eff03f4fd9e4a77ed00c66"
 
 SRC_URI = "http://www.sqlite.org/2020/sqlite-autoconf-${SQLITE_PV}.tar.gz";
-SRC_URI[md5sum] = "bc7afc06f1e30b09ac930957af68d723"
-SRC_URI[sha256sum] = 
"486748abfb16abd8af664e3a5f03b228e5f124682b0c942e157644bf6fff7d10"
+SRC_URI[md5sum] = "eb498918a33159cdf8104997aad29e83"
+SRC_URI[sha256sum] = 
"2dbef1254c1dbeeb5d13d7722d37e633f18ccbba689806b0a65b68701a5b6084"
 
 # -19242 is only an issue in specific development branch commits
 CVE_CHECK_WHITELIST += "CVE-2019-19242"
-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139266): 
https://lists.openembedded.org/g/openembedded-core/message/139266
Mute This Topic: https://lists.openembedded.org/mt/74695131/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [OE-core] [PATCH][warrior] pseudo: Fix enum typedef

2020-06-04 Thread Andreas Müller
On Thu, Jun 4, 2020 at 2:47 PM Richard Purdie
 wrote:
>
> On Thu, 2020-06-04 at 14:18 +0200, Andreas Müller wrote:
> > On Thu, Jun 4, 2020 at 2:11 PM Richard Purdie
> >  wrote:
> > > On Thu, 2020-06-04 at 14:03 +0200, Andreas Müller wrote:
> > > > From: Jacob Kroon 
> > > >
> > > > 'pseudo_access_t' is a type, so use typedef.
> > > >
> > > > Fixes building pseudo with gcc 10 where -fno-common is the
> > > > default.
> > > >
> > > > (Backport of OE-Core rev:
> > > > a7d519f742aadc9110c2401f359254210a784f6b)
> > > >
> > > > Signed-off-by: Jacob Kroon 
> > > > Signed-off-by: Richard Purdie  > > > >
> > > > Signed-off-by: Andreas Müller 
> > >
> > > Does warrior otherwise work on gcc10 hosts?
> > Not yet but I am working on it.
>
> I think to make a decision on whether we plan to support gcc10 or not
> we'll need to know the scope of the changes. I'm starting to worry this
> would be a bit too invasive, particularly as warrior is about to enter
> community support or EOL depending on whether there is a maintainer.
>
I see. Problems for me - job's hat on - are:

1. we're close to release a product based on warrior (and a new
colleague of mine has just installed Fedora 32 with gcc 10 - that's
why I ask for it)
2. my tests with dunfell were - hmm - not running out of the box exactly.

So we should decide to upgrade to dunfell. That is what I use for
private raspi-images an am very close to happy.

Thanks for 'warning' me

Andreas
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139216): 
https://lists.openembedded.org/g/openembedded-core/message/139216
Mute This Topic: https://lists.openembedded.org/mt/74669421/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [OE-core] [PATCH][warrior] pseudo: Fix enum typedef

2020-06-04 Thread Andreas Müller
On Thu, Jun 4, 2020 at 2:11 PM Richard Purdie
 wrote:
>
> On Thu, 2020-06-04 at 14:03 +0200, Andreas Müller wrote:
> > From: Jacob Kroon 
> >
> > 'pseudo_access_t' is a type, so use typedef.
> >
> > Fixes building pseudo with gcc 10 where -fno-common is the default.
> >
> > (Backport of OE-Core rev: a7d519f742aadc9110c2401f359254210a784f6b)
> >
> > Signed-off-by: Jacob Kroon 
> > Signed-off-by: Richard Purdie 
> > Signed-off-by: Andreas Müller 
>
> Does warrior otherwise work on gcc10 hosts?
Not yet but I am working on it.

Andreas
>
> Cheers,
>
> Richard
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139212): 
https://lists.openembedded.org/g/openembedded-core/message/139212
Mute This Topic: https://lists.openembedded.org/mt/74669421/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [PATCH][warrior] pseudo: Fix enum typedef

2020-06-04 Thread Andreas Müller
From: Jacob Kroon 

'pseudo_access_t' is a type, so use typedef.

Fixes building pseudo with gcc 10 where -fno-common is the default.

(Backport of OE-Core rev: a7d519f742aadc9110c2401f359254210a784f6b)

Signed-off-by: Jacob Kroon 
Signed-off-by: Richard Purdie 
Signed-off-by: Andreas Müller 
---
 .../0001-pseudo_ipc.h-Fix-enum-typedef.patch  | 31 +++
 meta/recipes-devtools/pseudo/pseudo_git.bb|  1 +
 2 files changed, 32 insertions(+)
 create mode 100644 
meta/recipes-devtools/pseudo/files/0001-pseudo_ipc.h-Fix-enum-typedef.patch

diff --git 
a/meta/recipes-devtools/pseudo/files/0001-pseudo_ipc.h-Fix-enum-typedef.patch 
b/meta/recipes-devtools/pseudo/files/0001-pseudo_ipc.h-Fix-enum-typedef.patch
new file mode 100644
index 000..33d4ef3b2fa
--- /dev/null
+++ 
b/meta/recipes-devtools/pseudo/files/0001-pseudo_ipc.h-Fix-enum-typedef.patch
@@ -0,0 +1,31 @@
+From a491aececfedf7313d29b80d626e0964fb533548 Mon Sep 17 00:00:00 2001
+From: Jacob Kroon 
+Date: Sun, 3 May 2020 06:24:03 +0200
+Subject: [PATCH] pseudo_ipc.h: Fix enum typedef
+
+'pseudo_access_t' is a type, so use typedef.
+
+Fixes building pseudo with gcc 10 where -fno-common is the default.
+
+Signed-off-by: Jacob Kroon 
+Upstream-Status: Submitted 
[https://lists.openembedded.org/g/openembedded-core/message/137758]
+---
+ pseudo_ipc.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pseudo_ipc.h b/pseudo_ipc.h
+index caeae5c..d945257 100644
+--- a/pseudo_ipc.h
 b/pseudo_ipc.h
+@@ -29,7 +29,7 @@ typedef struct {
+   char path[];
+ } pseudo_msg_t;
+ 
+-enum {
++typedef enum {
+   PSA_EXEC = 1,
+   PSA_WRITE = (PSA_EXEC << 1),
+   PSA_READ = (PSA_WRITE << 1),
+-- 
+2.26.2
+
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb 
b/meta/recipes-devtools/pseudo/pseudo_git.bb
index 7db5bafd174..8ff003d9024 100644
--- a/meta/recipes-devtools/pseudo/pseudo_git.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
@@ -7,6 +7,7 @@ SRC_URI = "git://git.yoctoproject.org/pseudo \
file://moreretries.patch \
file://toomanyfiles.patch \
file://0001-Add-statx.patch \
+   file://0001-pseudo_ipc.h-Fix-enum-typedef.patch \
"
 
 SRCREV = "060058bb29f70b244e685b3c704eb0641b736f73"
-- 
2.21.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139210): 
https://lists.openembedded.org/g/openembedded-core/message/139210
Mute This Topic: https://lists.openembedded.org/mt/74669421/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [OE-core] [PATCH] vte: add missing runtime dependency for vte-prompt

2020-06-03 Thread Andreas Müller
On Wed, Jun 3, 2020 at 5:43 AM Yi Zhao  wrote:
>
> The /etc/profile.d/vte.sh in vte-prompt package requires
> vte-urlencode-cwd command which is from vte package.
Think this is addressed by [1] already

[1] https://lists.openembedded.org/g/openembedded-core/message/139110

Andreas
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139196): 
https://lists.openembedded.org/g/openembedded-core/message/139196
Mute This Topic: https://lists.openembedded.org/mt/74643454/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [PATCH] vte: Pack ${libexecdir}/vte-urlencode-cwd to vte-prompt

2020-06-02 Thread Andreas Müller
Have vte-prompt in my images. Since upgrade 0.60.2 all terminals complain with:

| bash: /usr/libexec/vte-urlencode-cwd: No such file or directory

Grepping sources shows that vte.csh and vte.sh are the only callers of
vte-urlencode-cwd. Both are installed by vte-prompt so move vte-urlencode-cwd
where it's used.

Signed-off-by: Andreas Müller 
---
 meta/recipes-support/vte/vte_0.60.2.bb | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-support/vte/vte_0.60.2.bb 
b/meta/recipes-support/vte/vte_0.60.2.bb
index 4a33f6e4d0..8c7054913f 100644
--- a/meta/recipes-support/vte/vte_0.60.2.bb
+++ b/meta/recipes-support/vte/vte_0.60.2.bb
@@ -52,6 +52,9 @@ CFLAGS += "-D_GNU_SOURCE"
 
 PACKAGES =+ "libvte ${PN}-prompt"
 FILES_libvte = "${libdir}/*.so.* ${libdir}/girepository-1.0/*"
-FILES_${PN}-prompt = "${sysconfdir}/profile.d"
+FILES_${PN}-prompt = " \
+${sysconfdir}/profile.d \
+${libexecdir}/vte-urlencode-cwd \
+"
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.21.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139110): 
https://lists.openembedded.org/g/openembedded-core/message/139110
Mute This Topic: https://lists.openembedded.org/mt/74634352/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [PATCH 1/2] libnotify: upgrade 0.7.8 -> 0.7.9 / port to meson

2020-03-18 Thread Andreas Müller
From [1]:
New in 0.7.9

* Fixed linking in darwin [Iain, Marco; !5]
* Added man page for notify-send [Jan; !6]
* Dropped autotools [Jan; !11]

[1] http://ftp.gnome.org/pub/gnome/sources/libnotify/0.7/libnotify-0.7.9.news

Signed-off-by: Andreas Müller 
---
 .../{libnotify_0.7.8.bb => libnotify_0.7.9.bb} | 14 +++---
 1 file changed, 11 insertions(+), 3 deletions(-)
 rename meta/recipes-gnome/libnotify/{libnotify_0.7.8.bb => libnotify_0.7.9.bb} 
(59%)

diff --git a/meta/recipes-gnome/libnotify/libnotify_0.7.8.bb 
b/meta/recipes-gnome/libnotify/libnotify_0.7.9.bb
similarity index 59%
rename from meta/recipes-gnome/libnotify/libnotify_0.7.8.bb
rename to meta/recipes-gnome/libnotify/libnotify_0.7.9.bb
index 0306b04f4e..38da41639b 100644
--- a/meta/recipes-gnome/libnotify/libnotify_0.7.8.bb
+++ b/meta/recipes-gnome/libnotify/libnotify_0.7.9.bb
@@ -7,12 +7,20 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
 
 DEPENDS = "dbus gtk+3 glib-2.0"
 
-inherit gnomebase gtk-doc features_check gobject-introspection
+GNOMEBASEBUILDCLASS = "meson"
+
+inherit gnomebase gtk-doc features_check gobject-introspection manpages
 # depends on gtk+3
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
-SRC_URI[archive.md5sum] = "babb4b07b5f21bef42a386d3d7019599"
-SRC_URI[archive.sha256sum] = 
"69209e0b663776a00c7b6c0e560302a8dbf66b2551d55616304f240bba66e18c"
+SRC_URI[archive.md5sum] = "ccd9c53364174cc8d13e18a1988faa76"
+SRC_URI[archive.sha256sum] = 
"66c0517ed16df7af258e83208faaf5069727dfd66995c4bbc51c16954d674761"
+
+GIR_MESON_ENABLE_FLAG = 'enabled'
+GIR_MESON_DISABLE_FLAG = 'disabled'
+GTKDOC_MESON_OPTION = 'gtk_doc'
+
+PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native xmlto-native"
 
 # there were times, we had two versions of libnotify (oe-core libnotify:0.6.x /
 # meta-gnome libnotify3: 0.7.x)
-- 
2.21.1

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


[OE-core] [PATCH 2/2] libsecret: upgrade 0.20.1 -> 0.20.2 / port to meson

2020-03-18 Thread Andreas Müller
From [1]:

0.20.2
 * secret-file-collection: force little-endian in GVariant [!49, #42]
 * Prefer g_info() over g_message() [!48, #40]
 * meson: Don't specify shared_library() [!47]
 * docs: Make sure to set install: true [!46]

[1] http://ftp.gnome.org/pub/gnome/sources/libsecret/0.20/libsecret-0.20.2.news

Signed-off-by: Andreas Müller 
---
 ...an-subdir-only-if-manpage-is-enabled.patch | 30 +++
 ...ibsecret_0.20.1.bb => libsecret_0.20.2.bb} | 20 -
 2 files changed, 42 insertions(+), 8 deletions(-)
 create mode 100644 
meta/recipes-gnome/libsecret/libsecret/0001-docs-Add-man-subdir-only-if-manpage-is-enabled.patch
 rename meta/recipes-gnome/libsecret/{libsecret_0.20.1.bb => 
libsecret_0.20.2.bb} (59%)

diff --git 
a/meta/recipes-gnome/libsecret/libsecret/0001-docs-Add-man-subdir-only-if-manpage-is-enabled.patch
 
b/meta/recipes-gnome/libsecret/libsecret/0001-docs-Add-man-subdir-only-if-manpage-is-enabled.patch
new file mode 100644
index 00..f434e6ae01
--- /dev/null
+++ 
b/meta/recipes-gnome/libsecret/libsecret/0001-docs-Add-man-subdir-only-if-manpage-is-enabled.patch
@@ -0,0 +1,30 @@
+From a2037bfcf14a0b5b81f5160b69b5ff94a6096584 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= 
+Date: Thu, 19 Mar 2020 01:42:22 +0100
+Subject: [PATCH] docs: Add man subdir only if manpage is enabled
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Upstream-Status: Submitted 
[https://gitlab.gnome.org/GNOME/libsecret/-/merge_requests/51]
+
+Signed-off-by: Andreas Müller 
+---
+ docs/meson.build | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/docs/meson.build b/docs/meson.build
+index cc8d964..aa7cfbc 100644
+--- a/docs/meson.build
 b/docs/meson.build
+@@ -1,4 +1,6 @@
+-subdir('man')
++if with_manpage
++  subdir('man')
++endif
+ if with_gtkdoc
+   subdir('reference/libsecret')
+ endif
+-- 
+2.21.1
+
diff --git a/meta/recipes-gnome/libsecret/libsecret_0.20.1.bb 
b/meta/recipes-gnome/libsecret/libsecret_0.20.2.bb
similarity index 59%
rename from meta/recipes-gnome/libsecret/libsecret_0.20.1.bb
rename to meta/recipes-gnome/libsecret/libsecret_0.20.2.bb
index 72511af02d..0effd492fd 100644
--- a/meta/recipes-gnome/libsecret/libsecret_0.20.1.bb
+++ b/meta/recipes-gnome/libsecret/libsecret_0.20.2.bb
@@ -7,21 +7,25 @@ LICENSE = "LGPLv2.1"
 BUGTRACKER = "https://gitlab.gnome.org/GNOME/libsecret/issues";
 LIC_FILES_CHKSUM = "file://COPYING;md5=23c2a5e0106b99d75238986559bb5fc6"
 
+GNOMEBASEBUILDCLASS = "meson"
+
 inherit gnomebase gtk-doc vala gobject-introspection manpages
 
 DEPENDS += "glib-2.0 libgcrypt gettext-native"
 
-PACKAGECONFIG[manpages] = "--enable-manpages, --disable-manpages, 
libxslt-native xmlto-native"
+SRC_URI[archive.md5sum] = "f24f82e49d360ff742901d6c387e2bc9"
+SRC_URI[archive.sha256sum] = 
"81e9143833785cdcf96c1da5d0357a8bcf0cd2b0119f15aa0cae775d1f19ffc3"
+SRC_URI += "file://0001-docs-Add-man-subdir-only-if-manpage-is-enabled.patch"
+
+GTKDOC_MESON_OPTION = 'gtk_doc'
 
-SRC_URI[archive.md5sum] = "d2dd660a8d502099317bc8af9f30302e"
-SRC_URI[archive.sha256sum] = 
"57f73e94ec6263a17a077fb809cf8cf424637a897a7f15b4eec42ce4aef52447"
+# gobject-introspection is mandatory and cannot be configured
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
+UNKNOWN_CONFIGURE_WHITELIST_append = " introspection"
+
+PACKAGECONFIG[manpages] = "-Dmanpage=true,-Dmanpage=false,libxslt-native 
xmlto-native"
 
 # http://errors.yoctoproject.org/Errors/Details/20228/
 ARM_INSTRUCTION_SET_armv4 = "arm"
 ARM_INSTRUCTION_SET_armv5 = "arm"
 ARM_INSTRUCTION_SET_armv6 = "arm"
-
-# vapigen.m4 bundled with the tarball does not yet have our cross-compilation 
fixes
-do_configure_prepend() {
-rm -f ${S}/build/m4/vapigen.m4
-}
-- 
2.21.1

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


[OE-core] [PATCH] libsdl2: upgrade 2.0.10 -> 2.0.12

2020-03-12 Thread Andreas Müller
* checked all hunks: backported patches can go
* for machines with neon in TUNE_FEATURES enable new configure option
  --enable-arm-neon. If enabled, license must be extended to MIT
* license checksum changed by copyright year

Signed-off-by: Andreas Müller 
---
 ...alidate-image-size-when-loading-BMP-.patch | 34 
 ...for-build-dir-when-building-version-.patch | 53 ---
 ...DL-fails-to-compile-with-Mesa-Master.patch | 41 --
 .../{libsdl2_2.0.10.bb => libsdl2_2.0.12.bb}  | 15 +++---
 4 files changed, 9 insertions(+), 134 deletions(-)
 delete mode 100644 
meta/recipes-graphics/libsdl2/libsdl2/0001-Fixed-bug-4538-validate-image-size-when-loading-BMP-.patch
 delete mode 100644 
meta/recipes-graphics/libsdl2/libsdl2/0001-configure-check-for-build-dir-when-building-version-.patch
 delete mode 100644 
meta/recipes-graphics/libsdl2/libsdl2/0002-Fixed-bug-4797-SDL-fails-to-compile-with-Mesa-Master.patch
 rename meta/recipes-graphics/libsdl2/{libsdl2_2.0.10.bb => libsdl2_2.0.12.bb} 
(81%)

diff --git 
a/meta/recipes-graphics/libsdl2/libsdl2/0001-Fixed-bug-4538-validate-image-size-when-loading-BMP-.patch
 
b/meta/recipes-graphics/libsdl2/libsdl2/0001-Fixed-bug-4538-validate-image-size-when-loading-BMP-.patch
deleted file mode 100644
index 674decccbb..00
--- 
a/meta/recipes-graphics/libsdl2/libsdl2/0001-Fixed-bug-4538-validate-image-size-when-loading-BMP-.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 85138c1ec673e05263ae666baf61f79384daf7e0 Mon Sep 17 00:00:00 2001
-From: Sam Lantinga 
-Date: Tue, 30 Jul 2019 11:00:00 -0700
-Subject: [PATCH] Fixed bug 4538 - validate image size when loading BMP files
-
-Upstream-Status: Backport
-[https://hg.libsdl.org/SDL/rev/e7ba650a643a]
-
-CVE: CVE-2019-13616
-
-Signed-off-by: Yi Zhao 

- src/video/SDL_bmp.c | 5 +
- 1 file changed, 5 insertions(+)
-
-diff --git a/src/video/SDL_bmp.c b/src/video/SDL_bmp.c
-index 0b68918..a06b0c9 100644
 a/src/video/SDL_bmp.c
-+++ b/src/video/SDL_bmp.c
-@@ -226,6 +226,11 @@ SDL_LoadBMP_RW(SDL_RWops * src, int freesrc)
- SDL_RWseek(src, (biSize - headerSize), RW_SEEK_CUR);
- }
- }
-+if (biWidth <= 0 || biHeight == 0) {
-+SDL_SetError("BMP file with bad dimensions (%dx%d)", biWidth, 
biHeight);
-+was_error = SDL_TRUE;
-+goto done;
-+}
- if (biHeight < 0) {
- topDown = SDL_TRUE;
- biHeight = -biHeight;
--- 
-2.7.4
-
diff --git 
a/meta/recipes-graphics/libsdl2/libsdl2/0001-configure-check-for-build-dir-when-building-version-.patch
 
b/meta/recipes-graphics/libsdl2/libsdl2/0001-configure-check-for-build-dir-when-building-version-.patch
deleted file mode 100644
index b383bd6548..00
--- 
a/meta/recipes-graphics/libsdl2/libsdl2/0001-configure-check-for-build-dir-when-building-version-.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-# HG changeset patch
-# User Anuj Mittal 
-# Date 1573631462 -10800
-# Node ID 1fb1880d5edfc7c5a370846e13f90b260263627c
-# Parent  007002587d5d34d781c2b628c05e992e0ac5f52d
-configure: check for build dir when building version res (fix bug #4858)
-Fixes a race where we try to build version res file in build directory
-before it has even been created. Prevents errors like:
-
-/bin/bash ../SDL2-2.0.10/build-scripts/updaterev.sh
-/bin/bash ../SDL2-2.0.10/build-scripts/mkinstalldirs build
-mkdir -p -- build
-x86_64-pokysdk-mingw32-windres 
--include-dir=/home/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/x86_64-nativesdk-mingw32-pokysdk-mingw32/nativesdk-libsdl2/2.0.10-r0/recipe-sysroot/opt/poky/3.0/sysroots/x86_64-pokysdk-mingw32/usr/include
 ../SDL2-2.0.10/src/main/windows/version.rc build/version.o
-x86_64-pokysdk-mingw32-windres: build/version.o: No such file or directory
-Makefile:692: recipe for target 'build/version.o' failed
-make: *** [build/version.o] Error 1
-make: *** Waiting for unfinished jobs
-touch build/.created
-WARNING: exit code 1 from a shell command.
-
-Extension of fix:
-https://hg.libsdl.org/SDL/rev/99d8b18acf8a
-
-Upstream-Status: Backport
-Signed-off-by: Anuj Mittal 

- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff -r 007002587d5d -r 1fb1880d5edf configure
 a/configureTue Nov 12 17:24:37 2019 -0500
-+++ b/configureWed Nov 13 10:51:02 2019 +0300
-@@ -25493,7 +25493,7 @@
- VERSION_DEPENDS=`echo $VERSION_SOURCES`
- VERSION_OBJECTS=`echo "$VERSION_OBJECTS" | sed 's,[^ ]*/\([^ 
]*\)\.rc,$(objects)/\1.o,g'`
- VERSION_DEPENDS=`echo "$VERSION_DEPENDS" | sed "s,\\([^ ]*\\)/\\([^ 
]*\\)\\.rc,
--\\$(objects)/\\2.o: \\1/\\2.rc
-+\\$(objects)/\\2.o: \\1/\\2.rc \\$(objects)/.created
-   \\$(WINDRES) \\$< \\$@,g"`
- 
- SDLMAIN_OBJECTS=`echo $SDLMAIN_SOURCES`
-diff -r 007002587d5d -r 1fb1880d5edf configure.ac
 a/configure.ac Tue Nov 12 17:24:37 2019 -0500
-+++ b/configure.ac Wed Nov 13 10:51:02 2019 +0300
-@@ -4177,7 +

[OE-core] [PATCH] mime-xdg.bbclass: Fix typo in comment

2020-03-01 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 meta/classes/mime-xdg.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/mime-xdg.bbclass b/meta/classes/mime-xdg.bbclass
index 63169e990d..642a5b7595 100644
--- a/meta/classes/mime-xdg.bbclass
+++ b/meta/classes/mime-xdg.bbclass
@@ -8,7 +8,7 @@ PACKAGE_WRITE_DEPS += "desktop-file-utils-native"
 DESKTOPDIR = "${datadir}/applications"
 
 # There are recipes out there installing their .desktop files as absolute
-# symlinks. For us these are dangling and cannot be introspected for "MymeType"
+# symlinks. For us these are dangling and cannot be introspected for "MimeType"
 # easily. By addding package-names to MIME_XDG_PACKAGES, packager can force
 # proper update-desktop-database handling. Note that all introspection is
 # skipped for MIME_XDG_PACKAGES not empty
-- 
2.21.0

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


Re: [OE-core] [PATCH] mime,mime-xdg: Conflict with allarch

2020-02-25 Thread Andreas Müller
On Tue, Feb 25, 2020 at 3:07 PM Richard Purdie
 wrote:
>
> On Tue, 2020-02-25 at 13:24 +0100, Andreas Müller wrote:
> > On Tue, Feb 25, 2020 at 11:21 AM Richard Purdie
> >  wrote:
> > > On Mon, 2020-02-24 at 21:44 -0800, Khem Raj wrote:
> > > > mime and mime-xdb classes add dependencies ( both runtime and
> > > > buildtime
> > > > ) on target packages, therefore recipes using allarch should not
> > > > inherit
> > > > mime/mime-xdg or vice-versa, this fixes subtle sstate mismatches
> > > >
> > > > [YOCTO #13805]
> > > >
> > > > Signed-off-by: Khem Raj 
> > > > Cc: Andreas Müller 
> > > > ---
> > > >  meta/classes/mime-xdg.bbclass | 5 +
> > > >  meta/classes/mime.bbclass | 5 +
> > > >  2 files changed, 10 insertions(+)
> > >
> > > Is this the right way to fix this? mime info probably is arch
> > > independent, so should we be whitelisting some of the dependencies?
> > >
> > > Cheers,
> > >
> > > Richard
> > >
> > Khem and I had a short discussion about this [1]. His first approach
> > was to remove DEPENDS. As far as I remember the deps were added to
> > avoid QA warning.
> >
> > Honestly I never understood why these are spawned. If there is a fix /
> > workaround this could be reduced to rdeps which an be handled for
> > allarch.
> >
> > [1] 
> > https://github.com/YoeDistro/openembedded-core/commit/5605a9cf78c3731e2cc055cd4f8cc88a0b3d7e26
>
> I'd guess something like:
>
> SIGGEN_EXCLUDERECIPES_ABISAFE += "\
>   shared-mime-info \
>   desktop-file-utils \
> "
>
> in layer.conf might be the correct fix. The other approach is just a
> workaround.

That would fix rdeps allarch -> cross only - right?. How to get rid of
the deps warning? @Khem: Do you have some logs showing what warning it
was exactly?

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


Re: [OE-core] [PATCH] mime,mime-xdg: Conflict with allarch

2020-02-25 Thread Andreas Müller
On Tue, Feb 25, 2020 at 11:21 AM Richard Purdie
 wrote:
>
> On Mon, 2020-02-24 at 21:44 -0800, Khem Raj wrote:
> > mime and mime-xdb classes add dependencies ( both runtime and
> > buildtime
> > ) on target packages, therefore recipes using allarch should not
> > inherit
> > mime/mime-xdg or vice-versa, this fixes subtle sstate mismatches
> >
> > [YOCTO #13805]
> >
> > Signed-off-by: Khem Raj 
> > Cc: Andreas Müller 
> > ---
> >  meta/classes/mime-xdg.bbclass | 5 +
> >  meta/classes/mime.bbclass | 5 +
> >  2 files changed, 10 insertions(+)
>
> Is this the right way to fix this? mime info probably is arch
> independent, so should we be whitelisting some of the dependencies?
>
> Cheers,
>
> Richard
>
Khem and I had a short discussion about this [1]. His first approach
was to remove DEPENDS. As far as I remember the deps were added to
avoid QA warning.

Honestly I never understood why these are spawned. If there is a fix /
workaround this could be reduced to rdeps which an be handled for
allarch.

[1] 
https://github.com/YoeDistro/openembedded-core/commit/5605a9cf78c3731e2cc055cd4f8cc88a0b3d7e26

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


[OE-core] [PATCH] webkitgtk: enable gobject-introspection for armv7a

2020-02-22 Thread Andreas Müller
Tested with cortex-a9 machine

* before this patch -> no gir
* after: gir was built without issues

Signed-off-by: Andreas Müller 
---
 meta/recipes-sato/webkit/webkitgtk_2.26.4.bb | 4 
 1 file changed, 4 deletions(-)

diff --git a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb 
b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
index a1dba73c51..a48a976f94 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
@@ -124,9 +124,5 @@ ARM_INSTRUCTION_SET_armv7a = "thumb"
 ARM_INSTRUCTION_SET_armv7r = "thumb"
 ARM_INSTRUCTION_SET_armv7ve = "thumb"
 
-# qemu: uncaught target signal 11 (Segmentation fault) - core dumped
-# Segmentation fault
-GI_DATA_ENABLED_armv7a = "False"
-
 # Can't be built with ccache
 CCACHE_DISABLE = "1"
-- 
2.21.0

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


[OE-core] [PATCH 2/2][master-next] webkitgtk: enable gobject-introspection for armv7ve - it builds without issues

2020-02-20 Thread Andreas Müller
Maybe armv7a can be re-enabled either but due to limited resources there is no
chance for me to test.

Signed-off-by: Andreas Müller 
---
 meta/recipes-sato/webkit/webkitgtk_2.26.4.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb 
b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
index fa109446d1..a1dba73c51 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb
@@ -127,7 +127,6 @@ ARM_INSTRUCTION_SET_armv7ve = "thumb"
 # qemu: uncaught target signal 11 (Segmentation fault) - core dumped
 # Segmentation fault
 GI_DATA_ENABLED_armv7a = "False"
-GI_DATA_ENABLED_armv7ve = "False"
 
 # Can't be built with ccache
 CCACHE_DISABLE = "1"
-- 
2.21.0

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


  1   2   3   4   5   6   7   8   9   10   >