Re: [oe] [meta-oe][PATCH 1/2] protobuf: add abseil-cpp to RDEPENDS

2024-10-01 Thread Peter Kjellerstedt
> -Original Message-
> From: Yi Zhao 
> Sent: den 25 september 2024 04:17
> To: Peter Kjellerstedt ; Yi Zhao 
> 
> Cc: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [meta-oe][PATCH 1/2] protobuf: add abseil-cpp to RDEPENDS
> 
> 
> On 9/24/24 03:02, Peter Kjellerstedt wrote:
> >> -Original Message-
> >> From: openembedded-devel@lists.openembedded.org 
> >>  On Behalf Of Yi Zhao
> >> Sent: den 22 september 2024 09:36
> >> To: openembedded-devel@lists.openembedded.org
> >> Subject: [oe] [meta-oe][PATCH 1/2] protobuf: add abseil-cpp to RDEPENDS
> >>
> >> Since commit[1], the libraries of abseil-cpp have been splitted into
> >> separate packages. When protobuf is installed into the image, only 48
> >> abseil libraries are installed as runtime dependencies. But the output
> >> of 'pkg-config --libs protobuf' lists 66 abseil-cpp libraries are
> >> required. Add abseil-cpp to RDEPENDS to ensure that all required
> >> abseil-cpp libraries are installed.
> >>
> >> [1] 
> >> https://git.openembedded.org/meta-openembedded/commit/?id=dd6421e65eb75c35a904f4b487ba022075035ecc
> >>
> >> Signed-off-by: Yi Zhao 
> >> ---
> >>   meta-oe/recipes-devtools/protobuf/protobuf_4.25.4.bb | 2 ++
> >>   1 file changed, 2 insertions(+)
> >>
> >> diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_4.25.4.bb 
> >> b/meta-oe/recipes-devtools/protobuf/protobuf_4.25.4.bb
> >> index cc5204de4..354b3213a 100644
> >> --- a/meta-oe/recipes-devtools/protobuf/protobuf_4.25.4.bb
> >> +++ b/meta-oe/recipes-devtools/protobuf/protobuf_4.25.4.bb
> >> @@ -106,6 +106,8 @@ FILES:${PN}-lite = 
> >> "${libdir}/libprotobuf-lite${SOLIBS}"
> >>   # CMake requires protoc binary to exist in sysroot, even if it has wrong 
> >> architecture.
> >>   SYSROOT_DIRS += "${bindir}"
> >>
> >> +RDEPENDS:${PN} = "abseil-cpp"
> >> +RDEPENDS:${PN}-lite = "abseil-cpp"
> >
> > This defeats the whole purpose of splitting up the abseil
> > libraries. What triggered this change? Was it an actual
> > runtime error, or were you only looking at the output
> > from pkg-config --libs protobuf?
> >
> > Since the .pc files are in the protobuf-dev package, which
> > depends on the abseil-cpp-dev package, all abseil libraries
> > should be available if you are actually building on target
> > or with an SDK.
> 
> Our customer reported this issue. Here is his description:
> The abseil libraries will be included in the SDK, but not on the target.
> The application is building with SDK. The yocto build is adding protobuf
> to the image (no explicit abseil libraries are added). If an application
> then are built using the SDK it can not be executed on target as
> libraries are missing.

Can we at least change the dependency to a recommendation so 
that it can be avoided via BAD_RECOMMENDATIONS? Because as it 
is, it penalizes everyone that use protobuf for the case where 
one provides an SDK with protobuf.

My suggestion would be to change it to:

# Recommend abseil-cpp so that all its libraries are installed in case 
# protobuf is provided as part of an SDK. Everyone else should add
# BAD_RECOMMENDATIONS += "abseil-cpp" to their configuration.
RRECOMMENDS:${PN} = "abseil-cpp"
RRECOMMENDS:${PN}-lite = "abseil-cpp"

> //Yi
> 
> >>   RDEPENDS:${PN}-compiler = "${PN}"
> >>   RDEPENDS:${PN}-dev += "${PN}-compiler"
> >>   RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 
> >> 'python', 'python3-protobuf', '', d)}"
> >> --
> >> 2.25.1
> > //Peter

//Peter


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



[oe] [meta-oe][PATCH] abseil-cpp: Do not leak -Wnon-virtual-dtor into the .pc files

2024-09-30 Thread Peter Kjellerstedt
The -Wnon-virtual-dtor flag was unintentionally added to the .pc files,
which causes problems when abseil is used by C code:

  cc1: error: command-line option '-Wnon-virtual-dtor' is valid for
  C++/ObjC++ but not for C [-Werror]

Signed-off-by: Peter Kjellerstedt 
---
 ...-virtual-dtor-in-the-flags-are-neede.patch | 30 +++
 .../abseil-cpp/abseil-cpp_20240722.0.bb   |  1 +
 2 files changed, 31 insertions(+)
 create mode 100644 
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0005-Don-t-match-Wnon-virtual-dtor-in-the-flags-are-neede.patch

diff --git 
a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0005-Don-t-match-Wnon-virtual-dtor-in-the-flags-are-neede.patch
 
b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0005-Don-t-match-Wnon-virtual-dtor-in-the-flags-are-neede.patch
new file mode 100644
index 00..9a4fc0b43f
--- /dev/null
+++ 
b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0005-Don-t-match-Wnon-virtual-dtor-in-the-flags-are-neede.patch
@@ -0,0 +1,30 @@
+From 9cb5e5d15c142e5cc43a2c1db87c8e4e5b6d38a5 Mon Sep 17 00:00:00 2001
+From: Derek Mauro 
+Date: Mon, 5 Aug 2024 07:35:05 -0700
+Subject: [PATCH] Don't match -Wnon-virtual-dtor in the "flags are needed to
+ suppress warnings in headers". It should fall through to the "don't impose
+ our warnings on others" case. Do this by matching on "-Wno-*" instead of
+ "-Wno*".
+
+Fixes #1737
+
+PiperOrigin-RevId: 659548798
+Change-Id: I49d7ba7ddcd7be30f946fca90ba9be467181e854
+Upstream-Status: Backport 
[https://github.com/abseil/abseil-cpp/commit/9cb5e5d15c142e5cc43a2c1db87c8e4e5b6d38a5]
+---
+ CMake/AbseilHelpers.cmake | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMake/AbseilHelpers.cmake b/CMake/AbseilHelpers.cmake
+index b177e590..3c4c92fe 100644
+--- a/CMake/AbseilHelpers.cmake
 b/CMake/AbseilHelpers.cmake
+@@ -195,7 +195,7 @@ function(absl_cc_library)
+ # specified platform. Filter both of them out before the successor
+ # reaches the "^-m" filter.
+ set(skip_next_cflag ON)
+-  elseif(${cflag} MATCHES "^(-Wno|/wd)")
++  elseif(${cflag} MATCHES "^(-Wno-|/wd)")
+ # These flags are needed to suppress warnings that might fire in our 
headers.
+ set(PC_CFLAGS "${PC_CFLAGS} ${cflag}")
+   elseif(${cflag} MATCHES "^(-W|/w[1234eo])")
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240722.0.bb 
b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240722.0.bb
index f44a5d9082..d9634b2b04 100644
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240722.0.bb
+++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240722.0.bb
@@ -14,6 +14,7 @@ SRC_URI = 
"git://github.com/abseil/abseil-cpp;branch=${BRANCH};protocol=https \
file://0002-Remove-maes-option-from-cross-compilation.patch \
file://0003-Remove-neon-option-from-cross-compilation.patch \
file://0004-abseil-ppc-fixes.patch \
+   
file://0005-Don-t-match-Wnon-virtual-dtor-in-the-flags-are-neede.patch \
   "
 
 S = "${WORKDIR}/git"

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#112629): 
https://lists.openembedded.org/g/openembedded-devel/message/112629
Mute This Topic: https://lists.openembedded.org/mt/108753375/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] pipewire: update 1.2.3 -> 1.2.5 PipeWire 1.2.5 (2024-09-27)

2024-09-28 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org  de...@lists.openembedded.org> On Behalf Of Markus Volk
> Sent: den 28 september 2024 16:47
> To: openembedded-devel@lists.openembedded.org
> Subject: [oe] [meta-multimedia][PATCH] pipewire: update 1.2.3 -> 1.2.5 
> PipeWire 1.2.5 (2024-09-27)

Based on the entry below for 1.2.4, I assume the "PipeWire 1.2.5 (2024-09-27)"
part above was actually intended to be part of the body.

//Peter

> 
> This is an important bugfix release that is API and ABI compatible with the
> previous 1.2.x and 1.0.x releases.
> 
> Highlights
>   - Fix an fd mismatch in the protocol in some cases that could lead to
> fd leaks and crashes.
>   - Fix a bug where the mixer was not updated after setting the port, which 
> would
> cause muted audio at boot or resume from suspend.
>   - Fix a potential use-after-free in module-rt when stopping a thread.
>   - Cached objects are now freed in the JACK API to avoid memory leaks.
>   - Some more fixes and improvements.
> 
> PipeWire
>   - RequestProcess commands are now only sent after the node completes
> the state change to RUNNING.
>   - More FreeBSD fixes.
>   - Handle ACTIVE links going to < PAUSED as well. This improves
> renegotiation in some cases.
>   - Fix an fd mismatch in the protocol in some cases that could lead to
> fd leaks and crashes.
> 
> Modules
>   - Many of the network modules can now also accept hostnames instead of
> IP addresses.
>   - Fix a potential use-after-free in module-rt when stopping the thread.
> 
> SPA
>   - Support for elogind was added.
>   - Some more errors are checked when converting JSON to POD. (#4313)
>   - Fix a bug where the mixer was not updated after setting the port, which 
> would
> cause muted audio at boot or resume from suspend. (#4084)
> 
> JACK
>   - The BBT transport handling was improved. Some fields were added to be able
> to handle the JACK semantics correctly. (#4314)
>   - Buffers are now aligned according to the maximum CPU alignment instead of
> the hardcoded 16 bytes alignment.
>   - Cached objects are now freed correctly.
> 
> Doc
>   - Some small doc updates. (#4272)
> 
> Older versions:
> 
> PipeWire 1.2.4 (2024-09-19)
> 
> This is a bugfix release that is API and ABI compatible with the
> previous 1.2.x and 1.0.x releases.
> 
> Highlights
>   - Avoid a crash in cleanup of globals. (#4250)
>   - Use systemd-logind to scan for new devices in v4l2.
>   - Some more bugfixes and improvements.
> 
> PipeWire
>   - Avoid a crash in cleanup of globals. (#4250)
>   - Improve RequestProcess dispatch.
> 
> Tools
>   - Improve float parsing. (#4234)
> 
> SPA
>   - Clear the ringbuffer when stopping in libcamera.
>   - Use systemd-logind to scan for new devices in v4l2. (#3539, #3960)
>   - Queue dropped first buffer in v4l2.
>   - Unlink pcm devices when moving drivers to avoid broken pipe.
> 
> JACK
>   - Emit buffer_size callback in jack_activate() to improve
> compatibility with GStreamer. (#4260)
> 
> Signed-off-by: Markus Volk 
> ---
>  .../pipewire/{pipewire_1.2.3.bb => pipewire_1.2.5.bb}   | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta-multimedia/recipes-multimedia/pipewire/{pipewire_1.2.3.bb => 
> pipewire_1.2.5.bb} (99%)
> 
> diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.2.3.bb 
> b/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.2.5.bb
> similarity index 99%
> rename from meta-multimedia/recipes-multimedia/pipewire/pipewire_1.2.3.bb
> rename to meta-multimedia/recipes-multimedia/pipewire/pipewire_1.2.5.bb
> index 0a2088a3c..b37ae0a53 100644
> --- a/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.2.3.bb
> +++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.2.5.bb
> @@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = " \
> 
>  DEPENDS = "dbus ncurses"
> 
> -SRCREV = "e2a76824e2b112b15ae4a1a3d444696d5526f8d8"
> +SRCREV = "71fac7fa818f21234da4c356de0b44e47e1a2ef2"
>  SRC_URI = 
> "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=1.2;protocol=https"
> 
>  S = "${WORKDIR}/git"
> --
> 2.46.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#112544): 
https://lists.openembedded.org/g/openembedded-devel/message/112544
Mute This Topic: https://lists.openembedded.org/mt/108704654/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 0/1] RFC: some issues with go?

2024-09-23 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Jan Vermaete
> Sent: den 15 september 2024 19:53
> To: openembedded-devel@lists.openembedded.org
> Cc: Jan Vermaete 
> Subject: [oe] [PATCH 0/1] RFC: some issues with go?
> 
> Could someone review this patch that enables the Go-based plugins of
> Netdata?
> 
> I tested it in QEMU with the Go example package enable locally.

[cut]

> Workaround for network access
> -
> 
> I there a way to avoid the 'do_compile[network] = "1"'.  It seems to be
> needed to fetch the Go packages specified in the go.mod file.

A fetcher for Go modules was just added to bitbake and will be 
present in Styhead. Unfortunately the necessary changes to 
go-mod.bbclass to make it usable did not make it in time and are 
only available on master. :(

I intend to send patches to update the Go recipes in meta-oe to 
use the new fetcher, but unfortunately I am a bit backlogged 
after having attended OSS + LPC + Yocto Dev Day in Vienna last 
week.

//Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#112464): 
https://lists.openembedded.org/g/openembedded-devel/message/112464
Mute This Topic: https://lists.openembedded.org/mt/108467198/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 1/2] protobuf: add abseil-cpp to RDEPENDS

2024-09-23 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Yi Zhao
> Sent: den 22 september 2024 09:36
> To: openembedded-devel@lists.openembedded.org
> Subject: [oe] [meta-oe][PATCH 1/2] protobuf: add abseil-cpp to RDEPENDS
> 
> Since commit[1], the libraries of abseil-cpp have been splitted into
> separate packages. When protobuf is installed into the image, only 48
> abseil libraries are installed as runtime dependencies. But the output
> of 'pkg-config --libs protobuf' lists 66 abseil-cpp libraries are
> required. Add abseil-cpp to RDEPENDS to ensure that all required
> abseil-cpp libraries are installed.
> 
> [1] 
> https://git.openembedded.org/meta-openembedded/commit/?id=dd6421e65eb75c35a904f4b487ba022075035ecc
> 
> Signed-off-by: Yi Zhao 
> ---
>  meta-oe/recipes-devtools/protobuf/protobuf_4.25.4.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_4.25.4.bb 
> b/meta-oe/recipes-devtools/protobuf/protobuf_4.25.4.bb
> index cc5204de4..354b3213a 100644
> --- a/meta-oe/recipes-devtools/protobuf/protobuf_4.25.4.bb
> +++ b/meta-oe/recipes-devtools/protobuf/protobuf_4.25.4.bb
> @@ -106,6 +106,8 @@ FILES:${PN}-lite = "${libdir}/libprotobuf-lite${SOLIBS}"
>  # CMake requires protoc binary to exist in sysroot, even if it has wrong 
> architecture.
>  SYSROOT_DIRS += "${bindir}"
> 
> +RDEPENDS:${PN} = "abseil-cpp"
> +RDEPENDS:${PN}-lite = "abseil-cpp"

This defeats the whole purpose of splitting up the abseil 
libraries. What triggered this change? Was it an actual 
runtime error, or were you only looking at the output 
from pkg-config --libs protobuf?

Since the .pc files are in the protobuf-dev package, which 
depends on the abseil-cpp-dev package, all abseil libraries 
should be available if you are actually building on target 
or with an SDK.

>  RDEPENDS:${PN}-compiler = "${PN}"
>  RDEPENDS:${PN}-dev += "${PN}-compiler"
>  RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 
> 'python3-protobuf', '', d)}"
> --
> 2.25.1

//Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#112463): 
https://lists.openembedded.org/g/openembedded-devel/message/112463
Mute This Topic: https://lists.openembedded.org/mt/108587631/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] paho-mqtt-cpp: Remove the dependency on paho-mqtt-c

2024-09-12 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Peter Kjellerstedt
> Sent: den 13 september 2024 02:40
> To: openembedded-devel@lists.openembedded.org
> Subject: [oe] [meta-oe][PATCH] paho-mqtt-cpp: Remove the dependency on 
> paho-mqtt-c
> 
> paho-mqtt-cpp is built with the vendored version of paho-mqtt-c since
> commit d4f8a3074307982a45eea9551060424835e1cfde.
> 
> This avoids the following error when building an application that
> depends on paho-mqtt-cpp:
> 
>   ERROR: foobar-1.2.3-r0 do_prepare_recipe_sysroot: The file
>   /usr/lib/libpaho-mqtt3as.so.1.3.13 is installed by both paho-mqtt-cpp
>   and paho-mqtt-c, aborting
> 
> Signed-off-by: Peter Kjellerstedt 
> ---
>  .../recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.4.1.bb   | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git 
> a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.4.1.bb 
> b/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.4.1.bb
> index d2fbc3a34c..f0ad76762b 100644
> --- a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.4.1.bb
> +++ b/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.4.1.bb
> @@ -16,7 +16,7 @@ SRC_URI = 
> "gitsm://github.com/eclipse/paho.mqtt.cpp;protocol=https;branch=v1.4.x
>  SRCREV = "ac1b023eab789e829656144f12b248602c40e37b"
>  PV .= "+git"
> 
> -DEPENDS = "openssl paho-mqtt-c"
> +DEPENDS = "openssl"
> 
>  S = "${WORKDIR}/git"
>

Given that the paho-mqtt-cpp and paho-mqtt-c recipes now conflict, you 
should probably consider removing the paho-mqtt-c recipe and making the 
paho-mqtt-cpp recipe have a PROVIDES = "paho-mqtt-c". Until then I 
expect packagegroup-meta-oe to still fail with a similar error as above 
since it depends on both recipes.

It might also be worth considering the packaging of the installed files 
since if all you want is paho-mqtt-c, the addition of paho-mqtt-cpp 
increases the size of the installed files by ~50% (620 kB -> 907 kB).

//Peter


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



[oe] [meta-oe][PATCH] paho-mqtt-cpp: Remove the dependency on paho-mqtt-c

2024-09-12 Thread Peter Kjellerstedt
paho-mqtt-cpp is built with the vendored version of paho-mqtt-c since
commit d4f8a3074307982a45eea9551060424835e1cfde.

This avoids the following error when building an application that
depends on paho-mqtt-cpp:

  ERROR: foobar-1.2.3-r0 do_prepare_recipe_sysroot: The file
  /usr/lib/libpaho-mqtt3as.so.1.3.13 is installed by both paho-mqtt-cpp
  and paho-mqtt-c, aborting

Signed-off-by: Peter Kjellerstedt 
---
 .../recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.4.1.bb   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.4.1.bb 
b/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.4.1.bb
index d2fbc3a34c..f0ad76762b 100644
--- a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.4.1.bb
+++ b/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.4.1.bb
@@ -16,7 +16,7 @@ SRC_URI = 
"gitsm://github.com/eclipse/paho.mqtt.cpp;protocol=https;branch=v1.4.x
 SRCREV = "ac1b023eab789e829656144f12b248602c40e37b"
 PV .= "+git"
 
-DEPENDS = "openssl paho-mqtt-c"
+DEPENDS = "openssl"
 
 S = "${WORKDIR}/git"
 

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



[oe] [meta-oe][PATCH] poppler: Correct the configuration options

2024-09-09 Thread Peter Kjellerstedt
* Remove -DENABLE_ZLIB=ON (it is no longer optional).
* Replace -DENABLE_CMS=lcms2 with -DENABLE_LCMS=ON.
* Replace the splash PACKAGECONFIG with boost (splash is no longer
  optional).
* Correct the options for the nss and tiff PACKAGECONFIGs.

This avoids the following CMake warnings:

  Manually-specified variables were not used by the project:

ENABLE_CMS
ENABLE_SPLASH
ENABLE_ZLIB
WITH_NSS3
WITH_TIFF

Signed-off-by: Peter Kjellerstedt 
---
 meta-oe/recipes-support/poppler/poppler_24.09.0.bb | 11 +--
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/meta-oe/recipes-support/poppler/poppler_24.09.0.bb 
b/meta-oe/recipes-support/poppler/poppler_24.09.0.bb
index 920d13f0f6..fb6b534cf4 100644
--- a/meta-oe/recipes-support/poppler/poppler_24.09.0.bb
+++ b/meta-oe/recipes-support/poppler/poppler_24.09.0.bb
@@ -14,15 +14,15 @@ DEPENDS = "fontconfig zlib cairo lcms glib-2.0 
glib-2.0-native"
 
 inherit cmake pkgconfig gobject-introspection
 
-PACKAGECONFIG ??= "jpeg openjpeg png tiff nss splash"
+PACKAGECONFIG ??= "boost jpeg nss openjpeg png tiff"
+PACKAGECONFIG[boost] = "-DENABLE_BOOST=ON,-DENABLE_BOOST=OFF,boost"
 PACKAGECONFIG[jpeg] = "-DWITH_JPEG=ON 
-DENABLE_DCTDECODER=libjpeg,-DWITH_JPEG=OFF -DENABLE_DCTDECODER=none,jpeg"
 PACKAGECONFIG[png] = "-DWITH_PNG=ON,-DWITH_PNG=OFF,libpng"
-PACKAGECONFIG[tiff] = "-DWITH_TIFF=ON,-DWITH_TIFF=OFF,tiff"
+PACKAGECONFIG[tiff] = "-DENABLE_LIBTIFF=ON,-DENABLE_LIBTIFF=OFF,tiff"
 PACKAGECONFIG[curl] = "-DENABLE_LIBCURL=ON,-DENABLE_LIBCURL=OFF,curl"
 PACKAGECONFIG[openjpeg] = 
"-DENABLE_LIBOPENJPEG=openjpeg2,-DENABLE_LIBOPENJPEG=none,openjpeg"
 PACKAGECONFIG[qt5] = "-DENABLE_QT5=ON,-DENABLE_QT5=OFF,qtbase qttools-native"
-PACKAGECONFIG[nss] = "-DWITH_NSS3=ON,-DWITH_NSS3=OFF,nss"
-PACKAGECONFIG[splash] = "-DENABLE_SPLASH=ON 
-DENABLE_BOOST=ON,-DENABLE_SPLASH=OFF -DENABLE_BOOST=OFF,boost"
+PACKAGECONFIG[nss] = "-DENABLE_NSS3=ON,-DENABLE_NSS3=OFF,nss"
 PACKAGECONFIG[gpgme] = "-DENABLE_GPGME=ON,-DENABLE_GPGME=OFF,gpgme"
 PACKAGECONFIG[qt6] = "-DENABLE_QT6=ON,-DENABLE_QT6=OFF,qtbase"
 
@@ -32,10 +32,9 @@ inherit ${@bb.utils.contains('PACKAGECONFIG', 'qt5', 
'cmake_qt5', '', d)}
 SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}"
 
 EXTRA_OECMAKE += " \
--DENABLE_CMS=lcms2 \
+-DENABLE_LCMS=ON \
 -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
 -DBUILD_GTK_TESTS=OFF \
--DENABLE_ZLIB=ON \
 -DRUN_GPERF_IF_PRESENT=OFF \
 -DCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES:PATH='${STAGING_INCDIR}' \
 ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 
'-DENABLE_GOBJECT_INTROSPECTION=ON', '-DENABLE_GOBJECT_INTROSPECTION=OFF', d)} \

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#112183): 
https://lists.openembedded.org/g/openembedded-devel/message/112183
Mute This Topic: https://lists.openembedded.org/mt/108360325/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 1/2] polkit: Switch PAM files to common-*

2024-09-04 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Yoann Congal via 
> lists.openembedded.org
> Sent: den 5 september 2024 00:54
> To: openembedded-devel@lists.openembedded.org
> Cc: Yoann Congal 
> Subject: [oe] [meta-oe][PATCH 1/2] polkit: Switch PAM files to common-*
> 
> From: Yoann Congal 
> 
> Add a new OS option to polkit meson: "openembedded" and use this to
> set PAM include to common-* which matches OE-Core libpam.
> 
> This also may fix a non-reproducibility since polkit meson system tried
> to detect the host (compiling) OS and changed PAM config from the
> detected value.
> 
> Fixes: https://github.com/openembedded/meta-openembedded/issues/860
> 
> Signed-off-by: Yoann Congal 
> ---
>  ...pport-openembedded-OS-for-PAM-config.patch | 48 +++
>  meta-oe/recipes-extended/polkit/polkit_125.bb |  8 +++-
>  2 files changed, 55 insertions(+), 1 deletion(-)
>  create mode 100644 
> meta-oe/recipes-extended/polkit/files/meson-build-Support-openembedded-OS-for-PAM-config.patch
> 
> diff --git 
> a/meta-oe/recipes-extended/polkit/files/meson-build-Support-openembedded-OS-for-PAM-config.patch
>  
> b/meta-oe/recipes-extended/polkit/files/meson-build-Support-openembedded-OS-for-PAM-config.patch
> new file mode 100644
> index 00..e0ee8a309a
> --- /dev/null
> +++ 
> b/meta-oe/recipes-extended/polkit/files/meson-build-Support-openembedded-OS-for-PAM-config.patch
> @@ -0,0 +1,48 @@
> +From 7c89b88f0f81ad220d08d69d212c14c6eeefb647 Mon Sep 17 00:00:00 2001
> +From: Yoann Congal 
> +Date: Tue, 3 Sep 2024 12:17:42 +0200
> +Subject: [PATCH] meson.build: Support "openembedded" OS for PAM config
> +
> +In Openembedded, same as Suse/Solaris: PAM files are common-*:
> +* PAM_FILE_INCLUDE_AUTH: common-auth
> +* PAM_FILE_INCLUDE_ACCOUNT: common-account
> +* PAM_FILE_INCLUDE_PASSWORD: common-password
> +* PAM_FILE_INCLUDE_SESSION: common-session
> +See OE-Core libpam recipe.
> +
> +NB: This is also the same config as Debian but its not mentioned in the
> +code.
> +
> +Signed-off-by: Yoann Congal 
> +Upstream-Status: Inappropriate [oe specific]
> +---
> + meson.build   | 2 +-
> + meson_options.txt | 2 +-
> + 2 files changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/meson.build b/meson.build
> +index 302c189..a55f2d6 100644
> +--- a/meson.build
>  b/meson.build
> +@@ -311,7 +311,7 @@ endif
> +
> + pam_include = get_option('pam_include')
> + if pam_include == ''
> +-  if ['suse', 'solaris'].contains(os_type)
> ++  if ['suse', 'solaris', 'openembedded'].contains(os_type)
> + pam_conf = {
> +   'PAM_FILE_INCLUDE_AUTH': 'common-auth',
> +   'PAM_FILE_INCLUDE_ACCOUNT': 'common-account',
> +diff --git a/meson_options.txt b/meson_options.txt
> +index c2e4a6c..14d7a50 100644
> +--- a/meson_options.txt
>  b/meson_options.txt
> +@@ -6,7 +6,7 @@ option('polkitd_user', type: 'string', value: 'polkitd',
> description: 'User for
> + option('polkitd_uid', type: 'string', value: '-', description: 'Fixed UID 
> for user running polkitd (polkitd)')
> +
> + option('authfw', type: 'combo', choices: ['pam', 'shadow', 'bsdauth'], 
> value: 'pam', description: 'Authentication framework (pam/shadow)')
> +-option('os_type', type: 'combo', choices: ['redhat', 'suse', 'gentoo', 
> 'pardus', 'solaris', 'netbsd', 'lfs', ''], value: '', description: 
> 'distribution or OS')
> ++option('os_type', type: 'combo', choices: ['redhat', 'suse', 'gentoo', 
> 'pardus', 'solaris', 'netbsd', 'lfs', 'openembedded', ''], value: '', 
> description: 'distribution or OS')
> +
> + option('pam_include', type: 'string', value: '', description: 'pam file to 
> include')
> + option('pam_module_dir', type: 'string', value: '', description: 'directory 
> to install PAM security module')
> diff --git a/meta-oe/recipes-extended/polkit/polkit_125.bb 
> b/meta-oe/recipes-extended/polkit/polkit_125.bb
> index fe1ee467c3..2405ed6034 100644
> --- a/meta-oe/recipes-extended/polkit/polkit_125.bb
> +++ b/meta-oe/recipes-extended/polkit/polkit_125.bb
> @@ -5,7 +5,9 @@ LICENSE = "LGPL-2.0-or-later"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=155db86cdbafa7532b41f390409283eb"
>  BUGTRACKER = "https://github.com/polkit-org/polkit/issues";
> 
> -SRC_URI = "git://github.com/polkit-org/polkit.git;protocol=https;branch=main"
> +SRC_URI = "git://github.com/polkit-org/polkit.git;protocol=https;branch=main 
> \
> +   file://meson-build-Support-openembedded-OS-for-PAM-config.patch \
> +   "
> 
>  S = "${WORKDIR}/git"
>  SRCREV = "112752c12da812a163dac67d7f675b60de8f7d7b"
> @@ -16,6 +18,10 @@ inherit meson pkgconfig useradd systemd gettext 
> gobject-introspection features_c
> 
>  REQUIRED_DISTRO_FEATURES = "polkit"
> 
> +# Prevent meson.build to try to autodetect host OS (which could lead to
> +# non-reproducibility)
> +EXTRA_OEMESON = "-Dos_type=openembedded"

Why do you need the patch? Can't you just set:

EXTRA_OEMESON = "-Dos_type=suse"

and be done with it?

> +
>  PACKAGECONFI

Re: [oe] [meta-networking][PATCH 2/5] fwknop: Specify target locations of gpg and wget

2024-08-19 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Khem Raj
> Sent: den 19 augusti 2024 00:56
> To: openembedded-devel@lists.openembedded.org
> Cc: Khem Raj 
> Subject: [oe] [meta-networking][PATCH 2/5] fwknop: Specify target locations 
> of gpg and wget
> 
> This fixes emitting buildpaths into binary and also
> fixes the issue where these tools wont exist on
> the paths they were found on build machine
> 
> Signed-off-by: Khem Raj 
> ---
>  meta-networking/recipes-support/fwknop/fwknop_2.6.11.bb | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-networking/recipes-support/fwknop/fwknop_2.6.11.bb 
> b/meta-networking/recipes-support/fwknop/fwknop_2.6.11.bb
> index c9f9596eb4..0e7998b6dc 100644
> --- a/meta-networking/recipes-support/fwknop/fwknop_2.6.11.bb
> +++ b/meta-networking/recipes-support/fwknop/fwknop_2.6.11.bb
> @@ -12,7 +12,9 @@ SRC_URI[sha256sum] = 
> "a4ec7c22dd90dd684f9f7b96d3a901c4131ec8c7a3b9db26d0428513f6
> 
>  DEPENDS = "libpcap gpgme"
> 
> -EXTRA_OECONF = " --with-iptables=${sbindir}/iptables"
> +EXTRA_OECONF = "--with-iptables=${sbindir}/iptables \
> + --with-gpg=${bindir}/gpg \
> + --with-wget=${base_bindir}/wget"

Do you happen to have tabs configured to be four spaces wide?
Please use spaces instead for alignment since the above looks 
weird with 8-character tabs.

> 
>  do_configure:prepend () {
>   install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess 
> ${S}/config

//Peter


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



[oe] [scarthgap][meta-oe][PATCH 3/3] libjs-jquery-icheck: Correct LIC_FILES_CHKSUM

2024-08-12 Thread Peter Kjellerstedt
Only include the lines from icheck.js that cover the copyright and the
license text.

License-Update: Only include the relevant parts of icheck.js
Signed-off-by: Peter Kjellerstedt 
---
 meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb 
b/meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb
index 31c3534b8..63dfc6fa7 100644
--- a/meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb
+++ b/meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb
@@ -3,7 +3,7 @@ SECTION = "console/network"
 HOMEPAGE = "http://fronteed.com/iCheck";
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = 
"file://icheck.js;start_line=1;end_line=8;md5=404078d7de9f05ed64d364274f790055"
+LIC_FILES_CHKSUM = 
"file://icheck.js;beginline=6;endline=7;md5=ea25eee37fc3b14403e215bfe13564bc"
 
 SRC_URI = "git://github.com/fronteed/icheck.git;protocol=https;branch=${PV}"
 

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



[oe] [scarthgap][meta-oe][PATCH 1/3] hostapd: Support running "devtool modify hostapd"

2024-08-12 Thread Peter Kjellerstedt
For "devtool modify" to work correctly, ${B} needs to match ${S}.

Signed-off-by: Peter Kjellerstedt 
---
 .../recipes-connectivity/hostapd/hostapd_2.10.bb| 13 +
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb 
b/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb
index dbdc5c1bd..3383f6cac 100644
--- a/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb
+++ b/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb
@@ -16,9 +16,6 @@ SRC_URI = " \
 
 SRC_URI[sha256sum] = 
"206e7c799b678572c2e3d12030238784bc4a9f82323b0156b4c9466f1498915d"
 
-S = "${WORKDIR}/hostapd-${PV}"
-B = "${WORKDIR}/hostapd-${PV}/hostapd"
-
 inherit update-rc.d systemd pkgconfig features_check
 
 CONFLICT_DISTRO_FEATURES = "openssl-no-weak-ciphers"
@@ -29,20 +26,20 @@ SYSTEMD_SERVICE:${PN} = "hostapd.service"
 SYSTEMD_AUTO_ENABLE:${PN} = "disable"
 
 do_configure:append() {
-install -m 0644 ${WORKDIR}/defconfig ${B}/.config
+install -m 0644 ${WORKDIR}/defconfig ${B}/hostapd/.config
 }
 
 do_compile() {
 export CFLAGS="-MMD -O2 -Wall -g"
 export EXTRA_CFLAGS="${CFLAGS}"
-make V=1
+make -C hostapd V=1
 }
 
 do_install() {
 install -d ${D}${sbindir} ${D}${sysconfdir}/init.d 
${D}${systemd_unitdir}/system/
-install -m 0644 ${B}/hostapd.conf ${D}${sysconfdir}
-install -m 0755 ${B}/hostapd ${D}${sbindir}
-install -m 0755 ${B}/hostapd_cli ${D}${sbindir}
+install -m 0644 ${B}/hostapd/hostapd.conf ${D}${sysconfdir}
+install -m 0755 ${B}/hostapd/hostapd ${D}${sbindir}
+install -m 0755 ${B}/hostapd/hostapd_cli ${D}${sbindir}
 install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/hostapd
 install -m 0644 ${WORKDIR}/hostapd.service ${D}${systemd_unitdir}/system/
 sed -i -e 's,@SBINDIR@,${sbindir},g' -e 's,@SYSCONFDIR@,${sysconfdir},g' 
${D}${systemd_unitdir}/system/hostapd.service

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



[oe] [scarthgap][meta-oe][PATCH 2/3] hostapd: Only include the relevant parts from README in LIC_FILES_CHKSUM

2024-08-12 Thread Peter Kjellerstedt
Only include the lines from the README that cover the copyright and the
license text.

License-Update: Only include the relevant parts of the README
Signed-off-by: Peter Kjellerstedt 
---
 meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb 
b/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb
index 3383f6cac..3c5f78f91 100644
--- a/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb
+++ b/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb
@@ -2,7 +2,7 @@ SUMMARY = "User space daemon for extended IEEE 802.11 
management"
 HOMEPAGE = "http://w1.fi/hostapd/";
 SECTION = "kernel/userland"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://hostapd/README;md5=c905478466c90f1cefc0df987c40e172"
+LIC_FILES_CHKSUM = 
"file://hostapd/README;beginline=5;endline=47;md5=aa03b8bd6216d1a7ca01fd4b89863073"
 
 DEPENDS = "libnl openssl"
 

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



[oe] [scarthgap][meta-oe][PATCH 0/3] Backport of three patches from master

2024-08-12 Thread Peter Kjellerstedt

Peter Kjellerstedt (3):
  hostapd: Support running "devtool modify hostapd"
  hostapd: Only include the relevant parts from README in
LIC_FILES_CHKSUM
  libjs-jquery-icheck: Correct LIC_FILES_CHKSUM

 .../recipes-connectivity/hostapd/hostapd_2.10.bb  | 15 ++-
 .../libjs/libjs-jquery-icheck_1.0.3.bb|  2 +-
 2 files changed, 7 insertions(+), 10 deletions(-)


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



[oe] [meta-oe][PATCH] libdevmapper: Inherit nopackages

2024-08-08 Thread Peter Kjellerstedt
This fixes errors from buildhistory changes where packages-split would
be empty.

Signed-off-by: Peter Kjellerstedt 
---
 meta-oe/recipes-support/lvm2/libdevmapper.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/lvm2/libdevmapper.bb 
b/meta-oe/recipes-support/lvm2/libdevmapper.bb
index be558ce1d..3b4439c3a 100644
--- a/meta-oe/recipes-support/lvm2/libdevmapper.bb
+++ b/meta-oe/recipes-support/lvm2/libdevmapper.bb
@@ -5,6 +5,8 @@ require lvm2.inc
 
 DEPENDS += "autoconf-archive-native"
 
+inherit nopackages
+
 TARGET_CC_ARCH += "${LDFLAGS}"
 
 do_install() {

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



[oe] [meta-oe][PATCH 2/3] hostapd: Only include the relevant parts from README in LIC_FILES_CHKSUM

2024-05-29 Thread Peter Kjellerstedt
Only include the lines from the README that cover the copyright and the
license text.

License-Update: Only include the relevant parts of the README
Signed-off-by: Peter Kjellerstedt 
---
 meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb 
b/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb
index 6eca853e4..44683bf73 100644
--- a/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb
+++ b/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb
@@ -2,7 +2,7 @@ SUMMARY = "User space daemon for extended IEEE 802.11 
management"
 HOMEPAGE = "http://w1.fi/hostapd/";
 SECTION = "kernel/userland"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://hostapd/README;md5=c905478466c90f1cefc0df987c40e172"
+LIC_FILES_CHKSUM = 
"file://hostapd/README;beginline=5;endline=47;md5=aa03b8bd6216d1a7ca01fd4b89863073"
 
 DEPENDS = "libnl openssl"
 

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



[oe] [meta-oe][PATCH 3/3] libjs-jquery-icheck: Correct LIC_FILES_CHKSUM

2024-05-29 Thread Peter Kjellerstedt
Only include the lines from icheck.js that cover the copyright and the
license text.

License-Update: Only include the relevant parts of icheck.js
Signed-off-by: Peter Kjellerstedt 
---
 meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb 
b/meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb
index 31c3534b8..63dfc6fa7 100644
--- a/meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb
+++ b/meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb
@@ -3,7 +3,7 @@ SECTION = "console/network"
 HOMEPAGE = "http://fronteed.com/iCheck";
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = 
"file://icheck.js;start_line=1;end_line=8;md5=404078d7de9f05ed64d364274f790055"
+LIC_FILES_CHKSUM = 
"file://icheck.js;beginline=6;endline=7;md5=ea25eee37fc3b14403e215bfe13564bc"
 
 SRC_URI = "git://github.com/fronteed/icheck.git;protocol=https;branch=${PV}"
 

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



[oe] [meta-oe][PATCH 1/3] hostapd: Support running "devtool modify hostapd"

2024-05-29 Thread Peter Kjellerstedt
For "devtool modify" to work correctly, ${B} needs to match ${S}.

Signed-off-by: Peter Kjellerstedt 
---
 .../recipes-connectivity/hostapd/hostapd_2.10.bb| 13 +
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb 
b/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb
index e547462bb..6eca853e4 100644
--- a/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb
+++ b/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb
@@ -16,9 +16,6 @@ SRC_URI = " \
 
 SRC_URI[sha256sum] = 
"206e7c799b678572c2e3d12030238784bc4a9f82323b0156b4c9466f1498915d"
 
-S = "${WORKDIR}/hostapd-${PV}"
-B = "${WORKDIR}/hostapd-${PV}/hostapd"
-
 inherit update-rc.d systemd pkgconfig features_check
 
 CONFLICT_DISTRO_FEATURES = "openssl-no-weak-ciphers"
@@ -29,20 +26,20 @@ SYSTEMD_SERVICE:${PN} = "hostapd.service"
 SYSTEMD_AUTO_ENABLE:${PN} = "disable"
 
 do_configure:append() {
-install -m 0644 ${UNPACKDIR}/defconfig ${B}/.config
+install -m 0644 ${UNPACKDIR}/defconfig ${B}/hostapd/.config
 }
 
 do_compile() {
 export CFLAGS="-MMD -O2 -Wall -g"
 export EXTRA_CFLAGS="${CFLAGS}"
-make V=1
+make -C hostapd V=1
 }
 
 do_install() {
 install -d ${D}${sbindir} ${D}${sysconfdir}/init.d 
${D}${systemd_unitdir}/system/
-install -m 0644 ${B}/hostapd.conf ${D}${sysconfdir}
-install -m 0755 ${B}/hostapd ${D}${sbindir}
-install -m 0755 ${B}/hostapd_cli ${D}${sbindir}
+install -m 0644 ${B}/hostapd/hostapd.conf ${D}${sysconfdir}
+install -m 0755 ${B}/hostapd/hostapd ${D}${sbindir}
+install -m 0755 ${B}/hostapd/hostapd_cli ${D}${sbindir}
 install -m 755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/hostapd
 install -m 0644 ${UNPACKDIR}/hostapd.service ${D}${systemd_unitdir}/system/
 sed -i -e 's,@SBINDIR@,${sbindir},g' -e 's,@SYSCONFDIR@,${sysconfdir},g' 
${D}${systemd_unitdir}/system/hostapd.service

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110619): 
https://lists.openembedded.org/g/openembedded-devel/message/110619
Mute This Topic: https://lists.openembedded.org/mt/106379362/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 09/40] libdevmapper: upgrade 2.03.22 -> 2.03.24

2024-05-29 Thread Peter Kjellerstedt
> -Original Message-
> From: Khem Raj 
> Sent: den 29 maj 2024 17:50
> To: Peter Kjellerstedt 
> Cc: wan...@fujitsu.com; openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [meta-oe] [PATCH 09/40] libdevmapper: upgrade 2.03.22 -> 
> 2.03.24
> 
> On Mon, May 27, 2024 at 7:53 PM Peter Kjellerstedt via lists.openembedded.org 
>  wrote:
> >
> > > -Original Message-
> > > From: openembedded-devel@lists.openembedded.org 
> > >  On Behalf Of wangmy via
> > > lists.openembedded.org
> > > Sent: den 28 maj 2024 03:48
> > > To: openembedded-devel@lists.openembedded.org
> > > Cc: Wang Mingyu 
> > > Subject: [oe] [meta-oe] [PATCH 09/40] libdevmapper: upgrade 2.03.22 -> 
> > > 2.03.24
> > >
> > > From: Wang Mingyu 
> > >
> > > Signed-off-by: Wang Mingyu 
> > > ---
> > >  .../lvm2/{libdevmapper_2.03.22.bb => libdevmapper_2.03.24.bb}   | 0
> > >  meta-oe/recipes-support/lvm2/lvm2.inc   | 2 +-
> > >  2 files changed, 1 insertion(+), 1 deletion(-)
> > >  rename meta-oe/recipes-support/lvm2/{libdevmapper_2.03.22.bb => 
> > > libdevmapper_2.03.24.bb} (100%)
> > >
> > > diff --git a/meta-oe/recipes-support/lvm2/libdevmapper_2.03.22.bb 
> > > b/meta-oe/recipes-support/lvm2/libdevmapper_2.03.24.bb
> > > similarity index 100%
> > > rename from meta-oe/recipes-support/lvm2/libdevmapper_2.03.22.bb
> > > rename to meta-oe/recipes-support/lvm2/libdevmapper_2.03.24.bb
> > > diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc 
> > > b/meta-oe/recipes-support/lvm2/lvm2.inc
> > > index d95366f97..0351eb6b3 100644
> > > --- a/meta-oe/recipes-support/lvm2/lvm2.inc
> > > +++ b/meta-oe/recipes-support/lvm2/lvm2.inc
> > > @@ -19,7 +19,7 @@ SRC_URI = 
> > > "git://sourceware.org/git/lvm2.git;branch=main \
> > > file://0001-include-libgen.h-for-basename.patch \
> > > "
> > >
> > > -SRCREV = "016e469caf856f1eb8dde39df0d1aa2e74225aed"
> > > +SRCREV = "90ec2cd92f6367c431dd8dae55d0cbe7e196734f"
> > >  S = "${WORKDIR}/git"
> > >
> > >  UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\_\d+)+)"
> > > --
> > > 2.34.1
> >
> > lvm2.inc is used by both lvm2 and libdevmapper so both recipes must be 
> > updated at the same time.
> 
> Markus has provided a followup. Although it renames the recipes to
> drop PV which is less than ideal
> but perhaps its better than what we have today
> >
> > //Peter

While I use versioned bbappends a lot myself (which is not possible with 
recipes without a version in the file name), I do see the maintenance 
benefit of having both PV and SRCREV specified in the .inc file.

//Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110617): 
https://lists.openembedded.org/g/openembedded-devel/message/110617
Mute This Topic: https://lists.openembedded.org/mt/106342039/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 09/40] libdevmapper: upgrade 2.03.22 -> 2.03.24

2024-05-27 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of wangmy via
> lists.openembedded.org
> Sent: den 28 maj 2024 03:48
> To: openembedded-devel@lists.openembedded.org
> Cc: Wang Mingyu 
> Subject: [oe] [meta-oe] [PATCH 09/40] libdevmapper: upgrade 2.03.22 -> 2.03.24
> 
> From: Wang Mingyu 
> 
> Signed-off-by: Wang Mingyu 
> ---
>  .../lvm2/{libdevmapper_2.03.22.bb => libdevmapper_2.03.24.bb}   | 0
>  meta-oe/recipes-support/lvm2/lvm2.inc   | 2 +-
>  2 files changed, 1 insertion(+), 1 deletion(-)
>  rename meta-oe/recipes-support/lvm2/{libdevmapper_2.03.22.bb => 
> libdevmapper_2.03.24.bb} (100%)
> 
> diff --git a/meta-oe/recipes-support/lvm2/libdevmapper_2.03.22.bb 
> b/meta-oe/recipes-support/lvm2/libdevmapper_2.03.24.bb
> similarity index 100%
> rename from meta-oe/recipes-support/lvm2/libdevmapper_2.03.22.bb
> rename to meta-oe/recipes-support/lvm2/libdevmapper_2.03.24.bb
> diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc 
> b/meta-oe/recipes-support/lvm2/lvm2.inc
> index d95366f97..0351eb6b3 100644
> --- a/meta-oe/recipes-support/lvm2/lvm2.inc
> +++ b/meta-oe/recipes-support/lvm2/lvm2.inc
> @@ -19,7 +19,7 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main \
> file://0001-include-libgen.h-for-basename.patch \
> "
> 
> -SRCREV = "016e469caf856f1eb8dde39df0d1aa2e74225aed"
> +SRCREV = "90ec2cd92f6367c431dd8dae55d0cbe7e196734f"
>  S = "${WORKDIR}/git"
> 
>  UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\_\d+)+)"
> --
> 2.34.1

lvm2.inc is used by both lvm2 and libdevmapper so both recipes must be updated 
at the same time.

//Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110576): 
https://lists.openembedded.org/g/openembedded-devel/message/110576
Mute This Topic: https://lists.openembedded.org/mt/106342039/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 1/2] malcontent-ui: add malcontent to RDEPENDS

2024-05-15 Thread Peter Kjellerstedt
If libmalcontent-ui links with libmalcontent, then the malcontent-ui recipe 
should have a DEPENDS on malcontent, and you should not need to add an explicit 
RDEPENDS:${PN} for it (just as Martin wrote).

The reason I guess that you get that error is because I believe the 
malcontent-ui recipe has actually built libmalcontent itself (given that both 
recipes use the same source code) rather than using the one produced by the 
malcontent recipe (which malcontent-ui doesn't depend on...) Would it be an 
option to just have one recipe that builds both libraries and then packages 
them in different packages?

Also (since I now looked at the recipes), I would strongly recommend not to do:

FILES:${PN} = "${bindir} ${libdir} ${datadir}"

as you do in the malcontent-ui recipe, or:

FILES:${PN} += "${libdir} ${datadir}"

as you do in the malcontent recipe. Resetting FILES:${PN} (as in the first 
case) is always a source of problems and can easily lead to incorrect packaging 
of files. And for ${libdir} and ${datadir}, be more specific with what paths 
you are actually adding.

//Peter

From: openembedded-devel@lists.openembedded.org 
 On Behalf Of Markus Volk
Sent: den 13 maj 2024 23:04
To: Martin Jansa 
Cc: f_...@t-online.de; openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [meta-oe][PATCH 1/2] malcontent-ui: add malcontent to RDEPENDS

On Mon, May 13 2024 at 10:30:31 PM +02:00:00, Martin Jansa 
mailto:martin.ja...@gmail.com>> wrote:

If libmalcontent-ui-1.so.1 links with libmalcontent-0.so.0 then this should be 
build-time DEPENDS (and then shlibs code in do_package will automatically add 
malcontent to RDEPENDS.

This error is caused by adding malcontent to the DEPENDS field in PACKAGECONFIG 
like I did in gnome-control-center. After enabling this  in my build the error 
occurred.
But in the end this RDPEND is not wrong I guess? I've split the package in two 
and without this RDEPEND it would be possible to install libmalcontent-ui 
without libmalcontent which would then be broken

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110405): 
https://lists.openembedded.org/g/openembedded-devel/message/110405
Mute This Topic: https://lists.openembedded.org/mt/106081394/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 v3 1/1] apache2: fix multilib file conflicts

2024-05-13 Thread Peter Kjellerstedt
> -Original Message-
> From: Kai  
> Sent: den 13 maj 2024 05:29
> To: Peter Kjellerstedt 
> Cc: openembedded-devel@lists.openembedded.org
> Subject: Re: [PATCH v3 1/1] apache2: fix multilib file conflicts
> 
> On 5/12/24 21:59, Peter Kjellerstedt wrote:
> > -Original Message-
> > From: mailto:kai.k...@windriver.com mailto:kai.k...@windriver.com
> > Sent: den 8 maj 2024 09:07
> > To: Peter Kjellerstedt mailto:peter.kjellerst...@axis.com
> > Cc: mailto:openembedded-devel@lists.openembedded.org
> > Subject: [PATCH v3 1/1] apache2: fix multilib file conflicts
> > 
> > > From: Kai Kang mailto:kai.k...@windriver.com
> > > 
> > > There are file conflicts of apache2 when multilib enabled:

[snip]

> > > @@ -80,7 +80,9 @@ EXTRA_OECONF:class-native = "\
> > >  "
> > > 
> > >  do_configure:prepend() {
> > > -sed -i -e 's:$''{prefix}/usr/lib/cgi-bin:$''{libexecdir}/cgi-bin:g' 
> > > ${S}/config.layout
> > > +sed -i -e 's#\(cgidir:\s*\).*#\1${libexecdir}/cgi-bin#' \
> > 
> > I do not know if this was intentional or not, but the above changes the 
> > location of the CGI directory for all layouts, where it previously only 
> > changed the path used by the Debian layout.
> > 
> > It is not a problem for us as we do not use it anyway (we actually 
> > remove it in our bbappend), but if it was intentional, it should be 
> > mentioned in the commit message, and if it was not intentional, then 
> > it should be reverted.
> 
> It is indeed to change `the CGI directory` and it has been done a long time 
> ago for all layouts.

It may have been the intention, but until now, the path was only changed 
for layouts that use `${prefix}/usr/lib/cgi-bin` as cgidir, which only the 
Debian layout does. So it definitely needs to be documented as a change.

> It is just update the sed pattern to make it more clear this time.

You also change `$''{libexecdir}/cgi-bin` to `${libexecdir}/cgi-bin`. This 
means 
that the modified file now contains the expanded value of ${libexecdir} rather 
than the unexpanded string as it did before. I do not think this is a problem  
per se, but you may as well continue to use $''{libexecdir} above and below to 
maintain the formatting of the file.

> 
> > > +   -e 's#\(installbuilddir:\s*\).*#\1${libexecdir}/${PN}/build#' 
> > > \
> > 
> > This now works for us while using the RedHat layout.
> 
> Thanks for your feedback.
> 
> Regards,
> Kai

//Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110337): 
https://lists.openembedded.org/g/openembedded-devel/message/110337
Mute This Topic: https://lists.openembedded.org/mt/105976652/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 v3 1/1] apache2: fix multilib file conflicts

2024-05-12 Thread Peter Kjellerstedt
> -Original Message-
> From: kai.k...@windriver.com 
> Sent: den 8 maj 2024 09:07
> To: Peter Kjellerstedt 
> Cc: openembedded-devel@lists.openembedded.org
> Subject: [PATCH v3 1/1] apache2: fix multilib file conflicts
> 
> From: Kai Kang 
> 
> There are file conflicts of apache2 when multilib enabled:
> 
> Error: Transaction test error:
>   file /usr/share/apache2/build/config.nice conflicts between attempted
> installs of apache2-dev-2.4.58-r0.cortexa57 and 
> lib32-apache2-dev-2.4.58-r0.armv7vet2hf_vfp
>   file /usr/share/apache2/build/config_vars.mk conflicts between
> attempted installs of apache2-dev-2.4.58-r0.cortexa57 and 
> lib32-apache2-dev-2.4.58-r0.armv7vet2hf_vfp
> 
> Install the 'build' directory to ${libexecdir} by setting
> 'installbuilddir' to fix the conflicts. ${libexecdir} is not populated
> to sysroot by default, but command apxs requires these files, then add
> the dir to SYSROOT_DIRS to populate them.
> 
> And inherit bbclasses multilib_script and multilib_header to fix follow
> up conflicts:
> 
>   file /usr/bin/apxs conflicts between attempted installs of
> apache2-dev-2.4.58-r0.cortexa57 and 
> lib32-apache2-dev-2.4.58-r0.armv7vet2hf_vfp
>   file /usr/include/apache2/ap_config_layout.h conflicts between
> attempted installs of apache2-dev-2.4.58-r0.cortexa57 and 
> lib32-apache2-dev-2.4.58-r0.armv7vet2hf_vfp
> 
> Since multilib_script inherits update-alternatives, remove it from
> inherit line for beautification.
> 
> Fix buildpaths warning as well:
> 
>   WARNING: lib32-apache2-2.4.58-r0 do_package_qa: QA Issue: File 
> /usr/share/apache2/build/config.nice
>in package lib32-apache2-dev contains reference to TMPDIR 
> [buildpaths]
> 
> Signed-off-by: Kai Kang 
> ---
>  .../recipes-httpd/apache2/apache2_2.4.59.bb   | 37 ---
>  1 file changed, 23 insertions(+), 14 deletions(-)
> 
> diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.59.bb 
> b/meta-webserver/recipes-httpd/apache2/apache2_2.4.59.bb
> index b96e8b4e1..59db22310 100644
> --- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.59.bb
> +++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.59.bb
> @@ -31,7 +31,7 @@ SRC_URI[sha256sum] = 
> "ec51501ec480284ff52f637258135d333230a7d229c3afa6f6c2f9040e
> 
>  S = "${WORKDIR}/httpd-${PV}"
> 
> -inherit autotools update-rc.d pkgconfig systemd update-alternatives
> +inherit autotools update-rc.d pkgconfig systemd multilib_script 
> multilib_header
> 
>  DEPENDS = "openssl expat pcre apr apr-util apache2-native "
> 
> @@ -80,7 +80,9 @@ EXTRA_OECONF:class-native = "\
>  "
> 
>  do_configure:prepend() {
> -sed -i -e 's:$''{prefix}/usr/lib/cgi-bin:$''{libexecdir}/cgi-bin:g' 
> ${S}/config.layout
> +sed -i -e 's#\(cgidir:\s*\).*#\1${libexecdir}/cgi-bin#' \

I do not know if this was intentional or not, but the above changes the 
location of the CGI directory for all layouts, where it previously only 
changed the path used by the Debian layout.

It is not a problem for us as we do not use it anyway (we actually 
remove it in our bbappend), but if it was intentional, it should be 
mentioned in the commit message, and if it was not intentional, then 
it should be reverted.

> +   -e 's#\(installbuilddir:\s*\).*#\1${libexecdir}/${PN}/build#' \

This now works for us while using the RedHat layout.

> +   ${S}/config.layout
>  }
> 
>  do_install:append:class-target() {
> @@ -119,14 +121,15 @@ do_install:append:class-target() {
> -e 's,-fdebug-prefix-map[^ ]*,,g; s,-fmacro-prefix-map[^ ]*,,g; 
> s,-ffile-prefix-map[^ ]*,,g' \
> -e 's,${HOSTTOOLS_DIR}/,,g' \
> -e 's,APU_INCLUDEDIR = .*,APU_INCLUDEDIR = ,g' \
> -   -e 's,APU_CONFIG = .*,APU_CONFIG = ,g' 
> ${D}${datadir}/apache2/build/config_vars.mk
> +   -e 's,APU_CONFIG = .*,APU_CONFIG = ,g' 
> ${D}${libexecdir}/${PN}/build/config_vars.mk
> 
>  sed -i -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
> -e 's,${DEBUG_PREFIX_MAP},,g' \
> -e 's,${RECIPE_SYSROOT},,g' \
> -e 's,-fdebug-prefix-map[^ ]*,,g; s,-fmacro-prefix-map[^ ]*,,g; 
> s,-fmacro-prefix-map[^ ]*,,g' \
> -e 's,APU_INCLUDEDIR = .*,APU_INCLUDEDIR = ,g' \
> -   -e 's,".*/configure","configure",g' 
> ${D}${datadir}/apache2/build/config.nice
> +   -e 's,${WORKDIR}/recipe-sysroot/,,g' \
> +   -e 's,".*/configure","configure&q

Re: [oe] [meta-oe][scarthgap][master][PATCH] re2: remove dev dependencies from main package

2024-05-12 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org  de...@lists.openembedded.org> On Behalf Of Peter Marko via
> lists.openembedded.org
> Sent: den 8 maj 2024 13:16
> To: openembedded-devel@lists.openembedded.org
> Cc: Peter Marko 
> Subject: [oe] [meta-oe][scarthgap][master][PATCH] re2: remove dev
> dependencies from main package
> 
> From: Peter Marko 
> 
> It's a bad idea to add dev dependencies to main package.
> It's pulling build dependencies including toolchain items.
> 
> The dependencies "were needed" because main package contains
> packageconfig file.
> This can be fixed by correct packaging.
> 
> Signed-off-by: Peter Marko 
> ---
>  meta-oe/recipes-support/re2/re2_2024.03.01.bb | 5 +
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/meta-oe/recipes-support/re2/re2_2024.03.01.bb b/meta-
> oe/recipes-support/re2/re2_2024.03.01.bb
> index 192fe265f..6e5b32a94 100644
> --- a/meta-oe/recipes-support/re2/re2_2024.03.01.bb
> +++ b/meta-oe/recipes-support/re2/re2_2024.03.01.bb
> @@ -16,9 +16,6 @@ DEPENDS = "abseil-cpp
> ${@bb.utils.contains('PTEST_ENABLED', '1', 'gtest googlebe
> 
>  inherit cmake ptest
>  RDEPENDS:${PN}-ptest += "cmake sed"
> -RDEPENDS:${PN} += "abseil-cpp-dev"
> -
> -INSANE_SKIP:${PN} += "dev-deps"
> 
>  EXTRA_OECMAKE += " \
>   -DBUILD_SHARED_LIBS=ON \
> @@ -39,6 +36,6 @@ FILES:${PN} = "${libdir}"
>  INSANE_SKIP:${PN} += "dev-so"
> 
>  # Don't include so files in dev package
> -FILES:${PN}-dev = "${includedir} ${libdir}/cmake"
> +FILES:${PN}-dev = "${includedir} ${libdir}/cmake ${libdir}/pkgconfig"

This wouldn't be needed if FILES:${PN} wasn't set using 
FILES:${PN} = "${libdir}" earlier.

A better way to achieve that *.so files are packaged in the base package 
is to do:

SOLIBS = ".so*"
FILES_SOLIBSDEV = ""
INSANE_SKIP:${PN} += "dev-so"

> 
>  BBCLASSEXTEND = "native nativesdk"
> --
> 2.30.2

//Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110323): 
https://lists.openembedded.org/g/openembedded-devel/message/110323
Mute This Topic: https://lists.openembedded.org/mt/105978716/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 v2] apache2: fix multilib files confliction

2024-04-28 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Kai Kang
> Sent: den 25 april 2024 05:07
> To: openembedded-devel@lists.openembedded.org
> Subject: [oe] [PATCH v2] apache2: fix multilib files confliction
> 
> From: Kai Kang 
> 
> There are files confliction of apache2 when multilib enabled:
> 
> Error: Transaction test error:
>   file /usr/share/apache2/build/config.nice conflicts between attempted
> installs of apache2-dev-2.4.58-r0.cortexa57 and 
> lib32-apache2-dev-2.4.58-r0.armv7vet2hf_vfp
>   file /usr/share/apache2/build/config_vars.mk conflicts between
> attempted installs of apache2-dev-2.4.58-r0.cortexa57 and 
> lib32-apache2-dev-2.4.58-r0.armv7vet2hf_vfp
> 
> Install the 'build' directory to ${libexecdir} to fix the confliction by
> setting 'installbuilddir'. ${libexecdir} is not populated to sysroot by
> default, but command apxs requires these files, then add the dir to
> SYSROOT_DIRS to populate them.
> 
> And inherit bbclasses multilib_script and multilib_header to fix follow
> up conflictions:
> 
>   file /usr/bin/apxs conflicts between attempted installs of
> apache2-dev-2.4.58-r0.cortexa57 and 
> lib32-apache2-dev-2.4.58-r0.armv7vet2hf_vfp
>   file /usr/include/apache2/ap_config_layout.h conflicts between
> attempted installs of apache2-dev-2.4.58-r0.cortexa57 and 
> lib32-apache2-dev-2.4.58-r0.armv7vet2hf_vfp
> 
> Since multilib_script inherits update-alternatives, remove it from
> inherit line for beautification.
> 
> Fix buildpaths warning as well:
> 
>   WARNING: lib32-apache2-2.4.58-r0 do_package_qa: QA Issue: File 
> /usr/share/apache2/build/config.nice
>in package lib32-apache2-dev contains reference to TMPDIR 
> [buildpaths]
> 
> Signed-off-by: Kai Kang 
> ---
> v2:
> * still populate `.../build` directory after installed to ${libexecdir}
> * fix buildpaths warning
> 
>  .../recipes-httpd/apache2/apache2_2.4.59.bb   | 38 ---
>  1 file changed, 24 insertions(+), 14 deletions(-)
> 
> diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.59.bb 
> b/meta-webserver/recipes-httpd/apache2/apache2_2.4.59.bb
> index b96e8b4e1..5b170fac3 100644
> --- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.59.bb
> +++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.59.bb
> @@ -31,7 +31,7 @@ SRC_URI[sha256sum] = 
> "ec51501ec480284ff52f637258135d333230a7d229c3afa6f6c2f9040e
> 
>  S = "${WORKDIR}/httpd-${PV}"
> 
> -inherit autotools update-rc.d pkgconfig systemd update-alternatives
> +inherit autotools update-rc.d pkgconfig systemd multilib_script 
> multilib_header
> 
>  DEPENDS = "openssl expat pcre apr apr-util apache2-native "
> 
> @@ -80,7 +80,10 @@ EXTRA_OECONF:class-native = "\
>  "
> 
>  do_configure:prepend() {
> -sed -i -e 's:$''{prefix}/usr/lib/cgi-bin:$''{libexecdir}/cgi-bin:g' 
> ${S}/config.layout
> +# only modify layout Debian which is adopted
> +sed -i -e '/Layout Debian/,/\Layout/ 
> s#\(cgidir:\s*\).*#\1${libexecdir}/cgi-bin#g' \
> +-e '/Layout Debian/,/\Layout/ 
> s#\(installbuilddir:\s*\).*#\1${libexecdir}/${PN}/build#g' \
> +${S}/config.layout
>  }
> 
>  do_install:append:class-target() {
> @@ -119,14 +122,15 @@ do_install:append:class-target() {
> -e 's,-fdebug-prefix-map[^ ]*,,g; s,-fmacro-prefix-map[^ ]*,,g; 
> s,-ffile-prefix-map[^ ]*,,g' \
> -e 's,${HOSTTOOLS_DIR}/,,g' \
> -e 's,APU_INCLUDEDIR = .*,APU_INCLUDEDIR = ,g' \
> -   -e 's,APU_CONFIG = .*,APU_CONFIG = ,g' 
> ${D}${datadir}/apache2/build/config_vars.mk
> +   -e 's,APU_CONFIG = .*,APU_CONFIG = ,g' 
> ${D}${libexecdir}/${PN}/build/config_vars.mk
> 
>  sed -i -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
> -e 's,${DEBUG_PREFIX_MAP},,g' \
> -e 's,${RECIPE_SYSROOT},,g' \
> -e 's,-fdebug-prefix-map[^ ]*,,g; s,-fmacro-prefix-map[^ ]*,,g; 
> s,-fmacro-prefix-map[^ ]*,,g' \
> -e 's,APU_INCLUDEDIR = .*,APU_INCLUDEDIR = ,g' \
> -   -e 's,".*/configure","configure",g' 
> ${D}${datadir}/apache2/build/config.nice
> +   -e 's,${WORKDIR}/recipe-sysroot/,,g' \
> +   -e 's,".*/configure","configure",g' 
> ${D}${libexecdir}/${PN}/build/config.nice
> 
>  if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', 
> d)}; then
>  install -d ${D}${sysconfdir}/tmpfiles.d/
> @@ -143,6 +147,8 @@ do_install:append:class-target() {
> 
>  rm -rf ${D}${localstatedir} ${D}${sbindir}/envvars*
>  chown -R root:root ${D}
> +
> +oe_multilib_header apache2/ap_config_layout.h
>  }
> 
>  do_install:append:class-native() {
> @@ -152,20 +158,22 @@ do_install:append:class-native() {
> 
>  SYSROOT_PREPROCESS_FUNCS:append:class-target = " apache_sysroot_preprocess"
> 
> +SYSROOT_DIRS += "${libexecdir}/${PN}/build"
> +
>  apache_sysroot_preprocess() {
>  install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}
>  install -m 755 ${D}${bindir}/apxs 
> ${SYSROOT_DEST

Re: [oe] [PATCH] nginx: Disable login for www user

2024-04-10 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org  de...@lists.openembedded.org> On Behalf Of Maksim Perevozchikov
> Sent: den 10 april 2024 12:25
> To: Maksim Perevozchikov ; openembedded-
> de...@lists.openembedded.org
> Subject: Re: [oe] [PATCH] nginx: Disable login for www user
> 
> Hi Folks,
> 
> I've found out that the patch has an issue. Should I issue the new patch
> or there is a way to fix the original one?

Amend the commit to contain the necessary changes, then create a new 
version of the patch. Make sure to note that this the second version of 
the patch. You can do this by adding -v2 as option to git format-patch.
It is also appreciated if you comment the patch with what has changed 
compared to the previous version. You can do this by adding any relevant 
information after the line with three dashes ("---").

//Peter

> 
> Thanks for reply,
> Maxim
> 
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Maksim Perevozchikov
> Sent: Monday, April 8, 2024 11:02 AM
> To: openembedded-devel@lists.openembedded.org
> Cc: Maksim Perevozchikov 
> Subject: [oe] [PATCH] nginx: Disable login for www user
> 
> Signed-off-by: Maxim Perevozchikov 
> ---
>  meta-webserver/recipes-httpd/nginx/nginx.inc | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc 
> b/meta-webserver/recipes-httpd/nginx/nginx.inc
> index f65c20971..439e28a8f 100644
> --- a/meta-webserver/recipes-httpd/nginx/nginx.inc
> +++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
> @@ -186,4 +186,5 @@ USERADD_PARAM:${PN} = " \
>  --system --no-create-home \
>  --home ${NGINX_WWWDIR} \
>  --groups www-data \
> ---user-group ${NGINX_USER}"
> +--user-group ${NGINX_USER} \
> +--shell ${base_sbindir}/nologin"
> --
> 2.30.2


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



[oe] [meta-oe][PATCH] libnice: Update to 0.1.22

2024-04-09 Thread Peter Kjellerstedt
Changes since 0.1.21:
* ae3eb16 version 0.1.22
* 4d14e61 tests: Reduce the printing a little to please libxml
* 2de7472 Change padding to be rfc8489 conform
* 69840fa meson: Generate nice-version.h in the right builddir
* f071eb5 interfaces: Avoid using strncpy to keep NULL termination
* 332419e interfaces: Avoid overwriting the ifreq struct
* 2188064 interfaces: Don't iterate allocation
* 952d837 Include TURN sockets in nice_agent_get_sockets()
* d053572 nicesink: Protect field access with object lock
* 504189e ci: Update Windows image to latest
* 245c856 nice: Export nice_address_is_linklocal
* 60db3b6 gitlab-ci: Move Coverity build to Fedora 38
* 4b63250 agent/meson: Replace filename with basename
* f456747 agent: set consent timeout to value specified in RFC 7675
* f3688cf meson: do not build gst test in static mode
* b322577 ci: Remove keyring update for msys2
* 11df9cd ci: Update Windows image to 2022
* 63f4962 Use ifr_ifindex on Linux
* 37f1e24 Use ifr_index to fix build on OpenBSD
* f4e2838 Fix build with clang
* fdbffeb version 0.1.21.1

Move the recipe from meta-oe/recipes-support/farsight to
meta-oe/recipes-support/libnice since there is nothing else in the
farsight directory.

Also remove additions to do_configure() and do_compile() that have not
been needed since the switch to Meson.

Signed-off-by: Peter Kjellerstedt 
---
 ...meson-Replace-filename-with-basename.patch | 40 ---
 .../libnice_0.1.22.bb}| 20 ++
 2 files changed, 3 insertions(+), 57 deletions(-)
 delete mode 100644 
meta-oe/recipes-support/farsight/libnice/0001-agent-meson-Replace-filename-with-basename.patch
 rename meta-oe/recipes-support/{farsight/libnice_0.1.21.bb => 
libnice/libnice_0.1.22.bb} (66%)

diff --git 
a/meta-oe/recipes-support/farsight/libnice/0001-agent-meson-Replace-filename-with-basename.patch
 
b/meta-oe/recipes-support/farsight/libnice/0001-agent-meson-Replace-filename-with-basename.patch
deleted file mode 100644
index 897de4a6c..0
--- 
a/meta-oe/recipes-support/farsight/libnice/0001-agent-meson-Replace-filename-with-basename.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 7c510cd20bb443064ab4a0d2c6d917e807b2671b Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Mon, 22 May 2023 19:45:28 -0700
-Subject: [PATCH] agent/meson: Replace filename with basename
-
-This avoids emitting absolute paths into generated sourcecode, it
-improves reproducibility. See [1]
-
-[1] https://developer-old.gnome.org/gobject/stable/glib-mkenums.html
-
-Upstream-Status: Submitted 
[https://gitlab.freedesktop.org/libnice/libnice/-/merge_requests/258]
-Signed-off-by: Khem Raj 

- agent/meson.build | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/agent/meson.build b/agent/meson.build
-index 2e5b272..44fcd6b 100644
 a/agent/meson.build
-+++ b/agent/meson.build
-@@ -29,14 +29,14 @@ gnome = import('gnome')
- 
- agent_enum_types_c =  gnome.mkenums('agent-enum-types.c', sources : 
agent_headers,
-   fhead: '#include \n#include 
\n#include "agent.h"\n#include "pseudotcp.h"\n#include 
"agent-enum-types.h"',
--  fprod: '\n/* enumerations from "@filename@" 
*/',
-+  fprod: '\n/* enumerations from "@basename@" 
*/',
-   vhead: 'GType\n@enum_name@_get_type 
(void)\n{\n  static GType type = 0;\n  if (!type) {\nstatic const 
G@Type@Value values[] = {',
-   vprod: '  { @VALUENAME@, "@VALUENAME@", 
"@valuenick@" },',
-   vtail: '  { 0, NULL, NULL }\n};\n   
 type = g_@type@_register_static ("@EnumName@", values);\n  }\n  return 
type;\n}\n\n')
- 
- agent_enum_types_h = gnome.mkenums('agent-enum-types.h', sources : 
agent_headers,
-  fhead: '#ifndef 
__AGENT_ENUM_TYPES_H__\n#define __AGENT_ENUM_TYPES_H__ 1\n\n#include 
\n\nG_BEGIN_DECLS\n',
-- fprod: '/* enumerations from "@filename@" 
*/\n',
-+ fprod: '/* enumerations from "@basename@" 
*/\n',
-  vhead: 'GType @enum_name@_get_type (void) 
G_GNUC_CONST;\n#define NICE_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n',
- ftail: 'G_END_DECLS\n\n#endif /* 
!AGENT_ENUM_TYPES_H */')
- 
--- 
-2.40.1
-
diff --git a/meta-oe/recipes-support/farsight/libnice_0.1.21.bb 
b/meta-oe/recipes-support/libnice/libnice_0.1.22.bb
similarity index 66%
rename from meta-oe/recipes-support/farsight/libnice_0.1.21.bb
rename to meta-oe/recipes-support/libnice/libnice_0.1.22.bb
index 646dcb28c..175e10fdf 100644

Re: [oe] [meta-oe][PATCH v4 7/7] lvgl: lv-conf.inc: generalize sed instructions

2024-03-21 Thread Peter Kjellerstedt
> -Original Message-
> From: Marek Vasut 
> Sent: den 18 mars 2024 23:00
> To: Christophe Chapuis 
> Cc: Peter Kjellerstedt ; openembedded-
> de...@lists.openembedded.org; Khem Raj ; Fabio Estevam
> 
> Subject: Re: [oe] [meta-oe][PATCH v4 7/7] lvgl: lv-conf.inc: generalize
> sed instructions
> 
> On 3/18/24 4:42 PM, Christophe Chapuis wrote:
> > I avoided \s because it's not well known, and I would also prefer using
> > [[:space:]] as it is POSIX compliant.

See chapter "5.6 regular expression extensions" in the sed info page for \s 
and a number of other similar sequences (for anyone used to Perl's regular 
expressions, \s is the normal way to match whitespace). And true, this is 
not POSIX, but neither is the -i option that is also used by the same 
command.

> >
> > I can propose a patch for this, taking Peter's remarks into account.

Thank you.

> 
> Yes please, already reviewed too.
> 
> btw please stop top-posting .

//Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109505): 
https://lists.openembedded.org/g/openembedded-devel/message/109505
Mute This Topic: https://lists.openembedded.org/mt/104964304/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 v4 7/7] lvgl: lv-conf.inc: generalize sed instructions

2024-03-18 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Tofe
> Sent: den 16 mars 2024 11:01
> To: openembedded-devel@lists.openembedded.org
> Cc: Marek Vasut ; Khem Raj ; Fabio Estevam 
> ; Christophe Chapuis 
> Subject: [oe] [meta-oe][PATCH v4 7/7] lvgl: lv-conf.inc: generalize sed 
> instructions
> 
> Use [ \t] to detect optionnal spaces at the beginning of each
> line, and after the define.
> 
> Signed-off-by: Christophe Chapuis 
> ---
>  meta-oe/recipes-graphics/lvgl/lv-conf.inc | 46 +++
>  1 file changed, 23 insertions(+), 23 deletions(-)
> 
> diff --git a/meta-oe/recipes-graphics/lvgl/lv-conf.inc b/meta-oe/recipes-
> graphics/lvgl/lv-conf.inc
> index 9ee9f283d..2b5d4a14a 100644
> --- a/meta-oe/recipes-graphics/lvgl/lv-conf.inc
> +++ b/meta-oe/recipes-graphics/lvgl/lv-conf.inc
> @@ -35,37 +35,37 @@ do_configure:append() {
> 
>  sed -e "s|#if 0 .*Set it to \"1\" to enable content.*|#if 1 // Enabled 
> by ${PN}|g" \
>  \
> --e "s|\(^#define LV_USE_LINUX_DRM \).*|\1${LVGL_CONFIG_USE_DRM}|g" \
> +-e "s|\(^[ \t]*#define LV_USE_LINUX_DRM[ 
> \t]\).*|\1${LVGL_CONFIG_USE_DRM}|g" \
>  \
> --e "s|\(^#define LV_USE_LINUX_FBDEV 
> \).*|\1${LVGL_CONFIG_USE_FBDEV}|g" \
> +-e "s|\(^[ \t]*#define LV_USE_LINUX_FBDEV[ 
> \t]\).*|\1${LVGL_CONFIG_USE_FBDEV}|g" \
>  \
> --e "s|\(^#define LV_USE_SDL \).*|\1${LVGL_CONFIG_USE_SDL}|g" \
> --e "s|\(^#define LV_USE_DRAW_SDL \).*|\1${LVGL_CONFIG_USE_SDL}|g" \
> --e "s|\(^ \+#define LV_SDL_BUF_COUNT \).*|\1 2|g" \
> --e "s|\(^ \+#define LV_SDL_FULLSCREEN 
> \).*|\1${LVGL_CONFIG_SDL_FULLSCREEN}|g" \
> +-e "s|\(^[ \t]*#define LV_USE_SDL[ 
> \t]\).*|\1${LVGL_CONFIG_USE_SDL}|g" \
> +-e "s|\(^[ \t]*#define LV_USE_DRAW_SDL[ 
> \t]\).*|\1${LVGL_CONFIG_USE_SDL}|g" \
> +-e "s|\(^[ \t]*#define LV_SDL_BUF_COUNT[ \t]\).*|\1 2|g" \
> +-e "s|\(^[ \t]*#define LV_SDL_FULLSCREEN[ 
> \t]\).*|\1${LVGL_CONFIG_SDL_FULLSCREEN}|g" \
>  \
> --e "s|\(^#define LV_COLOR_DEPTH 
> \).*|\1${LVGL_CONFIG_LV_COLOR_DEPTH}|g" \
> --e "s|\(#define LV_MEM_CUSTOM 
> .*\).*|\1${LVGL_CONFIG_LV_MEM_CUSTOM}|g" \
> --e "s|\(^ \+#define LV_MEM_SIZE \).*|\1${LVGL_CONFIG_LV_MEM_SIZE}|g" 
> \
> +-e "s|\(^[ \t]*#define LV_COLOR_DEPTH[ 
> \t]\).*|\1${LVGL_CONFIG_LV_COLOR_DEPTH}|g" \
> +-e "s|\(^[ \t]*#define LV_MEM_CUSTOM[ 
> \t].*\).*|\1${LVGL_CONFIG_LV_MEM_CUSTOM}|g" \
> +-e "s|\(^[ \t]*#define LV_MEM_SIZE[ 
> \t]\).*|\1${LVGL_CONFIG_LV_MEM_SIZE}|g" \
>  \
> --e "s|\(#define LV_TICK_CUSTOM \).*|\1 1|g" \
> --e "s|\(#define LV_TICK_CUSTOM_INCLUDE \).*|\1 |g" \
> --e "s|\(#define LV_TICK_CUSTOM_SYS_TIME_EXPR \).*|extern uint32_t 
> custom_tick_get(void);\n\1 (custom_tick_get())|g" \
> +-e "s|\(^[ \t]*#define LV_TICK_CUSTOM[ \t]\).*|\1 1|g" \
> +-e "s|\(^[ \t]*#define LV_TICK_CUSTOM_INCLUDE[ \t]\).*|\1 
> |g" \
> +-e "s|\(^[ \t]*#define LV_TICK_CUSTOM_SYS_TIME_EXPR[ \t]\).*|extern 
> uint32_t custom_tick_get(void);\n\1 (custom_tick_get())|g" \
>  \
> --e "s|\(^#define LV_USE_EVDEV \).*|\1${LVGL_CONFIG_USE_EVDEV}|g" \
> +-e "s|\(^[ \t]*#define LV_USE_EVDEV[ 
> \t]\).*|\1${LVGL_CONFIG_USE_EVDEV}|g" \
>  \
> --e "s|\(^#define LV_USE_ASSERT_NULL \).*|\1${DEBUG_BUILD}|g" \
> --e "s|\(^#define LV_USE_ASSERT_MALLOC \).*|\1${DEBUG_BUILD}|g" \
> --e "s|\(^#define LV_USE_ASSERT_STYLE \).*|\1${DEBUG_BUILD}|g" \
> --e "s|\(^#define LV_USE_ASSERT_MEM_INTEGRITY 
> \).*|\1${DEBUG_BUILD}|g" \
> --e "s|\(^#define LV_USE_ASSERT_OBJ \).*|\1${DEBUG_BUILD}|g" \
> +-e "s|\(^[ \t]*#define LV_USE_ASSERT_NULL[ 
> \t]\).*|\1${DEBUG_BUILD}|g" \
> +-e "s|\(^[ \t]*#define LV_USE_ASSERT_MALLOC[ 
> \t]\).*|\1${DEBUG_BUILD}|g" \
> +-e "s|\(^[ \t]*#define LV_USE_ASSERT_STYLE[ 
> \t]\).*|\1${DEBUG_BUILD}|g" \
> +-e "s|\(^[ \t]*#define LV_USE_ASSERT_MEM_INTEGRITY[ 
> \t]\).*|\1${DEBUG_BUILD}|g" \
> +-e "s|\(^[ \t]*#define LV_USE_ASSERT_OBJ[ 
> \t]\).*|\1${DEBUG_BUILD}|g" \
>  \
> --e "s|\(^#define LV_USE_LOG \).*|\1${LVGL_CONFIG_LV_USE_LOG}|g" \
> --e "s|\(^ \+#define LV_LOG_LEVEL 
> \).*|\1${LVGL_CONFIG_LV_LOG_LEVEL}|g" \
> --e "s|\(^ \+#define LV_LOG_PRINTF 
> \).*|\1${LVGL_CONFIG_LV_LOG_PRINTF}|g" \
> +-e "s|\(^[ \t]*#define LV_USE_LOG[ 
> \t]\).*|\1${LVGL_CONFIG_LV_USE_LOG}|g" \
> +-e "s|\(^[ \t]*#define LV_LOG_LEVEL[ 
> \t]\).*|\1${LVGL_CONFIG_LV_LOG_LEVEL}|g" \
> +-e "s|\(^[ \t]*#define LV_LOG_PRINTF[ 
> \t]\).*|\1${LVGL_CONFIG_LV_LOG_PRINTF}|g" \
>  \
> --e "s|\(^#define LV_USE_FONT_COMPRESSED 
> \).*|\1${LVGL_CONFIG_LV_USE_FONT_COMPRESSED}|g" \
> --e "s|\(^ \+#define LV_THEME_DEFAULT_DARK 
> \).*|\1${LVGL_CONFIG_LV_THEME_DEFAULT_DARK}|g" \
> +-e "s|\(^[ \t]*#define LV_

Re: [oe] [meta-oe] [PATCH V2] abseil-cpp: upgrade 20230802.1 -> 20240116.1

2024-03-11 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org  de...@lists.openembedded.org> On Behalf Of Martin Jansa
> Sent: den 10 mars 2024 14:54
> To: wan...@fujitsu.com; Peter Kjellerstedt 
> Cc: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [meta-oe] [PATCH V2] abseil-cpp: upgrade 20230802.1 ->
> 20240116.1
> 
> Does this intentionally undo last 2 changes from Peter? The commit
> message doesn't mention it
> 
> https://git.openembedded.org/meta-openembedded/commit/?id=32eefcf1ca97a08ea85f62a72b676e447f1b79a0
> https://git.openembedded.org/meta-openembedded/commit/?id=5c554c9b8cb63b5d0d5f434c28dd71c0f1843448

I have no idea what happened there, but I assume they were somehow 
accidentally reverted. No idea how that was not detected before the below 
patch was integrated though.

Anyway, I have sent updated patches to restore what was reverted.

//Peter

> 
> also looks like libabsl_flags is no longer provided by this version
> (got failure from one recipe, will check if it's expected).
> 
> Regards,
> 
> On Fri, Mar 8, 2024 at 1:15 AM wangmy via lists.openembedded.org
>  wrote:
> >
> > From: Wang Mingyu 
> >
> > 0004-Avoid-using-both-Win32Waiter-and-PthreadWaiter-on-Mi.patch
> > revmoed since it's included in 20240116.1.
> >
> > Changelog:
> > ===
> > -Added absl::NoDestructor to simplify defining static types that do
> not need
> >  to be destructed upon program exit.
> > -Added configurable verbose logging (also known as VLOG).
> > -Added absl::Overload(), which returns a functor that provides overloads
> based
> >  on the functors passed to it.
> > -Bzlmod is now officially supported (previously it was supported by the
> community).
> >
> > Signed-off-by: Wang Mingyu 
> > ---
> >  ...-Win32Waiter-and-PthreadWaiter-on-Mi.patch | 62 ---
> >  ...20230802.1.bb => abseil-cpp_20240116.1.bb} | 37 +++
> >  2 files changed, 9 insertions(+), 90 deletions(-)
> >  delete mode 100644 meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-
> Avoid-using-both-Win32Waiter-and-PthreadWaiter-on-Mi.patch
> >  rename meta-oe/recipes-devtools/abseil-cpp/{abseil-cpp_20230802.1.bb =>
> abseil-cpp_20240116.1.bb} (59%)
> >
> > diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-Avoid-
> using-both-Win32Waiter-and-PthreadWaiter-on-Mi.patch b/meta-oe/recipes-
> devtools/abseil-cpp/abseil-cpp/0004-Avoid-using-both-Win32Waiter-and-
> PthreadWaiter-on-Mi.patch
> > deleted file mode 100644
> > index db559bb16..0
> > --- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-Avoid-using-
> both-Win32Waiter-and-PthreadWaiter-on-Mi.patch
> > +++ /dev/null
> > @@ -1,62 +0,0 @@
> > -From cb7665f39e23e95e2466390c60ee5a410780a3ed Mon Sep 17 00:00:00 2001
> > -From: Derek Mauro 
> > -Date: Wed, 8 Nov 2023 09:55:31 -0800
> > -Subject: [PATCH] Avoid using both Win32Waiter and PthreadWaiter on
> MinGW, and
> > - use StdcppWaiter instead.
> > -
> > -There are various flavors of MinGW, some of which support pthread,
> > -and some of which support Win32. Instead of figuring out which
> > -platform is being used, just use the generic implementation.
> > -
> > -PiperOrigin-RevId: 580565507
> > -Change-Id: Ia85fd7496f1e6ebdeadb95202f0039e844826118
> > -Upstream-Status: Backport
> > 
> > - absl/synchronization/internal/pthread_waiter.h | 4 ++--
> > - absl/synchronization/internal/win32_waiter.h   | 6 --
> > - 2 files changed, 6 insertions(+), 4 deletions(-)
> > -
> > -diff --git a/absl/synchronization/internal/pthread_waiter.h
> b/absl/synchronization/internal/pthread_waiter.h
> > -index 206aefa4..23db76ad 100644
> >  a/absl/synchronization/internal/pthread_waiter.h
> > -+++ b/absl/synchronization/internal/pthread_waiter.h
> > -@@ -16,7 +16,7 @@
> > - #ifndef ABSL_SYNCHRONIZATION_INTERNAL_PTHREAD_WAITER_H_
> > - #define ABSL_SYNCHRONIZATION_INTERNAL_PTHREAD_WAITER_H_
> > -
> > --#ifndef _WIN32
> > -+#if !defined(_WIN32) && !defined(__MINGW32__)
> > - #include 
> > -
> > - #include "absl/base/config.h"
> > -@@ -55,6 +55,6 @@ class PthreadWaiter : public
> WaiterCrtp {
> > - ABSL_NAMESPACE_END
> > - }  // namespace absl
> > -
> > --#endif  // ndef _WIN32
> > -+#endif  // !defined(_WIN32) && !defined(__MINGW32__)
> > -
> > - #endif  // ABSL_SYNCHRONIZATION_INTERNAL_PTHREAD_WAITER_H_
> > -diff --git a/absl/synchronization/internal/win32_waiter.h
> b/absl/synchronization/internal/win32_waite

[oe] [meta-oe][PATCH 1/2] abseil-cpp: A little clean-up

2024-03-11 Thread Peter Kjellerstedt
* Remove ASNEEDED:class-native and ASNEEDED:class-nativesdk as they make
  no difference since ${ASNEEDED} is only added to TARGET_LDFLAGS.
* Remove additions to FILES:${PN}-dev since the added paths are already
  added by default.

Signed-off-by: Peter Kjellerstedt 
---

This restores the two commits that were (presumably) acidentally
reverted in commit 903c8e58ed2240f7214261c9005a38f15d782c29.

 .../recipes-devtools/abseil-cpp/abseil-cpp_20240116.1.bb | 9 ++---
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240116.1.bb 
b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240116.1.bb
index 82b2d20e0..9cb325870 100644
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240116.1.bb
+++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240116.1.bb
@@ -1,7 +1,7 @@
 SUMMARY = "Abseil is a cpp library like STL"
 DESCRIPTION = "Abseil provides pieces missing from the C++ standard. Contains \
 additional useful libraries like algorithm, container, debugging, hash, 
memory, \
-meta, numeric, strings, synchronization, time, types and utility"
+meta, numeric, strings, synchronization, time, types and utility."
 HOMEPAGE = "https://abseil.io/";
 SECTION = "libs"
 LICENSE = "Apache-2.0"
@@ -18,9 +18,6 @@ SRC_URI = 
"git://github.com/abseil/abseil-cpp;branch=${BRANCH};protocol=https \
 
 S = "${WORKDIR}/git"
 
-ASNEEDED:class-native = ""
-ASNEEDED:class-nativesdk = ""
-
 inherit cmake
 
 EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
@@ -28,8 +25,6 @@ EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
  -DABSL_ENABLE_INSTALL=ON \
 "
 
-BBCLASSEXTEND = "native nativesdk"
-
 SYSROOT_DIRS:append:class-nativesdk:mingw32 = " ${bindir}"
 
-FILES:${PN}-dev += "${includedir} ${libdir}/cmake ${libdir}/pkgconfig"
+BBCLASSEXTEND = "native nativesdk"

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



[oe] [meta-oe][PATCH 2/2] abseil-cpp: Split so-files into separate packages

2024-03-11 Thread Peter Kjellerstedt
From: Ola x Nilsson 

Use PACKAGES_DYNAMIC and PACKAGESPLITFUNCS to put each shared object
into its own package named libabsl-*.
The shared objects depend on each other which means you still get a
lot of them if you link against a single one.

The main package abseil-cpp RDEPENDS on all of the libabsl-* packages.

Signed-off-by: Ola x Nilsson 
Signed-off-by: Peter Kjellerstedt 
---
 .../abseil-cpp/abseil-cpp_20240116.1.bb   | 23 +++
 1 file changed, 23 insertions(+)

diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240116.1.bb 
b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240116.1.bb
index 9cb325870..e6c65d306 100644
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240116.1.bb
+++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240116.1.bb
@@ -27,4 +27,27 @@ EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
 
 SYSROOT_DIRS:append:class-nativesdk:mingw32 = " ${bindir}"
 
+PACKAGES_DYNAMIC = "^libabsl-*"
+PACKAGES_DYNAMIC:class-native = ""
+
+PACKAGESPLITFUNCS =+ "split_dynamic_packages"
+
+python split_dynamic_packages() {
+libdir = d.getVar('libdir')
+
+libpackages = do_split_packages(
+d,
+root=libdir,
+file_regex=r'^libabsl_(.*)\.so\..*$',
+output_pattern='libabsl-%s',
+description="abseil shared library %s",
+prepend=True,
+extra_depends='',
+)
+if libpackages:
+d.appendVar('RDEPENDS:' + d.getVar('PN'), ' ' + ' '.join(libpackages))
+}
+
+ALLOW_EMPTY:${PN} = "1"
+
 BBCLASSEXTEND = "native nativesdk"

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



[oe] [meta-oe][PATCH] libnice: Disable the examples and the tests

2024-03-07 Thread Peter Kjellerstedt
They are not used, and if the `gstreamer` PACKAGECONFIG is enabled, the
tests require gstreamer-check-1.0 to be available, which it isn't if
gstreamer-1.0 is built without the `check` PACKAGECONFIG.

Also remove adding -Dgstreamer=disabled to EXTRA_OEMESON as it is
already covered by the `gstreamer` PACKAGECONFIG.

Signed-off-by: Peter Kjellerstedt 
---
 meta-oe/recipes-support/farsight/libnice_0.1.21.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/farsight/libnice_0.1.21.bb 
b/meta-oe/recipes-support/farsight/libnice_0.1.21.bb
index 4a5227f20..646dcb28c 100644
--- a/meta-oe/recipes-support/farsight/libnice_0.1.21.bb
+++ b/meta-oe/recipes-support/farsight/libnice_0.1.21.bb
@@ -18,14 +18,14 @@ PACKAGECONFIG[gupnp] = 
"-Dgupnp=enabled,-Dgupnp=disabled,gupnp"
 PACKAGECONFIG[gstreamer] = 
"-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0"
 PACKAGECONFIG[introspection] = 
"-Dintrospection=enabled,-Dintrospection=disabled,"
 
-EXTRA_OEMESON = "-Dgstreamer=disabled"
-
 GTKDOC_MESON_OPTION = "gtk_doc"
 GTKDOC_MESON_ENABLE_FLAG = "enabled"
 GTKDOC_MESON_DISABLE_FLAG = "disabled"
 
 inherit meson gtk-doc gobject-introspection
 
+EXTRA_OEMESON = "-Dexamples=disabled -Dtests=disabled"
+
 FILES:${PN} += "${libdir}/gstreamer-1.0/*.so"
 FILES:${PN}-dev += "${libdir}/gstreamer-1.0/*.la"
 FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109199): 
https://lists.openembedded.org/g/openembedded-devel/message/109199
Mute This Topic: https://lists.openembedded.org/mt/104790070/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 1/2] abseil-cpp: A little clean-up

2024-03-06 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org  de...@lists.openembedded.org> On Behalf Of Khem Raj
> Sent: den 6 mars 2024 17:49
> To: Peter Kjellerstedt 
> Cc: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [meta-oe][PATCH 1/2] abseil-cpp: A little clean-up
> 
> Which branch is it intended for?, if it is master then always rebase
> and test patches on latest master or master-next, otherwise add the
> name of branch in subject prefix
> makes it easy for maintainers to route the patch.

It _is_ based on current master. I do not use master-next as I assume 
it to be a work in progress until it is merged to master.

//Peter

> 
> On Wed, Mar 6, 2024 at 8:27 AM Peter Kjellerstedt 
>  wrote:
> >
> > * Remove ASNEEDED:class-native and ASNEEDED:class-nativesdk as they make
> >   no difference since ${ASNEEDED} is only added to TARGET_LDFLAGS.
> > * Remove additions to FILES:${PN}-dev since the added paths are already
> >   added by default.
> >
> > Signed-off-by: Peter Kjellerstedt 
> > ---
> >  .../recipes-devtools/abseil-cpp/abseil-cpp_20230802.1.bb | 9 ++---
> >  1 file changed, 2 insertions(+), 7 deletions(-)
> >
> > diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20230802.1.bb 
> > b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20230802.1.bb
> > index 1ce6ff3fc..667693a4c 100644
> > --- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20230802.1.bb
> > +++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20230802.1.bb
> > @@ -1,7 +1,7 @@
> >  SUMMARY = "Abseil is a cpp library like STL"
> >  DESCRIPTION = "Abseil provides pieces missing from the C++ standard. 
> > Contains \
> >  additional useful libraries like algorithm, container, debugging, hash, 
> > memory, \
> > -meta, numeric, strings, synchronization, time, types and utility"
> > +meta, numeric, strings, synchronization, time, types and utility."
> >  HOMEPAGE = "https://abseil.io/";
> >  SECTION = "libs"
> >  LICENSE = "Apache-2.0"
> > @@ -19,9 +19,6 @@ SRC_URI = 
> > "git://github.com/abseil/abseil-cpp;branch=${BRANCH};protocol=https \
> >
> >  S = "${WORKDIR}/git"
> >
> > -ASNEEDED:class-native = ""
> > -ASNEEDED:class-nativesdk = ""
> > -
> >  inherit cmake
> >
> >  EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
> > @@ -29,8 +26,6 @@ EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
> >   -DABSL_ENABLE_INSTALL=ON \
> >  "
> >
> > -BBCLASSEXTEND = "native nativesdk"
> > -
> >  SYSROOT_DIRS:append:class-nativesdk:mingw32 = " ${bindir}"
> >
> > -FILES:${PN}-dev += "${includedir} ${libdir}/cmake ${libdir}/pkgconfig"
> > +BBCLASSEXTEND = "native nativesdk"
> >
> >
> >

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



[oe] [meta-oe][PATCH 1/2] abseil-cpp: A little clean-up

2024-03-06 Thread Peter Kjellerstedt
* Remove ASNEEDED:class-native and ASNEEDED:class-nativesdk as they make
  no difference since ${ASNEEDED} is only added to TARGET_LDFLAGS.
* Remove additions to FILES:${PN}-dev since the added paths are already
  added by default.

Signed-off-by: Peter Kjellerstedt 
---
 .../recipes-devtools/abseil-cpp/abseil-cpp_20230802.1.bb | 9 ++---
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20230802.1.bb 
b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20230802.1.bb
index 1ce6ff3fc..667693a4c 100644
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20230802.1.bb
+++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20230802.1.bb
@@ -1,7 +1,7 @@
 SUMMARY = "Abseil is a cpp library like STL"
 DESCRIPTION = "Abseil provides pieces missing from the C++ standard. Contains \
 additional useful libraries like algorithm, container, debugging, hash, 
memory, \
-meta, numeric, strings, synchronization, time, types and utility"
+meta, numeric, strings, synchronization, time, types and utility."
 HOMEPAGE = "https://abseil.io/";
 SECTION = "libs"
 LICENSE = "Apache-2.0"
@@ -19,9 +19,6 @@ SRC_URI = 
"git://github.com/abseil/abseil-cpp;branch=${BRANCH};protocol=https \
 
 S = "${WORKDIR}/git"
 
-ASNEEDED:class-native = ""
-ASNEEDED:class-nativesdk = ""
-
 inherit cmake
 
 EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
@@ -29,8 +26,6 @@ EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
  -DABSL_ENABLE_INSTALL=ON \
 "
 
-BBCLASSEXTEND = "native nativesdk"
-
 SYSROOT_DIRS:append:class-nativesdk:mingw32 = " ${bindir}"
 
-FILES:${PN}-dev += "${includedir} ${libdir}/cmake ${libdir}/pkgconfig"
+BBCLASSEXTEND = "native nativesdk"

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



[oe] [meta-oe][PATCH 2/2] abseil-cpp: Split so-files into separate packages

2024-03-06 Thread Peter Kjellerstedt
From: Ola x Nilsson 

Use PACKAGES_DYNAMIC and PACKAGESPLITFUNCS to put each shared object
into its own package named libabsl-*.
The shared objects depend on each other which means you still get a
lot of them if you link against a single one.

The main package abseil-cpp RDEPENDS on all of the libabsl-* packages.

Signed-off-by: Ola x Nilsson 
Signed-off-by: Peter Kjellerstedt 
---
 .../abseil-cpp/abseil-cpp_20230802.1.bb   | 23 +++
 1 file changed, 23 insertions(+)

diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20230802.1.bb 
b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20230802.1.bb
index 667693a4c..17db7b2e4 100644
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20230802.1.bb
+++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20230802.1.bb
@@ -28,4 +28,27 @@ EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
 
 SYSROOT_DIRS:append:class-nativesdk:mingw32 = " ${bindir}"
 
+PACKAGES_DYNAMIC = "^libabsl-*"
+PACKAGES_DYNAMIC:class-native = ""
+
+PACKAGESPLITFUNCS =+ "split_dynamic_packages"
+
+python split_dynamic_packages() {
+libdir = d.getVar('libdir')
+
+libpackages = do_split_packages(
+d,
+root=libdir,
+file_regex=r'^libabsl_(.*)\.so\..*$',
+output_pattern='libabsl-%s',
+description="abseil shared library %s",
+prepend=True,
+extra_depends='',
+)
+if libpackages:
+d.appendVar('RDEPENDS:' + d.getVar('PN'), ' ' + ' '.join(libpackages))
+}
+
+ALLOW_EMPTY:${PN} = "1"
+
 BBCLASSEXTEND = "native nativesdk"

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



[oe] [meta-filesystem][PATCH] xfstests: Only specify the main SRCREV once

2024-02-15 Thread Peter Kjellerstedt
The "update" in commit 2af7d3f63e added a SRCREV rather than updating
SRCREV_xfstests. Change the recipe to actually use SRCREV so that it is
compatible with future AUH updates.

Also replace "/usr" with "${prefix}".

Signed-off-by: Peter Kjellerstedt 
---
 .../xfstests/xfstests_2024.01.14.bb   | 20 ---
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests_2024.01.14.bb 
b/meta-filesystems/recipes-utils/xfstests/xfstests_2024.01.14.bb
index 5ff191456..2800a4c30 100644
--- a/meta-filesystems/recipes-utils/xfstests/xfstests_2024.01.14.bb
+++ b/meta-filesystems/recipes-utils/xfstests/xfstests_2024.01.14.bb
@@ -2,19 +2,17 @@ SUMMARY = "File system QA test suite"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = 
"file://LICENSES/GPL-2.0;md5=74274e8a218423e49eefdea80bc55038"
 
-SRCREV = "11914614784735c504f43b5b6baabaa713375984"
-SRCREV_FORMAT = "xfstests_unionmount"
+SRCREV = "c46ca4d1f6c0c45f9a3ea18bc31ba5ae89e02c70"
+SRCREV_unionmount = "e3825b16b46f4c4574a1a69909944c059835f914"
+SRCREV_FORMAT = "default_unionmount"
 
-SRC_URI = 
"git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=master;name=xfstests
 \
+SRC_URI = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=master \

git://github.com/amir73il/unionmount-testsuite.git;branch=master;protocol=https;name=unionmount;destsuffix=unionmount-testsuite
 \

file://0001-add-missing-FTW_-macros-when-not-available-in-libc.patch \

file://0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch \

file://0003-tests-Makefile-make-sure-group.list-DIRT-exists-befo.patch \
"
 
-SRCREV_xfstests = "c46ca4d1f6c0c45f9a3ea18bc31ba5ae89e02c70"
-SRCREV_unionmount = "e3825b16b46f4c4574a1a69909944c059835f914"
-
 S = "${WORKDIR}/git"
 
 # brokensep because m4/package_globals.m4 calls ". ./VERSION" (and that's not 
the only issue)
@@ -57,14 +55,12 @@ do_install() {
 export DIST_ROOT="/" DIST_MANIFEST="" DESTDIR="${D}"
 oe_runmake install
 
-unionmount_target_dir=${D}/usr/xfstests/unionmount-testsuite
-install -d ${D}/usr/xfstests/unionmount-testsuite/tests
-install -D ${WORKDIR}/unionmount-testsuite/tests/* -t 
$unionmount_target_dir/tests
+unionmount_target_dir=${D}${prefix}/xfstests/unionmount-testsuite
+install -d $unionmount_target_dir/tests
+install ${WORKDIR}/unionmount-testsuite/tests/* -t 
$unionmount_target_dir/tests
 install ${WORKDIR}/unionmount-testsuite/*.py -t $unionmount_target_dir
 install ${WORKDIR}/unionmount-testsuite/run -t $unionmount_target_dir
 install ${WORKDIR}/unionmount-testsuite/README -t $unionmount_target_dir
 }
 
-FILES:${PN} += "\
-/usr/xfstests \
-"
+FILES:${PN} += "${prefix}/xfstests"

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#108761): 
https://lists.openembedded.org/g/openembedded-devel/message/108761
Mute This Topic: https://lists.openembedded.org/mt/104380485/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 1/2] basu: Update to latest master

2023-12-04 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org  de...@lists.openembedded.org> On Behalf Of Khem Raj
> Sent: den 1 december 2023 09:11
> To: openembedded-devel@lists.openembedded.org
> Cc: Khem Raj 
> Subject: [oe] [meta-oe][PATCH 1/2] basu: Update to latest master
> 
> There is only one commit after 0.2.1 release which is to fix build with
> lld.
> 
> https://git.sr.ht/~emersion/basu/commit/a08cf5a575325435040d35710dbac3d0c32b1676
> 
> Signed-off-by: Khem Raj 
> ---
>  meta-oe/recipes-core/basu/basu_0.2.1.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-core/basu/basu_0.2.1.bb b/meta-oe/recipes-
> core/basu/basu_0.2.1.bb
> index 500408e11e..56c25f5f1b 100644
> --- a/meta-oe/recipes-core/basu/basu_0.2.1.bb
> +++ b/meta-oe/recipes-core/basu/basu_0.2.1.bb
> @@ -9,7 +9,7 @@ SRC_URI =
> "git://git.sr.ht/~emersion/basu;protocol=https;branch=master"
>  DEPENDS += "gperf-native"
> 
>  S = "${WORKDIR}/git"
> -PV = "0.2.1"
> +PV = "0.2.1+git"
>  SRCREV = "684a41d68cfbb05e38aacb60a8548e21ddfbecdb"

You forgot to update the SRCREV...

> 
>  inherit meson pkgconfig
> --
> 2.43.0

//Peter


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



[oe] [meta-oe][PATCH] redis: Inherit pkgconfig

2023-11-25 Thread Peter Kjellerstedt
The Makefile uses pkg-config if USE_SYSTEMD is "yes".

Signed-off-by: Peter Kjellerstedt 
---
 meta-oe/recipes-extended/redis/redis_7.2.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/redis/redis_7.2.2.bb 
b/meta-oe/recipes-extended/redis/redis_7.2.2.bb
index 44fb01bc8..759119a6d 100644
--- a/meta-oe/recipes-extended/redis/redis_7.2.2.bb
+++ b/meta-oe/recipes-extended/redis/redis_7.2.2.bb
@@ -19,7 +19,7 @@ SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \
"
 SRC_URI[sha256sum] = 
"ca999be08800edc6d265379c4c7aafad92f0ee400692e4e2d69829ab4b4c3d08"
 
-inherit autotools-brokensep update-rc.d systemd useradd
+inherit autotools-brokensep pkgconfig update-rc.d systemd useradd
 
 FINAL_LIBS:x86:toolchain-clang = "-latomic"
 FINAL_LIBS:riscv32:toolchain-clang = "-latomic"

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



[oe] [meta-oe][PATCH] zeromq: Update to 4.3.5

2023-11-21 Thread Peter Kjellerstedt
A backported patch has been removed as it is no longer needed.

License-Update: Relicensed as MPL-2.0
Signed-off-by: Peter Kjellerstedt 
---
 ...cator.hpp-define-missing-rebind-type.patch | 64 ---
 .../{zeromq_4.3.4.bb => zeromq_4.3.5.bb}  |  8 +--
 2 files changed, 3 insertions(+), 69 deletions(-)
 delete mode 100644 
meta-oe/recipes-connectivity/zeromq/files/0001-src-secure_allocator.hpp-define-missing-rebind-type.patch
 rename meta-oe/recipes-connectivity/zeromq/{zeromq_4.3.4.bb => 
zeromq_4.3.5.bb} (71%)

diff --git 
a/meta-oe/recipes-connectivity/zeromq/files/0001-src-secure_allocator.hpp-define-missing-rebind-type.patch
 
b/meta-oe/recipes-connectivity/zeromq/files/0001-src-secure_allocator.hpp-define-missing-rebind-type.patch
deleted file mode 100644
index d32190818..0
--- 
a/meta-oe/recipes-connectivity/zeromq/files/0001-src-secure_allocator.hpp-define-missing-rebind-type.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From 66e72389cc90625ed74e8ba1ea3a65234bdb06b5 Mon Sep 17 00:00:00 2001
-From: Sergei Trofimovich 
-Date: Tue, 20 Dec 2022 21:45:16 +
-Subject: [PATCH] src/secure_allocator.hpp: define missing 'rebind' type
-
-`gcc-13` added an assert to standard headers to make sure custom
-allocators have intended implementation of rebind type instead
-of inherited rebind. gcc change:
-https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=64c986b49558a7
-
-Without the fix build fails on this week's `gcc-13` as:
-
-[ 92%] Building CXX object 
tests/CMakeFiles/test_security_curve.dir/test_security_curve.cpp.o
-In file included from 
/<>/gcc-13.0.0/include/c++/13.0.0/ext/alloc_traits.h:34,
- from 
/<>/gcc-13.0.0/include/c++/13.0.0/bits/stl_uninitialized.h:64,
- from /<>/gcc-13.0.0/include/c++/13.0.0/memory:69,
- from tests/../src/secure_allocator.hpp:42,
- from tests/../src/curve_client_tools.hpp:49,
- from tests/test_security_curve.cpp:53:
-/<>/gcc-13.0.0/include/c++/13.0.0/bits/alloc_traits.h: In 
instantiation of 'struct 
std::__allocator_traits_base::__rebind, 
unsigned char, void>':
-/<>/gcc-13.0.0/include/c++/13.0.0/bits/alloc_traits.h:94:11:   
required by substitution of 'template using 
std::__alloc_rebind = typename std::__allocator_traits_base::__rebind<_Alloc, 
_Up>::type [with _Alloc = zmq::secure_allocator_t; _Up = 
unsigned char]'
-/<>/gcc-13.0.0/include/c++/13.0.0/bits/alloc_traits.h:228:8:   
required by substitution of 'template template using 
std::allocator_traits<  >::rebind_alloc = 
std::__alloc_rebind<_Alloc, _Tp> [with _Tp = unsigned char; _Alloc = 
zmq::secure_allocator_t]'
-/<>/gcc-13.0.0/include/c++/13.0.0/ext/alloc_traits.h:126:65:   
required from 'struct 
__gnu_cxx::__alloc_traits, unsigned 
char>::rebind'
-/<>/gcc-13.0.0/include/c++/13.0.0/bits/stl_vector.h:88:21:   required 
from 'struct std::_Vector_base >'
-/<>/gcc-13.0.0/include/c++/13.0.0/bits/stl_vector.h:423:11:   
required from 'class std::vector >'
-tests/../src/curve_client_tools.hpp:64:76:   required from here
-/<>/gcc-13.0.0/include/c++/13.0.0/bits/alloc_traits.h:70:31: error: 
static assertion failed: allocator_traits::rebind_alloc must 
be A
-   70 | _Tp>::value,
-  |   ^
-
-The change adds trivial `rebind` definition with expected return type
-and satisfies conversion requirements.
-
-Upstream-Status: Backport [https://github.com/zeromq/libzmq/commit/438d5d88]
-Signed-off-by: Khem Raj 

- src/secure_allocator.hpp | 11 +++
- 1 file changed, 11 insertions(+)
-
-diff --git a/src/secure_allocator.hpp b/src/secure_allocator.hpp
-index 0d37e7ed..5b8de9e2 100644
 a/src/secure_allocator.hpp
-+++ b/src/secure_allocator.hpp
-@@ -95,6 +95,17 @@ bool operator!= (const secure_allocator_t &, const 
secure_allocator_t &)
- #else
- template  struct secure_allocator_t : std::allocator
- {
-+secure_allocator_t () ZMQ_DEFAULT;
-+
-+template 
-+secure_allocator_t (const secure_allocator_t &) ZMQ_NOEXCEPT
-+{
-+}
-+
-+template  struct rebind
-+{
-+typedef secure_allocator_t other;
-+};
- };
- #endif
- }
--- 
-2.39.1
-
diff --git a/meta-oe/recipes-connectivity/zeromq/zeromq_4.3.4.bb 
b/meta-oe/recipes-connectivity/zeromq/zeromq_4.3.5.bb
similarity index 71%
rename from meta-oe/recipes-connectivity/zeromq/zeromq_4.3.4.bb
rename to meta-oe/recipes-connectivity/zeromq/zeromq_4.3.5.bb
index cd319b5d3..555458217 100644
--- a/meta-oe/recipes-connectivity/zeromq/zeromq_4.3.4.bb
+++ b/meta-oe/recipes-connectivity/zeromq/zeromq_4.3.5.bb
@@ -1,18 +1,16 @@
 DESCRIPTION = "ZeroMQ looks like an embeddable networking library but acts 
like a concurrency framework"
 HOM

[oe] [meta-xfce][PATCH 11/16] xarchiver: Specify the version in the recipe file name

2023-11-06 Thread Peter Kjellerstedt
Signed-off-by: Peter Kjellerstedt 
---
 .../xarchiver/{xarchiver_git.bb => xarchiver_0.5.4.21.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-xfce/recipes-apps/xarchiver/{xarchiver_git.bb => 
xarchiver_0.5.4.21.bb} (98%)

diff --git a/meta-xfce/recipes-apps/xarchiver/xarchiver_git.bb 
b/meta-xfce/recipes-apps/xarchiver/xarchiver_0.5.4.21.bb
similarity index 98%
rename from meta-xfce/recipes-apps/xarchiver/xarchiver_git.bb
rename to meta-xfce/recipes-apps/xarchiver/xarchiver_0.5.4.21.bb
index e325e5d02..abb5c14e6 100644
--- a/meta-xfce/recipes-apps/xarchiver/xarchiver_git.bb
+++ b/meta-xfce/recipes-apps/xarchiver/xarchiver_0.5.4.21.bb
@@ -9,7 +9,7 @@ DEPENDS = "gtk+3 glib-2.0 xfce4-dev-tools-native 
intltool-native"
 
 SRC_URI = "git://github.com/ib/xarchiver.git;branch=master;protocol=https"
 SRCREV = "55f923ebc623bcc8f53368543847350a23688189"
-PV = "0.5.4.21"
+
 S = "${WORKDIR}/git"
 
 inherit gettext pkgconfig autotools gtk-icon-cache features_check mime-xdg

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



[oe] [meta-python][PATCH 13/16] python3-kivy: Move a comment so it makes more sense

2023-11-06 Thread Peter Kjellerstedt
Signed-off-by: Peter Kjellerstedt 
---
 meta-python/recipes-devtools/python/python3-kivy_2.2.1.bb | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-kivy_2.2.1.bb 
b/meta-python/recipes-devtools/python/python3-kivy_2.2.1.bb
index 67ab9a017..a72ee14f6 100644
--- a/meta-python/recipes-devtools/python/python3-kivy_2.2.1.bb
+++ b/meta-python/recipes-devtools/python/python3-kivy_2.2.1.bb
@@ -7,14 +7,14 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=ed5cd0f2cfda42852c332e3b88c85fea"
 inherit setuptools3 pkgconfig features_check
 PIP_INSTALL_PACKAGE = "Kivy"
 
+# Kivy's setup files only look for GLES libraries for Android, iOS, RPi,
+# and mali-based OS's. We need to patch the setup file to tell Kivy setup
+# that our machine has GLES libaries installed as well
+# Also, if using SDL2 as backend, SDL2 needs to be configured with gles
 SRC_URI = "git://github.com/kivy/kivy.git;protocol=https;branch=stable \
file://0001-add-support-for-glesv2.patch \
"
 
-# Kivy's setup files only look for GLES libraries for Android, iOS, RPi,
-# and mali-based OS's. We need to patch the setup file to tell Kivy setup
-# that our machine has GLES libaries installed as well
-# Also, if using SDL2 as backend, SDL2 needs to be configured wth gles
 SRCREV = "344768bfefd2e8f5302cc9dfb8ca41991ce6f7e7"
 
 S = "${WORKDIR}/git"

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



[oe] [meta-python][PATCH 15/16] python3-pylint: Only set SRCREV once

2023-11-06 Thread Peter Kjellerstedt
Signed-off-by: Peter Kjellerstedt 
---
 meta-python/recipes-devtools/python/python3-pylint_3.0.2.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.0.2.bb 
b/meta-python/recipes-devtools/python/python3-pylint_3.0.2.bb
index 03e878b2b..8af74b7cb 100644
--- a/meta-python/recipes-devtools/python/python3-pylint_3.0.2.bb
+++ b/meta-python/recipes-devtools/python/python3-pylint_3.0.2.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9"
 SRC_URI += 
"git://github.com/pylint-dev/pylint;branch=maintenance/3.0.x;protocol=https \
file://run-ptest \
"
-SRCREV ?= "f2cded41f7f3d4b45236cbe107b366b6caf84bde"
+SRCREV = "efee9618894795cc8847727108522aa79431ee25"
 
 inherit python_setuptools_build_meta ptest
 
@@ -49,5 +49,3 @@ do_install_ptest() {
 }
 
 BBCLASSEXTEND = "native nativesdk"
-
-SRCREV = "efee9618894795cc8847727108522aa79431ee25"

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



[oe] [meta-oe][PATCH 03/16] neatvnc: Specify the version in the recipe file name

2023-11-06 Thread Peter Kjellerstedt
Signed-off-by: Peter Kjellerstedt 
---
 .../neatvnc/{neatvnc_git.bb => neatvnc_0.7.0.bb}| 2 --
 1 file changed, 2 deletions(-)
 rename meta-oe/recipes-graphics/neatvnc/{neatvnc_git.bb => neatvnc_0.7.0.bb} 
(98%)

diff --git a/meta-oe/recipes-graphics/neatvnc/neatvnc_git.bb 
b/meta-oe/recipes-graphics/neatvnc/neatvnc_0.7.0.bb
similarity index 98%
rename from meta-oe/recipes-graphics/neatvnc/neatvnc_git.bb
rename to meta-oe/recipes-graphics/neatvnc/neatvnc_0.7.0.bb
index 0c95f7e4c..c8ac09f23 100644
--- a/meta-oe/recipes-graphics/neatvnc/neatvnc_git.bb
+++ b/meta-oe/recipes-graphics/neatvnc/neatvnc_0.7.0.bb
@@ -8,8 +8,6 @@ SRC_URI = 
"git://github.com/any1/neatvnc;branch=v0.7;protocol=https"
 
 SRCREV = "112391140a76f0b362fa0df92fc1183c4a48ef3d"
 
-PV = "0.7.0"
-
 S = "${WORKDIR}/git"
 
 DEPENDS = "libdrm pixman aml zlib"

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



[oe] [meta-oe][PATCH 04/16] mstpd: Update to 0.1.0+

2023-11-06 Thread Peter Kjellerstedt
The "update" to 0.05 in commit d0dbeb580f was actually a revert, since
version "0.05" in reality corresponds to "0.0.5".

Also do some clean up:
* Unify SRC_URI.
* Correct the indentation of shell code.

Signed-off-by: Peter Kjellerstedt 
---
 .../recipes-extended/networking/mstpd_git.bb  | 26 ++-
 1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/meta-oe/recipes-extended/networking/mstpd_git.bb 
b/meta-oe/recipes-extended/networking/mstpd_git.bb
index ed5669e55..b2043ef06 100644
--- a/meta-oe/recipes-extended/networking/mstpd_git.bb
+++ b/meta-oe/recipes-extended/networking/mstpd_git.bb
@@ -1,15 +1,17 @@
-PV = "0.05"
 LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4325afd396febcb659c36b49533135d4"
 
-SRC_URI = "git://github.com/mstpd/mstpd;branch=master;protocol=https"
+PV = "0.1.0+git"
+
+SRC_URI = " \
+git://github.com/mstpd/mstpd;branch=master;protocol=https \
+file://bridge-stp \
+file://mstpd.service \
+"
 SRCREV = "181c453fc1a00573e19f14960dcc54ad84beea7c"
 S = "${WORKDIR}/git"
 
-SRC_URI:append = " \
-  file://bridge-stp \
-  file://mstpd.service \
-"
+UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+){2,})"
 
 inherit autotools pkgconfig systemd
 
@@ -20,12 +22,12 @@ SYSTEMD_PACKAGES = "${PN}-mstpd"
 SYSTEMD_SERVICE:${PN}-mstpd = "mstpd.service"
 
 do_install:append() {
-  rm -rf ${D}${libexecdir} ${D}${libdir}/NetworkManager
-  rmdir ${D}${libdir} || true
+rm -rf ${D}${libexecdir} ${D}${libdir}/NetworkManager
+rmdir ${D}${libdir} || true
 
-  install -d -m 0755 ${D}/${sbindir}
-  install -m 0755 ${WORKDIR}/bridge-stp ${D}/${sbindir}
+install -d -m 0755 ${D}${sbindir}
+install -m 0755 ${WORKDIR}/bridge-stp ${D}${sbindir}
 
-  install -d -m 0755 ${D}${systemd_system_unitdir}
-  install -m 0644 ${WORKDIR}/mstpd.service ${D}${systemd_system_unitdir}/
+install -d -m 0755 ${D}${systemd_system_unitdir}
+install -m 0644 ${WORKDIR}/mstpd.service ${D}${systemd_system_unitdir}
 }

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



[oe] [meta-multimedia][PATCH 09/16] libuvc: Specify the version in the recipe file name

2023-11-06 Thread Peter Kjellerstedt
Signed-off-by: Peter Kjellerstedt 
---
 .../recipes-multimedia/libuvc/{libuvc.bb => libuvc_0.0.7.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-multimedia/recipes-multimedia/libuvc/{libuvc.bb => 
libuvc_0.0.7.bb} (97%)

diff --git a/meta-multimedia/recipes-multimedia/libuvc/libuvc.bb 
b/meta-multimedia/recipes-multimedia/libuvc/libuvc_0.0.7.bb
similarity index 97%
rename from meta-multimedia/recipes-multimedia/libuvc/libuvc.bb
rename to meta-multimedia/recipes-multimedia/libuvc/libuvc_0.0.7.bb
index dacb57c79..b1572b32a 100644
--- a/meta-multimedia/recipes-multimedia/libuvc/libuvc.bb
+++ b/meta-multimedia/recipes-multimedia/libuvc/libuvc_0.0.7.bb
@@ -3,11 +3,11 @@ HOMEPAGE = "https://github.com/libuvc/libuvc.git";
 SECTION = "libs"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2f1963e0bb88c93463af750daf9ba0c2"
+
 DEPENDS = "libusb jpeg"
 
 SRC_URI = "git://github.com/libuvc/libuvc.git;branch=master;protocol=https"
 SRCREV = "68d07a00e11d1944e27b7295ee69673239c00b4b"
-PV = "0.0.7"
 
 S = "${WORKDIR}/git"
 

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



[oe] [meta-oe][PATCH 07/16] mksh: Update to 59c properly

2023-11-06 Thread Peter Kjellerstedt
The "update" in commit 2df786211a only changed the version without
actually changing the downloaded tar ball.

Signed-off-by: Peter Kjellerstedt 
---
 meta-oe/recipes-shells/mksh/{mksh_R59c.bb => mksh_59c.bb} | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-shells/mksh/{mksh_R59c.bb => mksh_59c.bb} (82%)

diff --git a/meta-oe/recipes-shells/mksh/mksh_R59c.bb 
b/meta-oe/recipes-shells/mksh/mksh_59c.bb
similarity index 82%
rename from meta-oe/recipes-shells/mksh/mksh_R59c.bb
rename to meta-oe/recipes-shells/mksh/mksh_59c.bb
index a45107316..e3a8ca8b5 100644
--- a/meta-oe/recipes-shells/mksh/mksh_R59c.bb
+++ b/meta-oe/recipes-shells/mksh/mksh_59c.bb
@@ -7,9 +7,11 @@ LIC_FILES_CHKSUM = 
"file://main.c;beginline=6;endline=26;md5=6efc2c249328e4d2bd3
 
file://strlcpy.c;beginline=1;endline=17;md5=d953f28f0c43ee29e238ec9bc15df2a0 \
"
 
-SRC_URI = "http://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R59b.tgz";
+SRC_URI = "http://www.mirbsd.org/MirOS/dist/mir/${BPN}/${BPN}-R${PV}.tgz";
 
-SRC_URI[sha256sum] = 
"907ed1a9586e7f18bdefdd4a763aaa8397b755e15034aa54f4d753bfb272e0e6"
+SRC_URI[sha256sum] = 
"77ae1665a337f1c48c61d6b961db3e52119b38e58884d1c89684af31f87bc506"
+
+UPSTREAM_CHECK_REGEX = "${BPN}-R(?P.*)\.tgz"
 
 inherit update-alternatives
 

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



[oe] [meta-python][PATCH 14/16] python3-greenlet: Avoid duplicate URI in SRC_URI

2023-11-06 Thread Peter Kjellerstedt
${PYPI_SRC_URI} is prepended to SRC_URI by the pypi class so there is no
reason to also do it in the recipe.

Signed-off-by: Peter Kjellerstedt 
---
 meta-python/recipes-devtools/python/python3-greenlet_3.0.1.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-greenlet_3.0.1.bb 
b/meta-python/recipes-devtools/python/python3-greenlet_3.0.1.bb
index fbabf12a3..523c2b6b2 100644
--- a/meta-python/recipes-devtools/python/python3-greenlet_3.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-greenlet_3.0.1.bb
@@ -4,7 +4,6 @@ LICENSE = "MIT & PSF-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=e95668d68e4329085c7ab3535e6a7aee \
 file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a"
 
-SRC_URI += "${PYPI_SRC_URI}"
 SRC_URI[sha256sum] = 
"816bd9488a94cba78d93e1abb58000e8266fa9cc2aa9ccdd6eb0696acb24005b"
 
 inherit pypi setuptools3

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



[oe] [meta-python][PATCH 16/16] python3-pytest-mock: Only set SRCREV once

2023-11-06 Thread Peter Kjellerstedt
Signed-off-by: Peter Kjellerstedt 
---
 .../recipes-devtools/python/python3-pytest-mock_3.12.0.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb 
b/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb
index f95ebecdd..ac6f8e831 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb
@@ -11,7 +11,7 @@ SRC_URI = " \
 file://0001-test_pytest_mock-skip-args-introspection-tests.patch \
 "
 
-SRCREV ?= "d3e73f2e93f7b93eba0a36e17e43bafd969da4fe"
+SRCREV = "69adc6f76c1a7baf4e7a728da9eec38741d5783e"
 
 SRC_URI[sha256sum] = 
"fbbdb085ef7c252a326fd8cdcac0aa3b1333d8811f131bdcc701002e1be7ed4f"
 
@@ -32,5 +32,3 @@ do_install_ptest() {
 install -d ${D}${PTEST_PATH}/tests
 cp -rf ${S}/tests ${D}${PTEST_PATH}/
 }
-
-SRCREV = "69adc6f76c1a7baf4e7a728da9eec38741d5783e"

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



[oe] [meta-oe][PATCH 06/16] libtorrent: Add UPSTREAM_CHECK_GITTAGREGEX

2023-11-06 Thread Peter Kjellerstedt
This makes sure only tags like "vX.Y.Z" are identified as releases.

Signed-off-by: Peter Kjellerstedt 
---
 meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb 
b/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb
index fec05571d..c235547fe 100644
--- a/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb
+++ b/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb
@@ -6,16 +6,17 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
 
 DEPENDS = "zlib libsigc++-2.0 openssl cppunit"
 
+PV = "0.13.8+git"
+
 SRC_URI = "git://github.com/rakshasa/libtorrent;branch=master;protocol=https"
 SRCREV = "e60f41319aaae482789517ad00ae9344bd13"
 
-CVE_STATUS[CVE-2009-1760] = "backported-patch: patched in our product"
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)"
 
-PV = "0.13.8+git${SRCPV}"
+CVE_STATUS[CVE-2009-1760] = "backported-patch: patched in our product"
 
 S = "${WORKDIR}/git"
 
-
 PACKAGECONFIG ??= "instrumentation aligned"
 
 PACKAGECONFIG:remove:mipsarch = "instrumentation"

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



[oe] [meta-filesystems][PATCH 12/16] xfstests: Update to 2023.10.29 properly

2023-11-06 Thread Peter Kjellerstedt
The "update" in commit 2af7d3f63e added a SRCREV rather than updating
SRCREV_xfstests. Change the recipe to actually use SRCREV so that it is
compatible with future AUH updates.

Also replace "/usr" with "${prefix}".

Signed-off-by: Peter Kjellerstedt 
---

I wonder if this recipe really should have been updated to 2023.10.29,
since that tag is on the "for-next" branch, which I assume means it is
not released yet. But I cannot find a way to make devtool upgrade only
look for revisions that are available from a specific branch.

 ...itly-use-int-for-return-type-for-aio.patch | 30 ---
 .../xfstests/xfstests_2023.10.29.bb   | 17 +--
 2 files changed, 7 insertions(+), 40 deletions(-)
 delete mode 100644 
meta-filesystems/recipes-utils/xfstests/xfstests/0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch

diff --git 
a/meta-filesystems/recipes-utils/xfstests/xfstests/0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch
 
b/meta-filesystems/recipes-utils/xfstests/xfstests/0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch
deleted file mode 100644
index 5e9e9d9a7..0
--- 
a/meta-filesystems/recipes-utils/xfstests/xfstests/0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 0927d0def968ea7e19905c7e39182f65961c11cf Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Sun, 5 Nov 2023 01:17:52 -0700
-Subject: [PATCH] ltp/fsx.h: Explicitly use int for return type for aio_rw()
-
-Fixes build with clang-17+
-error: type specifier missing, defaults to 'int'; ISO C99 and later do not 
support implicit int [-Wimplicit-int]
-
-Upstream-Status: Submitted [https://marc.info/?l=fstests&m=169917222008646&w=2]
-Signed-off-by: Khem Raj 

- ltp/fsx.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/ltp/fsx.c b/ltp/fsx.c
-index ee4b8fe4..c0aec23f 100644
 a/ltp/fsx.c
-+++ b/ltp/fsx.c
-@@ -2581,7 +2581,7 @@ out_error:
-   return -1;
- }
- #else
--aio_rw(int rw, int fd, char *buf, unsigned len, unsigned offset)
-+int aio_rw(int rw, int fd, char *buf, unsigned len, unsigned offset)
- {
-   fprintf(stderr, "io_rw: need AIO support!\n");
-   exit(111);
--- 
-2.42.1
-
diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb 
b/meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb
index 4e8e31840..be7c2d473 100644
--- a/meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb
+++ b/meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb
@@ -3,18 +3,15 @@ LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = 
"file://LICENSES/GPL-2.0;md5=74274e8a218423e49eefdea80bc55038"
 
 SRCREV = "11914614784735c504f43b5b6baabaa713375984"
-SRCREV_FORMAT = "xfstests_unionmount"
+SRCREV_unionmount = "e3825b16b46f4c4574a1a69909944c059835f914"
+SRCREV_FORMAT = "default_unionmount"
 
-SRC_URI = 
"git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=for-next;name=xfstests
 \
+SRC_URI = 
"git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=for-next \

git://github.com/amir73il/unionmount-testsuite.git;branch=master;protocol=https;name=unionmount;destsuffix=unionmount-testsuite
 \
-   
file://0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch \

file://0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch \

file://0001-add-missing-FTW_-macros-when-not-available-in-libc.patch \
"
 
-SRCREV_xfstests = "f7765774a1b5cb98c2f21a892e82b3421f40e791"
-SRCREV_unionmount = "e3825b16b46f4c4574a1a69909944c059835f914"
-
 S = "${WORKDIR}/git"
 
 inherit autotools-brokensep useradd
@@ -53,14 +50,14 @@ do_configure:prepend() {
 }
 
 do_install:append() {
-unionmount_target_dir=${D}/usr/xfstests/unionmount-testsuite
-install -d ${D}/usr/xfstests/unionmount-testsuite/tests
-install -D ${WORKDIR}/unionmount-testsuite/tests/* -t 
$unionmount_target_dir/tests
+unionmount_target_dir=${D}${prefix}/xfstests/unionmount-testsuite
+install -d $unionmount_target_dir/tests
+install ${WORKDIR}/unionmount-testsuite/tests/* 
$unionmount_target_dir/tests
 install ${WORKDIR}/unionmount-testsuite/*.py -t $unionmount_target_dir
 install ${WORKDIR}/unionmount-testsuite/run -t $unionmount_target_dir
 install ${WORKDIR}/unionmount-testsuite/README -t $unionmount_target_dir
 }
 
 FILES:${PN} += "\
-/usr/xfstests \
+${prefix}/xfstests \
 "

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



[oe] [meta-multimedia][PATCH 10/16] gst-shark: Update to 0.8.1 properly

2023-11-06 Thread Peter Kjellerstedt
The "update" in commit 60726d77d5 added a SRCREV rather than updating
SRCREV_base. Change the recipe to actually use SRCREV so that it is
compatible with future AUH updates.

Also specify the version in the recipe file name, and correct somw
whitespace.

Signed-off-by: Peter Kjellerstedt 
---
 .../{gst-shark_git.bb => gst-shark_0.8.1.bb}  | 21 ---
 1 file changed, 9 insertions(+), 12 deletions(-)
 rename meta-multimedia/recipes-multimedia/gstreamer-1.0/{gst-shark_git.bb => 
gst-shark_0.8.1.bb} (69%)

diff --git a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gst-shark_git.bb 
b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gst-shark_0.8.1.bb
similarity index 69%
rename from meta-multimedia/recipes-multimedia/gstreamer-1.0/gst-shark_git.bb
rename to meta-multimedia/recipes-multimedia/gstreamer-1.0/gst-shark_0.8.1.bb
index c75d0965d..8a839e0d1 100644
--- a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gst-shark_git.bb
+++ b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gst-shark_0.8.1.bb
@@ -2,36 +2,33 @@ SUMMARY = "Gst-Shark Tracers"
 DESCRIPTION = "Benchmarks and profiling tools for GStreamer"
 HOMEPAGE = "https://developer.ridgerun.com/wiki/index.php?title=GstShark";
 SECTION = "multimedia"
-LICENSE = "GPL-2.0-or-later"
 
+LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e1caa368743492879002ad032445fa97"
 
 DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad "
 
 SRCBRANCH ?= "master"
 
-PV = "0.8.1"
-
 SRCREV = "09ba05865dacd2824b5b40ab75a4b9545fcc1366"
-SRCREV_base = "5413ef5475e5b70476c2480a75ca3746d91d4caf"
 SRCREV_common = "b64f03f6090245624608beb5d2fff335e23a01c0"
-SRCREV_FORMAT = "base_common"
+SRCREV_FORMAT = "default_common"
 SRC_URI = " \
-
git://github.com/RidgeRun/gst-shark.git;protocol=https;branch=${SRCBRANCH};name=base
 \
-
git://gitlab.freedesktop.org/gstreamer/common.git;protocol=https;destsuffix=git/common;name=common;;branch=master
 \
+git://github.com/RidgeRun/gst-shark.git;protocol=https;branch=${SRCBRANCH} 
\
+
git://gitlab.freedesktop.org/gstreamer/common.git;protocol=https;branch=master;destsuffix=git/common;name=common
 \
 file://0001-tracers-Fix-buffer-overflow.patch \
-"
+"
 
 S = "${WORKDIR}/git"
 
 EXTRA_OECONF += " \
-   --disable-graphviz \
-   --enable-gtk-doc=no \
+--disable-graphviz \
+--enable-gtk-doc=no \
 "
 
 FILES:${PN} += "\
-   ${libdir}/gstreamer-1.0/libgstsharktracers.so  \
-   ${libdir}/gstreamer-1.0/libgstsharktracers.la \
+${libdir}/gstreamer-1.0/libgstsharktracers.so  \
+${libdir}/gstreamer-1.0/libgstsharktracers.la \
 "
 
 inherit autotools gettext pkgconfig

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



[oe] [meta-multimedia][PATCH 08/16] fluidsynth: Specify the version in the recipe file name

2023-11-06 Thread Peter Kjellerstedt
Also unify the SRC_URI.

Signed-off-by: Peter Kjellerstedt 
---
 .../{fluidsynth_git.bb => fluidsynth_2.3.4.bb}| 15 +++
 1 file changed, 7 insertions(+), 8 deletions(-)
 rename meta-multimedia/recipes-multimedia/fluidsynth/{fluidsynth_git.bb => 
fluidsynth_2.3.4.bb} (94%)

diff --git a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_git.bb 
b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.3.4.bb
similarity index 94%
rename from meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_git.bb
rename to meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.3.4.bb
index 26b199943..dc05832e8 100644
--- a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_git.bb
+++ b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.3.4.bb
@@ -4,19 +4,18 @@ SECTION = "libs/multimedia"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fc178bcd425090939a8b634d1d6a9594"
 
-SRC_URI = 
"git://github.com/FluidSynth/fluidsynth.git;branch=master;protocol=https"
-SRCREV = "5ecdc4568e45123216c692caad07918ef127"
-S = "${WORKDIR}/git"
-PV = "2.3.4"
-
-inherit cmake pkgconfig lib_package
-
 DEPENDS = "glib-2.0"
 
-SRC_URI += " \
+SRC_URI = " \
+git://github.com/FluidSynth/fluidsynth.git;branch=master;protocol=https \
 file://0002-fluid_synth_nwrite_float-Allow-zero-pointer-for-left.patch \
 file://0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch \
 "
+SRCREV = "5ecdc4568e45123216c692caad07918ef127"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig lib_package
 
 EXTRA_OECMAKE = "-Denable-floats=ON 
-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}"
 

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



[oe] [meta-oe][PATCH 01/16] jack: Revert to 1.9.22

2023-11-06 Thread Peter Kjellerstedt
There is no version "2". The tag "jack2-control-api-relicense-nedko"
incorrectly triggered AUH to identify it as version "2". Additionally,
the previous recipe version "1.19.22" was also incorrect. It should
actually have been "1.9.22".

License-Update: Update the licenses based on analysis of the code
Signed-off-by: Peter Kjellerstedt 
---
 .../jack/{jack_2.bb => jack_1.9.22.bb}  | 17 +++--
 1 file changed, 11 insertions(+), 6 deletions(-)
 rename meta-oe/recipes-multimedia/jack/{jack_2.bb => jack_1.9.22.bb} (67%)

diff --git a/meta-oe/recipes-multimedia/jack/jack_2.bb 
b/meta-oe/recipes-multimedia/jack/jack_1.9.22.bb
similarity index 67%
rename from meta-oe/recipes-multimedia/jack/jack_2.bb
rename to meta-oe/recipes-multimedia/jack/jack_1.9.22.bb
index 1d197b32c..b5c52a6ed 100644
--- a/meta-oe/recipes-multimedia/jack/jack_2.bb
+++ b/meta-oe/recipes-multimedia/jack/jack_1.9.22.bb
@@ -6,15 +6,20 @@ flow model and lock-free programming techniques for graph 
access have \
 been used to have a more dynamic and robust system."
 SECTION = "libs/multimedia"
 
-LICENSE = "GPL-2.0-or-later | LGPL-2.1-or-later | MIT | AFL-2.1"
-LIC_FILES_CHKSUM = 
"file://common/jack/control.h;beginline=2;endline=21;md5=9edb8b99b7a0dcd49dbf8741444f123d
 \
-
file://common/jack/jack.h;beginline=1;endline=19;md5=6b736ed6b810592b135480a5e853392e
 \
-"
+LICENSE = "GPL-2.0-only & GPL-2.0-or-later & LGPL-2.1-or-later"
+LIC_FILES_CHKSUM = " \
+
file://common/JackControlAPI.cpp;beginline=5;endline=19;md5=9d1921199e203163f160313243f853d6
 \
+
file://common/JackControlAPI.h;beginline=4;endline=18;md5=9d1921199e203163f160313243f853d6
 \
+
file://common/jack/jack.h;beginline=2;endline=17;md5=0a668d22ce661159cad28d1c3b8e66af
 \
+
file://common/JackServer.h;beginline=2;endline=17;md5=9bf0870727804a994ee2d19fd368d940
 \
+"
 
 DEPENDS = "libsamplerate0 libsndfile1"
 
-SRC_URI = "git://github.com/jackaudio/jack2.git;branch=develop;protocol=https"
-SRCREV = "520dfa0ac5a72d292f5b9fc5835926f925129764"
+SRC_URI = "git://github.com/jackaudio/jack2.git;branch=master;protocol=https"
+SRCREV = "4f58969432339a250ce87fe855fb962c67d00ddb"
+
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)"
 
 S = "${WORKDIR}/git"
 

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



[oe] [meta-oe][PATCH 02/16] pahole: Correct the version in the recipe file name

2023-11-06 Thread Peter Kjellerstedt
Signed-off-by: Peter Kjellerstedt 
---
 .../recipes-devtools/pahole/{pahole_1.24.bb => pahole_1.25.bb} | 3 ---
 1 file changed, 3 deletions(-)
 rename meta-oe/recipes-devtools/pahole/{pahole_1.24.bb => pahole_1.25.bb} (96%)

diff --git a/meta-oe/recipes-devtools/pahole/pahole_1.24.bb 
b/meta-oe/recipes-devtools/pahole/pahole_1.25.bb
similarity index 96%
rename from meta-oe/recipes-devtools/pahole/pahole_1.24.bb
rename to meta-oe/recipes-devtools/pahole/pahole_1.25.bb
index a57053c7c..1334c850e 100644
--- a/meta-oe/recipes-devtools/pahole/pahole_1.24.bb
+++ b/meta-oe/recipes-devtools/pahole/pahole_1.25.bb
@@ -9,7 +9,6 @@ DEPENDS = "elfutils zlib libbpf"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 COMPATIBLE_HOST = "(x86_64|i.86|aarch64).*-linux"
 
-PV .= "+1.25+git${SRCPV}"
 SRCREV = "81558a5a996005df0d607dd33f74ec5b7bdb619d"
 SRC_URI = "git://git.kernel.org/pub/scm/devel/pahole/pahole.git;branch=master \

file://0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch"
@@ -31,5 +30,3 @@ FILES:${PN}-extra = "${datadir} ${bindir} 
${libdir}/libdwarves_emit.so*"
 RDEPENDS:${PN}-extra += "bash python3-core"
 
 BBCLASSEXTEND = "native nativesdk"
-
-PV = "1.25"

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



Re: [oe] [AUH] jack: upgrading to 2 SUCCEEDED

2023-11-06 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Auto Upgrade Helper
> Sent: den 3 november 2023 20:53
> To: for...@yoctoproject.org; maintai...@yoctoproject.org; 
> f...@yoctoproject.org; a...@yoctoproject.org
> Cc: openembedded-devel@lists.openembedded.org
> Subject: [oe] [AUH] jack: upgrading to 2 SUCCEEDED
> 
> Hello,
> 
> this email is a notification from the Auto Upgrade Helper
> that the automatic attempt to upgrade the recipe *jack* to *2* has
> Succeeded.
> 
> Next steps:
> - apply the patch: git am 0001-jack-upgrade-1.19.22-2.patch
> - check the changes to upstream patches and summarize them in the commit 
> message,
> - compile an image that contains the package
> - perform some basic sanity tests
> - amend the patch and sign it off: git commit -s --reset-author --amend
> - send it to the appropriate mailing list
> 
> Alternatively, if you believe the recipe should not be upgraded at this time,
> you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that
> automatic upgrades would no longer be attempted.
> 
> Please review the attached files for further information and build/update 
> failures.
> Any problem please file a bug at
> https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler
> 
> Regards,
> The Upgrade Helper
> 
> -- >8 --
> From eef657c9b09e20176899189525b158e63b1405ae Mon Sep 17 00:00:00 2001
> From: Upgrade Helper 
> Date: Fri, 3 Nov 2023 13:23:36 +
> Subject: [PATCH] jack: upgrade 1.19.22 -> 2
> 
> ---
>  .../jack/{jack_1.19.22.bb => jack_2.bb}   | 63 +--
>  1 file changed, 57 insertions(+), 6 deletions(-)
>  rename meta-oe/recipes-multimedia/jack/{jack_1.19.22.bb => jack_2.bb} (38%)
> 
> diff --git a/meta-oe/recipes-multimedia/jack/jack_1.19.22.bb 
> b/meta-oe/recipes-multimedia/jack/jack_2.bb
> similarity index 38%
> rename from meta-oe/recipes-multimedia/jack/jack_1.19.22.bb
> rename to meta-oe/recipes-multimedia/jack/jack_2.bb
> index ef9936dab..4b31be7b4 100644
> --- a/meta-oe/recipes-multimedia/jack/jack_1.19.22.bb
> +++ b/meta-oe/recipes-multimedia/jack/jack_2.bb
> @@ -1,3 +1,55 @@
> +# FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool upgrade'.
> +# The following is the difference between the old and the new license text.
> +# Please update the LICENSE value if needed, and summarize the changes in
> +# the commit message via 'License-Update:' tag.
> +# (example: 'License-Update: copyright years updated.')
> +#
> +# The changes:
> +#
> +# --- common/jack/control.h
> +# +++ common/jack/control.h
> +# @@ -1,20 +1,20 @@
> +# -/*
> +# -  JACK control API
> +# +/* JACK server control API */
> +# +/* SPDX-FileCopyrightText:  2008-2023 Nedko Arnaudov */
> +# +/* SPDX-FileCopyrightText:  2008-2023 Grame */
> +# +/* SPDX-License-Identifier: ( GPL-2.0-or-later OR LGPL-2.1-or-later OR 
> MIT OR AFL-2.1 ) */
> +# +/**
> +# + * @file   jack/control.h
> +# + * @ingroup publicheader
> +# + * @brief  JACK control API
> +# + *
> +# + */
> +#
> +# -  Copyright (C) 2008 Nedko Arnaudov
> +# -  Copyright (C) 2008 GRAME
> +# +#ifndef JACKCTL_H__2EEDAD78_DF4C_4B26_83B7_4FF1A446A47E__INCLUDED
> +# +#define JACKCTL_H__2EEDAD78_DF4C_4B26_83B7_4FF1A446A47E__INCLUDED
> +#
> +# -  This program is free software; you can redistribute it and/or modify
> +# -  it under the terms of the GNU General Public License as published by
> +# -  the Free Software Foundation; version 2 of the License.
> +# -
> +# -  This program is distributed in the hope that it will be useful,
> +# -  but WITHOUT ANY WARRANTY; without even the implied warranty of
> +# -  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> +# -  GNU General Public License for more details.
> +# -
> +# -  You should have received a copy of the GNU General Public License
> +# -  along with this program; if not, write to the Free Software
> +# -  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
> +# -
> +# -*/
> +# +#include 
> +# +#include 
> +# +#include 
> +# +#if !defined(sun) && !defined(__sun__)
> +# +#include 
> +# +#endif
> +#
> +#
> +
>  DESCRIPTION = "jackdmp is a C++ version of the JACK low-latency audio \
>  server for multi-processor machines. It is a new implementation of the \
>  JACK server core features that aims in removing some limitations of \
> @@ -7,15 +59,14 @@ been used to have a more dynamic and robust system."
>  SECTION = "libs/multimedia"
> 
>  LICENSE = "GPL-2.0-only & LGPL-2.1-only"
> -LIC_FILES_CHKSUM = " \
> -
> file://common/jack/control.h;beginline=2;endline=21;md5=e6df0bf30cde8b3b825451459488195d
>  \
> -
> file://common/jack/jack.h;beginline=1;endline=19;md5=6b736ed6b810592b135480a5e853392e
>  \
> -"
> +LIC_FILES_CHKSUM = 
> "file://common/jack/control.h;beginline=2;endline=21;md5=9edb8b99b7a0dcd49dbf8741444f123d
>  \
> +
> file://common/jack/jack.h;beginline=1;endline=19;md5=6b736ed6b810592b135480a5e853392e
>  \
> +

Re: [oe] [PATCH v2] connectivity: add pcapplusplus recipe

2023-10-27 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Clément Péron
> Sent: den 27 oktober 2023 21:49
> To: openembedded-devel@lists.openembedded.org
> Cc: Clément Péron 
> Subject: [oe] [PATCH v2] connectivity: add pcapplusplus recipe

A more standard subject would be something like:

pcapplusplus: Add recipe

> 
> Add PcapPlusPlus 23.09 recipe.
> 
> Signed-off-by: Clément Péron 
> ---
>  .../pcapplusplus/pcapplusplus_23.09.bb| 21 +++
>  1 file changed, 21 insertions(+)
>  create mode 100644 
> meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_23.09.bb
> 
> diff --git a/meta-oe/recipes-
> connectivity/pcapplusplus/pcapplusplus_23.09.bb 
> b/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_23.09.bb
> new file mode 100644
> index 0..39c6942c8
> --- /dev/null
> +++ b/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_23.09.bb
> @@ -0,0 +1,21 @@
> +SUMMARY = "A multiplatform C++ library for capturing, parsing and crafting 
> of network packets"
> +HOMEPAGE = "https://pcapplusplus.github.io/";
> +BUGTRACKER = "https://github.com/seladb/PcapPlusPlus/issues";
> +SECTION = "libs/network"
> +LICENSE = "Unlicense"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f"
> +
> +DEPENDS = "libpcap"
> +
> +SRC_URI = 
> "git://github.com/seladb/PcapPlusPlus.git;protocol=https;branch=master"
> +SRCREV = "4cf8ed44f9dd145f874dc1dd747dfefcfcab75be"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit cmake
> +
> +PACKAGECONFIG ??= ""
> +PACKAGECONFIG[examples] = 
> "-DPCAPPP_BUILD_EXAMPLES=ON,-DPCAPPP_BUILD_EXAMPLES=OFF"
> +PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF"

Did you really mean to not enable the "shared" PACAKEGCONFIG, 
and thus only build static libraries? That seems very odd.

> +PACKAGECONFIG[tests] = "-DPCAPPP_BUILD_TESTS=ON,-DPCAPPP_BUILD_TESTS=OFF"
> +PACKAGECONFIG[zstd] = "-DLIGHT_PCAPNG_ZSTD=ON,-DLIGHT_PCAPNG_ZSTD=OFF,zstd"

Since it is unlikely that anyone wants to enable the examples and 
only build statically, I would suggest replacing the first two 
PACKAGECONFIGs above with:

EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DPCAPPP_BUILD_EXAMPLES=OFF"

And unless you plan on adding ptest support, you may as well remove the 
tests PACKAGECONFIG too, and make that:

EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DPCAPPP_BUILD_EXAMPLES=OFF 
-DPCAPPP_BUILD_TESTS=OFF" 

And if either of those three matches the upstream defaults, 
you can of course remove it altogether.

> --
> 2.39.3 (Apple Git-145)

//Peter

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#105783): 
https://lists.openembedded.org/g/openembedded-devel/message/105783
Mute This Topic: https://lists.openembedded.org/mt/102228837/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/2] mosquitto: Support building for native again

2023-10-27 Thread Peter Kjellerstedt
> -Original Message-
> From: Richard Purdie 
> Sent: den 27 oktober 2023 10:47
> To: Peter Kjellerstedt ; openembedded-
> de...@lists.openembedded.org
> Subject: Re: [oe] [meta-networking][PATCH 2/2] mosquitto: Support building
> for native again
> 
> On Fri, 2023-10-27 at 04:51 +, Peter Kjellerstedt wrote:
> > > -Original Message-
> > > From: Richard Purdie 
> > > Sent: den 26 oktober 2023 22:13
> > > To: Peter Kjellerstedt ; openembedded-
> > > de...@lists.openembedded.org
> > > Subject: Re: [oe] [meta-networking][PATCH 2/2] mosquitto: Support
> > > building
> > > for native again
> > >
> > > On Thu, 2023-10-26 at 15:22 +0200, Peter Kjellerstedt wrote:
> > > > Support for building from native was removed in commit e1b332f2e
> > > > (meta-networking: Drop broken BBCLASSEXTEND variants), most
> > > > likely due
> > > > to no support for building libwebsockets-native. That support has
> > > > now
> > > > been added, so it is now possible to build mosquitto-native
> > > > again.
> > > >
> > > > Signed-off-by: Peter Kjellerstedt 
> > > > ---
> > > >  .../recipes-connectivity/mosquitto/mosquitto_2.0.18.bb
> > > > | 2 ++
> > > >  1 file changed, 2 insertions(+)
> > >
> > > I'm a little curious how this was being used given that
> > > libwebsockets-
> > > native was missing? Local changes?
> >
> > We do not have the "websockets" PACKAGECONFIG enabled.
> 
> That explains things, thanks.
> 
> In some ways a better fix might have been to change the native
> PACKAGECONFIG and reduce dependencies and build time? That assumes you
> don't need the native config to enable the target one which I have no
> idea about though.

Unfortunately, I have no idea what we or anyone else use mosquitto 
for. I just make it build. ;) So while reducing the dependencies is 
generally a good idea, I do not know what the consequences would be.

> Cheers,
> 
> Richard

//Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#105777): 
https://lists.openembedded.org/g/openembedded-devel/message/105777
Mute This Topic: https://lists.openembedded.org/mt/102199464/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/2] mosquitto: Support building for native again

2023-10-26 Thread Peter Kjellerstedt
> -Original Message-
> From: Richard Purdie 
> Sent: den 26 oktober 2023 22:13
> To: Peter Kjellerstedt ; openembedded-
> de...@lists.openembedded.org
> Subject: Re: [oe] [meta-networking][PATCH 2/2] mosquitto: Support building
> for native again
> 
> On Thu, 2023-10-26 at 15:22 +0200, Peter Kjellerstedt wrote:
> > Support for building from native was removed in commit e1b332f2e
> > (meta-networking: Drop broken BBCLASSEXTEND variants), most likely due
> > to no support for building libwebsockets-native. That support has now
> > been added, so it is now possible to build mosquitto-native again.
> >
> > Signed-off-by: Peter Kjellerstedt 
> > ---
> >  .../recipes-connectivity/mosquitto/mosquitto_2.0.18.bb  | 2 ++
> >  1 file changed, 2 insertions(+)
> 
> I'm a little curious how this was being used given that libwebsockets-
> native was missing? Local changes?

We do not have the "websockets" PACKAGECONFIG enabled.

> Cheers,
> 
> Richard

//Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#105766): 
https://lists.openembedded.org/g/openembedded-devel/message/105766
Mute This Topic: https://lists.openembedded.org/mt/102199464/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 1/2] lvgl: lv-drivers: Allow empty package

2023-10-26 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org  de...@lists.openembedded.org> On Behalf Of Marek Vasut
> Sent: den 18 oktober 2023 21:35
> To: Martin Jansa 
> Cc: openembedded-devel@lists.openembedded.org; Fabio Estevam
> ; Khem Raj ; Michael Opdenacker
> 
> Subject: Re: [oe] [meta-oe][PATCH 1/2] lvgl: lv-drivers: Allow empty
> package
> 
> On 10/18/23 21:05, Martin Jansa wrote:
> > What issue does this actually fix?
> >
> > Is it related to
> > https://lists.openembedded.org/g/openembedded-core/message/188383 ?
> 
> Nope
> 
> > I'm not fan of empty useless packages created just to make package manager
> > happy when something else has unfortunate dependency on them.
> 
> I have a downstream repo where a tool DEPENDS on lvgl and it builds an
> SDK too, that's where it blows up on the empty package.

The reason I know of where this is needed is due to license aggregation. 
In our case we use the image manifest to determine the packages that 
went into the rootfs, and then gather the license information for those
packages. If there is no package, e.g., for static libraries or header 
only libraries, then we miss the license information for those packages, 
unless we allow the empty packages to be created and add explicit runtime 
dependencies on them. :( I wish there was a better way to handle this, 
but so far using empty packages is the only solution I have.

//Peter


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



[oe] [meta-networking][PATCHv2 2/2] mosquitto: Support building for native again

2023-10-26 Thread Peter Kjellerstedt
Support for building from native was removed in commit e1b332f2e
(meta-networking: Drop broken BBCLASSEXTEND variants), most likely due
to no support for building libwebsockets-native. That support has now
been added, so it is now possible to build mosquitto-native again.

Signed-off-by: Peter Kjellerstedt 
---

PATCHv2: No changes.

 .../recipes-connectivity/mosquitto/mosquitto_2.0.18.bb  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.18.bb 
b/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.18.bb
index 7685cc928..ea9eb4857 100644
--- a/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.18.bb
+++ b/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.18.bb
@@ -88,3 +88,5 @@ INITSCRIPT_PARAMS = "defaults 30"
 USERADD_PACKAGES = "${PN}"
 USERADD_PARAM:${PN} = "--system --no-create-home --shell /bin/false \
--user-group mosquitto"
+
+BBCLASSEXTEND = "native"

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



[oe] [meta-oe][PATCHv2 1/2] libwebsockets: Support building for native

2023-10-26 Thread Peter Kjellerstedt
This is needed to be able to build mosquitto-native.

The dependency on libcap when building for native is needed because
cmake will pick up the existence of libcap from the host, but then the
build fails if it is not available in the sysroot. Unfortunately, there
does not seem to be any way to explicitly tell cmake to not build with
libcap.

Signed-off-by: Peter Kjellerstedt 
---

PATCHv2: Depend on libcap-native instead of libcap.

 .../recipes-connectivity/libwebsockets/libwebsockets_4.3.2.bb  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.2.bb 
b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.2.bb
index 5e6069fb8..95c2854fa 100644
--- a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.2.bb
+++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.2.bb
@@ -4,6 +4,7 @@ LICENSE = "MIT & Zlib & BSD-3-Clause & Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=382bfdf329e774859fd401eaf850d29b"
 
 DEPENDS = "zlib"
+DEPENDS:append:class-native = " libcap-native"
 
 S = "${WORKDIR}/git"
 SRCREV = "b0a749c8e7a8294b68581ce4feac0e55045eb00b"
@@ -61,3 +62,5 @@ RDEPENDS:${PN}-dev += " ${@bb.utils.contains('PACKAGECONFIG', 
'static', '${PN}-s
 
 # Avoid absolute paths to end up in the sysroot.
 SSTATE_SCAN_FILES += "*.cmake"
+
+BBCLASSEXTEND = "native"

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



[oe] [meta-oe][PATCH 1/2] libwebsockets: Support building for native

2023-10-26 Thread Peter Kjellerstedt
This is needed to be able to build mosquitto-native.

The dependency on libcap when building for native is needed because
cmake will pick up the existence of libcap from the host, but then the
build fails if it is not available in the sysroot. Unfortunately, there
does not seem to be any way to explicitly tell cmake to not build with
libcap.

Signed-off-by: Peter Kjellerstedt 
---
 .../recipes-connectivity/libwebsockets/libwebsockets_4.3.2.bb  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.2.bb 
b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.2.bb
index 5e6069fb8..b80c31a1e 100644
--- a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.2.bb
+++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.2.bb
@@ -4,6 +4,7 @@ LICENSE = "MIT & Zlib & BSD-3-Clause & Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=382bfdf329e774859fd401eaf850d29b"
 
 DEPENDS = "zlib"
+DEPENDS:append:class-native = " libcap"
 
 S = "${WORKDIR}/git"
 SRCREV = "b0a749c8e7a8294b68581ce4feac0e55045eb00b"
@@ -61,3 +62,5 @@ RDEPENDS:${PN}-dev += " ${@bb.utils.contains('PACKAGECONFIG', 
'static', '${PN}-s
 
 # Avoid absolute paths to end up in the sysroot.
 SSTATE_SCAN_FILES += "*.cmake"
+
+BBCLASSEXTEND = "native"

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



[oe] [meta-networking][PATCH 2/2] mosquitto: Support building for native again

2023-10-26 Thread Peter Kjellerstedt
Support for building from native was removed in commit e1b332f2e
(meta-networking: Drop broken BBCLASSEXTEND variants), most likely due
to no support for building libwebsockets-native. That support has now
been added, so it is now possible to build mosquitto-native again.

Signed-off-by: Peter Kjellerstedt 
---
 .../recipes-connectivity/mosquitto/mosquitto_2.0.18.bb  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.18.bb 
b/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.18.bb
index 7685cc928..ea9eb4857 100644
--- a/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.18.bb
+++ b/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.18.bb
@@ -88,3 +88,5 @@ INITSCRIPT_PARAMS = "defaults 30"
 USERADD_PACKAGES = "${PN}"
 USERADD_PARAM:${PN} = "--system --no-create-home --shell /bin/false \
--user-group mosquitto"
+
+BBCLASSEXTEND = "native"

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



[oe] What are the plans for the nanbield branch?

2023-10-05 Thread Peter Kjellerstedt
Khem and Armin,

what are the plans for the nanbield branch, given that is was 
branched off long before the actual Nanbield release? Do you plan 
on merging master into it once Nanbield is released, or will it 
stay as it is and relevant parts will have to be backported? 

The reason I ask is because I am currently working on preparing 
our layers for the upgrade to Nanbield and currently there is 
quite a big difference between the nanbield branch and the master 
branch in meta-openembedded. Thus it would help to know if should 
continue to track the master branch for meta-openembedded, or if 
I should revert to the nanbield branch.

//Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#105357): 
https://lists.openembedded.org/g/openembedded-devel/message/105357
Mute This Topic: https://lists.openembedded.org/mt/101777064/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] replace /usr/bin/env python -> python3

2023-08-15 Thread Peter Kjellerstedt
It is also better to do a change like this using a patch rather than with sed. 
Because if upstream changes the shebang line of the script or removes it, the 
patch will no longer apply and someone will update it or remove it, whereas the 
sed command may remain long after it is no longer needed.

//Peter

From: openembedded-devel@lists.openembedded.org 
 On Behalf Of Tim Orling
Sent: den 2 augusti 2023 20:26
To: Robert Berger 
Cc: Martin Jansa ; Robert Berger 
; openembedded-devel@lists.openembedded.org; 
Robert Berger 
Subject: Re: [oe] [meta-oe][PATCH] replace /usr/bin/env python -> python3



On Wed, Aug 2, 2023 at 10:17 AM Robert Berger 
mailto:robert.berger.oe.de...@gmail.com>> 
wrote:
Hi,

On 02/08/2023 19:07, Martin Jansa wrote:
> Does it work when you re-execute do_configure or do you get python33? I
> think you should anchor the regexp with '$'.

I think you are right - Let me play around a bit and I'll send v2.
You can also use '1s' to only change the first line.

NOTE: the subject should include the package being fixed, otherwise it sounds 
global which it is not
" uftrace: replace /usr/bin/env python -> python3"

--
Robert Berger
Embedded Software Evangelist

Reliable Embedded Systems
Consulting Training Engineering
URL: https://www.reliableembeddedsystems.com

Schedule a web meeting:
https://calendly.com/reliableembeddedsystems/
~~~
--




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



[oe] [mickledore][meta-oe][PATCH] khronos-cts: Replace wayland feature dependancy with vulkan

2023-08-15 Thread Peter Kjellerstedt
From: Linus Jacobson 

Khronos-cts.inc is used for building vulkan-cts or opengl-es-cts. Even
though vulkan-cts depends on vulkan-loader, which automatically
requires vulkan distro feature, it is more explicitly stated if written
here next to opengl.

Some systems do not support a windowing service (like wayland) but still
might use standard khronos GPU libraries. For these cases, wayland
dependancy is invalid.

Patch replaces the invalid wayland distro feature dependancy with
vulkan for clarity.

Signed-off-by: Khem Raj 
Signed-off-by: Peter Kjellerstedt 
---
 meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc 
b/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
index 01f4a572f..4fd32d93c 100644
--- a/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
+++ b/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
@@ -21,7 +21,7 @@ S = "${WORKDIR}/git"
 
 inherit pkgconfig cmake features_check python3native qemu
 
-ANY_OF_DISTRO_FEATURES += "opengl wayland"
+ANY_OF_DISTRO_FEATURES += "opengl vulkan"
 
 DEPENDS += "python3-lxml-native libpng zlib virtual/libgles2 qemu-native"
 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#104358): 
https://lists.openembedded.org/g/openembedded-devel/message/104358
Mute This Topic: https://lists.openembedded.org/mt/100760573/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][kirkstone][PATCH] webserver: nginx: Add stream Signed-off-by: Luke Schaefer

2023-07-04 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org  de...@lists.openembedded.org> On Behalf Of Armin Kuster
> Sent: den 4 juli 2023 16:28
> To: openembedded-devel@lists.openembedded.org
> Cc: Luke Schaefer 
> Subject: [oe] [meta-oe][kirkstone][PATCH] webserver: nginx: Add stream 
> Signed-off-by: Luke Schaefer 

Why is the Signed-off-by in the subject?

> 
> From: Luke Schaefer 
> 
> Add stream support to nginx PACKAGECONFIG
> 
> Signed-off-by: Armin Kuster 
> ---
>  meta-webserver/recipes-httpd/nginx/nginx.inc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc 
> b/meta-webserver/recipes-httpd/nginx/nginx.inc
> index dfced33300..231c1d1ec9 100644
> --- a/meta-webserver/recipes-httpd/nginx/nginx.inc
> +++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
> @@ -43,6 +43,7 @@ PACKAGECONFIG[gunzip] = "--with-http_gunzip_module,,"
>  PACKAGECONFIG[http2] = "--with-http_v2_module,,"
>  PACKAGECONFIG[ssl] = "--with-http_ssl_module,,openssl"
>  PACKAGECONFIG[http-auth-request] = "--with-http_auth_request_module,,"
> +PACKAGECONFIG[stream] = "--with-stream,,"
> 
>  do_configure () {
>  if [ "${SITEINFO_BITS}" = "64" ]; then
> --
> 2.34.1


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



[oe] [meta-oe][PATCH] cppzmq: Move the version to the recipe file name

2023-07-03 Thread Peter Kjellerstedt
This allows a versioned bbappend to be used.

Signed-off-by: Peter Kjellerstedt 
---
 .../zeromq/{cppzmq_git.bb => cppzmq_4.10.0.bb}   | 1 -
 1 file changed, 1 deletion(-)
 rename meta-oe/recipes-connectivity/zeromq/{cppzmq_git.bb => cppzmq_4.10.0.bb} 
(97%)

diff --git a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb 
b/meta-oe/recipes-connectivity/zeromq/cppzmq_4.10.0.bb
similarity index 97%
rename from meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
rename to meta-oe/recipes-connectivity/zeromq/cppzmq_4.10.0.bb
index 0e1ad9af5..948d312bd 100644
--- a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
+++ b/meta-oe/recipes-connectivity/zeromq/cppzmq_4.10.0.bb
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=db174eaf7b55a34a7c89551197f66e94"
 DEPENDS = "zeromq"
 
 SRCREV = "c94c20743ed7d4aa37835a5c46567ab0790d4acc"
-PV = "4.10.0"
 
 SRC_URI = "git://github.com/zeromq/cppzmq.git;branch=master;protocol=https"
 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#103652): 
https://lists.openembedded.org/g/openembedded-devel/message/103652
Mute This Topic: https://lists.openembedded.org/mt/99936219/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] zeromq: consider license exception over LGPL-3.0

2023-06-15 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Remi Peuvergne
> Sent: den 14 juni 2023 09:38
> To: openembedded-devel@lists.openembedded.org
> Cc: Remi Peuvergne 
> Subject: [oe] [meta-oe][PATCH] zeromq: consider license exception over 
> LGPL-3.0
> 
> Signed-off-by: Remi Peuvergne 
> ---
>  meta-oe/recipes-connectivity/zeromq/zeromq_4.3.4.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-connectivity/zeromq/zeromq_4.3.4.bb 
> b/meta-oe/recipes-connectivity/zeromq/zeromq_4.3.4.bb
> index bf25d56ee..1ed486df5 100644
> --- a/meta-oe/recipes-connectivity/zeromq/zeromq_4.3.4.bb
> +++ b/meta-oe/recipes-connectivity/zeromq/zeromq_4.3.4.bb
> @@ -1,6 +1,6 @@
>  DESCRIPTION = "ZeroMQ looks like an embeddable networking library but acts 
> like a concurrency framework"
>  HOMEPAGE = "http://www.zeromq.org";
> -LICENSE = "LGPL-3.0-or-later"
> +LICENSE = "LGPL-3.0-with-zeromq-exception | LGPLv3+"

"LGPLv3+" isn't a valid license in recipes anymore. Please change it 
back to "LGPL-3.0-or-later" (or remove it; I do not really see the 
point of including it when "LGPL-3.0-with-zeromq-exception" should be 
a more permissive license that does not add any extra requirements).

>  LIC_FILES_CHKSUM = 
> "file://COPYING.LESSER;md5=d5311495d952062e0e4fbba39cbf3de1"
> 
>  PACKAGECONFIG ??= "libsodium"
> --
> 2.25.1

//Peter


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



[oe] [meta-oe][PATCH] glog: Correct the packaging of /usr/share/glog/cmake/FindUnwind.cmake

2023-06-07 Thread Peter Kjellerstedt
It belongs in the glog-dev package.

Signed-off-by: Peter Kjellerstedt 
---
 meta-oe/recipes-support/glog/glog_0.6.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/glog/glog_0.6.0.bb 
b/meta-oe/recipes-support/glog/glog_0.6.0.bb
index 5d12ba693..1c8867f04 100644
--- a/meta-oe/recipes-support/glog/glog_0.6.0.bb
+++ b/meta-oe/recipes-support/glog/glog_0.6.0.bb
@@ -37,3 +37,5 @@ do_configure:append() {
 sed -i 's/'$(echo ${WORKDIR} | sed 's_/_\\/_g')'/../g' ${B}/config.h
 fi
 }
+
+FILES:${PN}-dev += "${datadir}/${BPN}/cmake"

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#103179): 
https://lists.openembedded.org/g/openembedded-devel/message/103179
Mute This Topic: https://lists.openembedded.org/mt/99387691/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: modify suffix of spdx file.

2023-06-02 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of wangmy
> Sent: den 2 juni 2023 04:59
> To: openembedded-devel@lists.openembedded.org
> Cc: Wang Mingyu 
> Subject: [oe] [meta-oe] [PATCH v3] dnf-plugin-tui: modify suffix of spdx file.
> 
> From: Wang Mingyu 
> 
> 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 ca2b20108a..94023922a2 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 = "8d21f52577aa03958732a5a346a678c699e98cb6"
> +SRCREV = "83917a3935ac7ce1d8d96e914d96a6679319a336"
>  PV = "1.3"

Since SRCREV doesn't match PV, PV should be changed to indicate this:

PV = "1.3+git${SRCPV}"

> 
>  SRC_URI:append:class-target = " file://oe-remote.repo.sample"
> --
> 2.34.1

//Peter

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#103103): 
https://lists.openembedded.org/g/openembedded-devel/message/103103
Mute This Topic: https://lists.openembedded.org/mt/99279416/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 3/3] meta-oe/conf/layer.conf: Add PREFERRED_[R]PROVIDER_virtual/opencl-icd

2023-05-07 Thread Peter Kjellerstedt
Zoltan: Any comments to my question below?

//Peter

> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Peter Kjellerstedt
> Sent: den 26 april 2023 19:30
> To: Zoltan Boszormenyi 
> Cc: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [meta-oe][PATCH 3/3] meta-oe/conf/layer.conf: Add 
> PREFERRED_[R]PROVIDER_virtual/opencl-icd
> 
> > -Original Message-
> > From: openembedded-devel@lists.openembedded.org 
> >  On Behalf Of Zoltan Boszormenyi
> > Sent: den 9 mars 2023 09:11
> > To: openembedded-devel@lists.openembedded.org
> > Cc: Zoltán Böszörményi 
> > Subject: [oe] [meta-oe][PATCH 3/3] meta-oe/conf/layer.conf: Add 
> > PREFERRED_[R]PROVIDER_virtual/opencl-icd
> >
> > Select opencl-icd-loader as the preferred provider for both
> > build and runtime.
> >
> > Signed-off-by: Zoltán Böszörményi 
> > ---
> >  meta-oe/conf/layer.conf | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf
> > index a1f50879e..aee1fa786 100644
> > --- a/meta-oe/conf/layer.conf
> > +++ b/meta-oe/conf/layer.conf
> > @@ -50,6 +50,8 @@ PREFERRED_RPROVIDER_libdevmapper = "lvm2"
> >  PREFERRED_PROVIDER_android-tools-conf ?= "android-tools-conf"
> >  # Configures whether coreutils or uutils-coreutils is used.
> >  PREFERRED_PROVIDER_coreutils = "coreutils"
> > +PREFERRED_PROVIDER_virtual/opencl-icd ?= "opencl-icd-loader"
> > +PREFERRED_RPROVIDER_virtual/opencl-icd ?= "opencl-icd-loader"
> 
> There are no runtime dependencies on virtual/opencl-icd in meta-openembedded.
> Runtime dependencies on virtual/... are also considered wrong as they
> do not work as expected (they only work as long as you do not try to
> create a package feed AFAIUI, which is why OE-Core uses VIRTUAL-RUNTIME_...
> instead). So why do you need to set PREFERRED_RPROVIDER_virtual/opencl-icd
> (and add the corresponding RPROVIDES:${PN} to ocl-icd and opencl-icd-loader)?
> 
> >
> >  SIGGEN_EXCLUDERECIPES_ABISAFE += " \
> >fbset-modes \
> > --
> > 2.39.2
> 
> //Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#102362): 
https://lists.openembedded.org/g/openembedded-devel/message/102362
Mute This Topic: https://lists.openembedded.org/mt/97491916/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 3/3] meta-oe/conf/layer.conf: Add PREFERRED_[R]PROVIDER_virtual/opencl-icd

2023-04-26 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Zoltan Boszormenyi
> Sent: den 9 mars 2023 09:11
> To: openembedded-devel@lists.openembedded.org
> Cc: Zoltán Böszörményi 
> Subject: [oe] [meta-oe][PATCH 3/3] meta-oe/conf/layer.conf: Add 
> PREFERRED_[R]PROVIDER_virtual/opencl-icd
> 
> Select opencl-icd-loader as the preferred provider for both
> build and runtime.
> 
> Signed-off-by: Zoltán Böszörményi 
> ---
>  meta-oe/conf/layer.conf | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf
> index a1f50879e..aee1fa786 100644
> --- a/meta-oe/conf/layer.conf
> +++ b/meta-oe/conf/layer.conf
> @@ -50,6 +50,8 @@ PREFERRED_RPROVIDER_libdevmapper = "lvm2"
>  PREFERRED_PROVIDER_android-tools-conf ?= "android-tools-conf"
>  # Configures whether coreutils or uutils-coreutils is used.
>  PREFERRED_PROVIDER_coreutils = "coreutils"
> +PREFERRED_PROVIDER_virtual/opencl-icd ?= "opencl-icd-loader"
> +PREFERRED_RPROVIDER_virtual/opencl-icd ?= "opencl-icd-loader"

There are no runtime dependencies on virtual/opencl-icd in meta-openembedded. 
Runtime dependencies on virtual/... are also considered wrong as they 
do not work as expected (they only work as long as you do not try to 
create a package feed AFAIUI, which is why OE-Core uses VIRTUAL-RUNTIME_...
instead). So why do you need to set PREFERRED_RPROVIDER_virtual/opencl-icd 
(and add the corresponding RPROVIDES:${PN} to ocl-icd and opencl-icd-loader)?

> 
>  SIGGEN_EXCLUDERECIPES_ABISAFE += " \
>fbset-modes \
> --
> 2.39.2

//Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#102200): 
https://lists.openembedded.org/g/openembedded-devel/message/102200
Mute This Topic: https://lists.openembedded.org/mt/97491916/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] khronos-cts: Replace wayland feature dependancy with vulkan

2023-04-18 Thread Peter Kjellerstedt
Can this be backported to Mickledore?

//Peter

> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Linus Jacobson
> Sent: den 14 april 2023 08:36
> To: openembedded-devel@lists.openembedded.org
> Cc: Linus Jacobson 
> Subject: [oe] [meta-oe][PATCH] khronos-cts: Replace wayland feature 
> dependancy with vulkan
> 
> Khronos-cts.inc is used for building vulkan-cts or opengl-es-cts. Even
> though vulkan-cts depends on vulkan-loader, which automatically
> requires vulkan distro feature, it is more explicitly stated if written
> here next to opengl.
> 
> Some systems do not support a windowing service (like wayland) but still
> might use standard khronos GPU libraries. For these cases, wayland
> dependancy is invalid.
> 
> Patch replaces the invalid wayland distro feature dependancy with
> vulkan for clarity.
> ---
>  meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc 
> b/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
> index f9074556f..1fda43521 100644
> --- a/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
> +++ b/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
> @@ -20,7 +20,7 @@ S = "${WORKDIR}/git"
> 
>  inherit pkgconfig cmake features_check python3native qemu
> 
> -ANY_OF_DISTRO_FEATURES += "opengl wayland"
> +ANY_OF_DISTRO_FEATURES += "opengl vulkan"
> 
>  DEPENDS += "python3-lxml-native libpng zlib virtual/libgles2 qemu-native"
> 
> --
> 2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#102134): 
https://lists.openembedded.org/g/openembedded-devel/message/102134
Mute This Topic: https://lists.openembedded.org/mt/98257152/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] pipewire: update 0.3.63 -> 0.3.64

2023-04-18 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Markus Volk
> Sent: den 17 januari 2023 08:50
> To: openembedded-devel@lists.openembedded.org
> Cc: Markus Volk 
> Subject: [oe] [meta-multimedia][PATCH] pipewire: update 0.3.63 -> 0.3.64
> 
> This is a bugfix release that is API and ABI compatible with previous
> 0.3.x releases.
> 
>   - Clear old buffer memory on ports to fix some SIGBUS errors.
>   - It is now possible to assign custom port names to the ports from an
> adapter. This feature is helpful to those who use a multichannel
> interface with long-term connections. This way they can label each
> port with its designation, such as an instrument name or anything else
> to be displayed in a patchbay or DAW.
>   - Fix some issues with node suspend and quantum and rate calculations.
>   - Fix some regressions in pulse-tunnel and RTP-source adaptive resampling
> that could cause synchronization problems.
>   - UCM devices now also have a Pro Audio profile.
>   - NODE_TARGET (with the object.id) is now deprecated, use TARGET_OBJECT
> (with the object.serial, which is not reused and can avoid races).
> 
>   - Clear all peer input port buffers when suspending. This fixes some
> SIGBUS errors when some plugins were using old memory. (#2914)
>   - Fix a case where nodes that were not supposed to be suspended, were
> kept suspended on a rate change. (#2929)
>   - Fix an error in the quantum and rate calculations that could cause
> nodes to run with wrong quantum and rates when multiple rates were
> allowed. (#2925)
> 
>   - pw-dump will now sort dictionaries to make it easier to compare
> different outputs.
>   - Improve output of pw-reserve.
>   - pw-loopback uses TARGET_OBJECT so you will need to use the serial
> id (or better the name) as the target instead of the object id.
> 
>   - The filter-chain modules has seen some cleanups, refactoring and
> optimizations in the various DSP functions.
>   - The ROC module now supports setting a custom samplerate.
>   - ROC 0.2.X is now required.
>   - The pulse tunnel and RTP source were not updating the rate field
> correctly which could cause synchronization problems. (#2891)
>   - The filter-chain now supports an arbitrary number of control
> properties. (#2933)
>   - It is now possible to assign custom port names to the ports from an
> adapter with the PW_KEY_NODE_CHANNELNAMES.
>   - Support was added for capture and playback props in echo-cancel.
> (#2939)
> 
>   - The ACP code now has an option to set the probe samplerate. (#1599)
>   - UCM devices now also have a Pro Audio profile.
>   - Filtering of Step ranges is now implemented.
> 
>   - The channel-map is now set correctly on the echo-cancel module.
>   - source_master and sink_master are now correctly handled in module
> echo-cancel.
>   - Fix a regression in DRAIN where resuming after a DRAIN would fail.
> This caused problems for espeak. (#2928)
>   - TARGET_OBJECT is now used to make it possible to use the indexes
> as a target.
>   - ladspa-source and remap-source can now also link to monitors.
> 
>   - The ALSA plugin now handles the target.object correctly when set to
> -1. (#2893)
> 
>   - The v4l2 replacement library now also follows symlinks.
>   - Support for getting and setting controls was added.
>   - Support for G_PARM was added.
>   - The environment variable PIPEWIRE_V4L2_TARGET can be used to force
> an application onto a specific camera.
> 
>   - Fix compilation without ldac_abr.
>   - Fix a missing brace in CIND reply. This could cause some devices to
> fail.
>   - Fix configuration of the initial latency.
> 
>   - The device provider now supports setting an fd so that it can connect
> to PipeWire sessions from the portal.
>   - DMABuf support was re-enabled in gstpipewiresrc.
> 
> Build with support for gsettings and libcamera
> 
> Signed-off-by: Markus Volk 
> ---
>  .../pipewire/{pipewire_0.3.63.bb => pipewire_0.3.64.bb} | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>  rename meta-multimedia/recipes-multimedia/pipewire/{pipewire_0.3.63.bb => 
> pipewire_0.3.64.bb} (98%)
> 
> diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.63.bb 
> b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.64.bb
> similarity index 98%
> rename from meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.63.bb
> rename to meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.64.bb
> index f7acb8db4..91945ca7d 100644
> --- a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.63.bb
> +++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.64.bb
> @@ -13,12 +13,12 @@ LIC_FILES_CHKSUM = " \
> 
>  DEPENDS = "dbus ncurses"
> 
> -SRCREV = "5ff00f40b9d3ecfc38305edc27e9c2b01629802c"
> +SRCREV = "bba452695eb673461c5cf626eec57728991eadf7"
>  SRC_URI = 
> "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=m

[oe] [meta-oe][meta-networking][PATCH 5/5] recipes: Remove double protocol= from SRC_URIs

2023-04-04 Thread Peter Kjellerstedt
With the exception of paho-mqtt-cpp, the double protocol= attributes
were added to the SRC_URIs when protocol=https was added to all SRC_URIs
fetching from github.com in commit b402a3076f (recipes: Update SRC_URI
branch and protocols).

Signed-off-by: Peter Kjellerstedt 
---
 meta-networking/recipes-support/unbound/unbound_1.17.1.bb   | 2 +-
 meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.12.bb  | 2 +-
 .../recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.2.0.bb   | 2 +-
 meta-oe/recipes-core/emlog/emlog.inc| 2 +-
 meta-oe/recipes-core/mdbus2/mdbus2_git.bb   | 2 +-
 meta-oe/recipes-devtools/ltrace/ltrace_git.bb   | 2 +-
 meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.1.bb   | 2 +-
 meta-oe/recipes-extended/jpnevulator/jpnevulator_git.bb | 2 +-
 meta-oe/recipes-extended/mraa/mraa_git.bb   | 2 +-
 meta-oe/recipes-extended/rrdtool/rrdtool_1.8.0.bb   | 2 +-
 meta-oe/recipes-extended/upm/upm_git.bb | 2 +-
 meta-oe/recipes-graphics/renderdoc/renderdoc_1.13.bb| 2 +-
 meta-oe/recipes-support/libjs/libjs-jquery-cookie_3.0.1.bb  | 2 +-
 13 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/meta-networking/recipes-support/unbound/unbound_1.17.1.bb 
b/meta-networking/recipes-support/unbound/unbound_1.17.1.bb
index caa1bb339..24ac6012b 100644
--- a/meta-networking/recipes-support/unbound/unbound_1.17.1.bb
+++ b/meta-networking/recipes-support/unbound/unbound_1.17.1.bb
@@ -9,7 +9,7 @@ SECTION = "net"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5308494bc0590c0cb036afd781d78f06"
 
-SRC_URI = 
"git://github.com/NLnetLabs/unbound.git;protocol=http;branch=master;protocol=https
 \
+SRC_URI = "git://github.com/NLnetLabs/unbound.git;protocol=https;branch=master 
\
file://0001-contrib-add-yocto-compatible-init-script.patch \
 "
 SRCREV = "90831af981221bbce1cd7b15055562336760e484"
diff --git a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.12.bb 
b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.12.bb
index 7a65582db..6578bcfeb 100644
--- a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.12.bb
+++ b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.12.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = " \
 file://epl-v20;md5=d9fc0efef5228704e7f5b37f27192723 \
 "
 
-SRC_URI = 
"git://github.com/eclipse/paho.mqtt.c;protocol=http;branch=master;protocol=https"
+SRC_URI = "git://github.com/eclipse/paho.mqtt.c;protocol=https;branch=master"
 
 SRCREV = "4157a27d39f1dd5b95750ecb6acd1481432785d8"
 
diff --git a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.2.0.bb 
b/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.2.0.bb
index d0441b844..bb5aa6907 100644
--- a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.2.0.bb
+++ b/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.2.0.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = " \
 file://epl-v10;md5=659c8e92a40b6df1d9e3dccf5ae45a08 \
 "
 
-SRC_URI = 
"git://github.com/eclipse/paho.mqtt.cpp;protocol=http;branch=master;protocol=https
 \
+SRC_URI = "git://github.com/eclipse/paho.mqtt.cpp;protocol=https;branch=master 
\

file://0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch \
 "
 SRCREV = "33921c8b68b351828650c36816e7ecf936764379"
diff --git a/meta-oe/recipes-core/emlog/emlog.inc 
b/meta-oe/recipes-core/emlog/emlog.inc
index 824787083..208b39acd 100644
--- a/meta-oe/recipes-core/emlog/emlog.inc
+++ b/meta-oe/recipes-core/emlog/emlog.inc
@@ -3,7 +3,7 @@ most recent (and only the most recent) output from a process"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
-SRC_URI = 
"git://github.com/nicupavel/emlog.git;protocol=http;branch=master;protocol=https"
+SRC_URI = "git://github.com/nicupavel/emlog.git;protocol=https;branch=master"
 SRCREV = "aee53e8dee862f35291242ba41b0ca88010f6c71"
 
 S = "${WORKDIR}/git"
diff --git a/meta-oe/recipes-core/mdbus2/mdbus2_git.bb 
b/meta-oe/recipes-core/mdbus2/mdbus2_git.bb
index 07c5cc939..c6db78b4a 100644
--- a/meta-oe/recipes-core/mdbus2/mdbus2_git.bb
+++ b/meta-oe/recipes-core/mdbus2/mdbus2_git.bb
@@ -6,7 +6,7 @@ DEPENDS = "readline"
 
 PV = "2.3.3+git${SRCPV}"
 
-SRC_URI = 
"git://github.com/freesmartphone/mdbus.git;protocol=http;branch=master;protocol=https
 \
+SRC_URI = 
"git://github.com/freesmartphone/mdbus.git;protocol=https;branch=master \

file://0001-Fix-arguments-in-GLib.DBusSignalCallback-for-Vala-0..patch \
"
 SRCREV = "28202692d0b441000f4ddb8f347f72d1355021aa"
diff --git a/meta-oe/recipes-devtools/ltrace/ltrace_git

[oe] [meta-networking][PATCH 4/5] autossh: Correct the license information

2023-04-04 Thread Peter Kjellerstedt
Correct "startline=" to "beginline=" in LIC_FILES_CHKSUM so that the
correct lines from autossh.c and daemon.h are used. Also remove
autossh.spec from LIC_FILES_CHKSUM as it doesn't really contain any
license information.

Signed-off-by: Peter Kjellerstedt 
---
 meta-networking/recipes-connectivity/autossh/autossh_1.4g.bb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta-networking/recipes-connectivity/autossh/autossh_1.4g.bb 
b/meta-networking/recipes-connectivity/autossh/autossh_1.4g.bb
index 3dc304b23..de7e2d3e0 100644
--- a/meta-networking/recipes-connectivity/autossh/autossh_1.4g.bb
+++ b/meta-networking/recipes-connectivity/autossh/autossh_1.4g.bb
@@ -2,9 +2,8 @@ DESCRIPTION = "autossh is a program to start a copy of ssh and 
monitor it, resta
 HOMEPAGE = "https://www.harding.motd.ca/autossh/";
 
 LICENSE = "BSD-1-Clause & BSD-4-Clause"
-LIC_FILES_CHKSUM = "file://autossh.spec;md5=80a6701134723fd3420e733b46a0eb97 \
-
file://autossh.c;md5=76c37acd40ac45050a4ced145b1e2707;startline=7;endline=23 \
-
file://daemon.h;md5=6bbeaac616b9bc8de7b40049004f4289;startline=7;endline=39"
+LIC_FILES_CHKSUM = 
"file://autossh.c;beginline=7;endline=22;md5=9ae0c9b04856148d77984ef58536732b \
+
file://daemon.h;beginline=7;endline=36;md5=839bb7bf781ff48da4a3fec2a62a1a47"
 
 SRC_URI = "https://www.harding.motd.ca/autossh/${BP}.tgz";
 SRC_URI[md5sum] = "2b804bc1bf6d2f2afaa526d02df7c0a2"

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



[oe] [meta-oe][PATCH 2/5] paho-mqtt-cpp: Improve the license information

2023-04-04 Thread Peter Kjellerstedt
Replace the about.html and notice.html files in LIC_FILES_CHKSUM with
the license information from one of the source files. Including HTML
files in LIC_FILES_CHKSUM complicates things when the license files that
OE collects are, e.g., later processed and presented to a user where the
expectation is that they are plain text files.

Signed-off-by: Peter Kjellerstedt 
---
 .../recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.2.0.bb  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.2.0.bb 
b/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.2.0.bb
index a9e16fa04..d0441b844 100644
--- a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.2.0.bb
+++ b/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.2.0.bb
@@ -5,10 +5,9 @@ SECTION = "console/network"
 LICENSE = "EPL-1.0 | EDL-1.0"
 
 LIC_FILES_CHKSUM = " \
+
file://src/mqtt/message.h;beginline=9;endline=18;md5=5eec304e6066523386c222963ceeb6ff
 \
 file://edl-v10;md5=3adfcc70f5aeb7a44f3f9b495aa1fbf3 \
 file://epl-v10;md5=659c8e92a40b6df1d9e3dccf5ae45a08 \
-file://notice.html;md5=a00d6f9ab542be7babc2d8b80d5d2a4c \
-file://about.html;md5=dcde438d73cf42393da9d40fabc0c9bc \
 "
 
 SRC_URI = 
"git://github.com/eclipse/paho.mqtt.cpp;protocol=http;branch=master;protocol=https
 \

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



[oe] [meta-python][PATCH 3/5] python3-crc32c: Correct the license information

2023-04-04 Thread Peter Kjellerstedt
Correct "startline=" to "beginline=" in LIC_FILES_CHKSUM so that the
correct lines from crc32c_adler.c are used.

Signed-off-by: Peter Kjellerstedt 
---
 meta-python/recipes-devtools/python/python3-crc32c_2.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-crc32c_2.3.bb 
b/meta-python/recipes-devtools/python/python3-crc32c_2.3.bb
index 203256895..da756ea07 100644
--- a/meta-python/recipes-devtools/python/python3-crc32c_2.3.bb
+++ b/meta-python/recipes-devtools/python/python3-crc32c_2.3.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = " \
 file://LICENSE;md5=4fbd65380cdd255951079008b364516c \
 file://LICENSE.google-crc32c;md5=e9ed01b5e5ac9eae23fc2bb33701220c \
 file://LICENSE.slice-by-8;md5=6b3bc7709d6b2db6646ec2467310ff6b \
-
file://crc32c_adler.c;startline=9;endline=24;md5=c60e6e55d0e5d95effa6fad27db0711a
 \
+
file://crc32c_adler.c;beginline=9;endline=24;md5=9c8bd2afd2d340fd37c038759cd4eff8
 \
 "
 
 SRC_URI[sha256sum] = 
"17ce6c596ad0d53df52dcd72defb66984aeabd98fbefea7ba848a6b6bdece36a"

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



[oe] [meta-oe][PATCH 1/5] paho-mqtt-c: Improve the license information

2023-04-04 Thread Peter Kjellerstedt
Replace the about.html and notice.html files in LIC_FILES_CHKSUM with
the LICENSE file. Including HTML files in LIC_FILES_CHKSUM complicates
things when the license files that OE collects are, e.g., later
processed and presented to a user where the expectation is that they are
plain text files.

Signed-off-by: Peter Kjellerstedt 
---
 meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.12.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.12.bb 
b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.12.bb
index d006ae763..7a65582db 100644
--- a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.12.bb
+++ b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.12.bb
@@ -5,10 +5,9 @@ SECTION = "console/network"
 LICENSE = "EPL-2.0 | EDL-1.0"
 
 LIC_FILES_CHKSUM = " \
+file://LICENSE;md5=fd3b896dadaeec3410d753ffaeadcfac \
 file://edl-v10;md5=3adfcc70f5aeb7a44f3f9b495aa1fbf3 \
 file://epl-v20;md5=d9fc0efef5228704e7f5b37f27192723 \
-file://notice.html;md5=943f861069889acecebf51dfa24478e2 \
-file://about.html;md5=e5662cbb5f8fd5c9faac526e4077898e \
 "
 
 SRC_URI = 
"git://github.com/eclipse/paho.mqtt.c;protocol=http;branch=master;protocol=https"

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



[oe] [langdale][kirkstone][meta-networking][PATCH] kernel_add_regdb: Change the task order

2023-01-18 Thread Peter Kjellerstedt
From: Hermes Zhang 

The kernel_add_regdb should run before do_compile to make it take
effect.

Signed-off-by: Peter Kjellerstedt 
---
 meta-networking/classes/kernel_wireless_regdb.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/classes/kernel_wireless_regdb.bbclass 
b/meta-networking/classes/kernel_wireless_regdb.bbclass
index 1238172bd..9ad566c83 100644
--- a/meta-networking/classes/kernel_wireless_regdb.bbclass
+++ b/meta-networking/classes/kernel_wireless_regdb.bbclass
@@ -17,4 +17,4 @@ do_kernel_add_regdb() {
 cp ${STAGING_LIBDIR_NATIVE}/crda/db.txt ${S}/net/wireless/db.txt
 }
 do_kernel_add_regdb[dirs] = "${S}"
-addtask kernel_add_regdb before do_build after do_configure
+addtask kernel_add_regdb before do_compile after do_configure

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#100650): 
https://lists.openembedded.org/g/openembedded-devel/message/100650
Mute This Topic: https://lists.openembedded.org/mt/96351207/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] polkit: Recover ${nonarch_libdir}/${BPN}-1 into FILES:${PN} to fix install do_package error when enable multilib.

2022-12-08 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of leimaohui
> Sent: den 7 december 2022 04:14
> To: openembedded-devel@lists.openembedded.org
> Cc: Lei Maohui 
> Subject: [oe] [meta-oe][PATCH] polkit: Recover ${nonarch_libdir}/${BPN}-1 
> into FILES:${PN} to fix install do_package error when enable multilib.

That is a very long subject, way longer than the recommendations.
I suggest you change it to something shorter, e.g.: 

  polkit: Make it build with multilib

> 
> ERROR: polkit-122-r0 do_package: QA Issue: polkit: Files/directories were 
> installed but not shipped in any package:
>   /usr/lib/polkit-1/polkit-agent-helper-1
>   /usr/lib/polkit-1/polkitd
> Please set FILES such that these items are packaged. Alternatively if they 
> are unneeded, avoid installing them or delete them within do_install.
> polkit: 2 installed and not shipped files. [installed-vs-shipped]
> 
> Signed-off-by: Lei Maohui 
> ---
>  meta-oe/recipes-extended/polkit/polkit_122.bb | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-extended/polkit/polkit_122.bb 
> b/meta-oe/recipes-extended/polkit/polkit_122.bb
> index dfa6c14a4..a7cfbdd62 100644
> --- a/meta-oe/recipes-extended/polkit/polkit_122.bb
> +++ b/meta-oe/recipes-extended/polkit/polkit_122.bb
> @@ -46,4 +46,6 @@ do_install:append() {
>   chown polkitd:root ${D}/${datadir}/polkit-1/rules.d
>  }
> 
> -FILES:${PN} += "${libdir}/polkit-1 ${datadir}"
> +FILES:${PN} += "${libdir}/polkit-1 ${datadir} \
> +${nonarch_libdir}/${BPN}-1 \
> +   "

It would be more obvious what's going on if you change the above to:

FILES:${PN} += "${libdir}/polkit-1 ${nonarch_libdir}/polkit-1 ${datadir}"

> --
> 2.25.1

//Peter


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



[oe] [meta-networking][PATCH 2/2] lldpd: Correct the checksum for the tar ball to match 1.0.16

2022-11-28 Thread Peter Kjellerstedt
The checksum was not updated when the recipe version was stepped.

Also simplify the SRC_URI by replacing "${BPN}-${PV}" with "${BP}".

Signed-off-by: Peter Kjellerstedt 
---
 meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb 
b/meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb
index c7237d74b..799270510 100644
--- a/meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb
+++ b/meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb
@@ -6,13 +6,13 @@ LIC_FILES_CHKSUM = 
"file://${COREBASE}/meta/files/common-licenses/ISC;md5=f3b90e
 DEPENDS = "libbsd libevent"
 
 SRC_URI = "\
-http://media.luffy.cx/files/${BPN}/${BPN}-${PV}.tar.gz \
+http://media.luffy.cx/files/${BPN}/${BP}.tar.gz \
 file://lldpd.init.d \
 file://lldpd.default \
 file://run-ptest \
 "
 
-SRC_URI[sha256sum] = 
"f7fe3a130be98a19c491479ef60f36b8ee41a9e6bc4d7f2c41033f63956a3126"
+SRC_URI[sha256sum] = 
"e3b391650c7ba67cea2fe84d67fdb4d7fc8aa1ec5cf86eb8bb984711df8465a9"
 
 inherit autotools update-rc.d useradd systemd pkgconfig bash-completion 
github-releases ptest
 

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



[oe] [meta-networking][PATCH 1/2] Revert "lldpd: Use github release assets for SRC_URI"

2022-11-28 Thread Peter Kjellerstedt
This reverts commit e1549147181d96e84b73b7fc952cf33e43bb007c.

The change of SRC_URI was probably triggered by the checksum for the
tarball not having been updated when the recipe version was stepped.

Signed-off-by: Peter Kjellerstedt 
---
 meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb 
b/meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb
index 6638de1ba..c7237d74b 100644
--- a/meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb
+++ b/meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = 
"file://${COREBASE}/meta/files/common-licenses/ISC;md5=f3b90e
 DEPENDS = "libbsd libevent"
 
 SRC_URI = "\
-https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.gz \
+http://media.luffy.cx/files/${BPN}/${BPN}-${PV}.tar.gz \
 file://lldpd.init.d \
 file://lldpd.default \
 file://run-ptest \

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#99835): 
https://lists.openembedded.org/g/openembedded-devel/message/99835
Mute This Topic: https://lists.openembedded.org/mt/95328448/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] lldpd: upgrade 1.0.15 -> 1.0.16

2022-11-28 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of wangmy
> Sent: den 28 november 2022 07:10
> To: openembedded-devel@lists.openembedded.org
> Cc: Wang Mingyu 
> Subject: [oe] [meta-networking] [PATCH] lldpd: upgrade 1.0.15 -> 1.0.16
> 
> From: Wang Mingyu 
> 
> Fix:
> ==
> Do not use 00:00:00:00:00:00 as chassis ID.
> Do not busy loop when an interface with a neighbor disappears.
> 
> Signed-off-by: Wang Mingyu 
> ---
>  .../recipes-daemons/lldpd/{lldpd_1.0.15.bb => lldpd_1.0.16.bb}  | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta-networking/recipes-daemons/lldpd/{lldpd_1.0.15.bb => 
> lldpd_1.0.16.bb} (96%)
> 
> diff --git a/meta-networking/recipes-daemons/lldpd/lldpd_1.0.15.bb 
> b/meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb
> similarity index 96%
> rename from meta-networking/recipes-daemons/lldpd/lldpd_1.0.15.bb
> rename to meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb
> index c7237d74b..45425561f 100644
> --- a/meta-networking/recipes-daemons/lldpd/lldpd_1.0.15.bb
> +++ b/meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb
> @@ -12,7 +12,7 @@ SRC_URI = "\
>  file://run-ptest \
>  "
> 
> -SRC_URI[sha256sum] = 
> "f7fe3a130be98a19c491479ef60f36b8ee41a9e6bc4d7f2c41033f63956a3126"
> +SRC_URI[sha256sum] = 
> "e3b391650c7ba67cea2fe84d67fdb4d7fc8aa1ec5cf86eb8bb984711df8465a9"

This was for some reason integrated without the checksum update. 
However, a subsequent commit changed the SRC_URI (from media.luffy.cx 
to github.com), which caused a change to the checksum as I now get:

ERROR: lldpd-1.0.16-r0 do_fetch: Fetcher failure for URL: 
'https://github.com/lldpd/lldpd/releases/download/1.0.16/lldpd-1.0.16.tar.gz'. 
Checksum mismatch! File: '.../downloads/lldpd-1.0.16.tar.gz.tmp' has sha256 
checksum '7753c6e31e938923185f4e10c4ab328929729e22ee4a9687d08881fb82c092ee' 
when 'f7fe3a130be98a19c491479ef60f36b8ee41a9e6bc4d7f2c41033f63956a3126' was 
expected

I.e., the checksums for the 1.0.16 tarball on media.luffy.cx does not match 
the checksum of the same tar ball on github.com. And comparing the contents 
of the two identically named tarballs reveals that the one from 
media.luffy.cx has been generated with newer version of autoconf and 
automake.

I also wonder if the change of SRC_URI, which was triggered by the AB not 
being able to fetch the tarball, was really due to the checksum not having 
been updated when the recipe version was stepped.

Based on the above, my recommendation is to revert commit e154914718 (i.e., 
the SRC_URI update), and then update the checksum as per the originally 
supplied patch from Wang Mingyu:

SRC_URI[sha256sum] = 
"e3b391650c7ba67cea2fe84d67fdb4d7fc8aa1ec5cf86eb8bb984711df8465a9"

I will send two patches to do this.

> 
>  inherit autotools update-rc.d useradd systemd pkgconfig bash-completion 
> github-releases ptest
> 
> --
> 2.25.1

//Peter


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



[oe] [meta-networking][kirkstone][PATCH 1/2] chrony: Remove the readline PACKAGECONFIG

2022-11-12 Thread Peter Kjellerstedt
Support for readline was dropped in Chrony 4.2. Enabling the readline
PACKAGECONFIG would result in no suppport for command line editing as
only editline is supported and it would be disabled.

Signed-off-by: Peter Kjellerstedt 
---

This is similar to the corresponding patches for Langdale and master.
However, since the readline config in Kirkstone didn't break editline,
the commit message is different.

 .../recipes-support/chrony/chrony_4.2.bb| 13 -
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/meta-networking/recipes-support/chrony/chrony_4.2.bb 
b/meta-networking/recipes-support/chrony/chrony_4.2.bb
index 8ce9e1db5..dfa1ed86f 100644
--- a/meta-networking/recipes-support/chrony/chrony_4.2.bb
+++ b/meta-networking/recipes-support/chrony/chrony_4.2.bb
@@ -53,14 +53,6 @@ USERADD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 
'privdrop', '${PN}', '
 USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', 
'--system -d / -M --shell /bin/nologin chronyd;', '', d)}"
 
 # Configuration options:
-# - For command line editing support in chronyc, you may specify either
-#   'editline' or 'readline' but not both.  editline is smaller, but
-#   many systems already have readline for other purposes so you might want
-#   to choose that instead.  However, beware license incompatibility
-#   since chrony is GPLv2 and readline versions after 6.0 are GPLv3+.
-#   You can of course choose neither, but if you're that tight on space
-#   consider dropping chronyc entirely (you can use it remotely with
-#   appropriate chrony.conf options).
 # - Security-related:
 #   - 'sechash' is omitted by default because it pulls in nss which is huge.
 #   - 'privdrop' allows chronyd to run as non-root; would need changes to
@@ -70,7 +62,6 @@ USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 
'privdrop', '--sys
 PACKAGECONFIG ??= "editline \
 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
 "
-PACKAGECONFIG[readline] = "--without-editline,--without-readline,readline"
 PACKAGECONFIG[editline] = ",--without-editline,libedit"
 PACKAGECONFIG[sechash] = "--without-tomcrypt,--disable-sechash,nss"
 PACKAGECONFIG[privdrop] = "--with-libcap,--disable-privdrop 
--without-libcap,libcap"
@@ -79,6 +70,10 @@ PACKAGECONFIG[ipv6] = ",--disable-ipv6,"
 PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss"
 PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap"
 
+# This is left for backwards compatibility, to avoid breaking existing
+# configurations.
+PACKAGECONFIG[readline] = ""
+
 # --disable-static isn't supported by chrony's configure script.
 DISABLE_STATIC = ""
 

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



[oe] [meta-networking][kirkstone][PATCH 2/2] chrony: Remove the libcap and nss PACKAGECONFIGs

2022-11-12 Thread Peter Kjellerstedt
There is no need for these configs on their own and they would only mess
up the sechash and privdrop configs. To actually enable sechash one also
had to enable nss, and to enable privdrop one also had to enable libcap.

This also avoids passing --with-libcap if privdrop is enabled since the
option does not exist.

Signed-off-by: Peter Kjellerstedt 
---
 meta-networking/recipes-support/chrony/chrony_4.2.bb | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta-networking/recipes-support/chrony/chrony_4.2.bb 
b/meta-networking/recipes-support/chrony/chrony_4.2.bb
index dfa1ed86f..8d12cc75e 100644
--- a/meta-networking/recipes-support/chrony/chrony_4.2.bb
+++ b/meta-networking/recipes-support/chrony/chrony_4.2.bb
@@ -64,14 +64,14 @@ PACKAGECONFIG ??= "editline \
 "
 PACKAGECONFIG[editline] = ",--without-editline,libedit"
 PACKAGECONFIG[sechash] = "--without-tomcrypt,--disable-sechash,nss"
-PACKAGECONFIG[privdrop] = "--with-libcap,--disable-privdrop 
--without-libcap,libcap"
+PACKAGECONFIG[privdrop] = ",--disable-privdrop,libcap"
 PACKAGECONFIG[scfilter] = "--enable-scfilter,--without-seccomp,libseccomp"
 PACKAGECONFIG[ipv6] = ",--disable-ipv6,"
-PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss"
-PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap"
 
-# This is left for backwards compatibility, to avoid breaking existing
+# These are left for backwards compatibility, to avoid breaking existing
 # configurations.
+PACKAGECONFIG[libcap] = ""
+PACKAGECONFIG[nss] = ""
 PACKAGECONFIG[readline] = ""
 
 # --disable-static isn't supported by chrony's configure script.

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



[oe] [meta-networking][langdale][PATCH 2/2] chrony: Remove the libcap and nss PACKAGECONFIGs

2022-11-12 Thread Peter Kjellerstedt
There is no need for these configs on their own and they would only mess
up the sechash and privdrop configs. To actually enable sechash one also
had to enable nss, and to enable privdrop one also had to enable libcap.

This also avoids passing --with-libcap if privdrop is enabled since the
option does not exist.

Change-Id: I64a49741f61385e87ddbc83b9e87213a6fc7668e
Signed-off-by: Peter Kjellerstedt 
---
 meta-networking/recipes-support/chrony/chrony_4.3.bb | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta-networking/recipes-support/chrony/chrony_4.3.bb 
b/meta-networking/recipes-support/chrony/chrony_4.3.bb
index dad09f826..870c9d8d6 100644
--- a/meta-networking/recipes-support/chrony/chrony_4.3.bb
+++ b/meta-networking/recipes-support/chrony/chrony_4.3.bb
@@ -64,14 +64,14 @@ PACKAGECONFIG ??= "editline \
 "
 PACKAGECONFIG[editline] = ",--without-editline,libedit"
 PACKAGECONFIG[sechash] = "--without-tomcrypt,--disable-sechash,nss"
-PACKAGECONFIG[privdrop] = "--with-libcap,--disable-privdrop 
--without-libcap,libcap"
+PACKAGECONFIG[privdrop] = ",--disable-privdrop,libcap"
 PACKAGECONFIG[scfilter] = "--enable-scfilter,--without-seccomp,libseccomp"
 PACKAGECONFIG[ipv6] = ",--disable-ipv6,"
-PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss"
-PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap"
 
-# This is left for backwards compatibility, to avoid breaking existing
+# These are left for backwards compatibility, to avoid breaking existing
 # configurations.
+PACKAGECONFIG[libcap] = ""
+PACKAGECONFIG[nss] = ""
 PACKAGECONFIG[readline] = ""
 
 # --disable-static isn't supported by chrony's configure script.

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



[oe] [meta-networking][langdale][PATCH 1/2] chrony: Make it possible to enable editline support again

2022-11-12 Thread Peter Kjellerstedt
Support for readline was dropped in Chrony 4.2. However, the
--disable-readline option still remains (it is used to completely ignore
all forms of command line editing, even though the only remaining
variant is editline). So keeping the readline PACKAGECONFIG and making
it pass --disable-readline when it is not enabled disabled support for
editline, and if it was enabled it instead passed --without-editline,
which also disabled support for editline. Thus there was no way to
enable editline support.

Signed-off-by: Peter Kjellerstedt 
---
 .../recipes-support/chrony/chrony_4.3.bb| 13 -
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/meta-networking/recipes-support/chrony/chrony_4.3.bb 
b/meta-networking/recipes-support/chrony/chrony_4.3.bb
index d0e2c4b54..dad09f826 100644
--- a/meta-networking/recipes-support/chrony/chrony_4.3.bb
+++ b/meta-networking/recipes-support/chrony/chrony_4.3.bb
@@ -53,14 +53,6 @@ USERADD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 
'privdrop', '${PN}', '
 USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', 
'--system -d / -M --shell /bin/nologin chronyd;', '', d)}"
 
 # Configuration options:
-# - For command line editing support in chronyc, you may specify either
-#   'editline' or 'readline' but not both.  editline is smaller, but
-#   many systems already have readline for other purposes so you might want
-#   to choose that instead.  However, beware license incompatibility
-#   since chrony is GPLv2 and readline versions after 6.0 are GPLv3+.
-#   You can of course choose neither, but if you're that tight on space
-#   consider dropping chronyc entirely (you can use it remotely with
-#   appropriate chrony.conf options).
 # - Security-related:
 #   - 'sechash' is omitted by default because it pulls in nss which is huge.
 #   - 'privdrop' allows chronyd to run as non-root; would need changes to
@@ -70,7 +62,6 @@ USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 
'privdrop', '--sys
 PACKAGECONFIG ??= "editline \
 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
 "
-PACKAGECONFIG[readline] = "--without-editline,--disable-readline,readline"
 PACKAGECONFIG[editline] = ",--without-editline,libedit"
 PACKAGECONFIG[sechash] = "--without-tomcrypt,--disable-sechash,nss"
 PACKAGECONFIG[privdrop] = "--with-libcap,--disable-privdrop 
--without-libcap,libcap"
@@ -79,6 +70,10 @@ PACKAGECONFIG[ipv6] = ",--disable-ipv6,"
 PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss"
 PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap"
 
+# This is left for backwards compatibility, to avoid breaking existing
+# configurations.
+PACKAGECONFIG[readline] = ""
+
 # --disable-static isn't supported by chrony's configure script.
 DISABLE_STATIC = ""
 

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



[oe] [meta-networking][PATCH 1/2] chrony: Make it possible to enable editline support again

2022-11-12 Thread Peter Kjellerstedt
Support for readline was dropped in Chrony 4.2. However, the
--disable-readline option still remains (it is used to completely ignore
all forms of command line editing, even though the only remaining
variant is editline). So keeping the readline PACKAGECONFIG and making
it pass --disable-readline when it is not enabled disabled support for
editline, and if it was enabled it instead passed --without-editline,
which also disabled support for editline. Thus there was no way to
enable editline support.

Signed-off-by: Peter Kjellerstedt 
---
 meta-networking/recipes-support/chrony/chrony_4.3.bb | 9 -
 1 file changed, 9 deletions(-)

diff --git a/meta-networking/recipes-support/chrony/chrony_4.3.bb 
b/meta-networking/recipes-support/chrony/chrony_4.3.bb
index d0e2c4b54..b09a58b08 100644
--- a/meta-networking/recipes-support/chrony/chrony_4.3.bb
+++ b/meta-networking/recipes-support/chrony/chrony_4.3.bb
@@ -53,14 +53,6 @@ USERADD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 
'privdrop', '${PN}', '
 USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', 
'--system -d / -M --shell /bin/nologin chronyd;', '', d)}"
 
 # Configuration options:
-# - For command line editing support in chronyc, you may specify either
-#   'editline' or 'readline' but not both.  editline is smaller, but
-#   many systems already have readline for other purposes so you might want
-#   to choose that instead.  However, beware license incompatibility
-#   since chrony is GPLv2 and readline versions after 6.0 are GPLv3+.
-#   You can of course choose neither, but if you're that tight on space
-#   consider dropping chronyc entirely (you can use it remotely with
-#   appropriate chrony.conf options).
 # - Security-related:
 #   - 'sechash' is omitted by default because it pulls in nss which is huge.
 #   - 'privdrop' allows chronyd to run as non-root; would need changes to
@@ -70,7 +62,6 @@ USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 
'privdrop', '--sys
 PACKAGECONFIG ??= "editline \
 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
 "
-PACKAGECONFIG[readline] = "--without-editline,--disable-readline,readline"
 PACKAGECONFIG[editline] = ",--without-editline,libedit"
 PACKAGECONFIG[sechash] = "--without-tomcrypt,--disable-sechash,nss"
 PACKAGECONFIG[privdrop] = "--with-libcap,--disable-privdrop 
--without-libcap,libcap"

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



[oe] [meta-networking][PATCH 2/2] chrony: Remove the libcap and nss PACKAGECONFIGs

2022-11-12 Thread Peter Kjellerstedt
There is no need for these configs on their own and they would only mess
up the sechash and privdrop configs. To actually enable sechash one also
had to enable nss, and to enable privdrop one also had to enable libcap.

This also avoids passing --with-libcap if privdrop is enabled since the
option does not exist.

Signed-off-by: Peter Kjellerstedt 
---
 meta-networking/recipes-support/chrony/chrony_4.3.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta-networking/recipes-support/chrony/chrony_4.3.bb 
b/meta-networking/recipes-support/chrony/chrony_4.3.bb
index b09a58b08..420cc78ca 100644
--- a/meta-networking/recipes-support/chrony/chrony_4.3.bb
+++ b/meta-networking/recipes-support/chrony/chrony_4.3.bb
@@ -64,11 +64,9 @@ PACKAGECONFIG ??= "editline \
 "
 PACKAGECONFIG[editline] = ",--without-editline,libedit"
 PACKAGECONFIG[sechash] = "--without-tomcrypt,--disable-sechash,nss"
-PACKAGECONFIG[privdrop] = "--with-libcap,--disable-privdrop 
--without-libcap,libcap"
+PACKAGECONFIG[privdrop] = ",--disable-privdrop,libcap"
 PACKAGECONFIG[scfilter] = "--enable-scfilter,--without-seccomp,libseccomp"
 PACKAGECONFIG[ipv6] = ",--disable-ipv6,"
-PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss"
-PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap"
 
 # --disable-static isn't supported by chrony's configure script.
 DISABLE_STATIC = ""

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#99560): 
https://lists.openembedded.org/g/openembedded-devel/message/99560
Mute This Topic: https://lists.openembedded.org/mt/94978729/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] hwdata: add patch to use sysroot prefix for pkgdatadir

2022-11-10 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Markus Volk
> Sent: den 10 november 2022 08:25
> To: openembedded-devel@lists.openembedded.org
> Cc: Markus Volk 
> Subject: [oe] [meta-oe][PATCH] hwdata: add patch to use sysroot prefix for 
> pkgdatadir
> 
> This patch has been submitted upstream here:
> https://github.com/vcrhonek/hwdata/pull/19/commits/d3325fd72bd45ba74e709b4083521104193b224e
> 
> Signed-off-by: Markus Volk 
> ---
>  ...-sysroot-prefix-for-pkgdatadir-varia.patch | 31 +++
>  .../recipes-support/hwdata/hwdata_0.364.bb|  6 +++-
>  2 files changed, 36 insertions(+), 1 deletion(-)
>  create mode 100644 
> meta-oe/recipes-support/hwdata/hwdata/0001-hwdata.pc.in-use-sysroot-prefix-for-pkgdatadir-varia.patch
> 
> diff --git 
> a/meta-oe/recipes-support/hwdata/hwdata/0001-hwdata.pc.in-use-sysroot-prefix-for-pkgdatadir-varia.patch
>  
> b/meta-oe/recipes-support/hwdata/hwdata/0001-hwdata.pc.in-use-sysroot-prefix-for-pkgdatadir-varia.patch
> new file mode 100644
> index 0..2ee63bc32
> --- /dev/null
> +++ 
> b/meta-oe/recipes-support/hwdata/hwdata/0001-hwdata.pc.in-use-sysroot-prefix-for-pkgdatadir-varia.patch
> @@ -0,0 +1,31 @@
> +From f5311fb8519c6360333934537abeb64198e2c212 Mon Sep 17 00:00:00 2001
> +From: Markus Volk 
> +Date: Wed, 9 Nov 2022 18:37:41 +0100
> +Subject: [PATCH] hwdata.pc.in: use sysroot prefix for pkgdatadir variable
> +
> +The pc_sysroot is automatically added to cflags and libs but not
> +to 'pkg-config --variable'. This matches what wayland-protocols does.
> +
> +Signed-off-by: Markus Volk 
> +
> +Patch-Status: Submitted
> +https://github.com/vcrhonek/hwdata/pull/19/commits/d3325fd72bd45ba74e709b4083521104193b224e

That should be on one line, i.e.:

Patch-Status: Submitted 
[https://github.com/vcrhonek/hwdata/pull/19/commits/d3325fd72bd45ba74e709b4083521104193b224e]

Makes it a lot easier for tools like grep...

//Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#99548): 
https://lists.openembedded.org/g/openembedded-devel/message/99548
Mute This Topic: https://lists.openembedded.org/mt/94931594/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] ipmitool: add default iana enterprise numbers database

2022-10-24 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Xiangyu Chen
> Sent: den 24 oktober 2022 11:57
> To: openembedded-devel@lists.openembedded.org
> Subject: [oe] [meta-oe][PATCH] ipmitool: add default iana enterprise numbers 
> database
> 
> When using default configuration without add IANA_ENTERPRISE_NUMBERS and
> SRC_URI in a bbappend, the ipmitool would report an error as below:
> 
> "
> root@intel-x86-64:~# ipmitool -I open bmc getenables
> IANA PEN registry open failed: No such file or directory
> "
> 
> Add a default iana enterprise numbers database to avoid the error
> happen if using ipmitool default bb configuration.
> 
> Signed-off-by: Xiangyu Chen 
> ---
>  .../ipmitool/ipmitool/iana-enterprise-numbers | 237682 +++
>  .../ipmitool/ipmitool_1.8.19.bb   |  6 +-
>  2 files changed, 237686 insertions(+), 2 deletions(-)
>  create mode 100644 
> meta-oe/recipes-kernel/ipmitool/ipmitool/iana-enterprise-numbers
> 
> diff --git a/meta-oe/recipes-kernel/ipmitool/ipmitool/iana-enterprise-numbers 
> b/meta-oe/recipes-kernel/ipmitool/ipmitool/iana-enterprise-numbers
> new file mode 100644
> index 0..f8c328796
> --- /dev/null

[cut 237k+ lines... ]

For the benefit of all members of this list, do not send a 237k+ 
lines patch as a mail! The resulting mail was 20 MB. It took my 
Outlook client over two hours to create this response (where I 
then had to remove most of those 237k+ lines again)...

Instead push the change to some public repository. For 
OpenEmbedded you should be able to use the github repository and 
create a merge request that way (and let us hope that Khem does 
not have automatic tooling that sends all merge requests as 
patches to the mailing list...)

> +++ b/meta-oe/recipes-kernel/ipmitool/ipmitool/iana-enterprise-numbers
> diff --git a/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb 
> b/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb
> index 0a600e23b..e166ea213 100644
> --- a/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb
> +++ b/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb
> @@ -27,9 +27,11 @@ SRC_URI = 
> "git://github.com/ipmitool/ipmitool;protocol=https;branch=master \
> 
> file://0001-ipmi_fru.c-Provide-missing-function-declarations.patch \
> 
> file://0001-configure-Remove-the-logic-to-download-IANA-PEN-data.patch \
> "
> -IANA_ENTERPRISE_NUMBERS ?= ""
> 
> -# Add these via bbappend if this database is needed by the system
> +# Default IANA enterprise database version is 2022-10-24
> +IANA_ENTERPRISE_NUMBERS ?= "file://iana-enterprise-numbers"

If you compress the file with xz, the size is reduced to a third.   
Bitbake will then uncompress it automatically during do_unpack(). 

> +
> +# Add these via bbappend if the latest version database is needed by the 
> system
>  #IANA_ENTERPRISE_NUMBERS ?= 
> "http://www.iana.org/assignments/enterprise-numbers;name=iana-enterprise-numbers;downloadfilename=iana-enterprise-numbers";

Change "?=" to "=", or the suggestion to add it as a bbappend will 
not work.

>  #SRC_URI[iana-enterprise-numbers.sha256sum] = 
> "cdd97fc08325667434b805eb589104ae63f7a9eb720ecea73cb55110b383934c"
> 
> --
> 2.34.1

//Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#99298): 
https://lists.openembedded.org/g/openembedded-devel/message/99298
Mute This Topic: https://lists.openembedded.org/mt/94530972/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] libcamera: upgrade -> 0.0.1

2022-10-22 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Markus Volk
> Sent: den 22 oktober 2022 11:12
> To: openembedded-devel@lists.openembedded.org
> Cc: Markus Volk 
> Subject: [oe] [meta-multimedia][PATCH] libcamera: upgrade -> 0.0.1
> 
> libcamera has recently received its first release.
> Note: meta-raspberrypi needs to adjust the name of libcamera.bbappend
> 
> Signed-off-by: Markus Volk 
> ---
>  .../{libcamera.bb => libcamera_0.0.1.bb} | 16 
>  1 file changed, 8 insertions(+), 8 deletions(-)
>  rename meta-multimedia/recipes-multimedia/libcamera/{libcamera.bb => 
> libcamera_0.0.1.bb} (84%)
> 
> diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb 
> b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.0.1.bb
> similarity index 84%
> rename from meta-multimedia/recipes-multimedia/libcamera/libcamera.bb
> rename to meta-multimedia/recipes-multimedia/libcamera/libcamera_0.0.1.bb
> index 53cd94cbf..8329707b5 100644
> --- a/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb
> +++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.0.1.bb
> @@ -12,9 +12,9 @@ SRC_URI = " \
>  
> git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master \
>  "
> 
> -SRCREV = "ed591e705c451d0ce14988ae96829a31a2ae2f9a"
> +SRCREV = "a83aed77df1258e469c0eb42d9cb4f1938db53f2"
> 
> -PV = "202105+git${SRCPV}"
> +PV = "0.0.1"

Remove PV. There is no need to set it here as it is now set in the filename.
Instead, you should add:

PE = "1"

to avoid the following warning when upgrading from the current version:

WARNING: libcamera-0.0.1-r0 do_packagedata: QA Issue: Package version for 
package libcamera went backwards which would break package feeds (from 
0:202105+git0+ed591e705c-r0.2 to 0:0.0.1-r0.0) [version-going-backwards]

> 
>  S = "${WORKDIR}/git"
> 
> @@ -45,8 +45,8 @@ do_configure:prepend() {
>  }
> 
>  do_install:append() {
> -chrpath -d ${D}${libdir}/libcamera.so.0.0.0
> -chrpath -d ${D}${libdir}/libcamera-base.so.0.0.0
> +chrpath -d ${D}${libdir}/libcamera.so.0.0.1
> +chrpath -d ${D}${libdir}/libcamera-base.so.0.0.1

Change to:

chrpath -d ${D}${libdir}/libcamera.so
chrpath -d ${D}${libdir}/v4l2-compat.so

so that it does not have to be updated every new version.
I dropped chrpath for libcamera-base.so because it has no rpath, so 
no need to remove something that isn't there.

>  }
> 
>  addtask do_recalculate_ipa_signatures_package after do_package before 
> do_packagedata
> @@ -64,11 +64,11 @@ do_recalculate_ipa_signatures_package() {
> 
>  FILES:${PN}-dev = "${includedir} ${libdir}/pkgconfig"
>  FILES:${PN}-dev += " ${libdir}/libcamera.so"
> -FILES:${PN} += " ${libdir}/libcamera.so.0"
> -FILES:${PN} += " ${libdir}/libcamera.so.0.0.0"
> +FILES:${PN} += " ${libdir}/libcamera.so"
> +FILES:${PN} += " ${libdir}/libcamera.so.0.0.1"
>  FILES:${PN}-dev += " ${libdir}/libcamera-base.so"
> -FILES:${PN} += " ${libdir}/libcamera-base.so.0"
> -FILES:${PN} += " ${libdir}/libcamera-base.so.0.0.0"
> +FILES:${PN} += " ${libdir}/libcamera-base.so"
> +FILES:${PN} += " ${libdir}/libcamera-base.so.0.0.1"
>  FILES:${PN} += " ${libdir}/v4l2-compat.so"
>  FILES:${PN}-gst = "${libdir}/gstreamer-1.0/libgstlibcamera.so"
>  FILES:${PN} += " ${bindir}/cam"

Remove all the FILES variables above and replace them with:

FILES:${PN} += " ${libdir}/v4l2-compat.so"
FILES:${PN}-gst = "${libdir}/gstreamer-1.0"

> --
> 2.34.1

//Peter


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



[oe] [meta-oe][PATCH] v4l-utils: Support building without NLS

2022-10-14 Thread Peter Kjellerstedt
Signed-off-by: Peter Kjellerstedt 
---
 ...efile.am-Support-building-without-NL.patch | 45 +++
 .../v4l2apps/v4l-utils_1.23.0.bb  |  1 +
 2 files changed, 46 insertions(+)
 create mode 100644 
meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0005-configure.ac-Makefile.am-Support-building-without-NL.patch

diff --git 
a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0005-configure.ac-Makefile.am-Support-building-without-NL.patch
 
b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0005-configure.ac-Makefile.am-Support-building-without-NL.patch
new file mode 100644
index 0..0548e4fba
--- /dev/null
+++ 
b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0005-configure.ac-Makefile.am-Support-building-without-NL.patch
@@ -0,0 +1,45 @@
+From 4fe9f6071cd24bcab157a9398adcca474f619f8d Mon Sep 17 00:00:00 2001
+From: Peter Kjellerstedt 
+Date: Sat, 15 Oct 2022 02:45:26 +0200
+Subject: [PATCH] configure.ac, Makefile.am: Support building without NLS
+
+Avoid entering the v4l-utils-po and libdvbv5-po directories if NLS
+support is disabled, as the generated Makefiles in those directories are
+empty then.
+
+Upstream-Status: Submitted 
[https://patchwork.linuxtv.org/project/linux-media/patch/20221015010541.688322-1-...@axis.com/]
+Signed-off-by: Peter Kjellerstedt 
+---
+ Makefile.am  | 6 +-
+ configure.ac | 1 +
+ 2 files changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 7fb443ab..8e924af8 100644
+--- a/Makefile.am
 b/Makefile.am
+@@ -2,7 +2,11 @@ AUTOMAKE_OPTIONS = foreign
+ ACLOCAL_AMFLAGS = -I m4
+ AM_MAKEFLAGS = $(word 1, $(subst 1, -w, $(filter 1, $(V))) 
--no-print-directory)
+ 
+-SUBDIRS = v4l-utils-po libdvbv5-po lib
++SUBDIRS = lib
++
++if USE_NLS
++SUBDIRS += v4l-utils-po libdvbv5-po
++endif
+ 
+ if WITH_V4LUTILS
+ SUBDIRS += utils contrib
+diff --git a/configure.ac b/configure.ac
+index 05298981..7c78467f 100644
+--- a/configure.ac
 b/configure.ac
+@@ -99,6 +99,7 @@ DX_INIT_DOXYGEN($PACKAGE_NAME, doxygen_libdvbv5.cfg)
+ ALL_LINGUAS=""
+ 
m4_ifdef(AM_GNU_GETTEXT_REQUIRE_VERSION,[AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8])],[AM_GNU_GETTEXT_VERSION([0.19.8])])
+ AM_GNU_GETTEXT([external])
++AM_CONDITIONAL([USE_NLS], [test "$USE_NLS" = "yes"])
+ 
+ LIBDVBV5_DOMAIN="libdvbv5"
+ AC_DEFINE([LIBDVBV5_DOMAIN], "libdvbv5", [libdvbv5 domain])
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb 
b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb
index 2f5ae3586..5bc63058f 100644
--- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb
+++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb
@@ -27,6 +27,7 @@ SRC_URI = "\
 file://0002-original-patch-mediactl-pkgconfig.patch \
 file://0003-original-patch-export-mediactl-headers.patch \
 file://0004-Do-not-use-getsubopt.patch \
+file://0005-configure.ac-Makefile.am-Support-building-without-NL.patch \
 "
 
 SRCREV = "fd544473800d02e90bc289434cc44e5aa8fadd0f"

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#99175): 
https://lists.openembedded.org/g/openembedded-devel/message/99175
Mute This Topic: https://lists.openembedded.org/mt/94340087/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][PATCHv7] pipewire: update to v0.3.56

2022-08-22 Thread Peter Kjellerstedt
I still don't understand how you intend for a "gstreamer" distro feature to 
work. You use it in the pipewire recipe to decide whether to use the 
"gstreamer" or "ffmpeg" PACKAGECONFIG by default. However, that seems very 
specific to pipewire. We use both GStreamer and FFmpeg in our products, so 
using a distro feature to distinguish between them is not something universal.

//Peter

From: Markus Volk 
Sent: den 21 augusti 2022 16:01
To: Peter Kjellerstedt 
Cc: openembedded-devel@lists.openembedded.org
Subject: RE: [oe] [meta-multimedia][PATCHv7] pipewire: update to v0.3.56


i tried to follow your suggestions,
Thanks

Am So, 21. Aug 2022 um 12:49:24 + schrieb Peter Kjellerstedt 
mailto:peter.kjellerst...@axis.com>>:

AFAIK, there are no current examples of "gstreamer" being used a distro 
feature. What is it supposed to mean? When is it supposed to be used? Why is it 
needed?


I found an example of this, but I must confess that this was in an old 
third-party layer. What I want this DISTRO_FEATURE for is the ability to use it 
to enable/disable gstreamer support in recipes. Not just here in pipewire. The 
same goes for Jack. Is this already used as a DISTRO_FEATURE? If so, maybe we 
could use it to make the Jack server depend on it instead of always building it 
as it currently does?

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#98361): 
https://lists.openembedded.org/g/openembedded-devel/message/98361
Mute This Topic: https://lists.openembedded.org/mt/93149934/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] pipewire: install as configured

2022-08-22 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Markus Volk
> Sent: den 21 augusti 2022 12:13
> To: openembedded-devel@lists.openembedded.org
> Cc: Markus Volk 
> Subject: [oe] [meta-multimedia][PATCH] pipewire: install as configured
> 
> This is to make sure that all configured parts of pipewire are installed on 
> the target.
> For the systemd case, it would then just be a matter of starting the pipewire 
> user services,
> to get it running.
> 
> Signed-off-by: Markus Volk 
> ---
>  .../pipewire/pipewire-media-session_0.4.1.bb  |  1 +
>  .../recipes-multimedia/pipewire/pipewire_0.3.56.bb| 11 +++
>  2 files changed, 12 insertions(+)
> 
> diff --git 
> a/meta-multimedia/recipes-multimedia/pipewire/pipewire-media-session_0.4.1.bb 
> b/meta-multimedia/recipes-multimedia/pipewire/pipewire-media-session_0.4.1.bb
> index 5dd1eb160..2facf8529 100644
> --- 
> a/meta-multimedia/recipes-multimedia/pipewire/pipewire-media-session_0.4.1.bb
> +++ 
> b/meta-multimedia/recipes-multimedia/pipewire/pipewire-media-session_0.4.1.bb
> @@ -11,6 +11,7 @@ DEPENDS = " \
>  "
> 
>  RRECOMMENDS:${PN} += "pipewire"
> +RPROVIDES:${PN} = "media-session"

Why is this needed?

> 
>  SRC_URI = 
> "git://gitlab.freedesktop.org/pipewire/media-session.git;protocol=https;branch=master"
> 
> diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.56.bb 
> b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.56.bb
> index eb8c9d01a..4dca6cc97 100644
> --- a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.56.bb
> +++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.56.bb
> @@ -319,6 +319,17 @@ FILES:${PN}-jack = "\
>  ${libdir}/${PW_MODULE_SUBDIR}/jack/libjack*.so.* \
>  "
> 
> +RRECOMMENDS:${PN}:class-target = " \
> + pipewire-alsa-card-profile \
> + pipewire-modules-meta \
> + pipewire-spa-plugins-meta \
> + ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'pipewire-alsa', '', 
> d)} \
> + ${@bb.utils.contains('DISTRO_FEATURES', 'gstreamer', 
> 'gstreamer1.0-pipewire', '', d)} \
> + ${@bb.utils.contains('DISTRO_FEATURES', 'jack', 'pipewire-jack', '', 
> d)} \
> + ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pipewire-pulse', 
> '', d)} \

The fifth argument to PACKAGECONFIG is for recommendations. That is where these 
conditional dependencies belong.

> + ${PIPEWIRE_SESSION_MANAGER} \
> +"
> +
>  # Dynamic SPA plugin packages (see set_dynamic_metapkg_rdepends).
>  FILES:${PN}-spa-plugins = ""
>  RRECOMMENDS:${PN}-spa-plugins += "${PN}-spa-plugins-meta"
> --
> 2.34.1

//Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#98360): 
https://lists.openembedded.org/g/openembedded-devel/message/98360
Mute This Topic: https://lists.openembedded.org/mt/93159157/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][PATCHv7] pipewire: update to v0.3.56

2022-08-21 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-devel@lists.openembedded.org 
>  On Behalf Of Markus Volk
> Sent: den 20 augusti 2022 21:12
> To: openembedded-devel@lists.openembedded.org
> Cc: Markus Volk 
> Subject: [oe] [meta-multimedia][PATCHv7] pipewire: update to v0.3.56
> 
> Add the configuration to make pipewire work as a drop-in replacement for
> pulseaudio-server.
> 
> Add pipewire-media-session as a standalone recipe, since pipewire would fetch 
> the code as a
> subproject at do_configure.
> 
> Signed-off-by: Markus Volk 
> ---
>  .../pipewire/pipewire-media-session_0.4.1.bb  | 22 +
>  ...01-avb-fix-compilation-on-big-endian.patch | 27 +++
>  .../0001-spa-fix-c90-header-include.patch | 47 ---
>  ...{pipewire_0.3.50.bb => pipewire_0.3.56.bb} | 43 -
>  4 files changed, 81 insertions(+), 58 deletions(-)
>  create mode 100644 
> meta-multimedia/recipes-multimedia/pipewire/pipewire-media-session_0.4.1.bb
>  create mode 100644 
> meta-multimedia/recipes-multimedia/pipewire/pipewire/0001-avb-fix-compilation-on-big-endian.patch
>  delete mode 100644 
> meta-multimedia/recipes-multimedia/pipewire/pipewire/0001-spa-fix-c90-header-include.patch
>  rename meta-multimedia/recipes-multimedia/pipewire/{pipewire_0.3.50.bb => 
> pipewire_0.3.56.bb} (87%)
> 
> diff --git 
> a/meta-multimedia/recipes-multimedia/pipewire/pipewire-media-session_0.4.1.bb 
> b/meta-multimedia/recipes-multimedia/pipewire/pipewire-media-session_0.4.1.bb
> new file mode 100644
> index 0..5dd1eb160
> --- /dev/null
> +++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire-media-
> session_0.4.1.bb
> @@ -0,0 +1,22 @@
> +SUMMARY = "PipeWire Media Session is an example session manager for PipeWire"
> +HOMEPAGE = "https://gitlab.freedesktop.org/pipewire/media-session";
> +LICENSE = "MIT"
> +
> +LIC_FILES_CHKSUM = "file://COPYING;md5=97be96ca4fab23e9657ffa590b931c1a"
> +
> +DEPENDS = " \
> + pipewire \
> + alsa-lib \
> + dbus \
> +"
> +
> +RRECOMMENDS:${PN} += "pipewire"

Runtime dependencies typically go at the end of the recipe.

> +
> +SRC_URI = 
> "git://gitlab.freedesktop.org/pipewire/media-session.git;protocol=https;branch=master"
> +
> +S = "${WORKDIR}/git"
> +SRCREV = "e5d5cf2404786af8bcc40bdb8a2962bef4ec18b6"
> +
> +inherit meson pkgconfig
> +
> +FILES:${PN} += "${libdir} ${datadir}"

These are very broad. It helps to be a bit more specific.

[cut]

> diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.50.bb 
> b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.56.bb
> similarity index 87%
> rename from meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.50.bb
> rename to meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.56.bb
> index c176c6eeb..421c18fa0 100644
> --- a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.50.bb
> +++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.56.bb
> @@ -6,6 +6,7 @@ AUTHOR  = "Wim Taymans "
>  SECTION = "multimedia"
> 
>  LICENSE = "MIT & LGPL-2.1-or-later & GPL-2.0-only"
> +LICENSE_FLAGS = "commercial"

AFAIU, this only applies if ffmpeg is used, so rather than doing this, 
you should check if "commercial" is in LICENSE_FLAGS_ACCEPTED before 
automatically adding ffmpeg to PACKAGECONFIGS, similar to what you do 
with BLUETOOTH_AAC below.

>  LIC_FILES_CHKSUM = " \
>  file://LICENSE;md5=2158739e172e58dc9ab1bdd2d6ec9c72 \
>  file://COPYING;md5=97be96ca4fab23e9657ffa590b931c1a \
> @@ -13,10 +14,10 @@ LIC_FILES_CHKSUM = " \
> 
>  DEPENDS = "dbus ncurses"
> 
> -SRCREV = "64cf5e80e6240284e6b757907b900507fe56f1b5"
> +SRCREV = "f274e53d25ee8f483ac6fce9e516bb1830abe88b"
>  SRC_URI = " \
> 
>   
> git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=master;protocol=https
>  \
> - file://0001-spa-fix-c90-header-include.patch \
> + file://0001-avb-fix-compilation-on-big-endian.patch \
>  "
> 
>  S = "${WORKDIR}/git"
> @@ -62,7 +63,6 @@ EXTRA_OEMESON += " \
>  -Dudevrulesdir=${nonarch_base_libdir}/udev/rules.d/ \
>  -Dsystemd-system-unit-dir=${systemd_system_unitdir} \
>  -Dsystemd-user-unit-dir=${systemd_user_unitdir} \
> --Dvulkan=disabled \
>  -Dman=disabled \
>  -Dsession-managers='[]' \
>  -Dlv2=disabled \
> @@ -72,12 +72,26 @@ EXTRA_OEMESON += " \
>  -Dlegacy-rtkit=false \
>  "
> 
> -PACKAGECONFIG:class-target ??= "\
> +# spa alsa plugin code uses typedef redefinition, which is officially a C11 
> feature.
> +# Pipewire builds with 'c_std=gnu99' by default. Recent versions of gcc 
> don't issue this warning in gnu99
> +# mode but it looks like clang still does
> +CFLAGS:append = " -Wno-typedef-redefinition"
> +
> +# According to wireplumber documentation only one session manager should be 
> installed at a time
> +# Possible options are media-session, which has fewer dependencies but is 
> very simple,
> +# or wireplumber, which is more powerful.
> +PIPEWIRE_SESSION_MANAGER ??= "media-session"
> +
> +BLUETOOTH_

[oe] [meta-oe][kirkstone][PATCH 2/2] cryptsetup: Add support for building without SSH tokens

2022-08-09 Thread Peter Kjellerstedt
Cryptsetup SSH tokens is the only feature that has a dependency on
libssh. Add a packageconfig to control this dependency.

Signed-off-by: Peter Kjellerstedt 
---
 meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.4.3.bb | 11 ++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.4.3.bb 
b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.4.3.bb
index 8f9f663a3..4f8bbf035 100644
--- a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.4.3.bb
+++ b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.4.3.bb
@@ -14,7 +14,6 @@ DEPENDS = " \
 libdevmapper \
 popt \
 util-linux-libuuid \
-libssh \
 "
 
 DEPENDS:append:libc-musl = " argp-standalone"
@@ -39,6 +38,7 @@ PACKAGECONFIG ??= " \
 blkid \
 luks-adjust-xts-keysize \
 openssl \
+ssh-token \
 "
 PACKAGECONFIG:append:class-target = " \
 udev \
@@ -69,6 +69,7 @@ PACKAGECONFIG[nss] = "--with-crypto_backend=nss,,nss"
 PACKAGECONFIG[kernel] = "--with-crypto_backend=kernel"
 PACKAGECONFIG[nettle] = "--with-crypto_backend=nettle,,nettle"
 PACKAGECONFIG[luks2] = 
"--with-default-luks-format=LUKS2,--with-default-luks-format=LUKS1"
+PACKAGECONFIG[ssh-token] = "--enable-ssh-token,--disable-ssh-token,libssh"
 
 EXTRA_OECONF = "--enable-static"
 # Building without largefile is not supported by upstream
@@ -78,6 +79,14 @@ EXTRA_OECONF += "--disable-static-cryptsetup"
 # There's no recipe for libargon2 yet
 EXTRA_OECONF += "--disable-libargon2"
 
+do_install:append() {
+# The /usr/lib/cryptsetup directory is always created, even when ssh-token
+# is disabled. In that case it is empty and causes a packaging error. Since
+# there is no reason to distribute the empty directory, the easiest 
solution
+# is to remove it if it is empty.
+rmdir -p --ignore-fail-on-non-empty ${D}${libdir}/${BPN}
+}
+
 FILES:${PN} += 
"${@bb.utils.contains('DISTRO_FEATURES','systemd','${exec_prefix}/lib/tmpfiles.d/cryptsetup.conf',
 '', d)}"
 
 RDEPENDS:${PN} = " \

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#98181): 
https://lists.openembedded.org/g/openembedded-devel/message/98181
Mute This Topic: https://lists.openembedded.org/mt/92915713/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   >