Skip to contentSkip to conversation

gst1-shark: new package

PATCH New Chris Packham 3 participants 4 messages Jan 25, 2019 – Feb 6, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gst1-shark: new package

GstShark leverages GStreamers newest instrumentation subsystem by installing a set of custom hooks to the trace points. A variety of data analytics are extracted and presented to the user in a graphical, friendly way.

https://developer.ridgerun.com/wiki/index.php?title=GstShark
https://github.com/RidgeRun/gst-shark

Cc Wolfgang Grandegger <[email protected]>
Cc Jo?o Victor Oliveira <[email protected]>
Cc Adam Duskett <[email protected]>
Cc Igor Miranda <[email protected]>

---
I saw a few emails on the list with problems building gst-shark but nothing that actually added the package. I figured I'd give it a go. This seems to work (build) for me but I have no idea about using gstreamer so I may have missed something.

 package/gstreamer1/Config.in                  |  1 +
 package/gstreamer1/gst1-shark/Config.in       | 12 ++++++++++++
 package/gstreamer1/gst1-shark/gst1-shark.hash |  5 +++++
 package/gstreamer1/gst1-shark/gst1-shark.mk   | 19 +++++++++++++++++++
 4 files changed, 37 insertions(+)
 create mode 100644 package/gstreamer1/gst1-shark/Config.in
 create mode 100644 package/gstreamer1/gst1-shark/gst1-shark.hash
 create mode 100644 package/gstreamer1/gst1-shark/gst1-shark.mk
package/gstreamer1/Config.in +1 -0
index 28b1ed25c5..922ecefcff 100644
@@ -11,6 +11,7 @@ source "package/gstreamer1/gst1-imx/Config.in"
 source "package/gstreamer1/gst1-interpipe/Config.in"
 source "package/gstreamer1/gst1-libav/Config.in"
 source "package/gstreamer1/gst1-rtsp-server/Config.in"
+source "package/gstreamer1/gst1-shark/Config.in"
 source "package/gstreamer1/gst1-validate/Config.in"
 source "package/gstreamer1/gst1-vaapi/Config.in"
 source "package/gstreamer1/gst-omx/Config.in"
package/gstreamer1/gst1-shark/Config.in new file +12 -0
new file mode 100644
index 0000000000..0f9ddb30bc
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_GST1_SHARK
+	bool "gst-shark"
+	select BR2_PACKAGE_GSTREAMER1_CHECK
+	select BR2_PACKAGE_GST1_PLUGINS_BASE
+	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
+	help
+	  GstShark leverages GStreamers newest instrumentation subsystem
+	  by installing a set of custom hooks to the trace points. A
+	  variety of data analytics are extracted and presented to the
+	  user in a graphical, friendly way.
+
+	  https://github.com/RidgeRun/gst-shark
package/gstreamer1/gst1-shark/gst1-shark.hash new file +5 -0
new file mode 100644
index 0000000000..fdcbc563a8
@@ -0,0 +1,5 @@
+# locally computed hash
+sha256 35c56b89c10f42c623f5831f9533e1b9dcab8946eff0e4000bf3137bad5c705a  gst1-shark-v0.5.5.tar.gz
+
+# Hashes for license files:
+sha256 6d191b8f1fa03cabced18b8e48fddbf960a19f965bed8491e76ed62238f92f0b  COPYING
package/gstreamer1/gst1-shark/gst1-shark.mk new file +19 -0
new file mode 100644
index 0000000000..75fd155b41
@@ -0,0 +1,19 @@
+################################################################################
+#
+# gst1-shark
+#
+################################################################################
+
+GST1_SHARK_VERSION = v0.5.5
+GST1_SHARK_SITE =  https://github.com/RidgeRun/gst-shark.git
+GST1_SHARK_SITE_METHOD = git
+GST1_SHARK_GIT_SUBMODULES = YES
+
+GST1_SHARK_LICENSE = LGPL-2.1
+GST1_SHARK_LICENSE_FILES = COPYING
+
+GST1_SHARK_AUTORECONF = YES
+GST1_SHARK_DEPENDENCIES = host-pkgconf gstreamer1 gst1-plugins-base
+GST1_SHARK_CONF_OPTS = --disable-graphviz
+
+$(eval $(autotools-package))
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 gst1-shark: new package

Hi Chris and all,

Quoted 97 lines · Chris Packham

GstShark leverages GStreamers newest instrumentation subsystem by installing a set of custom hooks to the trace points. A variety of data
analytics are extracted and presented to the user in a graphical, friendly way.

https://developer.ridgerun.com/wiki/index.php?title=GstShark
https://github.com/RidgeRun/gst-shark

Cc Wolfgang Grandegger <[email protected]>
Cc Jo?o Victor Oliveira <[email protected]>
Cc Adam Duskett <[email protected]>
Cc Igor Miranda <[email protected]>

---
I saw a few emails on the list with problems building gst-shark but nothing
that actually added the package. I figured I'd give it a go. This seems to work
(build) for me but I have no idea about using gstreamer so I may have missed
something.

 package/gstreamer1/Config.in                  |  1 +
 package/gstreamer1/gst1-shark/Config.in       | 12 ++++++++++++
 package/gstreamer1/gst1-shark/gst1-shark.hash |  5 +++++
 package/gstreamer1/gst1-shark/gst1-shark.mk   | 19
+++++++++++++++++++
 4 files changed, 37 insertions(+)
 create mode 100644 package/gstreamer1/gst1-shark/Config.in
 create mode 100644 package/gstreamer1/gst1-shark/gst1-shark.hash
 create mode 100644 package/gstreamer1/gst1-shark/gst1-shark.mk
package/gstreamer1/Config.in +1 -0
index 28b1ed25c5..922ecefcff 100644
@@ -11,6 +11,7 @@ source "package/gstreamer1/gst1-imx/Config.in"
 source "package/gstreamer1/gst1-interpipe/Config.in"
 source "package/gstreamer1/gst1-libav/Config.in"
 source "package/gstreamer1/gst1-rtsp-server/Config.in"
+source "package/gstreamer1/gst1-shark/Config.in"
 source "package/gstreamer1/gst1-validate/Config.in"
 source "package/gstreamer1/gst1-vaapi/Config.in"
 source "package/gstreamer1/gst-omx/Config.in"
package/gstreamer1/gst1-shark/Config.in new file +7 -0
new file mode 100644
index 0000000000..0f9ddb30bc
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_GST1_SHARK
+	bool "gst-shark"
+	select BR2_PACKAGE_GSTREAMER1_CHECK
+	select BR2_PACKAGE_GST1_PLUGINS_BASE
+	select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
+	help
+	  GstShark leverages GStreamers newest instrumentation

subsystem

package/gstreamer1/gst1-shark/Config.in new file +2 -0
+	  by installing a set of custom hooks to the trace points. A
+	  variety of data analytics are extracted and presented to

the

package/gstreamer1/gst1-shark/Config.in new file +3 -0
+	  user in a graphical, friendly way.
+
+	  https://github.com/RidgeRun/gst-shark
package/gstreamer1/gst1-shark/gst1-shark.hash new file +2 -0
new file mode 100644
index 0000000000..fdcbc563a8
@@ -0,0 +1,5 @@
+# locally computed hash
+sha256

35c56b89c10f42c623f5831f9533e1b9dcab8946eff0e4000bf3137bad5c705a gst 1-shark-v0.5.5.tar.gz

package/gstreamer1/gst1-shark/gst1-shark.hash new file +3 -0
+
+# Hashes for license files:
+sha256

6d191b8f1fa03cabced18b8e48fddbf960a19f965bed8491e76ed62238f92f0b COP YING

package/gstreamer1/gst1-shark/gst1-shark.mk new file +1 -0
new file mode 100644
index 0000000000..75fd155b41
@@ -0,0 +1,19 @@
+####################################################################

############

package/gstreamer1/gst1-shark/gst1-shark.mk new file +4 -0
+#
+# gst1-shark
+#
+####################################################################

############

package/gstreamer1/gst1-shark/gst1-shark.mk

Quoted 5 lines
package/gstreamer1/gst1-shark/gst1-shark.mk new file +5 -0
+
+GST1_SHARK_VERSION = v0.5.5
+GST1_SHARK_SITE =  https://github.com/RidgeRun/gst-shark.git
+GST1_SHARK_SITE_METHOD = git
+GST1_SHARK_GIT_SUBMODULES = 

You could use the github package site helper here (see https://buildroo
t.org/downloads/manual/manual.html#github-download-url) and get rid off this empty _GIT_SUBMODULES line (and benefit from the unified Buildroot infrastructure)

package/gstreamer1/gst1-shark/gst1-shark.mk line 19

Quoted 9 lines
package/gstreamer1/gst1-shark/gst1-shark.mk new file +9 -0
+
+GST1_SHARK_LICENSE = LGPL-2.1
+GST1_SHARK_LICENSE_FILES = COPYING
+
+GST1_SHARK_AUTORECONF = YES
+GST1_SHARK_DEPENDENCIES = host-pkgconf gstreamer1 gst1-plugins-base
+GST1_SHARK_CONF_OPTS = --disable-graphviz
+
+$(eval $(autotools-package))

Also, you should probably add yourself to the DEVELOPERS file for this package.

Titouan

#2 lore raw

PATCH 1/1 gst1-shark: new package

Hello Titouan,

Quoted 7 lines · On Mon, 04 Feb 2019 13:18:28 +0100 Titouan Christophe…

package/gstreamer1/gst1-shark/gst1-shark.mk

Quoted 4 lines
package/gstreamer1/gst1-shark/gst1-shark.mk new file +4 -0
+GST1_SHARK_VERSION = v0.5.5
+GST1_SHARK_SITE =  https://github.com/RidgeRun/gst-shark.git
+GST1_SHARK_SITE_METHOD = git
+GST1_SHARK_GIT_SUBMODULES =   

You could use the github package site helper here (see https://buildroo
t.org/downloads/manual/manual.html#github-download-url) and get rid off this empty _GIT_SUBMODULES line (and benefit from the unified Buildroot infrastructure)

I'm not sure what happened, but the GIT_SUBMODULES variable is set to YES in Chris patch.

BTW, your email client is badly configured:

- It is rewrapping quotations
- It is not wrapping long lines of your replies

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw

PATCH 1/1 gst1-shark: new package

In reply to Chris Packham

Hello,

Quoted 5 lines · On Fri, 25 Jan 2019 22:13:22 +1300 Chris Packham <[email protected]>…

GstShark leverages GStreamers newest instrumentation subsystem by installing a set of custom hooks to the trace points. A variety of data analytics are extracted and presented to the user in a graphical, friendly way.

Quoted 8 lines

https://developer.ridgerun.com/wiki/index.php?title=GstShark
https://github.com/RidgeRun/gst-shark

Cc Wolfgang Grandegger <[email protected]>
Cc Jo?o Victor Oliveira <[email protected]>
Cc Adam Duskett <[email protected]>
Cc Igor Miranda <[email protected]>

Applied, with the following changes:

[Thomas:
- fix package prompt to be gtk1-shark in Config.in
- license is LGPL-2.1+, not LGPL-2.1
- add entry to DEVELOPERS file]

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com