From 99ff374aa070f62fb1292b8d3ef7d82e255b1955 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 02 2021 14:41:32 +0000 Subject: import sane-backends-1.0.32-6.el9 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1cb7b5e --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/sane-backends-1.0.32.tar.gz +SOURCES/sane.png diff --git a/.sane-backends.metadata b/.sane-backends.metadata new file mode 100644 index 0000000..73ee2cc --- /dev/null +++ b/.sane-backends.metadata @@ -0,0 +1,2 @@ +97b14808e1ab4bc4c38962372d13d37d9b9fb08b SOURCES/sane-backends-1.0.32.tar.gz +338783a09c91bf1cc1a3bda838a9e7568563e02e SOURCES/sane.png diff --git a/SOURCES/66-saned.rules b/SOURCES/66-saned.rules new file mode 100644 index 0000000..3c9ec85 --- /dev/null +++ b/SOURCES/66-saned.rules @@ -0,0 +1,2 @@ +# udev rule for saned (SANE scanning daemon) to be able to write on usb port +ENV{libsane_matched}=="yes", ENV{DEVNAME}!="", RUN+="/usr/bin/setfacl -m g:saned:rw $env{DEVNAME}" diff --git a/SOURCES/README.Fedora b/SOURCES/README.Fedora new file mode 100644 index 0000000..73c7335 --- /dev/null +++ b/SOURCES/README.Fedora @@ -0,0 +1,28 @@ +README.Fedora +------------- + +This file is meant as README for Fedora specific changes for sane-backends +package. + +SANE daemon is moved to subpackage +---------------------------------- +sane-backends daemon - saned - its manual page and systemd unit files are moved +into subpackage named sane-backends-daemon. It was done because daemon provides +access to scanning devices on remote server, which nowadays isn't common +usage of sane-backends, so it wasn't necessary to ship it with main package. + +Several scanners need proprietary driver for working +---------------------------------------------------- +Several scanners (e.g. Samsung, Brother, Epson) sometimes need special backends, +whose isn't shipped with sane-backends or cannot be shipped in Fedora because of +licensing problem. If your scanner isn't working with basic sane-backends: + +1) if your scanner is Epson, try to install iscan-firmware package or Image Scan from Epson official site +2) if your scanner is Samsung, try to find driver on https://support.hp.com/gb-en/drivers/selfservice/ +3) if your scanner is Brother, see http://support.brother.com/g/s/id/linux/en/download_scn.html + +Ad2) Samsung proprietary driver is needed when user needs JPEG compression - this +feature support was added to sane-backends upstream by commit 926bfade544de4a4fd5, +which contained patches from Samsung. But this commit broke scanning for Samsung +scanners, so this patch was reverted with consequences of losing JPEG compression +feature for Samsung scanners. diff --git a/SOURCES/sane-backends-1.0.23-sane-config-multilib.patch b/SOURCES/sane-backends-1.0.23-sane-config-multilib.patch new file mode 100644 index 0000000..2f28835 --- /dev/null +++ b/SOURCES/sane-backends-1.0.23-sane-config-multilib.patch @@ -0,0 +1,36 @@ +From d0c61e7e9b13185f424dff1f4ac697ec53089d69 Mon Sep 17 00:00:00 2001 +From: Nils Philippsen +Date: Tue, 4 Sep 2012 16:45:14 +0200 +Subject: [PATCH] patch: sane-config-multilib + +Squashed commit of the following: + +commit 81aa4f41bf102b08258c8e1de1c0476835329ec5 +Author: Nils Philippsen +Date: Tue Sep 4 16:43:34 2012 +0200 + + make installed sane-config multi-lib aware again + + This partially reverts commit 77c4ea1a7aa680fb1c3ee4daa1404f21439b2c9b. +--- + tools/sane-config.in | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/tools/sane-config.in b/tools/sane-config.in +index 8e4b52a..1fae2e5 100644 +--- a/tools/sane-config.in ++++ b/tools/sane-config.in +@@ -10,10 +10,6 @@ scriptname="sane-config" + prefix="@prefix@" + exec_prefix="@exec_prefix@" + +-# using our installed *.pc only - neither default nor user paths +-export PKG_CONFIG_LIBDIR="@libdir@/pkgconfig" +-export PKG_CONFIG_PATH="" +- + pkgconfig_package=sane-backends + + usage () +-- +1.7.11.4 + diff --git a/SOURCES/sane-backends-1.0.23-soname.patch b/SOURCES/sane-backends-1.0.23-soname.patch new file mode 100644 index 0000000..c7b5378 --- /dev/null +++ b/SOURCES/sane-backends-1.0.23-soname.patch @@ -0,0 +1,27 @@ +diff -up sane-backends-1.0.28/ltmain.sh.soname sane-backends-1.0.28/ltmain.sh +--- sane-backends-1.0.28/ltmain.sh.soname 2019-09-12 09:57:10.979802716 +0200 ++++ sane-backends-1.0.28/ltmain.sh 2019-09-12 10:27:21.719895206 +0200 +@@ -9615,23 +9615,6 @@ EOF + dlname=$soname + fi + +- # If -module or -export-dynamic was specified, set the dlname +- if test "$module" = yes || test "$export_dynamic" = yes; then +- # On all known operating systems, these are identical. +- dlname="$soname" +- fi +- +- # On sane-backends the internal name for every lib is "libsane" +- # not "libsane-backendname" so that linking to each backend is possible. +- case $host in +- *mingw*) +- ;; +- *aix*) +- ;; +- *) +- soname=`echo $soname | sed -e "s/libsane-[A-Za-z_0-9]*/libsane/g"` +- esac +- + lib=$output_objdir/$realname + linknames= + for link diff --git a/SOURCES/sane-backends-1.0.25-udev.patch b/SOURCES/sane-backends-1.0.25-udev.patch new file mode 100644 index 0000000..6a64812 --- /dev/null +++ b/SOURCES/sane-backends-1.0.25-udev.patch @@ -0,0 +1,72 @@ +From 252f347d59fff3ab1877f77a36613b318651725e Mon Sep 17 00:00:00 2001 +From: Nils Philippsen +Date: Tue, 8 Oct 2013 16:29:13 +0200 +Subject: [PATCH] patch: udev + +Squashed commit of the following: + +commit fb6d1f4c0d17f1df33429bf03a64cd4fbb819ea5 +Author: Nils Philippsen +Date: Tue Oct 8 16:24:49 2013 +0200 + + adapt generated udev rules for Fedora + +commit 8bffaccc1eeb19ecbaddb4ac9da73954af4c5d4f +Author: Nils Philippsen +Date: Mon Sep 10 12:20:43 2012 +0200 + + use group and mode macros consistently +--- + tools/sane-desc.c | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +diff --git a/tools/sane-desc.c b/tools/sane-desc.c +index badc8ce..f992bf5 100644 +--- a/tools/sane-desc.c ++++ b/tools/sane-desc.c +@@ -57,9 +57,9 @@ + #define COLOR_NEW "\"#F00000\"" + #define COLOR_UNKNOWN "\"#000000\"" + +-#define DEVMODE "0664" ++#define DEVMODE "0644" + #define DEVOWNER "root" +-#define DEVGROUP "scanner" ++#define DEVGROUP "root" + + #ifndef PATH_MAX + # define PATH_MAX 1024 +@@ -3564,7 +3564,8 @@ print_udev (void) + } + + printf("\n# The following rule will disable USB autosuspend for the device\n"); +- printf("ENV{libsane_matched}==\"yes\", RUN+=\"/bin/sh -c 'if test -e /sys/$env{DEVPATH}/power/control; then echo on > /sys/$env{DEVPATH}/power/control; elif test -e /sys/$env{DEVPATH}/power/level; then echo on > /sys/$env{DEVPATH}/power/level; fi'\"\n"); ++ printf("ENV{libsane_matched}==\"yes\", TEST==\"power/control\", ATTR{power/control}=\"on\"\n"); ++ printf("ENV{libsane_matched}==\"yes\", TEST!=\"power/control\", TEST==\"power/level\", ATTR{power/level}=\"on\"\n"); + + printf ("\nLABEL=\"libsane_usb_rules_end\"\n\n"); + +@@ -3641,10 +3642,8 @@ print_udev (void) + } + printf ("LABEL=\"libsane_scsi_rules_end\"\n"); + +- if (mode == output_mode_udevacl) +- printf("\nENV{libsane_matched}==\"yes\", RUN+=\"/bin/setfacl -m g:%s:rw $env{DEVNAME}\"\n", DEVGROUP); +- else +- printf ("\nENV{libsane_matched}==\"yes\", MODE=\"664\", GROUP=\"scanner\"\n"); ++ if (mode != output_mode_udevacl) ++ printf ("\nENV{libsane_matched}==\"yes\", MODE=\"%s\", GROUP=\"%s\"\n", DEVMODE, DEVGROUP); + + printf ("\nLABEL=\"libsane_rules_end\"\n"); + } +@@ -3695,6 +3694,7 @@ print_udevhwdb (void) + + printf("# The following rule will disable USB autosuspend for the device\n"); + printf("ENV{DEVTYPE}==\"usb_device\", ENV{libsane_matched}==\"yes\", TEST==\"power/control\", ATTR{power/control}=\"on\"\n\n"); ++ printf("ENV{DEVTYPE}==\"usb_device\", ENV{libsane_matched}==\"yes\", TEST!=\"power/control\", TEST==\"power/level\", ATTR{power/level}=\"on\"\n"); + + printf ("SUBSYSTEMS==\"scsi\", GOTO=\"libsane_scsi_rules_begin\"\n"); + printf ("GOTO=\"libsane_rules_end\"\n\n"); +-- +2.5.0 + diff --git a/SOURCES/sane-epson2-disable-focus.patch b/SOURCES/sane-epson2-disable-focus.patch new file mode 100644 index 0000000..c1e86be --- /dev/null +++ b/SOURCES/sane-epson2-disable-focus.patch @@ -0,0 +1,36 @@ +diff --git a/backend/epson2-ops.c b/backend/epson2-ops.c +index 83a0169..573ebcf 100644 +--- a/backend/epson2-ops.c ++++ b/backend/epson2-ops.c +@@ -291,14 +291,14 @@ e2_dev_post_init(struct Epson_Device *dev) + dev->need_reset_on_source_change = SANE_FALSE; + + if (e2_dev_model(dev, "ES-9000H") || e2_dev_model(dev, "GT-30000")) { +- dev->cmd->set_focus_position = 0; + dev->cmd->feed = 0x19; ++ dev->focusSupport = SANE_FALSE; + } + + if (e2_dev_model(dev, "GT-8200") || e2_dev_model(dev, "Perfection1650") + || e2_dev_model(dev, "Perfection1640") || e2_dev_model(dev, "GT-8700")) { + dev->cmd->feed = 0; +- dev->cmd->set_focus_position = 0; ++ dev->focusSupport = SANE_FALSE; + dev->need_reset_on_source_change = SANE_TRUE; + } + +@@ -825,12 +825,12 @@ e2_discover_capabilities(Epson_Scanner *s) + + if (esci_request_focus_position(s, &s->currentFocusPosition) == + SANE_STATUS_GOOD) { +- DBG(1, "setting focus is supported, current focus: %u\n", s->currentFocusPosition); ++ DBG(1, "getting focus is supported, current focus: %u\n", s->currentFocusPosition); + dev->focusSupport = SANE_TRUE; + s->opt[OPT_FOCUS_POS].cap &= ~SANE_CAP_INACTIVE; + s->val[OPT_FOCUS_POS].w = s->currentFocusPosition; + } else { +- DBG(1, "setting focus is not supported\n"); ++ DBG(1, "getting focus is not supported\n"); + dev->focusSupport = SANE_FALSE; + s->opt[OPT_FOCUS_POS].cap |= SANE_CAP_INACTIVE; + s->val[OPT_FOCUS_POS].w = FOCUS_ON_GLASS; /* just in case */ diff --git a/SOURCES/saned.socket b/SOURCES/saned.socket new file mode 100644 index 0000000..1aa19e7 --- /dev/null +++ b/SOURCES/saned.socket @@ -0,0 +1,10 @@ +[Unit] +Description=saned incoming socket + +[Socket] +ListenStream=6566 +Accept=yes +MaxConnections=1 + +[Install] +WantedBy=sockets.target diff --git a/SOURCES/saned@.service.in b/SOURCES/saned@.service.in new file mode 100644 index 0000000..d2c0a26 --- /dev/null +++ b/SOURCES/saned@.service.in @@ -0,0 +1,18 @@ +[Unit] +Description=Scanner Service +Requires=saned.socket + +[Service] +ExecStart=/usr/sbin/saned +User=saned +Group=saned +StandardInput=null +StandardOutput=syslog +StandardError=syslog +Environment=SANE_CONFIG_DIR=@CONFIGDIR@ +# If you need to debug your configuration uncomment the next line and +# change it as appropriate to set the desired debug options +# Environment=SANE_DEBUG_DLL=255 SANE_DEBUG_NET=255 + +[Install] +Also=saned.socket diff --git a/SPECS/sane-backends.spec b/SPECS/sane-backends.spec new file mode 100644 index 0000000..5491212 --- /dev/null +++ b/SPECS/sane-backends.spec @@ -0,0 +1,1441 @@ +# let -devel require drivers to make them available as multilib +%global needs_multilib_quirk 1 + +%global _hardened_build 1 + +%global libusb1 1 + +%global __provides_exclude_from ^%{_libdir}/sane/.*\.so.*$ +%global __requires_exclude ^libsane-.*\.so\.[0-9]*(\(\).*)?+$ + +%global _maindocdir %{_docdir}/%{name} +%global _docdocdir %{_docdir}/%{name}-doc + +Summary: Scanner access software +Name: sane-backends +Version: 1.0.32 +Release: 6%{?dist} +# lib/ is LGPLv2+, backends are GPLv2+ with exceptions +# Tools are GPLv2+, docs are public domain +# see LICENSE for details +License: GPLv2+ and GPLv2+ with exceptions and Public Domain and IJG and LGPLv2+ and MIT +# GitLab Download URLs are amazing. But the source code link has different name and doesnt have generated autotools stuff +Source0: https://gitlab.com/sane-project/backends/uploads/104f09c07d35519cc8e72e604f11643f/%{name}-%{version}.tar.gz + +Source1: sane.png +Source2: saned.socket +Source3: saned@.service.in +Source4: README.Fedora +Source5: 66-saned.rules + +# Fedora-specific, probably not generally applicable: +Patch0: sane-backends-1.0.25-udev.patch +# Fedora-specific (for now): don't use the same SONAME for backend libs and +# main lib +Patch1: sane-backends-1.0.23-soname.patch +# Fedora-specific (for now): make installed sane-config multi-lib aware again +Patch2: sane-backends-1.0.23-sane-config-multilib.patch +# 1934308 - Several Epson devices cannot scan because they fail to set focus +Patch3: sane-epson2-disable-focus.patch + +URL: http://www.sane-project.org + +BuildRequires: gettext +# gcc is no longer in buildroot by default +BuildRequires: gcc +# genesys backend is not written in C++, so it is needed as buildrequire +BuildRequires: gcc-c++ +BuildRequires: gphoto2-devel +BuildRequires: %{_bindir}/latex +BuildRequires: libieee1284-devel +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel +BuildRequires: libtiff-devel +%if %libusb1 +BuildRequires: libusbx-devel +%else +BuildRequires: libusb-devel +%endif +BuildRequires: libv4l-devel +# uses make +BuildRequires: make +# pixma backend generates header files during build via python script +BuildRequires: python3 +BuildRequires: systemd-devel +BuildRequires: systemd +# needed by macros in rpm scriptlets +BuildRequires: systemd-rpm-macros + +Requires: libpng +%if 0%{?fedora} >= 32 || 0%{?rhel} > 8 +Requires: sane-airscan +%endif +Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: systemd >= 196 +Requires: systemd-udev >= 196 + +# workaround for Brother scanners, which drivers are built with old libnsl +# it is ignored by DNF, but it seems GUI installation apps should offer it +# if it is not installed, it leads to crashes like #1778425 +Suggests: libnsl + +%description +Scanner Access Now Easy (SANE) is a universal scanner interface. The +SANE application programming interface (API) provides standardized +access to any raster image scanner hardware (flatbed scanner, +hand-held scanner, video and still cameras, frame-grabbers, etc.). + +%package doc +Summary: SANE backends documentation +BuildArch: noarch +# Don't drag around obsoletes forever + +%description doc +This package contains documentation for SANE backends. + +%package libs +Summary: SANE libraries +Recommends: %{name}-drivers-cameras%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Recommends: %{name}-drivers-scanners%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description libs +This package contains the SANE libraries which are needed by applications that +want to access scanners. + +%package devel +Summary: SANE development toolkit +Requires: libieee1284-devel +Requires: libjpeg-devel +Requires: libtiff-devel +%if %libusb1 +Requires: libusbx-devel +%else +Requires: libusb-devel +%endif +Requires: pkgconfig +Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release} +%if %needs_multilib_quirk +Requires: sane-backends-drivers-scanners%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: sane-backends-drivers-cameras%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +%endif +Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description devel +This package contains libraries and header files for writing Scanner Access Now +Easy (SANE) modules. + +%package drivers-scanners +Summary: SANE backend drivers for scanners +# pixma backend now requires libxml2 +BuildRequires: libxml2-devel +Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description drivers-scanners +This package contains backend drivers to access scanner hardware through SANE. + +%package drivers-cameras +Summary: Scanner backend drivers for digital cameras +Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description drivers-cameras +This package contains backend drivers to access digital cameras through SANE. + +%package daemon +Summary: Scanner network daemon +Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} + +Requires(pre): shadow-utils + +%description daemon +This package contains saned which is the daemon that allows remote clients to +access image acquisition devices available on the local host. + +%prep +%setup -q + +%patch0 -p1 -b .udev +%patch1 -p1 -b .soname +%patch2 -p1 -b .sane-config-multilib +%patch3 -p1 -b .disable-focus + +%build +CFLAGS="%optflags -fno-strict-aliasing" +%if ! 0%{?_hardened_build} +# use PIC/PIE because SANE-enabled software is likely to deal with data coming +# from untrusted sources (client <-> saned via network) +CFLAGS="$CFLAGS -fPIC" +LDFLAGS="-pie" +%endif +%configure \ + --with-gphoto2=%{_prefix} \ + --with-docdir=%{_maindocdir} \ + --with-systemd \ + --disable-locking --disable-rpath \ +%if %libusb1 + --with-usb \ +%endif + --enable-pthread +%make_build + +# Write udev/hwdb files +_topdir="$PWD" +pushd tools +./sane-desc -m udev+hwdb -s "${_topdir}/doc/descriptions:${_topdir}/doc/descriptions-external" -d0 > udev/sane-backends.rules +./sane-desc -m hwdb -s "${_topdir}/doc/descriptions:${_topdir}/doc/descriptions-external" -d0 > udev/sane-backends.hwdb + +popd + +%install +%make_install + +mkdir -p %{buildroot}%{_datadir}/pixmaps +install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps +rm -f %{buildroot}%{_bindir}/gamma4scanimage +rm -f %{buildroot}%{_mandir}/man1/gamma4scanimage.1* +rm -f %{buildroot}%{_libdir}/sane/*.a %{buildroot}%{_libdir}/*.a +rm -f %{buildroot}%{_libdir}/libsane*.la %{buildroot}%{_libdir}/sane/*.la + +mkdir -p %{buildroot}%{_udevrulesdir} +mkdir -p %{buildroot}%{_udevhwdbdir} +install -m 0644 tools/udev/sane-backends.rules %{buildroot}%{_udevrulesdir}/65-sane-backends.rules +install -m 0644 tools/udev/sane-backends.hwdb %{buildroot}%{_udevhwdbdir}/20-sane-backends.hwdb +install -m 0644 %{SOURCE5} %{buildroot}%{_udevrulesdir}/66-saned.rules + +mkdir -p %{buildroot}%{_libdir}/pkgconfig +install -m 0644 tools/sane-backends.pc %{buildroot}%{_libdir}/pkgconfig/ + +mkdir %{buildroot}%{_docdocdir} +pushd %{buildroot}%{_maindocdir} +for f in *; do + if [ -d "$f" ]; then + mv "$f" "%{buildroot}%{_docdocdir}/${f}" + else + case "$f" in + AUTHORS|ChangeLog|COPYING|LICENSE|NEWS|PROBLEMS|README|README.linux) + ;; + backend-writing.txt|PROJECTS|sane-*.html) + mv "$f" "%{buildroot}%{_docdocdir}/${f}" + ;; + *) + rm -rf "$f" + ;; + esac + fi +done +popd + +install -m 644 %{SOURCE4} %{buildroot}%{_maindocdir} + +install -m 755 -d %{buildroot}%{_unitdir} +install -m 644 %{SOURCE2} %{buildroot}%{_unitdir} +sed 's|@CONFIGDIR@|%{_sysconfdir}/sane.d|g' < %{SOURCE3} > saned@.service +install -m 644 saned@.service %{buildroot}%{_unitdir} + +%ifarch armv7hl +rm -f %{buildroot}%{_libdir}/sane/libsane-qcam.so +%endif + +%find_lang %name + +%post +udevadm hwdb --update >/dev/null 2>&1 || : + +# check if there is autodiscovery enabled in epsonds.conf +autodiscovery=`%{_bindir}/grep -E '^[[:space:]]*net[[:space:]]*autodiscovery' /etc/sane.d/epsonds.conf` +if [ -n "$autodiscovery" ] +then + # comment out 'net autodiscovery' if it is not commented out + %{_bindir}/sed -i 's,^[[:space:]]*net[[:space:]]*autodiscovery,#net autodiscovery,g' /etc/sane.d/epsonds.conf +fi + +%postun +udevadm hwdb --update >/dev/null 2>&1 || : + +%ldconfig_scriptlets libs + +%pre daemon +getent group saned >/dev/null || groupadd -r saned +getent passwd saned >/dev/null || \ + useradd -r -g saned -d %{_datadir}/sane -s /sbin/nologin \ + -c "SANE scanner daemon user" saned +exit 0 + +%post daemon +%systemd_post saned.socket + +%preun daemon +%systemd_preun saned.socket + +%postun daemon +%systemd_postun_with_restart saned.socket + +%files -f %{name}.lang +%dir %{_maindocdir} +%doc %{_maindocdir}/AUTHORS +%doc %{_maindocdir}/ChangeLog +%doc %{_maindocdir}/NEWS +%doc %{_maindocdir}/PROBLEMS +%doc %{_maindocdir}/README* +%license %{_maindocdir}/COPYING +%license %{_maindocdir}/LICENSE +%dir /etc/sane.d +%dir /etc/sane.d/dll.d +%config(noreplace) /etc/sane.d/*.conf +%{_udevrulesdir}/65-sane-backends.rules +%{_udevhwdbdir}/20-sane-backends.hwdb +%{_datadir}/pixmaps/sane.png + +%{_bindir}/sane-find-scanner +%{_bindir}/scanimage +%{_bindir}/umax_pp + +%exclude %{_mandir}/man1/sane-config.1* +%exclude %{_mandir}/man8/saned* +%{_mandir}/*/* + +%dir %{_libdir}/sane +%dir %{_datadir}/sane + +%files doc +%doc %{_docdocdir} + +%files libs +%{_libdir}/libsane.so.1 +%{_libdir}/libsane.so.1.0.32 + +%files devel +%{_bindir}/sane-config +%{_mandir}/man1/sane-config.1* +%{_includedir}/sane +%{_libdir}/libsane.so +%{_libdir}/pkgconfig/sane-backends.pc + +%files drivers-scanners +# we need to specify all .so files for available backends because something like +# #1761145 can happen - genesys did not compile because of lack gcc-c++ in buildroot +# and configure printed only warning. So now we can figure out missing backend support +# during build +%{_libdir}/sane/libsane-abaton.so +%{_libdir}/sane/libsane-agfafocus.so +%{_libdir}/sane/libsane-apple.so +%{_libdir}/sane/libsane-artec.so +%{_libdir}/sane/libsane-artec_eplus48u.so +%{_libdir}/sane/libsane-as6e.so +%{_libdir}/sane/libsane-avision.so +%{_libdir}/sane/libsane-bh.so +%{_libdir}/sane/libsane-canon.so +%{_libdir}/sane/libsane-canon630u.so +%{_libdir}/sane/libsane-canon_dr.so +%{_libdir}/sane/libsane-canon_lide70.so +%{_libdir}/sane/libsane-canon_pp.so +%{_libdir}/sane/libsane-cardscan.so +%{_libdir}/sane/libsane-coolscan.so +%{_libdir}/sane/libsane-coolscan2.so +%{_libdir}/sane/libsane-coolscan3.so +%{_libdir}/sane/libsane-dc210.so +%{_libdir}/sane/libsane-dc240.so +%{_libdir}/sane/libsane-dc25.so +%{_libdir}/sane/libsane-dell1600n_net.so +%{_libdir}/sane/libsane-dll.so +%{_libdir}/sane/libsane-dmc.so +%{_libdir}/sane/libsane-epjitsu.so +%{_libdir}/sane/libsane-epson.so +%{_libdir}/sane/libsane-epson2.so +%{_libdir}/sane/libsane-epsonds.so +%{_libdir}/sane/libsane-fujitsu.so +%{_libdir}/sane/libsane-genesys.so +%{_libdir}/sane/libsane-gt68xx.so +%{_libdir}/sane/libsane-hp.so +%{_libdir}/sane/libsane-hp3500.so +%{_libdir}/sane/libsane-hp3900.so +%{_libdir}/sane/libsane-hp4200.so +%{_libdir}/sane/libsane-hp5400.so +%{_libdir}/sane/libsane-hp5590.so +%{_libdir}/sane/libsane-hpljm1005.so +%{_libdir}/sane/libsane-hpsj5s.so +%{_libdir}/sane/libsane-hs2p.so +%{_libdir}/sane/libsane-ibm.so +%{_libdir}/sane/libsane-kodak.so +%{_libdir}/sane/libsane-kodakaio.so +%{_libdir}/sane/libsane-kvs1025.so +%{_libdir}/sane/libsane-kvs20xx.so +%{_libdir}/sane/libsane-kvs40xx.so +%{_libdir}/sane/libsane-leo.so +%{_libdir}/sane/libsane-lexmark.so +%{_libdir}/sane/libsane-ma1509.so +%{_libdir}/sane/libsane-magicolor.so +%{_libdir}/sane/libsane-matsushita.so +%{_libdir}/sane/libsane-microtek.so +%{_libdir}/sane/libsane-microtek2.so +%{_libdir}/sane/libsane-mustek.so +%{_libdir}/sane/libsane-mustek_pp.so +%{_libdir}/sane/libsane-mustek_usb.so +%{_libdir}/sane/libsane-mustek_usb2.so +%{_libdir}/sane/libsane-nec.so +%{_libdir}/sane/libsane-net.so +%{_libdir}/sane/libsane-niash.so +%{_libdir}/sane/libsane-p5.so +%{_libdir}/sane/libsane-pie.so +%{_libdir}/sane/libsane-pieusb.so +%{_libdir}/sane/libsane-pixma.so +%{_libdir}/sane/libsane-plustek.so +%{_libdir}/sane/libsane-plustek_pp.so +# qcam is not on aarch64, ppc64le and s390x. SANE needs +# ioperm, inb and outb functions or portaccess function +# to support qcam backend. Those functions are only in +# armv7hl (until F30), i686 and x86_64 architectures. +# Because qcam is missing on some archs and releases, +# I'll leave here a wildcard record +%ifarch x86_64 i686 +%{_libdir}/sane/libsane-qcam.so +%endif +%{_libdir}/sane/libsane-ricoh.so +%{_libdir}/sane/libsane-ricoh2.so +%{_libdir}/sane/libsane-rts8891.so +%{_libdir}/sane/libsane-s9036.so +%{_libdir}/sane/libsane-sceptre.so +%{_libdir}/sane/libsane-sharp.so +%{_libdir}/sane/libsane-sm3600.so +%{_libdir}/sane/libsane-sm3840.so +%{_libdir}/sane/libsane-snapscan.so +%{_libdir}/sane/libsane-sp15c.so +%{_libdir}/sane/libsane-st400.so +%{_libdir}/sane/libsane-stv680.so +%{_libdir}/sane/libsane-tamarack.so +%{_libdir}/sane/libsane-teco1.so +%{_libdir}/sane/libsane-teco2.so +%{_libdir}/sane/libsane-teco3.so +%{_libdir}/sane/libsane-test.so +%{_libdir}/sane/libsane-u12.so +%{_libdir}/sane/libsane-umax.so +%{_libdir}/sane/libsane-umax1220u.so +%{_libdir}/sane/libsane-umax_pp.so +%{_libdir}/sane/libsane-v4l.so +%{_libdir}/sane/libsane-xerox_mfp.so +%{_libdir}/sane/*.so.1 +%{_libdir}/sane/*.so.1.0.32 + +%exclude %{_libdir}/sane/*gphoto2.so* + +%files drivers-cameras +%{_libdir}/sane/libsane-gphoto2.so +%{_libdir}/sane/libsane-gphoto2.so.1 +%{_libdir}/sane/libsane-gphoto2.so.1.0.32 + +%files daemon +%{_sbindir}/saned +%{_mandir}/man8/saned* +%{_udevrulesdir}/66-saned.rules +%{_unitdir}/saned.socket +%{_unitdir}/saned@.service + +%changelog +* Tue Aug 10 2021 Mohan Boddu - 1.0.32-6 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 1.0.32-5 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Mar 09 2021 Zdenek Dohnal - 1.0.32-4 +- 1934308 - Several Epson devices cannot scan because they fail to set focus + +* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 1.0.32-3 +- Rebuilt for updated systemd-rpm-macros + See https://pagure.io/fesco/issue/2583. + +* Thu Feb 18 2021 Zdenek Dohnal - 1.0.32-2 +- python3 is now needed for building pixma backend + +* Tue Feb 16 2021 Zdenek Dohnal - 1.0.32-1 +- 1928484 - sane-backends-1.0.32 is available + +* Wed Jan 27 2021 Fedora Release Engineering - 1.0.31-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Nov 05 2020 Zdenek Dohnal - 1.0.31-4 +- make is no longer in buildroot by default + +* Fri Oct 09 2020 Zdenek Dohnal - 1.0.31-3 +- 1750899 - CANOSCAN N650U scanner device not correctly detected via USB + +* Mon Sep 14 2020 Zdenek Dohnal - 1.0.31-2 +- make the base package depend on sane-airscan instead of libsane-airscan lib + +* Mon Aug 24 2020 Zdenek Dohnal - 1.0.31-1 +- 1.0.31, backend cannon_lide70 added + +* Mon Aug 03 2020 Zdenek Dohnal - 1.0.30-4 +- get libsane-airscan backend as one of backends + +* Tue Jul 28 2020 Zdenek Dohnal - 1.0.30-3 +- add a scriptlet to disable epsonds autodiscovery in case an user changed epsonds.conf + +* Tue Jul 14 2020 Tom Stellard - 1.0.30-2 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + +* Tue May 19 2020 Zdenek Dohnal - 1.0.30-1 +- 1.0.30 + +* Mon May 11 2020 Zdenek Dohnal - 1.0.29-8 +- 1778425 - scanimage segfaults for brother scan drivers due missing deprecated libnsl +- spec file fixes - add link to upstream issue, correct source url + +* Thu Apr 02 2020 Zdenek Dohnal - 1.0.29-7 +- remove escl backend - will be merged into sane-airscan in the future, so stop shipping it + to prevent escl going into RHEL + +* Mon Mar 23 2020 Zdenek Dohnal - 1.0.29-6 +- complete fix for #1807751 + +* Mon Mar 23 2020 Zdenek Dohnal - 1.0.29-5 +- 1807751 - [abrt] sane-backends: std::__replacement_assert(): scanimage killed by SIGABRT + +* Mon Feb 10 2020 Zdenek Dohnal - 1.0.29-4 +- really fix it... + +* Mon Feb 10 2020 Zdenek Dohnal - 1.0.29-3 +- typo in install phase... + +* Mon Feb 10 2020 Zdenek Dohnal - 1.0.29-2 +- remove qcam from armv7hl + +* Mon Feb 03 2020 Zdenek Dohnal - 1.0.29-1 +- 1.0.29 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.0.28-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jan 15 2020 Zdenek Dohnal - 1.0.28-6 +- add buildrequires on systemd-rpm-macros + +* Thu Oct 31 2019 Zdenek Dohnal - 1.0.28-5 +- 1761530 - apply upstream patch + +* Fri Oct 18 2019 Zdenek Dohnal - 1.0.28-4 +- Ad 1761530 - actually apply the patch... + +* Thu Oct 17 2019 Zdenek Dohnal - 1.0.28-3 +- qcam backend support is tricky among different Fedora releases and archs - let the wildcard cover it + +* Thu Oct 17 2019 Zdenek Dohnal - 1.0.28-2 +- 1761145, 1761001, 1761051, 1761234 - genesys backend now needs gcc-c++, it is not built otherwise +- 1758886 - CanoScan LiDE scanners supported by genesys backend are not detected +- 1760916 - Samsung C460 does not have JPEG support +- 1761530 - genesys aborts when accessing invalid vector index and built with GLIBCXX_ASSERTIONS +- remove qcam from armvhl7 too + +* Mon Sep 30 2019 Zdenek Dohnal - 1.0.28-1 +- 1.0.28 + +* Fri Jul 26 2019 Fedora Release Engineering - 1.0.27-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jul 18 2019 Zdenek Dohnal - 1.0.27-24 +- 1730698 - add Canon CanonScan LiDE 300 support + +* Wed Apr 03 2019 Zdenek Dohnal - 1.0.27-23 +- mustek backend crashed from stack smashing (upstream issue #71) + +* Mon Feb 04 2019 Zdenek Dohnal - 1.0.27-22 +- 1671510 - Incorrect udev rule in sane-backends + +* Sat Feb 02 2019 Fedora Release Engineering - 1.0.27-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jul 24 2018 Zdenek Dohnal - 1.0.27-20 +- corrected license + +* Tue Jul 24 2018 Zdenek Dohnal - 1.0.27-19 +- changed URL + +* Sat Jul 14 2018 Fedora Release Engineering - 1.0.27-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Apr 19 2018 Zdenek Dohnal - 1.0.27-17 +- revert samsung patch + +* Tue Apr 17 2018 Zdenek Dohnal - 1.0.27-16 +- 1554032 - saned doesn't have permissions to write on usb port - updated + +* Mon Mar 12 2018 Zdenek Dohnal - 1.0.27-15 +- 1554032 - saned doesn't have permissions to write on usb port +- updated README.Fedora - mention epson official drivers + +* Wed Feb 28 2018 Zdenek Dohnal - 1.0.27-14 +- name soname suffix explicitly + +* Mon Feb 19 2018 Zdenek Dohnal - 1.0.27-13 +- gcc is no longer in buildroot by default + +* Wed Feb 14 2018 Zdenek Dohnal - 1.0.27-12 +- 1540370 - Black vertical band in color and gray images with Canon LIDE 100 scanner + +* Fri Feb 09 2018 Fedora Release Engineering - 1.0.27-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Feb 02 2018 Igor Gnatenko - 1.0.27-10 +- Switch to %%ldconfig_scriptlets + +* Mon Jan 08 2018 Zdenek Dohnal - 1.0.27-9 +- fixing configure option --with-usb +- 1530216 - Samsung scanners need proprietary driver for working [Fedora-ALL] + +* Thu Dec 14 2017 Zdenek Dohnal - 1.0.27-8 +- 1525293 - PNG scans should be enabled + +* Wed Nov 22 2017 Zdenek Dohnal - 1.0.27-7 +- 1515762 - saned manpage incomplete and exists when saned is not installed +- removing 1504412 + +* Fri Oct 20 2017 Zdenek Dohnal - 1.0.27-6 +- 1504412 - Scanning using a Canon PiXMA multi-function scanner extremely unreliable + +* Tue Aug 15 2017 Zdenek Dohnal - 1.0.27-5 +- requiring systemd-udev, because sane-backends puts files into its directories + and own maindocdir + +* Thu Aug 03 2017 Fedora Release Engineering - 1.0.27-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.0.27-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jun 26 2017 Nils Philippsen - 1.0.27-2 +- fix backend driver soft dependencies (#1446842) + +* Tue May 23 2017 Zdenek Dohnal - 1.0.27-1 +- rebase to 1.0.27 + +* Wed Mar 22 2017 Zdenek Dohnal - 1.0.25-7 +- 1428886 - CVE-2017-6318 sane-backends: SANE_NET_CONTROL_OPTION response packet may contain memory contents of the server [fedora-all] + +* Tue Mar 14 2017 Nils Philippsen - 1.0.25-6 +- avision: add "skip-adf" option (#1288712) + +* Sat Feb 11 2017 Fedora Release Engineering - 1.0.25-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Oct 19 2016 Nils Philippsen - 1.0.25-4 +- use correct group name saned instead of placeholder +- add user for saned (d'oh) + +* Fri Oct 07 2016 Nils Philippsen - 1.0.25-3 +- use %%license for license files +- remove some obsolete cruft from the spec file +- split off saned into daemon subpackage +- add socket activation support for saned (#1091566) + +* Thu Feb 04 2016 Fedora Release Engineering - 1.0.25-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Jan 19 2016 Nils Philippsen +- use %%global instead of %%define + +* Thu Oct 08 2015 Nils Philippsen - 1.0.25-1 +- version 1.0.25 +- remove obsolete patches: epson-expression800, hwdb, pixma_bjnp-crash, + static-code-check, scsi-permissions, format-security, snprintf-license, + usb3-xhci +- update udev patch +- ship umax_pp tool +- remove comments containing macros +- add weak dependency on backend drivers to libs subpackage + +* Fri Jun 19 2015 Fedora Release Engineering - 1.0.24-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Jun 09 2015 Nils Philippsen - 1.0.24-14 +- reformat and rename snprintf-cleanroom patch +- backport USB3 xhci patch from upstream master (#1228954) + +* Mon Jun 08 2015 Nils Philippsen - 1.0.24-14 +- apply format-security patch, drop format-security2 patch + +* Tue Jan 20 2015 Peter Robinson 1.0.24-13 +- Rebuild (libgphoto2) + +* Mon Aug 18 2014 Fedora Release Engineering - 1.0.24-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 1.0.24-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu May 29 2014 Tom Callaway - 1.0.24-10 +- update lib/snprintf.c to resolve license issue (#1102520) + +* Mon Apr 14 2014 Jaromir Capik - 1.0.24-9 +- Fixing format-security flaws + +* Wed Dec 04 2013 Nils Philippsen - 1.0.24-8 +- use string literals as format strings (#1037316) + +* Wed Nov 20 2013 Nils Philippsen - 1.0.24-7 +- set correct permissions for SCSI devices (#1028549) + +* Thu Nov 07 2013 Nils Philippsen - 1.0.24-6 +- epson: don't leak memory if realloc() fails + +* Thu Nov 07 2013 Nils Philippsen - 1.0.24-5 +- fix issues found during static code check + +* Tue Oct 29 2013 Nils Philippsen - 1.0.24-4 +- fix crash in pixma driver (#1021653) + +* Thu Oct 24 2013 Nils Philippsen - 1.0.24-3 +- generate hwdb files correctly (#1018565) + +* Wed Oct 16 2013 Nils Philippsen - 1.0.24-2 +- update udev hwdb on installation/removal + +* Wed Oct 09 2013 Nils Philippsen - 1.0.24-1 +- version 1.0.24 +- use (hopefully stable) Alioth download URL +- update udev patch, remove obsolete patches +- use udev hwdb instead of huge rulesets + +* Mon Sep 09 2013 Nils Philippsen - 1.0.23-18 +- build against libusb-1.0 on Fedora >= 18 (#1003193) +- require libusbx-devel instead of libusb1-devel which is obsolete + +* Wed Sep 04 2013 Hans de Goede - 1.0.23-17 +- Really build against libusb-1.0 on Fedora >= 19 (#1003193) + +* Wed Sep 04 2013 Nils Philippsen - 1.0.23-16 +- don't drag around obsoletes forever (#1002141) + +* Wed Aug 07 2013 Nils Philippsen - 1.0.23-15 +- use unversioned docdir from Fedora 20 on (#994067) + +* Sun Aug 04 2013 Fedora Release Engineering - 1.0.23-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Jul 12 2013 Nils Philippsen - 1.0.23-13 +- fix crash in genesys (gl646) backend (#983694) + +* Mon Jul 08 2013 Nils Philippsen - 1.0.23-12 +- describe missing flag "-b" in scanimage man page +- add short help message to saned +- fix bogus changelog dates + +* Tue Jun 25 2013 Nils Philippsen - 1.0.23-11 +- move documentation into separate doc subpackage (#977653) +- remove ancient, unneeded obsoletes and conflicts + +* Mon Jun 24 2013 Nils Philippsen - 1.0.23-10 +- move some documentation to devel subpackage (#977103) + +* Thu Jun 13 2013 Nils Philippsen - 1.0.23-10 +- don't ignore libsane-gphoto2.so + +* Fri Apr 19 2013 Nils Philippsen - 1.0.23-9 +- use libusb1 instead of libusb from F-19 on + +* Thu Apr 18 2013 Nils Philippsen - 1.0.23-8 +- fix building with -fno-strict-aliasing + +* Fri Feb 01 2013 Nils Philippsen - 1.0.23-7 +- filter out backend driver provides/requires +- update latex build dep +- umax: initialize reader_pid early in sane_start() (#853667) +- coolscan2/3: support multi-scan option of some devices + +* Mon Jan 21 2013 Adam Tkac - 1.0.23-6 +- rebuild due to "jpeg8-ABI" feature drop + +* Fri Dec 21 2012 Adam Tkac - 1.0.23-5 +- rebuild against new libjpeg + +* Mon Sep 10 2012 Nils Philippsen - 1.0.23-3 +- udev: set up for generic user access rules, improve paths and dependencies + +* Tue Sep 04 2012 Nils Philippsen - 1.0.23-2 +- make installed sane-config multi-lib aware again + +* Fri Aug 31 2012 Nils Philippsen - 1.0.23-1 +- version 1.0.23 +- update udev patch, remove obsolete patches +- use %%_hardened_build macro from F-16 on instead of tweaking flags manually +- don't use the same SONAME for backend libs and main lib + +* Sat Jul 21 2012 Fedora Release Engineering - 1.0.22-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jul 11 2012 Rex Dieter 1.0.22-12 +- rebuild (gphoto2) + +* Wed Jun 06 2012 Nils Philippsen - 1.0.22-11 +- multilib: enable -devel quirk regardless of version until a fixed mash gets + into production (#829268) + +* Tue Apr 17 2012 Nils Philippsen - 1.0.22-10 +- fix avision device initialization (#706877) + +* Tue Jan 10 2012 Nils Philippsen - 1.0.22-9 +- rebuild for gcc 4.7 + +* Wed Jan 04 2012 Nils Philippsen - 1.0.22-8 +- fix Lexmark X1100 (#753489) + +* Mon Nov 28 2011 Peter Robinson - 1.0.22-7 +- libs shouldn't depends on base package. Properly fix #736310 +- base package should obsolete -docs as it provides them not -libs +- update spec to current standard + +* Fri Nov 18 2011 Nils Philippsen - 1.0.22-6 +- avision: reenable grayscale and lineart modes for AV220 (#700725) + +* Mon Oct 10 2011 Nils Philippsen - 1.0.22-5 +- multilib: let -devel depend on -drivers-* on F-16 and earlier (#740992) +- multilib: make -drivers-scanners obsolete old -libs as well + +* Fri Sep 16 2011 Nils Philippsen - 1.0.22-4 +- multilib: always use pkg-config in sane-config (#707910) +- add USB id for Epson Stylus SX125 (#703529) + +* Thu Sep 15 2011 Nils Philippsen - 1.0.22-4 +- allow installing the libraries without the drivers (#736310): split off + drivers into -drivers-scanners, rename -libs-gphoto2 to -drivers-cameras + +* Tue May 10 2011 Nils Philippsen - 1.0.22-3 +- fix detection/handling of USB devices in xerox_mfp (#702983) + +* Tue Apr 19 2011 Nils Philippsen - 1.0.22-2 +- remove obsolete lockdir, automake patches + +* Wed Mar 16 2011 Nils Philippsen - 1.0.22-1 +- version 1.0.22 +- remove obsolete i18n, xerox-mfp-color-mode, epson2-fixes, open-macro patches +- update pkgconfig, udev, docs-utf8, v4l, man-encoding patches +- submit patches upstream where this is applicable, add comments +- manually install pkg-config file + +* Wed Mar 09 2011 Dan Horák - 1.0.21-8 +- updated for newer libv4l + +* Wed Feb 09 2011 Fedora Release Engineering - 1.0.21-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Feb 08 2011 Nils Philippsen - 1.0.21-6 +- backport fixes for epson2 backend (#667858, #671534) + +* Tue Nov 23 2010 Nils Philippsen - 1.0.21-5 +- build mustek_usb2 backend again, enable use of libpthread (#603321) + +* Mon Nov 08 2010 Nils Philippsen +- let sane-backends require arch-specific version/release of -libs (#621217) + +* Wed Nov 03 2010 Nils Philippsen - 1.0.21-4 +- xerox_mfp: correct color mode malfunction (#614949) +- xerox_mfp: add USB id for SCX-4500W (#614948) + +* Fri Jun 25 2010 Nils Philippsen - 1.0.21-3 +- build with -fno-strict-aliasing +- use PIC/PIE because SANE-enabled software is likely to deal with data coming + from untrusted sources (client <-> saned via network) + +* Mon Jun 07 2010 Nils Philippsen +- rectify devel subpackage description + +* Wed Jun 02 2010 Nils Philippsen - 1.0.21-2 +- fix pkgconfig file (#598401) + +* Wed May 05 2010 Nils Philippsen - 1.0.21-1 +- version 1.0.21 +- remove obsolete rpath, hal, genesys-gl841-registers patches +- update pkgconfig, udev, man-utf8->man-encoding, epson-expression800, + docs-utf8 patches +- remove hal conditional +- package man pages + +* Fri Feb 26 2010 Nils Philippsen - 1.0.20-12 +- convert some documentation files to UTF-8 +- fix permissions of pkgconfig file + +* Tue Dec 29 2009 Nils Philippsen - 1.0.20-11 +- genesys_gl841: always send registers before trying to acquire a line + (#527935) + +* Mon Dec 28 2009 Nils Philippsen +- build v4l backend (#550119) +- don't use lockdir, fix make install + +* Thu Oct 22 2009 Nils Philippsen - 1.0.20-10 +- don't set owner, group or mode as this may interfere with setting ACLs + +* Thu Oct 22 2009 Nils Philippsen - 1.0.20-9 +- fix device file ownership and mode + +* Thu Oct 22 2009 Nils Philippsen - 1.0.20-8 +- ship adapted udev rules from F-12 on (#512516) +- don't require pam anymore + +* Mon Aug 31 2009 Nils Philippsen - 1.0.20-7 +- fix --enable-rpath + +* Mon Aug 03 2009 Nils Philippsen - 1.0.20-6 +- remove ExcludeArch: s390 s390x + +* Sun Jul 26 2009 Fedora Release Engineering - 1.0.20-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Jun 22 2009 Nils Philippsen - 1.0.20-4 +- separate HAL information and policy files (#457645) + +* Thu Jun 18 2009 Nils Philippsen +- mark /etc/sane.d/dll.d as %%dir, not %%config + +* Wed Jun 17 2009 Nils Philippsen - 1.0.20-3 +- disable rpath +- make sane-config multilib-aware + +* Wed Jun 17 2009 Nils Philippsen - 1.0.20-2 +- fix permissions for Epson Expression 800 (#456656) + +* Tue Jun 16 2009 Nils Philippsen - 1.0.20-1 +- version 1.0.20 +- rebase/remove patches +- use %%_isa for arch-specific requirements +- place HAL fdi files in the correct place (#457645) + +* Sun Jun 14 2009 Michael Schwendt - 1.0.19-16 +- Don't claim ownership of %%_libdir/pkgconfig/ (#499659) + +* Mon Mar 02 2009 Nils Philippsen - 1.0.19-15 +- let sane-backends-devel require libjpeg-devel, libtiff-devel +- update rpath patch (no longer touch sane-config.in as that is replaced + anyway) +- fix pkgconfig patch, bzip2 it + +* Fri Feb 27 2009 Nils Philippsen - 1.0.19-14 +- fix pkgconfig files + +* Wed Feb 25 2009 Nils Philippsen - 1.0.19-13 +- drop acinclude patch to not unnecessarily rebuild autoconf/libtool files + which made libtool break builds on Rawhide +- use "make DESTDIR=... install" instead of "%%makeinstall" + +* Thu Sep 4 2008 Tom "spot" Callaway - 1.0.19-12 +- fix license tag + +* Wed Sep 03 2008 Nils Philippsen - 1.0.19-11 +- update glibc-2.7 patch to apply without fuzz + +* Thu Mar 27 2008 Nils Philippsen - 1.0.19-10 +- rename 60-libsane.fdi to 19-libsane.fdi so that hal-acl-tool callouts get + added (#438827) + +* Wed Mar 26 2008 Nils Philippsen - 1.0.19-9 +- cope with info.subsystem from new HAL versions as well as info.bus (#438827) + +* Fri Mar 14 2008 Nils Philippsen - 1.0.19-8 +- add arch-specific provides/requires to/for libs-gphoto2 subpackage (#436657) + +* Mon Mar 10 2008 Nils Philippsen - 1.0.19-7 +- remove ancient sane-devel obsoletes/provides +- remove libs/doc/gphoto2 conditionals +- fix build root +- add arch-specific provides/requires (#436657) + +* Tue Feb 19 2008 Nils Philippsen - 1.0.19-6 +- move libsane-gphoto2.so into -libs-gphoto2 +- recode spec file to UTF-8 + +* Thu Feb 14 2008 Nils Philippsen - 1.0.19-5 +- replace string-oob patch with uninitialized patch by upstream which covers + more backends + +* Thu Feb 14 2008 Nils Philippsen - 1.0.19-4 +- guard against out-of-bounds string access in fujitsu backend (#429338, patch + by Caolan McNamara) + +* Wed Feb 13 2008 Nils Philippsen - 1.0.19-3 +- add HAL policy for SCSI scanners + +* Tue Feb 12 2008 Nils Philippsen - 1.0.19-2 +- add files missing from CVS to make autoconf work + +* Tue Feb 12 2008 Nils Philippsen - 1.0.19-1 +- version 1.0.19 final + +* Wed Feb 06 2008 Nils Philippsen - 1.0.19-0.1.cvs20080206 +- cvs snapshot 20080206 +- handle access control through hal/PolicyKit instead of udev (#405211) +- drop obsolete badcode, logical_vs_binary, epson-cx5000, multilib, usb_reset, + udev-symlink, udev-098 patches +- update pkgconfig patch + +* Wed Jan 30 2008 Nils Philippsen - 1.0.18-21 +- don't require libsane-hpaio (#430834) +- use %%bcond_without/with macros + +* Fri Dec 07 2007 Jesse Keating - 1.0.18-20 +- undo bootstrap setting now that hplip built. + +* Fri Dec 07 2007 Release Engineering - 1.0.18-19 +- do a bootstrap build without hplip requirements + +* Wed Nov 07 2007 Nils Philippsen - 1.0.18-18 +- move backend .so files out of -devel into main package (#209389) + +* Tue Oct 02 2007 Nils Philippsen - 1.0.18-17 +- disable pint backend (which doesn't build without some BSD specific headers) + +* 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 + +* Wed Aug 08 2007 Nils Philippsen - 1.0.18-14 +- make udev rules more robust (#243953) +- bring code in shape for glibc-2.7 + +* Wed Jul 25 2007 Jeremy Katz - 1.0.18-13 +- rebuild for toolchain bug + +* Tue Jul 24 2007 Nils Philippsen - 1.0.18-12 +- fix typo in spec file + +* Tue Jul 24 2007 Nils Philippsen - 1.0.18-11 +- work around udev regexes not matching as they should (#244444) + +* Sun Jul 22 2007 Nils Philippsen - 1.0.18-10 +- tweak udev rules generation (#244444) + +* Fri Jul 20 2007 Nils Philippsen - 1.0.18-9 +- don't tweak device names in device configuration files anymore (obsolete) +- let udev rules cope with SUBSYSTEM=="usb" (#244444) +- tweak-udev-rules patch is udev-098 patch now + +* Thu Jul 05 2007 Nils Philippsen - 1.0.18-8 +- tweak udev rules to conform with new udev syntax (#246849) + +* Fri Jun 15 2007 Nils Philippsen - 1.0.18-7 +- call usb_reset() prior to usb_close() to workaround hanging USB hardware + (#149027, #186766) + +* Tue Apr 24 2007 Nils Philippsen - 1.0.18-6 +- don't erroneously use logical "&&" instead of binary "&" at some places in + the canon driver + +* Fri Oct 13 2006 Nils Philippsen - 1.0.18-5 +- use %%rhel, not %%redhat + +* Fri Oct 13 2006 Nils Philippsen - 1.0.18-4 +- don't ship generated docs in -libs but main package (#210572) + +* Sun Sep 17 2006 Warren Togami - 1.0.18-3 +- -devel req exact version-release + +* Fri Sep 08 2006 Nils Philippsen - 1.0.18-2 +- remove unneeded programs subpackage +- clean up docs vs. libs pkg split, mark documentation as %%doc + +* Mon Jul 24 2006 Nils Philippsen - 1.0.18-1 +- version 1.0.18 +- unify spec file between OS releases +- update rpath patch +- remove obsolete newmodels patch +- use *.desc created udev rules + +* Wed Jul 12 2006 Jesse Keating - 1.0.17-13.1 +- rebuild + +* Fri Jun 09 2006 Nils Philippsen 1.0.17-13 +- split package into sane-backends, -devel, -libs, -programs to work around + multilib issues (#135172) + +* Wed Jun 07 2006 Nils Philippsen 1.0.17-12 +- require libsane-hpaio to work around #165751 + +* Tue Jun 06 2006 Nils Philippsen 1.0.17-11 +- add BuildRequires: gettext (#194163) + +* Wed May 17 2006 Nils Philippsen 1.0.17-10 +- add pkg-config support, re-write sane-config to use pkg-config to avoid + multilib problems with conflicting sane-config scripts + +* Tue Apr 25 2006 Nils Philippsen 1.0.17-9 +- add support for Canon Lide 60 scanner (#189726) + +* Wed Apr 05 2006 Nils Philippsen 1.0.17-8 +- don't use automake + +* Tue Apr 04 2006 Nils Philippsen +- require gphoto2-devel in sane-backends-devel + +* Fri Mar 24 2006 Nils Philippsen 1.0.17-7 +- don't include *.la files + +* Thu Mar 23 2006 Than Ngo 1.0.17-6 +- rebuild against gphoto2 to get rid of gphoto2.la + +* Tue Mar 14 2006 Nils Philippsen - 1.0.17-5 +- buildrequire automake, autoconf, libtool (#178596) +- don't require /sbin/ldconfig, /bin/mktemp, /bin/grep, /bin/cat, /bin/rm + +* Wed Feb 22 2006 Nils Philippsen - 1.0.17-4 +- split off generated documentation into separate subpackage to avoid conflicts + on multilib systems + +* Fri Feb 10 2006 Jesse Keating - 1.0.17-3.2 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 1.0.17-3.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Wed Jan 25 2006 Bill Nottingham 1.0.17-3 +- ship udev rules for device creation (#177650). Require udev + +* Sun Jan 22 2006 Bill Nottingham 1.0.17-2 +- disable hotplug dep. More later pending (#177650) + +* Tue Dec 20 2005 Nils Philippsen 1.0.17-1 +- version 1.0.17 +- reenable gphoto2 backend + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Sat Oct 15 2005 Florian La Roche +- rebuild + +* Fri Aug 19 2005 Nils Philippsen 1.0.16-1 +- version 1.0.16 +- remove obsolete docdir patch + +* Mon Jul 25 2005 Tim Waugh +- Fixed libusbscanner comment (bug #162983). + +* Wed Mar 2 2005 Tim Waugh 1.0.15-9 +- Rebuild for new GCC. + +* Fri Dec 10 2004 Tim Waugh 1.0.15-8 +- Further small fixes to libusbscanner script. + +* Fri Dec 3 2004 Tim Waugh +- Ship the correct libsane.usermap (part of bug #135802). + +* Wed Dec 1 2004 Tim Waugh +- No longer need ep2400 patch. + +* Tue Nov 30 2004 Tim Waugh 1.0.15-7 +- Updated libusbscanner script from Tomas Mraz, to use pam_console_apply. +- Requires pam >= 0.78-2 for targetted pam_console_apply. + +* Thu Nov 25 2004 Tim Waugh 1.0.15-6 +- Random changes in libusbscanner. + +* Tue Nov 23 2004 Tim Waugh 1.0.15-5 +- libusbscanner: Create /dev/usb if it doesn't exist after 30s. + +* Mon Nov 22 2004 Tim Waugh 1.0.15-4 +- Attempt to be more useful in libusbscanner by waiting a maximum of 30 + seconds. +- Add a chcon call to libusbscanner (bug #140059). Based on contribution + from W. Michael Petullo. + +* Sat Nov 20 2004 Miloslav Trmac - 1.0.15-3 +- Convert man pages to UTF-8 + +* Tue Nov 16 2004 Tim Waugh +- Require hotplug's remover to work. + +* Tue Nov 16 2004 Tim Waugh 1.0.15-2 +- Applied the libusbscanner part of the patch for bug #121511, by Ian + Pilcher. + +* Mon Nov 8 2004 Tim Waugh 1.0.15-1 +- 1.0.15. + +* Sun Oct 10 2004 Tim Waugh 1.0.14-6 +- Make man pages identical on multilib installations. + +* Thu Oct 7 2004 Tim Waugh 1.0.14-5 +- Build requires libjpeg-devel (bug #134964). + +* Thu Aug 26 2004 Tim Waugh 1.0.14-4 +- Apply patch from David Zeuthen to fix hotplug script (bug #130755). + +* Mon Aug 9 2004 Tim Waugh 1.0.14-3 +- Mark config files noreplace. + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Wed Jun 2 2004 Tim Waugh 1.0.14-1 +- 1.0.14. + +* Wed May 12 2004 Tim Waugh +- s/ftp.mostang.com/ftp.sane-project.org/. + +* Fri May 7 2004 Tim Waugh 1.0.13-7 +- Fix epson.conf for USB scanners (bug #122328). + +* Tue May 4 2004 Tim Waugh 1.0.13-6 +- Ship libusb.usermap (from sane-backends-1.0.14) and a pam_console-aware + libusbscanner script. +- Fix epson.conf for Epson Perfection 2400 (bug #122328). + +* Tue Mar 02 2004 Elliot Lee +- rebuilt + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Thu Feb 5 2004 Tim Waugh 1.0.13-4 +- Fixed compilation with GCC 3.4. + +* Mon Dec 15 2003 Tim Waugh 1.0.13-3 +- Take %%{_libdir}/sane out of ldconfig's search path altogether (Oliver + Rauch). + +* Tue Nov 25 2003 Thomas Woerner 1.0.13-2 +- no rpath in sane-config anymore + +* Sun Nov 23 2003 Tim Waugh 1.0.13-1 +- 1.0.13. +- No longer need autoload, gt68xx patches. + +* Thu Nov 20 2003 Tim Waugh 1.0.12-6 +- Don't add %%{_libdir}/sane to ld.so.conf (bug #110419). + +* Tue Nov 11 2003 Tim Waugh 1.0.12-5 +- Updated gt68xx driver to fix timeout problems. + +* Wed Oct 8 2003 Tim Waugh +- Avoided undefined behaviour in canon-sane.c (bug #106305). + +* Mon Sep 29 2003 Tim Waugh +- Updated URL. + +* Thu Jul 24 2003 Tim Waugh 1.0.12-4 +- The devel package requires libieee1284-devel. + +* Mon Jun 16 2003 Tim Waugh 1.0.12-3 +- Use libtoolize and aclocal to fix build. +- Build requires libieee1284-devel (to fix bug #75849). + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Sun May 25 2003 Tim Waugh 1.0.12-1 +- 1.0.12. + +* Thu Mar 20 2003 Tim Waugh 1.0.11-1 +- Shipped libtool is broken; use installed script instead. +- Remove files not shipped. +- Fix some /usr/lib references. +- 1.0.11. +- Drop sane-sparc, errorchk, hp101, security patches. +- Update rpath, docdir patches. +- Use %%find_lang. + +* Fri Mar 7 2003 Tim Waugh +- sane-backends-devel requires libusb-devel (bug #85742). + +* Mon Feb 10 2003 Tim Waugh 1.0.9-5 +- Fix saned problems. + +* Wed Jan 22 2003 Tim Powers 1.0.9-4 +- rebuilt + +* Thu Jan 16 2003 Tim Waugh 1.0.9-3 +- hp-backend 1.01 for 'error during device I/O' workaround (bug #81835). + +* Thu Jan 9 2003 Tim Waugh 1.0.9-2 +- Better error checking in the Canon backend (bug #81332). + +* Fri Oct 25 2002 Tim Waugh 1.0.9-1 +- 1.0.9. + +* Wed Oct 23 2002 Tim Waugh 1.0.8-6 +- Ship the installed documentation. +- Move sane-config to the devel subpackage (bug #68454). + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Fri Jun 21 2002 Tim Waugh 1.0.8-4 +- Fix bug #62847. + +* Tue Jun 18 2002 Tim Waugh 1.0.8-3 +- Fix dangling symlink (bug #66672). + +* Wed Jun 12 2002 Tim Waugh 1.0.8-2 +- Don't tell SANE applications to use rpath (bug #66129, bug #66132). + +* Mon May 27 2002 Tim Waugh 1.0.8-1 +- 1.0.8. + +* Wed May 22 2002 Tim Waugh 1.0.8-0.20020522.1 +- Update to CVS. Release expected before the end of the month. +- No longer need defaultincl or argv patches. + +* Wed May 15 2002 Tim Waugh 1.0.7-7 +- Unconditionally run ldconfig after installation (bug #64964). + +* Mon Mar 4 2002 Tim Waugh 1.0.7-6 +- Re-apply the original 1.0.7-4 fix (oops): + - Make sure to load SCSI modules if not already loaded (bug #59979). + +* Mon Mar 4 2002 Tim Powers 1.0.7-5 +- bump release number, wasn't bumped last time + +* Mon Mar 4 2002 Tim Waugh 1.0.7-4 +- Update sparc patch (Tom "spot" Callaway). + +* Thu Feb 21 2002 Tim Waugh 1.0.7-3 +- Rebuild in new environment. +- Disable bad stdarg code in scanimage so that alpha builds succeed. + +* Mon Feb 11 2002 Tim Waugh 1.0.7-2 +- Make sure sane-config doesn't specify the default include path + (bug #59507). + +* Mon Feb 4 2002 Tim Waugh 1.0.7-1 +- 1.0.7. + +* Sun Jan 27 2002 Tim Waugh 1.0.7-0.beta2.1 +- 1.0.7-beta2. + +* Wed Jan 23 2002 Tim Waugh 1.0.7-0.beta1.1 +- 1.0.7-beta1. +- Patches no longer needed: scsi, microtek2, format. + +* Wed Jan 09 2002 Tim Powers 1.0.6-4 +- automated rebuild + +* Wed Nov 21 2001 Tim Waugh 1.0.6-3 +- Fix default file names format in batch scans (bug #56542). + +* Tue Nov 20 2001 Tim Waugh 1.0.6-2 +- Apply Maurice Hilarius's patch to avoid kill(-1,SIGTERM) (bug #56540). + +* Mon Nov 5 2001 Tim Waugh 1.0.6-1 +- 1.0.6. + +* Fri Jul 20 2001 Florian La Roche 1.0.5-4 +- exclude s390, s390x + +* Tue Jul 17 2001 Preston Brown 1.0.5-3 +- sane.png included + +* Tue Jul 10 2001 Tim Waugh 1.0.5-2 +- sane-backends-devel provides sane-devel. + +* Sun Jul 1 2001 Tim Waugh 1.0.5-1 +- 1.0.5. + +* Wed Jun 20 2001 Tim Waugh 1.0.5-0.20010620.0 +- 2001-06-20 CVS update. PreReq /bin/cat, /bin/rm. + +* Mon Jun 11 2001 Tim Waugh 1.0.5-0.20010610 +- 2001-06-10 CVS snapshot. umax_pp update from CVS again to fix more + build problems. + +* Sun Jun 3 2001 Tim Waugh 1.0.5-0.20010603.1000 +- 2001-06-03 CVS snapshot (10:00). Fixes umax_pp build problems. + +* Sat Jun 2 2001 Tim Waugh 1.0.5-0.20010530 +- sane-backends (sane-frontends is in a separate package now). +- 2001-05-30 CVS snapshot. +- include.patch no longer needed. +- sg3timeout.patch no longer needed. + +* Mon Jan 22 2001 Bernhard Rosenkraenzer 1.0.3-10 +- Fix up the libtool config file /usr/lib/libsane.la + kscan should build now. ;) + +* Wed Jan 10 2001 Tim Waugh +- Increase timeout for SCSI commands sent via sg driver version 3 + (bug #23447) + +* Mon Dec 25 2000 Matt Wilson +- rebuilt against gimp 1.2.0 + +* Thu Dec 21 2000 Matt Wilson +- rebuilt against gimp 1.1.32 +- use -DGIMP_ENABLE_COMPAT_CRUFT=1 to build with compat macros + +* Mon Dec 18 2000 Matt Wilson +- rebuilt against gimp 1.1.30 + +* Fri Dec 1 2000 Tim Waugh +- Rebuild because of fileutils bug. + +* Thu Oct 26 2000 Bill Nottingham +- fix provides for ia64/sparc64 + +* Tue Aug 29 2000 Trond Eivind Glomsrød +- don't include xscanimage desktop entry - it's a gimp + plugin. Doh. (part of #17076) +- add tetex-latex as a build requirement + +* Wed Aug 23 2000 Matt Wilson +- built against gimp 1.1.25 + +* Tue Aug 22 2000 Preston Brown +- 1.0.3 bugfix release (#16726) +- rev patch removed, no longer needed + +* Tue Aug 15 2000 Than Ngo +- add triggerpostun to fix removing path from ld.so.conf at update + +* Fri Aug 4 2000 Bernhard Rosenkraenzer +- Add Swedish and German translations to desktop file, Bug #15317 + +* Sun Jul 23 2000 Nalin Dahyabhai +- use mktemp in post and postun scripts +- fix incorrect usage of rev in backend/Makefile + +* Wed Jul 19 2000 Trond Eivind Glomsrød +- workarounds for weird bug (all so-files had names with "s=" + - except for sparc which has just "=" and IA64 which works) + +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Mon Jul 3 2000 Matt Wilson +- rebuilt against gimp-1.1.24 + +* Tue Jun 13 2000 Preston Brown +- FHS paths +- work around ICE on intel. FIX ME! + +* Mon May 22 2000 Tim Powers +- rebuilt w/ glibc-2.1.90 + +* Thu May 18 2000 Tim Powers +- updated to 1.0.2 + +* Wed Jul 21 1999 Tim Powers +- rebuilt for 6.1 + +* Tue May 11 1999 Bill Nottingham +- make it play nice with xsane, add ld.so.conf entries + +* Wed Apr 21 1999 Bill Nottingham +- update to 1.0.1 + +* Tue Oct 13 1998 Michael Maher +- updated package + +* Thu May 21 1998 Cristian Gafton +- upgraded to 0.73 + +* Tue Jan 27 1998 Otto Hammersmith +- umax drivers were missing from the file list. + +* Sun Dec 7 1997 Otto Hammersmith +- added wmconfig +- fixed library problem + +* Tue Dec 2 1997 Otto Hammersmith +- added changelog +- got newer package from Sane web site than our old powertools one