All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [External] [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
       [not found] <17C71645B7063D93.20815@lists.openembedded.org>
@ 2024-04-19 14:58 ` Perceval Arenou
  2024-04-19 15:39   ` Ross Burton
  0 siblings, 1 reply; 9+ messages in thread
From: Perceval Arenou @ 2024-04-19 14:58 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Perceval Arenou

[-- Attachment #1: Type: text/plain, Size: 2255 bytes --]

From: Perceval Arenou <perceval.arenou@gmail.com>

---
 .../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

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 000000000..2cfe3fdfa
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
@@ -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 \
+"
-- 
2.43.0



[-- Attachment #2: Type: text/html, Size: 3511 bytes --]

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [oe] [meta-multimedia][PATCH] aravis: new recipe aravis is a vision library for genicam based cameras. aravis project allows to stream from genicam and GigE cameras
  2024-04-19 14:58 ` [External] [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 Perceval Arenou
@ 2024-04-19 15:39   ` Ross Burton
  2024-04-19 17:20     ` [External] " Perceval Arenou
  0 siblings, 1 reply; 9+ messages in thread
From: Ross Burton @ 2024-04-19 15:39 UTC (permalink / raw)
  To: perceval.arenou; +Cc: OpenEmbedded Development mailing list, Perceval Arenou

On 19 Apr 2024, at 15:58, Perceval via lists.openembedded.org <perceval.arenou=ptxtrimble.com@lists.openembedded.org> wrote:
> +# These options are found in AravisProject/aravis meson_options.txt

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

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

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

> +    -Dfast-heartbeat=false \

Default value, remove.

> +    -Dpacket-socket=enabled \

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

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

Only defer gobject-introspection, not the others.

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

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

Ross

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [External] Re: [oe] [meta-multimedia][PATCH] aravis: new recipe aravis is a vision library for genicam based cameras. aravis project allows to stream from genicam and GigE cameras
  2024-04-19 15:39   ` Ross Burton
@ 2024-04-19 17:20     ` Perceval Arenou
  2024-04-22  6:17       ` Martin Jansa
       [not found]       ` <17C885AD767F090E.10861@lists.openembedded.org>
  0 siblings, 2 replies; 9+ messages in thread
From: Perceval Arenou @ 2024-04-19 17:20 UTC (permalink / raw)
  To: OpenEmbedded Development mailing list; +Cc: Perceval Arenou

[-- Attachment #1: Type: text/plain, Size: 3359 bytes --]

From: Perceval Arenou <perceval.arenou@gmail.com>


---
 .../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

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 000000000..52e276c7b
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
@@ -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


On Fri, Apr 19, 2024 at 5:40 PM Ross Burton <Ross.Burton@arm.com> wrote:

> On 19 Apr 2024, at 15:58, Perceval via lists.openembedded.org
> <perceval.arenou=ptxtrimble.com@lists.openembedded.org> wrote:
> > +# These options are found in AravisProject/aravis meson_options.txt
>
> No need to comment where they came from, this is the only place they can
> be defined.
>
> > +EXTRA_OEMESON += "\
> > +    -Ddocumentation=disabled \
>
> If would be good to use the gi-docgen class and respect the
> api-documentation DISTRO_FEATURE instead of just turning this off.
>
> > +    -Dfast-heartbeat=false \
>
> Default value, remove.
>
> > +    -Dpacket-socket=enabled \
>
> Can’t you leave this as the default and let Meson detect?
>
> > +inherit_defer meson pkgconfig ${@bb.utils.contains('PACKAGECONFIG',
> 'introspection', 'gobject-introspection', '', d)}
>
> Only defer gobject-introspection, not the others.
>
> > +PACKAGECONFIG[introspection] = "-Dintrospection=enabled,
> -Dintrospection=disabled, gobject-introspection,”
>
> The gobject-introspection class will do this for you, remove this line.
>
> Ross



-- 

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



[-- Attachment #2: Type: text/html, Size: 5353 bytes --]

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [oe] [meta-multimedia][PATCH] aravis: new recipe aravis is a vision library for genicam based cameras. aravis project allows to stream from genicam and GigE cameras
  2024-04-19 17:20     ` [External] " Perceval Arenou
@ 2024-04-22  6:17       ` Martin Jansa
       [not found]       ` <17C885AD767F090E.10861@lists.openembedded.org>
  1 sibling, 0 replies; 9+ messages in thread
From: Martin Jansa @ 2024-04-22  6:17 UTC (permalink / raw)
  To: perceval.arenou; +Cc: OpenEmbedded Development mailing list, Perceval Arenou

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
<perceval.arenou=ptxtrimble.com@lists.openembedded.org> wrote:
>
> From: Perceval Arenou <perceval.arenou@gmail.com>
>
>
> ---
>  .../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
>
> 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 000000000..52e276c7b
> --- /dev/null
> +++ b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
> @@ -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
>
>
> On Fri, Apr 19, 2024 at 5:40 PM Ross Burton <Ross.Burton@arm.com> wrote:
>>
>> On 19 Apr 2024, at 15:58, Perceval via lists.openembedded.org <perceval.arenou=ptxtrimble.com@lists.openembedded.org> wrote:
>> > +# These options are found in AravisProject/aravis meson_options.txt
>>
>> No need to comment where they came from, this is the only place they can be defined.
>>
>> > +EXTRA_OEMESON += "\
>> > +    -Ddocumentation=disabled \
>>
>> If would be good to use the gi-docgen class and respect the api-documentation DISTRO_FEATURE instead of just turning this off.
>>
>> > +    -Dfast-heartbeat=false \
>>
>> Default value, remove.
>>
>> > +    -Dpacket-socket=enabled \
>>
>> Can’t you leave this as the default and let Meson detect?
>>
>> > +inherit_defer meson pkgconfig ${@bb.utils.contains('PACKAGECONFIG', 'introspection', 'gobject-introspection', '', d)}
>>
>> Only defer gobject-introspection, not the others.
>>
>> > +PACKAGECONFIG[introspection] = "-Dintrospection=enabled, -Dintrospection=disabled, gobject-introspection,”
>>
>> The gobject-introspection class will do this for you, remove this line.
>>
>> Ross
>
>
>
> --
> 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: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [martin.jansa@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* 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
       [not found]       ` <17C885AD767F090E.10861@lists.openembedded.org>
@ 2024-04-22  7:06         ` Martin Jansa
  2024-04-25  7:58           ` [External] " Perceval Arenou
       [not found]           ` <17C976F30B799D6D.19690@lists.openembedded.org>
  0 siblings, 2 replies; 9+ messages in thread
From: Martin Jansa @ 2024-04-22  7:06 UTC (permalink / raw)
  To: martin.jansa
  Cc: perceval.arenou, OpenEmbedded Development mailing list, Perceval Arenou

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 <martin.jansa=gmail.com@lists.openembedded.org>
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
> <perceval.arenou=ptxtrimble.com@lists.openembedded.org> wrote:
> >
> > From: Perceval Arenou <perceval.arenou@gmail.com>
> >
> >
> > ---
> >  .../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
> >
> > 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 000000000..52e276c7b
> > --- /dev/null
> > +++ b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
> > @@ -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
> >
> >
> > On Fri, Apr 19, 2024 at 5:40 PM Ross Burton <Ross.Burton@arm.com> wrote:
> >>
> >> On 19 Apr 2024, at 15:58, Perceval via lists.openembedded.org <perceval.arenou=ptxtrimble.com@lists.openembedded.org> wrote:
> >> > +# These options are found in AravisProject/aravis meson_options.txt
> >>
> >> No need to comment where they came from, this is the only place they can be defined.
> >>
> >> > +EXTRA_OEMESON += "\
> >> > +    -Ddocumentation=disabled \
> >>
> >> If would be good to use the gi-docgen class and respect the api-documentation DISTRO_FEATURE instead of just turning this off.
> >>
> >> > +    -Dfast-heartbeat=false \
> >>
> >> Default value, remove.
> >>
> >> > +    -Dpacket-socket=enabled \
> >>
> >> Can’t you leave this as the default and let Meson detect?
> >>
> >> > +inherit_defer meson pkgconfig ${@bb.utils.contains('PACKAGECONFIG', 'introspection', 'gobject-introspection', '', d)}
> >>
> >> Only defer gobject-introspection, not the others.
> >>
> >> > +PACKAGECONFIG[introspection] = "-Dintrospection=enabled, -Dintrospection=disabled, gobject-introspection,”
> >>
> >> The gobject-introspection class will do this for you, remove this line.
> >>
> >> Ross
> >
> >
> >
> > --
> > 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: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [martin.jansa@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [External] 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-22  7:06         ` Martin Jansa
@ 2024-04-25  7:58           ` Perceval Arenou
       [not found]           ` <17C976F30B799D6D.19690@lists.openembedded.org>
  1 sibling, 0 replies; 9+ messages in thread
From: Perceval Arenou @ 2024-04-25  7:58 UTC (permalink / raw)
  To: OpenEmbedded Development mailing list; +Cc: Perceval Arenou

[-- Attachment #1: Type: text/plain, Size: 8236 bytes --]

From ef4194a2f128439eaeba731080dd13e934e5ec01 Mon Sep 17 00:00:00 2001
From: Perceval Arenou <perceval.arenou@gmail.com>
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

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 000000000..38f10e6d1
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
@@ -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



On Mon, Apr 22, 2024 at 9:06 AM Martin Jansa <martin.jansa@gmail.com> wrote:

> 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 <martin.jansa=gmail.com@lists.openembedded.org>
> 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
> > <perceval.arenou=ptxtrimble.com@lists.openembedded.org> wrote:
> > >
> > > From: Perceval Arenou <perceval.arenou@gmail.com>
> > >
> > >
> > > ---
> > > .../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
> > >
> > > 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 000000000..52e276c7b
> > > --- /dev/null
> > > +++ b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
> > > @@ -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
> <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
> <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
> > >
> > >
> > > On Fri, Apr 19, 2024 at 5:40 PM Ross Burton <Ross.Burton@arm.com>
> wrote:
> > >>
> > >> On 19 Apr 2024, at 15:58, Perceval via lists.openembedded.org
> <perceval.arenou=ptxtrimble.com@lists.openembedded.org> wrote:
> > >> > +# These options are found in AravisProject/aravis meson_options.txt
> > >>
> > >> No need to comment where they came from, this is the only place they
> can be defined.
> > >>
> > >> > +EXTRA_OEMESON += "\
> > >> > + -Ddocumentation=disabled \
> > >>
> > >> If would be good to use the gi-docgen class and respect the
> api-documentation DISTRO_FEATURE instead of just turning this off.
> > >>
> > >> > + -Dfast-heartbeat=false \
> > >>
> > >> Default value, remove.
> > >>
> > >> > + -Dpacket-socket=enabled \
> > >>
> > >> Can’t you leave this as the default and let Meson detect?
> > >>
> > >> > +inherit_defer meson pkgconfig
> ${@bb.utils.contains('PACKAGECONFIG', 'introspection',
> 'gobject-introspection', '', d)}
> > >>
> > >> Only defer gobject-introspection, not the others.
> > >>
> > >> > +PACKAGECONFIG[introspection] = "-Dintrospection=enabled,
> -Dintrospection=disabled, gobject-introspection,”
> > >>
> > >> The gobject-introspection class will do this for you, remove this
> line.
> > >>
> > >> Ross
> > >
> > >
> > >
> > > --
> > > 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
> <https://lists.openembedded.org/g/openembedded-devel/message/110080>
> > Mute This Topic: https://lists.openembedded.org/mt/105577746/3617156
> <https://lists.openembedded.org/mt/105577746/3617156>
> > Group Owner: openembedded-devel+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
> <https://lists.openembedded.org/g/openembedded-devel/unsub>
> [martin.jansa@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>


-- 

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



[-- Attachment #2: Type: text/html, Size: 15085 bytes --]

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [External] 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
       [not found]           ` <17C976F30B799D6D.19690@lists.openembedded.org>
@ 2024-04-25  8:04             ` Perceval Arenou
  2024-04-26  3:02               ` Khem Raj
  0 siblings, 1 reply; 9+ messages in thread
From: Perceval Arenou @ 2024-04-25  8:04 UTC (permalink / raw)
  To: perceval.arenou; +Cc: OpenEmbedded Development mailing list, Perceval Arenou

[-- Attachment #1: Type: text/plain, Size: 10591 bytes --]

From ab87595034d27dd836ee7bbb1200490fda1dce64 Mon Sep 17 00:00:00 2001
From: Perceval Arenou <perceval.arenou@gmail.com>
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(-)

diff --git a/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
index b5d7772e7..38f10e6d1 100644
--- a/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
+++ b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
@@ -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,"
-- 
2.39.2



On Thu, Apr 25, 2024 at 10:01 AM Perceval via lists.openembedded.org
<perceval.arenou=ptxtrimble.com@lists.openembedded.org> wrote:

> From ef4194a2f128439eaeba731080dd13e934e5ec01 Mon Sep 17 00:00:00 2001
> From: Perceval Arenou <perceval.arenou@gmail.com>
> 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
>
> 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 000000000..38f10e6d1
> --- /dev/null
> +++ b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
> @@ -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
> <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
> <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
> <http://libgstaravis.0.8.so>
> \
> +"
> --
> 2.39.2
>
>
>
> On Mon, Apr 22, 2024 at 9:06 AM Martin Jansa <martin.jansa@gmail.com>
> wrote:
>
>> 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>
>> <martin.jansa=gmail.com@lists.openembedded.org>
>> 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>
>> > <perceval.arenou=ptxtrimble.com@lists.openembedded.org> wrote:
>> > >
>> > > From: Perceval Arenou <perceval.arenou@gmail.com>
>> > >
>> > >
>> > > ---
>> > > .../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
>> > >
>> > > 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 000000000..52e276c7b
>> > > --- /dev/null
>> > > +++ b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
>> > > @@ -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
>> <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
>> <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
>> <http://libgstaravis.0.8.so>
>> \
>> > > +"
>> > > --
>> > > 2.43.0
>> > >
>> > >
>> > > On Fri, Apr 19, 2024 at 5:40 PM Ross Burton <Ross.Burton@arm.com>
>> wrote:
>> > >>
>> > >> On 19 Apr 2024, at 15:58, Perceval via lists.openembedded.org
>> <http://lists.openembedded.org>
>> <perceval.arenou=ptxtrimble.com@lists.openembedded.org> wrote:
>> > >> > +# These options are found in AravisProject/aravis
>> meson_options.txt
>> > >>
>> > >> No need to comment where they came from, this is the only place they
>> can be defined.
>> > >>
>> > >> > +EXTRA_OEMESON += "\
>> > >> > + -Ddocumentation=disabled \
>> > >>
>> > >> If would be good to use the gi-docgen class and respect the
>> api-documentation DISTRO_FEATURE instead of just turning this off.
>> > >>
>> > >> > + -Dfast-heartbeat=false \
>> > >>
>> > >> Default value, remove.
>> > >>
>> > >> > + -Dpacket-socket=enabled \
>> > >>
>> > >> Can’t you leave this as the default and let Meson detect?
>> > >>
>> > >> > +inherit_defer meson pkgconfig
>> ${@bb.utils.contains('PACKAGECONFIG', 'introspection',
>> 'gobject-introspection', '', d)}
>> > >>
>> > >> Only defer gobject-introspection, not the others.
>> > >>
>> > >> > +PACKAGECONFIG[introspection] = "-Dintrospection=enabled,
>> -Dintrospection=disabled, gobject-introspection,”
>> > >>
>> > >> The gobject-introspection class will do this for you, remove this
>> line.
>> > >>
>> > >> Ross
>> > >
>> > >
>> > >
>> > > --
>> > > 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: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe:
> https://lists.openembedded.org/g/openembedded-devel/unsub
> [perceval.arenou@ptxtrimble.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

-- 

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



[-- Attachment #2: Type: text/html, Size: 19738 bytes --]

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* 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-25  8:04             ` Perceval Arenou
@ 2024-04-26  3:02               ` Khem Raj
  0 siblings, 0 replies; 9+ messages in thread
From: Khem Raj @ 2024-04-26  3:02 UTC (permalink / raw)
  To: perceval.arenou; +Cc: OpenEmbedded Development mailing list, Perceval Arenou

Can you rebase it on top of master?

On Thu, Apr 25, 2024 at 1:04 AM Perceval via lists.openembedded.org
<perceval.arenou=ptxtrimble.com@lists.openembedded.org> wrote:
>
> From ab87595034d27dd836ee7bbb1200490fda1dce64 Mon Sep 17 00:00:00 2001
> From: Perceval Arenou <perceval.arenou@gmail.com>
> 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(-)
>
> diff --git a/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
> index b5d7772e7..38f10e6d1 100644
> --- a/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
> +++ b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
> @@ -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,"
> --
> 2.39.2
>
>
>
> On Thu, Apr 25, 2024 at 10:01 AM Perceval via lists.openembedded.org <perceval.arenou=ptxtrimble.com@lists.openembedded.org> wrote:
>>
>> From ef4194a2f128439eaeba731080dd13e934e5ec01 Mon Sep 17 00:00:00 2001
>> From: Perceval Arenou <perceval.arenou@gmail.com>
>> 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
>>
>> 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 000000000..38f10e6d1
>> --- /dev/null
>> +++ b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
>> @@ -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
>>
>>
>>
>> On Mon, Apr 22, 2024 at 9:06 AM Martin Jansa <martin.jansa@gmail.com> wrote:
>>>
>>> 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 <martin.jansa=gmail.com@lists.openembedded.org>
>>> 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
>>> > <perceval.arenou=ptxtrimble.com@lists.openembedded.org> wrote:
>>> > >
>>> > > From: Perceval Arenou <perceval.arenou@gmail.com>
>>> > >
>>> > >
>>> > > ---
>>> > > .../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
>>> > >
>>> > > 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 000000000..52e276c7b
>>> > > --- /dev/null
>>> > > +++ b/meta-multimedia/recipes-multimedia/aravis/aravis_0.8.31.bb
>>> > > @@ -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
>>> > >
>>> > >
>>> > > On Fri, Apr 19, 2024 at 5:40 PM Ross Burton <Ross.Burton@arm.com> wrote:
>>> > >>
>>> > >> On 19 Apr 2024, at 15:58, Perceval via lists.openembedded.org <perceval.arenou=ptxtrimble.com@lists.openembedded.org> wrote:
>>> > >> > +# These options are found in AravisProject/aravis meson_options.txt
>>> > >>
>>> > >> No need to comment where they came from, this is the only place they can be defined.
>>> > >>
>>> > >> > +EXTRA_OEMESON += "\
>>> > >> > + -Ddocumentation=disabled \
>>> > >>
>>> > >> If would be good to use the gi-docgen class and respect the api-documentation DISTRO_FEATURE instead of just turning this off.
>>> > >>
>>> > >> > + -Dfast-heartbeat=false \
>>> > >>
>>> > >> Default value, remove.
>>> > >>
>>> > >> > + -Dpacket-socket=enabled \
>>> > >>
>>> > >> Can’t you leave this as the default and let Meson detect?
>>> > >>
>>> > >> > +inherit_defer meson pkgconfig ${@bb.utils.contains('PACKAGECONFIG', 'introspection', 'gobject-introspection', '', d)}
>>> > >>
>>> > >> Only defer gobject-introspection, not the others.
>>> > >>
>>> > >> > +PACKAGECONFIG[introspection] = "-Dintrospection=enabled, -Dintrospection=disabled, gobject-introspection,”
>>> > >>
>>> > >> The gobject-introspection class will do this for you, remove this line.
>>> > >>
>>> > >> Ross
>>> > >
>>> > >
>>> > >
>>> > > --
>>> > > Perceval ARENOU
>>> > > Embedded Operating System Engineer
>>> > > PTxTrimble formerly Bilberry
>>> > >
>>> > >
>>> > >
>>> > >
>>> > >
>>> > >
>>> > >
>>> >
>>> >
>>> >
>>
>>
>>
>> --
>> 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: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* 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 14:04 perceval.arenou
@ 2024-04-17 14:54 ` Ross Burton
  0 siblings, 0 replies; 9+ messages in thread
From: Ross Burton @ 2024-04-17 14:54 UTC (permalink / raw)
  To: perceval.arenou; +Cc: openembedded-devel, Perceval Arenou

On 17 Apr 2024, at 15:04, Perceval via lists.openembedded.org <perceval.arenou=ptxtrimble.com@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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-04-26  3:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <17C71645B7063D93.20815@lists.openembedded.org>
2024-04-19 14:58 ` [External] [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 Perceval Arenou
2024-04-19 15:39   ` Ross Burton
2024-04-19 17:20     ` [External] " Perceval Arenou
2024-04-22  6:17       ` Martin Jansa
     [not found]       ` <17C885AD767F090E.10861@lists.openembedded.org>
2024-04-22  7:06         ` Martin Jansa
2024-04-25  7:58           ` [External] " Perceval Arenou
     [not found]           ` <17C976F30B799D6D.19690@lists.openembedded.org>
2024-04-25  8:04             ` Perceval Arenou
2024-04-26  3:02               ` Khem Raj
2024-04-17 14:04 perceval.arenou
2024-04-17 14:54 ` [oe] " Ross Burton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.