Skip to contentSkip to conversation

aravis: new recipe aravis is a vision library for genicam based cameras. aravis project allows to stream from genicam and GigE cameras

PATCH Perceval Arenou 4 participants 8 messages Apr 19, 2024 – Apr 26, 2024 3 messages not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

From: Perceval Arenou <[email protected]>

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

aravis_0.8.31.bb

(quoted diff) +0 -0

b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file mode 100644
index 000000000..2cfe3fdfa

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +3 -0
@@ -0,0 +1,41 @@
+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 \
+    libxml2 \
+    zlib \

+"
+
+SRC_URI = "
https://github.com/AravisProject/aravis/releases/download/${PV}/${BPN}-${PV}.tar.xz
"
+SRC_URI[sha256sum] = "9c4ebe6273ed3abe466cb6ed8fa5c132bdd7e9a9298ca43fa0212c4311a084da" +
+# These options are found in AravisProject/aravis meson_options.txt +EXTRA_OEMESON += "\

+    -Ddocumentation=disabled \
+    -Dfast-heartbeat=false \
+    -Dpacket-socket=enabled \
+    -Dtests=false \

+"
+
+inherit_defer meson pkgconfig ${@bb.utils.contains('PACKAGECONFIG', 'introspection', 'gobject-introspection', '', d)}
+
+PACKAGECONFIG ?= "gstreamer usb viewer" +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,"
+
+FILES:${PN} += "\
+ ${datadir} \
+ ${libdir}/gstreamer-1.0/libgstaravis.0.8.so \
+"

Signature · 1 line
2.43.0
#2 lore raw
Quoted 1 line · Perceval via lists.openembedded.org

+# These options are found in AravisProject/aravis meson_options.txt

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

Review

Quoted 2 lines
(quoted diff) +2 -0
+EXTRA_OEMESON += "\
+    -Ddocumentation=disabled \

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

Quoted 1 line

+ -Dfast-heartbeat=false \

Default value, remove.

Quoted 1 line

+ -Dpacket-socket=enabled \

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

Quoted 1 line

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

Only defer gobject-introspection, not the others.

Quoted 1 line

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

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

Ross

#3 lore raw

From: Perceval Arenou <[email protected]>

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

aravis_0.8.31.bb

(quoted diff) +0 -0

b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file mode 100644
index 000000000..52e276c7b

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +3 -0
@@ -0,0 +1,40 @@
+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 \
+    libxml2 \
+    zlib \

+"
+
+SRC_URI = "
https://github.com/AravisProject/aravis/releases/download/${PV}/${BPN}-${PV}.tar.xz
"
+SRC_URI[sha256sum] = "9c4ebe6273ed3abe466cb6ed8fa5c132bdd7e9a9298ca43fa0212c4311a084da" +
+EXTRA_OEMESON += "-Dtests=false"
+
+GIR_MESON_ENABLE_FLAG = 'enabled'
+GIR_MESON_DISABLE_FLAG = 'disabled'
+GIDOCGEN_MESON_OPTION = "documentation" +GIDOCGEN_MESON_ENABLE_FLAG = "enabled" +GIDOCGEN_MESON_DISABLE_FLAG = "disabled"
+
+inherit meson pkgconfig gi-docgen gobject-introspection
+
+PACKAGECONFIG ?= "gstreamer usb viewer" +PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled, -Dgst-plugin=disabled, gstreamer1.0 gstreamer1.0-plugins-base,"
+PACKAGECONFIG[usb] = "-Dusb=enabled, -Dusb=disabled, libusb1," +PACKAGECONFIG[viewer] = "-Dviewer=enabled, -Dviewer=disabled, gtk+3 gstreamer1.0-plugins-base,"
+
+FILES:${PN} += "\
+ ${datadir} \
+ ${libdir}/gstreamer-1.0/libgstaravis.0.8.so \
+"

Signature · 1 line
2.43.0
Quoted 32 lines · Ross Burton
Quoted 1 line · Perceval via lists.openembedded.org

+# These options are found in AravisProject/aravis meson_options.txt

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

Review

Quoted 2 lines
(quoted diff) +2 -0
+EXTRA_OEMESON += "\
+    -Ddocumentation=disabled \

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

Quoted 1 line

+ -Dfast-heartbeat=false \

Default value, remove.

Quoted 1 line

+ -Dpacket-socket=enabled \

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

Quoted 1 line

+inherit_defer meson pkgconfig ${@bb.utils.contains('PACKAGECONFIG',

'introspection', 'gobject-introspection', '', d)}

Only defer gobject-introspection, not the others.

Quoted 1 line

+PACKAGECONFIG[introspection] = "-Dintrospection=enabled,

-Dintrospection=disabled, gobject-introspection,”

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

Ross

Signature · 3 lines
*Perceval ARENOU*
Embedded Operating System Engineer
*PTxTrimble* formerly Bilberry
#4 lore raw

This is now triggering:
ERROR: QA Issue: Recipe LICENSE includes obsolete licenses LGPL-2.1 [obsolete-license]

Looks like it should be LGPL-2.1-only, please send follow-up fix.

Quoted 108 lines · Perceval via lists.openembedded.org

From: Perceval Arenou <[email protected]>

---
 .../aravis/aravis_0.8.31.bb                   | 40 +++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +40 -1
new file mode 100644
index 000000000..52e276c7b
@@ -0,0 +1,40 @@
+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 \
+    libxml2 \
+    zlib \
+"
+
+SRC_URI = "https://github.com/AravisProject/aravis/releases/download/${PV}/${BPN}-${PV}.tar.xz"
+SRC_URI[sha256sum] = "9c4ebe6273ed3abe466cb6ed8fa5c132bdd7e9a9298ca43fa0212c4311a084da"
+
+EXTRA_OEMESON += "-Dtests=false"
+
+GIR_MESON_ENABLE_FLAG = 'enabled'
+GIR_MESON_DISABLE_FLAG = 'disabled'
+GIDOCGEN_MESON_OPTION = "documentation"
+GIDOCGEN_MESON_ENABLE_FLAG = "enabled"
+GIDOCGEN_MESON_DISABLE_FLAG = "disabled"
+
+inherit meson pkgconfig gi-docgen gobject-introspection
+
+PACKAGECONFIG ?= "gstreamer usb viewer"
+PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled, -Dgst-plugin=disabled, gstreamer1.0 gstreamer1.0-plugins-base,"
+PACKAGECONFIG[usb] = "-Dusb=enabled, -Dusb=disabled, libusb1,"
+PACKAGECONFIG[viewer] = "-Dviewer=enabled, -Dviewer=disabled, gtk+3 gstreamer1.0-plugins-base,"
+
+FILES:${PN} += "\
+    ${datadir} \
+    ${libdir}/gstreamer-1.0/libgstaravis.0.8.so \
+"
--

2.43.0

Quoted 21 lines · Ross Burton
Quoted 1 line · Perceval via lists.openembedded.org

+# These options are found in AravisProject/aravis meson_options.txt

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

Review

Quoted 2 lines
(quoted diff) +2 -0
+EXTRA_OEMESON += "\
+    -Ddocumentation=disabled \

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

Quoted 1 line

+ -Dfast-heartbeat=false \

Default value, remove.

Quoted 1 line

+ -Dpacket-socket=enabled \

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

Quoted 1 line

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

Quoted 7 lines

Only defer gobject-introspection, not the others.

Quoted 1 line

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

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

Ross

--
Perceval ARENOU
Embedded Operating System Engineer
PTxTrimble formerly Bilberry

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110064): https://lists.openembedded.org/g/openembedded-devel/message/110064
Mute This Topic: https://lists.openembedded.org/mt/105577746/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#6 lore raw
In reply to a message not in the archive

There is also:

ERROR: Nothing PROVIDES 'gtk+3' (but meta-oe/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb DEPENDS on or otherwise requires it)
gtk+3 was skipped: one of 'wayland x11' needs to be in DISTRO_FEATURES

so this recipe should have REQUIRED_DISTRO_FEATURES matching gtk+3 or enable viewer PACKAGECONFIG only when wayland or x11 is in DISTRO_FEATURES.

Quoted 120 lines · Martin Jansa via lists.openembedded.org

This is now triggering:
ERROR: QA Issue: Recipe LICENSE includes obsolete licenses LGPL-2.1 [obsolete-license]

Looks like it should be LGPL-2.1-only, please send follow-up fix.

Quoted 87 lines · Perceval via lists.openembedded.org

From: Perceval Arenou <[email protected]>

---
 .../aravis/aravis_0.8.31.bb                   | 40 +++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +40 -1
new file mode 100644
index 000000000..52e276c7b
@@ -0,0 +1,40 @@
+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 \
+    libxml2 \
+    zlib \
+"
+
+SRC_URI = "https://github.com/AravisProject/aravis/releases/download/${PV}/${BPN}-${PV}.tar.xz"
+SRC_URI[sha256sum] = "9c4ebe6273ed3abe466cb6ed8fa5c132bdd7e9a9298ca43fa0212c4311a084da"
+
+EXTRA_OEMESON += "-Dtests=false"
+
+GIR_MESON_ENABLE_FLAG = 'enabled'
+GIR_MESON_DISABLE_FLAG = 'disabled'
+GIDOCGEN_MESON_OPTION = "documentation"
+GIDOCGEN_MESON_ENABLE_FLAG = "enabled"
+GIDOCGEN_MESON_DISABLE_FLAG = "disabled"
+
+inherit meson pkgconfig gi-docgen gobject-introspection
+
+PACKAGECONFIG ?= "gstreamer usb viewer"
+PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled, -Dgst-plugin=disabled, gstreamer1.0 gstreamer1.0-plugins-base,"
+PACKAGECONFIG[usb] = "-Dusb=enabled, -Dusb=disabled, libusb1,"
+PACKAGECONFIG[viewer] = "-Dviewer=enabled, -Dviewer=disabled, gtk+3 gstreamer1.0-plugins-base,"
+
+FILES:${PN} += "\
+    ${datadir} \
+    ${libdir}/gstreamer-1.0/libgstaravis.0.8.so \
+"
--

2.43.0

Quoted 27 lines · Ross Burton
Quoted 1 line · Perceval via lists.openembedded.org

+# These options are found in AravisProject/aravis meson_options.txt

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

Review

Quoted 2 lines
(quoted diff) +2 -0
+EXTRA_OEMESON += "\
+    -Ddocumentation=disabled \

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

Quoted 1 line

+ -Dfast-heartbeat=false \

Default value, remove.

Quoted 1 line

+ -Dpacket-socket=enabled \

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

Quoted 1 line

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

Only defer gobject-introspection, not the others.

Quoted 1 line

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

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

Quoted 15 lines
Quoted 1 line

Ross

--
Perceval ARENOU
Embedded Operating System Engineer
PTxTrimble formerly Bilberry

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110080): https://lists.openembedded.org/g/openembedded-devel/message/110080
Mute This Topic: https://lists.openembedded.org/mt/105577746/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#7 lore raw

From ef4194a2f128439eaeba731080dd13e934e5ec01 Mon Sep 17 00:00:00 2001
From: Perceval Arenou <[email protected]>
Date: Wed, 17 Apr 2024 15:06:14 +0200
Subject: [PATCH] aravis: new recipe aravis is a vision library for genicam based cameras. aravis project allows to stream from genicam and GigE cameras

---
.../aravis/aravis_0.8.31.bb | 44 +++++++++++++++++++

1 file changed, 44 insertions(+)

create mode 100644 meta-multimedia/recipes-multimedia/aravis/ aravis_0.8.31.bb

(quoted diff) +0 -0

b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file mode 100644
index 000000000..38f10e6d1

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +3 -0
@@ -0,0 +1,44 @@
+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.0-or-later"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" +
+DEPENDS += "\
+ glib-2.0 \
+ glib-2.0-native \
+ libxml2 \
+ zlib \
+"
+
+SRC_URI = "
https://github.com/AravisProject/aravis/releases/download/${PV}/${BPN}-${PV}.tar.xz
"
+SRC_URI[sha256sum] = "9c4ebe6273ed3abe466cb6ed8fa5c132bdd7e9a9298ca43fa0212c4311a084da" +
+EXTRA_OEMESON += "-Dtests=false"
+
+GIR_MESON_ENABLE_FLAG = 'enabled'
+GIR_MESON_DISABLE_FLAG = 'disabled'
+GIDOCGEN_MESON_OPTION = "documentation" +GIDOCGEN_MESON_ENABLE_FLAG = "enabled" +GIDOCGEN_MESON_DISABLE_FLAG = "disabled"
+
+inherit meson pkgconfig gi-docgen gobject-introspection
+
+PACKAGECONFIG ?= "\
+ gstreamer \
+ usb \
+ ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'viewer', '', d)} \
+"
+PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled, -Dgst-plugin=disabled, gstreamer1.0 gstreamer1.0-plugins-base,"
+PACKAGECONFIG[usb] = "-Dusb=enabled, -Dusb=disabled, libusb1," +PACKAGECONFIG[viewer] = "-Dviewer=enabled, -Dviewer=disabled, gtk+3 gstreamer1.0-plugins-base,"
+
+FILES:${PN} += "\
+ ${datadir} \
+ ${libdir}/gstreamer-1.0/libgstaravis.0.8.so \
+"

Signature · 1 line
2.39.2
Quoted 163 lines · Martin Jansa

There is also:

ERROR: Nothing PROVIDES 'gtk+3' (but meta-oe/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb DEPENDS on or otherwise requires it)
gtk+3 was skipped: one of 'wayland x11' needs to be in DISTRO_FEATURES

so this recipe should have REQUIRED_DISTRO_FEATURES matching gtk+3 or enable viewer PACKAGECONFIG only when wayland or x11 is in DISTRO_FEATURES.

Quoted 17 lines · Martin Jansa via lists.openembedded.org

This is now triggering:
ERROR: QA Issue: Recipe LICENSE includes obsolete licenses LGPL-2.1 [obsolete-license]

Looks like it should be LGPL-2.1-only, please send follow-up fix.

Quoted 8 lines · Perceval via lists.openembedded.org

From: Perceval Arenou <[email protected]>

---
.../aravis/aravis_0.8.31.bb | 40 +++++++++++++++++++

1 file changed, 40 insertions(+)

create mode 100644 meta-multimedia/recipes-multimedia/aravis/

aravis_0.8.31.bb

Quoted 2 lines

Review

Quoted 2 lines
(quoted diff) +0 -0

aravis_0.8.31.bb b/meta-multimedia/recipes-multimedia/aravis/ aravis_0.8.31.bb

Quoted 8 lines

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb line 3

Quoted 8 lines

new file mode 100644
index 000000000..52e276c7b

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +3 -0
@@ -0,0 +1,40 @@
+SUMMARY = "A vision library for genicam based cameras"
+DESCRIPTION = "\
+ Aravis is a glib/gobject based library for video acquisition using

Genicam cameras.\

Quoted 1 line

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb line 4

Quoted 1 line
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +1 -0
+ It currently implements the gigabit ethernet and USB3 protocols used

by industrial cameras.\

Quoted 1 line

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb line 5

Quoted 1 line
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +1 -0
+ It also provides a basic ethernet camera simulator and a simple

video viewer.\

Quoted 3 lines

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb line 8

Quoted 3 lines
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +3 -0
+"
+AUTHOR = "Emmanuel Pacaud"
+HOMEPAGE = "https://github.com/AravisProject/aravis

<https://github.com/AravisProject/aravis>
"

Quoted 2 lines

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb line 10

Quoted 2 lines
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +2 -0
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM =

"file://COPYING;md5=4fbd65380cdd255951079008b364516c"

Quoted 9 lines

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb line 19

Quoted 9 lines
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +9 -0
+
+DEPENDS += "\
+ glib-2.0 \
+ glib-2.0-native \
+ libxml2 \
+ zlib \
+"
+
+SRC_URI = "

https://github.com/AravisProject/aravis/releases/download/${PV}/${BPN}-${PV}.tar.xz
<https://github.com/AravisProject/aravis/releases/download/${PV}/${BPN}-${PV}.tar.xz>
"

Quoted 1 line

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb line 20

Quoted 1 line
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +1 -0
+SRC_URI[sha256sum] =

"9c4ebe6273ed3abe466cb6ed8fa5c132bdd7e9a9298ca43fa0212c4311a084da"

Quoted 5 lines
Quoted 5 lines
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +5 -0
+
+EXTRA_OEMESON += "-Dtests=false"
+
+GIR_MESON_ENABLE_FLAG = 'enabled'
+GIR_MESON_DISABLE_FLAG = 'disabled'
Quoted 8 lines

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb line 33

Quoted 8 lines
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +8 -0
+GIDOCGEN_MESON_OPTION = "documentation"
+GIDOCGEN_MESON_ENABLE_FLAG = "enabled"
+GIDOCGEN_MESON_DISABLE_FLAG = "disabled"
+
+inherit meson pkgconfig gi-docgen gobject-introspection
+
+PACKAGECONFIG ?= "gstreamer usb viewer"
+PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled,

-Dgst-plugin=disabled, gstreamer1.0 gstreamer1.0-plugins-base,"

Quoted 2 lines

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb line 35

Quoted 2 lines
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +2 -0
+PACKAGECONFIG[usb] = "-Dusb=enabled, -Dusb=disabled, libusb1,"
+PACKAGECONFIG[viewer] = "-Dviewer=enabled, -Dviewer=disabled, gtk+3

gstreamer1.0-plugins-base,"

Quoted 10 lines
Quoted 10 lines
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +5 -1
+
+FILES:${PN} += "\
+ ${datadir} \
+ ${libdir}/gstreamer-1.0/libgstaravis.0.8.so \
+"
--

2.43.0

On Fri, Apr 19, 2024 at 5:40 PM Ross Burton <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines

On 19 Apr 2024, at 15:58, Perceval via lists.openembedded.org

Quoted 3 lines · <[email protected]> wrote:
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

+# These options are found in AravisProject/aravis meson_options.txt

No need to comment where they came from, this is the only place they

can be defined.

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

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

If would be good to use the gi-docgen class and respect the

api-documentation DISTRO_FEATURE instead of just turning this off.

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 2 lines

+ -Dfast-heartbeat=false \

Default value, remove.

Quoted 1 line

+ -Dpacket-socket=enabled \

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

Quoted 1 line

+inherit_defer meson pkgconfig

${@bb.utils.contains('PACKAGECONFIG', 'introspection', 'gobject-introspection', '', d)}

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Only defer gobject-introspection, not the others.

Quoted 1 line

+PACKAGECONFIG[introspection] = "-Dintrospection=enabled,

-Dintrospection=disabled, gobject-introspection,”

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

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

line.

Quoted 17 lines
Quoted 16 lines
Quoted 2 lines

Ross

--
Perceval ARENOU
Embedded Operating System Engineer
PTxTrimble formerly Bilberry

Quoted 3 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#110080):

https://lists.openembedded.org/g/openembedded-devel/message/110080
<https://lists.openembedded.org/g/openembedded-devel/message/110080>

Quoted 1 line

Mute This Topic: https://lists.openembedded.org/mt/105577746/3617156

<https://lists.openembedded.org/mt/105577746/3617156>

Quoted 2 lines

Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub

<https://lists.openembedded.org/g/openembedded-devel/unsub>
[[email protected]]

Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
*Perceval ARENOU*
Embedded Operating System Engineer
*PTxTrimble* formerly Bilberry
#9 lore raw
In reply to a message not in the archive

From ab87595034d27dd836ee7bbb1200490fda1dce64 Mon Sep 17 00:00:00 2001
From: Perceval Arenou <[email protected]>
Date: Wed, 17 Apr 2024 15:06:14 +0200
Subject: [PATCH] aravis: build GUI only if gtk+3 distro feature is enabled

---
.../recipes-multimedia/aravis/aravis_0.8.31.bb | 10 +++++++---

1 file changed, 7 insertions(+), 3 deletions(-)
(quoted diff) +0 -0

b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb index b5d7772e7..38f10e6d1 100644

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb +0 -0
@@ -6,7 +6,7 @@ DESCRIPTION = "\

"
AUTHOR = "Emmanuel Pacaud"
HOMEPAGE = "https://github.com/AravisProject/aravis"
-LICENSE = "LGPL-2.1"
+LICENSE = "LGPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" DEPENDS += "\
@@ -29,8 +29,12 @@ GIDOCGEN_MESON_DISABLE_FLAG = "disabled" inherit meson pkgconfig gi-docgen gobject-introspection -PACKAGECONFIG ?= "gstreamer usb viewer" -PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled, -Dgst-plugin=disabled,gstreamer1.0 gstreamer1.0-plugins-base," +PACKAGECONFIG ?= "\
+ gstreamer \
+ usb \
+ ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'viewer', '', d)} \
+"
+PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled, -Dgst-plugin=disabled, gstreamer1.0 gstreamer1.0-plugins-base,"
PACKAGECONFIG[usb] = "-Dusb=enabled, -Dusb=disabled, libusb1," PACKAGECONFIG[viewer] = "-Dviewer=enabled, -Dviewer=disabled, gtk+3 gstreamer1.0-plugins-base,"

Signature · 5 lines
2.39.2



On Thu, Apr 25, 2024 at 10:01 AM Perceval via lists.openembedded.org
Quoted 270 lines · <[email protected]> wrote:

From ef4194a2f128439eaeba731080dd13e934e5ec01 Mon Sep 17 00:00:00 2001
From: Perceval Arenou <[email protected]>
Date: Wed, 17 Apr 2024 15:06:14 +0200
Subject: [PATCH] aravis: new recipe aravis is a vision library for genicam based cameras. aravis project allows to stream from genicam and GigE cameras

---
.../aravis/aravis_0.8.31.bb | 44 +++++++++++++++++++

1 file changed, 44 insertions(+)

create mode 100644 meta-multimedia/recipes-multimedia/aravis/ aravis_0.8.31.bb

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +3 -0
new file mode 100644
index 000000000..38f10e6d1
@@ -0,0 +1,44 @@
+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.\
+"

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +2 -0
+AUTHOR = "Emmanuel Pacaud"
+HOMEPAGE = "https://github.com/AravisProject/aravis

<https://github.com/AravisProject/aravis>
"

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +11 -0
+LICENSE = "LGPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS += "\
+ glib-2.0 \
+ glib-2.0-native \
+ libxml2 \
+ zlib \
+"
+
+SRC_URI = "

https://github.com/AravisProject/aravis/releases/download/${PV}/${BPN}-${PV}.tar.xz
<https://github.com/AravisProject/aravis/releases/download/${PV}/${BPN}-${PV}.tar.xz>
"
+SRC_URI[sha256sum] = "9c4ebe6273ed3abe466cb6ed8fa5c132bdd7e9a9298ca43fa0212c4311a084da"

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +15 -0
+
+EXTRA_OEMESON += "-Dtests=false"
+
+GIR_MESON_ENABLE_FLAG = 'enabled'
+GIR_MESON_DISABLE_FLAG = 'disabled'
+GIDOCGEN_MESON_OPTION = "documentation"
+GIDOCGEN_MESON_ENABLE_FLAG = "enabled"
+GIDOCGEN_MESON_DISABLE_FLAG = "disabled"
+
+inherit meson pkgconfig gi-docgen gobject-introspection
+
+PACKAGECONFIG ?= "\
+ gstreamer \
+ usb \
+ ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}',

'viewer', '', d)} \
+"
+PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled, -Dgst-plugin=disabled, gstreamer1.0 gstreamer1.0-plugins-base,"

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +2 -0
+PACKAGECONFIG[usb] = "-Dusb=enabled, -Dusb=disabled, libusb1,"
+PACKAGECONFIG[viewer] = "-Dviewer=enabled, -Dviewer=disabled, gtk+3

gstreamer1.0-plugins-base,"

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +4 -0
+
+FILES:${PN} += "\
+ ${datadir} \
+ ${libdir}/gstreamer-1.0/libgstaravis.0.8.so

<http://libgstaravis.0.8.so>
\
+"
--
2.39.2

Quoted 132 lines · Martin Jansa

There is also:

ERROR: Nothing PROVIDES 'gtk+3' (but meta-oe/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb DEPENDS on or otherwise requires it)
gtk+3 was skipped: one of 'wayland x11' needs to be in DISTRO_FEATURES

so this recipe should have REQUIRED_DISTRO_FEATURES matching gtk+3 or enable viewer PACKAGECONFIG only when wayland or x11 is in DISTRO_FEATURES.

On Mon, Apr 22, 2024 at 8:17 AM Martin Jansa via
lists.openembedded.org
<http://lists.openembedded.org>
<[email protected]>

Quoted 8 lines · wrote:

This is now triggering:
ERROR: QA Issue: Recipe LICENSE includes obsolete licenses LGPL-2.1 [obsolete-license]

Looks like it should be LGPL-2.1-only, please send follow-up fix.

On Fri, Apr 19, 2024 at 7:21 PM Perceval via lists.openembedded.org

<http://lists.openembedded.org>

Quoted 9 lines
Quoted 8 lines · <[email protected]> wrote:

From: Perceval Arenou <[email protected]>

---
.../aravis/aravis_0.8.31.bb | 40 +++++++++++++++++++

1 file changed, 40 insertions(+)

create mode 100644 meta-multimedia/recipes-multimedia/aravis/

aravis_0.8.31.bb

Quoted 2 lines

Review

Quoted 2 lines
(quoted diff) +0 -0

aravis_0.8.31.bb b/meta-multimedia/recipes-multimedia/aravis/ aravis_0.8.31.bb

Quoted 8 lines

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb line 3

Quoted 8 lines

new file mode 100644
index 000000000..52e276c7b

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +3 -0
@@ -0,0 +1,40 @@
+SUMMARY = "A vision library for genicam based cameras"
+DESCRIPTION = "\
+ Aravis is a glib/gobject based library for video acquisition using

Genicam cameras.\

Quoted 1 line

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb line 4

Quoted 1 line
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +1 -0
+ It currently implements the gigabit ethernet and USB3 protocols

used by industrial cameras.\

Quoted 1 line

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb line 5

Quoted 1 line
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +1 -0
+ It also provides a basic ethernet camera simulator and a simple

video viewer.\

Quoted 3 lines

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb line 8

Quoted 3 lines
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +3 -0
+"
+AUTHOR = "Emmanuel Pacaud"
+HOMEPAGE = "https://github.com/AravisProject/aravis

<https://github.com/AravisProject/aravis>
"

Quoted 2 lines

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb line 10

Quoted 2 lines
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +2 -0
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM =

"file://COPYING;md5=4fbd65380cdd255951079008b364516c"

Quoted 9 lines

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb line 19

Quoted 9 lines
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +9 -0
+
+DEPENDS += "\
+ glib-2.0 \
+ glib-2.0-native \
+ libxml2 \
+ zlib \
+"
+
+SRC_URI = "

https://github.com/AravisProject/aravis/releases/download/${PV}/${BPN}-${PV}.tar.xz
<https://github.com/AravisProject/aravis/releases/download/${PV}/${BPN}-${PV}.tar.xz>
"

Quoted 1 line

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb line 20

Quoted 1 line
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +1 -0
+SRC_URI[sha256sum] =

"9c4ebe6273ed3abe466cb6ed8fa5c132bdd7e9a9298ca43fa0212c4311a084da"

Quoted 5 lines
Quoted 5 lines
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +5 -0
+
+EXTRA_OEMESON += "-Dtests=false"
+
+GIR_MESON_ENABLE_FLAG = 'enabled'
+GIR_MESON_DISABLE_FLAG = 'disabled'
Quoted 8 lines

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb line 33

Quoted 8 lines
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +8 -0
+GIDOCGEN_MESON_OPTION = "documentation"
+GIDOCGEN_MESON_ENABLE_FLAG = "enabled"
+GIDOCGEN_MESON_DISABLE_FLAG = "disabled"
+
+inherit meson pkgconfig gi-docgen gobject-introspection
+
+PACKAGECONFIG ?= "gstreamer usb viewer"
+PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled,

-Dgst-plugin=disabled, gstreamer1.0 gstreamer1.0-plugins-base,"

Quoted 2 lines

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb line 35

Quoted 2 lines
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +2 -0
+PACKAGECONFIG[usb] = "-Dusb=enabled, -Dusb=disabled, libusb1,"
+PACKAGECONFIG[viewer] = "-Dviewer=enabled, -Dviewer=disabled, gtk+3

gstreamer1.0-plugins-base,"

Quoted 4 lines

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb line 39

Quoted 4 lines
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +4 -0
+
+FILES:${PN} += "\
+ ${datadir} \
+ ${libdir}/gstreamer-1.0/libgstaravis.0.8.so

<http://libgstaravis.0.8.so>
\

Quoted 6 lines
Quoted 6 lines
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +1 -1
+"
--

2.43.0

On Fri, Apr 19, 2024 at 5:40 PM Ross Burton <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines

On 19 Apr 2024, at 15:58, Perceval via lists.openembedded.org

<http://lists.openembedded.org>

Quoted 1 line · <[email protected]> wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line

+# These options are found in AravisProject/aravis

meson_options.txt

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

No need to comment where they came from, this is the only place they

can be defined.

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

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

If would be good to use the gi-docgen class and respect the

api-documentation DISTRO_FEATURE instead of just turning this off.

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 2 lines

+ -Dfast-heartbeat=false \

Default value, remove.

Quoted 1 line

+ -Dpacket-socket=enabled \

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

Quoted 1 line

+inherit_defer meson pkgconfig

${@bb.utils.contains('PACKAGECONFIG', 'introspection', 'gobject-introspection', '', d)}

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 27 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Only defer gobject-introspection, not the others.

Quoted 1 line

+PACKAGECONFIG[introspection] = "-Dintrospection=enabled,

-Dintrospection=disabled, gobject-introspection,”

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

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

line.

Quoted 19 lines
Quoted 16 lines
Quoted 2 lines

Ross

--
Perceval ARENOU
Embedded Operating System Engineer
PTxTrimble formerly Bilberry

--

*Perceval ARENOU*
Embedded Operating System Engineer
*PTxTrimble* formerly Bilberry

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#110148):
https://lists.openembedded.org/g/openembedded-devel/message/110148
Mute This Topic:
https://lists.openembedded.org/mt/105577746/8242248
Group Owner: [email protected] Unsubscribe:
https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
*Perceval ARENOU*
Embedded Operating System Engineer
*PTxTrimble* formerly Bilberry
#10 lore raw

Can you rebase it on top of master?

Quoted 270 lines · Perceval via lists.openembedded.org

From ab87595034d27dd836ee7bbb1200490fda1dce64 Mon Sep 17 00:00:00 2001
From: Perceval Arenou <[email protected]>
Date: Wed, 17 Apr 2024 15:06:14 +0200
Subject: [PATCH] aravis: build GUI only if gtk+3 distro feature is enabled

---
.../recipes-multimedia/aravis/aravis_0.8.31.bb | 10 +++++++---

1 file changed, 7 insertions(+), 3 deletions(-)
meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb +0 -0
index b5d7772e7..38f10e6d1 100644
@@ -6,7 +6,7 @@ DESCRIPTION = "\

"
AUTHOR = "Emmanuel Pacaud"
HOMEPAGE = "https://github.com/AravisProject/aravis"

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb +1 -1
-LICENSE = "LGPL-2.1"
+LICENSE = "LGPL-2.0-or-later"

LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" DEPENDS += "\

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb +0 -0
@@ -29,8 +29,12 @@ GIDOCGEN_MESON_DISABLE_FLAG = "disabled"

inherit meson pkgconfig gi-docgen gobject-introspection

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb +6 -2
-PACKAGECONFIG ?= "gstreamer usb viewer"
-PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled, -Dgst-plugin=disabled,gstreamer1.0 gstreamer1.0-plugins-base,"
+PACKAGECONFIG ?= "\
+ gstreamer \
+ usb \
+ ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'viewer', '', d)} \
+"
+PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled, -Dgst-plugin=disabled, gstreamer1.0 gstreamer1.0-plugins-base,"

PACKAGECONFIG[usb] = "-Dusb=enabled, -Dusb=disabled, libusb1," PACKAGECONFIG[viewer] = "-Dviewer=enabled, -Dviewer=disabled, gtk+3 gstreamer1.0-plugins-base," --
2.39.2

Quoted 200 lines · Perceval via lists.openembedded.org

From ef4194a2f128439eaeba731080dd13e934e5ec01 Mon Sep 17 00:00:00 2001
From: Perceval Arenou <[email protected]>
Date: Wed, 17 Apr 2024 15:06:14 +0200
Subject: [PATCH] aravis: new recipe aravis is a vision library for genicam based cameras. aravis project allows to stream from genicam and GigE cameras

---
.../aravis/aravis_0.8.31.bb | 44 +++++++++++++++++++

1 file changed, 44 insertions(+)

create mode 100644 meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +44 -1
new file mode 100644
index 000000000..38f10e6d1
@@ -0,0 +1,44 @@
+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.0-or-later"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS += "\
+ glib-2.0 \
+ glib-2.0-native \
+ libxml2 \
+ zlib \
+"
+
+SRC_URI = "https://github.com/AravisProject/aravis/releases/download/${PV}/${BPN}-${PV}.tar.xz"
+SRC_URI[sha256sum] = "9c4ebe6273ed3abe466cb6ed8fa5c132bdd7e9a9298ca43fa0212c4311a084da"
+
+EXTRA_OEMESON += "-Dtests=false"
+
+GIR_MESON_ENABLE_FLAG = 'enabled'
+GIR_MESON_DISABLE_FLAG = 'disabled'
+GIDOCGEN_MESON_OPTION = "documentation"
+GIDOCGEN_MESON_ENABLE_FLAG = "enabled"
+GIDOCGEN_MESON_DISABLE_FLAG = "disabled"
+
+inherit meson pkgconfig gi-docgen gobject-introspection
+
+PACKAGECONFIG ?= "\
+ gstreamer \
+ usb \
+ ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'viewer', '', d)} \
+"
+PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled, -Dgst-plugin=disabled, gstreamer1.0 gstreamer1.0-plugins-base,"
+PACKAGECONFIG[usb] = "-Dusb=enabled, -Dusb=disabled, libusb1,"
+PACKAGECONFIG[viewer] = "-Dviewer=enabled, -Dviewer=disabled, gtk+3 gstreamer1.0-plugins-base,"
+
+FILES:${PN} += "\
+ ${datadir} \
+ ${libdir}/gstreamer-1.0/libgstaravis.0.8.so \
+"
--

2.39.2

Quoted 8 lines · Martin Jansa

There is also:

ERROR: Nothing PROVIDES 'gtk+3' (but meta-oe/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb DEPENDS on or otherwise requires it)
gtk+3 was skipped: one of 'wayland x11' needs to be in DISTRO_FEATURES

Quoted 121 lines

so this recipe should have REQUIRED_DISTRO_FEATURES matching gtk+3 or enable viewer PACKAGECONFIG only when wayland or x11 is in DISTRO_FEATURES.

Quoted 114 lines · Martin Jansa via lists.openembedded.org

This is now triggering:
ERROR: QA Issue: Recipe LICENSE includes obsolete licenses LGPL-2.1 [obsolete-license]

Looks like it should be LGPL-2.1-only, please send follow-up fix.

Quoted 102 lines · Perceval via lists.openembedded.org

From: Perceval Arenou <[email protected]>

---
.../aravis/aravis_0.8.31.bb | 40 +++++++++++++++++++

1 file changed, 40 insertions(+)

create mode 100644 meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb

meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb new file +40 -1
new file mode 100644
index 000000000..52e276c7b
@@ -0,0 +1,40 @@
+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 \
+ libxml2 \
+ zlib \
+"
+
+SRC_URI = "https://github.com/AravisProject/aravis/releases/download/${PV}/${BPN}-${PV}.tar.xz"
+SRC_URI[sha256sum] = "9c4ebe6273ed3abe466cb6ed8fa5c132bdd7e9a9298ca43fa0212c4311a084da"
+
+EXTRA_OEMESON += "-Dtests=false"
+
+GIR_MESON_ENABLE_FLAG = 'enabled'
+GIR_MESON_DISABLE_FLAG = 'disabled'
+GIDOCGEN_MESON_OPTION = "documentation"
+GIDOCGEN_MESON_ENABLE_FLAG = "enabled"
+GIDOCGEN_MESON_DISABLE_FLAG = "disabled"
+
+inherit meson pkgconfig gi-docgen gobject-introspection
+
+PACKAGECONFIG ?= "gstreamer usb viewer"
+PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled, -Dgst-plugin=disabled, gstreamer1.0 gstreamer1.0-plugins-base,"
+PACKAGECONFIG[usb] = "-Dusb=enabled, -Dusb=disabled, libusb1,"
+PACKAGECONFIG[viewer] = "-Dviewer=enabled, -Dviewer=disabled, gtk+3 gstreamer1.0-plugins-base,"
+
+FILES:${PN} += "\
+ ${datadir} \
+ ${libdir}/gstreamer-1.0/libgstaravis.0.8.so \
+"
--

2.43.0

Quoted 21 lines · Ross Burton
Quoted 1 line · Perceval via lists.openembedded.org

+# These options are found in AravisProject/aravis meson_options.txt

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

Quoted 2 lines

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

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

Quoted 1 line

+ -Dfast-heartbeat=false \

Default value, remove.

Quoted 1 line

+ -Dpacket-socket=enabled \

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

Quoted 1 line

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

Quoted 7 lines

Only defer gobject-introspection, not the others.

Quoted 1 line

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

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

Ross

--
Perceval ARENOU
Embedded Operating System Engineer
PTxTrimble formerly Bilberry

Quoted 11 lines

--
Perceval ARENOU
Embedded Operating System Engineer
PTxTrimble formerly Bilberry

--
Perceval ARENOU
Embedded Operating System Engineer
PTxTrimble formerly Bilberry

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110149): https://lists.openembedded.org/g/openembedded-devel/message/110149
Mute This Topic: https://lists.openembedded.org/mt/105577746/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-