diff --git a/sane-backends-1.0.18-pint.patch b/sane-backends-1.0.18-pint.patch new file mode 100644 index 0000000..2829f72 --- /dev/null +++ b/sane-backends-1.0.18-pint.patch @@ -0,0 +1,19 @@ +diff -up sane-backends-1.0.18/configure.in.pint sane-backends-1.0.18/configure.in +--- sane-backends-1.0.18/configure.in.pint 2007-10-02 10:00:41.000000000 +0200 ++++ sane-backends-1.0.18/configure.in 2007-10-02 10:08:49.000000000 +0200 +@@ -406,7 +406,14 @@ else + fi + + if test "${ac_cv_header_sys_scanio_h}" = "no"; then +- echo "*** disabling PINT backend (sys/scanio.h not found)" ++ case "$host_os" in ++ *bsd*) ++ echo "*** disabling PINT backend (sys/scanio.h not found)" ++ ;; ++ *) ++ BACKENDS="${BACKENDS} pint" ++ ;; ++ esac + else + BACKENDS="${BACKENDS} pint" + fi diff --git a/sane-backends.spec b/sane-backends.spec index 91d522f..4038bc0 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -24,7 +24,7 @@ Summary: Scanner access software Name: sane-backends Version: 1.0.18 -Release: 15%{?dist} +Release: 16%{?dist} License: GPL (programs), relaxed LGPL (libraries), and public domain (docs) Group: System Environment/Libraries Source0: ftp://ftp.sane-project.org/pub/sane/%{name}-%{version}/%{name}-%{version}.tar.gz @@ -39,10 +39,16 @@ Patch7: sane-backends-1.0.18-udev-symlink.patch Patch8: sane-backends-1.0.18-udev-098.patch Patch9: sane-backends-1.0.18-glibc-2.7.patch Patch10: sane-backends-1.0.18-epson-cx5000.patch +Patch11: sane-backends-1.0.18-pint.patch URL: http://www.sane-project.org BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%__id_u -n) -BuildRequires: tetex-latex libusb-devel libieee1284-devel libjpeg-devel -BuildRequires: autoconf libtool +BuildRequires: tetex-latex +BuildRequires: libusb-devel +BuildRequires: libieee1284-devel +BuildRequires: libjpeg-devel +BuildRequires: libtiff-devel +BuildRequires: autoconf +BuildRequires: libtool BuildRequires: gettext %if %{gphoto2_support} BuildRequires: gphoto2-devel @@ -132,6 +138,7 @@ want to access digital cameras. %patch9 -p1 -b .glibc-2.7 %patch10 -p1 -b .epson-cx5000 +%patch11 -p1 -b .pint for i in agfafocus avision coolscan2 umax_pp; do iconv -f iso-8859-1 -t utf-8 < "doc/sane-$i.man" > "doc/sane-$i.man_" @@ -251,6 +258,9 @@ rm -rf %{buildroot} %{_libdir}/pkgconfig/sane-backends.pc %changelog +* Tue Oct 02 2007 Nils Philippsen - 1.0.18-16 +- enable dell1600n_net (#314081) and pint backends + * Wed Aug 15 2007 Nils Philippsen - 1.0.18-15 - enable support for Epson CX-5000