Skip to contentSkip to conversation

gst-shark: Upgrade to 0.7.2

PATCH New Khem Raj 1 participant 2 messages Feb 5, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 gst-shark: Upgrade to 0.7.2

Fix configure errors seen with autotools 2.70+

---
 .../recipes-multimedia/gstreamer-1.0/gst-shark_git.bb | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)
meta-multimedia/recipes-multimedia/gstreamer-1.0/gst-shark_git.bb +3 -8
index d047caef5f..94d05def3e 100644
@@ -10,9 +10,9 @@ DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad "
 
 SRCBRANCH ?= "master"
 
-PV = "0.6.1"
+PV = "0.7.2"
 
-SRCREV_base = "c41a05cc9e2310c2f73eda4b4f0b4477bf4479c5"
+SRCREV_base = "50e3dbd3b131de2a39d3917576e8f834631ec46b"
 SRCREV_common = "88e512ca7197a45c4114f7fa993108f23245bf50"
 
 SRC_URI = " \
@@ -22,7 +22,7 @@ SRC_URI = " \
 
 S = "${WORKDIR}/git"
 
-PACKAGECONFIG_CONFARGS = " \
+EXTRA_OECONF += " \
        --disable-graphviz \
        --enable-gtk-doc=no \
 "
@@ -33,8 +33,3 @@ FILES_${PN} += "\
 "
 
 inherit autotools gettext
-
-do_configure() {
-        ${S}/autogen.sh --noconfigure
-        oe_runconf
-}
Signature · 1 line
2.30.0
author
#1 lore raw

PATCH 2/2 hidapi: Backport patch to fix build with autotools 2.70+

---
 ...ove-duplicate-AC_CONFIG_MACRO_DIR-22.patch | 27 +++++++++++++++++++
 meta-oe/recipes-support/hidapi/hidapi_git.bb  |  4 ++-
 2 files changed, 30 insertions(+), 1 deletion(-)
 create mode 100644 meta-oe/recipes-support/hidapi/hidapi/0001-configure.ac-remove-duplicate-AC_CONFIG_MACRO_DIR-22.patch
meta-oe/recipes-support/hidapi/hidapi/0001-configure.ac-remove-duplicate-AC_CONFIG_MACRO_DIR-22.patch new file +27 -0
new file mode 100644
index 0000000000..f3cd1015f9
@@ -0,0 +1,27 @@
+From ce3ab6ba4b8176d100ac535a39e3d5b0c517989b Mon Sep 17 00:00:00 2001
+From: Jan Palus <[email protected]>
+Date: Fri, 15 Jan 2021 14:32:14 +0100
+Subject: [PATCH] configure.ac: remove duplicate AC_CONFIG_MACRO_DIR (#226)
+
+fixes build with autoconf 2.70
+Upstream-Status: Backport [https://github.com/libusb/hidapi/pull/226]
+Signed-off-by: Khem Raj <[email protected]>
+---
+ configure.ac | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 220909a..77da67a 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -13,7 +13,6 @@ LTLDFLAGS="-version-info ${lt_current}:${lt_revision}:${lt_age}"
+ 
+ AC_CONFIG_MACRO_DIR([m4])
+ AM_INIT_AUTOMAKE([foreign -Wall -Werror])
+-AC_CONFIG_MACRO_DIR([m4])
+ 
+ m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
+ LT_INIT
+-- 
+2.30.0
+
meta-oe/recipes-support/hidapi/hidapi_git.bb +3 -1
index df68a850a4..76f5dc7624 100644
@@ -10,7 +10,9 @@ DEPENDS = "libusb udev"
 
 inherit autotools pkgconfig
 
-SRC_URI = "git://github.com/libusb/hidapi.git;protocol=https"
+SRC_URI = "git://github.com/libusb/hidapi.git;protocol=https \
+           file://0001-configure.ac-remove-duplicate-AC_CONFIG_MACRO_DIR-22.patch \
+"
 PV = "0.10.1"
 SRCREV = "f6d0073fcddbdda24549199445e844971d3c9cef"
 S = "${WORKDIR}/git"
Signature · 1 line
2.30.0