public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Jose Quaresma" <quaresma.jose@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Jose Quaresma <quaresma.jose@gmail.com>
Subject: [PATCH v5 19/22] gst-devtools: add version 1.18.0 (gst-validate -> gst-devtools)
Date: Thu, 29 Oct 2020 14:28:03 +0000	[thread overview]
Message-ID: <20201029142806.1830504-20-quaresma.jose@gmail.com> (raw)
In-Reply-To: <20201029142806.1830504-1-quaresma.jose@gmail.com>

The gst-validate tarball has been superseded by the gst-devtools tarball for consistency with the git module name.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
---
 ...ct-has-a-different-signature-on-musl.patch | 10 ++---
 .../gstreamer/gst-devtools_1.18.0.bb          | 43 +++++++++++++++++++
 .../gstreamer/gst-validate_1.16.2.bb          | 25 -----------
 3 files changed, 48 insertions(+), 30 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gst-validate => gst-devtools}/0001-connect-has-a-different-signature-on-musl.patch (76%)
 create mode 100644 meta/recipes-multimedia/gstreamer/gst-devtools_1.18.0.bb
 delete mode 100644 meta/recipes-multimedia/gstreamer/gst-validate_1.16.2.bb

diff --git a/meta/recipes-multimedia/gstreamer/gst-validate/0001-connect-has-a-different-signature-on-musl.patch b/meta/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch
similarity index 76%
rename from meta/recipes-multimedia/gstreamer/gst-validate/0001-connect-has-a-different-signature-on-musl.patch
rename to meta/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch
index a0d215c5a0..c0e4581358 100644
--- a/meta/recipes-multimedia/gstreamer/gst-validate/0001-connect-has-a-different-signature-on-musl.patch
+++ b/meta/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch
@@ -1,4 +1,4 @@
-From 0bd8004d8dddc486d3961a5316d24e8f2645e4c8 Mon Sep 17 00:00:00 2001
+From 73b1002eda17451db1f58431b42c25203f1d3097 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Sun, 9 Sep 2018 17:38:10 -0700
 Subject: [PATCH] connect has a different signature on musl
@@ -12,13 +12,13 @@ Upstream-Status: Pending
 
 Signed-off-by: Khem Raj <raj.khem@gmail.com>
 ---
- plugins/fault_injection/socket_interposer.c | 7 ++++++-
+ validate/plugins/fault_injection/socket_interposer.c | 7 ++++++-
  1 file changed, 6 insertions(+), 1 deletion(-)
 
-diff --git a/plugins/fault_injection/socket_interposer.c b/plugins/fault_injection/socket_interposer.c
+diff --git a/validate/plugins/fault_injection/socket_interposer.c b/validate/plugins/fault_injection/socket_interposer.c
 index 53c1ebb..ad7adf8 100644
---- a/plugins/fault_injection/socket_interposer.c
-+++ b/plugins/fault_injection/socket_interposer.c
+--- a/validate/plugins/fault_injection/socket_interposer.c
++++ b/validate/plugins/fault_injection/socket_interposer.c
 @@ -100,10 +100,15 @@ socket_interposer_set_callback (struct sockaddr_in *addrin,
  }
  
diff --git a/meta/recipes-multimedia/gstreamer/gst-devtools_1.18.0.bb b/meta/recipes-multimedia/gstreamer/gst-devtools_1.18.0.bb
new file mode 100644
index 0000000000..63e7a99b4f
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gst-devtools_1.18.0.bb
@@ -0,0 +1,43 @@
+SUMMARY = "Gstreamer validation tool"
+DESCRIPTION = "A Tool to test GStreamer components"
+HOMEPAGE = "https://gstreamer.freedesktop.org/documentation/gst-devtools/index.html"
+SECTION = "multimedia"
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://validate/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
+
+#S = "${WORKDIR}/gst-devtools-${PV}"
+
+SRC_URI = "https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-${PV}.tar.xz \
+           file://0001-connect-has-a-different-signature-on-musl.patch \
+           "
+
+SRC_URI[md5sum] = "37ca48ea06fb4304cfc9009ec924bc52"
+SRC_URI[sha256sum] = "82337141b5654f11c440f783892ba9d9498b3b6b98c2286b000f96dce6945f16"
+
+DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base"
+RRECOMMENDS_${PN} = "git"
+
+FILES_${PN} += "${datadir}/gstreamer-1.0/* ${libdir}/gst-validate-launcher/* ${libdir}/gstreamer-1.0/*"
+
+inherit meson pkgconfig gettext upstream-version-is-even gobject-introspection
+
+# TODO: put this in a gettext.bbclass patch
+def gettext_oemeson(d):
+    if d.getVar('USE_NLS') == 'no':
+        return '-Dnls=disabled'
+    # Remove the NLS bits if USE_NLS is no or INHIBIT_DEFAULT_DEPS is set
+    if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d, 'cross-canadian'):
+        return '-Dnls=disabled'
+    return '-Dnls=enabled'
+
+EXTRA_OEMESON += " \
+    -Ddoc=disabled \
+    -Ddebug_viewer=disabled \
+    -Dtests=disabled \
+    -Dvalidate=enabled \
+    ${@gettext_oemeson(d)} \
+"
+
+GIR_MESON_ENABLE_FLAG = "enabled"
+GIR_MESON_DISABLE_FLAG = "disabled"
diff --git a/meta/recipes-multimedia/gstreamer/gst-validate_1.16.2.bb b/meta/recipes-multimedia/gstreamer/gst-validate_1.16.2.bb
deleted file mode 100644
index 35492fe861..0000000000
--- a/meta/recipes-multimedia/gstreamer/gst-validate_1.16.2.bb
+++ /dev/null
@@ -1,25 +0,0 @@
-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/${BPN}/${BP}.tar.xz \
-           file://0001-connect-has-a-different-signature-on-musl.patch \
-           "
-SRC_URI[md5sum] = "688f42c52d62e8c5e506df911553fb2c"
-SRC_URI[sha256sum] = "4861ccb9326200e74d98007e316b387d48dd49f072e0b78cb9d3303fdecfeeca"
-
-DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base"
-RRECOMMENDS_${PN} = "git"
-
-FILES_${PN} += "${datadir}/gstreamer-1.0/* ${libdir}/gst-validate-launcher/* ${libdir}/gstreamer-1.0/*"
-
-inherit pkgconfig gettext autotools gobject-introspection gtk-doc upstream-version-is-even
-
-# With gtk-doc enabled this recipe fails to build, so forcibly disable it:
-# WORKDIR/build/docs/validate/gst-validate-scan: line 117:
-# WORKDIR/build/docs/validate/.libs/lt-gst-validate-scan: No such file or directory
-GTKDOC_ENABLED = "False"
-- 
2.29.1


  parent reply	other threads:[~2020-10-29 14:28 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-29 14:27 [PATCH v5 00/22] Updates the gstreamer to version 1.18.0 Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 01/22] gstreamer1.0: Fix reproducibility issue around libcap Jose Quaresma
2020-10-29 15:32   ` [OE-core] " Richard Purdie
2020-10-29 16:13     ` Jose Quaresma
2020-10-29 16:43       ` Richard Purdie
2020-10-29 16:58         ` Jose Quaresma
     [not found]         ` <1642850E1E948AB3.32334@lists.openembedded.org>
2020-10-29 22:10           ` Jose Quaresma
2020-10-29 22:42             ` Richard Purdie
2020-10-29 14:27 ` [PATCH v5 02/22] gstreamer1.0: upgrade to version 1.18.0 Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 03/22] gstreamer1.0-plugins-base: " Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 04/22] gstreamer1.0-plugins-base: add new meson option as PACKAGECONFIG Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 05/22] gstreamer1.0-plugins-good: upgrade to version 1.18.0 Jose Quaresma
2020-10-29 16:06   ` [OE-core] " Richard Purdie
2020-10-29 22:14     ` Jose Quaresma
     [not found]     ` <1642964F5C513D13.27950@lists.openembedded.org>
2020-10-29 22:54       ` Jose Quaresma
     [not found]       ` <1642987B07D196A5.27950@lists.openembedded.org>
2020-10-30 16:47         ` Jose Quaresma
2020-10-30 17:45           ` Richard Purdie
2020-10-30 17:57             ` Jose Quaresma
     [not found]             ` <1642D6DB2EF0C3ED.10902@lists.openembedded.org>
2020-10-30 18:23               ` Jose Quaresma
2020-10-30 18:28                 ` Alexander Kanavin
2020-10-30 18:35                   ` Jose Quaresma
2020-10-30 19:23                 ` Richard Purdie
2020-10-31  0:49                   ` Richard Purdie
2020-10-31 11:49                     ` Jose Quaresma
2020-10-31 18:54                       ` Alexander Kanavin
2020-10-31 18:56                         ` Alexander Kanavin
2020-11-01 21:08                           ` Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 06/22] gstreamer1.0-plugins-good: disable new meson options Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 07/22] gstreamer1.0-plugins-good: add new meson option as PACKAGECONFIG Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 08/22] gstreamer1.0-plugins-bad: upgrade to version 1.18.0 Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 09/22] gstreamer1.0-plugins-bad: disable new meson options Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 10/22] gstreamer1.0-plugins-bad: add new meson options as PACKAGECONFIG Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 11/22] gstreamer1.0-plugins-ugly: upgrade to version 1.18.0 Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 12/22] gstreamer1.0-python: " Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 13/22] gstreamer1.0-python: install append is not need any more Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 14/22] gstreamer1.0-rtsp-server: upgrade to version 1.18.0 Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 15/22] gstreamer1.0-vaapi: " Jose Quaresma
2020-10-29 14:28 ` [PATCH v5 16/22] gst-examples: " Jose Quaresma
2020-10-29 14:28 ` [PATCH v5 17/22] gstreamer1.0-omx: " Jose Quaresma
2020-10-29 14:28 ` [PATCH v5 18/22] gstreamer1.0-libav: " Jose Quaresma
2020-10-29 14:28 ` Jose Quaresma [this message]
2020-10-29 14:28 ` [PATCH v5 20/22] orc: Upgrade 0.4.31 -> 0.4.32 Jose Quaresma
2020-10-29 14:28 ` [PATCH v5 21/22] gstreamer1.0-plugins-good: on wayland qt5 needs qtwayland Jose Quaresma
2020-10-29 14:28 ` [PATCH v5 22/22] gstreamer1.0-libav: add comercial license flags as ffmpeg needs this Jose Quaresma
     [not found] ` <16427CDA53DAE3E8.561@lists.openembedded.org>
2020-10-29 22:14   ` [OE-core] [PATCH v5 02/22] gstreamer1.0: upgrade to version 1.18.0 Jose Quaresma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201029142806.1830504-20-quaresma.jose@gmail.com \
    --to=quaresma.jose@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox