[oe] [PATCH] renderdoc: remove vim-native DEPENDS

2024-04-30 Thread Ross Burton
This need for this was removed in 2016[1]

[1] 
https://github.com/baldurk/renderdoc/commit/fff93a4bcc036f8288fd31dcdd1209fea36b9b58

Signed-off-by: Ross Burton 
---
 meta-oe/recipes-graphics/renderdoc/renderdoc_1.27.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-graphics/renderdoc/renderdoc_1.27.bb 
b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.27.bb
index e52ec5f291..58f2275736 100644
--- a/meta-oe/recipes-graphics/renderdoc/renderdoc_1.27.bb
+++ b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.27.bb
@@ -10,7 +10,7 @@ SRC_URI = " \
 "
 S = "${WORKDIR}/git"
 
-DEPENDS += "virtual/libx11 virtual/libgl libxcb xcb-util-keysyms vim-native"
+DEPENDS += "virtual/libx11 virtual/libgl libxcb xcb-util-keysyms"
 
 RDEPENDS:${PN} = "libxcb xcb-util-keysyms"
 
-- 
2.34.1


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



Re: [oe] [meta-gnome][PATCH 1/3] gupnp: dont package source

2024-04-24 Thread Ross Burton
On 24 Apr 2024, at 17:31, Markus Volk  wrote:
> 
> On Wed, Apr 24 2024 at 06:03:18 PM +02:00:00, Markus Volk  
> wrote:
>> I guess build will break
> 
> 
> No it doesn't, using @basename@ fixes the issue.
> 
> Now it looks like:
> /* enumerations from "gupnp-error.h" */
> #include "gupnp-error.h"
> 
> I'll send this to upstream first. Lets see if this would work for all

Yeah that’s the correct fix.

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



Re: [oe] [meta-gnome][PATCH 1/3] gupnp: dont package source

2024-04-24 Thread Ross Burton

> On 24 Apr 2024, at 16:14, Markus Volk via lists.openembedded.org 
>  wrote:
> 
> On Wed, Apr 24 2024 at 04:40:21 PM +02:00:00, Khem Raj  
> wrote:
>> Can we root cause it instead ? Removing sources from debug info might fix 
>> this issue but degrade debugging experience 
> 
> 
> I will take a look at it

The usual culprit is build paths in generated files (like glib-generated 
headers), which is often a trivial fix to use basename instead.

Ross


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



Re: [oe] [meta-multimedia][PATCH] aravis: new recipe aravis is a vision library for genicam based cameras. aravis project allows to stream from genicam and GigE cameras

2024-04-19 Thread Ross Burton
On 19 Apr 2024, at 15:58, Perceval via lists.openembedded.org 
 wrote:
> +# These options are found in AravisProject/aravis meson_options.txt

No need to comment where they came from, this is the only place they can be 
defined.

> +EXTRA_OEMESON += "\
> +-Ddocumentation=disabled \

If would be good to use the gi-docgen class and respect the api-documentation 
DISTRO_FEATURE instead of just turning this off.

> +-Dfast-heartbeat=false \

Default value, remove.

> +-Dpacket-socket=enabled \

Can’t you leave this as the default and let Meson detect?

> +inherit_defer meson pkgconfig ${@bb.utils.contains('PACKAGECONFIG', 
> 'introspection', 'gobject-introspection', '', d)}

Only defer gobject-introspection, not the others.

> +PACKAGECONFIG[introspection] = "-Dintrospection=enabled, 
> -Dintrospection=disabled, gobject-introspection,”

The gobject-introspection class will do this for you, remove this line.

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



[oe] [PATCH] yajl: set correct homepage

2024-04-18 Thread Ross Burton
Signed-off-by: Ross Burton 
---
 meta-oe/recipes-devtools/yajl/yajl_2.1.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/yajl/yajl_2.1.0.bb 
b/meta-oe/recipes-devtools/yajl/yajl_2.1.0.bb
index 2a34210f3c..c5b5e60027 100644
--- a/meta-oe/recipes-devtools/yajl/yajl_2.1.0.bb
+++ b/meta-oe/recipes-devtools/yajl/yajl_2.1.0.bb
@@ -3,7 +3,7 @@ SUMMARY = "Yet Another JSON Library."
 DESCRIPTION = "YAJL is a small event-driven (SAX-style) JSON parser \
 written in ANSI C, and a small validating JSON generator."
 
-HOMEPAGE = "http://lloyd.github.com/yajl/;
+HOMEPAGE = "https://lloyd.github.io/yajl/;
 
 LICENSE = "ISC"
 LIC_FILES_CHKSUM = "file://COPYING;md5=39af6eb42999852bdd3ea00ad120a36d"
-- 
2.34.1


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



Re: [oe] [meta-multimedia][PATCH] aravis: new recipe aravis is a vision library for genicam based cameras. aravis project allows to stream from genicam and GigE cameras

2024-04-17 Thread Ross Burton
On 17 Apr 2024, at 15:04, Perceval via lists.openembedded.org 
 wrote:
> +DEPENDS += "\
> + glib-2.0 \
> + glib-2.0-native \
> + intltool-native \
> + libxml2 \
> + zlib \
> +"

Considering this uses Meson, I’m surprised this uses intltool.  Is this still 
valid?

> +S = "${WORKDIR}/${BPN}-${PV}"

This is the default, remove.

> +PACKAGECONFIG ?= ""
> +PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled, -Dgst-plugin=disabled, 
> gstreamer1.0 gstreamer1.0-plugins-base,"
> +PACKAGECONFIG[introspection] = "-Dintrospection=enabled, 
> -Dintrospection=disabled, gobject-introspection,"
> +PACKAGECONFIG[usb] = "-Dusb=enabled, -Dusb=disabled, libusb1,"
> +PACKAGECONFIG[viewer] = "-Dviewer=enabled, -Dviewer=disabled, gtk+3 
> gstreamer1.0-plugins-base,"

I’d suggest enabling more things by default, so they get tested.

> +# needs to be after PACKAGECONFIG to make sure it is defined
> +inherit meson pkgconfig ${@bb.utils.contains('PACKAGECONFIG', 
> 'introspection', 'gobject-introspection', '', d)}

Use inherit_defer to solve this problem.

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



Re: [oe] [meta-oe][PATCH] edid-decode: allow to build native variant

2024-04-15 Thread Ross Burton


> On 15 Apr 2024, at 12:32, Markus Volk  wrote:
> 
> On Mon, Apr 15 2024 at 11:07:45 AM +00:00:00, Ross Burton 
>  wrote:
>> Surely that´s a bug in the meson.build? It doesn´t want to find a native 
>> binary.
> 
> 
> Its added here, I think mostly for testing purpose:
> 
> https://gitlab.freedesktop.org/emersion/libdisplay-info/-/blob/main/test/meson.build#L1
> https://gitlab.freedesktop.org/emersion/libdisplay-info/-/blob/main/test/meson.build#L10
> https://gitlab.freedesktop.org/emersion/libdisplay-info/-/blob/main/test/meson.build#L59
> https://gitlab.freedesktop.org/emersion/libdisplay-info/-/blob/main/test/meson.build#L66
> 
> If edid-decode is added a s a native dependency, an additional binary will be 
> installed '/usr/bin/di-edid-decode’

Are you sure about that?  All of those references are specific to the test 
suite (which would want native binaries, unless they make the effort to support 
installable tests).  The di-edid-decode binary is buillt and installed by 
https://gitlab.freedesktop.org/emersion/libdisplay-info/-/blob/main/di-edid-decode/meson.build
 which doesn’t have any conditionals.

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



Re: [oe] [meta-oe][PATCH] edid-decode: allow to build native variant

2024-04-15 Thread Ross Burton
On 14 Apr 2024, at 13:58, Markus Volk via lists.openembedded.org 
 wrote:
> 
> This is a requirement for libdisplay-info and fixes:
> Program edid-decode found: NO

Surely that’s a bug in the meson.build?  It doesn’t want to find a native 
binary.

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



Re: [oe] [meta-oe][PATCH 2/2] microsoft-cpr: add new recipe including ptest

2024-03-26 Thread Ross Burton


> On 26 Mar 2024, at 20:31, Peter Marko via lists.openembedded.org 
>  wrote:
> +inherit cmake ptest
> +inherit ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'pkgconfig', '', d)}

Unnecessary complexity, just inherit pkgconfig directly. The mental overhead of 
parsing this line isn’t worth it to avoid pkgconfig-native.
 
> +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)}"

Check PTEST_ENABLED instead of the DISTRO_FEATURE directly, as some people like 
to control what recipes are ptested at a recipe-level by setting PTEST_ENABLED 
explicitly.

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



[oe] [PATCH][meta-python] python3-pydantic-core: just set PYPI_PACKAGE

2024-03-15 Thread Ross Burton
From: Ross Burton 

There's no need to set PYPI_ARCHIVE_NAME and S explicitly if PYPI_PACKAGE
is set correctly.

Signed-off-by: Ross Burton 
---
 .../recipes-devtools/python/python3-pydantic-core_2.16.3.bb   | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 
a/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb 
b/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb
index b26478451a..2086091d63 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb
@@ -17,9 +17,7 @@ require ${BPN}-crates.inc
 
 inherit pypi cargo-update-recipe-crates python_maturin
 
-S = "${WORKDIR}/pydantic_core-${PV}"
-
-PYPI_ARCHIVE_NAME = "pydantic_core-${PV}.${PYPI_PACKAGE_EXT}"
+PYPI_PACKAGE = "pydantic_core"
 
 RDEPENDS:${PN} += "python3-typing-extensions"
 
-- 
2.34.1


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



Re: [oe] short list of strange ptest recipes from meta-oe/recipes-support

2024-03-11 Thread Ross Burton
On 9 Mar 2024, at 13:44, Robert P. J. Day via lists.openembedded.org 
 wrote:
> 
> 
>  in my travels, i ran across the following odd allegedly ptest
> enabled recipes:
> 
> https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/fmt/fmt_10.2.1.bb
> https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/function2/function2_4.2.4.bb
> https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/libmanette/libmanette_0.2.7.bb
> 
>  - inherits ptest while not providing the requisite ptest harness
> 
> and one more equally odd:
> 
> https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/websocketpp/websocketpp_0.8.2.bb
> 
>  - tests DISTRO_FEATURES for ptest without even inheriting ptest

Yep, patches welcome!

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



Re: [oe] [PATCH v4] ydotool: Add new package

2024-03-07 Thread Ross Burton
On 7 Mar 2024, at 20:07, André Paiusco via lists.openembedded.org 
 wrote:
> +DEPENDS = "systemd"

I can’t see where the in source this is a hard requirement?  It ships a systemd 
service file, but it can also ship an openrc service file.

Ross


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



[oe] [PATCH v2] mozjs-115: fix the build on ARMv5

2024-01-19 Thread Ross Burton
From: Ross Burton 

The JIT uses the ISB instruction, but being a multi-core barrier
instruction this doesn't exist on the single-core ARMv5 ISA. Check the
ISA level before using ISB.

Also set [cleandirs] for ${B} to ensure clean builds are done when
reconfiguring.

[ YOCTO #14572 ]

Signed-off-by: Ross Burton 
---
 .../mozjs/mozjs-115/armv5.patch   | 19 +++
 .../mozjs/mozjs-115_115.6.0.bb|  2 ++
 2 files changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-extended/mozjs/mozjs-115/armv5.patch

diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115/armv5.patch 
b/meta-oe/recipes-extended/mozjs/mozjs-115/armv5.patch
new file mode 100644
index 00..4c45955bca
--- /dev/null
+++ b/meta-oe/recipes-extended/mozjs/mozjs-115/armv5.patch
@@ -0,0 +1,19 @@
+The ISB instruction isn't available in ARMv5 or v6, so
+guard it's use to fix the build on qemuarmv5.
+
+Upstream-Status: Pending
+Signed-off-by: Ross Burton 
+
+diff --git a/js/src/jit/arm/Architecture-arm.cpp 
b/js/src/jit/arm/Architecture-arm.cpp
+--- a/js/src/jit/arm/Architecture-arm.cpp  2024-01-18 17:31:32.078718197 
+
 b/js/src/jit/arm/Architecture-arm.cpp  2024-01-18 18:00:16.738921445 
+
+@@ -529,7 +529,9 @@
+ void FlushExecutionContext() {
+ #ifndef JS_SIMULATOR_ARM
++#if __ARM_ARCH >= 7
+   // Ensure that any instructions already in the pipeline are discarded and
+   // reloaded from the icache.
+   asm volatile("isb\n" : : : "memory");
++#endif
+ #else
+   // We assume the icache flushing routines on other platforms take care of 
this
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115_115.6.0.bb 
b/meta-oe/recipes-extended/mozjs/mozjs-115_115.6.0.bb
index 6503747d88..4d9bb0e585 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs-115_115.6.0.bb
+++ b/meta-oe/recipes-extended/mozjs/mozjs-115_115.6.0.bb
@@ -16,6 +16,7 @@ SRC_URI = 
"https://archive.mozilla.org/pub/firefox/releases/${PV}esr/source/fire
file://musl-disable-stackwalk.patch \
file://0001-add-arm-to-list-of-mozinline.patch \
file://py3.12.patch \
+   file://armv5.patch \
"
 SRC_URI[sha256sum] = 
"66d7e6e5129ac8e6fe83e24227dc7bb8dc42650bc53b21838e614de80d22bc66"
 
@@ -75,6 +76,7 @@ do_configure() {
 ${JIT} \
 ${ICU}
 }
+do_configure[cleandirs] += "${B}"
 
 do_install() {
 oe_runmake 'DESTDIR=${D}' install
-- 
2.34.1


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



[oe] [PATCH] mozjs-115: fix the build on ARMv5

2024-01-18 Thread Ross Burton
From: Ross Burton 

The JIT uses the ISB instruction, but being a multi-core barrier
instruction this doesn't exist on the single-core ARMv5 ISA. Check the
ISA level before using ISB.

Also set [cleandirs] for ${B} to ensure clean builds are done when
reconfiguring.

[ YOCTO #14572 ]

Signed-off-by: Ross Burton 
---
 .../mozjs/mozjs-115/armv5.patch   | 19 +++
 .../mozjs/mozjs-115_115.2.0.bb|  2 ++
 2 files changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-extended/mozjs/mozjs-115/armv5.patch

diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115/armv5.patch 
b/meta-oe/recipes-extended/mozjs/mozjs-115/armv5.patch
new file mode 100644
index 00..4c45955bca
--- /dev/null
+++ b/meta-oe/recipes-extended/mozjs/mozjs-115/armv5.patch
@@ -0,0 +1,19 @@
+The ISB instruction isn't available in ARMv5 or v6, so
+guard it's use to fix the build on qemuarmv5.
+
+Upstream-Status: Pending
+Signed-off-by: Ross Burton 
+
+diff --git a/js/src/jit/arm/Architecture-arm.cpp 
b/js/src/jit/arm/Architecture-arm.cpp
+--- a/js/src/jit/arm/Architecture-arm.cpp  2024-01-18 17:31:32.078718197 
+
 b/js/src/jit/arm/Architecture-arm.cpp  2024-01-18 18:00:16.738921445 
+
+@@ -529,7 +529,9 @@
+ void FlushExecutionContext() {
+ #ifndef JS_SIMULATOR_ARM
++#if __ARM_ARCH >= 7
+   // Ensure that any instructions already in the pipeline are discarded and
+   // reloaded from the icache.
+   asm volatile("isb\n" : : : "memory");
++#endif
+ #else
+   // We assume the icache flushing routines on other platforms take care of 
this
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115_115.2.0.bb 
b/meta-oe/recipes-extended/mozjs/mozjs-115_115.2.0.bb
index e1a547c339..84db3cd3c2 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs-115_115.2.0.bb
+++ b/meta-oe/recipes-extended/mozjs/mozjs-115_115.2.0.bb
@@ -16,6 +16,7 @@ SRC_URI = 
"https://archive.mozilla.org/pub/firefox/releases/${PV}esr/source/fire
file://musl-disable-stackwalk.patch \
file://0001-add-arm-to-list-of-mozinline.patch \
file://py3.12.patch \
+   file://armv5.patch \
"
 SRC_URI[sha256sum] = 
"51534dd2a158d955a2cb67cc1308f100f6c9def0788713ed8b4d743f3ad72457"
 
@@ -75,6 +76,7 @@ do_configure() {
 ${JIT} \
 ${ICU}
 }
+do_configure[cleandirs] += "${B}"
 
 do_install() {
 oe_runmake 'DESTDIR=${D}' install
-- 
2.34.1


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



Re: [oe] [ANNOUNCEMENT] New layer for parallel installable PHP versions and misc modules

2024-01-17 Thread Ross Burton
On 17 Jan 2024, at 13:21, Böszörményi Zoltán  wrote:
> 
> 2024. 01. 17. 13:42 keltezéssel, Ross Burton írta:
>> On 17 Jan 2024, at 09:40, Zoltan Boszormenyi via lists.openembedded.org 
>>  wrote:
>>> These recipes are now public at https://github.com/zboszor/meta-parallel-php
>> Can you submit the layer to the Layer Index at 
>> https://layers.openembedded.org/?
> 
> Done.

And approved. Thanks!

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



Re: [oe] [ANNOUNCEMENT] New layer for parallel installable PHP versions and misc modules

2024-01-17 Thread Ross Burton
On 17 Jan 2024, at 09:40, Zoltan Boszormenyi via lists.openembedded.org 
 wrote:
> These recipes are now public at https://github.com/zboszor/meta-parallel-php

Can you submit the layer to the Layer Index at https://layers.openembedded.org/?

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



Re: [oe] [meta-multimedia][PATCH] gerbera: upgrade 1.12.1 -> 2.0.0

2024-01-15 Thread Ross Burton
On 15 Jan 2024, at 10:15, Alper Ak via lists.openembedded.org 
 wrote:
> 
> +do_install:append() {
> +install -d ${D}/root/.config/
> +}
> +
> +FILES:${PN} += "/root/.config/“

I know it was there before, but remove this because it’s nonsense.

> +EXTRA_OECMAKE = "-DWITH_JS=FALSE -DWITH_MAGIC=FALSE”


Again I know this was there before, but libmagic is part of ‘file’ so add this 
as a PACKAGECONFIG.  Also the JS implementation is duktape which we have a 
package of, so that can be a PACKAGECONFIG too.

It’s useful to at least consider the defaults in a package when writing the 
PACKAGECONFIGs, so according to 
https://github.com/gerbera/gerbera/blob/master/CMakeLists.txt#L28 we should 
enable the magic PACKAGECONFIG by default.

Ross


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



[oe] [PATCH 5/5] raptor2: inherit gtk-doc

2024-01-12 Thread Ross Burton
From: Ross Burton 

Recent changes to oe-core[1] mean that if a configure.ac uses gtk-doc
then gtkdocize will be called. This means that recipes that don't
inherit gtk-doc (to depend on gtk-doc-native) but don't explicitly
disable the use of gtkdocize will fail to configure.

Inheriting gtk-doc both solves the configure failure, and allows us to
build the API documentation.

[1] oe-core 891ec38d4c5cc5ac7bc34938276261ebd6f6d54e

Signed-off-by: Ross Burton 
---
 meta-oe/recipes-support/raptor2/raptor2_2.0.16.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/raptor2/raptor2_2.0.16.bb 
b/meta-oe/recipes-support/raptor2/raptor2_2.0.16.bb
index 30df8e0648..85012bcfb3 100644
--- a/meta-oe/recipes-support/raptor2/raptor2_2.0.16.bb
+++ b/meta-oe/recipes-support/raptor2/raptor2_2.0.16.bb
@@ -15,7 +15,7 @@ SRC_URI = " \
 "
 SRC_URI[sha256sum] = 
"089db78d7ac982354bdbf39d973baf09581e6904ac4c92a98c5caadb3de44680"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig gtk-doc
 
 EXTRA_OECONF = " \
 --without-xml2-config \
-- 
2.34.1


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



[oe] [PATCH 2/5] glade: inherit gtk-doc, fix FILES

2024-01-12 Thread Ross Burton
From: Ross Burton 

Recent changes to oe-core[1] mean that if a configure.ac uses gtk-doc
then gtkdocize will be called. This means that recipes that don't
inherit gtk-doc (to depend on gtk-doc-native) but don't explicitly
disable the use of gtkdocize will fail to configure.

Inheriting gtk-doc both solves the configure failure, and allows us to
build the API documentation.

Also, clean up FILES:

Don't package all of ${datadir} in PN, as this means the locale
information isn't split into the appropriate packages.

.la files are deleted globally so there's no need to package them in
PN-dev.

Debug files are managed automatically so there's no need to package them
at all.

[1] oe-core 891ec38d4c5cc5ac7bc34938276261ebd6f6d54e

Signed-off-by: Ross Burton 
---
 meta-oe/recipes-devtools/glade/glade_3.22.2.bb | 7 ++-
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/meta-oe/recipes-devtools/glade/glade_3.22.2.bb 
b/meta-oe/recipes-devtools/glade/glade_3.22.2.bb
index 3936e04c6d..d11751a4b2 100644
--- a/meta-oe/recipes-devtools/glade/glade_3.22.2.bb
+++ b/meta-oe/recipes-devtools/glade/glade_3.22.2.bb
@@ -9,7 +9,7 @@ DEPENDS = "gtk+3 glib-2.0 libxml2 intltool-native \
autoconf-archive-native \
 "
 GNOMEBASEBUILDCLASS = "autotools"
-inherit features_check autotools pkgconfig gnomebase gobject-introspection 
mime-xdg
+inherit features_check autotools pkgconfig gnomebase gobject-introspection 
mime-xdg gtk-doc
 
 # xfce4 depends on libwnck3, gtk+3 and libepoxy need to be built with x11 
PACKAGECONFIG.
 # cairo would at least needed to be built with xlib.
@@ -23,7 +23,4 @@ SRC_URI[sha256sum] = 
"edefa6eb24b4d15bd52589121dc109bc08c286157c41288deb74dd9cc3
 
 EXTRA_OECONF += "--disable-man-pages"
 
-FILES:${PN} += "${datadir}/* ${libdir}/glade/modules/libgladegtk.so"
-FILES:${PN}-dev += "${libdir}/glade/modules/libgladegtk.la"
-FILES:${PN}-dbg += "${libdir}/glade/modules/.debug/libgladegtk.so"
-
+FILES:${PN} += "${datadir}/glade ${datadir}/metainfo 
${libdir}/glade/modules/libgladegtk.so"
-- 
2.34.1


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



[oe] [PATCH 4/5] gmime: inherit gtk-doc

2024-01-12 Thread Ross Burton
From: Ross Burton 

Recent changes to oe-core[1] mean that if a configure.ac uses gtk-doc
then gtkdocize will be called. This means that recipes that don't
inherit gtk-doc (to depend on gtk-doc-native) but don't explicitly
disable the use of gtkdocize will fail to configure.

Inheriting gtk-doc both solves the configure failure, and allows us to
build the API documentation.

[1] oe-core 891ec38d4c5cc5ac7bc34938276261ebd6f6d54e

Signed-off-by: Ross Burton 
---
 meta-oe/recipes-gnome/gmime/gmime_3.2.13.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-gnome/gmime/gmime_3.2.13.bb 
b/meta-oe/recipes-gnome/gmime/gmime_3.2.13.bb
index d8a6c1d6cf..f51451d971 100644
--- a/meta-oe/recipes-gnome/gmime/gmime_3.2.13.bb
+++ b/meta-oe/recipes-gnome/gmime/gmime_3.2.13.bb
@@ -6,7 +6,7 @@ SECTION = "libs"
 DEPENDS = "glib-2.0 zlib"
 
 GNOMEBASEBUILDCLASS = "autotools"
-inherit gnomebase gobject-introspection vala
+inherit gnomebase gobject-introspection vala gtk-doc
 
 SRC_URI = 
"https://github.com/jstedfast/${BPN}/releases/download/${PV}/${BP}.tar.xz \
 file://iconv-detect.h \
-- 
2.34.1


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



[oe] [PATCH 3/5] libgxim: inherit gtk-doc

2024-01-12 Thread Ross Burton
From: Ross Burton 

Recent changes to oe-core[1] mean that if a configure.ac uses gtk-doc
then gtkdocize will be called. This means that recipes that don't
inherit gtk-doc (to depend on gtk-doc-native) but don't explicitly
disable the use of gtkdocize will fail to configure.

Inheriting gtk-doc both solves the configure failure, and allows us to
build the API documentation.

[1] oe-core 891ec38d4c5cc5ac7bc34938276261ebd6f6d54e

Signed-off-by: Ross Burton 
---
 meta-oe/recipes-extended/libgxim/libgxim_0.5.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/libgxim/libgxim_0.5.0.bb 
b/meta-oe/recipes-extended/libgxim/libgxim_0.5.0.bb
index 3912e0a8d7..eb85a07e99 100644
--- a/meta-oe/recipes-extended/libgxim/libgxim_0.5.0.bb
+++ b/meta-oe/recipes-extended/libgxim/libgxim_0.5.0.bb
@@ -26,6 +26,6 @@ file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
 EXTRA_OECONF = "--enable-debug --disable-static --disable-rebuilds 
--enable-compile-warnings=minimum"
 DEPENDS += "gtk+ glib-2.0 glib-2.0-native ruby-native intltool-native 
gnome-common-native autoconf-archive-native"
 
-inherit features_check autotools pkgconfig gettext
+inherit features_check autotools pkgconfig gettext gtk-doc
 
 REQUIRED_DISTRO_FEATURES = "x11"
-- 
2.34.1


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



[oe] [PATCH 1/5] telepathy-glib: inherit gtk-doc

2024-01-12 Thread Ross Burton
From: Ross Burton 

Recent changes to oe-core[1] mean that if a configure.ac uses gtk-doc
then gtkdocize will be called. This means that recipes that don't
inherit gtk-doc (to depend on gtk-doc-native) but don't explicitly
disable the use of gtkdocize will fail to configure.

Inheriting gtk-doc both solves the configure failure, and allows us to
build the API documentation.

[1] oe-core 891ec38d4c5cc5ac7bc34938276261ebd6f6d54e

Signed-off-by: Ross Burton 
---
 meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb 
b/meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb
index 1891eae40d..e083039232 100644
--- a/meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb
+++ b/meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb
@@ -10,7 +10,7 @@ SRC_URI[sha256sum] = 
"9e0df1d8f857e0270cf0b32e2d1ca5a24aa7282873361785d573f72ad7
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=e413d83db6ee8f2c8e6055719096a48e"
 
-inherit autotools pkgconfig gettext gobject-introspection vala
+inherit autotools pkgconfig gettext gobject-introspection vala gtk-doc
 
 # Respect GI_DATA_ENABLED value when enabling vala-bindings:
 # configure: error: GObject-Introspection must be enabled for Vala bindings
-- 
2.34.1


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



Re: [oe] [meta-oe][PATCH] flatpak: fix gtk-doc build

2024-01-12 Thread Ross Burton
On 12 Jan 2024, at 13:08, Markus Volk via lists.openembedded.org 
 wrote:
> 
> this fixes:
> | Run-time dependency gtk-doc found: NO (tried pkgconfig)
> |
> | ../git/meson.build:206:13: ERROR: Dependency "gtk-doc" not found, tried 
> pkgconfig

Hm, before I posted my gtk-doc changes I built everything in meta-oe that 
inherited gtk-doc, so I’m not sure how this slipped through the cracks.

Thanks for fixing.

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



[oe] [PATCH 2/4] libuser: remove obsolete GTKDOC_DOCDIR assignment

2024-01-12 Thread Ross Burton
From: Ross Burton 

Now that autotools uses autopoint to call gtkdocize, this variable is no
longer needed.

Signed-off-by: Ross Burton 
---
 meta-gnome/recipes-support/libuser/libuser_0.64.bb | 5 -
 1 file changed, 5 deletions(-)

diff --git a/meta-gnome/recipes-support/libuser/libuser_0.64.bb 
b/meta-gnome/recipes-support/libuser/libuser_0.64.bb
index 973159c792..6d3bce8a1c 100644
--- a/meta-gnome/recipes-support/libuser/libuser_0.64.bb
+++ b/meta-gnome/recipes-support/libuser/libuser_0.64.bb
@@ -27,11 +27,6 @@ REQUIRED_DISTRO_FEATURES = "pam"
 
 EXTRA_OEMAKE = "PYTHON_CPPFLAGS=-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}"
 
-GTKDOC_DOCDIR = "${S}/docs/reference"
-
-# run autopoint since it needs ABOUT-NLS and admin/config.rpath from gettext
-#EXTRA_AUTORECONF:remove = "--exclude=autopoint"
-
 do_configure:prepend() {
 install -d ${S}/admin -d ${S}/m4
 touch ${S}/ABOUT-NLS ${S}/admin/config.rpath
-- 
2.34.1


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



[oe] [PATCH 4/4] gtksourceview4: remove obsolete workaround for build failures

2024-01-12 Thread Ross Burton
From: Ross Burton 

This was likely fixed in 9bea9d1 upstream.

Signed-off-by: Ross Burton 
---
 .../gtksourceview/gtksourceview4_4.8.4.bb| 12 
 1 file changed, 12 deletions(-)

diff --git a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb 
b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
index 5d7d02a2c9..38ca4a39e6 100644
--- a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
+++ b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
@@ -21,16 +21,4 @@ SRC_URI[sha256sum] = 
"7ec9d18fb283d1f84a3a3eff3b7a72b09a10c9c006597b3fbabbb59584
 GIR_MESON_OPTION = 'gir'
 GTKDOC_MESON_OPTION = "gtk_doc"
 
-# Override the definition in meson.bbclass.  The dependencies in mason.build 
are incomplete
-# and the recipe will not build with "-j 1".  This fix is benign but should be 
reviewed when
-# updating versions.
-#
-meson_do_compile() {
-bbnote "== generating gtksourceview-gresources.h "
-bbnote "PARALLEL_MAKE is ${PARALLEL_MAKE}"
-ninja ${PARALLEL_MAKE} gtksourceview/gtksourceview-gresources.h
-bbnote "== compiling target all "
-ninja ${PARALLEL_MAKE}
-}
-
 FILES:${PN} += "${datadir}/gtksourceview-4"
-- 
2.34.1


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



[oe] [PATCH 1/4] libuser: fix gtk-doc configure call

2024-01-12 Thread Ross Burton
From: Ross Burton 

Update the GTK_DOC_CHECK invocation to specify where the
documentation will be built (as the default is ./docs).

This is needed so that gtkdocize as run by autopoint knows where the
documentation will be built. At the moment we manually call gtkdocize
but this will change to autopoint in the future.

Signed-off-by: Ross Burton 
---
 .../libuser/libuser/gtkdoc.patch  | 22 +++
 .../recipes-support/libuser/libuser_0.64.bb   |  1 +
 2 files changed, 23 insertions(+)
 create mode 100644 meta-gnome/recipes-support/libuser/libuser/gtkdoc.patch

diff --git a/meta-gnome/recipes-support/libuser/libuser/gtkdoc.patch 
b/meta-gnome/recipes-support/libuser/libuser/gtkdoc.patch
new file mode 100644
index 00..4d11b94e02
--- /dev/null
+++ b/meta-gnome/recipes-support/libuser/libuser/gtkdoc.patch
@@ -0,0 +1,22 @@
+Update the GTK_DOC_CHECK invocation to specify where the
+documentation will be built (as the default is ./docs).
+
+This is needed so that gtkdocize as run by autopoint knows where the
+documentation will be built.
+
+Upstream-Status: Submitted [https://pagure.io/libuser/pull-request/70]
+Signed-off-by: Ross Burton 
+
+diff --git a/configure.ac b/configure.ac
+index 0bd4a67..51508b7 100644
+--- a/configure.ac
 b/configure.ac
+@@ -169,7 +169,7 @@ if test "$GCC" = yes ; then
+  AC_MSG_RESULT([$enable_Werror])
+ fi
+ 
+-GTK_DOC_CHECK
++GTK_DOC_CHECK([1.14],[--flavour no-tmpl --docdir docs/reference])
+ 
+ AC_CONFIG_FILES([Makefile po/Makefile.in docs/Makefile docs/reference/Makefile
+ libuser.pc])
diff --git a/meta-gnome/recipes-support/libuser/libuser_0.64.bb 
b/meta-gnome/recipes-support/libuser/libuser_0.64.bb
index d86a577b10..973159c792 100644
--- a/meta-gnome/recipes-support/libuser/libuser_0.64.bb
+++ b/meta-gnome/recipes-support/libuser/libuser_0.64.bb
@@ -14,6 +14,7 @@ SECTION = "base"
 SRC_URI = "https://releases.pagure.org/libuser/libuser-${PV}.tar.gz \
file://0001-docs-Disable-building.patch \
file://0002-remove-unused-execinfo.h.patch \
+   file://gtkdoc.patch \
"
 
 SRC_URI[sha256sum] = 
"ea6094c72cb9e60a42fb53509dc98d124a340f1c9222783b503208adc16a0a8f"
-- 
2.34.1


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



[oe] [PATCH 3/4] gtksourceview4: remove check for target gtk-doc

2024-01-12 Thread Ross Burton
From: Ross Burton 

Packages that use gtk-doc want to find a native gtk-doc not a target
gtk-doc, so remove the pointless check for a target gtk-doc package.

This only worked before as it was being pulled in via DEPENDS in
glib-2.0, but as of oe-core f91694f this no longer happens.

Signed-off-by: Ross Burton 
---
 .../files/0001-remove-pointless-check.patch   | 38 +++
 .../gtksourceview/gtksourceview4_4.8.4.bb |  4 +-
 2 files changed, 40 insertions(+), 2 deletions(-)
 create mode 100644 
meta-gnome/recipes-gnome/gtksourceview/files/0001-remove-pointless-check.patch

diff --git 
a/meta-gnome/recipes-gnome/gtksourceview/files/0001-remove-pointless-check.patch
 
b/meta-gnome/recipes-gnome/gtksourceview/files/0001-remove-pointless-check.patch
new file mode 100644
index 00..8230bbbd16
--- /dev/null
+++ 
b/meta-gnome/recipes-gnome/gtksourceview/files/0001-remove-pointless-check.patch
@@ -0,0 +1,38 @@
+From 397751846130f79d5fbe8d617b788f3bcbb36816 Mon Sep 17 00:00:00 2001
+From: Ross Burton 
+Date: Tue, 9 Jan 2024 22:20:03 +
+Subject: [PATCH] meson: remove pointless gtk-doc check
+
+There's no point explicitly checking for gtk-doc, for two reasons:
+
+1) In cross-compiled environments this looks for a target gtk-doc, not a
+   native gtk-doc, so it should set native:true.
+
+2) The gnome.gtkdoc() function checks for gtk-doc itself.
+
+Upstream-Status: Backport 
[https://gitlab.gnome.org/GNOME/gtksourceview/-/merge_requests/351]
+Signed-off-by: Ross Burton 
+---
+ meson.build | 6 --
+ 1 file changed, 6 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index ba07da70..1109daea 100644
+--- a/meson.build
 b/meson.build
+@@ -107,12 +107,6 @@ else
+   vapigen_dep = []
+ endif
+ 
+-if build_gtk_doc
+-  gtk_doc_dep = dependency('gtk-doc', version: gtk_doc_req)
+-else
+-  gtk_doc_dep = []
+-endif
+-
+ # Look for the libxml2 library manually on Visual Studio if
+ # its pkg-config file could not be found, as the NMake
+ # Makefiles of libxml2 do not generate the pkg-config files
+-- 
+2.34.1
+
diff --git a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb 
b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
index 353f02f1ba..5d7d02a2c9 100644
--- a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
+++ b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
@@ -10,12 +10,12 @@ PNAME = "gtksourceview"
 
 S = "${WORKDIR}/${PNAME}-${PV}"
 
-
 inherit gnomebase lib_package gettext features_check gtk-doc 
gobject-introspection vala
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
-SRC_URI = 
"https://download.gnome.org/sources/gtksourceview/4.8/${PNAME}-${PV}.tar.xz;
+SRC_URI = 
"https://download.gnome.org/sources/gtksourceview/4.8/${PNAME}-${PV}.tar.xz \
+   file://0001-remove-pointless-check.patch"
 SRC_URI[sha256sum] = 
"7ec9d18fb283d1f84a3a3eff3b7a72b09a10c9c006597b3fbabbb5958420a87d"
 
 GIR_MESON_OPTION = 'gir'
-- 
2.34.1


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



Re: [oe] [meta-webserver][PATCH] nginx: fix CVE-2023-44487

2024-01-11 Thread Ross Burton


> On 10 Jan 2024, at 20:08, Alper Ak via lists.openembedded.org 
>  wrote:
> 
> +Upstream-Status: Backport 
> [https://github.com/nginx/nginx/commit/6ceef192e7af1c507826ac38a2d43f08bf265fb9]
> +Signed-off-by: alperak 

Please put the CVE: CVE-2023-44487 tag here, instead of in the commit log.

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



Re: [oe] [meta-oe][PATCHv3] wavpack: upgrade 5.1.0 -> 5.6.0

2024-01-09 Thread Ross Burton
On 9 Jan 2024, at 13:07, Alper Ak  wrote:
> I thought there should be no manpages in target so removed with cmake option. 
> I guess, I should have created packageconfigs for both "manpages" and "shared 
> lib" options and enable only shared lib in bb. If people don't want to use 
> shared lib or want to add manpages, it can be added from bbappend.

If the manpages are trivial to build or pregenerated, then just always install 
them and let the packaging do its thing (put them into -doc so they’re not 
installed by default, but there if needed).

We only need PACKAGECONFIGs for things like full API documentation that takes 
five minutes to build and more build dependencies.

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



Re: [oe] [meta-oe][PATCHv3] wavpack: upgrade 5.1.0 -> 5.6.0

2024-01-09 Thread Ross Burton


> On 8 Jan 2024, at 18:10, Alper Ak via lists.openembedded.org 
>  wrote:
> 
> -inherit autotools lib_package

You removed lib_package, which will change the packaging.  Always remember to 
check the packaging only changes in ways you expect (buildhistory-diff is very 
useful for this):

packages/cortexa57-poky-linux/wavpack: PACKAGES: removed "wavpack-bin”

This is because you removed lib_package, which adds that package.  This class 
pulls ${bindir} into ${PN}-bin, so the main package is _just_ the library.  Of 
course there may be no binaries in bindir so it could have been a redundant 
inherit.

packages/cortexa57-poky-linux/wavpack/wavpack: PKG changed from libwavpack1 to 
wavpack [default] - may indicate debian renaming failure

This is what happens when the base package used to just contain a library (so 
it gets renamed to reflect the library name) and now doesn’t, so can’t be 
renamed. This suggests that it was not a redundant inherit after all.

packages/cortexa57-poky-linux/wavpack/wavpack: FILELIST: removed 
"/usr/lib/libwavpack.so.1.2.0", added "/usr/bin/wavpack /usr/bin/wvgain 
/usr/lib/libwavpack.so.1.2.5 /usr/bin/wvunpack /usr/bin/wvtag”

Here we can see .so.1.2.0 being replaced with .so.1.2.5 which is expected, but 
also ${bindir} being added as the -bin package no longer exists.  This is wrong 
and lib_package should be inherited.

packages/cortexa57-poky-linux/wavpack/wavpack-dev: RRECOMMENDS: added 
"openssl-dev”

This is expected as you depend on openssl now.

packages/cortexa57-poky-linux/wavpack/wavpack-doc: FILELIST: removed all items 
"/usr/share/man/man1/wavpack.1 /usr/share/man/man1/wvunpack.1 
/usr/share/man/man1/wvtag.1 /usr/share/man/man1/wvgain.1”
packages/cortexa57-poky-linux/wavpack/wavpack-doc: PKGSIZE changed from 25522 
to 0 (-100%)

Manpages disappeared too.  Do they need to be enabled, or were they removed?

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



Re: [oe] [meta-oe][PATCH] pcsc-tools: upgrade 1.6.2 -> 1.7.1

2024-01-08 Thread Ross Burton
On 8 Jan 2024, at 05:30, Alper Ak via lists.openembedded.org 
 wrote:
> +DEPENDS = "pcsc-lite autoconf-archive”

autoconf-archive-native, please.

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



Re: [oe] [PATCH 8/9] flatpak: do not rely on executables from the host

2024-01-03 Thread Ross Burton


> On 22 Dec 2023, at 16:20, Alexander Kanavin via lists.openembedded.org 
>  wrote:
> 
> On Fri 22. Dec 2023 at 17.50,  wrote:
> 
> -EXTRA_OEMESON += "-Dsystem_dbus_proxy=${bindir}/xdg-dbus-proxy 
> -Dsystem_bubblewrap=${bindir}/bwrap"
> 
> My understanding was that these were runtime dependencies and setting the 
> paths would ensure that target flatpak can find them
> 
> No, it actually tries to find these at build time on the host, and run them, 
> checking if the versions are correct. Which is of course a bogus check, 
> because they would be provided by the host distro, and not match what is 
> going to be in the target image: 
> https://github.com/flatpak/flatpak/blob/main/meson.build#L254
> 
> If they're unset, then flatpak instead falls back to internal helper binaries 
> that it installs into libexec:
> https://github.com/flatpak/flatpak/blob/main/meson.build#L351

This should be in the commit message. :)

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



[oe] [PATCH v2] lemon: upgrade to 3.44.2

2023-12-21 Thread Ross Burton
From: Ross Burton 

Lemon is packaged as part of sqlite, and sqlite 3.7.3 was released back
in 2010[1].

As the small source tarballs no longer include the tools, fetch the
sqlite github mirror instead.

Don't bother installing a pretty minimal manpage, as very few projects
use lemon (sqlite itself, and libpbnjson).

[1] https://www.sqlite.org/releaselog/3_7_3.html

Signed-off-by: Ross Burton 
---
 meta-oe/recipes-devtools/lemon/files/lemon.1  | 63 ---
 meta-oe/recipes-devtools/lemon/lemon.inc  | 25 
 .../recipes-devtools/lemon/lemon_3.44.2.bb| 24 +++
 meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb |  7 ---
 4 files changed, 24 insertions(+), 95 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/lemon/files/lemon.1
 delete mode 100644 meta-oe/recipes-devtools/lemon/lemon.inc
 create mode 100644 meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
 delete mode 100644 meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb

diff --git a/meta-oe/recipes-devtools/lemon/files/lemon.1 
b/meta-oe/recipes-devtools/lemon/files/lemon.1
deleted file mode 100644
index 914ee07013..00
--- a/meta-oe/recipes-devtools/lemon/files/lemon.1
+++ /dev/null
@@ -1,63 +0,0 @@
-.Dd 2002-10-04
-.Dt LEMON 1
-.Os "Debian GNU/Linux"
-.\" Manual page created by Guus Sliepen 
-.Sh NAME
-.Nm lemon
-.Nd The Lemon Parser Generator
-.Sh SYNOPSIS
-.Nm
-.Op Fl bcgmqsx
-.Ar input
-.Sh DESCRIPTION
-.Nm
-is an LALR(1) parser generator for C or C++.
-It does the same job as bison and yacc.
-But 
-.Nm
-is not another bison or yacc clone.
-It uses a different grammar syntax which is designed to reduce the number of 
coding errors.
-.Nm
-also uses a more sophisticated parsing engine that is faster than yacc and 
bison
-and which is both reentrant and thread-safe.
-Furthermore, 
-.Nm
-implements features that can be used to eliminate resource leaks,
-making is suitable for use in long-running programs such as graphical user 
interfaces or embedded controllers.
-.Pp
-.Nm
-will read the grammer from
-.Ar input
-and write out a parser for that grammar in the C language.
-.Sh OPTIONS
-.Bl -tag -width indent
-.It Fl b
-Print only the basis in report.
-.It Fl c
-Don't compress the action table.
-.It Fl g
-Print grammar without actions.
-.It Fl m
-Output a makeheaders compatible file.
-.It Fl q
-(Quiet) Don't print the report file.
-.It Fl s
-Print parser stats to standard output.
-.It Fl x
-Print the version number.
-.El
-.Sh FILES
-.Bl -tag -width indent
-.It Pa /usr/share/lemon/lempar.c
-Driver template for the
-.Nm
-parser generator.
-.El
-.Sh AUTHOR
-.Nm
-has been written by
-.An D. Richard Hipp Aq d...@hwaci.com .
-.Pp
-This manual page was written by
-.An Guus Sliepen Aq g...@debian.org
-for the Debian GNU/Linux system.
diff --git a/meta-oe/recipes-devtools/lemon/lemon.inc 
b/meta-oe/recipes-devtools/lemon/lemon.inc
deleted file mode 100644
index 57b9fb710e..00
--- a/meta-oe/recipes-devtools/lemon/lemon.inc
+++ /dev/null
@@ -1,25 +0,0 @@
-DESCRIPTION = "The Lemon Parser Generator"
-HOMEPAGE = "http://www.hwaci.com/sw/lemon/;
-LICENSE = "PD"
-SECTION = "devel"
-
-SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \
-   file://lemon.1"
-
-S = "${WORKDIR}/sqlite-${PV}/tool"
-
-do_compile() {
-${CC} ${CFLAGS} lemon.c -c -o lemon.o
-${CCLD} ${LDFLAGS} lemon.o -o lemon
-}
-
-do_install() {
-install -d ${D}${bindir}
-install -m 0755 lemon ${D}${bindir}
-install -m 0644 lempar.c ${D}${bindir}
-install -d ${D}${mandir}/man1
-install -m 0644 ${WORKDIR}/lemon.1 ${D}${mandir}/man1/
-}
-
-BBCLASSEXTEND = "native"
-
diff --git a/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb 
b/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
new file mode 100644
index 00..2904a454dc
--- /dev/null
+++ b/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "The Lemon Parser Generator"
+HOMEPAGE = "https://sqlite.org/src/file/doc/lemon.html;
+LICENSE = "PD"
+SECTION = "devel"
+
+LIC_FILES_CHKSUM = 
"file://tool/lemon.c;endline=8;md5=c7551a78fa3fdecd96d1ad6761d205ee"
+
+SRC_URI = "git://github.com/sqlite/sqlite;protocol=https;branch=branch-3.44"
+
+SRCREV = "c8f9803dc32bfee78a9ca2b1abbe39499729219b"
+
+S = "${WORKDIR}/git"
+
+do_compile() {
+${CC} ${CFLAGS} ${LDFLAGS} tool/lemon.c -o lemon
+}
+
+do_install() {
+install -d ${D}${bindir}
+install -m 0755 lemon ${D}${bindir}
+install -m 0644 tool/lempar.c ${D}${bindir}
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb 
b/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb
deleted file mode 100644
index 354db17e6e..00
--- a/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb
+++ /dev/null
@@ -1,7 +0,0 @@
-require lemon.inc
-
-LIC_FILES_CHKSUM = 
"file://lemon.c;endline=8;md5=c7551a78fa3fdecd96d1ad

Re: [oe] [PATCH 1/2] lemon: upgrade to 3.44.2

2023-12-21 Thread Ross Burton
On 20 Dec 2023, at 21:41, Khem Raj via lists.openembedded.org 
 wrote:
>> +${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} tool/lemon.c -o lemon
> 
> why do we need CPPFLAGS here ?

I’ve just realised that CFLAGS includes CPPFLAGS. I wonder how many times I’ve 
done this. :)

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



[oe] [PATCH] renderdoc: no need to depend on vim-native

2023-12-21 Thread Ross Burton
From: Ross Burton 

Remove the patch to bring back the user of xxd from vim-native, the
patch claimed that the cross-compiling rules were broken. However they
work just fine if you tell it what compiler to use, as the default is
"c++" and that isn't in HOSTTOOLS.

Signed-off-by: Ross Burton 
---
 ...d-instead-of-cross-compiling-shim-bi.patch | 57 ---
 .../renderdoc/renderdoc_1.27.bb   |  2 +-
 2 files changed, 1 insertion(+), 58 deletions(-)
 delete mode 100644 
meta-oe/recipes-graphics/renderdoc/renderdoc/0001-renderdoc-use-xxd-instead-of-cross-compiling-shim-bi.patch

diff --git 
a/meta-oe/recipes-graphics/renderdoc/renderdoc/0001-renderdoc-use-xxd-instead-of-cross-compiling-shim-bi.patch
 
b/meta-oe/recipes-graphics/renderdoc/renderdoc/0001-renderdoc-use-xxd-instead-of-cross-compiling-shim-bi.patch
deleted file mode 100644
index e96dedfc39..00
--- 
a/meta-oe/recipes-graphics/renderdoc/renderdoc/0001-renderdoc-use-xxd-instead-of-cross-compiling-shim-bi.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From 41a8c9b5ac13066770baee476ebf9828371f4dad Mon Sep 17 00:00:00 2001
-From: Adrian Ratiu 
-Date: Tue, 24 Sep 2019 16:07:18 +0300
-Subject: [PATCH] renderdoc: use xxd instead of cross-compiling shim binary
-
-Renderdoc's attempt to cross compile an xxd replacement by directly
-calling a host cross-compiler breaks under OE's recipe specific
-sysroots protection because this is not a native recipe, so we just
-use xxd-native instead.
-
-Upstream-Status: Inappropriate [embedded-specific]
-

- renderdoc/CMakeLists.txt | 23 +--
- 1 file changed, 1 insertion(+), 22 deletions(-)
-
-diff --git a/renderdoc/CMakeLists.txt b/renderdoc/CMakeLists.txt
-index 5cb7440a4..453a034ba 100644
 a/renderdoc/CMakeLists.txt
-+++ b/renderdoc/CMakeLists.txt
-@@ -370,26 +370,6 @@ set(data
- set(data_objects)
- 
- if(UNIX)
--# If we're cross-compiling, include-bin will get built for the target and 
we
--# then can't execute it. Instead, we force calling c++ (which we can 
safely
--# assume is present) directly to build the binary
--
--if(CMAKE_CROSSCOMPILING)
--set(HOST_NATIVE_CPP_COMPILER c++ CACHE STRING "Command to run to 
compile a .cpp into an executable. Default is just c++")
--
--add_custom_command(OUTPUT 
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/include-bin
--WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
--COMMAND ${CMAKE_COMMAND} -E make_directory 
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
--COMMAND ${HOST_NATIVE_CPP_COMPILER} 3rdparty/include-bin/main.cpp 
-o ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/include-bin
--DEPENDS 3rdparty/include-bin/main.cpp)
--set(INCLUDE_BIN_EXE "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/include-bin")
--set(INCLUDE_BIN_DEP "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/include-bin")
--else()
--add_executable(include-bin 3rdparty/include-bin/main.cpp)
--set(INCLUDE_BIN_EXE $)
--set(INCLUDE_BIN_DEP include-bin)
--endif()
--
- foreach(res ${data})
- set(in ${res})
- set(working_dir ${CMAKE_CURRENT_SOURCE_DIR})
-@@ -399,8 +379,7 @@ if(UNIX)
- add_custom_command(OUTPUT ${out_src}
- WORKING_DIRECTORY ${working_dir}
- COMMAND ${CMAKE_COMMAND} -E make_directory ${out_src_dir}
--COMMAND ${INCLUDE_BIN_EXE} ${in} ${out_src}
--DEPENDS ${INCLUDE_BIN_DEP}
-+COMMAND xxd -i ${in} ${out_src}
- DEPENDS ${res})
- 
- list(APPEND data_objects ${out_src})
diff --git a/meta-oe/recipes-graphics/renderdoc/renderdoc_1.27.bb 
b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.27.bb
index 112f0ddcbe..58f2275736 100644
--- a/meta-oe/recipes-graphics/renderdoc/renderdoc_1.27.bb
+++ b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.27.bb
@@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.md;md5=36d34a46cb71546195d2b0c626a52e5d"
 SRCREV = "35b13a8e8fd2a331854dba6da81a20452e142d6f"
 SRC_URI = " \
 git://github.com/baldurk/${BPN}.git;protocol=https;branch=v1.x \
-file://0001-renderdoc-use-xxd-instead-of-cross-compiling-shim-bi.patch \
 "
 S = "${WORKDIR}/git"
 
@@ -32,6 +31,7 @@ EXTRA_OECMAKE += "\
 -DENABLE_PYRENDERDOC=OFF \
 -DENABLE_RENDERDOCCMD=ON \
 -DCMAKE_BUILD_TYPE=Release \
+-DHOST_NATIVE_CPP_COMPILER="${BUILD_CXX}" \
 "
 
 FILES:${PN} += "${libdir}"
-- 
2.34.1


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



[oe] [PATCH 1/2] lemon: upgrade to 3.44.2

2023-12-20 Thread Ross Burton
From: Ross Burton 

Lemon is packaged as part of sqlite, and sqlite 3.7.3 was released back
in 2010[1].

As the small source tarballs no longer include the tools, fetch the
sqlite github mirror instead.

Don't bother installing a pretty minimal manpage, as very few projects
use lemon (sqlite itself, and libpbnjson).

[1] https://www.sqlite.org/releaselog/3_7_3.html

Signed-off-by: Ross Burton 
---
 meta-oe/recipes-devtools/lemon/files/lemon.1  | 63 ---
 meta-oe/recipes-devtools/lemon/lemon.inc  | 25 
 .../recipes-devtools/lemon/lemon_3.44.2.bb| 24 +++
 meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb |  7 ---
 4 files changed, 24 insertions(+), 95 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/lemon/files/lemon.1
 delete mode 100644 meta-oe/recipes-devtools/lemon/lemon.inc
 create mode 100644 meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
 delete mode 100644 meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb

diff --git a/meta-oe/recipes-devtools/lemon/files/lemon.1 
b/meta-oe/recipes-devtools/lemon/files/lemon.1
deleted file mode 100644
index 914ee07013..00
--- a/meta-oe/recipes-devtools/lemon/files/lemon.1
+++ /dev/null
@@ -1,63 +0,0 @@
-.Dd 2002-10-04
-.Dt LEMON 1
-.Os "Debian GNU/Linux"
-.\" Manual page created by Guus Sliepen 
-.Sh NAME
-.Nm lemon
-.Nd The Lemon Parser Generator
-.Sh SYNOPSIS
-.Nm
-.Op Fl bcgmqsx
-.Ar input
-.Sh DESCRIPTION
-.Nm
-is an LALR(1) parser generator for C or C++.
-It does the same job as bison and yacc.
-But 
-.Nm
-is not another bison or yacc clone.
-It uses a different grammar syntax which is designed to reduce the number of 
coding errors.
-.Nm
-also uses a more sophisticated parsing engine that is faster than yacc and 
bison
-and which is both reentrant and thread-safe.
-Furthermore, 
-.Nm
-implements features that can be used to eliminate resource leaks,
-making is suitable for use in long-running programs such as graphical user 
interfaces or embedded controllers.
-.Pp
-.Nm
-will read the grammer from
-.Ar input
-and write out a parser for that grammar in the C language.
-.Sh OPTIONS
-.Bl -tag -width indent
-.It Fl b
-Print only the basis in report.
-.It Fl c
-Don't compress the action table.
-.It Fl g
-Print grammar without actions.
-.It Fl m
-Output a makeheaders compatible file.
-.It Fl q
-(Quiet) Don't print the report file.
-.It Fl s
-Print parser stats to standard output.
-.It Fl x
-Print the version number.
-.El
-.Sh FILES
-.Bl -tag -width indent
-.It Pa /usr/share/lemon/lempar.c
-Driver template for the
-.Nm
-parser generator.
-.El
-.Sh AUTHOR
-.Nm
-has been written by
-.An D. Richard Hipp Aq d...@hwaci.com .
-.Pp
-This manual page was written by
-.An Guus Sliepen Aq g...@debian.org
-for the Debian GNU/Linux system.
diff --git a/meta-oe/recipes-devtools/lemon/lemon.inc 
b/meta-oe/recipes-devtools/lemon/lemon.inc
deleted file mode 100644
index 57b9fb710e..00
--- a/meta-oe/recipes-devtools/lemon/lemon.inc
+++ /dev/null
@@ -1,25 +0,0 @@
-DESCRIPTION = "The Lemon Parser Generator"
-HOMEPAGE = "http://www.hwaci.com/sw/lemon/;
-LICENSE = "PD"
-SECTION = "devel"
-
-SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \
-   file://lemon.1"
-
-S = "${WORKDIR}/sqlite-${PV}/tool"
-
-do_compile() {
-${CC} ${CFLAGS} lemon.c -c -o lemon.o
-${CCLD} ${LDFLAGS} lemon.o -o lemon
-}
-
-do_install() {
-install -d ${D}${bindir}
-install -m 0755 lemon ${D}${bindir}
-install -m 0644 lempar.c ${D}${bindir}
-install -d ${D}${mandir}/man1
-install -m 0644 ${WORKDIR}/lemon.1 ${D}${mandir}/man1/
-}
-
-BBCLASSEXTEND = "native"
-
diff --git a/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb 
b/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
new file mode 100644
index 00..1b849922a6
--- /dev/null
+++ b/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "The Lemon Parser Generator"
+HOMEPAGE = "https://sqlite.org/src/file/doc/lemon.html;
+LICENSE = "PD"
+SECTION = "devel"
+
+LIC_FILES_CHKSUM = 
"file://tool/lemon.c;endline=8;md5=c7551a78fa3fdecd96d1ad6761d205ee"
+
+SRC_URI = "git://github.com/sqlite/sqlite;protocol=https;branch=branch-3.44"
+
+SRCREV = "c8f9803dc32bfee78a9ca2b1abbe39499729219b"
+
+S = "${WORKDIR}/git"
+
+do_compile() {
+${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} tool/lemon.c -o lemon
+}
+
+do_install() {
+install -d ${D}${bindir}
+install -m 0755 lemon ${D}${bindir}
+install -m 0644 tool/lempar.c ${D}${bindir}
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb 
b/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb
deleted file mode 100644
index 354db17e6e..00
--- a/meta-oe/recipes-devtools/lemon/lemon_3.7.3.bb
+++ /dev/null
@@ -1,7 +0,0 @@
-require lemon.inc
-
-LIC_FILES_CHKSUM = 
"file://lemon.c;endline=8;md5=c7551a78

[oe] [PATCH 2/2] php: remove lemon-native build dependency

2023-12-20 Thread Ross Burton
From: Ross Burton 

This was required by the sqlite2 extension, which was removed from PHP
in 2010[1].

[1] 
https://github.com/php/php-src/commit/6c76f3606cddeb010cf1fc5ea28b47456ea9639e

Signed-off-by: Ross Burton 
---
 meta-oe/recipes-devtools/php/php_8.2.9.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/php/php_8.2.9.bb 
b/meta-oe/recipes-devtools/php/php_8.2.9.bb
index 27d3be1b00..cb9d0060a3 100644
--- a/meta-oe/recipes-devtools/php/php_8.2.9.bb
+++ b/meta-oe/recipes-devtools/php/php_8.2.9.bb
@@ -6,7 +6,7 @@ LICENSE = "PHP-3.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5ebd5be8e2a89f634486445bd164bef0"
 
 BBCLASSEXTEND = "native"
-DEPENDS = "zlib bzip2 libxml2 virtual/libiconv php-native lemon-native"
+DEPENDS = "zlib bzip2 libxml2 virtual/libiconv php-native"
 DEPENDS:append:libc-musl = " libucontext"
 DEPENDS:class-native = "zlib-native libxml2-native"
 
-- 
2.34.1


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



Re: [oe] [meta-networking][PATCH v2] networkmanager: fix some missing pkgconfig

2023-12-20 Thread Ross Burton
On 20 Dec 2023, at 14:15, Thomas Perrot via lists.openembedded.org 
 wrote:
> 
> +RDEPENDS:${PN}-nmtui += "${PN}-daemon 
> ${@bb.utils.contains('PACKAGECONFIG','nmtui','libnewt','',d)}”

My point still remains: it looks like nmtui links to libnewt directly and 
doesn’t dlopen, so why is this needed?

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/libnmt-newt/meson.build?ref_type=heads#L29

Ross


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



Re: [oe] [meta-networking][PATCH] networkmanager: fix some missing pkgconfig

2023-12-20 Thread Ross Burton
Can you say “PACKAGECONFIG”, as pkgconfig is something else entirely.

> +PACKAGECONFIG[nmtui] = "-Dnmtui=true,-Dnmtui=false,libnewt,libnewt”

Doesn’t the shared library dependency happy automatically?  This puts the 
RDEPENDS on networkmanager, which isn’t the package containing nmtui.

Ross


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



Re: [oe] [meta-oe] [PATCH] minifi-cpp: Fix do_configure error builder aarch64

2023-12-13 Thread Ross Burton
On 13 Dec 2023, at 07:07, Khem Raj via lists.openembedded.org 
 wrote:
> 
> 
> On Tue, 12 Dec 2023 17:38:04 +0800, liezhi.y...@windriver.com wrote:
>> Fixed do_configure error when build on aarch64 host:
>> error: cannot guess build type; you must specify one
>> 
>> 
> 
> Applied, thanks!
> 
> [1/1] minifi-cpp: Fix do_configure error builder aarch64
>  commit: adecc463a3c090e5a9c54875a42047a427384f71

I stand by my comment that patching the config.guess is the wrong thing when we 
explicitly have a command whose job is to install updated config.guess files.

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



Re: [oe] [meta-oe] [PATCH] minifi-cpp: Fix do_configure error builder aarch64

2023-12-12 Thread Ross Burton
On 12 Dec 2023, at 16:42, Ross Burton via lists.openembedded.org 
 wrote:
> Also this is a huge red flag as it means this recipe is embeddings its own 
> copy of the uuid library instead of using the system library.

OH DEAR GOD NO.

https://github.com/apache/nifi-minifi-cpp/tree/main/thirdparty

If I were an OSV I’d be BBMASKing that recipe out because it’s going to be 
carrying an impressive number of CVEs.

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



Re: [oe] [meta-oe] [PATCH] minifi-cpp: Fix do_configure error builder aarch64

2023-12-12 Thread Ross Burton


> On 12 Dec 2023, at 09:38, Robert Yang via lists.openembedded.org 
>  wrote:
> +file://0001-config.guess-Support-build-on-aarch64.patch \

If that’s a standard autotools config.guess then use gnu-configize to install 
new files entirely.

Also this is a huge red flag as it means this recipe is embeddings its own copy 
of the uuid library instead of using the system library.

Ross


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



Re: [oe] [meta-gnome][PATCH] tracker: dont inherit gsettings

2023-12-11 Thread Ross Burton
On 11 Dec 2023, at 11:37, f_...@t-online.de wrote:
> 
> On Mon, Dec 11 2023 at 11:21:48 AM +00:00:00, Ross Burton 
>  wrote:
>> So the class is redundant, yes. Can you also add a check to the 
>> gsettings.bbclass so its harmless instead of crashing?
> 
> 
> something like this?
> gsettings_postinstrm () {
> [ -d $D${datadir}/glib-2.0/schemas ] && glib-compile-schemas 
> $D${datadir}/glib-2.0/schemas
> }
> 
> glib-compile-schemas hasn't an option to not fail if the directory was not 
> found
> 
> But maybe crashing isn't that bad. Helps to keep the recipes more clean I 
> think?

Crashing is bad: failing with an error message is better.  And recipes may have 
an option for gsettings (unlikely, I admit, but possible) and then they’ll need 
to mess about with conditional inherits.

Ross


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



Re: [oe] [meta-gnome][PATCH] tracker: dont inherit gsettings

2023-12-11 Thread Ross Burton
On 11 Dec 2023, at 11:20, f_...@t-online.de wrote:
> 
> On Mon, Dec 11 2023 at 10:20:29 AM +00:00:00, Ross Burton 
>  wrote:
>> Did you confirm that tracker doesn´t install gsettings schemas? This smells 
>> like a workaround that has collateral damage. Ross
> 
> 
> had a look at gsettings.bbclass and it wants to run 
> 
> gsettings_postinstrm () {
> glib-compile-schemas $D${datadir}/glib-2.0/schemas
> }
> 
> 
> ${D}${datadir}/glib-2.0 is not installed by tracker
> 
> 
> I guess thats the reason for exit 1

So the class is redundant, yes.  Can you also add a check to the 
gsettings.bbclass so its harmless instead of crashing?

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



Re: [oe] [meta-gnome][PATCH] tracker: dont inherit gsettings

2023-12-11 Thread Ross Burton
On 9 Dec 2023, at 17:09, Markus Volk via lists.openembedded.org 
 wrote:
> 
> this fixes an issue I encountered on raspberrypi4-64 at do_rootfs:
> ERROR: hyprland-image-1.0-r0 do_rootfs: Postinstall scriptlets of ['tracker'] 
> have failed. If the intention is to defer them to first boot,
> then please place them into pkg_postinst_ontarget:${PN} ().
> Deferring to first boot via 'exit 1' is no longer supported.

Did you confirm that tracker doesn’t install gsettings schemas?  This smells 
like a workaround that has collateral damage.

Ross


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



[oe] [PATCH 10/10] evolution-data-server: remove obsolete intltool DEPENDS

2023-12-08 Thread Ross Burton
From: Ross Burton 

Signed-off-by: Ross Burton 
---
 .../evolution-data-server/evolution-data-server.bb  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb 
b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
index edbe30ff87..11a52b455e 100644
--- a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
+++ b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb
@@ -1,7 +1,7 @@
 require ${BPN}.inc
 
 DEPENDS = " \
-${BPN}-native intltool-native gperf-native \
+${BPN}-native gperf-native \
 glib-2.0 gtk+3 gtk4 libxml2 icu \
 dbus db virtual/libiconv zlib libsoup-3.0 libical nss libsecret \
 "
-- 
2.34.1


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



[oe] [PATCH 09/10] libgsf: remove obsolete DEPENDS

2023-12-08 Thread Ross Burton
From: Ross Burton 

Signed-off-by: Ross Burton 
---
 meta-gnome/recipes-gnome/libgsf/libgsf_1.14.51.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/libgsf/libgsf_1.14.51.bb 
b/meta-gnome/recipes-gnome/libgsf/libgsf_1.14.51.bb
index a54991574e..5ee73f5638 100644
--- a/meta-gnome/recipes-gnome/libgsf/libgsf_1.14.51.bb
+++ b/meta-gnome/recipes-gnome/libgsf/libgsf_1.14.51.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=61464cfe342798eeced82efe9ae55f63"
 
 SECTION = "libs"
 
-DEPENDS= "libxml2 bzip2 glib-2.0 zlib gnome-common-native"
+DEPENDS= "libxml2 bzip2 glib-2.0 zlib"
 
 GNOMEBASEBUILDCLASS = "autotools"
 inherit gnomebase gobject-introspection gettext gtk-doc
-- 
2.34.1


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



[oe] [PATCH 08/10] gtksourceview3: remove obsolete DEPENDS

2023-12-08 Thread Ross Burton
From: Ross Burton 

Signed-off-by: Ross Burton 
---
 .../recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb   | 2 +-
 meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb  | 2 +-
 meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.10.0.bb | 1 -
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb 
b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb
index 75f199b10f..e504186b82 100644
--- a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb
+++ b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "http://projects.gnome.org/gtksourceview/;
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 
-DEPENDS = "gtk+3 libxml2 intltool-native gnome-common-native glib-2.0-native"
+DEPENDS = "gtk+3 libxml2 glib-2.0-native"
 
 PNAME = "gtksourceview"
 
diff --git a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb 
b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
index 6acd00324b..353f02f1ba 100644
--- a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
+++ b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "http://projects.gnome.org/gtksourceview/;
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 
-DEPENDS = "gtk+3 libxml2 intltool-native gnome-common-native glib-2.0-native"
+DEPENDS = "gtk+3 libxml2 glib-2.0-native"
 
 PNAME = "gtksourceview"
 
diff --git a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.10.0.bb 
b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.10.0.bb
index f43fe2cf53..a336b19096 100644
--- a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.10.0.bb
+++ b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.10.0.bb
@@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 DEPENDS = " \
 fribidi \
 glib-2.0-native \
-gnome-common-native \
 fontconfig \
 gtk4 \
 libxml2 \
-- 
2.34.1


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



[oe] [PATCH 06/10] keybinder: use autotools-brokensep instead of setting B

2023-12-08 Thread Ross Burton
From: Ross Burton 

Signed-off-by: Ross Burton 
---
 meta-gnome/recipes-support/keybinder/keybinder_3.0.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-gnome/recipes-support/keybinder/keybinder_3.0.bb 
b/meta-gnome/recipes-support/keybinder/keybinder_3.0.bb
index 20d6b1b627..444a545d41 100644
--- a/meta-gnome/recipes-support/keybinder/keybinder_3.0.bb
+++ b/meta-gnome/recipes-support/keybinder/keybinder_3.0.bb
@@ -9,7 +9,6 @@ DEPENDS = "gtk+3 gobject-introspection-native \
 LIC_FILES_CHKSUM = "file://COPYING;md5=1f18f9c6d8b4cfcc7d7804a243a4c0b4"
 
 S = "${WORKDIR}/git"
-B = "${S}"
 
 SRCREV = "736ccef40d39603b8111c8a3a0bca0319bbafdc0"
 PV = "3.0+git${SRCPV}"
@@ -18,7 +17,7 @@ SRC_URI = 
"git://github.com/engla/keybinder.git;branch=keybinder-3.0;protocol=ht
 
 RDEPENDS:${PN} = "gtk+"
 
-inherit features_check autotools gtk-doc gobject-introspection
+inherit features_check autotools-brokensep gtk-doc gobject-introspection
 
 REQUIRED_DISTRO_FEATURES = "x11"
 do_configure:prepend() {
-- 
2.34.1


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



[oe] [PATCH 07/10] keybinder: disable gtk-doc documentation

2023-12-08 Thread Ross Burton
From: Ross Burton 

The API documentation doesn't build, so force it off until this is fixed.

Signed-off-by: Ross Burton 
---
 meta-gnome/recipes-support/keybinder/keybinder_3.0.bb | 4 
 1 file changed, 4 insertions(+)

diff --git a/meta-gnome/recipes-support/keybinder/keybinder_3.0.bb 
b/meta-gnome/recipes-support/keybinder/keybinder_3.0.bb
index 444a545d41..278592dc6e 100644
--- a/meta-gnome/recipes-support/keybinder/keybinder_3.0.bb
+++ b/meta-gnome/recipes-support/keybinder/keybinder_3.0.bb
@@ -23,3 +23,7 @@ REQUIRED_DISTRO_FEATURES = "x11"
 do_configure:prepend() {
touch ${S}/ChangeLog
 }
+
+# gtk-doc generation doesn't work, so disable it:
+# ../keybinder-docs.sgml:26: element include: XInclude error : could not load 
../xml/tree_index.sgml, and no fallback was found
+GTKDOC_ENABLED = "False"
-- 
2.34.1


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



[oe] [PATCH 05/10] librest: inherit gtk-doc

2023-12-08 Thread Ross Burton
From: Ross Burton 

This recipe has gtk-doc API documentation.

Signed-off-by: Ross Burton 
---
 meta-gnome/recipes-gnome/rest/librest_0.8.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb 
b/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb
index 3a56486c0c..63372afa5d 100644
--- a/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb
+++ b/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb
@@ -11,7 +11,7 @@ DEPENDS = " \
 "
 
 GNOMEBASEBUILDCLASS = "autotools"
-inherit gnomebase gobject-introspection vala pkgconfig
+inherit gnomebase gobject-introspection vala pkgconfig gtk-doc
 
 GNOMEBN = "rest"
 
-- 
2.34.1


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



[oe] [PATCH 03/10] gspell: update DEPENDS, switch iso-codes for icu

2023-12-08 Thread Ross Burton
From: Ross Burton 

gspell was changed in 2020 to use icu instead of iso-codes[1].

Signed-off-by: Ross Burton 

[1] 
https://gitlab.gnome.org/GNOME/gspell/-/commit/d5a8b72e194a6542ac4f7c850fe126c3c80d3a05
---
 meta-gnome/recipes-gnome/gspell/gspell_1.12.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/gspell/gspell_1.12.2.bb 
b/meta-gnome/recipes-gnome/gspell/gspell_1.12.2.bb
index 7ad55da089..2668fc009f 100644
--- a/meta-gnome/recipes-gnome/gspell/gspell_1.12.2.bb
+++ b/meta-gnome/recipes-gnome/gspell/gspell_1.12.2.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://wiki.gnome.org/Projects/gspell;
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8c2e1ec1540fb3e0beb68361344cba7e"
 
-DEPENDS = "gtk+3 iso-codes enchant2"
+DEPENDS = "gtk+3 icu enchant2"
 
 GNOMEBASEBUILDCLASS = "autotools"
 inherit gnomebase gettext gobject-introspection vala gtk-doc
-- 
2.34.1


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



[oe] [PATCH 04/10] librest: remove spurious build dependencies

2023-12-08 Thread Ross Burton
From: Ross Burton 

These are not dependencies of librest 0.8.1. I imagine they ended up in
this recipe when the latest version was downgraded back to 0.8.1 and the
dependencies not reviewed.

Signed-off-by: Ross Burton 
---
 meta-gnome/recipes-gnome/rest/librest_0.8.1.bb | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb 
b/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb
index 51dc44cc4d..3a56486c0c 100644
--- a/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb
+++ b/meta-gnome/recipes-gnome/rest/librest_0.8.1.bb
@@ -4,13 +4,10 @@ LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
 
 DEPENDS = " \
-gi-docgen \
-gi-docgen-native \
 glib-2.0 \
 glib-2.0-native \
-json-glib \
 libsoup-2.4 \
-libxml2-native \
+libxml2 \
 "
 
 GNOMEBASEBUILDCLASS = "autotools"
-- 
2.34.1


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



[oe] [PATCH 02/10] gspell: inherit gtk-doc

2023-12-08 Thread Ross Burton
From: Ross Burton 

This recipe has gtk-doc API documentation.

Signed-off-by: Ross Burton 
---
 meta-gnome/recipes-gnome/gspell/gspell_1.12.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/gspell/gspell_1.12.2.bb 
b/meta-gnome/recipes-gnome/gspell/gspell_1.12.2.bb
index 67e64915b4..7ad55da089 100644
--- a/meta-gnome/recipes-gnome/gspell/gspell_1.12.2.bb
+++ b/meta-gnome/recipes-gnome/gspell/gspell_1.12.2.bb
@@ -6,6 +6,6 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=8c2e1ec1540fb3e0beb68361344cba7e"
 DEPENDS = "gtk+3 iso-codes enchant2"
 
 GNOMEBASEBUILDCLASS = "autotools"
-inherit gnomebase gettext gobject-introspection vala
+inherit gnomebase gettext gobject-introspection vala gtk-doc
 
 SRC_URI[archive.sha256sum] = 
"b4e993bd827e4ceb6a770b1b5e8950fce3be9c8b2b0cbeb22fdf992808dd2139"
-- 
2.34.1


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



[oe] [PATCH 01/10] Remove unused SRC_DISTRIBUTE_LICENSES

2023-12-08 Thread Ross Burton
From: Ross Burton 

This variable was removed in oe-core 8c9ef5, and didn't do what any of
these recipes seem to be using it for.

Signed-off-by: Ross Burton 
---
 meta-gnome/recipes-support/keybinder/keybinder_3.0.bb   | 2 --
 meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb | 2 +-
 meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb | 2 +-
 meta-oe/recipes-support/hdf5/hdf5_1.14.2.bb | 2 --
 4 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/meta-gnome/recipes-support/keybinder/keybinder_3.0.bb 
b/meta-gnome/recipes-support/keybinder/keybinder_3.0.bb
index 971ad90f9c..20d6b1b627 100644
--- a/meta-gnome/recipes-support/keybinder/keybinder_3.0.bb
+++ b/meta-gnome/recipes-support/keybinder/keybinder_3.0.bb
@@ -24,5 +24,3 @@ REQUIRED_DISTRO_FEATURES = "x11"
 do_configure:prepend() {
touch ${S}/ChangeLog
 }
-
-SRC_DISTRIBUTE_LICENSES += "X11"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb 
b/meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb
index 3fc7f39e85..05ece8b748 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb
@@ -2,7 +2,7 @@ SUMMARY = "Unicode Mingti (printed) TrueType Font"
 HOMEPAGE = "http://www.freedesktop.org/wiki/Software/CJKUnifonts;
 LICENSE = "Arphic-Public-License"
 LIC_FILES_CHKSUM = 
"file://license/english/ARPHICPL.TXT;md5=4555ed88e9a72fc9562af379d07c3350"
-SRC_DISTRIBUTE_LICENSES += "${PN}"
+
 RPROVIDES:${PN} = "virtual-chinese-font"
 PR = "r6"
 
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb 
b/meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb
index 5a403f0775..c7229df1b1 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb
@@ -6,7 +6,7 @@ SUMMARY:ttf-sazanami-mincho = "Sazanami Mincho Japanese 
TrueType font"
 HOMEPAGE = "http://sourceforge.jp/projects/efont/;
 LICENSE = "PD"
 LIC_FILES_CHKSUM = "file://README;md5=97d739900be6e852830f55aa3c07d4a0"
-SRC_DISTRIBUTE_LICENSES += "${PN}"
+
 RPROVIDES:${PN} = "virtual-japanese-font"
 PR = "r9"
 
diff --git a/meta-oe/recipes-support/hdf5/hdf5_1.14.2.bb 
b/meta-oe/recipes-support/hdf5/hdf5_1.14.2.bb
index e716430673..b8a81bb0b7 100644
--- a/meta-oe/recipes-support/hdf5/hdf5_1.14.2.bb
+++ b/meta-oe/recipes-support/hdf5/hdf5_1.14.2.bb
@@ -58,7 +58,5 @@ do_install:append() {
 
 BBCLASSEXTEND = "native"
 
-SRC_DISTRIBUTE_LICENSES += "HDF5"
-
 # h5fuse.sh script needs bash
 RDEPENDS:${PN} += "bash"
-- 
2.34.1


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



Re: [oe] [meta-oe][PATCHv3] xsetroot: upgrade 1.1.2 -> 1.1.3

2023-12-08 Thread Ross Burton
On 8 Dec 2023, at 07:43, Alper Ak via lists.openembedded.org 
 wrote:
> 
> Changelog:
> 
> * gitlab CI: stop requiring Signed-off-by in commits
> * Handle -Wsign-compare warnings
> * Variable scope reductions as recommended by cppcheck
> * Build xz tarballs instead of bzip2
> * CI: add a basic build test
> * Update configure.ac bug URL for gitlab migration
> * Update README for gitlab migration
> 
> Signed-off-by: alperak 
> ---
> v2, used xz instead of gz
> v3, added lixmu package to fix build issue

This is odd. 

Nothing in the changelog to suggest a new dependency (and the classic xorg apps 
haven’t been touched for literally a decade now). So did the old recipe not 
build either, or did something else change (like new xbitmaps dropped the 
libxmu dependency, so it wasn’t pulled in).

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



Re: [oe] [meta-oe][PATCH] xkeyboard-config: add recipe

2023-12-07 Thread Ross Burton
This recipe is already in oe-core.

Ross

> On 6 Dec 2023, at 20:46, Alper Ak via lists.openembedded.org 
>  wrote:
> 
> The X Keyboard (XKB) Extension essentially replaces the core protocol
> definition of a keyboard. The extension makes it possible to specify
> clearly and explicitly most aspects of keyboard behaviour on a per-key
> basis, and to track more closely the logical and physical state of a
> keyboard. It also includes a number of keyboard controls designed to
> make keyboards more accessible to people with physical impairments.
> 
> There are five components that define a complete keyboard mapping:
> symbols, geometry, keycodes, compat, and types; these five components
> can be combined together using the 'rules' component of the database
> provided by this project, xkeyboard-config.
> 
> The complete specification for the XKB Extension can be found here:
> 
>  http://xfree86.org/current/XKBproto.pdf
> 
> Signed-off-by: alperak 
> ---
> .../xorg-data/xkeyboard-config_2.40.bb| 11 +++
> 1 file changed, 11 insertions(+)
> create mode 100644 meta-oe/recipes-graphics/xorg-data/xkeyboard-config_2.40.bb
> 
> diff --git a/meta-oe/recipes-graphics/xorg-data/xkeyboard-config_2.40.bb 
> b/meta-oe/recipes-graphics/xorg-data/xkeyboard-config_2.40.bb
> new file mode 100644
> index 0..ec511c4f9
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/xorg-data/xkeyboard-config_2.40.bb
> @@ -0,0 +1,11 @@
> +require xorg-data-common.inc
> +
> +SUMMARY = "The X Keyboard (XKB) Extension essentially replaces the core 
> protocol definition of a keyboard"
> +
> +inherit meson
> +
> +LIC_FILES_CHKSUM = "file://COPYING;md5=8fc8ae699974c360e2e2e883a63ce264"
> +
> +SRC_URI[sha256sum] = 
> "7a3dba1bec7dc7191432da021242d17c9cf6c89690e6c57b0de048ff8c9d2ae3"
> +
> +FILES:${PN} += "${datadir}/X11/xkb"
> -- 
> 2.25.1
> 
> 
> 
> 


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



Re: [oe] [meta-gnome][PATCH v2] zenity: Upgrade to 3.99.91 (4.0 RC2)

2023-12-06 Thread Ross Burton
On 6 Dec 2023, at 11:30, Zoltan Boszormenyi via lists.openembedded.org 
 wrote:
> 
> 2023. 12. 06. 12:09 keltezéssel, Ross Burton írta:
>> Why are you upgrading to a release candidate?
> 
> Treat it as an RFC.

Thanks.  Please mark it as such in the future.

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



Re: [oe] [meta-gnome][PATCH v2] zenity: Upgrade to 3.99.91 (4.0 RC2)

2023-12-06 Thread Ross Burton
Why are you upgrading to a release candidate?

Ross

> On 6 Dec 2023, at 06:39, Zoltan Boszormenyi via lists.openembedded.org 
>  wrote:
> 
> zenity 4.0 now uses GTK4 and GTK4-based webkitgtk.
> 
> The perl based gdialog is no more, its subpackage would be empty.
> Don't try to generate this subpackage.
> 
> Signed-off-by: Zoltán Böszörményi 
> ---
> v2: Fix GTKIC_VERSION so gtk+3-native is not built and pulled
> 
> ...to-avoid-pointing-to-build-system-s-.patch | 28 ---
> .../{zenity_3.44.2.bb => zenity_3.99.91.bb}   | 16 +--
> 2 files changed, 7 insertions(+), 37 deletions(-)
> delete mode 100644 
> meta-gnome/recipes-gnome/zenity/zenity/0001-Harcode-shebang-to-avoid-pointing-to-build-system-s-.patch
> rename meta-gnome/recipes-gnome/zenity/{zenity_3.44.2.bb => 
> zenity_3.99.91.bb} (62%)
> 
> diff --git 
> a/meta-gnome/recipes-gnome/zenity/zenity/0001-Harcode-shebang-to-avoid-pointing-to-build-system-s-.patch
>  
> b/meta-gnome/recipes-gnome/zenity/zenity/0001-Harcode-shebang-to-avoid-pointing-to-build-system-s-.patch
> deleted file mode 100644
> index e054ff744..0
> --- 
> a/meta-gnome/recipes-gnome/zenity/zenity/0001-Harcode-shebang-to-avoid-pointing-to-build-system-s-.patch
> +++ /dev/null
> @@ -1,28 +0,0 @@
> -From c8be0d5e7d17930d819635df6570fa5331a5dedd Mon Sep 17 00:00:00 2001
> -From: =?UTF-8?q?Andreas=20M=C3=BCller?= 
> -Date: Mon, 10 Jan 2022 20:18:00 +0100
> -Subject: [PATCH] Harcode shebang to avoid pointing to build system's perl
> -MIME-Version: 1.0
> -Content-Type: text/plain; charset=UTF-8
> -Content-Transfer-Encoding: 8bit
> -
> -Upstream-Status: Pending
> -
> -Signed-off-by: Andreas Müller 
> 
> - src/gdialog.in | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/src/gdialog.in b/src/gdialog.in
> -index 2fc4633..f891861 100755
>  a/src/gdialog.in
> -+++ b/src/gdialog.in
> -@@ -1,4 +1,4 @@
> --#!@PERL@
> -+#!/usr/bin/env perl
> - 
> - # gdialog -> zenity conversion wrapper
> - #
> --- 
> -2.31.1
> -
> diff --git a/meta-gnome/recipes-gnome/zenity/zenity_3.44.2.bb 
> b/meta-gnome/recipes-gnome/zenity/zenity_3.99.91.bb
> similarity index 62%
> rename from meta-gnome/recipes-gnome/zenity/zenity_3.44.2.bb
> rename to meta-gnome/recipes-gnome/zenity/zenity_3.99.91.bb
> index 92b9f6655..34d335d28 100644
> --- a/meta-gnome/recipes-gnome/zenity/zenity_3.44.2.bb
> +++ b/meta-gnome/recipes-gnome/zenity/zenity_3.99.91.bb
> @@ -3,25 +3,23 @@ SECTION = "x11/gnome"
> LICENSE = "LGPL-2.1-or-later"
> LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
> 
> -
> inherit gnomebase pkgconfig itstool gtk-icon-cache features_check gettext
> 
> DEPENDS = " \
> desktop-file-utils-native \
> +help2man-native \
> hicolor-icon-theme \
> -gtk+3 \
> -gtk+3-native \
> +gtk4 \
> +gtk4-native \
> +libadwaita \
> "
> 
> ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
> +GTKIC_VERSION = "4"
> 
> -SRC_URI[archive.sha256sum] = 
> "3fb5b8b1044d3d129262d3c54cf220eb7f76bc21bd5ac6d96ec115cd3518300e"
> -SRC_URI += 
> "file://0001-Harcode-shebang-to-avoid-pointing-to-build-system-s-.patch"
> +SRC_URI[archive.sha256sum] = 
> "e8c80ae1e2a4d7b2eb39c4fb8c4b14814530f37997b49f4c184bf2f7124d84d2"
> 
> PACKAGECONFIG ?= "webkitgtk"
> -PACKAGECONFIG[webkitgtk] = "-Dwebkitgtk=true,-Dwebkitgtk=false,webkitgtk3"
> +PACKAGECONFIG[webkitgtk] = "-Dwebkitgtk=true,-Dwebkitgtk=false,webkitgtk"
> 
> -PACKAGES =+ "${PN}-gdialog"
> -FILES:${PN}-gdialog = "${bindir}/gdialog"
> FILES:${PN}-doc = "${datadir}/man ${datadir}/help"
> -RDEPENDS:${PN}-gdialog += "perl"
> -- 
> 2.43.0
> 
> 
> 
> 


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



Re: [oe] [meta-oe][PATCH] jasper: upgrade 2.0.33 -> 4.1.1

2023-12-05 Thread Ross Burton
On 5 Dec 2023, at 12:34, alper ak  wrote:
> The reason I deleted it is because there is a line in CMakeLists.txt
> like "set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")" and that
> sets the runpath. If "foo.so" is not present in the runpath, as far as
> I know, every shared library is searched in the following locations:
> rpath -> LD_LIBRARY_PATH -> runpath -> ld.so.conf -> /lib and /usr/lib
> by default. I don't think there's any point in deleting the runpath.

Typically we don’t like rpaths in binaries at all, unless there’s a good 
reason.  There is logic in there to only set the RPATHs if the target isn’t a 
“system” directory, but if the sanity checker didn’t start throwing warnings 
then maybe the need for the RPATH removal has gone.

> I thought the user should know every option.

No: some packages have a _lot_ of options and we may want them always on or 
always off, or have ways to control them implicitly without an explicit 
PACKAGECONFIG.

> "Docs should be guarded
> on the api-documentation DISTRO_FEATURE", I don't understand exactly
> what this means. 

Like this (made up example):

PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 
‘docs', '', d)}”
PACKAGECONFIG[docs] = “-Ddocs=true,-Ddocs=false,doxygen-native”

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



Re: [oe] [meta-oe][PATCH] jasper: upgrade 2.0.33 -> 4.1.1

2023-12-04 Thread Ross Burton
> -do_install:append() {
> -chrpath -d ${D}${bindir}/jasper
> -chrpath -d ${D}${bindir}/imginfo
> -chrpath -d ${D}${bindir}/imgcmp
> -chrpath -d ${D}${libdir}/libjasper.so.*
> -}

Are these no longer needed? Or did they get deleted accidentally?  As it 
stands, I can’t tell.

> +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 
> 'opengl', '', d)} \
> +   shared-lib PIC hidden jpeg heif opengl doc latex programs multithread 
> pthread bmp jp2 jpc jpg pgx pnm ras \
> +  "
> +  
> +PACKAGECONFIG[shared-lib] = 
> "-DJAS_ENABLE_SHARED=ON,-DJAS_ENABLE_SHARED=OFF,,"
> +PACKAGECONFIG[PIC] = "-DJAS_ENABLE_PIC=ON,-DJAS_ENABLE_PIC=OFF,,"
> +PACKAGECONFIG[hidden] = "-DJAS_ENABLE_HIDDEN=ON,-DJAS_ENABLE_HIDDEN=OFF,,"
> +PACKAGECONFIG[32bit] = "-DJAS_ENABLE_32BIT=ON,-DJAS_ENABLE_32BIT=OFF,,"
> +PACKAGECONFIG[jpeg] = 
> "-DJAS_ENABLE_LIBJPEG=ON,-DJAS_ENABLE_LIBJPEG=OFF,jpeg,"
> +PACKAGECONFIG[heif] = "-DJAS_ENABLE_LIBHEIF=ON,-DJAS_ENABLE_LIBHEIF=OFF,,"
> +PACKAGECONFIG[opengl] = 
> "-DJAS_ENABLE_OPENGL=ON,-DJAS_ENABLE_OPENGL=OFF,freeglut,"
> +PACKAGECONFIG[doc] = "-DJAS_ENABLE_DOC=ON,-DJAS_ENABLE_DOC=OFF,doxygen,"
> +PACKAGECONFIG[latex] = "-DJAS_ENABLE_LATEX=ON,-DJAS_ENABLE_LATEX=OFF,,"
> +PACKAGECONFIG[programs] = 
> "-DJAS_ENABLE_PROGRAMS=ON,-DJAS_ENABLE_PROGRAMS=OFF,,"
> +PACKAGECONFIG[multithread] = 
> "-DJAS_ENABLE_MULTITHREADING_SUPPORT=ON,-DJAS_ENABLE_MULTITHREADING_SUPPORT=OFF,,"
> +PACKAGECONFIG[pthread] = "-DJAS_PREFER_PTHREAD=ON,-DJAS_PREFER_PTHREAD=OFF,,"
> +PACKAGECONFIG[pthread-tss] = 
> "-DJAS_PREFER_PTHREAD_TSS=ON,-DJAS_PREFER_PTHREAD_TSS=OFF,,"
> +PACKAGECONFIG[strict] = "-DJAS_STRICT=ON,-DJAS_STRICT=OFF,,"
> +PACKAGECONFIG[bmp] = "-DJAS_ENABLE_BMP_CODEC=ON,-DJAS_ENABLE_BMP_CODEC=OFF,,"
> +PACKAGECONFIG[jp2] = "-DJAS_ENABLE_JP2_CODEC=ON,-DJAS_ENABLE_JP2_CODEC=OFF,,"
> +PACKAGECONFIG[jpc] = "-DJAS_ENABLE_JPC_CODEC=ON,-DJAS_ENABLE_JPC_CODEC=OFF,,"
> +PACKAGECONFIG[jpg] = "-DJAS_ENABLE_JPG_CODEC=ON,-DJAS_ENABLE_JPG_CODEC=OFF,,"
> +PACKAGECONFIG[heic] = 
> "-DJAS_ENABLE_HEIC_CODEC=ON,-DJAS_ENABLE_HEIC_CODEC=OFF,,"
> +PACKAGECONFIG[mif] = "-DJAS_ENABLE_MIF_CODEC=ON,-DJAS_ENABLE_MIF_CODEC=OFF,,"
> +PACKAGECONFIG[pgx] = "-DJAS_ENABLE_PGX_CODEC=ON,-DJAS_ENABLE_PGX_CODEC=OFF,,"
> +PACKAGECONFIG[pnm] = "-DJAS_ENABLE_PNM_CODEC=ON,-DJAS_ENABLE_PNM_CODEC=OFF,,"
> +PACKAGECONFIG[ras] = "-DJAS_ENABLE_RAS_CODEC=ON,-DJAS_ENABLE_RAS_CODEC=OFF,,”

Just because there can be an option doesn't mean we should expose it.  We 
should always build a shared library, we should always build PIC code, we 
should already support threads, etc.  Docs should be guarded on the 
api-documentation DISTRO_FEATURE. Arguably some of the format support options 
could remain (based on the prior art of JPEG) but notably that means 
dependencies, which is why it was added in the first place. But on the whole we 
don’t want to expose _every_ option in the recipe, just the ones that make 
sense.  Remember users of the recipe can easily add their own if they need to 
control the recipe even further.

Whilst I’m looking, if this is a library that ships with some tools then the 
tools should always be built (that would be the programs config, I guess) but 
the recipe should inherit lib_package so that they’re put into a separate 
package and only installed if needed.

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



Re: [oe] [meta-oe][PATCH] jasper: upgrade 2.0.33 -> 4.1.1

2023-12-04 Thread Ross Burton


> On 4 Dec 2023, at 19:52, Alper Ak via lists.openembedded.org 
>  wrote:
> 
> -CVE_STATUS[CVE-2015-8751] = "fixed-version: The CPE in the NVD database 
> doesn't reflect correctly the vulnerable versions.”

Why is this line deleted?  The CVE still doesn’t record versions, so this will 
make the issue reappear in the report.

Ross


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



Re: [oe] [meta-oe][PATCH] libpwquality: upgrade 1.4.4 -> 1.4.5

2023-12-01 Thread Ross Burton


> On 1 Dec 2023, at 10:08, Alper Ak via lists.openembedded.org 
>  wrote:
> 
>> I’d also try without -brokensep and seeing if it works now. If it still 
>> doesn’t then filing a bug upstream would be sensible.
> 
> Tried without -brokensep but it didn't work -> https://pastebin.com/kSpMc1J9
> It is looking for the "../src/pwquality.h" file in build directory but
> can't find it. "pwquality.h" is located at source directory. B =
> "../build", S = "../git" so if we do B = "${S}" (i.e. brokensep), I
> interpreted that it solves the problem.

Please file a bug upstream, that’s just a silly mistake in their makefile.

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



Re: [oe] [meta-oe][PATCH] libpwquality: upgrade 1.4.4 -> 1.4.5

2023-11-30 Thread Ross Burton
On 30 Nov 2023, at 21:21, Alper Ak via lists.openembedded.org 
 wrote:
> 
> +inherit autotools-brokensep gettext setuptools3-base

I’d also try without -brokensep and seeing if it works now. If it still doesn’t 
then filing a bug upstream would be sensible.

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



Re: [oe] [meta-oe][PATCH] libpwquality: upgrade 1.4.4 -> 1.4.5

2023-11-30 Thread Ross Burton
On 30 Nov 2023, at 21:21, Alper Ak via lists.openembedded.org 
 wrote:
> ABOUT-NLS should have installed via gettext.
> I couldn't find an answer and asked Ross Burton, he suggested I could solve 
> it this way.
> 

Ah, so now I’ve seen the whole patch, I understand.

> -SRC_URI = 
> "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/${SRCNAME}-${PV}/${SRCNAME}-${PV}.tar.bz2
>  \
> +SRC_URI = 
> "git://github.com/libpwquality/libpwquality;branch=master;protocol=https \

It used to be a tarball, which includes the generated files.  Now it’s a git 
repository, which does not.

I would suggest that unless you have a good reason to keep this recipe fetching 
the tarball at 
https://github.com/libpwquality/libpwquality/releases/download/libpwquality-1.4.5/libpwquality-1.4.5.tar.bz2.

That will let you remove the ABOUT-NLS hack and generally refuse the amount of 
changes.

Ross


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



[oe] [PATCH] python3-validators: add new recipe

2023-11-30 Thread Ross Burton
From: Ross Burton 

Signed-off-by: Ross Burton 
---
 .../python/python3-validators_0.22.0.bb| 10 ++
 1 file changed, 10 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-validators_0.22.0.bb

diff --git a/meta-python/recipes-devtools/python/python3-validators_0.22.0.bb 
b/meta-python/recipes-devtools/python/python3-validators_0.22.0.bb
new file mode 100644
index 00..1da7ee4a04
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-validators_0.22.0.bb
@@ -0,0 +1,10 @@
+SUMMARY = "Python Data Validation for Humans"
+HOMEPAGE = "https://python-validators.github.io/validators;
+LICENSE = "MIT"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fcf28bd09a60e145c3171c531b9e677d"
+SRC_URI[sha256sum] = 
"77b2689b172eeeb600d9605ab86194641670cdb73b60afd577142a9397873370"
+
+inherit pypi python_setuptools_build_meta
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



Re: [oe] [meta-networking][PATCH 2/3] spice: Set meson version based on PV

2023-11-29 Thread Ross Burton
On 29 Nov 2023, at 19:42, Markus Volk via lists.openembedded.org 
 wrote:
> + project('spice', 'c', 'cpp',
> +-version : run_command('build-aux/git-version-gen', 
> meson.source_root() + '/.tarball-version', check : true).stdout().strip(),
> ++version : '@version@',

https://gitlab.freedesktop.org/spice/spice/-/blob/master/build-aux/git-version-gen?ref_type=heads
 suggests that a better solution would be to just:

do_configure:prepend() {
echo ${PV} > ${S}/.tarball-version
}

Ross


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



Re: [oe] [Openembedded-architecture] [RFC] Support for alternative init systems

2023-11-07 Thread Ross Burton
On 7 Nov 2023, at 09:30, ANQUETIN Mathieu via lists.openembedded.org 
 wrote:
> This forces layers, like meta-openrc for example, to remove files generated 
> by other layers before providing their own. This increases the maintenance 
> burden for layer maintainers of these alternative init systems while making 
> them always feel like second-class citizens.

No, it doesn’t.

Remove sysvinit and systemd from DISTRO_FEATURES and the relevant classes will 
delete the initscripts/systemd units from the packages.

I wasn’t aware of meta-openrc, but it should just have an openrc init feature 
and behave the same as the existing init classes.

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



Re: [oe] [PATCH] [meta classes] sed -i destroys symlinks

2023-11-07 Thread Ross Burton
Hi,

You meant to set this to openembedded-c...@lists.openembedded.org 
.

Cheers,
Ross

> On 7 Nov 2023, at 20:24, Joakim Tjernlund via lists.openembedded.org 
>  wrote:
> 
> In /etc/passwd is a symlink, sed -i on same file will replace the
> symlink with a new file. Prevent that by expanding the file with realpath
> before giving it to sed.
> ---
> meta/classes/rootfs-postcommands.bbclass | 4 ++--
> meta/classes/useradd_base.bbclass| 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/classes/rootfs-postcommands.bbclass 
> b/meta/classes/rootfs-postcommands.bbclass
> index 5c0b3ec37c..55cc863dbf 100644
> --- a/meta/classes/rootfs-postcommands.bbclass
> +++ b/meta/classes/rootfs-postcommands.bbclass
> @@ -148,10 +148,10 @@ read_only_rootfs_hook () {
> #
> zap_empty_root_password () {
> if [ -e ${IMAGE_ROOTFS}/etc/shadow ]; then
> - sed -i 's%^root::%root:*:%' ${IMAGE_ROOTFS}/etc/shadow
> + sed -i 's%^root::%root:*:%' $(realpath ${IMAGE_ROOTFS}/etc/shadow)
> fi
> if [ -e ${IMAGE_ROOTFS}/etc/passwd ]; then
> - sed -i 's%^root::%root:*:%' ${IMAGE_ROOTFS}/etc/passwd
> + sed -i 's%^root::%root:*:%' $(realpath ${IMAGE_ROOTFS}/etc/passwd)
> fi
> }
> 
> diff --git a/meta/classes/useradd_base.bbclass 
> b/meta/classes/useradd_base.bbclass
> index 7f5b9b7219..72732a4d57 100644
> --- a/meta/classes/useradd_base.bbclass
> +++ b/meta/classes/useradd_base.bbclass
> @@ -154,7 +154,7 @@ perform_passwd_expire () {
> local username=`echo "$opts" | awk '{ print $NF }'`
> local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`"
> if test "x$user_exists" != "x"; then
> - eval flock -x $rootdir${sysconfdir} -c \"$PSEUDO sed -i 
> \''s/^\('$username':[^:]*\):[^:]*:/\1:0:/'\' $rootdir/etc/shadow \" || true
> + eval flock -x $rootdir${sysconfdir} -c \"$PSEUDO sed -i 
> \''s/^\('$username':[^:]*\):[^:]*:/\1:0:/'\' $(realpath $rootdir/etc/shadow) 
> \" || true
> local passwd_lastchanged="`grep "^$username:" $rootdir/etc/shadow | cut -d: 
> -f3`"
> if test "x$passwd_lastchanged" != "x0"; then
> bbfatal "${PN}: passwd --expire operation did not succeed."
> -- 
> 2.41.0
> 
> 
> 
> 


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



[oe] [PATCH] yajl: fix CVE-2017-16516, CVE-2022-24795, CVE-2023-33460

2023-11-07 Thread Ross Burton
From: Ross Burton 

Take three CVE fixes from Fedora, as the upstream repository is now
dead.

Signed-off-by: Ross Burton 
---
 .../yajl/yajl/CVE-2017-16516.patch| 37 
 .../yajl/yajl/CVE-2022-24795.patch| 59 +++
 .../yajl/yajl/CVE-2023-33460.patch| 35 +++
 meta-oe/recipes-devtools/yajl/yajl_2.1.0.bb   |  6 +-
 4 files changed, 136 insertions(+), 1 deletion(-)
 create mode 100644 meta-oe/recipes-devtools/yajl/yajl/CVE-2017-16516.patch
 create mode 100644 meta-oe/recipes-devtools/yajl/yajl/CVE-2022-24795.patch
 create mode 100644 meta-oe/recipes-devtools/yajl/yajl/CVE-2023-33460.patch

diff --git a/meta-oe/recipes-devtools/yajl/yajl/CVE-2017-16516.patch 
b/meta-oe/recipes-devtools/yajl/yajl/CVE-2017-16516.patch
new file mode 100644
index 00..1241ff9e31
--- /dev/null
+++ b/meta-oe/recipes-devtools/yajl/yajl/CVE-2017-16516.patch
@@ -0,0 +1,37 @@
+From 0b5e73c4321de0ba1d495fdc0967054b2a77931c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= 
+Date: Mon, 10 Jul 2023 13:36:10 +0100
+Subject: [PATCH] Fix for CVE-2017-16516
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Description: Fix for CVE-2017-16516
+ Potential buffer overread: A JSON file can cause denial of service.
+Origin: 
https://github.com/brianmario/yajl-ruby/commit/a8ca8f476655adaa187eedc60bdc770fff3c51ce
+
+CVE: CVE-2017-16516
+Upstream-Status: Submitted [https://github.com/lloyd/yajl/issues/248]
+Signed-off-by: Ross Burton 
+---
+ src/yajl_encode.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/yajl_encode.c b/src/yajl_encode.c
+index fd08258..0d97cc5 100644
+--- a/src/yajl_encode.c
 b/src/yajl_encode.c
+@@ -139,8 +139,8 @@ void yajl_string_decode(yajl_buf buf, const unsigned char 
* str,
+ end+=3;
+ /* check if this is a surrogate */
+ if ((codepoint & 0xFC00) == 0xD800) {
+-end++;
+-if (str[end] == '\\' && str[end + 1] == 'u') {
++if (end + 2 < len && str[end + 1] == '\\' && str[end 
+ 2] == 'u') {
++end++;
+ unsigned int surrogate = 0;
+ hexToDigit(, str + end + 2);
+ codepoint =
+-- 
+2.34.1
+
diff --git a/meta-oe/recipes-devtools/yajl/yajl/CVE-2022-24795.patch 
b/meta-oe/recipes-devtools/yajl/yajl/CVE-2022-24795.patch
new file mode 100644
index 00..0dc859099d
--- /dev/null
+++ b/meta-oe/recipes-devtools/yajl/yajl/CVE-2022-24795.patch
@@ -0,0 +1,59 @@
+From 17de4d15687aa30c49660dc4b792b1fb4d38b569 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
+Date: Thu, 7 Apr 2022 17:29:54 +0200
+Subject: [PATCH] Fix CVE-2022-24795
+
+There was an integer overflow in yajl_buf_ensure_available() leading
+to allocating less memory than requested. Then data were written past
+the allocated heap buffer in yajl_buf_append(), the only caller of
+yajl_buf_ensure_available(). Another result of the overflow was an
+infinite loop without a return from yajl_buf_ensure_available().
+
+yajl-ruby project, which bundles yajl, fixed it
+<https://github.com/brianmario/yajl-ruby/pull/211> by checking for the
+integer overflow, fortifying buffer allocations, and report the
+failures to a caller. But then the caller yajl_buf_append() skips
+a memory write if yajl_buf_ensure_available() failed leading to a data
+corruption.
+
+A yajl fork mainter recommended calling memory allocation callbacks with
+the large memory request and let them to handle it. But that has the
+problem that it's not possible pass the overely large size to the
+callbacks.
+
+This patch catches the integer overflow and terminates the process
+with abort().
+
+CVE: CVE-2022-24795
+Upstream-Status: Submitted [https://github.com/lloyd/yajl/issues/239]
+Signed-off-by: Ross Burton 
+---
+ src/yajl_buf.c | 12 +++-
+ 1 file changed, 11 insertions(+), 1 deletion(-)
+
+diff --git a/src/yajl_buf.c b/src/yajl_buf.c
+index 1aeafde..55c11ad 100644
+--- a/src/yajl_buf.c
 b/src/yajl_buf.c
+@@ -45,7 +45,17 @@ void yajl_buf_ensure_available(yajl_buf buf, size_t want)
+ 
+ need = buf->len;
+ 
+-while (want >= (need - buf->used)) need <<= 1;
++if (((buf->used > want) ? buf->used : want) > (size_t)(buf->used + want)) 
{
++/* We cannot allocate more memory than SIZE_MAX. */
++abort();
++}
++while (want >= (need - buf->used)) {
++if (need >= (size_t)((size_t)(-1)<<1)>>1) {
++/* need would overflow. */
++abort();
++}
++need <<= 1;
++}
+ 
+ if (need != buf->len) {
+ buf->data = (unsigned char *) YA_REALLOC(buf->alloc, buf->data, need);
+-- 
+2.34.1
+
diff --gi

Re: [oe] [AUH] libtorrent: upgrading to 1 SUCCEEDED

2023-11-07 Thread Ross Burton
Hi,

This got merged into meta-oe:  
https://git.openembedded.org/meta-openembedded/commit/?id=3259bc75f5cbe83623e340efd4518414ae2f7593

But that’s a downgrade to a 2016 tag based on AUH thinking pre-merge-1 is a 
newer release:

https://github.com/rakshasa/libtorrent/tags

I suggest reverting this, and applying Peter’s patch to make sure this doesn’t 
happen again:

https://lore.kernel.org/openembedded-devel/20231107071240.1519631-6-...@axis.com/

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



Re: [oe] [meta-oe] [PATCH v3] dnf-plugin-tui: create symlinks from /usr/ to /.

2023-10-19 Thread Ross Burton
On 19 Oct 2023, at 07:51, Mingyu Wang (Fujitsu)  wrote:
> 
>> Isn’t this what create_merged_usr_symlinks in image.bbclass does?  Why does
>> a DNF plugin need to do this, and not anything else?
> Because dnf-plugin-tui is used to created rootfs in any nativesdk environment.
> It is not in a bitbake environment, so image.bbclass cannot be used.

Sounds a bit like the symlink creation should be moved into base-files...

Ross


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



Re: [oe] [PATCH] Revert "protobuf: stage protoc binary to sysroot"

2023-10-18 Thread Ross Burton
On 18 Oct 2023, at 13:28, Samuli Piippo  wrote:
> I don't quite see why every project/recipe should fix this independently when 
> the simple workaround for this yocto-specific issue is available (namely the 
> use of SYSROOT_DIRS).

I’d say the one fix should be done in the protobuf cmake fragments.  It’s 
trying to find a binary _it can’t run_ which is wrong.

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



Re: [oe] [meta-oe] [PATCH v3] dnf-plugin-tui: create symlinks from /usr/ to /.

2023-10-17 Thread Ross Burton
Isn’t this what create_merged_usr_symlinks in image.bbclass does?  Why does a 
DNF plugin need to do this, and not anything else?

Ross

> On 17 Oct 2023, at 08:23, wangmy via lists.openembedded.org 
>  wrote:
> 
> From Poky 4.3, by default, usrmerge has been enabled.
> Some important binaries have been installed to /usr/sbin instead of
> /sbin such as init. So it is necessary to create symlinks from /usr/
> to /, such as /usr/sbin to /sbin, /usr/bin to /bin.
> 
> Signed-off-by: Wang Mingyu 
> ---
> meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb 
> b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
> index 94023922a2..0709019056 100644
> --- a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
> +++ b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
> @@ -4,7 +4,7 @@ LICENSE = "GPL-2.0-only"
> LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> 
> SRC_URI = 
> "git://github.com/ubinux/dnf-plugin-tui.git;branch=master;protocol=https"
> -SRCREV = "83917a3935ac7ce1d8d96e914d96a6679319a336"
> +SRCREV = "baac322a8a6d57e62c703f6ed523152baec18b4f"
> PV = "1.3"
> 
> SRC_URI:append:class-target = " file://oe-remote.repo.sample"
> -- 
> 2.34.1
> 
> 
> 
> 


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



[oe] [PATCH] Revert "protobuf: stage protoc binary to sysroot"

2023-09-04 Thread Ross Burton
From: Ross Burton 

Putting the _target_ protoc into the sysroot for executation at _build_
time isn't useful because even if it has the right architecture, the
tune might be incompatible.  Recipes which want protoc should just depend
on protobuf-native.

This reverts commit d7f46fa816964e30edb2ccfecc57a26251cc351c.

Signed-off-by: Ross Burton 
---
 meta-oe/recipes-devtools/protobuf/protobuf_3.21.12.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_3.21.12.bb 
b/meta-oe/recipes-devtools/protobuf/protobuf_3.21.12.bb
index 343933033b..d95e1c20f3 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_3.21.12.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_3.21.12.bb
@@ -92,8 +92,6 @@ PACKAGE_BEFORE_PN = "${PN}-compiler ${PN}-lite"
 FILES:${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}"
 FILES:${PN}-lite = "${libdir}/libprotobuf-lite${SOLIBS}"
 
-SYSROOT_DIRS += "${bindir}"
-
 RDEPENDS:${PN}-compiler = "${PN}"
 RDEPENDS:${PN}-dev += "${PN}-compiler"
 RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 
'python3-protobuf', '', d)}"
-- 
2.34.1


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



[oe] [PATCH] cherokee: add CVE_PRODUCT

2023-07-18 Thread Ross Burton
From: Ross Burton 

As per https://nvd.nist.gov/vuln/detail/CVE-2019-1010218, Cherokee uses
to use cherokee-project:cherokee_web_server.

Signed-off-by: Ross Burton 
---
 meta-webserver/recipes-httpd/cherokee/cherokee_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb 
b/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb
index 7100ef4341..3dc4ca8bbb 100644
--- a/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb
+++ b/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb
@@ -75,3 +75,5 @@ python() {
 if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():
 raise bb.parse.SkipRecipe('Requires meta-python2 to be present.')
 }
+
+CVE_PRODUCT += "cherokee_web_server"
-- 
2.34.1


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



[oe] [PATCH 3/3] libxkbui: remove obsolete recipe

2023-07-10 Thread Ross Burton
From: Ross Burton 

The only known consumer of this library was the xorgcfg utility, which
was disabled by default in xorg-server 1.4 (Sep. 2007) and removed in
xorg-server 1.6 (Feb. 2009).

Signed-off-by: Ross Burton 
---
 .../packagegroups/packagegroup-meta-oe.bb|  1 -
 meta-oe/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb  | 12 
 2 files changed, 13 deletions(-)
 delete mode 100644 meta-oe/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb

diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb 
b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
index 20c9b9d412..0a88f37acf 100644
--- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
+++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
@@ -595,7 +595,6 @@ RDEPENDS:packagegroup-meta-oe-graphics ="\
 font-misc-misc \
 xorg-fonts-100dpi \
 libxaw6 \
-libxkbui \
 libxpresent \
 xcb-util-cursor \
 xserver-common \
diff --git a/meta-oe/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb 
b/meta-oe/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb
deleted file mode 100644
index e7c9b64e83..00
--- a/meta-oe/recipes-graphics/xorg-lib/libxkbui_1.0.2.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-require recipes-graphics/xorg-lib/xorg-lib-common.inc
-SUMMARY = "X11 keyboard UI presentation library"
-LICENSE = "SGI-1"
-LIC_FILES_CHKSUM = "file://COPYING;md5=4641deddaa80fe7ca88e944e1fd94a94"
-DEPENDS += "virtual/libx11 libxt libxkbfile"
-PE = "1"
-PR = "r10"
-
-XORG_EXT = "tar.bz2"
-
-SRC_URI[md5sum] = "1143e456f7429e18e88f2eadb2f2b6b1"
-SRC_URI[sha256sum] = 
"20c23101d63234ee5f6d696dfa069b29c6c58e39eff433bcd7705b50b3ffa214"
-- 
2.34.1


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



[oe] [PATCH 2/3] xsetmode: remove obsolete utility

2023-07-10 Thread Ross Burton
From: Ross Burton 

This hasn't seen any upstream activity since 2017, as users should be
using xinput --set-mode instead.

Signed-off-by: Ross Burton 
---
 .../packagegroups/packagegroup-meta-oe.bb |  1 -
 .../recipes-graphics/xorg-app/xsetmode_1.0.0.bb   | 15 ---
 2 files changed, 16 deletions(-)
 delete mode 100644 meta-oe/recipes-graphics/xorg-app/xsetmode_1.0.0.bb

diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb 
b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
index c555ade629..20c9b9d412 100644
--- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
+++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
@@ -569,7 +569,6 @@ RDEPENDS:packagegroup-meta-oe-graphics ="\
 xclock \
 xfontsel \
 xkbprint \
-xsetmode \
 xlsatoms \
 xlsclients \
 xlsfonts \
diff --git a/meta-oe/recipes-graphics/xorg-app/xsetmode_1.0.0.bb 
b/meta-oe/recipes-graphics/xorg-app/xsetmode_1.0.0.bb
deleted file mode 100644
index b757329d94..00
--- a/meta-oe/recipes-graphics/xorg-app/xsetmode_1.0.0.bb
+++ /dev/null
@@ -1,15 +0,0 @@
-require recipes-graphics/xorg-app/xorg-app-common.inc
-
-SUMMARY = "X.Org X11 X client utilities"
-HOMEPAGE = "http://cgit.freedesktop.org/xorg/app/xsetmode/;
-DESCRIPTION = "xsetmode sets the mode of an XInput device to either absolute \
-or relative."
-SECTION = "x11/app"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=9b37e00e7793b667cbc64f9df7b6d733"
-
-DEPENDS += "libxi"
-BBCLASSEXTEND = "native"
-
-SRC_URI[md5sum] = "d074e79d380b031d2f60e4cd56538c93"
-SRC_URI[sha256sum] = 
"988b47cd922991c6e6adbce15dc386ac75690b61744b526c3af5a4eaa9afa0aa"
-- 
2.34.1


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



[oe] [PATCH 1/3] liblbxutil: remove obsolete library

2023-07-10 Thread Ross Burton
From: Ross Burton 

This is the client-side library for the LBX extension, which was removed
from xserver 1.2 (released 2007).

Signed-off-by: Ross Burton 
---
 .../packagegroups/packagegroup-meta-oe.bb |  1 -
 ...lbx_zlib-Mark-declration-with-extern.patch | 36 
 .../liblbxutil-1.1.0/mkg3states-1.1.patch | 57 ---
 .../xorg-lib/liblbxutil_1.1.0.bb  | 18 --
 4 files changed, 112 deletions(-)
 delete mode 100644 
meta-oe/recipes-graphics/xorg-lib/liblbxutil-1.1.0/0001-lbx_zlib-Mark-declration-with-extern.patch
 delete mode 100644 
meta-oe/recipes-graphics/xorg-lib/liblbxutil-1.1.0/mkg3states-1.1.patch
 delete mode 100644 meta-oe/recipes-graphics/xorg-lib/liblbxutil_1.1.0.bb

diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb 
b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
index 469e202175..c555ade629 100644
--- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
+++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
@@ -595,7 +595,6 @@ RDEPENDS:packagegroup-meta-oe-graphics ="\
 font-cursor-misc \
 font-misc-misc \
 xorg-fonts-100dpi \
-liblbxutil \
 libxaw6 \
 libxkbui \
 libxpresent \
diff --git 
a/meta-oe/recipes-graphics/xorg-lib/liblbxutil-1.1.0/0001-lbx_zlib-Mark-declration-with-extern.patch
 
b/meta-oe/recipes-graphics/xorg-lib/liblbxutil-1.1.0/0001-lbx_zlib-Mark-declration-with-extern.patch
deleted file mode 100644
index 32a24b4be1..00
--- 
a/meta-oe/recipes-graphics/xorg-lib/liblbxutil-1.1.0/0001-lbx_zlib-Mark-declration-with-extern.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 95ed4b743f197e20f1884a326d5a7128187a7ba6 Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Thu, 13 Aug 2020 17:56:30 -0700
-Subject: [PATCH] lbx_zlib: Mark declration with extern
-
-Fixes build with gcc10/-fno-common
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj 

- src/lbx_zlib/lbx_zlib.h | 12 ++--
- 1 file changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/src/lbx_zlib/lbx_zlib.h b/src/lbx_zlib/lbx_zlib.h
-index 8ae8956..bec3b96 100644
 a/src/lbx_zlib/lbx_zlib.h
-+++ b/src/lbx_zlib/lbx_zlib.h
-@@ -136,9 +136,9 @@ extern void Xfree(pointer /*ptr*/);
- #endif
- 
- /* lbx_zlib.c */
--unsigned long stream_out_compressed;
--unsigned long stream_out_uncompressed;
--unsigned long stream_out_plain;
--unsigned long stream_in_compressed;
--unsigned long stream_in_uncompressed;
--unsigned long stream_in_plain;
-+extern unsigned long stream_out_compressed;
-+extern unsigned long stream_out_uncompressed;
-+extern unsigned long stream_out_plain;
-+extern unsigned long stream_in_compressed;
-+extern unsigned long stream_in_uncompressed;
-+extern unsigned long stream_in_plain;
--- 
-2.28.0
-
diff --git 
a/meta-oe/recipes-graphics/xorg-lib/liblbxutil-1.1.0/mkg3states-1.1.patch 
b/meta-oe/recipes-graphics/xorg-lib/liblbxutil-1.1.0/mkg3states-1.1.patch
deleted file mode 100644
index af7d208282..00
--- a/meta-oe/recipes-graphics/xorg-lib/liblbxutil-1.1.0/mkg3states-1.1.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-Upstream-Status: Pending
-
-diff -uNr liblbxutil-1.1.0.orig/configure.ac liblbxutil-1.1.0/configure.ac
 liblbxutil-1.1.0.orig/configure.ac 2009-12-04 23:52:04.0 +0100
-+++ liblbxutil-1.1.0/configure.ac  2009-12-16 10:45:00.0 +0100
-@@ -50,4 +50,5 @@
- 
- AC_OUTPUT([Makefile
-  src/Makefile
-+ src/image/Makefile
-  lbxutil.pc])
-diff -uNr liblbxutil-1.1.0.orig/src/image/Makefile.am 
liblbxutil-1.1.0/src/image/Makefile.am
 liblbxutil-1.1.0.orig/src/image/Makefile.am1970-01-01 
01:00:00.0 +0100
-+++ liblbxutil-1.1.0/src/image/Makefile.am 2009-12-16 10:45:00.0 
+0100
-@@ -0,0 +1,15 @@
-+# evil hack
-+CFLAGS=$(CFLAGS_FOR_BUILD)
-+CPPFLAGS=$(CPPFLAGS_FOR_BUILD)
-+LDFLAGS=$(LDFLAGS_FOR_BUILD)
-+
-+CC=$(CC_FOR_BUILD)
-+LIBTOOL = @LIBTOOL@ --tag=CC
-+
-+noinst_PROGRAMS = mkg3states
-+
-+mkg3states_SOURCES =  \
-+  mkg3states.c
-+
-+mkg3states_CFLAGS=$(CFLAGS_FOR_BUILD)
-+mkg3states_LDFLAGS=$(LDFLAGS_FOR_BUILD)
-diff -uNr liblbxutil-1.1.0.orig/src/Makefile.am 
liblbxutil-1.1.0/src/Makefile.am
 liblbxutil-1.1.0.orig/src/Makefile.am  2009-12-16 10:48:11.0 
+0100
-+++ liblbxutil-1.1.0/src/Makefile.am   2009-12-16 10:46:47.0 +0100
-@@ -3,10 +3,7 @@
- AM_CFLAGS = $(CWARNFLAGS) $(LBXUTIL_CFLAGS)
- INCLUDES = -I$(top_srcdir)/include
- 
--noinst_PROGRAMS = mkg3states
--
--mkg3states_SOURCES =  \
--  $(srcdir)/image/mkg3states.c
-+SUBDIRS = image
- 
- liblbxutil_la_SOURCES =   \
-   $(srcdir)/lbx_zlib/reqstats.h   \
-@@ -38,9 +35,8 @@
- 
- $(srcdir)/image/dfaxg42d.c: g3states.h
- 
--g3states.h: mkg3states
--  -rm -f g3states.h
--  $(AM_V_GEN) ./mkg3states -c > g3states.h_ && mv g3states.h_ g3states.h
-+g3states.h: image/mkg3states
-+  $(AM_V_GEN) ./ima

[oe] [PATCH 2/2] libpaper: remove redundant autoreconf --install

2023-07-05 Thread Ross Burton
From: Ross Burton 

autotools.bbclass already uses --install, so there's no need to pass it
again.

Signed-off-by: Ross Burton 
---
 meta-oe/recipes-support/libpaper/libpaper_2.1.0.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta-oe/recipes-support/libpaper/libpaper_2.1.0.bb 
b/meta-oe/recipes-support/libpaper/libpaper_2.1.0.bb
index 26f8fab200..911582553c 100644
--- a/meta-oe/recipes-support/libpaper/libpaper_2.1.0.bb
+++ b/meta-oe/recipes-support/libpaper/libpaper_2.1.0.bb
@@ -6,6 +6,4 @@ SRC_URI[sha256sum] = 
"474e9575e1235a0d8e3661f072de0193bab6ea1023363772f698a2cc39
 
 inherit perlnative autotools
 
-EXTRA_AUTORECONF += "--install"
-
 BBCLASSEXTEND = "native"
-- 
2.34.1


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



[oe] [PATCH 1/2] poppler: fix missing include

2023-07-05 Thread Ross Burton
From: Ross Burton 

Backport a patch to ensure that stdio.h is included before jpeglib.h.

Signed-off-by: Ross Burton 
---
 .../poppler/poppler/jpeg-stdio.patch  | 41 +++
 .../poppler/poppler_23.04.0.bb|  1 +
 2 files changed, 42 insertions(+)
 create mode 100644 meta-oe/recipes-support/poppler/poppler/jpeg-stdio.patch

diff --git a/meta-oe/recipes-support/poppler/poppler/jpeg-stdio.patch 
b/meta-oe/recipes-support/poppler/poppler/jpeg-stdio.patch
new file mode 100644
index 00..70ba1cf123
--- /dev/null
+++ b/meta-oe/recipes-support/poppler/poppler/jpeg-stdio.patch
@@ -0,0 +1,41 @@
+From 2986f06c7cc9d64a506ebe861b8bf38f73386e86 Mon Sep 17 00:00:00 2001
+From: Jordan Abrahams-Whitehead 
+Date: Tue, 16 May 2023 18:52:19 +
+Subject: [PATCH] Add missing #include  prior to jpeglib.h
+
+Fixes #1398
+
+Upstream-Status: Backport
+Signed-off-by: Ross Burton 
+---
+ goo/JpegWriter.cc  | 2 +-
+ poppler/ImageEmbeddingUtils.cc | 1 +
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/goo/JpegWriter.cc b/goo/JpegWriter.cc
+index ca69fd055..566ee38f8 100644
+--- a/goo/JpegWriter.cc
 b/goo/JpegWriter.cc
+@@ -23,7 +23,7 @@
+ #ifdef ENABLE_LIBJPEG
+ 
+ #include "poppler/Error.h"
+-
++#include 
+ extern "C" {
+ #include 
+ }
+diff --git a/poppler/ImageEmbeddingUtils.cc b/poppler/ImageEmbeddingUtils.cc
+index 0c13fe968..07b9dfb62 100644
+--- a/poppler/ImageEmbeddingUtils.cc
 b/poppler/ImageEmbeddingUtils.cc
+@@ -14,6 +14,7 @@
+ 
+ #include 
+ #ifdef ENABLE_LIBJPEG
++#include 
+ extern "C" {
+ #include 
+ }
+-- 
+GitLab
diff --git a/meta-oe/recipes-support/poppler/poppler_23.04.0.bb 
b/meta-oe/recipes-support/poppler/poppler_23.04.0.bb
index 099be58a42..896176801b 100644
--- a/meta-oe/recipes-support/poppler/poppler_23.04.0.bb
+++ b/meta-oe/recipes-support/poppler/poppler_23.04.0.bb
@@ -7,6 +7,7 @@ SRC_URI = "http://poppler.freedesktop.org/${BP}.tar.xz \
file://0001-Do-not-overwrite-all-our-build-flags.patch \
file://basename-include.patch \
file://0001-cmake-Do-not-use-isystem.patch \
+   file://jpeg-stdio.patch \
"
 SRC_URI[sha256sum] = 
"b6d893dc7dcd4138b9e9df59a13c59695e50e80dc5c2cacee0674670693951a1"
 
-- 
2.34.1


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



Re: [oe] [meta-networking][kirkstone][PATCH] mbedtls: add support for v3.x

2023-06-13 Thread Ross Burton
On 13 Jun 2023, at 20:03, Beniamin Sandu via lists.openembedded.org 
 wrote:
> 
> Thanks for the feedback, I was about to follow up with a similar patch
> on the master branch.
> 
> Is there any chance we can include it on kirkstone too after it gets on 
> master?

Stable policy is it goes master -> mickledore -> kirkstone.

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



Re: [oe] [meta-networking][kirkstone][PATCH] mbedtls: add support for v3.x

2023-06-13 Thread Ross Burton
On 13 Jun 2023, at 17:06, Beniamin Sandu via lists.openembedded.org 
 wrote:
> 
> +# Export source files/headers needed by Arm Trusted Firmware
> +sysroot_stage_all:append() {
> + sysroot_stage_dir "${S}/library" 
> "${SYSROOT_DESTDIR}/usr/share/mbedtls-source/library"
> + sysroot_stage_dir "${S}/include" 
> "${SYSROOT_DESTDIR}/usr/share/mbedtls-source/include"
> +}

You might be able to delete this: the canonical TF-A recipe fetches its own 
copy of the mbedtls source.

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



Re: [oe] [meta-python][PATCH 2/2] python_mesonpy: New class

2023-06-07 Thread Ross Burton
On 7 Jun 2023, at 12:41, Böszörményi Zoltán  wrote:
> 
> 2023. 06. 07. 13:26 keltezéssel, Ross Burton írta:
>> On 7 Jun 2023, at 12:24, Böszörményi Zoltán  wrote:
>>>>> +# This prevents the meson error:
>>>>> +# ERROR: Got argument buildtype as both -Dbuildtype and --buildtype. 
>>>>> Pick one.
>>>>> +MESONOPTS:remove = "--buildtype ${MESON_BUILDTYPE}"
>>>> If mesonpy ever switches to —buildtype then this will break, right?  Might 
>>>> be better to patch mesonpy instead.
>>> Why would it break? It does not affect what meson-python is adding 
>>> internally.
>>> 
>>> This only removes the setting imposed by meson.bbclass
>>> and only needs to change if meson.bbclass switches to -Dbuildtype.
>> My understanding is that meson.bbclass is passing —buildtype and then 
>> mesonpy is passing -Dbuildtype.
> 
> Correct.
> 
>> This :remove removes any —buildtype option, so if mesonpy changes to using 
>> —buildtype instead of -Dbuildtype then _both_ buildtype options will be 
>> removed, which isn’t what you want.
> 
> Wrong.
> 
> This only removes the --buildtype setting from MESONOPTS set by meson.bbclass.

Okay, I take it back, thanks.

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



Re: [oe] [meta-python][PATCH 2/2] python_mesonpy: New class

2023-06-07 Thread Ross Burton
On 7 Jun 2023, at 12:24, Böszörményi Zoltán  wrote:
>>> +# This prevents the meson error:
>>> +# ERROR: Got argument buildtype as both -Dbuildtype and --buildtype. Pick 
>>> one.
>>> +MESONOPTS:remove = "--buildtype ${MESON_BUILDTYPE}"
>> If mesonpy ever switches to —buildtype then this will break, right?  Might 
>> be better to patch mesonpy instead.
> 
> Why would it break? It does not affect what meson-python is adding internally.
> 
> This only removes the setting imposed by meson.bbclass
> and only needs to change if meson.bbclass switches to -Dbuildtype.

My understanding is that meson.bbclass is passing —buildtype and then mesonpy 
is passing -Dbuildtype.

This :remove removes any —buildtype option, so if mesonpy changes to using 
—buildtype instead of -Dbuildtype then _both_ buildtype options will be 
removed, which isn’t what you want.

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



Re: [oe] [meta-python][PATCH 2/2] python_mesonpy: New class

2023-06-07 Thread Ross Burton
On 7 Jun 2023, at 07:55, Zoltan Boszormenyi via lists.openembedded.org 
 wrote:
> +# Filter out meson_do_qa_configure from do_configure[postfuncs]
> +DOCONFIGUREPOSTFUNCS := "${@d.getVarFlag('do_configure', 'postfuncs')}"
> +DOCONFIGUREPOSTFUNCS:remove = "meson_do_qa_configure"
> +do_configure[postfuncs] := "${@'' if d.getVar('DOCONFIGUREPOSTFUNCS') is 
> None else d.getVar('DOCONFIGUREPOSTFUNCS') }"

A neater solution would be to just stub out meson_do_qa_configure in this class:

meson_do_qa_configure() { : }

> +# This prevents the meson error:
> +# ERROR: Got argument buildtype as both -Dbuildtype and --buildtype. Pick 
> one.
> +MESONOPTS:remove = "--buildtype ${MESON_BUILDTYPE}"

If mesonpy ever switches to —buildtype then this will break, right?  Might be 
better to patch mesonpy instead.

> +python_mesonpy_do_bootstrap_install () {
> +python_pep517_do_bootstrap_install
> +}

This looks redundant and nothing calls it, remove.

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



[oe] [PATCH] networkmanager: add dependency on pyhthon3-pygobject-native

2023-05-25 Thread Ross Burton
From: Ross Burton 

The build of NM involves running Python that uses PyGObject, so add that
to DEPENDS.

Signed-off-by: Ross Burton 
---
 .../recipes-connectivity/networkmanager/networkmanager_1.42.6.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.6.bb 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.6.bb
index b52a47540f..3196b0c244 100644
--- 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.6.bb
+++ 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.6.bb
@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 "
 
 DEPENDS = " \
+python3-pygobject-native \
 coreutils-native \
 intltool-native \
 libxslt-native \
-- 
2.34.1


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



Re: [oe] [PATCH 3/6] firewalld: add features_check on gobject-introspection-data

2023-05-25 Thread Ross Burton
I did a world build with G-I disabled, patch bomb sent.

Ross

> On 25 May 2023, at 00:07, Khem Raj  wrote:
> 
> I see some more fallouts with this
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/2772
> 
> On Wed, May 24, 2023 at 10:14 AM Ross Burton  wrote:
>> 
>> From: Ross Burton 
>> 
>> This project uses gobject-introspection, so depend on the DISTRO_FEATURE.
>> 
>> Signed-off-by: Ross Burton 
>> ---
>> .../recipes-connectivity/firewalld/firewalld_1.2.0.bb | 4 +++-
>> 1 file changed, 3 insertions(+), 1 deletion(-)
>> 
>> diff --git 
>> a/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb
>>  
>> b/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb
>> index 987cc640e1..8efbd39f74 100644
>> --- 
>> a/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb
>> +++ 
>> b/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb
>> @@ -15,7 +15,9 @@ SRC_URI[sha256sum] = 
>> "28fd90e88bda0dfd460f370f353474811b2e295d7eb27f0d7d18ffa3d7
>> # glib-2.0-native is needed for GSETTINGS_RULES autoconf macro from 
>> gsettings.m4
>> DEPENDS = "intltool-native glib-2.0-native nftables"
>> 
>> -inherit gettext autotools-brokensep bash-completion pkgconfig python3native 
>> python3-dir gsettings systemd update-rc.d ptest
>> +inherit gettext autotools-brokensep bash-completion pkgconfig python3native 
>> python3-dir gsettings systemd update-rc.d ptest features_check
>> +
>> +REQUIRED_DISTRO_FEATURES = "gobject-introspection"
>> 
>> PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
>> PACKAGECONFIG[systemd] = 
>> "--with-systemd-unitdir=${systemd_system_unitdir},--disable-systemd"
>> --
>> 2.34.1
>> 
>> 
>> 



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



[oe] [PATCH 09/14] python3-blivetgui: requires gobject-introspection-data DISTRO_FEATURE

2023-05-25 Thread Ross Burton
From: Ross Burton 

Signed-off-by: Ross Burton 
---
 .../recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb 
b/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb
index 29e7a267d2..aba127897d 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb
+++ b/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb
@@ -15,7 +15,7 @@ SRC_URI = 
"git://github.com/storaged-project/blivet-gui.git;branch=master;protoc
"
 
 inherit features_check
-REQUIRED_DISTRO_FEATURES = "x11 systemd"
+REQUIRED_DISTRO_FEATURES = "x11 systemd gobject-introspection-data"
 
 inherit setuptools3_legacy python3native
 
-- 
2.34.1


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



[oe] [PATCH 14/14] packagegroup-xfce-extended: only build catfish and panel-profies if G-I enabled

2023-05-25 Thread Ross Burton
From: Ross Burton 

These recipes need gobject-introspection-data to be enabled.

Signed-off-by: Ross Burton 
---
 .../recipes-xfce/packagegroups/packagegroup-xfce-extended.bb  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb 
b/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb
index 4da2964e8a..711059c8c4 100644
--- a/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb
+++ b/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb
@@ -63,6 +63,6 @@ RRECOMMENDS:${PN} = " \
 xfce4-taskmanager \
 gigolo \
 mousepad \
-catfish \
-xfce4-panel-profiles \
+${@bb.utils.contains("DISTRO_FEATURES", "gobject-introspection-data", 
"catfish", "", d)} \
+${@bb.utils.contains("DISTRO_FEATURES", "gobject-introspection-data", 
"xfce4-panel-profiles", "", d)} \
 "
-- 
2.34.1


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



[oe] [PATCH 13/14] xfce4-whiskermenu-plugin: don't forcibly recommend a menu editor

2023-05-25 Thread Ross Burton
From: Ross Burton 

A menu plugin doesn't need to recommend a specific menu editor.

This also means that the whiskermenu plugin can be built without
gobject-introspection being present, which means menulibre is unbuildable.

Signed-off-by: Ross Burton 
---
 .../whiskermenu/xfce4-whiskermenu-plugin_2.7.1.bb   | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/meta-xfce/recipes-panel-plugins/whiskermenu/xfce4-whiskermenu-plugin_2.7.1.bb 
b/meta-xfce/recipes-panel-plugins/whiskermenu/xfce4-whiskermenu-plugin_2.7.1.bb
index 6621099cbd..3dfc76f246 100644
--- 
a/meta-xfce/recipes-panel-plugins/whiskermenu/xfce4-whiskermenu-plugin_2.7.1.bb
+++ 
b/meta-xfce/recipes-panel-plugins/whiskermenu/xfce4-whiskermenu-plugin_2.7.1.bb
@@ -6,5 +6,3 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 inherit xfce-panel-plugin cmake
 
 SRC_URI[sha256sum] = 
"04ae0c1764a0d5ec70f18a760d998a2109bb6724f048554d7d6999d9072ca63e"
-
-RRECOMMENDS:${PN} += "menulibre"
-- 
2.34.1


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



[oe] [PATCH 11/14] menulibre: requires gobject-introspection-data DISTRO_FEATURE

2023-05-25 Thread Ross Burton
From: Ross Burton 

Signed-off-by: Ross Burton 
---
 meta-xfce/recipes-apps/menulibre/menulibre_2.2.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-xfce/recipes-apps/menulibre/menulibre_2.2.3.bb 
b/meta-xfce/recipes-apps/menulibre/menulibre_2.2.3.bb
index 65aa7a53e2..609caf3461 100644
--- a/meta-xfce/recipes-apps/menulibre/menulibre_2.2.3.bb
+++ b/meta-xfce/recipes-apps/menulibre/menulibre_2.2.3.bb
@@ -10,7 +10,7 @@ DEPENDS = " \
 "
 
 inherit setuptools3_legacy gtk-icon-cache features_check
-REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES = "x11 gobject-introspection-data"
 
 SRC_URI = 
"git://github.com/bluesabre/menulibre.git;protocol=https;branch=master"
 SRCREV = "86ee9ad7568128fe9555e54799933b2d3762331a"
-- 
2.34.1


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



[oe] [PATCH 12/14] xfce4-panel-profiles: requires gobject-introspection-data DISTRO_FEATURE

2023-05-25 Thread Ross Burton
From: Ross Burton 

Signed-off-by: Ross Burton 
---
 .../xfce4-panel-profiles/xfce4-panel-profiles_1.0.13.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta-xfce/recipes-apps/xfce4-panel-profiles/xfce4-panel-profiles_1.0.13.bb 
b/meta-xfce/recipes-apps/xfce4-panel-profiles/xfce4-panel-profiles_1.0.13.bb
index ab1b827266..9624f90f92 100644
--- a/meta-xfce/recipes-apps/xfce4-panel-profiles/xfce4-panel-profiles_1.0.13.bb
+++ b/meta-xfce/recipes-apps/xfce4-panel-profiles/xfce4-panel-profiles_1.0.13.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
 inherit python3native gettext gtk-icon-cache features_check
 
-REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES = "x11 gobject-distro-features"
 
 DEPENDS += "intltool-native"
 
-- 
2.34.1


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



[oe] [PATCH 10/14] catfish: requires gobject-introspection-data DISTRO_FEATURE

2023-05-25 Thread Ross Burton
From: Ross Burton 

Signed-off-by: Ross Burton 
---
 meta-xfce/recipes-apps/catfish/catfish_4.16.3.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-xfce/recipes-apps/catfish/catfish_4.16.3.bb 
b/meta-xfce/recipes-apps/catfish/catfish_4.16.3.bb
index 8fe879b816..249c8e1bd8 100644
--- a/meta-xfce/recipes-apps/catfish/catfish_4.16.3.bb
+++ b/meta-xfce/recipes-apps/catfish/catfish_4.16.3.bb
@@ -3,7 +3,9 @@ SECTION = "x11/application"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
 
-inherit xfce-app python_setuptools_build_meta gtk-icon-cache mime-xdg
+inherit xfce-app python_setuptools_build_meta gtk-icon-cache mime-xdg 
features_check
+
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
 
 DEPENDS += "python3-distutils-extra-native"
 
-- 
2.34.1


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



[oe] [PATCH 08/14] nautilus: requires gobject-introspection-data DISTRO_FEATURE

2023-05-25 Thread Ross Burton
From: Ross Burton 

Signed-off-by: Ross Burton 
---
 meta-gnome/recipes-gnome/nautilus/nautilus_44.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/nautilus/nautilus_44.1.bb 
b/meta-gnome/recipes-gnome/nautilus/nautilus_44.1.bb
index f7eeb5f5d0..65bef45da7 100644
--- a/meta-gnome/recipes-gnome/nautilus/nautilus_44.1.bb
+++ b/meta-gnome/recipes-gnome/nautilus/nautilus_44.1.bb
@@ -29,7 +29,7 @@ def gnome_verdir(v):
 SRC_URI += "file://0001-Replace-filename-with-basename.patch"
 SRC_URI[archive.sha256sum] = 
"360802a595e3edbad962c8cea353b62baa8be407513b5162c89c933ca5387aa9"
 
-REQUIRED_DISTRO_FEATURES = "x11 opengl"
+REQUIRED_DISTRO_FEATURES = "x11 opengl gobject-introspection-data"
 
 EXTRA_OEMESON += " \
 -Dtests=none \
-- 
2.34.1


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



[oe] [PATCH 07/14] grilo-plugins: add PACKAGECONFIG for tracker

2023-05-25 Thread Ross Burton
From: Ross Burton 

Add a PACKAGECONFIG for the tracker plugin, and enable it only if
gobject-introspection is enabled.

Signed-off-by: Ross Burton 
---
 meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb 
b/meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb
index 00474ce446..91cbe82ea9 100644
--- a/meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb
+++ b/meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb
@@ -7,7 +7,6 @@ DEPENDS = " \
 gperf-native \
 itstool-native \
 grilo \
-tracker \
 lua \
 liboauth \
 "
@@ -19,4 +18,7 @@ inherit gnomebase gnome-help vala
 SRC_URI += "file://0001-Avoid-running-trackertestutils.patch"
 SRC_URI[archive.sha256sum] = 
"fe6f4dbe586c6b8ba2406394e202f22d009d642a96eb3a54f32f6a21d084cdcb"
 
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 
'gobject-introspection-data', 'tracker', '', d)}"
+PACKAGECONFIG[tracker] = "-Denable-tracker3=yes,-Denable-tracker3=no,tracker"
+
 FILES:${PN} += "${libdir}/grilo-0.3"
-- 
2.34.1


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



[oe] [PATCH 05/14] gnome-desktop: gobject-introspection is not in fact mandatory

2023-05-25 Thread Ross Burton
From: Ross Burton 

Signed-off-by: Ross Burton 
---
 meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_44.0.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_44.0.bb 
b/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_44.0.bb
index eae9d9d065..03411c88d9 100644
--- a/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_44.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_44.0.bb
@@ -11,8 +11,6 @@ GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase itstool pkgconfig upstream-version-is-even 
gobject-introspection features_check gtk-doc
 
 REQUIRED_DISTRO_FEATURES = "x11 opengl"
-# gobject-introspection is mandatory and cannot be configured
-REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
 
 GIR_MESON_OPTION = ""
 
-- 
2.34.1


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



[oe] [PATCH 06/14] gnome-photos: requires gobject-introspection-data DISTRO_FEATURE

2023-05-25 Thread Ross Burton
From: Ross Burton 

Signed-off-by: Ross Burton 
---
 meta-gnome/recipes-gnome/gnome-photos/gnome-photos_44.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/gnome-photos/gnome-photos_44.0.bb 
b/meta-gnome/recipes-gnome/gnome-photos/gnome-photos_44.0.bb
index cdf9780ab8..066a50e525 100644
--- a/meta-gnome/recipes-gnome/gnome-photos/gnome-photos_44.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-photos/gnome-photos_44.0.bb
@@ -31,7 +31,7 @@ inherit gnomebase gettext gnome-help features_check
 def gnome_verdir(v):
 return oe.utils.trim_version(v, 1)
 
-REQUIRED_DISTRO_FEATURES = "x11 opengl"
+REQUIRED_DISTRO_FEATURES = "x11 opengl gobject-introspection-data"
 
 PACKAGECONFIG ?= ""
 PACKAGECONFIG[doc] = "-Dmanuals=true,-Dmanuals=false,libxslt-native 
docbook-xsl-stylesheets-native"
-- 
2.34.1


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



[oe] [PATCH 04/14] eog: requires gobject-introspection-data DISTRO_FEATURE

2023-05-25 Thread Ross Burton
From: Ross Burton 

Signed-off-by: Ross Burton 
---
 meta-gnome/recipes-gnome/eog/eog_44.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/eog/eog_44.1.bb 
b/meta-gnome/recipes-gnome/eog/eog_44.1.bb
index 95e421c883..0b7cfca49b 100644
--- a/meta-gnome/recipes-gnome/eog/eog_44.1.bb
+++ b/meta-gnome/recipes-gnome/eog/eog_44.1.bb
@@ -19,7 +19,8 @@ GNOMEBASEBUILDCLASS = "meson"
 
 inherit gnomebase pkgconfig gsettings gobject-introspection gettext mime-xdg 
features_check gtk-icon-cache
 
-REQUIRED_DISTRO_FEATURES = "opengl"
+# FIXME: whilst eog uses libpeas <2, g-i is needed. This can be removed when 
libpeas2 is used.
+REQUIRED_DISTRO_FEATURES = "opengl gobject-introspection-data"
 
 SRC_URI += "file://0001-Replace-filename-with-basename.patch"
 SRC_URI[archive.sha256sum] = 
"e2c963f232fe5a1091dcc18bec25a730e91b02af6e466601efa55e500cd74cab"
-- 
2.34.1


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



[oe] [PATCH 03/14] packagegroup-meta-oe.bb: only build libpeas if gobject-introspection is enabled

2023-05-25 Thread Ross Burton
From: Ross Burton 

Signed-off-by: Ross Burton 
---
 meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb 
b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
index aef3a05392..469e202175 100644
--- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
+++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
@@ -464,7 +464,7 @@ RDEPENDS:packagegroup-meta-oe-gnome ="\
 gtk+ \
 gtkmm3 \
 gtkmm \
-libpeas \
+${@bb.utils.contains("DISTRO_FEATURES", "gobject-introspection-data", 
"libpeas", "", d)} \
 pyxdg \
 vte9 \
 gnome-theme-adwaita \
-- 
2.34.1


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



  1   2   3   4   5   6   7   >