Instead of using ImageMagick, use GraphicsMagick

Barcode image recognition seems a more reliable with GraphicsMagick.
So use it for f19, instead of ImageMagick.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
epel9
Mauro Carvalho Chehab 12 years ago
parent 23c808b6cc
commit 16e94d76ea

@ -3,7 +3,7 @@
Name: zbar
Version: 0.10
Release: 15%{?dist}
Release: 16%{?dist}
Summary: Bar code reader
Group: User Interface/X Hardware Support
@ -14,10 +14,9 @@ Patch0: zbar_update_to_hg.patch
Patch1: zbar_use_libv4l.patch
Patch2: zbar_choose_supported_format_first.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ImageMagick-c++ libv4l libXv
BuildRequires: autoconf automake libtool python-devel gettext-devel
BuildRequires: qt4-devel gtk2-devel pygtk2-devel ImageMagick-c++-devel
BuildRequires: qt4-devel gtk2-devel pygtk2-devel GraphicsMagick-c++-devel
BuildRequires: libv4l-devel libXv-devel xmlto
%description
@ -90,8 +89,7 @@ scanning widget.
%build
autoreconf -vfi
autoconf
%configure --docdir=%{_docdir}/%{name}-%{version}
%configure --with-graphicsmagick --docdir=%{_docdir}/%{name}-%{version}
# rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@ -178,6 +176,9 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/zbar/QZBar*.h
%changelog
* Fri Feb 22 2013 Mauro Carvalho Chehab <mchehab@redhat.com> - 0.10-16
- Change zbar to use GraphicsMagick instead of ImageMagick
* Fri Feb 22 2013 Mauro Carvalho Chehab <mchehab@redhat.com> - 0.10-15
- zbar 0.10 source generated via hg archive -r 0.10 ../zbar-0.10.tar.bz2
That allows to better handle the difference from 0.10 to -hg

Loading…
Cancel
Save