Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Andre McCurdy <armccurdy@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 21/25] gstreamer1.0-plugins-base: update git recipe to 1.7.1
Date: Wed, 20 Jan 2016 18:43:19 -0800	[thread overview]
Message-ID: <1453344203-7118-22-git-send-email-armccurdy@gmail.com> (raw)
In-Reply-To: <1453344203-7118-1-git-send-email-armccurdy@gmail.com>

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
---
 ...make-gio_unix_2_0-dependency-configurable.patch | 47 ++++++++++++++++++++++
 .../gstreamer/gstreamer1.0-plugins-base_git.bb     | 16 +++++---
 2 files changed, 58 insertions(+), 5 deletions(-)
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/make-gio_unix_2_0-dependency-configurable.patch

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/make-gio_unix_2_0-dependency-configurable.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/make-gio_unix_2_0-dependency-configurable.patch
new file mode 100644
index 0000000..01e944d
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/make-gio_unix_2_0-dependency-configurable.patch
@@ -0,0 +1,47 @@
+From 10d2a977ee1d469f0bf9059bb2d0b55fd2eecbac Mon Sep 17 00:00:00 2001
+From: Andre McCurdy <armccurdy@gmail.com>
+Date: Wed, 20 Jan 2016 13:00:00 -0800
+Subject: [PATCH] make gio_unix_2_0 dependency configurable
+
+Prior to 1.7.1, gst-plugins-base accepted a configure option to
+disable gio_unix_2_0, however it was implemented incorrectly using
+AG_GST_CHECK_FEATURE. That was fixed in 1.7.1 by making the
+dependency unconditional.
+
+  http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=aadefefba88afe4acbe64454650f24e7ce7c8d70
+
+To make builds deterministic, re-instate support for
+--disable-gio_unix_2_0, but implement it using the AC_ARG_ENABLE
+instead of AG_GST_CHECK_FEATURE.
+
+Upstream-Status: Pending
+
+Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
+---
+ configure.ac | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index 9c52aeb..26cacd6 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -747,9 +747,16 @@ AC_SUBST(FT2_CFLAGS)
+ AC_SUBST(FT2_LIBS)
+ 
+ dnl *** gio-unix-2.0 for tests/check/pipelines/tcp.c ***
++AC_ARG_ENABLE([gio_unix_2_0],
++  [AS_HELP_STRING([--disable-gio_unix_2_0],[disable use of gio_unix_2_0])],
++  [],
++  [enable_gio_unix_2_0=yes])
++
++if test "x${enable_gio_unix_2_0}" != "xno"; then
+ PKG_CHECK_MODULES(GIO_UNIX_2_0, gio-unix-2.0 >= 2.24,
+     HAVE_GIO_UNIX_2_0="yes",
+     HAVE_GIO_UNIX_2_0="no")
++fi
+ AM_CONDITIONAL(USE_GIO_UNIX_2_0, test "x$HAVE_GIO_UNIX_2_0" = "xyes")
+ 
+ dnl *** finalize CFLAGS, LDFLAGS, LIBS
+-- 
+1.9.1
+
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_git.bb
index 3d74e85..8ac3a7b 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_git.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_git.bb
@@ -6,14 +6,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c54ce9345727175ff66d17b67ff51f58 \
                     file://COPYING.LIB;md5=6762ed442b3822387a51c92d928ead0d \
                     file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607"
 
-SRC_URI = "git://anongit.freedesktop.org/gstreamer/gst-plugins-base"
+SRC_URI = " \
+    git://anongit.freedesktop.org/gstreamer/gst-plugins-base;name=base \
+    git://anongit.freedesktop.org/gstreamer/common;destsuffix=git/common;name=common \
+    file://make-gio_unix_2_0-dependency-configurable.patch \
+"
 
-SRCREV = "8d4cb64a4b9d84b10076bf350f80a0d6ea68ec2d"
+PV = "1.7.1+git${SRCPV}"
+
+SRCREV_base = "5f98203bd753c32666c8fa7a2fde6d186c2a4247"
+SRCREV_common = "86e46630ed8af8d94796859db550a9c3d89c9f65"
+SRCREV_FORMAT = "base"
 
 S = "${WORKDIR}/git"
 
 do_configure_prepend() {
-	cd ${S}
-	./autogen.sh --noconfigure
-	cd ${B}
+	${S}/autogen.sh --noconfigure
 }
-- 
1.9.1



  parent reply	other threads:[~2016-01-21  2:44 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-21  2:42 [PATCH 00/25] gstreamer1.0 cleanups + update git recipes to 1.7.1 Andre McCurdy
2016-01-21  2:42 ` [PATCH 01/25] gst-player: minor formatting improvements Andre McCurdy
2016-01-21  2:43 ` [PATCH 02/25] gst-plugins-package.inc: " Andre McCurdy
2016-01-21  2:43 ` [PATCH 03/25] gstreamer1.0: " Andre McCurdy
2016-01-21  2:43 ` [PATCH 04/25] gstreamer1.0-plugins.inc: " Andre McCurdy
2016-01-21  2:43 ` [PATCH 05/25] gstreamer1.0-plugins-base: " Andre McCurdy
2016-01-21  2:43 ` [PATCH 06/25] gstreamer1.0-plugins-good: " Andre McCurdy
2016-01-21  2:43 ` [PATCH 07/25] gstreamer1.0-plugins-bad: " Andre McCurdy
2016-01-21  2:43 ` [PATCH 08/25] gstreamer1.0-plugins-ugly: " Andre McCurdy
2016-01-21  2:43 ` [PATCH 09/25] gstreamer1.0-libav: minor formatting improvements + update HOMEPAGE Andre McCurdy
2016-01-21  2:43 ` [PATCH 10/25] gstreamer1.0-omx: " Andre McCurdy
2016-01-21  2:43 ` [PATCH 11/25] gstreamer1.0-rtsp-server.inc: minor formatting improvements Andre McCurdy
2016-01-21  2:43 ` [PATCH 12/25] gstreamer1.0.inc: add missing glib-2.0-native dependency Andre McCurdy
2016-01-21  2:43 ` [PATCH 13/25] gstreamer1.0-plugins.inc: " Andre McCurdy
2016-01-21  2:43 ` [PATCH 14/25] gstreamer1.0-plugins.inc: convert GSTREAMER_1_0_DEBUG to a PACKAGECONFIG Andre McCurdy
2016-01-21  2:43 ` [PATCH 15/25] gstreamer1.0-plugins-good.inc: remove duplicate --disable-examples Andre McCurdy
2016-01-21  2:43 ` [PATCH 16/25] gstreamer1.0-plugins-bad.inc: don't set ${S} or apply version specific patch Andre McCurdy
2016-01-21  2:43 ` [PATCH 17/25] gstreamer1.0-plugins-bad.inc: update hls dependency gnutls -> nettle Andre McCurdy
2016-01-21  2:43 ` [PATCH 18/25] gstreamer1.0-plugins.inc: drop obsolete lib-link.m4 workaround Andre McCurdy
2016-01-21  2:43 ` [PATCH 19/25] gstreamer1.0-plugins.inc: don't set base SRC_URI via python Andre McCurdy
2016-01-21  2:43 ` [PATCH 20/25] gstreamer1.0: update git recipe to 1.7.1 Andre McCurdy
2016-01-21  4:18   ` Khem Raj
2016-01-21  4:39     ` Andre McCurdy
2016-01-21  4:40       ` Khem Raj
2016-01-21  5:03         ` Andre McCurdy
2016-01-21  2:43 ` Andre McCurdy [this message]
2016-01-21  2:43 ` [PATCH 22/25] gstreamer1.0-plugins-good: " Andre McCurdy
2016-01-21  2:43 ` [PATCH 23/25] gstreamer1.0-plugins-bad: " Andre McCurdy
2016-01-21  2:43 ` [PATCH 24/25] gstreamer1.0-plugins-ugly: " Andre McCurdy
2016-01-21  2:43 ` [PATCH 25/25] gstreamer1.0-libav: " Andre McCurdy

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=1453344203-7118-22-git-send-email-armccurdy@gmail.com \
    --to=armccurdy@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