From: Denys Dmytriyenko <[email protected]>

The old regex is no longer correct for GStreamer 1.14.

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 .../conf/distro/include/branding-core.inc          |  2 +-
 ...figure.ac-stop-using-export-symbols-regex.patch | 30 ++++++++++++++++++++++
 .../gstreamer1.0-plugins-dsp66_git.bb              |  5 ++--
 3 files changed, 34 insertions(+), 3 deletions(-)
 create mode 100644 
meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66/0001-configure.ac-stop-using-export-symbols-regex.patch

diff --git a/meta-arago-distro/conf/distro/include/branding-core.inc 
b/meta-arago-distro/conf/distro/include/branding-core.inc
index 6a56f00..07cde67 100644
--- a/meta-arago-distro/conf/distro/include/branding-core.inc
+++ b/meta-arago-distro/conf/distro/include/branding-core.inc
@@ -17,7 +17,7 @@ ALTERNATIVE_PRIORITY_pn-ti-ipc-rtos = "15"
 MACHINE_FEATURES := "${@d.getVar('MACHINE_FEATURES', True).replace('mmip', 
'')}"
 
 # Temporarily disable "dsp" machine feature for all SOCs while building
-# latest code base, until it is fixed for gdbc6x, gstreamer-dsp66, 
qt-openvc-opencl
+# latest code base, until it is fixed for gdbc6x, qt-openvc-opencl
 MACHINE_FEATURES := "${@d.getVar('MACHINE_FEATURES', True).replace('dsp', '')}"
 
 # Temporarily disable UBI images for K2 "server" rootfs due to size
diff --git 
a/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66/0001-configure.ac-stop-using-export-symbols-regex.patch
 
b/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66/0001-configure.ac-stop-using-export-symbols-regex.patch
new file mode 100644
index 0000000..c9721b7
--- /dev/null
+++ 
b/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66/0001-configure.ac-stop-using-export-symbols-regex.patch
@@ -0,0 +1,30 @@
+From 0fcda9d85c96d5c39dffe21d3bdf01a038b911c9 Mon Sep 17 00:00:00 2001
+From: Denys Dmytriyenko <[email protected]>
+Date: Tue, 22 Jan 2019 20:39:15 -0500
+Subject: [PATCH] configure.ac: stop using -export-symbols-regex
+
+The old regex is no longer correct for GStreamer 1.14.
+
+Bug-Debian: https://bugs.debian.org/894642
+
+Signed-off-by: Denys Dmytriyenko <[email protected]>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index fee3161..8159c60 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -81,7 +81,7 @@ fi
+ AC_SUBST(plugindir)
+ 
+ dnl set proper LDFLAGS for plugins
+-GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex 
'^[_]*gst_plugin_desc\$\$' $GST_ALL_LDFLAGS"
++GST_PLUGIN_LDFLAGS="-module -avoid-version $GST_ALL_LDFLAGS"
+ AC_SUBST(GST_PLUGIN_LDFLAGS)
+ 
+ AC_CONFIG_FILES([Makefile src/Makefile])
+-- 
+2.7.4
+
diff --git 
a/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66_git.bb
 
b/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66_git.bb
index 2f5a962..6e28891 100644
--- 
a/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66_git.bb
+++ 
b/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66_git.bb
@@ -4,7 +4,8 @@ LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING;md5=2827f94fc0a1adeff4d9702e97ce2979"
 
 SRC_URI = 
"git://git.ti.com/processor-sdk/gst-plugin-dsp66.git;protocol=git;branch=master 
\
-file://0001-Makefile-correct-use-of-CPP-CXX-and-other-standard-v.patch \
+       file://0001-Makefile-correct-use-of-CPP-CXX-and-other-standard-v.patch \
+       file://0001-configure.ac-stop-using-export-symbols-regex.patch \
 "
 SRCREV = "0abedafadbed693592804f23482a9447d81b2dbf"
 
@@ -18,7 +19,7 @@ inherit autotools-brokensep pkgconfig gettext
 
 PR = "r1"
 
-RDEPENDS_${PN} += " opencl-runtime"
+RDEPENDS_${PN} += "opencl-runtime"
 
 EXTRA_OEMAKE = " TARGET_ROOTDIR=${STAGING_DIR_HOST} \
                  TI_OCL_CGT_INSTALL=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x 
\
-- 
2.7.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to