Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCHv2] recipes-multimedia/gstreamer: Add gst-validate recipe
@ 2017-12-06 22:00 Aníbal Limón
  2017-12-12 12:21 ` Burton, Ross
  2017-12-12 12:23 ` Burton, Ross
  0 siblings, 2 replies; 5+ messages in thread
From: Aníbal Limón @ 2017-12-06 22:00 UTC (permalink / raw)
  To: openembedded-core; +Cc: Aníbal Limón

From: Aníbal Limón <anibal.limon@linaro.org>

The gst-validate is a tool to run integration tests of Gstreamer
components [1].

This tool can be used along with gst-integration-testsuites (scenarios
and media) [2] to test Gstreamer components on the target device.

An example of test using gst-integration-testsuites:

$ gst-validate-launcher --sync # get [2] uses git and git-annex
$ gst-validate-launcher

or

$ gst-validate-launcher -nd # needs xserver-xorg-xvfb to run wo DISPLAY

[1]
https://blogs.gnome.org/tsaunier/2014/04/21/gst-validate-a-suite-of-tools-to-run-integration-tests-for-gstreamer-2/
[2] https://cgit.freedesktop.org/gstreamer/gst-integration-testsuites

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
---
 .../gstreamer/gst-validate_1.12.3.bb                 | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta/recipes-multimedia/gstreamer/gst-validate_1.12.3.bb

diff --git a/meta/recipes-multimedia/gstreamer/gst-validate_1.12.3.bb b/meta/recipes-multimedia/gstreamer/gst-validate_1.12.3.bb
new file mode 100644
index 0000000000..47f4a260f8
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gst-validate_1.12.3.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Gstreamer validation tool"
+DESCRIPTION = "A Tool to test GStreamer components"
+HOMEPAGE = "https://gstreamer.freedesktop.org/releases/gst-validate/1.12.3.html"
+SECTION = "multimedia"
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
+
+SRC_URI = "https://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.xz"
+SRC_URI[md5sum] = "623edc479a1e5c1e76bd7e1cf8393253"
+SRC_URI[sha256sum] = "5139949d20274fdd702492438eeab2c9e55aa82f60aca17db27ebd3faf08489e"
+
+DEPENDS = "json-glib glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base"
+
+# to use non display mode in gst-validate-launcher
+RDEPENDS_${PN} = "xserver-xorg-xvfb" 
+
+FILES_${PN} += "${datadir}/gstreamer-1.0/* ${libdir}/gst-validate-launcher/* ${libdir}/gstreamer-1.0/*"
+
+inherit pkgconfig gettext autotools gobject-introspection gtk-doc
-- 
2.11.0



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

* Re: [PATCHv2] recipes-multimedia/gstreamer: Add gst-validate recipe
  2017-12-06 22:00 [PATCHv2] recipes-multimedia/gstreamer: Add gst-validate recipe Aníbal Limón
@ 2017-12-12 12:21 ` Burton, Ross
  2017-12-12 12:23 ` Burton, Ross
  1 sibling, 0 replies; 5+ messages in thread
From: Burton, Ross @ 2017-12-12 12:21 UTC (permalink / raw)
  To: Aníbal Limón; +Cc: Aníbal Limón, OE-core

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

On 6 December 2017 at 22:00, Aníbal Limón <limon.anibal@gmail.com> wrote:

> +# to use non display mode in gst-validate-launcher
> +RDEPENDS_${PN} = "xserver-xorg-xvfb"
>

Don't enforce behaviour.  This forces the xvfb server into images which
have a proper server, and gst-validate refuses to build if the X11 distro
feature is disabled.

Ross

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

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

* Re: [PATCHv2] recipes-multimedia/gstreamer: Add gst-validate recipe
  2017-12-06 22:00 [PATCHv2] recipes-multimedia/gstreamer: Add gst-validate recipe Aníbal Limón
  2017-12-12 12:21 ` Burton, Ross
@ 2017-12-12 12:23 ` Burton, Ross
  2017-12-12 12:50   ` Otavio Salvador
  1 sibling, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2017-12-12 12:23 UTC (permalink / raw)
  To: Aníbal Limón; +Cc: Aníbal Limón, OE-core

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

On 6 December 2017 at 22:00, Aníbal Limón <limon.anibal@gmail.com> wrote:

> +SRC_URI = "https://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.xz
> "
>

ERROR: lib32-gst-validate-1.12.3-r0 do_fetch: Fetcher failure for URL: '
https://gstreamer.freedesktop.org/src/lib32-gst-validate/lib32-gst-validate-1.12.3.tar.xz'.
Unable to fetch URL from any source.

You need to use BPN not PN, but use ${BP} instead of of BPN-PV.

Ross

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

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

* Re: [PATCHv2] recipes-multimedia/gstreamer: Add gst-validate recipe
  2017-12-12 12:23 ` Burton, Ross
@ 2017-12-12 12:50   ` Otavio Salvador
       [not found]     ` <CA+_AqivtiNwbdU8mjYpEj_PiccuuJroxJXbyOgb_xoRaa7SBKQ@mail.gmail.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2017-12-12 12:50 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core, Aníbal Limón

On Tue, Dec 12, 2017 at 10:23 AM, Burton, Ross <ross.burton@intel.com> wrote:
> On 6 December 2017 at 22:00, Aníbal Limón <limon.anibal@gmail.com> wrote:
>>
>> +SRC_URI =
>> "https://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.xz"
>
>
> ERROR: lib32-gst-validate-1.12.3-r0 do_fetch: Fetcher failure for URL:
> 'https://gstreamer.freedesktop.org/src/lib32-gst-validate/lib32-gst-validate-1.12.3.tar.xz'.
> Unable to fetch URL from any source.
>
> You need to use BPN not PN, but use ${BP} instead of of BPN-PV.

Also, it should rdepends on git and git-annex no?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: [PATCHv2] recipes-multimedia/gstreamer: Add gst-validate recipe
       [not found]     ` <CA+_AqivtiNwbdU8mjYpEj_PiccuuJroxJXbyOgb_xoRaa7SBKQ@mail.gmail.com>
@ 2017-12-12 16:42       ` Otavio Salvador
  0 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2017-12-12 16:42 UTC (permalink / raw)
  To: Anibal Limon; +Cc: OE-core

On Tue, Dec 12, 2017 at 1:51 PM, Anibal Limon <anibal.limon@linaro.org> wrote:
>
>
> On 12 December 2017 at 06:50, Otavio Salvador
> <otavio.salvador@ossystems.com.br> wrote:
>>
>> On Tue, Dec 12, 2017 at 10:23 AM, Burton, Ross <ross.burton@intel.com>
>> wrote:
>> > On 6 December 2017 at 22:00, Aníbal Limón <limon.anibal@gmail.com>
>> > wrote:
>> >>
>> >> +SRC_URI =
>> >> "https://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.xz"
>> >
>> >
>> > ERROR: lib32-gst-validate-1.12.3-r0 do_fetch: Fetcher failure for URL:
>> >
>> > 'https://gstreamer.freedesktop.org/src/lib32-gst-validate/lib32-gst-validate-1.12.3.tar.xz'.
>> > Unable to fetch URL from any source.
>> >
>> > You need to use BPN not PN, but use ${BP} instead of of BPN-PV.
>>
>> Also, it should rdepends on git and git-annex no?
>
>
>
> Yes, i can add the git dependency but git-annex depends on haskell that we
> don't have a recipe to build.
>
> You can copy/populate the gst-integration-testsuites from other source or
> create/use other test suites.

Would be possible to populate a package? so we'd depend on git-annex
on host for it?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

end of thread, other threads:[~2017-12-12 16:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-06 22:00 [PATCHv2] recipes-multimedia/gstreamer: Add gst-validate recipe Aníbal Limón
2017-12-12 12:21 ` Burton, Ross
2017-12-12 12:23 ` Burton, Ross
2017-12-12 12:50   ` Otavio Salvador
     [not found]     ` <CA+_AqivtiNwbdU8mjYpEj_PiccuuJroxJXbyOgb_xoRaa7SBKQ@mail.gmail.com>
2017-12-12 16:42       ` Otavio Salvador

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox