From 16e94d76ea1b672d4f70991e7492e16ab9272fd1 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Fri, 22 Feb 2013 11:25:39 -0300 Subject: [PATCH] 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 --- zbar.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/zbar.spec b/zbar.spec index 3447be5..571c7d9 100644 --- a/zbar.spec +++ b/zbar.spec @@ -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 - 0.10-16 +- Change zbar to use GraphicsMagick instead of ImageMagick + * Fri Feb 22 2013 Mauro Carvalho Chehab - 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