* [meta-arago][master/scarthgap][PATCH] meta-arago-extras: Add recipe for NNShark
@ 2025-03-11 14:37 Andrew Davis
2025-03-11 15:58 ` Chirag Shilwant
2025-03-11 16:10 ` Denys Dmytriyenko
0 siblings, 2 replies; 5+ messages in thread
From: Andrew Davis @ 2025-03-11 14:37 UTC (permalink / raw)
To: Denys Dmytriyenko, Ryan Eatmon, meta-arago; +Cc: Andrew Davis
Signed-off-by: Andrew Davis <afd@ti.com>
---
.../recipes-multimedia/nnshark/nnshark_git.bb | 38 +++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb
diff --git a/meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb b/meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb
new file mode 100644
index 00000000..1a3d8ad5
--- /dev/null
+++ b/meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb
@@ -0,0 +1,38 @@
+SUMMARY = "A GStreamer NNstreamer pipelines real-time profiling plugin"
+HOMEPAGE = "https://github.com/nnstreamer/nnshark"
+
+LICENSE = "GPL-2.0-only & LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e1caa368743492879002ad032445fa97 \
+ file://COPYING.LESSER;md5=66c40c88533cd228b5b85936709801c8"
+
+SRC_URI = "git://github.com/nnstreamer/nnshark.git;protocol=https;branch=master;name=nnshark \
+ git://github.com/GStreamer/common.git;protocol=https;branch=master;name=common;subdir=${S}/common \
+"
+
+SRCREV_FORMAT="default"
+SRCREV_nnshark="bcee91b23a98c981b87051fe1b2ad545991c4aa2"
+SRCREV_common="b64f03f6090245624608beb5d2fff335e23a01c0"
+
+S = "${WORKDIR}/git"
+
+DEPENDS = "\
+ gtk-doc-native \
+ gstreamer1.0 \
+ gstreamer1.0-plugins-base \
+"
+
+inherit pkgconfig autotools-brokensep
+
+EXTRA_OECONF = " \
+ --disable-graphviz \
+ --disable-gtk-doc \
+"
+
+do_configure:prepend() {
+ sh autogen.sh --noconfigure
+}
+
+FILES:${PN} += "\
+ ${libdir}/gstreamer-1.0/libgstsharktracers.so \
+ ${libdir}/gstreamer-1.0/libgstsharktracers.la \
+"
--
2.39.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [meta-arago][master/scarthgap][PATCH] meta-arago-extras: Add recipe for NNShark
2025-03-11 14:37 [meta-arago][master/scarthgap][PATCH] meta-arago-extras: Add recipe for NNShark Andrew Davis
@ 2025-03-11 15:58 ` Chirag Shilwant
2025-03-11 16:26 ` Denys Dmytriyenko
2025-03-11 16:10 ` Denys Dmytriyenko
1 sibling, 1 reply; 5+ messages in thread
From: Chirag Shilwant @ 2025-03-11 15:58 UTC (permalink / raw)
To: meta-arago; +Cc: Denys Dmytriyenko, Ryan Eatmon, afd
Hello Andrew,
On 11/03/25 20:07, Andrew Davis via lists.yoctoproject.org wrote:
> Signed-off-by: Andrew Davis <afd@ti.com>
> ---
> .../recipes-multimedia/nnshark/nnshark_git.bb | 38 +++++++++++++++++++
> 1 file changed, 38 insertions(+)
> create mode 100644 meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb
>
> diff --git a/meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb b/meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb
> new file mode 100644
> index 00000000..1a3d8ad5
> --- /dev/null
> +++ b/meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb
> @@ -0,0 +1,38 @@
> +SUMMARY = "A GStreamer NNstreamer pipelines real-time profiling plugin"
nitpick, the below sounds much better?
SUMMARY = "A GStreamer plugin to support real-time performance profiling
of NNStreamer pipelines."
> +HOMEPAGE = "https://github.com/nnstreamer/nnshark"
> +
> +LICENSE = "GPL-2.0-only & LGPL-2.1-only"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=e1caa368743492879002ad032445fa97 \
> + file://COPYING.LESSER;md5=66c40c88533cd228b5b85936709801c8"
> +
> +SRC_URI = "git://github.com/nnstreamer/nnshark.git;protocol=https;branch=master;name=nnshark \
> + git://github.com/GStreamer/common.git;protocol=https;branch=master;name=common;subdir=${S}/common \
> +"
any specific reasons to not go with something like below,
SRC_URI =
"gitsm://github.com/nnstreamer/nnshark.git;protocol=https;branch=master \
"
SRCREV = "bcee91b23a98c981b87051fe1b2ad545991c4aa2"
> +
> +SRCREV_FORMAT="default"
> +SRCREV_nnshark="bcee91b23a98c981b87051fe1b2ad545991c4aa2"
> +SRCREV_common="b64f03f6090245624608beb5d2fff335e23a01c0"
> +
> +S = "${WORKDIR}/git"
probably master might need a separate patch for UNPACKDIR stuff?
--
Chirag
> +
> +DEPENDS = "\
> + gtk-doc-native \
> + gstreamer1.0 \
> + gstreamer1.0-plugins-base \
> +"
> +
> +inherit pkgconfig autotools-brokensep
> +
> +EXTRA_OECONF = " \
> + --disable-graphviz \
> + --disable-gtk-doc \
> +"
> +
> +do_configure:prepend() {
> + sh autogen.sh --noconfigure
> +}
> +
> +FILES:${PN} += "\
> + ${libdir}/gstreamer-1.0/libgstsharktracers.so \
> + ${libdir}/gstreamer-1.0/libgstsharktracers.la \
> +"
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-arago][master/scarthgap][PATCH] meta-arago-extras: Add recipe for NNShark
2025-03-11 14:37 [meta-arago][master/scarthgap][PATCH] meta-arago-extras: Add recipe for NNShark Andrew Davis
2025-03-11 15:58 ` Chirag Shilwant
@ 2025-03-11 16:10 ` Denys Dmytriyenko
1 sibling, 0 replies; 5+ messages in thread
From: Denys Dmytriyenko @ 2025-03-11 16:10 UTC (permalink / raw)
To: afd; +Cc: Denys Dmytriyenko, Ryan Eatmon, meta-arago
On Tue, Mar 11, 2025 at 09:37:44AM -0500, Andrew Davis via lists.yoctoproject.org wrote:
> Signed-off-by: Andrew Davis <afd@ti.com>
> ---
> .../recipes-multimedia/nnshark/nnshark_git.bb | 38 +++++++++++++++++++
> 1 file changed, 38 insertions(+)
> create mode 100644 meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb
>
> diff --git a/meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb b/meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb
> new file mode 100644
> index 00000000..1a3d8ad5
> --- /dev/null
> +++ b/meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb
> @@ -0,0 +1,38 @@
> +SUMMARY = "A GStreamer NNstreamer pipelines real-time profiling plugin"
> +HOMEPAGE = "https://github.com/nnstreamer/nnshark"
> +
> +LICENSE = "GPL-2.0-only & LGPL-2.1-only"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=e1caa368743492879002ad032445fa97 \
> + file://COPYING.LESSER;md5=66c40c88533cd228b5b85936709801c8"
> +
> +SRC_URI = "git://github.com/nnstreamer/nnshark.git;protocol=https;branch=master;name=nnshark \
> + git://github.com/GStreamer/common.git;protocol=https;branch=master;name=common;subdir=${S}/common \
> +"
> +
> +SRCREV_FORMAT="default"
> +SRCREV_nnshark="bcee91b23a98c981b87051fe1b2ad545991c4aa2"
> +SRCREV_common="b64f03f6090245624608beb5d2fff335e23a01c0"
You might want to fix these ^
https://lists.yoctoproject.org/g/meta-ti/message/18319
> +S = "${WORKDIR}/git"
> +
> +DEPENDS = "\
> + gtk-doc-native \
> + gstreamer1.0 \
> + gstreamer1.0-plugins-base \
> +"
> +
> +inherit pkgconfig autotools-brokensep
> +
> +EXTRA_OECONF = " \
> + --disable-graphviz \
> + --disable-gtk-doc \
> +"
> +
> +do_configure:prepend() {
> + sh autogen.sh --noconfigure
> +}
> +
> +FILES:${PN} += "\
> + ${libdir}/gstreamer-1.0/libgstsharktracers.so \
> + ${libdir}/gstreamer-1.0/libgstsharktracers.la \
> +"
> --
> 2.39.2
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-arago][master/scarthgap][PATCH] meta-arago-extras: Add recipe for NNShark
2025-03-11 15:58 ` Chirag Shilwant
@ 2025-03-11 16:26 ` Denys Dmytriyenko
2025-03-11 17:32 ` Andrew Davis
0 siblings, 1 reply; 5+ messages in thread
From: Denys Dmytriyenko @ 2025-03-11 16:26 UTC (permalink / raw)
To: c-shilwant; +Cc: meta-arago, Denys Dmytriyenko, Ryan Eatmon, afd
On Tue, Mar 11, 2025 at 09:28:44PM +0530, Chirag Shilwant via lists.yoctoproject.org wrote:
> Hello Andrew,
>
> On 11/03/25 20:07, Andrew Davis via lists.yoctoproject.org wrote:
> >Signed-off-by: Andrew Davis <afd@ti.com>
> >---
> > .../recipes-multimedia/nnshark/nnshark_git.bb | 38 +++++++++++++++++++
> > 1 file changed, 38 insertions(+)
> > create mode 100644 meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb
> >
> >diff --git a/meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb b/meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb
> >new file mode 100644
> >index 00000000..1a3d8ad5
> >--- /dev/null
> >+++ b/meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb
> >@@ -0,0 +1,38 @@
> >+SUMMARY = "A GStreamer NNstreamer pipelines real-time profiling plugin"
>
>
> nitpick, the below sounds much better?
>
> SUMMARY = "A GStreamer plugin to support real-time performance
> profiling of NNStreamer pipelines."
This is 86+ characters long, which is too long for the SUMMARY (72 max). Also,
no dots at the end of the SUMMARY, only in the DESCRIPTION, which happens
automatically if not set explicitly.
> >+HOMEPAGE = "https://github.com/nnstreamer/nnshark"
> >+
> >+LICENSE = "GPL-2.0-only & LGPL-2.1-only"
> >+LIC_FILES_CHKSUM = "file://COPYING;md5=e1caa368743492879002ad032445fa97 \
> >+ file://COPYING.LESSER;md5=66c40c88533cd228b5b85936709801c8"
> >+
> >+SRC_URI = "git://github.com/nnstreamer/nnshark.git;protocol=https;branch=master;name=nnshark \
> >+ git://github.com/GStreamer/common.git;protocol=https;branch=master;name=common;subdir=${S}/common \
> >+"
>
> any specific reasons to not go with something like below,
>
> SRC_URI = "gitsm://github.com/nnstreamer/nnshark.git;protocol=https;branch=master
> \
> "
>
> SRCREV = "bcee91b23a98c981b87051fe1b2ad545991c4aa2"
Unless you want to control each SRCREV separately.
> >+SRCREV_FORMAT="default"
> >+SRCREV_nnshark="bcee91b23a98c981b87051fe1b2ad545991c4aa2"
> >+SRCREV_common="b64f03f6090245624608beb5d2fff335e23a01c0"
> >+
> >+S = "${WORKDIR}/git"
>
> probably master might need a separate patch for UNPACKDIR stuff?
No changes for git based recipes needed.
> >+
> >+DEPENDS = "\
> >+ gtk-doc-native \
> >+ gstreamer1.0 \
> >+ gstreamer1.0-plugins-base \
> >+"
> >+
> >+inherit pkgconfig autotools-brokensep
> >+
> >+EXTRA_OECONF = " \
> >+ --disable-graphviz \
> >+ --disable-gtk-doc \
> >+"
> >+
> >+do_configure:prepend() {
> >+ sh autogen.sh --noconfigure
> >+}
> >+
> >+FILES:${PN} += "\
> >+ ${libdir}/gstreamer-1.0/libgstsharktracers.so \
> >+ ${libdir}/gstreamer-1.0/libgstsharktracers.la \
> >+"
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-arago][master/scarthgap][PATCH] meta-arago-extras: Add recipe for NNShark
2025-03-11 16:26 ` Denys Dmytriyenko
@ 2025-03-11 17:32 ` Andrew Davis
0 siblings, 0 replies; 5+ messages in thread
From: Andrew Davis @ 2025-03-11 17:32 UTC (permalink / raw)
To: Denys Dmytriyenko, c-shilwant; +Cc: meta-arago, Denys Dmytriyenko, Ryan Eatmon
On 3/11/25 11:26 AM, Denys Dmytriyenko wrote:
> On Tue, Mar 11, 2025 at 09:28:44PM +0530, Chirag Shilwant via lists.yoctoproject.org wrote:
>> Hello Andrew,
>>
>> On 11/03/25 20:07, Andrew Davis via lists.yoctoproject.org wrote:
>>> Signed-off-by: Andrew Davis <afd@ti.com>
>>> ---
>>> .../recipes-multimedia/nnshark/nnshark_git.bb | 38 +++++++++++++++++++
>>> 1 file changed, 38 insertions(+)
>>> create mode 100644 meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb
>>>
>>> diff --git a/meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb b/meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb
>>> new file mode 100644
>>> index 00000000..1a3d8ad5
>>> --- /dev/null
>>> +++ b/meta-arago-extras/recipes-multimedia/nnshark/nnshark_git.bb
>>> @@ -0,0 +1,38 @@
>>> +SUMMARY = "A GStreamer NNstreamer pipelines real-time profiling plugin"
>>
>>
>> nitpick, the below sounds much better?
>>
>> SUMMARY = "A GStreamer plugin to support real-time performance
>> profiling of NNStreamer pipelines."
>
> This is 86+ characters long, which is too long for the SUMMARY (72 max). Also,
> no dots at the end of the SUMMARY, only in the DESCRIPTION, which happens
> automatically if not set explicitly.
>
>
>>> +HOMEPAGE = "https://github.com/nnstreamer/nnshark"
>>> +
>>> +LICENSE = "GPL-2.0-only & LGPL-2.1-only"
>>> +LIC_FILES_CHKSUM = "file://COPYING;md5=e1caa368743492879002ad032445fa97 \
>>> + file://COPYING.LESSER;md5=66c40c88533cd228b5b85936709801c8"
>>> +
>>> +SRC_URI = "git://github.com/nnstreamer/nnshark.git;protocol=https;branch=master;name=nnshark \
>>> + git://github.com/GStreamer/common.git;protocol=https;branch=master;name=common;subdir=${S}/common \
>>> +"
>>
>> any specific reasons to not go with something like below,
>>
>> SRC_URI = "gitsm://github.com/nnstreamer/nnshark.git;protocol=https;branch=master
>> \
>> "
>>
>> SRCREV = "bcee91b23a98c981b87051fe1b2ad545991c4aa2"
>
> Unless you want to control each SRCREV separately.
>
Right, that is the reason I do this, the version of "common" when
pulled as a submodule is not available, we have the exact same issue
for TI GST plugins and we patch around[0]. This way of pulling "common"
manually with SRC_URI seemed better.
Andrew
[0] https://git.yoctoproject.org/meta-arago/tree/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-vpe/0001-Switch-submodule-common-to-github.patch
>
>>> +SRCREV_FORMAT="default"
>>> +SRCREV_nnshark="bcee91b23a98c981b87051fe1b2ad545991c4aa2"
>>> +SRCREV_common="b64f03f6090245624608beb5d2fff335e23a01c0"
>>> +
>>> +S = "${WORKDIR}/git"
>>
>> probably master might need a separate patch for UNPACKDIR stuff?
>
> No changes for git based recipes needed.
>
>
>>> +
>>> +DEPENDS = "\
>>> + gtk-doc-native \
>>> + gstreamer1.0 \
>>> + gstreamer1.0-plugins-base \
>>> +"
>>> +
>>> +inherit pkgconfig autotools-brokensep
>>> +
>>> +EXTRA_OECONF = " \
>>> + --disable-graphviz \
>>> + --disable-gtk-doc \
>>> +"
>>> +
>>> +do_configure:prepend() {
>>> + sh autogen.sh --noconfigure
>>> +}
>>> +
>>> +FILES:${PN} += "\
>>> + ${libdir}/gstreamer-1.0/libgstsharktracers.so \
>>> + ${libdir}/gstreamer-1.0/libgstsharktracers.la \
>>> +"
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-03-11 17:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-11 14:37 [meta-arago][master/scarthgap][PATCH] meta-arago-extras: Add recipe for NNShark Andrew Davis
2025-03-11 15:58 ` Chirag Shilwant
2025-03-11 16:26 ` Denys Dmytriyenko
2025-03-11 17:32 ` Andrew Davis
2025-03-11 16:10 ` Denys Dmytriyenko
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.