summaryrefslogtreecommitdiffstats
path: root/package/zbar
Commit message (Collapse)AuthorAgeFilesLines
* package/zbar: needs c99 modePeter Seiderer2019-02-281-0/+2
| | | | | | | | | | | | | | | Fixes [1]: bar/sqcode.c: In function 'sq_scan_shape': zbar/sqcode.c:171:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (int x = x0 - 1; x < x0 + width + 1; x++) { ^ zbar/sqcode.c:171:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code [1] http://autobuild.buildroot.net/results/7d544275756f655f9d42c05562aca653923155b1 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/zbar: bump to version 57d601e82089f2f31de9e1683c3834f237421f5dFabrice Fontaine2019-02-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | When building statically zbar, build fails on: configure: error: unable to find libv4l.so The following errors are raised in config.log: configure:19371: /home/buildroot/buildroot-test/instance-0/output/host/bin/arm-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g2 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lv4l2 -lpthread >&5 /home/buildroot/buildroot-test/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libv4l2.a(libv4l2_la-libv4l2.o): In function `v4l2_set_src_and_dest_format': /home/buildroot/buildroot-test/instance-0/output/build/libv4l-1.16.2/lib/libv4l2/libv4l2.c:952: undefined reference to `v4lconvert_supported_dst_format' To fix this error, bump to version 57d601e82089f2f31de9e1683c3834f237421f5d to replace AC_CHECK_LIB by PKG_CHECK_MODULES to find the correct library (-lv4lconvert but also -ljpeg, ...) Fixes: - http://autobuild.buildroot.org/results/acf39e4754508d7ee49e21f08ff0a1fcac4fb7cd Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* zbar: needs kernel headers >= 3.17Fabrice Fontaine2019-01-281-3/+3
| | | | | | | | | | | v4l2_query_ext_ctrl has been added in kernel 3.17: https://github.com/torvalds/linux/commit/5082c2417841e64df975789011e182ce99a9dacd Fixes: - http://autobuild.buildroot.org/results/d7b244cf9488eafb59ba8575f17884f4f8512db1 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* zbar: bump to version b3b4e32b55f570372fc3af473e51f0a13ee57869Fabrice Fontaine2019-01-172-2/+3
| | | | | | | | | | | | - Add hash for license file - Fix build with kernel headers >= 4.4 with: https://git.linuxtv.org/zbar.git/commit/?id=b3b4e32b55f570372fc3af473e51f0a13ee57869 Fixes: - http://autobuild.buildroot.org/results/630204315eac6e2800bc13c1486a5a525bf9ab37 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/zbar: switch to linuxtv zbar forkJames Hilliard2019-01-147-167/+9
| | | | | | | | | | The zbar upstream previously used has been abandoned since 2012. The linuxtv fork appears to be the most actively maintained fork. Removed all patches which are merged upstream or fixed upstream. Changed configure flags to match new upstream. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* zbar: enable static buildBaruch Siach2018-01-261-3/+2
| | | | | | | | | libv4l supports static build since commit f837251785e9 (package/libv4l: allow build of v4l2 utilities on noMMU platforms). Cc: Volkov Viacheslav <sv99@inbox.ru> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boot, package: use SPDX short identifier for LGPLv2.1/LGPLv2.1+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for LGPLv2.1/LGPLv2.1+ is LGPL-2.1/LGPL-2.1+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2.1(\+)?/LGPL-2.1\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/zbar: fix zbar buildVolkov Viacheslav2016-10-201-0/+2
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/913/913662f10330b79f7769d05493438676939d9c7e/ Signed-off-by: Viacheslav Volkov <sv99@inbox.ru> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* zbar: add a patch to wrap logical not operations into parenthesisVicente Olivert Riera2016-01-261-0/+80
| | | | | | | | | | | | | | | | | | | | This fixes build failures like this one: zbar/decoder/ean.c: In function 'ean_part_end4': zbar/decoder/ean.c:297:13: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses] if(!par == fwd) { This patch has been sent upstream as a pull request: https://github.com/ZBar/ZBar/pull/9 Fixes: http://autobuild.buildroot.net/results/299/299dc845af082167085d366b38daf1dfd95d7047/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* zbar: new packageVolkov Viacheslav2015-12-206-0/+122
[Thomas: - replace patch 0001 fixing autoreconf by a simpler patch that simply drops the -Wall and -Werror flags passed to automake. - reformat the two patches using Git - drop the "uclibc || glibc" dependency inherited from libv4l, since libv4l has now been fixed to build on musl. - drop the hook work arounding a build issue around man pages, and replace by a patch that completely disables the build/installation of documentation. - change license to LGPLv2.1+, as noted in the COPYING file. - drop --enable-shared=yes, since it is already passed by the autotools-package infrastructure] Signed-off-by: Viacheslav Volkov <sv99@inbox.ru> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud