Skip to contentSkip to conversation

zbar: bump version to 0.22

PATCH Superseded Peter Seiderer 2 participants 2 messages Mar 6, 2019 – Mar 7, 2019

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 zbar: bump version to 0.22

- change from git download to official release and download site (drop need for autoreconf)

- drop dependency on kernel headers >= 3.17 (should be fixed with commit 'v4l2: make ZBar build and run on Kernels < 3.16' (see [1])

[1] https://git.linuxtv.org/zbar.git/commit/?id=fa5c48127ec1e3670e28540c2e6a03431ebac5b8

---
Changes v1 -> v2:
- rebased on current master

---
 package/zbar/Config.in | 6 ++----
 package/zbar/zbar.hash | 2 +-
 package/zbar/zbar.mk   | 6 +++---
 3 files changed, 6 insertions(+), 8 deletions(-)
package/zbar/Config.in +2 -4
index e850c1f02b..e0b28365fc 100644
@@ -3,7 +3,6 @@ config BR2_PACKAGE_ZBAR
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libv4l
 	depends on BR2_USE_MMU # libv4l
 	depends on BR2_INSTALL_LIBSTDCPP # libv4l
-	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # v4l2_query_ext_ctrl
 	select BR2_PACKAGE_JPEG
 	select BR2_PACKAGE_LIBV4L
 	help
@@ -11,7 +10,6 @@ config BR2_PACKAGE_ZBAR
 
 	  https://git.linuxtv.org/zbar.git/about/
 
-comment "zbar needs a toolchain w/ threads, C++ and headers >= 3.17"
+comment "zbar needs a toolchain w/ threads, C++"
 	depends on BR2_USE_MMU
-	depends on !BR2_TOOLCHAIN_HAS_THREADS \
-		|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
package/zbar/zbar.hash +1 -1
index 47a080af12..0f44d0f5c0 100644
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256 7eb73c180c787184ede0f98806c52b23eb9c24609673e1ed51210504ea2937f5 zbar-681b0f305fb5c5bb0df8437f7d740b29a93a7889.tar.gz
+sha256 1ba9e94c7217a8bd3800f9f3abddf3ed393a62cdf141a709765aad2788744eb7 zbar-0.22.tar.bz2
 sha256 36b6d3fa47916943fd5fec313c584784946047ec1337a78b440e5992cb595f89 LICENSE
package/zbar/zbar.mk +3 -3
index 2146aee85b..63220774b9 100644
@@ -4,12 +4,12 @@
 #
 ################################################################################
 
-ZBAR_VERSION = 681b0f305fb5c5bb0df8437f7d740b29a93a7889
-ZBAR_SITE = git://linuxtv.org/zbar.git
+ZBAR_VERSION = 0.22
+ZBAR_SOURCE = zbar-$(ZBAR_VERSION).tar.bz2
+ZBAR_SITE = https://www.linuxtv.org/downloads/zbar
 ZBAR_LICENSE = LGPL-2.1+
 ZBAR_LICENSE_FILES = LICENSE
 ZBAR_INSTALL_STAGING = YES
-ZBAR_AUTORECONF = YES
 ZBAR_DEPENDENCIES = libv4l jpeg
 # add host-gettext for AM_ICONV macro
 ZBAR_DEPENDENCIES += host-gettext
Signature · 1 line
2.21.0
#1 lore raw

PATCH v2 1/1 zbar: bump version to 0.22

Hello Peter,

Quoted 6 lines · On Wed, 6 Mar 2019 21:35:51 +0100 Peter Seiderer <[email protected]> wrote:

- change from git download to official release and download site (drop need for autoreconf)

- drop dependency on kernel headers >= 3.17 (should be fixed with commit 'v4l2: make ZBar build and run on Kernels < 3.16' (see [1])

Should this removal of the headers >= 3.17 dependency also be propagated to BR2_PACKAGE_GST_PLUGINS_BAD_ZBAR ?

Commit dd08ca7aa98209222a077d1db97323bbc3b563b2, which added the headers >= 3.17 dependency to zbar, propagated this dependency to gst-plugins-bad.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com