SmartOS BaseImage: 20150219T102159Z
Zone Image: b451ca78-1ca5-11e4-8a4c-5f463f94e8f1
(elasticsearch 14.2.0 smartos 2014-08-05T13:37:54Z)
Download zbar source from: http://zbar.sourceforge.net/download.html
=> zbar-0.10.tar.bz2
Download imagemagick source from: http://www.imagemagick.org/download/ImageMagick.tar.gz
=> ``
bzip2 -d zbar-0.10.tar.bz2
tar -xf zbar-0.10.tar
tar -xzf ImageMagick.tar.gz
pkgin in pkg-config
cd ImageMagick-6.9.1-2
./configure --prefix=/opt/local/ImageMagick --enable-shared=yes --with-quantum-depth=8
make install
MAGICK_CFLAGS="" MAGICK_LIBS="-L/opt/local/lib -L/opt/local/ImageMagick/lib -lMagickWand-6.Q8" ./configure --disable-video --without-qt --without-gtk --without-python
make
zbarimg
should now be in subfolder zbarimg
PS: Sadly it does not work against PNG files yet. When i convert them to JPEG (using imagemagick's convert) they work fine though :)