Skip to contentSkip to conversation

meta-toolchain-arago-qte: QT_DIR_NAME is now empty in upstream meta-qt5

PATCH New Denys Dmytriyenko 1 participant 3 messages Jan 25, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 meta-toolchain-arago-qte: QT_DIR_NAME is now empty in upstream meta-qt5

From: Denys Dmytriyenko <[email protected]>

---
 meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb +2 -2
index 8cfbcfb..b03b639 100644
@@ -8,8 +8,8 @@ require meta-toolchain-arago.bb
 PR = "r19"
 
 # There could be qt5, qt4e and qt4x11 providers, but we don't support qt4x11 for now
-QT_DIR_NAME = "${@oe.utils.conditional('QT_PROVIDER', 'qt5', 'qt5', 'qtopia', d)}"
-QT_BIN_PREFIX = "${@oe.utils.conditional('QT_PROVIDER', 'qt5', "${QT_DIR_NAME}/", '', d)}"
+QT_DIR_NAME = "${@oe.utils.conditional('QT_PROVIDER', 'qt5', '', 'qtopia', d)}"
+QT_BIN_PREFIX = "${@oe.utils.conditional('QT_PROVIDER', 'qt5', '', '', d)}"
 QT_BIN_SUFFIX = "${@oe.utils.conditional('QT_PROVIDER', 'qt5', '', '4', d)}"
 QT_MKSPECS_LOCATION = "${@oe.utils.conditional('QT_PROVIDER', 'qt5', "${libdir}", "${datadir}", d)}"
 QT_MKSPECS_DIR = "${@oe.utils.conditional('QT_PROVIDER', 'qt5', "linux-oe-g++", "linux-gnueabi-oe-g++", d)}"
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/3 meta: use dummy perl dependencies for ASSUME_PROVIDED="nativesdk-perl" to work

From: Denys Dmytriyenko <[email protected]>

ASSUME_PROVIDED only covers build dependencies, while package manager will still try to install necessary packages if they are in the dependency chain. Since nativesdk-autoconf depends on nativesdk-perl, use dummy provider from OE-Core with few extra nativesdk-perl-modules to satisfy package manager.

---
 .../recipes-core/meta/meta-toolchain-arago.bb         |  4 +++-
 .../meta/nativesdk-buildtools-perl-dummy.bbappend     | 19 +++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)
 create mode 100644 meta-arago-extras/recipes-core/meta/nativesdk-buildtools-perl-dummy.bbappend
meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb +3 -1
index 3ea63ec..3d827a7 100644
@@ -1,16 +1,18 @@
 TOOLCHAIN_HOST_TASK ?= "nativesdk-packagegroup-arago-sdk-host"
+TOOLCHAIN_HOST_TASK += "nativesdk-buildtools-perl-dummy"
 TOOLCHAIN_HOST_TASK += "packagegroup-arago-cross-canadian-${MACHINE}"
 TOOLCHAIN_TARGET_TASK ?= "packagegroup-arago-standalone-sdk-target"
 TOOLCHAIN_SUFFIX ?= "-sdk"
 TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-${ARMPKGARCH}-${TARGET_OS}${TOOLCHAIN_SUFFIX}"
 TOOLCHAIN_CLEANUP_PACKAGES ?= ""
 SDKIMAGE_FEATURES = "package-management"
+SDK_PACKAGE_ARCHS += "buildtools-dummy-${SDKPKGSUFFIX}"
 
 inherit toolchain-scripts
 
 require recipes-core/meta/meta-toolchain.bb
 
-PR = "r34"
+PR = "r35"
 
 XZ_COMPRESSION_LEVEL ?= "-e -6"
 XZ_INTEGRITY_CHECK ?= "crc32"
meta-arago-extras/recipes-core/meta/nativesdk-buildtools-perl-dummy.bbappend new file +19 -0
new file mode 100644
index 0000000..26d6ddb
@@ -0,0 +1,19 @@
+DUMMYPROVIDES += "\
+    nativesdk-perl-module-bytes \
+    nativesdk-perl-module-carp \
+    nativesdk-perl-module-constant \
+    nativesdk-perl-module-data-dumper \
+    nativesdk-perl-module-errno \
+    nativesdk-perl-module-exporter \
+    nativesdk-perl-module-file-basename \
+    nativesdk-perl-module-file-compare \
+    nativesdk-perl-module-file-copy \
+    nativesdk-perl-module-file-find \
+    nativesdk-perl-module-file-glob \
+    nativesdk-perl-module-file-stat \
+    nativesdk-perl-module-getopt-long \
+    nativesdk-perl-module-io-file \
+    nativesdk-perl-module-posix \
+    nativesdk-perl-module-thread-queue \
+    nativesdk-perl-module-threads \
+"
Signature · 1 line
2.7.4
#2 lore raw

PATCH 3/3 gstreamer1.0-plugins-dsp66: stop using -export-symbols-regex

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

The old regex is no longer correct for GStreamer 1.14.

---
 .../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
meta-arago-distro/conf/distro/include/branding-core.inc +1 -1
index 6a56f00..07cde67 100644
@@ -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
meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66/0001-configure.ac-stop-using-export-symbols-regex.patch new file +30 -0
new file mode 100644
index 0000000..c9721b7
@@ -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
+
meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66_git.bb +3 -2
index 2f5a962..6e28891 100644
@@ -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 \
Signature · 1 line
2.7.4