[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    Re: [oe-core][PATCH v2] libavtp: add recipe to be able to use aaf config for alsa-plugins
From:       "Khem Raj" <raj.khem () gmail ! com>
Date:       2022-05-31 20:59:29
Message-ID: CAMKF1sovAcX5=tqV0vn7eBpq1cgV0z8gXNURX3sCWr20TcuGbw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Tue, May 31, 2022 at 1:14 PM Marcel Ziswiler <marcel.ziswiler@toradex.com>
wrote:

> On Tue, 2022-05-31 at 12:01 -0700, Khem Raj wrote:
> > Maybe call the recipe avtp
>
> No, here I disagree. As mentioned before the project and everything is
> really called libavtp everywhere. So I
> think the better solution is to consistently use libavtp in
> openembedded-core everywhere as well.


That's fine with me I don't have hard stand on the name changing existing
packageconfog can be a change for someone who might be using it already but
that's fine we have warnings in place to address these

>
>
>
> > On Tue, May 31, 2022 at 11:36 AM Peter Bergin <peter@berginkonsult.se>
> wrote:
> > > Hi,
> > >
> > > thanks Marcel for bumping this patch again!
> > >
> > > On 2022-05-31 18:38, Khem Raj wrote:
> > > > On Tue, May 31, 2022 at 8:57 AM Marcel Ziswiler <marcel@ziswiler.com>
> wrote:
> > > > > From: Peter Bergin <peter@berginkonsult.se>
> > > > >
> > > > > In order to enable configuration option aaf (AVTP Audio Format)
> > > > > used for AVB the library libavtp is a dependency but no recipe for
> > > > > this library was present. aaf support for alsa-plugins was
> > > > > introduced in ddf5421331180bc45697511b44cdd4a4e6dda6ff.
> > > > >
> > > > > Signed-off-by: Peter Bergin <peter@berginkonsult.se>
> > > > > Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> > > > >
> > > > > ---
> > > > > Resurrect from mailing list [1] as this is still not upstream.
> > > > > End-to-end tested on Verdin iMX8M Plus.
> > > > > Will talk about it at the Embedded World in the TSN & Linux track
> next
> > > > > month [2].
> > > > >
> > > > > [1]
> https://lore.kernel.org/all/20210604090216.553285-1-peter@berginkonsult.se/
> > > > > [2]
> https://events.weka-fachmedien.de/embedded-world-conference/program/
> > > > >
> > > > > Changes in v2:
> > > > > - Updated SRC_URI specifying mandatory protocol as https.
> > > > > - Updated SRCREV to latest.
> > > > >
> > > > >    meta/recipes-multimedia/libavtp/libavtp_git.bb | 16
> ++++++++++++++++
> > > > There was a 0.2.0 release
> https://github.com/Avnu/libavtp/releases/tag/v0.2.0
> > > > so I wonder if we should use the release tagged SRC_URI and call the
> PV = 0.2.0
> > > This tag was set after I sent my initial patch. I think this is a good
> > > thing to do.
> > > >
> > > > >    1 file changed, 16 insertions(+)
> > > > >    create mode 100644 meta/recipes-multimedia/libavtp/
> libavtp_git.bb
> > > > >
> > > > > diff --git a/meta/recipes-multimedia/libavtp/libavtp_git.bb
> b/meta/recipes-
> > > > > multimedia/libavtp/libavtp_git.bb
> > > > > new file mode 100644
> > > > > index 0000000000..aefbee56ea
> > > > > --- /dev/null
> > > > > +++ b/meta/recipes-multimedia/libavtp/libavtp_git.bb
> > > > > @@ -0,0 +1,16 @@
> > > > > +DESCRIPTION = "Open source implementation of Audio Video
> Transport Protocol (AVTP) \
> > > > > +               specified in IEEE 1722-2016 spec."
> > > > > +HOMEPAGE = "https://github.com/Avnu/libavtp"
> > > > > +LICENSE = "BSD-3-Clause"
> > > > > +LIC_FILES_CHKSUM =
> "file://LICENSE;md5=7fcb4331e23e45e171cd5693c1ff7d3e"
> > > > > +
> > > > > +PROVIDES = "avtp"
> > > > why is this provides needed ?
> > >
> > > It is because recipe meta/recipes-multimedia/alsa/
> alsa-plugins_1.2.6.bb
> > > has this PACKAGECONFIG:
> > >
> > >    PACKAGECONFIG[aaf] = "--enable-aaf,--disable-aaf,avtp"
> > >
> > > So either this PROVIDES or also change PACKAGECONFIG for alsa-plugins?
> > >
> > > /Peter
> > >
> > > > > +
> > > > > +SRC_URI = "git://
> github.com/Avnu/libavtp.git;branch=master;protocol=https"
> > > > > +SRCREV = "3599a5bf2d18fc3ae89b64f208d8380e6ee3a866"
> > > > > +
> > > > > +S = "${WORKDIR}/git"
> > > > > +
> > > > > +inherit meson pkgconfig
> > > > > +
> > > > > +EXTRA_OEMESON = "-Dtests=disabled"
> > > > > --
> > > > > 2.36.1
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > 
>

[Attachment #5 (text/html)]

<div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On \
Tue, May 31, 2022 at 1:14 PM Marcel Ziswiler &lt;<a \
href="mailto:marcel.ziswiler@toradex.com">marcel.ziswiler@toradex.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 2022-05-31 at 12:01 -0700, \
Khem Raj wrote:<br> &gt; Maybe call the recipe avtp<br>
<br>
No, here I disagree. As mentioned before the project and everything is really called \
libavtp everywhere. So I<br> think the better solution is to consistently use libavtp \
in openembedded-core everywhere as well.</blockquote><div dir="auto"><br></div><div \
dir="auto">That's fine with me I don't have hard stand on the name changing existing \
packageconfog can be a change for someone who might be using it already but that's \
fine we have warnings in place to address these  </div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex" dir="auto"><br> <br>
<br>
&gt; On Tue, May 31, 2022 at 11:36 AM Peter Bergin &lt;<a \
href="mailto:peter@berginkonsult.se" target="_blank">peter@berginkonsult.se</a>&gt; \
wrote:<br> &gt; &gt; Hi,<br>
&gt; &gt; <br>
&gt; &gt; thanks Marcel for bumping this patch again!<br>
&gt; &gt; <br>
&gt; &gt; On 2022-05-31 18:38, Khem Raj wrote:<br>
&gt; &gt; &gt; On Tue, May 31, 2022 at 8:57 AM Marcel Ziswiler &lt;<a \
href="mailto:marcel@ziswiler.com" target="_blank">marcel@ziswiler.com</a>&gt; \
wrote:<br> &gt; &gt; &gt; &gt; From: Peter Bergin &lt;<a \
href="mailto:peter@berginkonsult.se" \
target="_blank">peter@berginkonsult.se</a>&gt;<br> &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; In order to enable configuration option aaf (AVTP Audio \
Format)<br> &gt; &gt; &gt; &gt; used for AVB the library libavtp is a dependency but \
no recipe for<br> &gt; &gt; &gt; &gt; this library was present. aaf support for \
alsa-plugins was<br> &gt; &gt; &gt; &gt; introduced in \
ddf5421331180bc45697511b44cdd4a4e6dda6ff.<br> &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; Signed-off-by: Peter Bergin &lt;<a \
href="mailto:peter@berginkonsult.se" \
target="_blank">peter@berginkonsult.se</a>&gt;<br> &gt; &gt; &gt; &gt; Signed-off-by: \
Marcel Ziswiler &lt;<a href="mailto:marcel.ziswiler@toradex.com" \
target="_blank">marcel.ziswiler@toradex.com</a>&gt;<br> &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; ---<br>
&gt; &gt; &gt; &gt; Resurrect from mailing list [1] as this is still not \
upstream.<br> &gt; &gt; &gt; &gt; End-to-end tested on Verdin iMX8M Plus.<br>
&gt; &gt; &gt; &gt; Will talk about it at the Embedded World in the TSN &amp; Linux \
track next<br> &gt; &gt; &gt; &gt; month [2].<br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; [1] <a \
href="https://lore.kernel.org/all/20210604090216.553285-1-peter@berginkonsult.se/" \
rel="noreferrer" target="_blank">https://lore.kernel.org/all/20210604090216.553285-1-peter@berginkonsult.se/</a><br>
 &gt; &gt; &gt; &gt; [2] <a \
href="https://events.weka-fachmedien.de/embedded-world-conference/program/" \
rel="noreferrer" target="_blank">https://events.weka-fachmedien.de/embedded-world-conference/program/</a><br>
 &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; Changes in v2:<br>
&gt; &gt; &gt; &gt; - Updated SRC_URI specifying mandatory protocol as https.<br>
&gt; &gt; &gt; &gt; - Updated SRCREV to latest.<br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt;      meta/recipes-multimedia/libavtp/<a \
href="http://libavtp_git.bb" rel="noreferrer" target="_blank">libavtp_git.bb</a> | 16 \
++++++++++++++++<br> &gt; &gt; &gt; There was a 0.2.0 release <a \
href="https://github.com/Avnu/libavtp/releases/tag/v0.2.0" rel="noreferrer" \
target="_blank">https://github.com/Avnu/libavtp/releases/tag/v0.2.0</a><br> &gt; &gt; \
&gt; so I wonder if we should use the release tagged SRC_URI and call the PV = \
0.2.0<br> &gt; &gt; This tag was set after I sent my initial patch. I think this is a \
good <br> &gt; &gt; thing to do.<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt;      1 file changed, 16 insertions(+)<br>
&gt; &gt; &gt; &gt;      create mode 100644 meta/recipes-multimedia/libavtp/<a \
href="http://libavtp_git.bb" rel="noreferrer" target="_blank">libavtp_git.bb</a><br> \
&gt; &gt; &gt; &gt; <br> &gt; &gt; &gt; &gt; diff --git \
a/meta/recipes-multimedia/libavtp/<a href="http://libavtp_git.bb" rel="noreferrer" \
target="_blank">libavtp_git.bb</a> b/meta/recipes-<br> &gt; &gt; &gt; &gt; \
multimedia/libavtp/<a href="http://libavtp_git.bb" rel="noreferrer" \
target="_blank">libavtp_git.bb</a><br> &gt; &gt; &gt; &gt; new file mode 100644<br>
&gt; &gt; &gt; &gt; index 0000000000..aefbee56ea<br>
&gt; &gt; &gt; &gt; --- /dev/null<br>
&gt; &gt; &gt; &gt; +++ b/meta/recipes-multimedia/libavtp/<a \
href="http://libavtp_git.bb" rel="noreferrer" target="_blank">libavtp_git.bb</a><br> \
&gt; &gt; &gt; &gt; @@ -0,0 +1,16 @@<br> &gt; &gt; &gt; &gt; +DESCRIPTION = \
&quot;Open source implementation of Audio Video Transport Protocol (AVTP) \<br> &gt; \
&gt; &gt; &gt; +                       specified in IEEE 1722-2016 spec.&quot;<br> \
&gt; &gt; &gt; &gt; +HOMEPAGE = &quot;<a href="https://github.com/Avnu/libavtp" \
rel="noreferrer" target="_blank">https://github.com/Avnu/libavtp</a>&quot;<br> &gt; \
&gt; &gt; &gt; +LICENSE = &quot;BSD-3-Clause&quot;<br> &gt; &gt; &gt; &gt; \
+LIC_FILES_CHKSUM = &quot;file://LICENSE;md5=7fcb4331e23e45e171cd5693c1ff7d3e&quot;<br>
 &gt; &gt; &gt; &gt; +<br>
&gt; &gt; &gt; &gt; +PROVIDES = &quot;avtp&quot;<br>
&gt; &gt; &gt; why is this provides needed ?<br>
&gt; &gt; <br>
&gt; &gt; It is because recipe meta/recipes-multimedia/alsa/<a \
href="http://alsa-plugins_1.2.6.bb" rel="noreferrer" \
target="_blank">alsa-plugins_1.2.6.bb</a> <br> &gt; &gt; has this PACKAGECONFIG:<br>
&gt; &gt; <br>
&gt; &gt;      PACKAGECONFIG[aaf] = &quot;--enable-aaf,--disable-aaf,avtp&quot;<br>
&gt; &gt; <br>
&gt; &gt; So either this PROVIDES or also change PACKAGECONFIG for alsa-plugins?<br>
&gt; &gt; <br>
&gt; &gt; /Peter<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt; +<br>
&gt; &gt; &gt; &gt; +SRC_URI = &quot;git://<a \
href="http://github.com/Avnu/libavtp.git;branch=master;protocol=https" \
rel="noreferrer" target="_blank">github.com/Avnu/libavtp.git;branch=master;protocol=https</a>&quot;<br>
 &gt; &gt; &gt; &gt; +SRCREV = \
&quot;3599a5bf2d18fc3ae89b64f208d8380e6ee3a866&quot;<br> &gt; &gt; &gt; &gt; +<br>
&gt; &gt; &gt; &gt; +S = &quot;${WORKDIR}/git&quot;<br>
&gt; &gt; &gt; &gt; +<br>
&gt; &gt; &gt; &gt; +inherit meson pkgconfig<br>
&gt; &gt; &gt; &gt; +<br>
&gt; &gt; &gt; &gt; +EXTRA_OEMESON = &quot;-Dtests=disabled&quot;<br>
&gt; &gt; &gt; &gt; --<br>
&gt; &gt; &gt; &gt; 2.36.1<br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; <br>
</blockquote></div></div>



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#166334): https://lists.openembedded.org/g/openembedded-core/message/166334
Mute This Topic: https://lists.openembedded.org/mt/91454504/4454766
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [openembedded-core@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic