[oe] [meta-oe][PATCH] libcbor: use shared libraries

2024-04-17 Thread Dan McGregor
libfido2 requires cbor be position independent. When PIE's the default
this isn't a problem, but not all build configurations do that. Instead
of relying on that, just make shared libraries.

Signed-off-by: Dan McGregor 
---
 meta-oe/recipes-extended/libcbor/libcbor_0.11.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/libcbor/libcbor_0.11.0.bb 
b/meta-oe/recipes-extended/libcbor/libcbor_0.11.0.bb
index 28bd5b5ae2f..0e15393dd59 100755
--- a/meta-oe/recipes-extended/libcbor/libcbor_0.11.0.bb
+++ b/meta-oe/recipes-extended/libcbor/libcbor_0.11.0.bb
@@ -11,4 +11,4 @@ S = "${WORKDIR}/git"
 
 inherit cmake
 
-EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release"
+EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS:BOOL=ON"
-- 
2.43.0


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



[oe] [infra] layers.openembedded.org: 8 minute outage

2024-04-17 Thread Michael Halstead
We had an 8 minute outage of the Layer Index today when its IP address
changed unexpectedly during resource autoscaling. The server is now better
sized for performance and is operating normally.

Down: Wed Apr 17 16:49 UTC
Restored: Wed Apr 17 16:57 UTC

-- 
Michael Halstead
Linux Foundation / Yocto Project
Systems Operations Engineer

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



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

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

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

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

This is the default, remove.

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

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

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

Use inherit_defer to solve this problem.

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



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

2024-04-17 Thread Perceval
From: Perceval Arenou 

---
 .../aravis/aravis_0.8.31.bb   | 45 +++
 1 file changed, 45 insertions(+)
 create mode 100644 meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb

diff --git a/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb 
b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
new file mode 100644
index 0..f2bbad674
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
@@ -0,0 +1,45 @@
+SUMMARY = "A vision library for genicam based cameras"
+DESCRIPTION = "\
+Aravis is a glib/gobject based library for video acquisition using Genicam 
cameras.\
+It currently implements the gigabit ethernet and USB3 protocols used by 
industrial cameras.\
+It also provides a basic ethernet camera simulator and a simple video 
viewer.\
+"
+AUTHOR = "Emmanuel Pacaud"
+HOMEPAGE = "https://github.com/AravisProject/aravis;
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS += "\
+glib-2.0 \
+glib-2.0-native \
+intltool-native \
+libxml2 \
+zlib \
+"
+
+SRC_URI = 
"https://github.com/AravisProject/aravis/releases/download/${PV}/${BPN}-${PV}.tar.xz;
+SRC_URI[sha256sum] = 
"9c4ebe6273ed3abe466cb6ed8fa5c132bdd7e9a9298ca43fa0212c4311a084da"
+
+S = "${WORKDIR}/${BPN}-${PV}"
+
+# These options are found in AravisProject/aravis meson_options.txt
+EXTRA_OEMESON += "\
+-Ddocumentation=disabled \
+-Dfast-heartbeat=false \
+-Dpacket-socket=enabled \
+-Dtests=false \
+"
+
+PACKAGECONFIG ?= ""
+PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled, -Dgst-plugin=disabled, 
gstreamer1.0 gstreamer1.0-plugins-base,"
+PACKAGECONFIG[introspection] = "-Dintrospection=enabled, 
-Dintrospection=disabled, gobject-introspection,"
+PACKAGECONFIG[usb] = "-Dusb=enabled, -Dusb=disabled, libusb1,"
+PACKAGECONFIG[viewer] = "-Dviewer=enabled, -Dviewer=disabled, gtk+3 
gstreamer1.0-plugins-base,"
+
+# needs to be after PACKAGECONFIG to make sure it is defined
+inherit meson pkgconfig ${@bb.utils.contains('PACKAGECONFIG', 'introspection', 
'gobject-introspection', '', d)}
+
+FILES:${PN} += "\
+${datadir} \
+${libdir}/gstreamer-1.0/libgstaravis.0.8.so \
+"
-- 
2.43.0



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



Re: [oe] [meta-python2][PATCH] layer.conf: update LAYERSERIES_COMPAT for scarthgap

2024-04-17 Thread Tim Orling
On Wed, Apr 17, 2024 at 2:00 AM Alexander Kanavin via lists.openembedded.org
 wrote:

> On Tue, 16 Apr 2024 at 17:03, Martin Jansa  wrote:
> > As there is strong opinion against declaring scarthgap compatibility
> > in official meta-python2 from Timo, Alex and Jose, I don't plan to
> > merge Marek's change (nor my version with additional fixes for
> > Upstream-Status etc).
>
> There's more to it. It's a protest against people focusing on obsolete
> retro computing stuff because of their poor product planning, while
> offering no help to keep things current. It took me two months to
> update python to 3.12 while ensuring nothing breaks in core or
> meta-oe. Something you Marek perhaps don't need right now, but will
> certainly need in the future. Did you help?
>

To echo what Alex is saying here (I have spent months of my life,
uncompensated for the effort, to bring the pyproject.toml and
other new PEP-517 build backend classes into oe-core, with a lot of very
hard effort from RP and Ross).

In addition, with my OpenEmbedded Board member hat on and my OpenEmbedded
TSC member hat on, I take this
stance:

We as an organization in no way whatsoever want anyone to think it is ok to
continue to use python2. You have had well over a
decade of warning and foreshadowing. The licensing probably means we do not
have any actual legal liability exposure, but in
our modern litigious society, this is no guarantee. You have had two years
of kirkstone support and still have two more years before
kirkstone is EOL. This is the end of the line. This is where this stops.
Plan your way out of this situation and move on.

Tim

We cannot control what users and companies want to bring into their own
layers. They are welcome to at their

>
> Alex
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110042): 
https://lists.openembedded.org/g/openembedded-devel/message/110042
Mute This Topic: https://lists.openembedded.org/mt/105535514/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-python2][PATCH] layer.conf: update LAYERSERIES_COMPAT for scarthgap

2024-04-17 Thread Alexander Kanavin
On Tue, 16 Apr 2024 at 17:03, Martin Jansa  wrote:
> As there is strong opinion against declaring scarthgap compatibility
> in official meta-python2 from Timo, Alex and Jose, I don't plan to
> merge Marek's change (nor my version with additional fixes for
> Upstream-Status etc).

There's more to it. It's a protest against people focusing on obsolete
retro computing stuff because of their poor product planning, while
offering no help to keep things current. It took me two months to
update python to 3.12 while ensuring nothing breaks in core or
meta-oe. Something you Marek perhaps don't need right now, but will
certainly need in the future. Did you help?

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110039): 
https://lists.openembedded.org/g/openembedded-devel/message/110039
Mute This Topic: https://lists.openembedded.org/mt/105535514/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][master][scarthgap][PATCH] jemalloc: add +git to version

2024-04-17 Thread Peter Marko via lists.openembedded.org
From: Peter Marko 

jemalloc was switched from tag to development branch
171 commits ahead.
Adapt PV accordingly.

Signed-off-by: Peter Marko 
---
 meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb 
b/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb
index 7e0272f89..dca8de461 100644
--- a/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb
+++ b/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb
@@ -17,6 +17,7 @@ SRC_URI = 
"git://github.com/jemalloc/jemalloc.git;branch=dev;protocol=https \
file://run-ptest \
"
 SRCREV = "630434bb0ac619f7beec927569782d924c459385"
+PV .= "+git"
 
 S = "${WORKDIR}/git"
 
-- 
2.30.2


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



Re: [oe] [meta-python] obsolete distutils3-base.bbclass error

2024-04-17 Thread Martin Jansa
See https://github.com/openembedded/meta-openembedded/pull/811

On Wed, Apr 17, 2024 at 12:13 AM Mark Hatle via lists.openembedded.org
 wrote:
>
> In scarthgap/master, I still have a couple of recipes that haven't been moved 
> to
> using the proper setuptools3-base class yet.  However, including 
> distutils3-base
> fails.
>
> The code meta-python/classes/distutils3-base.bbclass is missing the close "}".
>
> --Mark
>
> 
>

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