Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Anuj Mittal <anuj.mittal@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 08/12] gst-validate: upgrade 1.12.4 -> 1.14.0
Date: Thu,  3 May 2018 16:17:54 +0800	[thread overview]
Message-ID: <20180503081758.4661-8-anuj.mittal@intel.com> (raw)
In-Reply-To: <20180503081758.4661-1-anuj.mittal@intel.com>

* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/.
* Patch Makefile to fix compilation errors.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 ...x-template-paths-when-buildir-is-differen.patch | 41 ++++++++++++++++++++++
 ...t-validate_1.12.4.bb => gst-validate_1.14.0.bb} | 10 +++---
 2 files changed, 47 insertions(+), 4 deletions(-)
 create mode 100644 meta/recipes-multimedia/gstreamer/gst-validate/0001-validate-fix-template-paths-when-buildir-is-differen.patch
 rename meta/recipes-multimedia/gstreamer/{gst-validate_1.12.4.bb => gst-validate_1.14.0.bb} (71%)

diff --git a/meta/recipes-multimedia/gstreamer/gst-validate/0001-validate-fix-template-paths-when-buildir-is-differen.patch b/meta/recipes-multimedia/gstreamer/gst-validate/0001-validate-fix-template-paths-when-buildir-is-differen.patch
new file mode 100644
index 0000000000..400b8b0fea
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gst-validate/0001-validate-fix-template-paths-when-buildir-is-differen.patch
@@ -0,0 +1,41 @@
+From ac9d7d230effdb97870c2f317b3b45449bde1769 Mon Sep 17 00:00:00 2001
+From: Anuj Mittal <am.devel@gmail.com>
+Date: Wed, 11 Apr 2018 15:40:02 +0800
+Subject: [PATCH] validate: fix template paths when buildir is different
+
+Compilation just fails otherwise because it's not able to locate the files.
+
+Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=795149]
+Signed-off-by: Anuj Mittal <am.devel@gmail.com>
+
+---
+ gst/validate/Makefile.am | 7 +++++--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/gst/validate/Makefile.am b/gst/validate/Makefile.am
+index 342730a..3fcc3e5 100644
+--- a/gst/validate/Makefile.am
++++ b/gst/validate/Makefile.am
+@@ -48,14 +48,17 @@ source_h = \
+ nodist_libgstvalidate_@GST_API_VERSION@_la_SOURCES = $(built_source_make)
+ nodist_libgstvalidate_@GST_API_VERSION@include_HEADERS = $(built_header_make)
+ 
++template_h = $(patsubst %,$(srcdir)/%, gst-validate-enum-types.h.template)
++template_c = $(patsubst %,$(srcdir)/%, gst-validate-enum-types.c.template)
++
+ gst-validate-enum-types.h: $(source_h)
+ 	$(AM_V_GEN)$(GLIB_MKENUMS) \
+-	--template gst-validate-enum-types.h.template \
++	--template $(template_h) \
+ 	$^ > gst-validate-enum-types.h
+ 
+ gst-validate-enum-types.c: $(source_h)
+ 	$(AM_V_GEN)$(GLIB_MKENUMS) \
+-	--template gst-validate-enum-types.c.template \
++	--template $(template_c) \
+ 	$^ > gst-validate-enum-types.c
+ 
+ EXTRA_DIST= \
+-- 
+2.7.4
+
diff --git a/meta/recipes-multimedia/gstreamer/gst-validate_1.12.4.bb b/meta/recipes-multimedia/gstreamer/gst-validate_1.14.0.bb
similarity index 71%
rename from meta/recipes-multimedia/gstreamer/gst-validate_1.12.4.bb
rename to meta/recipes-multimedia/gstreamer/gst-validate_1.14.0.bb
index 0f2585a459..d12b8f6a0f 100644
--- a/meta/recipes-multimedia/gstreamer/gst-validate_1.12.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-validate_1.14.0.bb
@@ -6,11 +6,13 @@ SECTION = "multimedia"
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
 
-SRC_URI = "https://gstreamer.freedesktop.org/src/${BPN}/${BP}.tar.xz"
-SRC_URI[md5sum] = "bc074d49677081f9c27de11a09165746"
-SRC_URI[sha256sum] = "f9da9dfe6e5d6f5ba3b38c5752b42d3f927715904942b405c2924d3cb77afba1"
+SRC_URI = "https://gstreamer.freedesktop.org/src/${BPN}/${BP}.tar.xz \
+           file://0001-validate-fix-template-paths-when-buildir-is-differen.patch \
+           "
+SRC_URI[md5sum] = "deb8654c912b189388fe585b0fc5bc8f"
+SRC_URI[sha256sum] = "33df08bf77f2895d64b7e8a957de3b930b4da0a8edabfbefcff2eab027eeffdf"
 
-DEPENDS = "json-glib glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base"
+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/*"
-- 
2.14.1



  parent reply	other threads:[~2018-05-03  8:18 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-03  8:17 [PATCH 01/12] gstreamer1.0: upgrade 1.12.4 -> 1.14.0 Anuj Mittal
2018-05-03  8:17 ` [PATCH 02/12] gst-plugins-base: " Anuj Mittal
2018-05-04 11:52   ` Burton, Ross
2018-05-04 13:07     ` Anuj Mittal
2018-05-04 13:09       ` Burton, Ross
2018-05-07 10:14         ` Alexander Kanavin
2018-05-04 13:28   ` [PATCH v2] " Anuj Mittal
2018-05-07 10:42     ` Alexander Kanavin
2018-05-08  9:18       ` Anuj Mittal
2018-05-08  9:18     ` [PATCH v3] " Anuj Mittal
2018-05-03  8:17 ` [PATCH 03/12] gst-plugins-good: " Anuj Mittal
2018-05-03  8:17 ` [PATCH 04/12] gst-plugins-bad: " Anuj Mittal
2018-05-03  8:17 ` [PATCH 05/12] gst-plugins-ugly: " Anuj Mittal
2018-05-03  8:17 ` [PATCH 06/12] gst-rtsp-server: " Anuj Mittal
2018-05-03  8:17 ` [PATCH 07/12] gstreamer-vaapi: " Anuj Mittal
2018-05-03  8:17 ` Anuj Mittal [this message]
2018-05-03  8:17 ` [PATCH 09/12] gst-omx: " Anuj Mittal
2018-05-03  8:17 ` [PATCH 10/12] gst-python: " Anuj Mittal
2018-05-03  8:17 ` [PATCH 11/12] gstreamer-libav: " Anuj Mittal
2018-05-03  8:17 ` [PATCH 12/12] gst-plugins-good: enable mpg123 and lame Anuj Mittal
2018-05-03 22:49 ` [PATCH 01/12] gstreamer1.0: upgrade 1.12.4 -> 1.14.0 Khem Raj
2018-05-04 10:23   ` Burton, Ross
2018-05-07 12:40     ` Carlos Rafael Giani
2018-05-07 16:03       ` Khem Raj
2018-05-07 12:39 ` Carlos Rafael Giani

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=20180503081758.4661-8-anuj.mittal@intel.com \
    --to=anuj.mittal@intel.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