Package Details: zbar-gtk 0.10-1

Package Base: zbar-gtk
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: None
Votes: 9
First Submitted: 2010-01-12 10:35
Last Updated: 2010-01-12 10:35

Latest Comments

Comment by GI_Jack

2015-01-31 03:33

also missing a package() function

Comment by GI_Jack

2015-01-31 03:31

should have provides,replaces and depends all "zbar"

Comment by intgr

2013-03-04 15:39

I have created a "zbar" package to replace this: https://aur.archlinux.org/packages/zbar/ , which includes both gtk2 and qt4 libraries and Python bindings.

Comment by intgr

2013-03-04 03:23

Please disown if you don't maintain this package.

Comment by milkmiruku

2012-11-23 03:46

Hmm, I'm getting;

milk@silver:~ $ p zbar-gtk
Aur Targets (1): zbar-gtk

Proceed with installation? [Y/n]
==> ERROR: Invalid syntax for optdepend : 'python : python library'
The build failed.

Comment by capoeira

2012-10-15 18:15

@jdetrey

I tried your PKGBUILD


but I get

"sed: nenhum arquivo de entrada"
which means: "sed: no entry file"

Comment by jdetrey

2012-08-20 18:34

Yup. The macro dprintf, defined in zbar/debug.h, conflicts with dprintf(3).

Adding the following line in the PKGBUILD should do the trick:
sed -i 's/dprintf/debug_printf/g' `grep -lr dprintf ${srcdir}/zbar-${pkgver}/`

Patched PKGBUILD here:
http://pastebin.com/66a3ZHh3

Comment by crocowhile

2012-08-07 11:02

Any idea of why this fails compilation?
I get the following error with the PKGBUILD provided by mutoso:


/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT zbar/zbar_libzbar_la-scanner.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-scanner.Tpo -c -o zbar/zbar_libzbar_la-scanner.lo `test -f 'zbar/scanner.c' || echo './'`zbar/scanner.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -Wall -Wno-parentheses -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT zbar/zbar_libzbar_la-scanner.lo -MD -MP -MF zbar/.deps/zbar_libzbar_la-scanner.Tpo -c zbar/scanner.c -fPIC -DPIC -o zbar/.libs/zbar_libzbar_la-scanner.o
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
make[1]: *** [zbar/zbar_libzbar_la-scanner.lo] Error 1
make[1]: Leaving directory `/tmp/zbar-gtk/src/zbar-0.10'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Comment by mutoso

2012-04-22 01:51

Here's a fixed PKGBUILD:
http://pastebin.com/qsxYKPhz

Comment by Dieter_be

2012-01-25 14:39

15:37:36 dieter@Gi zbar-gtk grep -i error src/zbar-0.10/config.log
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
conftest.c:10:28: fatal error: ac_nonexistent.h: No such file or directory
conftest.c:10:28: fatal error: ac_nonexistent.h: No such file or directory
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
g++: error: unrecognized option '-V'
g++: fatal error: no input files
g++: error: unrecognized option '-V'
g++: fatal error: no input files
conftest.cpp:27:28: fatal error: ac_nonexistent.h: No such file or directory
conftest.cpp:27:28: fatal error: ac_nonexistent.h: No such file or directory
| /* Override any GCC internal prototype to avoid an error.
conftest.c:71:28: fatal error: linux/videodev.h: No such file or directory
conftest.c:38:28: fatal error: linux/videodev.h: No such file or directory
configure:18859: error: in `/home/dieter/zbar-gtk/src/zbar-0.10':
configure:18864: error: test for video support failed!
15:37:38 dieter@Gi zbar-gtk grep -i warning src/zbar-0.10/config.log
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
conftest.c:(.text.startup+0x9): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

Comment by Dieter_be

2012-01-25 14:38

after fixing the silly optdepend error I get:

checking linux/videodev.h presence... no
checking for linux/videodev.h... no
configure: error: in `/home/dieter/zbar-gtk/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.
==> ERROR: A failure occurred in build().
Aborting...

Comment by Maxr

2012-01-13 11:10

ERROR: Invalid syntax for optdepend : 'python : python library'

Comment by eworm

2011-11-08 21:46

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

Comment by chenxiaolong

2011-07-30 20:09

Please see my comment on the zbar-qt page to fix the video4linux error and optdepends error: http://aur.archlinux.org/packages.php?ID=33528

Hint: Press Control + F and search for "Sat, 30 Jul 2011 20:05:37 +0000"

Comment by doorknob60

2011-05-03 05:33

checking linux/videodev.h usability... no
checking linux/videodev.h presence... no
checking for linux/videodev.h... no
configure: error: in `/tmp/yaourt-tmp-austin/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.

Don't think there's anything wrong with my kernel that needs recompiling, just using the stock kernel, and webcam stuff works in other apps...and maybe it's just not looking for videodev.h in the right place:
austin@austin-desktop ~ % locate videodev.h
/usr/include/libv4l1-videodev.h
/usr/src/linux-2.6.38-ARCH/drivers/staging/usbvideo/videodev.h

Oh and also:
==> ERROR: Invalid syntax for optdepend : 'python : python library'

Comment by orbisvicis

2011-02-16 21:53

Shouldn't GTK2 be a dependency and PyGTK an optdepends?
And (!libtool) be added as an option?

Also split build() and package() is apparently "a la mode".
http://aur.pastebin.com/y7jriT6b