Package Details: zbar-qt 0.10-2

Package Base: zbar-qt
Description: An open source software suite for reading bar codes from various sources
Upstream URL: http://zbar.sourceforge.net/
Category: multimedia
Licenses: LGPL
Submitter: None
Maintainer: None
Last Packager: sergej
Votes: 10
First Submitted: 2010-01-12 10:39
Last Updated: 2015-03-27 17:25

Latest Comments

Comment by HolyGuacamole

2013-03-17 23:58

Could you please change the dependency 'qt' to 'qt4'? Thank you.

https://mailman.archlinux.org/pipermail/arch-dev-public/2013-February/024532.html

Anonymous comment

2012-10-24 22:36

seems CFLAGS in makepkg.conf are the problem

add this before ./configure line:

export CFLAGS=""

PKGBUILD: http://pastebin.com/tBnE9FYg

Comment by 910JQK

2012-09-08 18:58

In file included from /usr/include/stdio.h:937:0,
from zbar/debug.h:60,
from zbar/scanner.c:34:
/usr/include/bits/stdio2.h:140:1: error:expected identifier or ‘(’ before ‘{’ token

Comment by eworm

2011-11-08 21:46

You should add "conflicts=(zbar-gtk)".

Comment by chenxiaolong

2011-07-30 20:05

Please add the following line to the PKGBUILD file right before the ./configure line:

sed -i 's|linux/videodev.h|libv4l1-videodev.h|g' ${srcdir}/zbar-${pkgver}/{zbar/video/v4l1.c,include/config.h.in,configure.ac,configure}

Here's the resulting PKGBUILD for:

zbar-qt: http://pastebin.com/UfuUw1qD (Fixes video4linux error)
zbar-gtk: http://pastebin.com/JVHsEx2H (Fixes video4linux error and optdepends error)

Comment by archdria

2011-07-13 16:31

Here's the error:
configure: error: in `/tmp/yaourt-tmp-swiftscythe/aur-zbar-qt/src/zbar-0.10':
configure: error: test for video support failed!
rebuild your kernel to include video4linux support or
configure --disable-video to skip building video support.
See `config.log' for more details.

Comment by archdria

2011-07-13 16:30

Hi! I had to add the --disable-video switch to be able to build this package with the official kernel