diff options
Diffstat (limited to 'debian')
83 files changed, 9835 insertions, 0 deletions
diff --git a/debian/99-libsane1.rules b/debian/99-libsane1.rules new file mode 100644 index 0000000..42d0dd4 --- /dev/null +++ b/debian/99-libsane1.rules @@ -0,0 +1,2 @@ + +ENV{DEVNAME}!="", ENV{libsane_matched}=="yes", RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}" diff --git a/debian/NEWS b/debian/NEWS new file mode 100644 index 0000000..12d594c --- /dev/null +++ b/debian/NEWS @@ -0,0 +1,14 @@ +sane-backends (1.0.25-3) unstable; urgency=medium + + With release 1.0.24-14 sane-config must move from the Multi-Arch same + packages libsane-dev to the new Multi-Arch foreign package libsane-bin. + . + Now I get the lintian error "old-style-config-script-multiarch-path". After + the diskussion at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820964 + I think it is the best to remove sane-config from Debian. + . + All other options are still not Multi-Arch conform. + . + Please use pkg-config instead of sane-config from the package pkg-config. + + -- Jörg Frings-Fürst <debian@jff.email> Sat, 10 Dec 2016 13:45:15 +0100 diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..a62f7b9 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,18 @@ +Hello, + +now I use the branching model from Vincent Driessen[1]. + +I use the gitflow-avh[2]. with the Documentation[3]. +The Debian package can be found here[4]. + +Please upload unattended uploads use a branch feature/<your title>. + + +Many thanks. + + -- Jörg Frings-Fürst <debian@jff.email> Fri, 02 Jun 2017 19:00:40 +0200 + +[1] http://nvie.com/posts/a-successful-git-branching-model/ +[2] https://github.com/petervanderdoes/gitflow-avh +[3] https://github.com/petervanderdoes/gitflow-avh/wiki +[4] https://tracker.debian.org/pkg/git-flow diff --git a/debian/TROUBLESHOOTING.Debian b/debian/TROUBLESHOOTING.Debian new file mode 100644 index 0000000..1412219 --- /dev/null +++ b/debian/TROUBLESHOOTING.Debian @@ -0,0 +1,39 @@ + +1.) usbfs: interface 1 claimed by usblp while ‘scanimage’ sets config #1 +2.) ACL: device file system does not support ACLs +3.) TLP and sane-backends + +1.) usbfs: interface 1 claimed by usblp while ‘scanimage’ sets config #1 + +If you get this error meessage you can try + + echo -e "\nblacklist usblp" >> /etc/modprobe.d/blacklist.conf + +and reboot. After that your scanner can used. + +REMARK: Sometimes usblp is used to access your printer. + + +2.) ACL: device file system does not support ACLs + +From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789593 + +The file /etc/udev/rules.d/99-libsane1.rules uses the command "/bin/setfacl -m g:scanner:rw +$env{DEVNAME}" to add the "scanner" group with rw access to the device permissions. + +In my case, with /dev on an ext4 filesystem with no ACL support enabled in the kernel, setfacl +returns "Operation not supported". I assume this is because it's trying to add a group, which is not +possible in its fallback mode of traditional Unix-style file permissions. + +As a workaround, I have substituted "/bin/chown root:scanner $env{DEVNAME}" as the command at the +end of 99-libsane1.rules (an alternative would be to use a UDEV rule element to change the ownership). + + +3.) TLP and sane-backends + +From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954096 + +If the scanner frontends works only once you can add your scanner into +the blacklist in /etc/default/tlp. For more Infos please read the bugreport. + +Thanks to Eduardo Casais <casaise@bluewin.ch>. diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..cdb12fb --- /dev/null +++ b/debian/changelog @@ -0,0 +1,3093 @@ +sane-backends (1.0.31-5) UNRELEASED; urgency=medium + + * TROUBLESHOOTING.Debian: + - Add part if sane-backends and tlp runs on the same system + (Closes: #954096, #887745). + + -- Jörg Frings-Fürst <debian@jff.email> Tue, 08 Dec 2020 19:43:48 +0100 + +sane-backends (1.0.31-4) unstable; urgency=medium + + * debian/rules: + - Add the --disable-locking option to dh_auto_configure. + + -- Jörg Frings-Fürst <debian@jff.email> Fri, 04 Dec 2020 17:08:57 +0100 + +sane-backends (1.0.31-3) unstable; urgency=medium + + * debian/sane-utils.postrm (Closes: #941625): + - On purge remove pid file if sysvinit are used. + * debian/99-libsane1.rules (Closes: #960083): + - Add condition ENV{DEVNAME}!="" to run setfacl only on usb scanners. + * debian/rules: + - Replace the --enable-avahi option with an --with-avahi. + - Remove the --enable-locking option from dh_auto_configure + (Closes: #973490, #971584). + + -- Jörg Frings-Fürst <debian@jff.email> Mon, 02 Nov 2020 08:19:03 +0100 + +sane-backends (1.0.31-2) unstable; urgency=medium + + * Upload into unstable (Closes: #969592). + * New patch: + - debian/patches/0170-return_empty_list_when_local_devices_requested.patch. + * Remove not longer needed patches from debian/patches: + - 0160-big_endian.patch + - 0700-mk_reproducible_results.patch + - 0715-20-sane.hwdb_multi-arch.patch + * Fix typos in the Forwarded tag in the patch headers. + * debian/upstream/metadata: + - Change to gitlab. + * Fix some trailing whitespaces / blank lines. + + -- Jörg Frings-Fürst <debian@jff.email> Sun, 27 Sep 2020 13:38:48 +0200 + +sane-backends (1.0.31-1~experimental1) experimental; urgency=medium + + * New upstream release (Closes: #968949, #962539). + * Add back libsane transitional package, to ease upgrades (Closes: #962936): + - debian/control: Add package libsane as oldlibs. + Thanks to Gianfranco Costamagna <locutusofborg@debian.org>. + * debian/copyright: + - Fix lintian *-globbing-patterns errors. + - Refresh to the new upstream release. + * Convert debian/po/de.po to utf-8. + * New patches: + - debian/patches/0045-disable_lock_test_at_build_time.patch + - debian/patches/0050-Use-python3-shebang.patch + - debian/patches/0055-Fix_build_error.patch + - debian/patches/0165-respect_local_only_parameter.patch + * debian/rules: + - Use --enable-locking instead --disable-locking. + * debian/control: + - Add libpoppler-glib-dev to Build-Depends. + - Add ipp-usb to libsane1 Recommends (Closes: #968953). + * debian/libsane1.symbols: + - Remove 7 not longer available symbols. + * debian/saned@.service: + - Switch Standard[Output|Error] from syslog to append:/var/log/saned.log. + - New debian/sane-utils.logrotate to pack and remove old logs. + * debian/libsane-common.lintian-overrides: + - Rename tags. + * debian/patches/0125-multiarch_dll_search_path.patch: + - Add $(prefix)/lib64/sane to lib search path (Closes: #931297). + * Fix FTCBFS: (Closes: #948711) + - 0060-cross.patch: Make gphoto2 detection use the host architecture + pkg-config. + - Build tools/sane-desc for the build architecture. + - Thanks to Helmut Grohne <helmut@subdivi.de>. + * Remove files no longer needed: + - debian/saned.socket + - debian/saned@.service + + -- Jörg Frings-Fürst <debian@jff.email> Sat, 05 Sep 2020 17:48:20 +0200 + +sane-backends (1.0.30-1~experimental2) experimental; urgency=medium + + * debian/not-installed: + - Add usr/share/doc/libsane/backend-writing.txt. + * debian/libsane1.symbols: + - Add (arch=!hurd-i386) to cmsg@Base. + + -- Jörg Frings-Fürst <debian@jff.email> Sun, 31 May 2020 09:23:01 +0200 + +sane-backends (1.0.30-1~experimental1) experimental; urgency=medium + + * New upstream release (Closes: #961302): + - fixes CVE-2020-12867, CVE-2020-12862, CVE-2020-12863, CVE-2020-12865, + CVE-2020-12861, CVE-2020-12864. + * Migrate to debhelper 13: + - Bump minimum debhelper-compat version in debian/control to = 13. + * debian/watch: Fix to new gitlab download structure. + * debian/rules: + - Remove DEB_LDFLAGS_MAINT_APPEND after lintian warning. + - Add override_dh_installman-arch to remove obsolete man page sane-config.1. + * debian/control: + - Replace Conflicts with Breaks. + * Remove debian/libsane-dev.preinst because sane-config was removed in + oldstable. + + -- Jörg Frings-Fürst <debian@jff.email> Sun, 24 May 2020 19:45:00 +0200 + +sane-backends (1.0.29-1~experimental4) experimental; urgency=medium + + * Add HOST_NAME_MAX to debian/patches/0155-hurd_PATH_MAX.patch. + + -- Jörg Frings-Fürst <debian@jff.email> Sat, 25 Apr 2020 15:38:30 +0200 + +sane-backends (1.0.29-1~experimental3) experimental; urgency=medium + + * Refresh patches/0155-hurd_PATH_MAX.patch. + + -- Jörg Frings-Fürst <debian@jff.email> Sun, 12 Apr 2020 15:55:41 +0200 + +sane-backends (1.0.29-1~experimental2) experimental; urgency=medium + + * New debian/patches/0150-i386-test.patch: + - Remove 4 tests failed tests on i386. + * New patches/0155-hurd_PATH_MAX.patch: + - Fix missing PATH_MAX on hurd-i386. + * New patches/0160-big_endian.patch: + - Fix FTBFS on big endian systems. + * Remove now useless lintian overrides. + + -- Jörg Frings-Fürst <debian@jff.email> Wed, 01 Apr 2020 22:36:36 +0200 + +sane-backends (1.0.29-1~experimental1) experimental; urgency=medium + + * New upstream release (Closes: #951213, #942727, #944998). + - New debian/patches/0040-remove_git.patch to remove git access at + build time. + - Refresh patches: + + debian/patches/0700-mk_reproducible_results.patch. + + debian/patches/0710-sane-desc.c_debian_mods.patch. + + debian/patches/0715-20-sane.hwdb_multi-arch.patch. + + debian/patches/0725-fix_link_60-libsane_rule.patch. + + debian/patches/0100-source_spelling.patch. + - Refresh symbols file. + - Refresh lintian overrides. + * debian/rules: + - Add --exclude=/sane/ to override_dh_makeshlibs-arch to generate + only public symbols (Closes: #911597). + - Don't install obsolete hal fdi file (Closes: #913282). + * Remove architecture dependent symbols files. + * Merge release 1.0.27-3.2 into source tree. + - Thanks to John Paul Adrian Glaubitz for the bug fix. + * New debian/patches/0725-fix_link_60-libsane_rule.patch: + - Fix directory for 20-sane.hwdb (Closes: #916239). + * New debian/patches/0155-genesys_gl847.patch: + - Fix discolored bar on GL847 chip based scanners (Closes: #912603). + * Fix missing set device to group scanner (Closes: #918358); + - New debian/99-libsane.rules. + - debian/libsane.install: Install File into /etc/udev/rules.d/ + - Change debian/TROUBLESHOOTING.Debian + * debian/sane-utils.config: Remove the RUN parameter in compliance with + Debian Policy Manual section 9.3.3.1 (Closes: #915197). + * debian/copyright: + - Add year 2020 for debian/*. + - Add missing Uploaders to debian/*. + - Refresh for the new upstream release. + * Fix the lintian warning "libsane: package-name-doesnt-match-sonames + libsane1": + - debian/control: rename package libsane to libsane1. + - debian/rules: Change filenames and directories from libsane to libsane1. + - Rename debian/99-libsane.rules to debian/99-libsane1.rules. + * Refresh debian/patches/0100-source_spelling.patch. + * New debian/libsane-common.lintian-overrides and + debian/libsane1.lintian-overrides to override false positive spelling-error. + * Fix autopkgtest. + * Migrate to debhelper 12: + - Change debian/compat to 12. + - Bump minimum debhelper version in debian/control to >= 12. + * Declare compliance with Debian Policy 4.5.0 (No changes needed). + * New debian/sane-utils.lintian-overrides to override false positive missing + init.d script. + * debian/control: Add Pre-Depends ${misc:Pre-Depends} to install invoke-rc.d. + * debian/watch: Rewrite for the new Gitlab directory layout. + * Rename debian/NEWS.Debian to debian/NEWS. + * debian/control: + - Add missing depends. + - Change Conflicts/Replaces to the new release. + - Add Rules-Requires-Root. + * debian/*.manpages: Rewrite to install from new directory. + * Switch to debhelper-compat: + - debian/control: Replace debhelper with debhelper-compat. + - Remove debian/compat. + * Install all docs: + - New debian/libsane-common.dirs, debian/libsane-common.docs, + debian/not-installed. + * Remove autopkgtest. + * Remove unused files and patches. + * Reuse debian/patches/0125-multiarch_dll_search_path.patch (Closes: #931297). + * Override lintian error gzip-file-is-not-multi-arch-same-safe: + - Update debian/libsane1.lintian-overrides. + - New debian/libsane-dev.lintian-overrides. + + -- Jörg Frings-Fürst <debian@jff.email> Tue, 17 Mar 2020 20:02:16 +0100 + +sane-backends (1.0.27-3.2) unstable; urgency=medium + + * Non-maintainer upload. + * New debian/patches/0720-mustek_usb2-Avoid-stack-smashing.patch + - Fix regression in the mustek_usb2 backend (Closes: #886777). + + -- John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Sat, 23 Mar 2019 17:38:37 +0100 + +sane-backends (1.0.27-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * Rename libsane1 back to libsane, make the renamed package provide libsane1 + (Closes: #908681) + + -- Laurent Bigonville <bigon@debian.org> Fri, 02 Nov 2018 20:30:06 +0100 + +sane-backends (1.0.27-3) unstable; urgency=medium + + * debian/rules: + - Remove superfluous man page sane-config.1 (Closes: #910255). + (Thanks to Michael Westwind <wormrunner@gmail.com>). + * Declare compliance with Debian Policy 4.2.1 (No changes needed). + * Remove outdated makedev dependency (Closes: #907017). + * Reactivate and refresh debian/patches/0125-multiarch_dll_search_path.patch + to allow driver from non-multiarch directories (Closes: #910103). + * debian/control: + - Change Breaks to Conflicts for binary package libsane1. + + -- Jörg Frings-Fürst <debian@jff.email> Fri, 05 Oct 2018 07:18:56 +0200 + +sane-backends (1.0.27-2) unstable; urgency=medium + + * debian/control: + - Remove obsolete section about sane-backends-extras. + - Revert change from Breaks to Conflicts for binary package libsane1 + (Closes: #908681). + + -- Jörg Frings-Fürst <debian@jff.email> Thu, 27 Sep 2018 08:30:18 +0200 + +sane-backends (1.0.27-1) unstable; urgency=medium + + * Upload to unstable (Closes: #905838, #905913). + * debian/control: + - Change Breaks to Conflicts for binary package libsane1 + (Thanks to Jeremy Bicha <jbicha@debian.org>). + + -- Jörg Frings-Fürst <debian@jff.email> Fri, 31 Aug 2018 11:00:57 +0200 + +sane-backends (1.0.27-1~experimental6) experimental; urgency=medium + + * Refresh symbols file for sparc64. + * Rewrite debian/watch for gitlab (Thanks to + Sebastiaan Couwenberg <sebastic@xs4all.nl>). + * Declare compliance with Debian Policy 4.1.5 (No changes needed). + * Replace manual installation of systemd files with + installation via dh_installsystemd (Closes: #905275). + + -- Jörg Frings-Fürst <debian@jff.email> Fri, 03 Aug 2018 18:17:11 +0200 + +sane-backends (1.0.27-1~experimental5) experimental; urgency=medium + + * debian/rules: + - Add rule to enable --enable-parport-directio for all + architectures except hurd-i386. + * debian/control: + - Fix FTBFS on kfreebsd-*: + + Exclude libsnmp-dev from Build-Depends for kfreebsd-any. + - Change VCS-* to point to the new repository. + * Refresh symbols files for the following architectures: + - arm64, hppa, m68k, mips, mips64el, mipsel, powerpc, + powerpcspe, ppc64, ppc64el, s390x, sh4. + * Refresh debian/patches/0100-source_spelling.patch to + fix typo in backend/apple.c. + + -- Jörg Frings-Fürst <debian@jff.email> Thu, 31 May 2018 08:48:38 +0200 + +sane-backends (1.0.27-1~experimental4) experimental; urgency=medium + + * Change to my new email address. + * debian/rules: + - Add override_dh_autoreconf to prevent removal of libtool.m4 + (Closes: #887032). + - Remove outdated configure parameter --enable-translations. + - Add configure parameter --enable-parport-directio + for better parallel port handling. + - Rename configure parameter --with-docdir to --docdir. + - Fix source directory for backend-writing.txt. + * debian/copyright: + - Use secure copyright format URI. + * Migrate to debhelper 11: + - Change debian/compat to 11. + - Bump minimum debhelper version in debian/control to >= 11. + * Declare compliance with Debian Policy 4.1.4: + - Remove the RUN parameter from /etc/default/saned and /etc/init.d/saned + in compliance with Debian Policy Manual section 9.3.3.1. + * Refresh debian/patches/0100-source_spelling.patch. + * New debian/patches/0715-20-sane.hwdb_multi-arch.patch: + - Remove buildtime from 20-sane.hwdb to make the file ready for multi-arch. + (Closes: #880391) + * debian/libsane1.README.Debian: + - Replace ConsoleKit with ConsoleKit/systemd-logind (Closes: #872364). + * debian/control: + - Add libsnmp-dev to Build-Depends to enable SNMP support. + + -- Jörg Frings-Fürst <debian@jff.email> Sat, 14 Apr 2018 13:30:56 +0200 + +sane-backends (1.0.27-1~experimental3) experimental; urgency=medium + + * debian/control: + - Drop outdated Recommends libsane-extras-dev to libsane-dev + binary package (Closes: #868265). + - Drop outdated texlive and texlive-latex-extra Build-Dependency. + * debian/rules: + - Drop create and install the /etc/sane.d/dll.d directory. + - Move rules from override_dh_install-arch and override_dh_auto_install-arch + to override_dh_install-indep and override_dh_auto_install-indep + to build the arch all packages without error (CLoses: #870455). + - At dh_systemd_enable use debian/saned.socket instead saned.socket. + - Use DEB* vars via default.mk instead own functions. + * Move libsane-common.install.in to libsane-common.install. + * debian/copyright: + - Add year 2017 for debian/*. + * New debian/patches/0150-genesys-Fix-use-of-uninitialized-variable.patch: + - Initializing usb_mode (Closes:# 869673). + Thanks to Florian Lindemann <linde@bfw-online.de> and + Olaf Meeuwissen <paddy-hack@member.fsf.org>. + * Move install of man pages from debian/rules to libsane-common.manpages and + sane-utils.manpages (Closes: #872366). + * Move umax_pp.5 from libsane-common to sane-utils. + * debian/sane-utils.saned.init: + - Add parameter to --retry at the stop section (Closes: #871543). + * libsane1.README.Debian: + - Remove references to the libsane-extras package. + * Correct typos in the previous changelog entry. + * Declare compliance with Debian Policy 4.1.1 (No changes needed). + * Move rm_conffile from libsane-common.preinst to libsane-common.maintscript. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sat, 28 Oct 2017 13:26:26 +0200 + +sane-backends (1.0.27-1~experimental2) experimental; urgency=medium + + * debian/rules: + - Rename libsane.udev to libsane1.udev to make sure that + 60-libsane1.rules is actually created (Closes: #868312). + * Rename libsane.udev to libsane1.udev in TROUBLESHOOTING.Debian + and libsane1.README.Debian. + * debian/control: + - Add Breaks and Replaces against libsane to libsane1 + binary package (Closes: #868308). + - Remove outdated Recommends libsane-extras to libsane1 + binary package (Closes: #868265). + - Remove [!hurd-i386] from libusb-1.0-0-dev Build-Dependency. + * debian/sane-utils.postrm: + - Add set -e and silence update-inetd calls with "|| true". + * Regenerate symbols files from build logs (Closes: #868309). + * Use the hwdb+udev format (Closes: #869244): + - debian/rules: Call sane-desc with -m udev+hwdb and -m hwdb, + disable -m udev+acl call in override_dh_installudev-arch. + - New file libsane1.dirs for /lib/udev/hwdb.d/. + * Drop both dh-autoreconf/dh-systemd from both Build-Depends + and dh command line as both are enabled by default for + dh compat level 10. + * Drop --parallel from the dh command line because parallel + builds are enabled by default for dh compat level 10. + * Drop .la files from libsane1.install (Closes: #868307). + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Fri, 28 Jul 2017 13:53:30 +0200 + +sane-backends (1.0.27-1~experimental1) experimental; urgency=medium + + * New upstream release + - sane.ps is not longer included (Closes: #818544). + - Fix a timing issue on USB3 hardware (Closes: #792465). + - Support CanoScan LiDE 120 (Closes: #853873). + - Refresh patches: + + 0020-nousbtest.patch + + 0025-multiarch_manpages_libdir.patch + + 0705-kfreebsd.patch + + 0710-sane-desc.c_debian_mods.patch + - Remove patches applied upstream: + + 0005-libsane_deps.patch + + 0010-unneeded_doc.patch + + 0015-frontend_libs.patch + + 0030-ppc64el.patch + + 0100-source_spelling.patch + + 0105-hp3900.patch + + 0110-dll_backend_conf.patch + + 0115-license_typo.patch + + 0120-typo.patch + + 0125-multiarch_dll_search_path.patch + + 0135-saned-remotescanners.patch + + 0500-CVE-2017-6318.patch + + 0605-man_typo.patch + + 0700-mk_reproducible_results.patch + * New debian/patches/0140-avahi.patch + - Avoid assertion failure when net_avahi_init failed (Closes: #861112). + * New debian/patches/0145-avahi.patch: + - Fix race condition (Closes: #743420). + * debian/rules: + - Remove outdated configure flag --enable-libusb_1_0. + - Add new configure flag --withusb. + - Use dh_auto_configure instead of ./configure. + * Remove outdated debian/libsane-dev.NEWS (Closes: #852842). + * debian/sane-uitls.postinst: + - Add "|| true" after adduser call to continue installation if + adduser fails (Closes: #860078). + * Refresh debian/libsane.symbols. + * New README.source to explain the branching model used. + * Use the automatic debug symbol packages: + - Remove libsane-dbg section from debian/control. + - Remove override_dh_strip from debian/rules. + * Declare compliance with Debian Policy 4.0.0. (No changes needed). + * debian/saned.socket: + - Change MaxConnections to the default value of 64 (Closes: 850649). + * Refresh debian/copyright. + * Rename libsane to libsane1 to match with the soname. + * Remove useless *.lintan-overrides. + * Remove autopkgtest: + - The test needs networking which isn't available on the buildds. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Tue, 20 Jun 2017 23:17:47 +0200 + +sane-backends (1.0.25-4.1) unstable; urgency=medium + + * Non-maintainer upload. + * Correct missing error handler in (generated) prerm script by dropping the + "error" handler entirely; it was only printing a generic message anyway. + (Closes: #862334) + + -- Chris Lamb <lamby@debian.org> Sun, 21 May 2017 10:04:48 +0200 + +sane-backends (1.0.25-4) unstable; urgency=medium + + * CVE-2017-6318: + - New debian/patches/0500-CVE-2017-6318.patch + + cherry-picked from upstream to fix memory corruption and + information leakage (Closes: #854804). + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Wed, 19 Apr 2017 12:07:38 +0200 + +sane-backends (1.0.25-3) unstable; urgency=medium + + * debian/rules: + - Fix FTBFS when building with 'dpkg-buildpackage -A' (Closes: #806104): + + Split file into *-arch and *-indep parts. + + Move "empty dependency_libs in all .la files" to + override_dh_makeshlibs-arch. + + Move installing of doc files for libsane-dev to + override_dh_installdocs-arch. + + New debian/libsane-dev.dirs. + * Drop package libsane-bin binary package (Closes: #820964): + - Remove libsane-bin binary package section, remove it from + reverse dependencies of other packages in debian/control. + - Remove debian/libsane-bin.*. + - New debian/NEWS.Debian. + * debian/patches: + - Refresh and fix new typos: + + 0100-source_spelling.patch + + 0605-man_typo.patch. + - New 0135-saned-remotescanners.patch: + + Add patch to allow saned to report network-attached + devices (Closes: #821255). + Thanks to Dhionel Díaz <ddiaz@cenditel.gob.ve>. + * debian/watch: + - Bump version to 4 (no changes required). + * debian/control: + - Bump Standards-Version to 3.9.8 (no changes required). + - Change Vcs-Browser to secure URI. + - Add lsb-base to Depends for sane-utils. + * Add year 2016 for debian/* in debian/copyright. + * debian/sane-utils.saned.init: + - Fix handling of stop and restart actions (Closes: #829244). + Thanks to Chris Lamb <lamby@debian.org>. + * Remove unused lintian overrides. + * Migrate to debhelper 10: + - Change debian/compat to 10. + - Bump minimum debhelper version in debian/control to >= 10. + - Refresh debian/patches to add changes in Makefile.am: + + 0005-libsane_deps.patch + + 0010-unneeded_doc.patch + + 0015-frontend_libs.patch + + 0025-multiarch_manpages_libdir.patch + + 0125-multiarch_dll_search_path.patch + - Refresh debian/libsane.shlibs + - Refresh debian/libsane.symbols + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sat, 10 Dec 2016 13:45:15 +0100 + +sane-backends (1.0.25-2) unstable; urgency=medium + + * Undelete, refresh and rename debian/patches/ + 0125-multiarch_dll_search_path.patch (Closes: #804240). + * debian/rules: + - Remove "UPSTREAM_VERSION" and use "VERSION" instead. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sat, 07 Nov 2015 08:50:49 +0100 + +sane-backends (1.0.25-1) unstable; urgency=medium + + * New upstream release (Closes: #740256). + * Refresh patches: + - debian/patches/0005-mk_reproducible_results.patch + - debian/patches/001-scanimage_manpage.patch + - debian/patches/ppc64el.patch + - debian/patches/unneeded_doc.patch + - debian/patches/libsane_deps.patch + - debian/patches/frontend_libs.patch + - debian/patches/multiarch_manpages_libdir.patch + - debian/patches/dll_backend_conf.patch + - debian/patches/sane-desc.c_debian_mods.patch + * Remove patches applied upstream: + - debian/patches/0105-artec_missing_home_environment.patch + - debian/patches/multiarch_dll_search_path.patch + - debian/patches/fix-FTBFS-format-not-a-string-literal-error.patch + - debian/patches/kodakaio.patch + - debian/patches/saned.man.patch + - debian/patches/man-page-spelling.patch + - debian/patches/source-spelling.patch + - debian/patches/hp5370c.patch + - debian/patches/out_of_bounds.patch + - debian/patches/0500-systemd_configure.patch + - debian/patches/0100-usb3-corrections.patch + * Remove obsolete lintian-overrides. + * Rename and reorder patches. + * New debian/patches/0100-source_spelling.patch: + - Correct typo in backend/hp-scl.c + * debian/libsane-common.postrm: + - Move #DEBHELPER# token to the end of the script. + * debian/libsane-common.preinst: + - Use dpkg-maintscript-helper to remove obsolete configuration + file /etc/sane.d/v4l.conf during upgrade (Closes: #803535). + * debian/rules: + - Remove parameter -c0 from dh_makeshlibs call. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Mon, 02 Nov 2015 09:04:17 +0100 + +sane-backends (1.0.24-14) unstable; urgency=medium + + * debian/TROUBLESHOOTING.Debian: + - Add troubleshooting section for cases where the device file + system does not support ACLs (Closes: #789593). + * debian/control: + - To prevent error messages on startup, disable snmp by + removing libsnmp-dev from Build-Depends (Closes: #787567). + * debian/sane-utils.lintian-overrides: + - Add maintainer-script-should-not-use-adduser-system-without-home. + * Architecture-dependent binaries (Closes: #786923): + - debian/control: + + New package libsane-bin: + Move architecture-dependent binaries from libsane-dev to libsane-bin. + + Remove useless build dependency "dh-exec (>=0.3)". + - debian/rules: + + Delete command to move sane-config to sane-config.${DEB_HOST_MULTIARCH}. + - New debian/libsane-dev.preinst: + + Remove /usr/bin/sane-config.*. + + Remove symbolic link to /usr/bin/sane-config. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sun, 30 Aug 2015 19:02:57 +0200 + +sane-backends (1.0.24-13) unstable; urgency=medium + + * debian/rules: + - Move architecture-dependent file sane-config to + sane-config.${DEB_HOST_MULTIARCH} (Closes: #786923). + * debian/control: + - Add "dh-exec (>=0.3)" to Build-Depends. dh-exec is required + for the new file libsane-dev.links. + * New debian/libsane-dev.links: + - Create link from sane-config.${DEB_HOST_MULTIARCH} to + sane-config. + * New debian/upstream/metadata: + - Add some DEP-12 upstream metadata. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Wed, 27 May 2015 12:25:28 +0200 + +sane-backends (1.0.24-12) unstable; urgency=medium + + * debian/sane-utils.postinst: + - Fix home directory move (Closes: #785709). + * debian/patches/0005-mk_reproducible_results.patch: + - Build sane.ps without comments containing date/time. + * New debian/patches/0105-artec_missing_home_environment.patch: + - Test the environment variable $HOME before use (Closes: #786452). + * debian/control: + - Add "Multi-Arch: same" to package libsane-dev to make + it co-installable (Closes: #786560). + * New debian/sane-utils.links: + - Add a link from /dev/null to /lib/systemd/system/saned.service + to prevent start via fallback script /etc/init.d/saned. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Mon, 25 May 2015 09:23:16 +0200 + +sane-backends (1.0.24-11) unstable; urgency=medium + + * debian/control: + - Add dpkg (>= 1.15.7.2) to Pre-Depends of package libsane-common since + dpkg needs to be installed for the rm_conffile command to work + (Closes: #784763). + * debian/libsane-common.preinst: + - Fix syntax for calling dpkg-maintscript-helper. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Fri, 08 May 2015 22:02:11 +0200 + +sane-backends (1.0.24-10) unstable; urgency=high + + * New debian/TROUBLESHOOTING.debian: + - Add part for "usbfs: interface 1 claimed by usblp while + ‘scanimage’ sets config #1 (Closes: #726588). + * Add reference to TROUBLESHOOTING.debian in debian/README.debian. + * New debian/patches/001-scanimage_manpage.patch: + - Add remark for parameter to manpage (Closes: #418630). + * New debian/patches/0005-mk_reproducible_results.patch: + - Make builds reproducible. + * debian/control: + - On package libsane-dev change Depends from libgphoto2-2-dev to + libgphoto2-dev (auto-libgphoto2 transition) (Closes: #783822). + - On package libsane remove package hpoj from Suggests. + - Remove useless replaces because latest release in stable is 1.0.22-7: + + sane-utils: libsane (<< 1.0.11-4) + + libsane-common: libsane (<< 1.0.22-4~) + + libsane: libsane-extras (<< 1.0.18.14) + + libsane-dev: libsane-extras-dev (<< 1.0.18.14) + + libsane-dbg: libsane-extras-dbg (<< 1.0.18.14) + - Remove "libv4l-dev [linux-any]" from Build-Depends and Depends. + - To enable net SNMP, add libsnmp-dev to Build-Depends. + - To autodetect network scanners in kodakaio, add libcups2-dev + to Build-Depends. + - Remove unnecessary *-dev and pkg-config from Depends of libsane-dev. + * debian/rules: + - Enable pnm backend for testing. + - Remove override_dh_builddeb because xz compression is now standard. + - Add configure parameter --without-vl4 to disable v4l backend: + + The backend was written for kernel 2.4 and v4l, now + we are at kernel 3.16 and v4l2 (Closes: #446015). + - Remove configure parameter -with-snmp=no to enable net SNMP. + * debian/saned@.service: + - Remove Alias from [Install] section (Closes: #778268). + * sane-utils.[postinst|postrm]: + - Replace fixed path with a POSIX-compliant shell function to check + the existence of a command. + * Add autopkgtests: + - debian/control: + + Add Testsuite: autopkgtest. + - New debian/tests/control. + - New debian/tests/start-net: + + Test network interface activation with systemd. + * Add symbols file: + - debian/rules: Rewrite override_dh_makeshlibs. + * Comment out "set -e" at debian/sane-utils.postrm + to fix some minor errors during piuparts. + * debian/saned@.service: + - Change StandardInput=socket to StandardInput=null to enable + working over network (Closes: #782971). + * debian/libsane-common.preinst: + - Remove oldstyle rm_conffile() function. + - Remove obsolete transition from the old-style udev setup. + - Add removal for obsolete /etc/sane.d/v4l.conf via + dpkg-maintscript-helper command rm_conffile. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Fri, 08 May 2015 11:01:35 +0200 + +sane-backends (1.0.24-9) unstable; urgency=medium + + * debian/sane-utils.postinst: + - Correct typo and add missing -q option to grep (Closes: #773826). + Thanks to "Nelson A. de Oliveira" <naoliv@debian.org>. + - Add start/stop around the move of the home directory + if scanbd is running during postinst (Closes: #774941). + Thanks to "Olaf Meeuwissen" <olaf.meeuwissen@avasys.jp>. + * debian/rules: + - Add line to extract the version from debian/changelog. + - Add version string to dpkg-gensymbols. + * debian/copyright: + - Add year to 2015 on my debian/* tag. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sat, 10 Jan 2015 13:56:10 +0100 + +sane-backends (1.0.24-8) unstable; urgency=medium + + * New debian/patches/0100-usb3-corrections.patch: + - Cherry-picked from upstream to address + USB3/xhci problems (Closes: #738592). + * debian/saned@.service: + - Move Alias to section [Install] (Closes: #773371). + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sat, 27 Dec 2014 09:36:22 +0100 + +sane-backends (1.0.24-7) unstable; urgency=medium + + * debian/rules: + - Split dh_installinit in two parts for systemd and SysV-style. + - Install systemd files without dh to prevent + side effects (Closes: #773320). + - Override dh_systemd_enable to not enable saned.socked. + * debian/sane-utils.lintian-overrides: + - Override systemd-no-service-for-init-script. + * debian/sane-utils.postrm: + - Add purge for the manually installed files. + * debian/sane-utils.README.Debian: + - Add instructions for use with systemd. + * debian/sane-utils.saned.default: + - Add note for enabling under systemd. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Wed, 17 Dec 2014 09:18:47 +0100 + +sane-backends (1.0.24-6) unstable; urgency=medium + + * Revert changes from 1.0.24-5. + * Rename sane-utils.saned.service to sane-utils.saned@.service to + install it as template (Closes: #769196). + * For test for newer versions of systemd: + - New debian/patches/0500-systemd_configure.patch + + Add part into configure.in to find systemd >=209 + - debian/control: + + Add autoconf and libsystemd-dev to Built-Depends. + - debian/rules: + + Add autoconf before running configure to build the patched + configure script. + - Thanks to Michael Biebl <biebl@debian.org>. + * Change sane-utils.saned@.service and sane-utils.saned.socket + for running as template (Closes: #772955). + * debian/sane-utils.postinst: + - Add part to move the homedir from /home/saned to /var/lib/saned. + (Closes: #665915) + * New debian/sane-utils.lintian-overrides: + - Override postrm-contains-additional-updaterc.d-calls. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sat, 13 Dec 2014 11:20:55 +0100 + +sane-backends (1.0.24-5) unstable; urgency=medium + + * debian/rules: + - change saned.service to saned@.service to install it as + template (Closes: #769196). + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Wed, 10 Dec 2014 11:50:44 +0100 + +sane-backends (1.0.24-4) unstable; urgency=medium + + * debian/rules: + - Move the creation of /etc/sane.d/dll.d to libsane-common. + * Move libsane.(postrm|preinst) to libsane-common.* to handle + in the right package. (Closes: #766340) + * Remose useless ( < "1.0.19-25" ) from libsane-common.preinst. + * debian/patches: + - New typo.patch: + + Correct typo in backend/gennesys.conf.in. (Closes: #743848) + Thanks to Jakub Wilk <jwilk@debian.org>. + - New hp3900.patch: + + Set startup gamma to the standalone default. (Closes: #629470) + Thanks to Peter Walser <pjw1965@gmail.com>. + - New hp5370c.patch: + + Improved recognizability.(LP: #1080787) + - New out_of_bounds.patch: + + Prevent some out-of-bounds. + * debian/control: + - Change Build-Depends from the transitional package libgphoto2-2-dev + to libgphoto2-dev. (Closes: #736451) + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Mon, 27 Oct 2014 22:36:01 +0100 + +sane-backends (1.0.24-3) unstable; urgency=medium + + * debian/rules: + - Revert moving of HTML documentation to previous method to fix FTBFS + and simply delete duplicate HTML files afterwards. (Closes: #765339) + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Tue, 14 Oct 2014 14:25:25 +0200 + +sane-backends (1.0.24-2) unstable; urgency=medium + + * New Maintainer. (Closes: #764198) + * debian/control: + - Set myself as Maintainer. + - Add missing Vcs-* fields. + - Bump Standards-Version to 3.9.6 (no changes required). + - Add dh-systemd to Build-Depends. + * debian/copyright: + - Rewrite into machine-readable format. + - Add myself to the list of authors for debian/*. + * debian/sane-utils.saned.init: + - Replace avahi with avahi-daemon to make it systemd- + compatible. (Closes: #731610) + - Add fancy lsb output. (Closes: #676845) + Thanks to Dirk Sandbrink <d.sandbrink@gmail.com>. + * debian/libsane/README.Debian: + - TROUBLESHOOTING section: Add handling of "HP ScanJet 3400 C + type C7720A" on Device busy message. (Closes: #653857) + Thanks to Joost van Baal-Ilić <joostvb-debian-bugs-20111231-2@mdcc.cx>. + * debian/sane-utils.postinst: + - Set the home directory to /var/lib/saned at adduser call. + (Closes: #665915) + * debian/rules: + - libsane-common: Correct moving of HTML files to prevent + duplicate files within the package. + - Add systemd to dh commandline. + - Manuelly install the systemd .socket file. + * Add systemd support: + - New file sane-utils.saned.system. + - New file sane-utils.saned.socket. + * Move /etc from libsane to libsane-common. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Tue, 14 Oct 2014 08:57:02 +0200 + +sane-backends (1.0.24-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * update config.* without dh-autoreconf because of local patches + to build on ppc64el. (Closes: #759289) + + -- Andreas Barth <aba@ayous.org> Sat, 30 Aug 2014 11:57:08 +0000 + +sane-backends (1.0.24-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS for binary-arch builds: + + Install examples through debian/libsane-common.examples. + + Use proper source paths for sane.ps and backend-writing.txt; + also fix the source path for the HTML files installed into + libsane-common. + * Clean up debian/changelog. + + -- John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Sat, 18 Jan 2014 21:07:24 +0100 + +sane-backends (1.0.24-1) unstable; urgency=low + + * New upstream release. + * New maintainer. (Closes: #688531) + * Disable USB testing since it (probably) doesn't work on autobuilders. + * Fixed a bunch of lintian warnings. + * Change architecture for libsane-common from "any" to "all". + + -- Mark Buda <hermit@acm.org> Sun, 24 Nov 2013 10:05:18 -0500 + +sane-backends (1.0.23-3) unstable; urgency=low + + * QA upload. + * Revert move to libtiff5-dev. + + -- Rene Engelhard <rene@debian.org> Sat, 06 Jul 2013 15:20:16 +0200 + +sane-backends (1.0.23-2) unstable; urgency=low + + * QA upload. + * Add sane-desc.c_debian_mods.patch to series file. (Closes: #714993) + + -- Markus Koschany <apo@gambaru.de> Fri, 05 Jul 2013 11:52:37 +0200 + +sane-backends (1.0.23-1) unstable; urgency=low + + * QA upload. + * Upload to unstable. + * This package has been orphaned. Set maintainer to the Debian QA Group. + * Bump compat level to 9 (was 5) and require debhelper >= 9. + * debian/control: + + sane-utils: Inherit Section: graphics from source package sane-backends. + + Remove versioned dependencies. They are trivially satisfied. + * Drop the following patches. They are merged upstream now. + + fix_v4l_build.patch + + hurd_path_max_fix.patch + + sane_desc_udev+acl.patch + + scanimage_man_batch_start.patch + + udev_usb_suspend.patch + + xerox_mfp_add_scx_4623fw.patch + + xerox_mfp_fix_usb_device.patch + * Drop disable_rpath.patch because the RPATH is already removed by chrpath + in debian/rules. + * Rebase and refresh all other patches against the new upstream relase. + * debian/rules: + + Simplify debian/rules by using dh sequencer. + + Build with --parallel and with autotools_dev. + + Enable all hardening build flags. + + Install umax_pp with sane-utils.install. + * Build-Depend on libtiff5-dev. Thanks to Michael Terry for the patch. + (Closes: #681079) + * Build-Depend on libusb-1.0-0-dev and enable libusb1.0 support in + debian/rules. Thanks to Martin Pitt for the report and Whoopie for the + patch. (Closes: #687137) + + -- Markus Koschany <apo@gambaru.de> Thu, 04 Jul 2013 17:41:47 +0200 + +sane-backends (1.0.23-0.1~experimental1) experimental; urgency=low + + * Non-maintainer upload. + * New upstream release. + + -- John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Sat, 23 Feb 2013 20:12:58 +0100 + +sane-backends (1.0.22-7.4) unstable; urgency=low + + * Non-maintainer upload. + * Compress all binaries with xz to free up some space on CD#1. + + -- Cyril Brulebois <kibi@debian.org> Mon, 17 Sep 2012 16:44:07 +0200 + +sane-backends (1.0.22-7.3) unstable; urgency=low + + * Non-maintainer upload. + * Fix build failure on kFreeBSD. (Closes: #680234) + + -- Michael Gilbert <mgilbert@debian.org> Sun, 15 Jul 2012 17:07:15 -0400 + +sane-backends (1.0.22-7.2) unstable; urgency=low + + * Non-maintainer upload. + * Set sane-utils as 'Multi-Arch: foreign'. (Closes: #675797) + + -- Michael Gilbert <mgilbert@debian.org> Thu, 28 Jun 2012 16:53:15 -0400 + +sane-backends (1.0.22-7.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix pending l10n issues. Debconf translations: + + Catalan; (Innocent De Marchi). (Closes: #646505) + + Slovak (Slavko). (Closes: #639235) + + Polish (Michał Kułach). (Closes: #658351) + + -- Christian Perrier <bubulle@debian.org> Wed, 28 Mar 2012 07:39:00 +0200 + +sane-backends (1.0.22-7) unstable; urgency=low + + * debian/patches/sane-desc.c_debian_mods.patch: + + Updated; do not output a timestamp as part of the udev rules file + header, it is a source of conflict for MultiArch. + + -- Julien BLACHE <jblache@debian.org> Mon, 21 Nov 2011 15:39:26 +0100 + +sane-backends (1.0.22-6) unstable; urgency=low + + * debian/control: + + Fix ibcam-dev -> libcam-dev typo. + + -- Julien BLACHE <jblache@debian.org> Thu, 21 Jul 2011 17:54:48 +0200 + +sane-backends (1.0.22-5) unstable; urgency=low + + * debian/control: + + Replace explicit architecture lists with appropriate architecture + wildcards; patch from Robert Millan. (Closes: #634518) + + Use kfreebsd-any architecture wildcard for libcam-dev in libsane-dev's + Depends field, getting rid of the custom libcam-dev substvar. + + Use linux-any architecture wildcard for udev | makedev, acl in libsane's + Depends field, gettind rid of the custom udev substvar. + * debian/rules: + + Remove custom libcam-dev and udev substvars in dh_gencontrol call. + + -- Julien BLACHE <jblache@debian.org> Wed, 20 Jul 2011 19:52:51 +0200 + +sane-backends (1.0.22-4) unstable; urgency=low + + * Convert for MultiArch. + * debian/control: + + Bump debhelper build-dep to >= 8.1.3 for multiarch. + + Add Pre-Depends: ${misc:Pre-Depends} to libsane. + + Tag libsane with Multi-Arch: same. + + New Multi-Arch: foreign libsane-common binary package. + + Add libsane-common dependency to libsane. + * debian/rules: + + Use multiarch path. + + libsane.install.in is now libsane-common.install.in. + + libsane.docs is gone. + + Create the multiarch pkgconfig directory and install the .pc file here. + + Stop creating the gt68xx firmware directory in libsane. + + Move HAL FDI file to libsane-common. + + Disable SNMP support explicitly (needs Net-SNMP 5.6). + * debian/libsane-dev.install: + + Adapt for multiarch. + * debian/libsane.install.in -> debian/libsane.install: + + Adapt for multiarch, transfer multiarch-incompatible content to + libsane-common. + * debian/libsane-common.install.in: + + Adopt multiarch-incompatible content previously found in libsane. + * debian/libsane.links -> debian/libsane-common.links: + + Transfer documentation symlinks to libsane-common. + * debian/libsane-dev.dirs: + + Removed; pkgconfig directory created in debian/rules. + * debian/patches/multiarch_dll_search_path.patch: + + Added; make /usr/lib/arch_triplet/sane the default location for SANE + backends but keep /usr/lib/sane as a fallback for now. + * debian/patches/multiarch_manpages_libdir.patch: + + Added; use a generic /usr/lib/arch_triplet/sane path for backend + location in the man pages (otherwise substituted from LIBDIR). + + -- Julien BLACHE <jblache@debian.org> Mon, 13 Jun 2011 17:07:05 +0200 + +sane-backends (1.0.22-3) unstable; urgency=low + + * debian/control: + + Bump Standards-Version to 3.9.2 (no changes). + * debian/libsane.NEWS: + + Added; document the switch to ACLs starting with 1.0.22-1. + * debconf translations: + + pt_BR.po: update from Eder L. Marques. (Closes: #619612) + + nl.po: courtesy of Jeroen Schot. (Closes: #627043) + + -- Julien BLACHE <jblache@debian.org> Thu, 02 Jun 2011 14:57:53 +0200 + +sane-backends (1.0.22-2) unstable; urgency=low + + * debian/patches/udev_usb_suspend.patch: + + Added; switch to using power/control instead of power/level for + device power setting, if available. + * debian/patches/xerox_mfp_fix_usb_devices.patch: + + Added; fix detection/handling of USB devices in xerox_mfp. + (Closes: #617307) + * debian/patches/xerox_mfp_add_scx_4623fw.patch: + + Added; add IDs for the Samsung SCX-4623FW. + * debian/patches/hurd_path_max_fix.patch: + + Added; fix build on HURD where PATH_MAX is not defined. + (Closes: #616299) + * debian/patches/scanimage_man_batch_start.patch: + + Added; fix improper documentation of --batch-start. (Closes: #614009) + + -- Julien BLACHE <jblache@debian.org> Sat, 12 Mar 2011 11:32:32 +0100 + +sane-backends (1.0.22-1) unstable; urgency=low + + * New upstream release. + + epson2: reject scan area settings that would lead to a division by zero. + (Closes: #581181) + * debian/control: + + Bump Standards-Version to 3.9.1 (no changes). + + Demote libsane-extras-* to Recommends again. + * debian/rules: + + Add acl (>= 2.2.49-4) to udev substvar for ACL utilities in /bin. + + Use sane-desc -m udev+acl. (Closes: #591767, #612815) + * debian/libsane.README.Debian: + + Update; mention ConsoleKit and the udev rules now using ACLs. + + * debian/patches/sane-desc_udev+acl.patch: + + Added; compared to experimental, setfacl is now in /bin. + * debian/patches/fix_xerox_mfp_color_mode.patch, + debian/patches/use_libsane_matched_for_scsi.patch, + debian/patches/allow_dll.d_symlinks.patch, + debian/patches/saned_exit_avahi_process.patch, + debian/patches/xerox_mfp_new_ids.patch, + debian/patches/scsi_perfection_2450.patch, + debian/patches/scsi_scanjet_4c.patch, + debian/patches/genesys_disable_raw_data_log.patch, + debian/patches/fix_epson2_commands.patch, + debian/patches/fix_epson2_cancel.patch: + - removed; merged upstream. + + -- Julien BLACHE <jblache@debian.org> Wed, 16 Feb 2011 19:00:55 +0100 + +sane-backends (1.0.22~git1.0.21-157-g126c70d-1) experimental; urgency=low + + * Git snapshot. + * debian/rules: + + Add dependency on acl to libsane when depending on udev. + + Use udev+acl mode when generating udev rules. + + debian/patches/sane-desc_udev+acl.patch: + + Added; try using ACLs for USB scanners in an effort to deconflict with + MFP devices. + + -- Julien BLACHE <jblache@debian.org> Wed, 21 Jul 2010 18:36:37 +0200 + +sane-backends (1.0.22~git1.0.21-87-g323ed01-1) experimental; urgency=low + + * Git snapshot. + + genesys now has some support for LiDE 100 & 200. (Closes: #586189) + + -- Julien BLACHE <jblache@debian.org> Wed, 23 Jun 2010 18:37:59 +0200 + +sane-backends (1.0.21-9) unstable; urgency=low + + * debian/patches/fix_epson2_cancel.patch: + + Added; fix handling of scanner errors by sending a cancel command. + (Closes: #597922) + + -- Julien BLACHE <jblache@debian.org> Sun, 12 Dec 2010 16:31:25 +0100 + +sane-backends (1.0.21-8) unstable; urgency=low + + * debian/patches/fix_epson2_commands.patch: + + Added; fix list of supported commands for levels D1 and D2. + (Closes: #582066) + + -- Julien BLACHE <jblache@debian.org> Mon, 29 Nov 2010 18:12:16 +0100 + +sane-backends (1.0.21-7) unstable; urgency=low + + * debian/patches/genesys_disable_raw_data_log.patch: + + Added; disable raw data logging. Raw data logging was enabled + upstream at some point before 1.0.21 most probably as an oversight + when committing new code. When enabled, a raw.pnm file is left + behind in the cwd when using the genesys backend. (Closes: #602995) + * debconf translations: + + Properly install vi.po, mistakenly put in po/ instead of + debian/po in 1.0.21-6. + + -- Julien BLACHE <jblache@debian.org> Mon, 15 Nov 2010 19:00:34 +0100 + +sane-backends (1.0.21-6) unstable; urgency=low + + * debian/patches/saned_exit_avahi_process.patch: + + Added; exit Avahi process on error/loop termination. + * debian/patches/xerox_mfp_new_ids.patch: + + Added; add USB IDs for supported machines in xerox_mfp. (Closes: #601748) + * debian/patches/scsi_perfection_2450.patch: + + Added; add SCSI IDs for the Perfection 2450 via FireWire. + (Closes: #601810) + * debian/patches/scsi_scanjet_4c.patch: + + Added; add SCSI IDs for the ScanJet 4c. (Closes: #601656) + * debconf translations: + + vi.po: courtesy of Clytie Siddall. (Closes: #601530) + + -- Julien BLACHE <jblache@debian.org> Sat, 06 Nov 2010 11:21:40 +0100 + +sane-backends (1.0.21-5) unstable; urgency=low + + * debconf translations: + + cs.po: courtesy of Miroslav Kure. (Closes: #598338) + + zh_CN.po: courtesy of YunQiang Su (Closes: #599590, #599591). + + da.po: courtesy of Joe Dalton. (Closes: #599642) + + eu.po: courtesy of Iñaki Larrañaga Murgoitio. (Closes: #599810) + + es.po: courtesy of Camaleón. (Closes: #600342) + + fi.po: courtesy of Esko Arajärvi. (Closes: #600514) + + -- Julien BLACHE <jblache@debian.org> Mon, 18 Oct 2010 10:08:12 +0200 + +sane-backends (1.0.21-4) unstable; urgency=low + + * debconf translations: + + it.po: courtesy of Luca Monducci. (Closes: #593722) + + -- Julien BLACHE <jblache@debian.org> Sun, 05 Sep 2010 09:44:28 +0200 + +sane-backends (1.0.21-3) unstable; urgency=low + + * debian/control: + + Bump Standards-Version to 3.9.0 (no changes). + * debian/patches/use_libsane_matched_for_scsi.patch: + + Added; use libsane_matched for SCSI scanners rules too. + * debian/patches/allow_dll.d_symlinks.patch: + + Added; allow symlinks under /etc/sane.d/dll.d. (Closes: #588392) + + -- Julien BLACHE <jblache@debian.org> Fri, 09 Jul 2010 18:21:58 +0200 + +sane-backends (1.0.21-2) unstable; urgency=low + + * debian/patches/fix_xerox_mfp_color_mode.patch: + + Added; fix xerox_mfp color mode, from upstream. (Closes: #583789) + + -- Julien BLACHE <jblache@debian.org> Tue, 01 Jun 2010 19:34:19 +0200 + +sane-backends (1.0.21-1) unstable; urgency=low + + * New upstream release. (Closes: #579254) + * Moved to source format 3.0 (quilt). + * debian/control: + + Removed dpatch build-dep. + + Add dependency on pkg-config to libsane-dev. + * debian/rules: + + Removed dpatch code. + + --disable-fork-process -> --enable-pthread. + + Install the pkg-config file for sane-backends. + * All patches refreshed, tagged with DEP-3 headers. + + -- Julien BLACHE <jblache@debian.org> Mon, 26 Apr 2010 19:59:08 +0200 + +sane-backends (1.0.20-14) unstable; urgency=low + + * debian/control: + + Depend and build-depend on libjpeg-dev instead of libjpeg62-dev. + (Closes: #569240) + + Bump Standards-Version to 3.8.4 (no changes). + * debian/sane-utils.saned.init: + + Add $remote_fs to Required-Start & Required-Stop. + * debconf translations: + + fr.po: courtesy of Christian Perrier. (Closes: #564595) + + -- Julien BLACHE <jblache@debian.org> Sat, 13 Feb 2010 10:03:12 +0100 + +sane-backends (1.0.20-13) unstable; urgency=low + + * debian/patches/34_genesys_gl841_cal_fix.dpatch: + + Added; fix calibration on gl841-based scanners. (Closes: #563163) + * debconf translations: + + ja.po: courtesy of Hideki Yamane. (Closes: #564294) + + -- Julien BLACHE <jblache@debian.org> Sun, 10 Jan 2010 15:21:22 +0100 + +sane-backends (1.0.20-12) unstable; urgency=low + + * debian/patches/33_epson2_update.dpatch: + + Update epson2 from git HEAD. (Closes: #534746) + * debconf translations: + + de.po: courtesy of Helge Kreutzmann. (Closes: #562709) + + sv.po: courtesy of Martin Bagge. (Closes: #562931) + + ru.po: courtesy of Yuri Kozlov. (Closes: #563076) + + pt.po: courtesy of Américo Monteiro. (Closes: #563174) + + -- Julien BLACHE <jblache@debian.org> Fri, 01 Jan 2010 12:49:10 +0100 + +sane-backends (1.0.20-11) unstable; urgency=medium + + * Urgency set to medium to unbreak saned in testing. + * debian/patches/12_saned_polling_fix.dpatch: + + Added; unbreak saned's polling loop for more than 1 fds. (Closes: #562248) + * debian/patches/13_saned_aliasing_fix.dpatch: + + Added; fix strict aliasing issues in saned for gcc 4.4. + + -- Julien BLACHE <jblache@debian.org> Thu, 24 Dec 2009 17:33:35 +0100 + +sane-backends (1.0.20-10) unstable; urgency=low + + * debian/libsane.README.Debian: + + Updated udev-related information and instructions, added a note about + only adding rules for scanners supported by libsane. + * debian/sane-utils.saned.init: + + Add missing --oknodo in s-s-d stop call in restart case. + (Closes: #558648) + * debian/sane-utils.templates: + + Rework the standalone saned template and mention Avahi explicitly. + (Closes: #556877) + * debian/patches/22_dll_backend_conf.dpatch: + + Updated; use better wording for the comment about the net backend + in dll.conf. (Closes: #556912) + * debian/patches/32_epson_perfection636.dpatch: + + Added; add the Epson Perfection 636 SCSI scanner. (Closes: #555971) + + -- Julien BLACHE <jblache@debian.org> Sat, 12 Dec 2009 11:33:09 +0100 + +sane-backends (1.0.20-9) unstable; urgency=low + + * debian/patches/11_udev_147.dpatch: + + Added; remove NAME= from SCSI rules as udev 147 complains about it. Also + remove support for kernel < 2.6.22. (Closes: #555443) + + -- Julien BLACHE <jblache@debian.org> Mon, 09 Nov 2009 21:01:32 +0100 + +sane-backends (1.0.20-8) unstable; urgency=low + + * debian/rules: + + Fix nostrip builds, thanks to Tollef Fog Heen. (Closes: #548152) + * debian/patches/31_genesys_raw_log_fix.dpatch: + + Added; add missing check when logging raw data. Patch by + Tollef Fog Heen <tfheen@err.no>. (Closes: #548154) + + -- Julien BLACHE <jblache@debian.org> Sat, 26 Sep 2009 11:44:04 +0200 + +sane-backends (1.0.20-7) unstable; urgency=low + + * debian/control: + + Demote avahi-daemon to a Suggests. (Closes: #543335) + + libv4l-dev is not available on hurd-i386 either. (Closes: #545995) + * debian/patches/30_xerox_samsung_ids.dpatch: + + Added; add USB IDs for various Samsung-branded MFPs. (Closes: #545290) + + -- Julien BLACHE <jblache@debian.org> Fri, 11 Sep 2009 19:16:15 +0200 + +sane-backends (1.0.20-6) unstable; urgency=low + + * debian/control: + + Bump Standards-Version to 3.8.3 (no changes). + * debian/rules: + + Empty dependency_libs in all .la files. + * debian/patches/10_sanei_usb_update.dpatch: + + Added; from git, favour the interface detected by sanei_usb_init(). + This helps with some machines like the Canon MP730. + + -- Julien BLACHE <jblache@debian.org> Sat, 29 Aug 2009 16:55:34 +0200 + +sane-backends (1.0.20-5) unstable; urgency=low + + * debian/control: + + Bump Standards-Version to 3.8.2 (no changes). + * debian/patches/08_cardscan_usbids.dpatch: + + Added; fix USB IDs for the CardScan 800c. (Closes: #528829) + * debian/patches/09_po_update_es_add_gl.dpatch: + + Added; update es translation and add new gl translation, courtesy of + Miguel Bouzada <mbouzada@gmail.com>. + * debian/patches/20_disable_rpath.dpatch: + + Added; do not use rpath. For some reason this decided to pop up now, + even though the previous revision of the package did not suffer from + this. Go figure. + + -- Julien BLACHE <jblache@debian.org> Fri, 26 Jun 2009 14:39:41 +0200 + +sane-backends (1.0.20-4) unstable; urgency=low + + * debian/rules: + + Serialize autotools/patch/configure for parallel builds, now that + parallel builds are possible with the upstream build system. + (Closes: #506620) + * debian/control: + + Bump libsane-extras dependencies to 1.0.20.1. + * debian/sane-utils.saned.init: + + Add status action, taken from iaxmodem. (Closes: #528265) + * debian/patches/07_tools_missing_libcam.dpatch: + + Added; fix sane_find_scanner build on kFreeBSD by adding missing SCSI + libraries. From upstream via Aurélien JARNO. (Closes: #528594) + + -- Julien BLACHE <jblache@debian.org> Thu, 14 May 2009 12:06:47 +0200 + +sane-backends (1.0.20-3) unstable; urgency=low + + * debian/patches/06_cap_always_settable.dpatch: + + Added; add back SANE_CAP_ALWAYS_SETTABLE which was mistakenly + removed from SANE 1.0.20. (Closes: #527675, #527682) + + -- Julien BLACHE <jblache@debian.org> Fri, 08 May 2009 21:03:56 +0200 + +sane-backends (1.0.20-2) unstable; urgency=low + + * Update previous changelog entry with regard to #519101 resolution. + * debian/patches/04_udev_rules_fix.dpatch: + + Added; fix udev rules, use ATTRS instead of ATTR. (Closes: #527196) + * debian/patches/05_saned_avahi_fds_fix.dpatch: + + Added; fix a possible net backend hang when saned is run in debug + mode. Could also happen in standalone mode, but a lot less likely. + + -- Julien BLACHE <jblache@debian.org> Wed, 06 May 2009 12:02:59 +0200 + +sane-backends (1.0.20-1) unstable; urgency=low + + * New upstream release. + + Unsupported devices are no longer included in the udev rules. + (Closes: #519101) + * debian/control: + + Bump Standards-Version to 3.8.1 (no changes). + + Add build-dep on libv4l-dev. + + Add dependency on libv4l-dev to libsane-dev. + + Move libsane-dbg to debug section. + * debian/rules: + + Use DESTDIR at install time. + + Remove rpath from sane-find-scanner. + * debian/patches/01_missing_pthreads.dpatch: + + Added; new build system breaks build when using pthreads. + * debian/patches/02_frontends_libs.dpatch: + + Added; only link the frontends with the libraries they need. + * debian/patches/03_libsane_deps.dpatch: + + Added; reduce libsane.so deps to the bare minimum. + * debian/patches/11_minimum_linkage.dpatch: + + Removed; build system was redone using automake and this isn't + needed anymore. + * debian/patches/12_new_configure.dpatch: + + Removed; not needed anymore, due to #11 going away. + * debian/patches/21_sane-config.in_no_rpath.dpatch: + + Updated; updated for new build system. + * debian/patches/23_unneeded_doc.dpatch: + + Updated; updated for new build system. + * debian/patches/22_dll_backend_conf.dpatch: + + Updated; dll.d support has been merged upstream, update dll.conf header. + * debian/patches/01_manpages_fixes.dpatch, 02_pixma_update.dpatch, + 03_snapscan_usb_ftok_fix.dpatch, 04_sane-desc_hal_new.dpatch, + 05_hp_timing_fix.dpatch, 06_sanei_scsi_attach_fix.dpatch, + 07_epson2_be_nice.dpatch, 08_epson2_be_nice_to_saned.dpatch, + 09_avision_fixes.dpatch, 10_sm3840_unbreak_sane_open.dpatch, + 30_new_saned.dpatch, 31_sanei_pthread_64bit_fix.dpatch, + 32_net_backend_standard_fix.dpatch, 33_scanimage_options_fix.dpatch, + 40_fujitsu_fixes.dpatch, 41_epjitsu_fixes.dpatch: + - removed; fixes and enhancements taken from upstream or merged upstream + in this release. + + -- Julien BLACHE <jblache@debian.org> Mon, 04 May 2009 12:45:50 +0200 + +sane-backends (1.0.19-26) unstable; urgency=low + + * debian/rules: + + Do not generate /etc/modprobe.d/libsane anymore. + * debian/libsane.preinst: + + Remove obsolete /etc/modprobe.d/libsane conffile. + * debian/patches/30_new_saned.dpatch: + + Updated; workaround for backends writing to stdin/stderr/stdout when + run via inetd, which breaks the network dialog and causes the remote + net backend to crash. (Closes: #516982) + + -- Julien BLACHE <jblache@debian.org> Wed, 04 Mar 2009 10:49:42 +0100 + +sane-backends (1.0.19-25) unstable; urgency=low + + * debian/rules: + + Remove comment bit, breaking configure invocation. + * debian/control: + + Add ${misc:Depends}. + * debian/sane-utils.postrm: + + Make the script set -e. + * debian/patches/30_new_saned.dpatch: + + Updated; (net backend) do not attempt to lock the Avahi polling + thread before stopping it, it now produces a deadlock. Looks like + a change/fix was made in Avahi. (Closes: #513122) + + -- Julien BLACHE <jblache@debian.org> Wed, 18 Feb 2009 11:50:31 +0100 + +sane-backends (1.0.19-24) unstable; urgency=low + + * debian/rules: + + Enable use of pthread instead of fork for reader processes. + * debian/libsane.postinst: + + Remove code dealing with devfs/hotplug/hotplug-ng. + * debian/patches/11_minimum_linkage.dpatch: + + Update; add $(LIBPTHREAD) to library dependencies where needed. + + -- Julien BLACHE <jblache@debian.org> Sun, 15 Feb 2009 11:50:13 +0100 + +sane-backends (1.0.19-23) unstable; urgency=low + + * debian/patches/09_avision_fixes.dpatch: + + Updated; fix reader task handling to not signal the whole process group + erroneously. + * debconf translations: + + it.po: courtesy of Luca Monducci. (Closes: #507563) + + -- Julien BLACHE <jblache@debian.org> Tue, 09 Dec 2008 16:14:06 +0100 + +sane-backends (1.0.19-22) unstable; urgency=low + + * debian/patches/41_epjitsu_fixes.dpatch: + + Added; from CVS, fix double-free issues in epjitsu. (Closes: #506750) + + -- Julien BLACHE <jblache@debian.org> Mon, 24 Nov 2008 15:02:04 +0100 + +sane-backends (1.0.19-21) unstable; urgency=low + + * debian/rules: + + Use an error handler for saned's init. + * debian/sane-utils.postinst: + + Added error handler for saned init. (Closes: #493745) + * debconf translations: + + es.po: courtesy of Ignacio Mondino. (Closes: #499202) + + -- Julien BLACHE <jblache@debian.org> Fri, 19 Sep 2008 10:50:04 +0200 + +sane-backends (1.0.19-20) unstable; urgency=low + + * debian/control: + + Make sane-utils depend on update-inetd (>= 4.31) which won't break + with debconf. + * debian/sane-utils.postinst: + + update-inetd needs debconf sometimes, so keep debconf enabled until + after the update-inetd call. + + -- Julien BLACHE <jblache@debian.org> Fri, 05 Sep 2008 11:04:59 +0200 + +sane-backends (1.0.19-19) unstable; urgency=low + + * debian/rules: + + Install umax_pp into sane-utils. (Closes: #496833) + * debian/patches/40_fujitsu_fixes.dpatch: + + Added; upstream backport of fujitsu backend fixes, fixes a string + initialization issue in config file parsing, adds color mode for the + fi-6130, 6230, 6140, 6240 and fixes fi-6230 hangs at wakeup from + powersave mode. (Closes: #494156) Thanks to M. Allan Noah for + providing a backport. + + -- Julien BLACHE <jblache@debian.org> Thu, 28 Aug 2008 10:31:35 +0200 + +sane-backends (1.0.19-18) unstable; urgency=low + + * debian/patches/10_sm3840_unbreak_sane_open.dpatch: + + Added; from CVS, fix the way sane_open() checks for sanei_usb_open() + errors. (Closes: #496249) + * debconf translations: + + ja.po: courtesy of Hideki Yamane. (Closes: #493568) + + -- Julien BLACHE <jblache@debian.org> Wed, 27 Aug 2008 19:58:15 +0200 + +sane-backends (1.0.19-17) unstable; urgency=low + + * debian/patches/33_scanimage_options_fix.dpatch: + + Added; get the option descriptor for option 0 before getting the value + for option 0. This is a standard-compliance fix needed for proper + operation with the net backend. + * debian/patches/30_new_saned.dpatch: + + Updated; fix initialization of runas_{g,u}id and ngroups, preventing + failures later on in some cases (saned -a without username). + + -- Julien BLACHE <jblache@debian.org> Tue, 05 Aug 2008 12:10:44 +0200 + +sane-backends (1.0.19-16) unstable; urgency=low + + * debian/patches/30_new_saned.dpatch: + + Updated; Fix seteuid()/setegid() call order and set supplemental group + list. (Closes: #493084) + + -- Julien BLACHE <jblache@debian.org> Thu, 31 Jul 2008 11:46:53 +0200 + +sane-backends (1.0.19-15) unstable; urgency=low + + * debian/patches/09_avision_fixes.dpatch: + + Enable this patch for real. + * debian/patches/31_sanei_pthread_64bit_fix.dpatch: + + Updated. + + -- Julien BLACHE <jblache@debian.org> Tue, 22 Jul 2008 23:05:50 +0200 + +sane-backends (1.0.19-14) unstable; urgency=low + + * debian/patches/32_net_backend_standard_fix.dpatch: + + Updated; fix sane_control_option() in the net backend so as to bring + the net backend behaviour back in line with standard backends. This + should fix some issues reported with the net backend lately. + * debian/patches/01_manpages_fixes.dpatch: + + Updated; fix some more hyphen vs. minus sign issues. + * debian/rules: + + Include debug symbols for sane-utils into libsane-dbg. + * debian/copyright: + + Update. + + -- Julien BLACHE <jblache@debian.org> Sun, 20 Jul 2008 12:51:25 +0200 + +sane-backends (1.0.19-13) unstable; urgency=low + + * debian/libsane.README.Debian: + + Fix udev rules filename. (Closes: #490656) + * debian/patches/01_manpages_fixes.dpatch: + + Updated; fix hyphen vs. minus sign issues reported by lintian. + * debian/patches/30_new_saned.dpatch: + + Updated; manpage fixes. + + -- Julien BLACHE <jblache@debian.org> Mon, 14 Jul 2008 13:17:44 +0200 + +sane-backends (1.0.19-12) unstable; urgency=low + + * debian/control: + + Bump Standards-Version to 3.8.0 (no changes). + * debian/patches/30_new_saned.dpatch: + + Updated; properly terminate child processes when exiting from the + debug mode. + * debian/patches/32_net_backend_standard_fix.dpatch: + + Added; do not reload the option descriptors cache behind the frontend's + back in sane_control_option(). Fetch options descriptors in sane_open() + so GET_VALUE on option 0 can still work without explicitely getting + option descriptor 0 first. + * debconf translations: + + sv.po: courtesy of Martin Bagge. (Closes: #487369) + + -- Julien BLACHE <jblache@debian.org> Tue, 24 Jun 2008 22:10:35 +0200 + +sane-backends (1.0.19-11) unstable; urgency=low + + * debian/patches/30_new_saned.dpatch: + + Updated; lock the Avahi thread before stopping it and tearing down the + Avahi objects. (Closes: #484464) + * debian/patches/09_avision_fixes.dpatch: + + Added; from CVS, misc avision backend fixes. (Closes: #474706, #475198) + * debconf translations: + + ru.po: courtesy of Yuri Kozlov. (Closes: #481656) + + -- Julien BLACHE <jblache@debian.org> Fri, 06 Jun 2008 17:37:28 +0200 + +sane-backends (1.0.19-10) unstable; urgency=low + + * debian/sane-utils.postinst: + + Make proper use of debconf !@#%$. (Closes: #481442) + * debconf translations: + + fr.po: update by Christian Perrier. (Closes: #481439) + + -- Julien BLACHE <jblache@debian.org> Fri, 16 May 2008 19:26:48 +0200 + +sane-backends (1.0.19-9) unstable; urgency=low + + * debian/sane-utils.postinst: + + Do not attempt to remove saned from the scanner group if it isn't part + of the group in the first place. (Closes: #481288) + * debian/patches/31_sanei_pthread_64bit_fix.dpatch: + + Added; from CVS, fix sanei_pthread on 64bit platforms. + + -- Julien BLACHE <jblache@debian.org> Thu, 15 May 2008 18:54:37 +0200 + +sane-backends (1.0.19-8) unstable; urgency=low + + * Reupload 1.0.19-7 to unstable. + + * debconf translations: + + pt.po: courtesy of Américo Monteiro. (Closes: #480219) + + cs.po: courtesy of Miroslav Kure. (Closes: #480313) + + de.po: courtesy of Helge Kreutzmann. (Closes: #480366) + + vi.po: courtesy of Clytie Siddall. (Closes: #480483) + + fi.po: courtesy of Esko Arajärvi. (Closes: #480550) + + fr.po: update by Christian Perrier. + + -- Julien BLACHE <jblache@debian.org> Wed, 14 May 2008 19:13:29 +0200 + +sane-backends (1.0.19-7) experimental; urgency=low + + * Introducing new saned & net backend features. + + saned can now run as a standalone daemon and offers mDNS/DNS-SD. + The net backend can discover saned servers on the (local) network. + * debian/patches/01_manpages_fixes.dpatch: + + Fix man warnings in sane-config.1 and sane-mustek_pp.5. + * debian/patches/30_new_saned.dpatch: + + Added; from CVS HEAD, backport new saned and net backend. + * debian/sane-utils.README.Debian: + + Enhancements, typo fixes. + * debian/sane-utils.templates, debian/sane-utils.config, + debian/sane-utils.postinst: + + Add a debconf question to automatically add the saned user to the + scanner group. + + Add a debconf question to enable saned as a standalone daemon. + * debian/rules: + + Enable Avahi support at configure time. + + Call dh_installdebconf. + + Call dh_installinit. + * debian/control: + + Build-Depend on po-debconf, libavahi-client-dev (>= 0.6.4). + + sane-utils: add ${misc:Depends} to get the appropriate debconf + dependencies. + + sane-utils: recommend avahi-daemon. + + libsane: recommend avahi-daemon. + + libsane-dev: depend on libavahi-client-dev. + * debian/sane-utils.saned.init, debian/sane-utils.saned.default: + + Add an initscript & default file for saned. + + * debconf translations: + + eu.po: courtesy of Piarres Beobide. (Closes: #479380, #479808) + + fr.po: courtesy of Christian Perrier. + + pt_BR.po: courtesy of Eder L. Marques. (Closes: #479785) + + gl.po: courtesy of Jacobo Tarrio. (Closes: #479838) + + -- Julien BLACHE <jblache@debian.org> Wed, 07 May 2008 18:37:07 +0200 + +sane-backends (1.0.19-6) unstable; urgency=low + + * debian/patches/08_epson2_be_nice_to_saned.dpatch: + + Added; from CVS, be nice to saned and do not pollute fd 0. + (Closes: #479052) + + -- Julien BLACHE <jblache@debian.org> Sat, 03 May 2008 16:46:12 +0200 + +sane-backends (1.0.19-5) unstable; urgency=low + + * debian/patches/07_epson2_be_nice.dpatch: + + Added; from CVS, be nice to other backends and close the scanner device + when the device is not recognized (or another error happens). + (Closes: #476468) + + -- Julien BLACHE <jblache@debian.org> Sat, 19 Apr 2008 17:16:13 +0200 + +sane-backends (1.0.19-4) unstable; urgency=low + + * debian/patches/03_snapscan_usb_ftok_fix.dpatch: + + Updated; improve the patch by falling back to ftok() for non-libusb + devices. + * debian/patches/04_sane-desc_hal_new.dpatch: + + Added; add support for newer HAL versions. + * debian/patches/05_hp_timing_fix.dpatch: + + Added; fix timing issue with HP scanners. (Closes: #472819) + * debian/patches/06_sanei_scsi_attach_fix.dpatch: + + Added; from CVS, continue to iterate over the list of devices even + if an attempt to attach one of the devices fails. + * debian/rules: + + Generate HAL FDI file for newer HAL versions. (Closes: #472664) + * debian/libsane-dev.doc-base: + + Fix doc-base section. + + -- Julien BLACHE <jblache@debian.org> Fri, 28 Mar 2008 22:39:17 +0100 + +sane-backends (1.0.19-3) unstable; urgency=low + + * debian/patches/01_disable_epson2.dpatch: + + Removed; reenable the epson2 backend. + * debian/patches/03_snapscan_usb_ftok_fix.dpatch: + + Added; work around the usage of ftok() in the snapscan backend. See + the patch description for details. (Closes: #466855) + + -- Julien BLACHE <jblache@debian.org> Sat, 15 Mar 2008 16:16:38 +0100 + +sane-backends (1.0.19-2) unstable; urgency=low + + * debian/patches/02_pixma_update.dpatch: + + Added; update pixma backend from CVS, adding support for + - Pixma MP210, MP470, MP520, MP610, MultiPASS MP710 + - MP140, MP220, MultiPASS MP740 (untested) + - MP970 (experimental, untested) + (Closes: #468270) + * debian/rules: + + Generate and install HAL fdi file. (Closes: #466540) + * debian/control: + + Add update-inetd dependency for sane-utils. + * debian/sane-utils.postinst, debian/sane-utils.postrm: + + Add support for update-inetd. (Closes: #426514) + * debian/sane-utils.README.Debian: + + Document update-inetd usage. + + -- Julien BLACHE <jblache@debian.org> Sat, 01 Mar 2008 14:11:29 +0100 + +sane-backends (1.0.19-1) unstable; urgency=low + + * New upstream release. + + New backends: cardscan (Corex Cardscan 800c), epjitsu (Epson-based + Fujitsu), epson2 (various Epson scanners), hp3900 (HP ScanJet 3970 and + more), hp5590 (HP ScanJet 5590 and more), hpljm1005 (HP LaserJet M1005 + and more), hs2p (Ricoh IS400 series) + + Fix for the pixma backend. (Closes: #459663) + + Regression fix for the avision backend. (Closes: #458478, #458932) + * debian/patches/02_hurd_no_plustek_pp.dpatch: + + Removed; merged upstream. + * debian/patches/11_minimum_linkage.dpatch: + + Updated. + * debian/patches/12_new_configure.dpatch: + + Updated. + * debian/control: + + Adjust libsane-extras dependencies for 1.0.19. + + -- Julien BLACHE <jblache@debian.org> Tue, 12 Feb 2008 21:44:19 +0100 + +sane-backends (1.0.19~cvs20071213-5) unstable; urgency=low + + * debian/control: + + Build-Depends: xutils-dev instead of xutils. + + Depend on libsane-extras{,-dev,-dbg} to help fix up the + buggy udev rules in libsane-extras. + + Promote libgphoto2-2-dev to Depends: for libsane-dev. + * debian/patches/02_hurd_no_plustek_pp.dpatch: + + Added; do not build plustek_pp on Hurd. (Closes: #457378) + * debian/patches/12_new_configure.dpatch: + + Updated. + + -- Julien BLACHE <jblache@debian.org> Mon, 07 Jan 2008 12:07:27 +0100 + +sane-backends (1.0.19~cvs20071213-4) unstable; urgency=low + + * debian/patches/11_minimum_linkage.dpatch: + + Updated; add libcam for coolscan & umax, remove it for cardscan. + + -- Julien BLACHE <jblache@debian.org> Mon, 31 Dec 2007 14:11:34 +0100 + +sane-backends (1.0.19~cvs20071213-3) unstable; urgency=low + + * debian/control: + + Tighten relationship with libsane-extras due to the udev rules renaming. + + -- Julien BLACHE <jblache@debian.org> Fri, 28 Dec 2007 11:45:30 +0100 + +sane-backends (1.0.19~cvs20071213-2) unstable; urgency=low + + * debian/rules: + + Generate udev rules as debian/libsane.udev, clean as needed. + + Use dh_installudev. + + Remove libsane-dll.* from /usr/lib/sane; libsane.so and libsane-dll.so + are the same backend. + * debian/libsane.postinst: + + Remove udev installation code. + * debian/libsane.preinst: + + Added; handle upgrade from previous udev code to dh_installudev. + * debian/patches/11_minimum_linkage.dpatch: + + Added; only link backends to the libraries they need. + * debian/patches/12_new_configure.dpatch: + + Added; new configure script. + * debian/patches/12_gphoto2_link_backend_only.dpatch: + + Removed; obsoleted by 11_minimum_linkage.dpatch. + * debian/patches/13_new_configure.dpatch: + + Removed; now 12_new_configure.dpatch. + + -- Julien BLACHE <jblache@debian.org> Tue, 25 Dec 2007 22:58:26 +0100 + +sane-backends (1.0.19~cvs20071213-1) unstable; urgency=low + + * New CVS snapshot. + + New backend: hp3900. + * debian/control: + + Bump Standards-Version to 3.7.3 (no changes). + + Bump libsane-extras{,-dev} dependencies/conflicts/replaces to 1.0.18.13. + + Remove module-init-tools recommendation, enforced by udev which is a + dependency. + * debian/rules: + + Remove ${module-init-tools} substvar. + + -- Julien BLACHE <jblache@debian.org> Thu, 13 Dec 2007 21:59:02 +0100 + +sane-backends (1.0.19~cvs20071028-1) unstable; urgency=low + + * New CVS snapshot. + + All backends now declare OPT_NUM_OPTS of type SANE_TYPE_INT. + (Closes: #448162) + + Fixed USB IDs for the Epson CX-6600. (Closes: #419349) + + Added USB IDs for the Epson DX-6000. (Closes: #442051) + * debian/control: + + libsane-dev Recommends: libgphoto2-2-dev. + + -- Julien BLACHE <jblache@debian.org> Sun, 28 Oct 2007 11:17:36 +0100 + +sane-backends (1.0.19~cvs20070730-1) unstable; urgency=low + + * New CVS snapshot. + + Workaround for CONFIG_USB_SUSPEND. (Closes: #434276) + * debian/control, debian/rules: + + Make libsane depend on makedev | udev on Linux. (Closes: #428220) + * debian/libsane.postinst: + + Change MAKEDEV invocation to invoke /dev/MAKEDEV instead of /sbin/MAKEDEV. + * debian/control: + + Do not {build-,}depend on libusb-dev nor libieee1284-dev on hurd-i386. + (Closes: #434575) + + Use ${binary:Version} instead of ${Source-Version}. + * debian/rules: + + Do not ignore make distclean errors. + * debian/patches/30_sanei_scsi_sg_ioctl.dpatch: + + Removed; merged upstream. + + -- Julien BLACHE <jblache@debian.org> Mon, 30 Jul 2007 14:03:13 +0200 + +sane-backends (1.0.19~cvs20070505-3) unstable; urgency=low + + * debian/patches/30_sanei_scsi_sg_ioctl.dpatch: + + Added; use the SG_IO ioctl interface instead of the asynchronous + read/write SG3 interface. This allows the use of SCSI scanners in + mixed 32/64bit environments, thanks to the ioctl 32bit compatibility + layer taking care of the 32/64bit sg_hdr conversion. (Closes: #420193) + + If you own a SCSI scanner, please report back on this change; especially + if, compared to the previous version (1.0.19~cvs20070505-2): + - the scanner backtracks more than it used to with the previous version + - you see weird errors OR you see no error and you should be seeing some + - performance sucks + - resulting image is broken in one way or another + - ... + + -- Julien BLACHE <jblache@debian.org> Sun, 20 May 2007 10:46:00 +0200 + +sane-backends (1.0.19~cvs20070505-2) unstable; urgency=low + + * debian/patches/01_disable_epson2.dpatch: + + Added; disable epson2 backend by default. (Closes: #422697) + + -- Julien BLACHE <jblache@debian.org> Sat, 12 May 2007 10:37:11 +0200 + +sane-backends (1.0.19~cvs20070505-1) unstable; urgency=low + + * New CVS snapshot. + + New backend: hp5590. + * debian/patches/31_epson_remove_check.dpatch: + + Removed; merged upstream. + + -- Julien BLACHE <jblache@debian.org> Sat, 05 May 2007 20:37:07 +0200 + +sane-backends (1.0.19~cvs20070421-1) unstable; urgency=low + + * debian/control: + + Update Build-Depends for the TeXLive migration. + + Removed old Conflicts. + + Upgrade libsane-extras minimum version to 1.0.18.6. + * debian/rules: + + Drop hotplug support. + + Drop code for Sarge backports. + * debian/libsane.postinst: + + Remove old hotplug-ng files, code taken from Ubuntu. + * debian/libsane.README.Debian, debian/sane-utils.README.Debian: + + Removed hotplug notes. + * debian/patches/03_usb_perms_664.dpatch: + + Removed; merged upstream. + * debian/patches/11_hotplug_wait_for_device.dpatch: + + Removed; not needed anymore. + * debian/patches/30_udev_long_comment_lines.dpatch: + + Removed; merged upstream. + * debian/patches/32_microtek2_add_check.dpatch: + + Removed; merged upstream. + * debian/patches/33_manpages_fixes.dpatch: + + Removed; merged upstream. + + -- Julien BLACHE <jblache@debian.org> Sat, 21 Apr 2007 13:33:26 +0200 + +sane-backends (1.0.18-6) unstable; urgency=low + + * Enable libieee1284 support on kFreeBSD-amd64. (Closes: #413178) + * debian/control: + + Build-depend on libieee1284-3-dev (>= 0.2.10-5) for all architectures. + + libsane-dev depends on libieee1284-3-dev (>= 0.2.10-5) for all architectures. + * debian/rules: + + Remove the libieee1284-3-dev substitution variable. + + -- Julien BLACHE <jblache@debian.org> Sat, 3 Mar 2007 11:39:33 +0100 + +sane-backends (1.0.18-5) unstable; urgency=medium + + * debian/patches/32_microtek2_add_check.dpatch: + + Added; Add missing return status check, preventing a segfault later + on. (Closes: #398153) + * debian/patches/33_manpages_fixes.dpatch: + + Added; fix man warnings in some manpages. + + -- Julien BLACHE <jblache@debian.org> Mon, 8 Jan 2007 19:52:22 +0100 + +sane-backends (1.0.18-4) unstable; urgency=medium + + * debian/patches/31_epson_remove_check.dpatch: + + Added; Remove bogus check in epson backend get_identity2_information() + affecting Stylus CX5xxx models. (Closes: #399119, #402444) + * debian/sane-utils.README.Debian: + + Fix typo, the manpage for saned is in section 8 not 1. + * debian/control: + + libsane-dbg is Priority: extra. + + Remove Uploaders. + + Thank you Aurélien JARNO for your help during these years. + + -- Julien BLACHE <jblache@debian.org> Sat, 6 Jan 2007 18:46:43 +0100 + +sane-backends (1.0.18-3) unstable; urgency=low + + * debian/patches/30_udev_long_comment_lines.dpatch: + + Added; split very long comment lines in the udev rules file. + (Closes: #376859) + * debian/libsane.README.Debian: + + Updated; udev no longer sets permissions on /proc/bus/usb/xxx/yyy, + /dev/bus/usb/xxx/yyy is used instead now. + + -- Julien BLACHE <jblache@debian.org> Sun, 30 Jul 2006 20:40:09 +0200 + +sane-backends (1.0.18-2) unstable; urgency=low + + * debian/control: + + Build-Depends: libltdl3-dev, needed to link with libgphoto2-2. + + sane-utils Suggests: unpaper. + + -- Julien BLACHE <jblache@debian.org> Tue, 4 Jul 2006 09:09:04 +0200 + +sane-backends (1.0.18-1) unstable; urgency=low + + * New upstream release. + + New backends: dell1600n_net, hp3500, pixma, stv680. (Closes: #360303) + + Canon LiDE 60 USBids added to the genesys description file. (Closes: #366871) + * debian/patches/01_usbids.dpatch: + + Removed; merged upstream. + * debian/patches/26_manpages_spelling_fixes.dpatch: + + Removed; merged upstream. + * debian/patches/25_glibc_sys_io_h.dpatch: + + Removed; merged upstream. + * debian/patches/03_usb_perms_664.dpatch: + + Updated; the convert-usermap.sh scripts are gone. + * debian/patches/04_udev_rules_fix.dpatch: + + Removed; merged upstream. + * debian/rules: + + Use sane-desc to generate the udev rules file and the hotplug data file. + + Improve manpage list generation for the libsane package. + * debian/control: + + Build-Depends: libtiff4-dev, for the dell1600n_net backend. + + -- Julien BLACHE <jblache@debian.org> Mon, 3 Jul 2006 20:30:17 +0200 + +sane-backends (1.0.17-4) unstable; urgency=low + + * debian/compat: + + Bumped DH_COMPAT to 5. + * debian/control: + + Bumped Standards-Version to 3.7.2 (no changes). + + Build-Depend on debhelper (>= 5.0.0) for DH_COMPAT=5. + + New libsane-dbg binary for debugging symbols. (Closes: #366767) + * debian/rules: + + Tell dh_strip to put debugging symbols into libsane-dbg. + + -- Julien BLACHE <jblache@debian.org> Fri, 26 May 2006 13:40:01 +0200 + +sane-backends (1.0.17-3) unstable; urgency=low + + * debian/control: + + Add ${libieee1284-3-dev} to libsane-dev Depends. (Closes: #364294) + + -- Julien BLACHE <jblache@debian.org> Sat, 22 Apr 2006 19:58:12 +0200 + +sane-backends (1.0.17-2) unstable; urgency=low + + [ Aurélien JARNO ] + * debian/control: + + Build-depends: libcam-dev on kfreebsd-i386 and kfreebsd-amd64. + + Build-depends: !libieee1284-dev on kfreebsd-amd64. + + libsane-dev depends: libcam-dev on GNU/kFreeBSD. + * debian/patches/25_glibc_sys_io_h.dpatch: + + New; check for GNU libc instead of Linux kernel. + + [ Julien BLACHE ] + * debian/patches/02_udev_rules.dpatch: + + Removed; coldplugging now works OK, the hotplug script aren't needed + anymore. (Closes: #359800) + * debian/patches/03_usb_perms_664.dpatch: + + Updated. + * debian/patches/04_udev_rules_fix.dpatch: + + Added; fix udev rules file so that the rules only run for ACTION=add + on the usb subsystem. (Closes: #359797) + * debian/patches/01_usbids.dpatch: + + Added; add Epson Stylus CX7800 USB IDs. (Closes: #350436) + * debian/patches/26_manpages_spelling_fixes.dpatch: + + Added; various spelling fixes to the manpages. (Closes: #357568) + * debian/control: + + Removed Conflicts: on very old SANE versions. + + Recommends: module-init-tools (>= 3.2.2-1). (Closes: #344541) + + Recommends: udev (>= 0.88-1) for a version of udev with working + coldplugging support. Let me know if the version can be lowered, + thanks. + * debian/rules: + + Add variable substitution for module-init-tools on Linux. + + Add version to the udev variable substitution. + + -- Julien BLACHE <jblache@debian.org> Thu, 13 Apr 2006 21:40:58 +0200 + +sane-backends (1.0.17-1) unstable; urgency=low + + [ Julien BLACHE ] + * New upstream release. + + New backends: hp4200, lexmark, mustek_usb2. + + Now ignores EBUSY on set_configuration for real. (Closes: #332281) + + Fixed USB IDs for BearPaw 2448 TA Plus to use only lowercase letters. (Closes: #341046) + * debian/patches/01_hotplug_usbids.dpatch: + + Removed; merged upstream. + * debian/patches/02_tools_udev.dpatch: + + Removed; merged upstream. + * debian/patches/02_udev_rules.dpatch: + + Added; add a RUN rule to run the hotplug.d script (for coldplugging). + * debian/control: + + Build-Depends: xutils as makedepend is now used by the build system. + + Adjust conflicts/suggests for libsane-extras. + + [ Aurélien JARNO ] + * debian/patches/03_usb_perms_664.dpatch: + + Added; lsusb needs read access to USB devices to work properly. + + -- Julien BLACHE <jblache@debian.org> Sun, 18 Dec 2005 17:09:47 +0100 + +sane-backends (1.0.16-5) unstable; urgency=low + + * debian/patches/02_tools_udev.dpatch: + + Run the hotplug.d script to ensure a working coldplug. (Closes: #334068) + * debian/patches/30_misc_fixes.dpatch: + + Fix a typo in sane-find-scanner(1). (Closes: #310333) + * debian/patches/34_sanei_usb_ignore_set_config_ebusy.dpatch: + + Ignore EBUSY on set_configuration to better accomodate MFC devices. (Closes: #332281) + * debian/libsane.postrm: + + Remove /etc/udev/rules.d/025_libsane.rules on purge. (Closes: #333569) + + -- Julien BLACHE <jblache@debian.org> Thu, 27 Oct 2005 20:25:16 +0200 + +sane-backends (1.0.16-4) unstable; urgency=low + + * debian/patches/02_tools_udev.dpatch: + + Fix broken tools/udev/convert-usermap.sh script. + + -- Julien BLACHE <jblache@debian.org> Wed, 28 Sep 2005 22:59:41 +0200 + +sane-backends (1.0.16-3) unstable; urgency=low + + * The udev release. Thanks to Marco d'Itri for his help. + * debian/patches/02_tools_udev.dpatch: + + Added; adds tools/udev from CVS. + * debian/rules: + + Generate the udev rules file for libsane and install it. + + Generate a modprobe blacklist (same as the hotplug blacklist). + * debian/libsane.postinst: + + Symlink the udev rules file under /etc/udev/rules.d; do that only once. + * debian/control: + + Recommends: hotplug | udev + + -- Julien BLACHE <jblache@debian.org> Wed, 28 Sep 2005 22:42:38 +0200 + +sane-backends (1.0.16-2) unstable; urgency=low + + * debian/patches/11_hotplug_wait_for_device.dpatch: + + Bump timeout to 25 seconds. + * debian/patches/01_hotplug_usbids.dpatch: + + Added; pulled from CVS. (Closes: #323607) + * debian/patches/32_plustek_update.dpatch: + + Supersedes 32_add_lide25.dpatch; plustek backend update, adds LiDE 25 + support and fixes LiDE 20 support. + * debian/patches/33_sm3600_update.dpatch: + + Added; pulled from CVS, sm3600 adapted to sanei_usb. + + -- Julien BLACHE <jblache@debian.org> Sun, 28 Aug 2005 18:33:18 +0200 + +sane-backends (1.0.16-1) unstable; urgency=low + + [ Julien BLACHE ] + * New upstream release. + + New backends: sm3840, genesys. + + Fixed typos in manpages. (Closes: #310332, #310333) + * Patches removed (integrated upstream): + + 01_hotplug_usbids.dpatch + + 02_tools_hotplug-ng.dpatch + + 03_manpages_fixes.dpatch + + Most of 30_misc_fixes.dpatch + + 31_gt68xx_fixes.dpatch + + 32_snapscan_update.dpatch + + 33_avision_update.dpatch + + 34_plustek_update.dpatch + + 35_libusbscanner_2.6_fixes.dpatch + + 36_sane-find-scanner_message.dpatch + + 37_epson_usbids.dpatch + * debian/libsane.postinst: + + Removed the udev check, it's broken and MAKEDEV now does the Right + Thing (tm) on its own. (Closes: #310216) + + Remove anything debconf-related. + * debian/control: + + Bumped Standards-Version to 3.6.2 (no changes). + + Update the conflict on libsane-extras. + + Downgrade Depends: sane-utils to Recommends: sane-utils now that Sarge + has been released. + + Drop dependency on debconf. + * debian/rules: + + Generate sane-backends.pot, patch from Martin Pitt. (Closes: #313527) + + Comment call to dh_installdebconf, we don't use debconf anymore. + + [ Aurélien JARNO ] + * DEB_HOST_GNU_SYSTEM replaced by DEB_HOST_ARCH_OS. + * Get rid of debian/control.in by using the -V option of dpkg-gencontrol. + + -- Julien BLACHE <jblache@debian.org> Sun, 7 Aug 2005 15:00:05 +0200 + +sane-backends (1.0.15-10) unstable; urgency=low + + * debian/patches/01_hotplug_usbids.dpatch: + + Updated; added Genius ColorPage Vivid3XE. (Closes: #305993) + + Added Microtek ScanMaker 3700. (Closes: #307952) + + Added Epson Stylus RX620. (Closes: #308867) + * debian/patches/11_hotplug_wait_for_device.dpatch: + + Added; try to wait for the device to appear in the FS. (Closes: #302891) + * debian/patches/30_misc_fixes.dpatch: + + Updated; fixed "device model referenced not duplicated" in the v4l + backend. (Closes: #306458) + * debian/control.in: + + Build-Depend on a fixed libusb. + + -- Julien BLACHE <jblache@debian.org> Sun, 22 May 2005 11:09:19 +0200 + +sane-backends (1.0.15-9) unstable; urgency=low + + * debian/patches/22_dll_backend_conf.dpatch: + + Process /etc/sane.d/dll.d first, so that those backends will be loaded + last. This will prevent buggy extras backends to perturb other backends. + * debian/patches/03_manpages_fixes.dpatch: + + Fix a typo in sane(7), reported by A Costa. (Closes: #302675) + + Fix 3 typos in scanimage(1), also reported by A Costa. (Closes: #302334) + + -- Julien BLACHE <jblache@debian.org> Wed, 20 Apr 2005 16:17:20 +0200 + +sane-backends (1.0.15-8) unstable; urgency=low + + [ Aurélien Jarno ] + * Drop support for the scanner kernel module. Switch to libusb NOW. + + Drop the devfs config file, remove /etc/devfs/conf.d/devfs + in libsane.postinst. + * Transition to the new hotplug hook scheme (pulled from CVS), which is + compatible with both hotplug and hotplug-ng. + + Remove /etc/hotplug/usb/libsane.usermap and /etc/hotplug/usb/libusbscanner + in libsane.postinst. + + Conflicts with libsane-extras (<< 1.0.15.7) to avoid partial upgrades, as + 1.0.15.7 is the version compatible with the new hotplug script. + + [ Julien Blache ] + * Added support for GNU/kFreeBSD. (Closes: #297979) + + debian/rules: generate control at clean time. + + debian/rules: install README.{linux,freebsd} depending on the system. + + debian/patches/23_unneeded_doc.dpatch: do not install OS-specific READMEs. + + debian/control.in: do not depend on makedev on !linux (via debian/rules). + + debian/libsane.postinst: do not create device nodes on !linux. + * debian/rules: + + Install only the manpages for the backends which have been built. + + Cut the head of libsane.usermap to remove the comments pertaining to the + old usermap format. + * debian/libsane.README.Debian: + + Updated to relfect the hotplug changes. + * debian/libsane.postinst: + + Do not create device nodes when udev is in use. + + -- Julien BLACHE <jblache@debian.org> Sun, 6 Mar 2005 00:36:43 +0100 + +sane-backends (1.0.15-7) unstable; urgency=low + + [ Julien BLACHE ] + * debian/patches/22_dll.conf_debian.dpatch + + Removed; renamed to 22_dll_backend_conf.dpatch. + * debian/patches/22_dll_backend_conf.dpatch + + Added; adds a Debian-specific comment to the dll.conf file, and patches + the dll backend to look for pieces of dll.conf in the /etc/sane.d/dll.d + directory; this is a facility for packages providing external backends, + like libsane-extras, hpoj and hplip. + + [ Aurélien Jarno ] + * debian/patches/01_hotplug_usbids.dpatch + + Added Epson Corp. Stylus CX6600 to libsane.usermap. (Closes: #293082) + + -- Julien BLACHE <jblache@debian.org> Mon, 21 Feb 2005 16:43:41 +0100 + +sane-backends (1.0.15-6) unstable; urgency=low + + * debian/control + + Recommends: hotplug (was Suggests: hotplug). + + Suggests: hpoj, hplip. + * debian/rules + + Blacklist the scanner module wrt hotplug. + * debian/libsane.README.Debian + + Explain that the scanner module is going away, and that we're now + blacklisting it wrt hotplug upon installation of the package. + * debian/patches/01_hotplug_usbids.dpatch + + Updated; added Epson Stylus RX-425. + * debian/patches/37_epson_usbids.dpatch + + Added; adds Epson Stylus RX-425. + * debian/patches/30_misc_fixes.dpatch + + Updated; added initialization of dev->scanning in coolscan.c. + * debian/patches/02_manpages_fixes.dpatch + + Added; manpages fixes from esr. + * debian/patches/32_snapscan_deinterlacer.dpatch + + Removed; renamed to 32_snapscan_update.dpatch. + * debian/patches/32_snapscan_update.dpatch + + Added; contains all of the previous 32_snapscan_deinterlacer.dpatch, + plus it adds support for the Epson Perfection 1270, BenQ 5250C and + quality calibration for the Epson Perfection 2480. + * debian/patches/22_dll.conf_debian.dpatch + + Updated; added the sm3840 backend provided by libsane-extras and the + hpaio backend provided by hplip. (Closes: #291435) + * debian/patches/38_artec_e+48_conf.dpatch + + Added; adds proper configuration for the Umax AstraSlim SE. + + -- Julien BLACHE <jblache@debian.org> Sat, 22 Jan 2005 13:54:58 +0100 + +sane-backends (1.0.15-5) unstable; urgency=medium + + * debian/patches/34_plustek_update.dpatch: + + Added; pulled from CVS, contains fixes for Epson Perfection 1260 + scanners. (Closes: #290029) + * debian/patches/35_libusbscanner_2.6_fixes.dpatch: + + Added; applied patch from Martin Pitt to use sysfs to determine the + device number, instead of guessing it in a semi-broken way. + (Closes: #289666) + * debian/patches/36_sane-find-scanner_message.dpatch + + Added; adds a "make sure your scanner is powered up and plugged in" + message to sane-find-scanner. (Closes: #287592) + + -- Julien BLACHE <jblache@debian.org> Wed, 12 Jan 2005 17:48:30 +0100 + +sane-backends (1.0.15-4) unstable; urgency=medium + + * debian/control: + + Added build-dependency on pkg-config. (Closes: #286140) + * debian/patches/13_new_configure.dpatch: + + Fixed; remove unwanted autom4te.cache directory from the patch. + (Closes: #286143) + + -- Julien BLACHE <jblache@debian.org> Sun, 19 Dec 2004 18:08:23 +0100 + +sane-backends (1.0.15-3) unstable; urgency=low + + * debian/patches/31_gt68xx_fixes.dpatch: + + Updated; added a fix for Mustek BearPaw 2448 TA/CS Plus scanners. + (Closes: #284674) + * debian/patches/33_avision_update.dpatch: + + Added; improved avision backend from CVS. + + -- Julien BLACHE <jblache@debian.org> Thu, 9 Dec 2004 16:01:50 +0100 + +sane-backends (1.0.15-2) unstable; urgency=low + + * debian/patches/01_hotplug_usbids.dpatch: + + Added; taken from CVS, adds missing USB IDs to the hotplug scripts. + (Closes: #280821, #281003) + * debian/patches/31_gt68xx_fixes.dpatch: + + Added; taken from CVS, fixes incorrect mode check for some scanners. + (Closes: #281061) + * debian/patches/30_misc_fixes.dpatch: + + Added; miscellaneous fixes from CVS/sane-devel. + * debian/patches/32_snapscan_deinterlacer.dpatch: + + Added; taken from CVS, adds a deinterlacer filter to the snapscan + backend, which is needed to scan at 2400 DPI with some scanners. + + -- Julien BLACHE <jblache@debian.org> Sun, 14 Nov 2004 15:39:36 +0100 + +sane-backends (1.0.15-1) unstable; urgency=low + + * New upstream release. + + Patch for Microtek Phantom C6 on PowerPC merged upstream. + (Closes: #274523) + + New backend: niash. + * debian/control: + + Update conflicts/replaces on libsane-extras 1.0.15.1. + * debian/patches/01_libusbscanner.dpatch: + + Removed; taken from CVS, included in this version. + * debian/patches/02_epson_usbids.dpatch: + + Removed; taken from CVS, included in this version. + * debian/patches/03_hotplug_usbids.dpatch: + + Removed; merged upstream. + * debian/patches/11_libtool_unneeded_checks.dpatch: + + Removed. + * debian/patches/12_gphoto2_link_backend_only.dpatch: + + Updated; revert unwanted backend/Makefile.in patch causing an incorrect + rpath in /usr/lib/libsane.la. (Closes: #279082) + * debian/patches/13_new_configure.dpatch: + + Updated. + * debian/patches/22_dll.conf_debian.dpatch: + + Updated; the niash backend is now part of SANE. + * debian/patches/25_saned_man_section.dpatch: + + Removed; merged upstream. + * debian/patches/26_scanimage_batch.dpatch: + + Removed; merged upstream. + * debian/patches/27_snapscan-usb_count_urb.dpatch: + + Removed; taken from CVS, included in this version. + * debian/sane-utils.README.Debian: + + Fix reference to /usr/share/doc/libsane/README.Debian.gz + (Closes: #278670) + + -- Julien BLACHE <jblache@debian.org> Tue, 9 Nov 2004 23:28:23 +0100 + +sane-backends (1.0.14-7) unstable; urgency=medium + + * Co-maintainer upload. + * debian/patches/27_snapscan-usb_count_urb.dpatch: + + Added, backported from CVS: Don't enforce even number of URB packages + on snapscan 1212u_2. (Closes: #250885) + * debian/patches/03_hotplug_usbids.dpatch: + + Added Epson Corp. Stylus CX6400 to libsane.usermap. (Closes: #293946) + + -- Aurelien Jarno <aurel32@debian.org> Mon, 9 Aug 2004 11:17:13 +0200 + +sane-backends (1.0.14-6) unstable; urgency=medium + + * Urgency=medium as this revision will fix the upgrade path from Woody. + * debian/control: + + Removed obsolete gcc-3.3 build-depends. (Closes: #262245) + + Upgraded the sane-utils recommendation to a dependency as an upgrade + path from Woody. (Closes: #263408) + * debian/rules: + + Create /etc/hotplug/blacklist.d/libsane to prevent hotplug + from loading the no-longer-needed hpusbscsi module. (Closes: #260734) + * debian/patches/03_hotplug_usbids.dpatch: + + Added; adds HP ScanJet 5300C to libsane.usermap. (Closes: #260736) + * debian/patches/26_scanimage_batch.dpatch: + + Added; adds possibility to interrupt a batch scan in scanimage by + pressing ^D. (Closes: #260230) + + -- Julien BLACHE <jblache@debian.org> Wed, 4 Aug 2004 22:12:40 +0200 + +sane-backends (1.0.14-5) unstable; urgency=low + + * debian/patches/02_epson_usbids.dpatch + + Put back the USB IDs for the Perfection 1650, remove the USB IDs for the + Perfection 1250, which now really fixes the bug. + + -- Julien BLACHE <jblache@debian.org> Sun, 13 Jun 2004 13:48:27 +0200 + +sane-backends (1.0.14-4) unstable; urgency=low + + * debian/libsane.postinst + + modutils is Required, not Essential; replace kernelversion (provided by + modutils) by uname -r | cut. (Closes: #254140) + + -- Julien BLACHE <jblache@debian.org> Sun, 13 Jun 2004 12:12:02 +0200 + +sane-backends (1.0.14-3) unstable; urgency=low + + * debian/libsane.postinst + + Do not create /dev/usb/scanner* if running a 2.6 kernel. + * debian/patches/02_espon_usbids.dpatch + + Remove USB IDs for Perfection 1250 and 1260; these scanners are handled + by the plustek backend (pulled from CVS). (Closes: #248859) + * debian/patches/25_saned_man_section.dpatch + + Added; saned goes to /usr/sbin, its manpage should go to section 8. + + -- Julien BLACHE <jblache@debian.org> Fri, 11 Jun 2004 21:37:18 +0200 + +sane-backends (1.0.14-2) unstable; urgency=low + + * debian/patches/22_dll.conf_debian.dpatch + + Enable the hpoj backend by default. (Closes: #246985, #248379) + * debian/patches/01_libusbscanner.dpatch + + Pulled from CVS, fixes hotplug's lack of backward compatibility + (Closes: #248770) + + -- Julien BLACHE <jblache@debian.org> Thu, 20 May 2004 20:25:18 +0200 + +sane-backends (1.0.14-1) unstable; urgency=low + + * New upstream release. + + USB IDs for EPSON Stylus CX5400 added. (Closes: #243295) + + USB IDs for Nikon CoolScan 5000 added. (Closes: #243792) + * debian/hotplug/* + + removed, integrated upstream (tools/hotplug). + * debian/patches/01_mustek_pp_unified.dpatch + + removed, integrated in this release. + * debian/patches/02_hp_backend_usb_fix.dpatch + + removed, integrated in this release. + * debian/rules + + install the provided hotplug script and config file. + + -- Julien BLACHE <jblache@debian.org> Sat, 1 May 2004 16:26:47 +0200 + +sane-backends (1.0.13-4) unstable; urgency=low + + * debian/patches/02_hp_backend_usb_fix.dpatch + + added, pulled from CVS, fixes USB problems on kernel 2.6. (Closes: #242188) + * Updated libsane.usermap from CVS. (Closes: #242090) + * Updated README.Debian, fixed a couple of typos. + + -- Julien BLACHE <jblache@debian.org> Sun, 11 Apr 2004 10:31:41 +0200 + +sane-backends (1.0.13-3) unstable; urgency=low + + * debian/libsane.config, debian/libsane.templates, debian/po: + + Removed, we don't use debconf anymore. + * debian/postinst: + + Fixed the /dev/usb/parport0 typo that should have read /dev/parport0. + Thanks to Tore Anderson for catching this one. + + Removed anything debconf-related, only purge whatever is left in the + debconf DB. (Closes: #224597) + + -- Julien BLACHE <jblache@debian.org> Sat, 20 Dec 2003 18:44:37 +0100 + +sane-backends (1.0.13-2) unstable; urgency=low + + * debian/patches: order of the patches changed (slightly). + + 01_mustek_pp_unified.dpatch: scan area fixes. + + -- Julien BLACHE <jblache@debian.org> Mon, 1 Dec 2003 19:19:19 +0100 + +sane-backends (1.0.13-1) unstable; urgency=low + + * New upstream release. + * debian/patches: + + 20_net.c_fixes.dpatch : removed, merged upstream. + + 21_gt68xx_uhci_fixes.dpatch : ditto. + + 04_hp5400_sanei_config2.dpatch : ditto. + + 03_new_configure : updated. + + 04_mustek_pp_unified: added; with this patch the mustek_pp backend + supports both CIS and CCD scanners. (Closes: #190998) + * debconf: + + Direct users to README.Debian.gz instead of README.Debian + . (Closes: #217347) + + Added Japanese translation. (Closes: #214040) + + Added Dutch translation. (Closes: #218905) + + Added German translation, thanks to Dirk Ritter and debian-l10n-german. + * debian/sane-utils.README.Debian: + + More details about the saned user and group, and the reason why the saned + user is not part of the scanner group by default. (Closes: #220024) + * debian/devfs/scanner: + + Added an example for SCSI devices, thanks to Dirk Ritter. + * debian/control: + + Standards-Version bumped to 3.6.1 (no changes). + * debian/rules, debian/compat: + + Switch to DH_COMPAT 4, and moved from dh_movefiles to dh_install. + * debian/control, debian/rules: + + Build-depend on chrpath and use it to remove rpath from the binaries. + + -- Julien BLACHE <jblache@debian.org> Mon, 24 Nov 2003 18:35:21 +0100 + +sane-backends (1.0.12-7) unstable; urgency=low + + * The "Maintainer's birthday" release. + * Simplified the needlessly complex debconf questions. Now use a multiselect + question instead of 3 independent questions: + + debian/libsane.templates: rewritten to use a multiselect type + + debian/libsane.config: ditto, try to convert from the older questions, + then purge them once done. + + debian/libsane.postinst: rewritten to parse the answer from the new + debconf thingy. + + debian/control: now Depends: debconf (>= 0.5.0) due to the use of db_fset + in debian/libsane.config. + * debian/libsane.postinst: use ':' as a separator for chown instead of '.'. + * debian/libsane.README.Debian: ditto. + * debian/control: only Suggests: hotplug. (Closes: #205291) + + -- Julien BLACHE <jblache@debian.org> Wed, 20 Aug 2003 14:03:14 +0200 + +sane-backends (1.0.12-6) unstable; urgency=low + + [ Julien BLACHE ] + * debian/control + + Bumped Standards-Version to 3.6.0 (no changes). + + libsane depends on adduser (>= 3.47). + + libsane recommends hotplug. + * debian/libsane.templates: templates slightly rewritten to accomodate the + various debconf frontends. (Closes: #202744) + * debconf-related items: + + Switched debconf templates to debconf-po, thus build-depends on + debhelper (>= 4.1.16). (Closes: #203669) + + Added french debconf translation based on translation from Michel + Grentzinger <mic.grentz(AT)online.fr> for sane-backends 1.0.12-5. + (Closes: #203670) + * debian/libsane.postinst: + + Add a scanner system group, and chown root.scanner /dev/usb/scanner* if + we create them. (Closes: #201851) + * debian/libsane.README.Debian: + + Added a Setup paragraph, detailing permissions issues and solutions + implemented by this package. + * debian/sane-utils.README.Debian: + + Added, deals with permissions issues wrt the saned daemon. + * hotplug support: + + debian/hotplug/libusbscanner: added, hotplug script for scanners used + with libusb, courtesy of Max Kutny <mkut(AT)umc.com.ua>. Installed as + /etc/hotplug/usb/libusbscanner. + + debian/hotplug/libsane.usermap: example map file for use with hotplug. + Installed as /etc/hotplug/usb/libsane.usermap. + + [ Aurélien JARNO ] + * debian/devfs/scanner: + + Added, installed as /etc/devfs/conf.d/scanner. + + -- Julien BLACHE <jblache@debian.org> Wed, 6 Aug 2003 13:08:11 +0200 + +sane-backends (1.0.12-5) unstable; urgency=low + + * 21_gt68xx_uhci_fixes.dpatch : fix timeout with UHCI host controllers. + * debian/control: + - Added temporary Build-Dependency on gcc-3.3 (>= 3.3.1-0pre0), which should + fix the ICE on m68k. + * debian/rules: + - Should build with -O2 on m68k again. + + -- Julien BLACHE <jblache@debian.org> Wed, 2 Jul 2003 12:04:59 +0200 + +sane-backends (1.0.12-4) unstable; urgency=low + + [ Julien BLACHE ] + * The "I fucking hate libtool" release. Prevent libtool from checking things + we do not need at all, such as a C++ or an F77 compiler. Sigh. + * Converted to dpatch. Build-depends on dpatch. + * Re-enable the gphoto2 backend, -but- do so that frontends do not get linked + against libgphoto2. Only the backend is linked against it. (Closes: #195613) + * Thus, adds back the libgphoto2-2-dev build-dependency. + * Effectively move the html doc to the html subdir, instead of copying them + with dh_install. + + [ Aurélien JARNO ] + * Add autotools-stamp, so that configure won't be run twice. + * Do not link sanei_config2 in hp5400 : not needed (fixes an undefined + symbol, too). + + -- Julien BLACHE <jblache@debian.org> Tue, 3 Jun 2003 22:34:48 +0200 + +sane-backends (1.0.12-3) unstable; urgency=low + + * Fix the net backend so that it _does_ try all alternatives before giving + up connecting to the server. (Closes: #195396) + + -- Julien BLACHE <jblache@debian.org> Fri, 30 May 2003 19:22:54 +0200 + +sane-backends (1.0.12-2) unstable; urgency=low + + * Build with -O1 on m68k; -O2 triggers an ICE. + + -- Julien BLACHE <jblache@debian.org> Thu, 29 May 2003 11:36:41 +0200 + +sane-backends (1.0.12-1) unstable; urgency=low + + * New upstream release. + + Should now work on m68k. Yeah. (Closes: #77356) + + sane(7) has been improved. (Closes: #188647) + + scanimage(1) has been fixed, wrt --batch. + + The hp5400 backend has been included, replaces libsane-extras (<< 1.0.12.1). + + IPv6 support. + * Standards-Version bumped to 3.5.10 (no changes). + * libsane-dev belongs to libdevel. + * Do not generate manpages and documentation we do not need. + + -- Julien BLACHE <jblache@debian.org> Sun, 25 May 2003 21:14:37 +0200 + +sane-backends (1.0.11-4) unstable; urgency=medium + + * Move saned.conf to the sane-utils package. Woops. (Closes: #192742) + + -- Julien BLACHE <jblache@debian.org> Sat, 10 May 2003 08:41:23 +0200 + +sane-backends (1.0.11-3) unstable; urgency=medium + + * The "We want to enter testing" release. + * Do not build the gphoto2 backend. Gphoto2 is blocked by a bunch of other + packages (KDE, ...) and we're free of RC bugs. Enough. + * Moved libphoto2-2-dev to Build-Conflicts. + * Bumped shlibs. + + -- Julien BLACHE <jblache@debian.org> Sat, 3 May 2003 21:09:58 +0200 + +sane-backends (1.0.11-2) unstable; urgency=low + + * Do not tell how to configure libusb. (Closes: #180570) + * Do not print "Adding saned..." in sane-utils postinst + when the user already exists. + * Pulled fixed gphoto2 backend from CVS. (Closes: #180514) + + -- Julien BLACHE <jblache@debian.org> Thu, 13 Feb 2003 13:22:21 +0100 + +sane-backends (1.0.11-1) unstable; urgency=low + + * New upstream release. + + security fixes to saned. (Closes: #180203) + * Added some debconf dialogs: + + /dev/parport* + + /dev/sg* + + note about /proc/bus/usb + + -- Julien BLACHE <jblache@debian.org> Sun, 9 Feb 2003 21:17:16 +0100 + +sane-backends (1.0.10-2) unstable; urgency=low + + * Fix postrm breakage. (Closes: #179586) + + -- Julien BLACHE <jblache@debian.org> Mon, 3 Feb 2003 12:39:14 +0100 + +sane-backends (1.0.10-1) unstable; urgency=low + + * New upstream release. + + fixed sane-scsi manpage. (Closes: #174136) + + mustek_pp now has CIS support. (Closes: #152321) + * Added http://www.mostang.com/sane/sane-mfgs.html + as /usr/share/doc/libsane/supported.html. (Closes: #174131) + * New backends, previously included in libsane-extras : + + gt68xx + + artec_eplus48u (known as tevion9693usb) + * datadir is ${prefix}/share, not ${prefix}/share/sane. + * Remove /usr/lib/sane/libsane.so.1, as it's not libsane.so.1 + (looks like a libtool side-effect). + * Remove a couple more unwanted READMEs. + * Bumped Standards-Version to 3.5.8. + * Added a debconf dialog to create /dev/usb/*. (Closes: #177979) + * Added missing dependency on adduser to sane-utils. + + -- Julien BLACHE <jblache@debian.org> Sun, 2 Feb 2003 11:22:24 +0100 + +sane-backends (1.0.9-4) unstable; urgency=low + + * Pulled dll.c from CVS, fixes in-line comments. (Closes: #171521) + * Applied patch for Plustek backend rounding bug. (Closes: #172012) + + -- Julien BLACHE <jblache@debian.org> Mon, 9 Dec 2002 11:51:26 +0100 + +sane-backends (1.0.9-3) unstable; urgency=low + + * Rebuilt against new libgphoto2 package. + * Changed Uploaders: filed so that Aurélien's uploads won't be tagged as + NMU again. + * Do not generate debian/libsane.conffiles at build time, this is handled + by dh_installdeb automatically ; otherwise we end up with each conffile + being listed twice... + + -- Julien BLACHE <jblache@debian.org> Sun, 1 Dec 2002 11:29:43 +0100 + +sane-backends (1.0.9-2) unstable; urgency=low + + * Co-maintainer upload. + * Remove /etc/sane.d directory on purge. (Closes: #167603) + + -- Aurelien Jarno <aurel32@debian.org> Mon, 4 Nov 2002 14:10:54 +0100 + +sane-backends (1.0.9-1) unstable; urgency=low + + * New upstream release. + + Video for Linux (v4l) backend cleanup. (Closes: #159634) + + Updated Avision backend. (Closes: #146054) + + Updated Epson backend. (Closes: #114017) + + Fixed char signedness in backend/plustek-usbshading.c. (Closes: #164464) + * Fixed debian/copyright. (Closes: #146057) + * Enabled translations. + * Do not install the upstream changelog twice. + * sane-utils does not create /home/saned. + * Fixed packages descriptions. (Closes: #165138) + + -- Julien BLACHE <jblache@debian.org> Thu, 24 Oct 2002 18:52:29 +0200 + +sane-backends (1.0.8-4) unstable; urgency=low + + * libsane-extras has its own source package now. + + -- Julien BLACHE <jblache@debian.org> Sun, 13 Oct 2002 10:49:54 +0200 + +sane-backends (1.0.8-3) unstable; urgency=low + + * New maintainers. + * New upstream release. (Closes: #162532, #149317) + + saned manpage mentions /usr/sbin/saned. (Closes: #141464) + + Symlinks for manpages are properly created. (Closes: #99551) + + Fixed hostnames handling in saned.conf. (Closes: #51171) + + HP backend update. (Closes: #116962) + + Backend loader respects LD_LIBRARY_PATH. (Closes: #143771) + + Path for Epson USB scanner corrected in conf file. (Closes: #154296, #154305) + + A test backend is included, safer than the pnm backend. (Closes: #139256) + + Umax backend fixed. (Closes: #158676) + + HP backend fixed, no longer segfaults. (Closes: 154827) + * Repackaged from scratch, using debhelper. + * Standards-Version bumped to 3.5.6. + * Do not include rpath informations in sane-config. (Closes: #143603) + * Fixed build problem wrt umask. (Closes: #95440) + * Updated libsane-dev Depends. (Closes: #142679) + * Fixed typos in umax_pp.conf. (Closes: #158742) + * Fixed hp.conf for some scanners. (Closes: #154828) + * Fixed README.Debian. (Closes: #146039) + * Fixed sane-plustek(5) manpage. (Closes: #159435) + * New package sane-utils, contains sane-find-scanner, scanimage and saned. + + sane-utils creates user and group saned. (Closes: #141465) + * New package libsane-extras, containing some extra backends + + hp4200 (v0.2p1) + + gt68xx (v1.0-23) + + niash (v20020217) (Closes: #160327) + + tevion9693 (v0.0.9) + * Disabled translations until 1.0.9. + + -- Julien BLACHE <jblache@debian.org> Sat, 12 Oct 2002 10:28:09 +0200 + +sane-backends (1.0.8-2) unstable; urgency=low + + * Added build-depends on gettext. (Closes: #163681) + + -- Kevin Dalley <kevind@rahul.net> Mon, 7 Oct 2002 09:32:21 -0700 + +sane-backends (1.0.8-1) unstable; urgency=low + + * New upstream release. + + Many new backends + + Many more updated backends + + -- Kevin Dalley <kevind@rahul.net> Sun, 6 Oct 2002 18:09:28 -0700 + +sane-backends (1.0.7-3.2) unstable; urgency=high + + * Non-Maintainer Upload. + * Fix build on SPARC. + * Fix build on HPPA, although it's not RC. (Closes: #138108) + + -- Julien BLACHE <jblache@debian.org> Sun, 7 Apr 2002 11:39:41 +0200 + +sane-backends (1.0.7-3.1) unstable; urgency=medium + + * Non-Maintainer upload. + * Fixes compilation on Alpha, using the frontend/scanimage.c file from + the current CVS. (Closes: #138108) + * Apply patch submitted for #139509, regarding config.{sub,guess} issues + on MIPS. (Closes: #139509) + * Fix lintian complaint wrt misplaced Conflicts: field in control file. + * Fix lintian complaint about .comment section in /usr/lib/sane/*.so.*. + + -- Julien BLACHE <jblache@debian.org> Sun, 31 Mar 2002 20:24:48 +0200 + +sane-backends (1.0.7-3) unstable; urgency=low + + * Link against libusb-0.1-4. (Closes: #119393) + + -- Kevin Dalley <kevind@rahul.net> Fri, 15 Mar 2002 18:31:08 +0000 + +sane-backends (1.0.7-2) unstable; urgency=low + + * Don't link against libusb due to inconsistencies with versions of libusb + libraries. When libusb installation is cleaned up, then usb support + will be added again. Unfortunately, this re-opens #119393, though + with a lower severity. (Closes: #138349) + + -- Kevin Dalley <kevind@rahul.net> Thu, 14 Mar 2002 22:25:53 +0000 + +sane-backends (1.0.7-1) unstable; urgency=low + + * New upstream release. + * Add libusb, which includes ScanMaker 3600 drivers. (Closes: #119393) + * Install plustek-share.h so that plustek driver can be built. + (Closes: #72341) + + -- Kevin Dalley <kevind@rahul.net> Thu, 14 Mar 2002 01:02:21 +0000 + +sane-backends (1.0.6-1) unstable; urgency=low + + * New upstream release. + + New backend: gphoto2. + + -- Kevin Dalley <kevind@rahul.net> Sun, 27 Jan 2002 23:30:19 -0800 + +sane-backends (1.0.5-3) unstable; urgency=low + + * Rebuilt with new version of libgimp-1.2.2-2. + + -- Kevin Dalley <kevind@rahul.net> Tue, 2 Oct 2001 22:31:15 -0700 + +sane-backends (1.0.5-2) unstable; urgency=low + + * Removed incorrect build dependency on libc6-dev. (Closes: #108639) + + -- Kevin Dalley <kevind@rahul.net> Thu, 16 Aug 2001 08:12:40 -0700 + +sane-backends (1.0.5-1) unstable; urgency=low + + * New backends: bh (Bell+Howell Copiscan II series), dc240 (Kodak DC240 + Digital Camera), sm3600 (Microtek ScanMaker 3600), umax_pp (Umax paralell + port scanners). + * Fix security bug in saned.c that allowed access to scanner without + password. + + -- Kevin Dalley <kevind@rahul.net> Sat, 28 Jul 2001 12:38:46 -0700 + +sane-backends (1.0.4-2) unstable; urgency=low + + * Increase timeout in sanei_scsi.c, which removes problem with 2.4 + kernels. (Closes: #84407) + + -- Kevin Dalley <kevind@rahul.net> Thu, 31 May 2001 04:36:29 -0700 + +sane-backends (1.0.4-1) unstable; urgency=low + + * New upstream release. + * Add backend as63driver. (Closes: #69625) + + -- Kevin Dalley <kevin@seti.org> Sun, 28 Jan 2001 09:17:24 -0800 + +sane-gimp1.1 (1.0.3-4) unstable; urgency=low + + * Link sane-gimp1.1 against libgimp1.1-1.1.29. + * Change control files so that packages sane and sane-gimp1.1 are + explicitly described as working with gimp and gimp1.1 respectively. + The package sane now mentions the packages sane-gimp1.1 and vice + versa. + + -- Kevin Dalley <kevind@rahul.net> Sun, 5 Nov 2000 13:56:49 -0800 + +sane (1.0.3-3) unstable; urgency=low + + * Link sane-gimp1.1 against libgimp1.1-1.1.28, which is new library. + (Closes: #75029) + * Define GIMP_ENABLE_COMPAT_CRUFT to allow use of newer libgimp. + + -- Kevin Dalley <kevind@rahul.net> Sun, 22 Oct 2000 21:52:29 -0700 + +sane (1.0.3-2) unstable; urgency=low + + * Fix dependency in libsane-dev. (Closes: #71578) + * Remove extraneous file which contains space in its name, which causes + patch and dpkg-source to fail. (Closes: #71566, #71564, #71540) + + -- Kevin Dalley <kevind@rahul.net> Fri, 22 Sep 2000 23:04:17 -0700 + +sane (1.0.3-1) unstable; urgency=low + + * New upstream release. + + New backends: + - mustek_pp + - plustek + - st400 + - v41 + + Many updated backends. + + 16 bit support for scanimage. + + -- Kevin Dalley <kevind@rahul.net> Sat, 2 Sep 2000 11:32:08 -0700 + +sane (1.0.2-1) unstable; urgency=low + + * New upstream release. + * Aliased and hidden backend support. + * Added Ricoh IS50 support. + * updated many backends. + * New Linux SCSI Generic driver. + * sane-gimp1.1 linked with libsane-1,1.22. (Closes: #66544) + + -- Kevin Dalley <kevind@rahul.net> Mon, 3 Jul 2000 23:38:42 -0700 + +sane (1.0.1-1999-10-21-12) unstable; urgency=low + + * Add libjpeg62-dev, tetex-bin, tetex-extra to Build-Depends. + (Closes: #61834, 61835) + + -- Kevin Dalley <kevind@rahul.net> Wed, 5 Apr 2000 10:37:38 -0700 + +sane-gimp1.1 (1.0.1-1999-10-21-11) unstable; urgency=low + + * Add Build-Depends to control files for sane and sane-gimp1.1. + (Closes: #60923) + + -- Kevin Dalley <kevind@rahul.net> Mon, 27 Mar 2000 03:16:55 -0800 + +sane (1.0.1-1999-10-21-10) unstable; urgency=low + + * Improve description in control file. (Closes: #57032) + * Link sane-gimp1.1 with libgimp1.1.17, which is the most recent + libgimp1.1 in frozen unstable. + + -- Kevin Dalley <kevind@rahul.net> Mon, 28 Feb 2000 02:37:20 +0000 + +sane (1.0.1-1999-10-21-9) unstable; urgency=low + + * Link sane-gimp1.1 with libgimp1.1.15, which is the most recent + libgimp1.1 in frozen unstable. + + -- Kevin Dalley <kevind@rahul.net> Sat, 22 Jan 2000 01:57:55 -0800 + +sane (1.0.1-1999-10-21-8) unstable; urgency=low + + * sane now conflicts with gimp1.1, which increases the chances of + getting the correct versions of gimp with each version of sane. + Unfortunately, sane-gimp1.1 cannot conflict with gimp, since + gimp1.1 provides gimp. (Closes: #55070) + + -- Kevin Dalley <kevind@rahul.net> Sun, 16 Jan 2000 11:41:52 -0800 + +sane (1.0.1-1999-10-21-7) unstable; urgency=low + + * Link against libgimp1.1.14. (Closes: #53982) + * Remove conflict of libsane-gimp1.1 with itself. (Closes: #49709) + * Each version of sane and sane-gimp1.1 now depend upon the same release + of libsane. (Closes: #50927) + * shlibs dependencies are updated to ">= 1.0.1-1999-10-21-7" to reduce + chances of problem #50927. + + -- Kevin Dalley <kevind@rahul.net> Sun, 9 Jan 2000 13:22:57 -0800 + +sane (1.0.1-1999-10-21-6) unstable; urgency=low + + * Add conflict between libsane and older version of sane, sane-gimp1.1 + due to moving documentation from sane to libsane. (Closes: #50735) + + -- Kevin Dalley <kevind@rahul.net> Sat, 20 Nov 1999 15:15:30 -0400 + +sane (1.0.1-1999-10-21-5) unstable; urgency=low + + * Add symbolic link to /usr/lib/libsane-dll.so, again. + + -- Kevin Dalley <kevind@rahul.net> Fri, 19 Nov 1999 00:03:40 -0400 + +sane (1.0.1-1999-10-21-4) unstable; urgency=low + + * Fix problematic stripping of "libsane.la". (Closes: #50099) + * Move much of documentation from the sane package to the libsane + and libsane-dev packages. + * Move find-scanner to libsane package. + + -- Kevin Dalley <kevind@rahul.net> Wed, 17 Nov 1999 23:08:44 -0400 + +sane (1.0.1-1999-10-21-3) unstable; urgency=low + + * Add symbolic link for /usr/lib/libsane-dll.so. + + -- Kevin Dalley <kevind@rahul.net> Mon, 25 Oct 1999 01:24:30 -0700 + +sane (1.0.1-1999-10-21-2) unstable; urgency=low + + * Fix symbolic link for libsane.so.1. + + -- Kevin Dalley <kevind@rahul.net> Sun, 24 Oct 1999 14:43:14 -0700 + +sane (1.0.1-1999-10-21-1) unstable; urgency=low + + * New CVS snapshot. + + Fixes many bugs in various backends. + + -- Kevin Dalley <kevind@rahul.net> Fri, 22 Oct 1999 22:06:52 -0700 + +sane (1.0.1-6) unstable; urgency=low + + * Relink sane-gimp1.1 with libgimp1.1.10 + + -- Kevin Dalley <kevind@rahul.net> Thu, 14 Oct 1999 23:33:18 -0700 + +sane (1.0.1-5) unstable; urgency=low + + * Relink sane-gimp1.1 with libgimp1.1.9 + * Separate sane-gimp1.1 from sane. + + -- Kevin Dalley <kevind@rahul.net> Sun, 10 Oct 1999 03:42:37 -0700 + +sane (1.0.1-4) unstable; urgency=low + + * Added sane-gimp1.1 (used with gimp1.1) at the same time as sane for + gimp-1.0.x. + + -- Kevin Dalley <kevind@rahul.net> Wed, 30 Jun 1999 00:54:57 -0700 + +sane (1.0.1-3) unstable; urgency=low + + * Try to fix problems with shared libraries. Install libsane-dll.so in + /usr/lib so that programs linked with libsane will run. + (Closes: #37756) + + -- Kevin Dalley <kevind@rahul.net> Mon, 31 May 1999 22:15:16 -0700 + +sane (1.0.1-2) unstable; urgency=low + + * Remove dependencies for libsane. + + -- Kevin Dalley <kevind@rahul.net> Fri, 30 Apr 1999 23:08:50 -0700 + +sane (1.0.1-1) unstable; urgency=low + + * New upstream release. + * New backend for Sharp scanners + * Update backends for Kodak DC25, HP, Microtek, Micro, Mustek, Nikon + Coolscan, snapscan, UMAX. + * Fixes a problem with HP scanners. (Closes: #32516) + * Includes backend for dc210. (Closes: #31377) + + -- Kevin Dalley <kevind@rahul.net> Tue, 27 Apr 1999 01:24:33 -0700 + +sane (1.00-2) unstable; urgency=low + + * Removed examples directory. Moved examples/tools to tools directory. + + -- Kevin Dalley <kevind@rahul.net> Mon, 5 Apr 1999 02:04:53 -0700 + +sane (1.00-1) unstable; urgency=low + + * New upstream release. + * Artec backend is back in dll.conf. + * Many more scanner are supported now and more changes. + + -- Kevin Dalley <kevind@rahul.net> Sat, 5 Dec 1998 01:00:30 -0800 + +sane (0.74-2) unstable; urgency=low + + * Temporarily comment out Artec backend in dll.conf, due to bad + interaction with Umax scanner. When using an Artec scanner, + uncomment "artec" in dll.conf. + * Automatically generates conffiles. (Closes: #26545) + Thanks to Roman Hodek <roman.hodek@informatik.uni-erlangen.de>. + * Fix a problem with creation of /usr/share/sane during the + build process. (Closes: #26314) + + -- Kevin Dalley <kevind@rahul.net> Sun, 20 Sep 1998 18:00:28 -0700 + +sane (0.74-1) unstable; urgency=low + + * New upstream release. + + -- Kevin Dalley <kevind@rahul.net> Sat, 22 Aug 1998 23:06:26 -0700 + +sane (0.72-1) unstable; urgency=low + + * New upstream release. + * First official release to support libgtk1-0.99.9. + + -- Kevin Dalley <kevind@rahul.net> Fri, 10 Apr 1998 02:29:52 -0700 + +sane (0.71-2) unstable; urgency=low + + * Fixed spelling in control files. (Closes: # 19003) + * Modified to match latest change in libgtk-0.99.5 + * Change datadir to /usr/share/sane + * Compatible with libgtk1-0.99.8. (Closes: #19595) + + -- Kevin Dalley <kevind@rahul.net> Sun, 22 Mar 1998 19:44:10 -0800 + +sane (0.71-1) unstable; urgency=low + + * New upstream release. + + New backends: + - Polaroid Digital Microscope Cameras (DMC) + - Apple scanners + - Nikon CoolScan + * Remove execute permission in doc directory. (Closes: #17949) + * Modify manual page referring to symbolic link of xscanimage. + (Closes: #18071) + + -- Kevin Dalley <kevind@rahul.net> Fri, 27 Feb 1998 23:03:08 -0800 + +sane (0.70-1) unstable; urgency=low + + * New upstream release: + + New and updated backends: + - AGFA SnapScan + - UMAX scanners + * Add patches 2-5 to SnapScan backend which allows other scanners + to work as well with the backend + + -- Kevin Dalley <kevind@rahul.net> Sat, 31 Jan 1998 17:32:53 -0800 + +sane (0.69-2) unstable; urgency=low + + * Modify umax-scanner.h so that Astra 1200S is legal. + + -- Kevin Dalley <kevind@rahul.net> Sun, 25 Jan 1998 09:44:45 -0800 + +sane (0.69-1) unstable; urgency=low + + * New upstream release. + + -- Kevin Dalley <kevind@rahul.net> Fri, 23 Jan 1998 20:24:01 -0800 + +sane (0.68-4) unstable; urgency=low + + * Modify gtkglue.c to correspond with changes to libgtk1. + + -- Kevin Dalley <kevind@rahul.net> Tue, 6 Jan 1998 22:24:14 -0800 + +sane (0.68-3) unstable; urgency=low + + * Change plug-in directory to 0.99 to match gimp changes, + add explicit gimp dependency. + * Add README.debian. + * Install find-scanner. + * Install many documentation files. + + -- Kevin Dalley <kevind@rahul.net> Fri, 2 Jan 1998 21:51:52 -0800 + +sane (0.68-2) unstable; urgency=low + + * Fix control file. + + -- Kevin Dalley <kevind@rahul.net> Sun, 21 Dec 1997 18:26:23 -0800 + +sane (0.68-1) unstable; urgency=low + + * New upstream release. + + -- Kevin Dalley <kevind@rahul.net> Fri, 5 Dec 1997 00:42:27 -0800 + +sane (0.67-1) unstable; urgency=low + + * Initial release. + + -- Kevin Dalley <kevind@rahul.net> Tue, 18 Nov 1997 21:38:41 -0800 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..fb8b9f8 --- /dev/null +++ b/debian/control @@ -0,0 +1,158 @@ +Source: sane-backends +Section: graphics +Priority: optional +Maintainer: Jörg Frings-Fürst <debian@jff.email> +Standards-Version: 4.5.0 +Build-Depends: + autoconf, + autoconf-archive, + chrpath, + debhelper-compat (= 13), + gettext, + libavahi-client-dev, + libcam-dev [kfreebsd-any], + libcups2-dev, + libcurl4-gnutls-dev, + libgphoto2-dev, + libieee1284-3-dev [!hurd-i386], + libjpeg-dev, + libltdl3-dev, + libpoppler-glib-dev, + libsnmp-dev [!kfreebsd-any], + libsystemd-dev [linux-any], + libtiff-dev, + libusb-1.0-0-dev, + libxml2-dev, + pkg-config, + po-debconf, + xutils-dev, + python3-minimal +Homepage: http://www.sane-project.org +Vcs-Git: git://jff.email/opt/git/sane-backends.git +Vcs-Browser: https://jff.email/cgit/sane-backends.git +Rules-Requires-Root: no + +Package: sane-utils +Architecture: any +Multi-Arch: foreign +Depends: + adduser, + lsb-base (>= 3.0-6), + update-inetd, + ${misc:Depends}, + ${shlibs:Depends} +Pre-Depends: + ${misc:Pre-Depends} +Breaks: libsane-common (<<1.0.27-1~) +Replaces: libsane-common (<<1.0.27-1~) +Suggests: avahi-daemon, unpaper +Description: API library for scanners -- utilities + SANE stands for "Scanner Access Now Easy" and is an application + programming interface (API) that provides standardized access to any + raster image scanner hardware (flatbed scanner, hand-held scanner, + video- and still-cameras, frame-grabbers, etc.). The SANE standard is + free and its discussion and development are open to everybody. The + current source code is written to support several operating systems, + including GNU/Linux, OS/2, Win32 and various Unices and is available + under the GNU General Public License (commercial applications and + backends are welcome, too, however). + . + This package includes the command line frontend scanimage, the saned + server and the sane-find-scanner utility, along with their documentation. + +Package: libsane-common +Section: libs +Architecture: all +Multi-Arch: foreign +Pre-Depends: + dpkg (>= 1.15.7.2) +Depends: ${misc:Depends} +Breaks: sane-utils (<<1.0.27-1~) +Description: API library for scanners -- documentation and support files + SANE stands for "Scanner Access Now Easy" and is an application + programming interface (API) that provides standardized access to any + raster image scanner hardware (flatbed scanner, hand-held scanner, + video- and still-cameras, frame-grabbers, etc.). The SANE standard is + free and its discussion and development are open to everybody. The + current source code is written to support several operating systems, + including GNU/Linux, OS/2, Win32 and various Unices and is available + under the GNU General Public License (commercial applications and + backends are welcome, too, however). + . + This package includes documentation for libsane, such as the man pages + and list of supported scanners, and support files (i18n data). + +Package: libsane1 +Section: libs +Architecture: any +Multi-Arch: same +Breaks: libsane (<< 1.0.29-1~) +Replaces: libsane (<< 1.0.29-1~) +Provides: libsane (= ${binary:Version}) +Depends: + acl [linux-any], + adduser, + libsane-common (= ${source:Version}), + udev [linux-any], + ${misc:Depends}, + ${shlibs:Depends} +Recommends: + sane-utils (>= ${binary:Version}), + ipp-usb +Suggests: avahi-daemon, hplip +Description: API library for scanners + SANE stands for "Scanner Access Now Easy" and is an application + programming interface (API) that provides standardized access to any + raster image scanner hardware (flatbed scanner, hand-held scanner, + video- and still-cameras, frame-grabbers, etc.). The SANE standard is + free and its discussion and development are open to everybody. The + current source code is written to support several operating systems, + including GNU/Linux, OS/2, Win32 and various Unices and is available + under the GNU General Public License (commercial applications and + backends are welcome, too, however). + . + Graphical frontends for sane are available in the packages sane and + xsane. Command line frontend scanimage, saned and sane-find-scanner are + available in the sane-utils package. + +Package: libsane-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: + libsane1 (= ${binary:Version}), + ${misc:Depends} +Description: API development library for scanners [development files] + SANE stands for "Scanner Access Now Easy" and is an application + programming interface (API) that provides standardized access to any + raster image scanner hardware (flatbed scanner, hand-held scanner, + video- and still-cameras, frame-grabbers, etc.). The SANE standard is + free and its discussion and development are open to everybody. The + current source code is written to support several operating systems, + including GNU/Linux, OS/2, Win32 and various Unices and is available + under the GNU General Public License (commercial applications and + backends are welcome, too, however). + . + This package contains the files needed to build your applications + using SANE. + +Package: libsane +Architecture: any +Multi-Arch: same +Section: oldlibs +Depends: + libsane1 (>= ${source:Version}), + ${misc:Depends} +Description: API library for scanners [transitional package] + SANE stands for "Scanner Access Now Easy" and is an application + programming interface (API) that provides standardized access to any + raster image scanner hardware (flatbed scanner, hand-held scanner, + video- and still-cameras, frame-grabbers, etc.). The SANE standard is + free and its discussion and development are open to everybody. The + current source code is written to support several operating systems, + including GNU/Linux, OS/2, Win32 and various Unices and is available + under the GNU General Public License (commercial applications and + backends are welcome, too, however). + . + This package is here to ensure smooth upgrades. It can be removed when + you see fit. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..6d5dc77 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,1416 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: sane-backends +Upstream-Contact: +Source: ftp://ftp.sane-project.org/pub/sane/ + +Files: * +Copyright: 1997-2014 Andreas Beck + 1997-2014 David Mosberger +License: GPL-2+ with sane exception + +Files: debian/* +Copyright: 1997-2002 Kevin Dalley <kevind@rahul.net> + 2002-2011 Julien BLACHE <jblache@debian.org> + 2002-2006 Aurélien Jarno <aurel32@debian.org> + 2013 Mark Buda <hermit@acm.org> + 2018 Laurent Bigonville <bigon@debian.org> + 2019 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> + 2014-2020 Jörg Frings-Fürst <debian@jff.email> +License: GPL-2+ with sane exception + +Files: backend/abaton.* +Copyright: 1998-1998 David Huggins-Daines +License: GPL-2+ with sane exception + +Files: backend/agfafocus.* +Copyright: 1997 Ingo Schneider + 1998 Karl Anders Øygard +License: GPL-2+ + +Files: backend/apple.* +Copyright: 1998 Milon Firikis +License: GPL-2+ with sane exception + +Files: backend/artec.* + backend/qcam.* + backend/dll.* + include/sane/sanei_scsi.h + include/sane/sanei_wire.h + sanei/sanei_DomainOS.c + sanei/sanei_codec_ascii.c + sanei/sanei_codec_bin.c + sanei/sanei_config2.c + sanei/sanei_net.c + sanei/sanei_wire.c +Copyright: 1996-1997 David Mosberger-Tang +License: GPL-2+ with sane exception + +Files: backend/artec_eplus48u.* +Copyright: 2002 Michael Herder <crapsite@gmx.net> +License: GPL-2+ with sane exception + +Files: backend/as6e.* +Copyright: 2000 Eugene S. Weiss +License: GPL-2+ with sane exception + +Files: backend/avision.* +Copyright: 1999-2015 Rene Rebe <rene@exactcode.de> + 1999-2001 Meino Christian Cramer <mccramer@s.netic.de> + 2002 Jose Paulo Moitinho de Almeida <moitinho@civil.ist.utl.pt> + 2010-2011 Mike Kelly <mike@piratehaven.org> +License: GPL-2+ with sane exception + +Files: backend/bh.* +Copyright: 1999-2000 Tom Martone +License: GPL-2+ with sane exception + +Files: backend/canon-scsi.c + backend/canon.* +Copyright: 1997 BYTEC GmbH Germany +License: GPL-2+ with sane exception + +Files: backend/canon630u.c +Copyright: 2002 Nathan Rutman <nathan@gordian.com> + 2001 Marcio Luis Teixeira + 1996-1997 Andreas Beck + 2000-2001 Michael Herder <crapsite@gmx.net> + 2001 Henning Meier-Geinitz <henning@meier-geinitz.de> +License: GPL-2+ with sane exception + +Files: backend/canon_dr.* + backend/cardscan.* + include/sane/sanei_magic.h + sanei/sanei_magic.c +Copyright: 2007-2016 m. allan noah +License: GPL-2+ with sane exception + +Files: backend/canon_pp-*.* + backend/canon_pp.* +Copyright: 2001-2002 Matthew C. Duggan + 2001-2002 Simon Krix +License: GPL-2+ with sane exception + +Files: backend/coolscan2.* +Copyright: 2001-2002 András Major <andras@users.sourceforge.net> +License: GPL-2+ with sane exception + +Files: backend/coolscan3.* + include/sane/sanei_tcp.h + include/sane/sanei_udp.h + sanei/sanei_tcp.c + sanei/sanei_udp.c +Copyright: 2006-2008 Tower Technologies <a.zummo@towertech.it>> +License: GPL-2+ with sane exception + +Files: backend/dc210.* + backend/dc240.* +Copyright: 1998 Brian J. Murrell +License: GPL-2+ with sane exception + +Files: backend/dc25.* +Copyright: 1998 Peter Fales +License: GPL-2+ with sane exception + +Files: backend/dell1600n_net.* +Copyright: 2006 Jon Chambers <jon@jon.demon.co.uk> +License: GPL-2+ with sane exception + +Files: backend/dmc.* +Copyright: 1998 David F. Skoll +License: GPL-2+ with sane exception + +Files: backend/escl/* +Copyright: 2019 Touboul Nathane + 2019-2020 Thierry HUCHARD <thierry@ordissimo.com> +License: GPL-2+ with sane exception + +Files: backend/epjitsu*.* +Copyright: 2007-2015 m. allan noah <kitno455@gmail.com> + 2009 Richard Goedeken <richard@fascinationsoftware.com> +License: GPL-2+ with sane exception + +Files: backend/epson.* +Copyright: 1997 Hypercore Software Design, Ltd. + 1998-1999 Christian Bucher <bucher@vernetzt.at> + 1998-1999 Kling & Hautzinger GmbH + 1999 Norihiko Sawa <sawa@yb3.so-net.ne.jp> + 2000 Mike Porter <mike@udel.edu> + 2003 EPSON KOWA Corporation + 1999-2005 Karl Heinz Kremer <khk@khk.net> + 2006 Claus Boje <claus@egehuset.dk> +License: GPL-2+ with sane exception + +Files: backend/epson2-cct.* +Copyright: 2001-2009 SEIKO EPSON Corporation + 2009 Tower Technologies +License: GPL-2+ + +Files: backend/epson2-commands.* + backend/epson2-io.* + backend/epson2-ops.* + backend/epson2_net.* + backend/epson2.* + backend/epsonds*.* +Copyright: 2006-2015 Tower Technologies +License: GPL-2+ + +Files: backend/fujitsu.* +Copyright: 2000 Randolph Bentson + 2001 Frederik Ramm + 2001-2004 Oliver Schirrmeister + 2003-2016 m. allan noah +License: GPL-2+ with sane exception + +Files: backend/genesys/genesys.h +Copyright: 2003-2004 Henning Meier-Geinitz <henning@meier-geinitz.de> + 2004-2005 Gerhard Jaeger <gerhard@gjaeger.de> + 2004-2013 Stéphane Voltz <stef.dev@free.fr> + 2005-2009 Pierre Willenbrock <pierre@pirsoft.dnsalias.org> +License: GPL-2+ with sane exception + +Files: backend/genesys/gl124.* + backend/genesys/gl841.h + backend/genesys/gl843.* + backend/genesys/gl846.* + backend/genesys/gl847.* + backend/rts88*.* + backend/umax_pp*.* +Copyright: 2010-2016 Stéphane Voltz <stef.dev@free.fr> +License: GPL-2+ with sane exception + +Files: backend/genesys/error.cpp + backend/genesys/serialize.h + backend/genesys/error.h + backend/genesys/value_filter.h + backend/genesys/tables_memory_layout.cpp + backend/genesys/gl842.cpp +Copyright: 2019-2020 Povilas Kanapickas <povilas@radix.lt> +License: GPL-2+ with sane exception + +Files: backend/genesys/gl646.h +Copyright: 2003-2004 Henning Meier-Geinitz <henning@meier-geinitz.de> + 2004 Gerhard Jaeger <gerhard@gjaeger.de> + 2004-2013 Stéphane Voltz <stef.dev@free.fr> + 2005-2009 Pierre Willenbrock <pierre@pirsoft.dnsalias.org> +License: GPL-2+ with sane exception + +Files: backend/genesys/low.h +Copyright: 2003 Oliver Rauch + 2003-2004 Henning Meier-Geinitz <henning@meier-geinitz.de> + 2004-2005 Gerhard Jaeger <gerhard@gjaeger.de> + 2004-2013 Stéphane Voltz <stef.dev@free.fr> + 2005-2009 Pierre Willenbrock <pierre@pirsoft.dnsalias.org> + 2006 Laurent Charpentier <laurent_pubs@yahoo.com> +License: GPL-2+ with sane exception + +Files: backend/gphoto2.* +Copyright: 2001 Peter Fales <gphoto2-devel@fales-lorenz.net> +License: GPL-2+ with sane exception + +Files: backend/gt68xx.c + backend/gt68xx_high.c +Copyright: 2002 Sergey Vlasov <vsu@altlinux.ru> + 2002-2007 Henning Geinitz <sane@geinitz.org> + 2009 Stéphane Voltz <stef.dev@free.fr> +License: GPL-2+ with sane exception + +Files: backend/gt68xx.h +Copyright: 2002 Sergey Vlasov <vsu@altlinux.ru> +License: GPL-2+ with sane exception + +Files: backend/gt68xx_devices.* + backend/gt68xx_generic.c + backend/gt68xx_gt6801.c + backend/gt68xx_gt6816.c + backend/gt68xx_high.h + backend/gt68xx_low.* + backend/gt68xx_mid.c +Copyright: 2002 Sergey Vlasov <vsu@altlinux.ru> + 2002-2007 Henning Geinitz <sane@geinitz.org> +License: GPL-2+ with sane exception + +Files: backend/gt68xx_generic.h + backend/gt68xx_gt6801.h + backend/gt68xx_gt6816.h + backend/gt68xx_mid.h + backend/gt68xx_shm_channel.* +Copyright: 2002 Sergey Vlasov <vsu@altlinux.ru> +License: GPL-2+ with sane exception + +Files: backend/hp-*.* + backend/hp.* +Copyright: 1997 Geoffrey T. Dairiki +License: GPL-2+ with sane exception + +Files: backend/hp3900*.* +Copyright: 2005-2008 Jonathan Bravo Lopez <jkdsoft@gmail.com> +License: GPL-2+ with sane exception + +Files: backend/hp4200*.* +Copyright: 2000 Adrian Perez Jorge +License: GPL-2+ with sane exception + +Files: backend/hp5400.* + backend/hp5400_debug.* + backend/hp5400_sane.* + backend/hp5400_xfer.* +Copyright: 2003 Martijn van Oosterhout <kleptog@svana.org> + 2003 Thomas Soumarmon <thomas.soumarmon@cogitae.net> + 2020 2020 Ralph Little <skelband@gmail.com> +License: GPL-2+ with sane exception + +Files: backend/hp5400_internal.* + backend/hp5400_sanei.* +Copyright: 2003 Martijn van Oosterhout <kleptog@svana.org> + 2003 Thomas Soumarmon <thomas.soumarmon@cogitae.net> + 2003 Henning Meier-Geinitz, <henning@meier-geinitz.de> + 2020 Ralph Little <skelband@gmail.com> +License: GPL-2+ with sane exception + +Files: backend/hp5590*.* +Copyright: 2007 Ilia Sotnikov <hostcc@gmail.com> +License: GPL-2+ with sane exception + +Files: backend/hpljm1005.c +Copyright: 2007-2008 Philippe Rétornaz +License: GPL-2+ with sane exception + +Files: backend/hpsj5s*.* +Copyright: 2002 Max Vorobiev <pcwizard@telecoms.sins.ru> +License: GPL-2+ with sane exception + +Files: backend/hs2p*.* +Copyright: 2007 Jeremy Johnson +License: GPL-2+ with sane exception + +Files: backend/kodakaio.* +Copyright: 2011-2017 Paul Newall +License: GPL-2+ + +Files: backend/kvs1025.c + backend/kvs20xx*.* + backend/kvs40xx.c + backend/kvs40xx_*.c +Copyright: 2008 Panasonic Russia Ltd. + 2010-2011 m. allan noah +License: GPL-2+ + +Files: backend/kvs1025.h + backend/kvs1025_*.* + backend/kvs40xx.h +Copyright: 2008 Panasonic Russia Ltd. +License: GPL-2+ + +Files: backend/leo.* + backend/matsushita.* + backend/sceptre.* + backend/teco1.* + backend/teco3.* + backend/umax-usb.c +Copyright: 2002-2004 Frank Zago <sane@zago.net> +License: GPL-2+ with sane exception + +Files: backend/lexmark.* +Copyright: 2003-2004 Lexmark International, Inc. + 2005 Fred Odendaal + 2006-2013 Stéphane Voltz <stef.dev@free.fr> + 2010 Torsten Houwaart <ToHo@gmx.de> +License: GPL-2+ with sane exception + +Files: backend/lexmark_low.c +Copyright: 2005 Fred Odendaal + 2006-2013 Stéphane Voltz <stef.dev@free.fr> + 2010 Torsten Houwaart <ToHo@gmx.de> +License: GPL-2+ with sane exception + +Files: backend/lexmark_models.c + backend/lexmark_sensors.c +Copyright: 2006-2013 Stéphane Voltz <stef.dev@free.fr> + 2010 Torsten Houwaart <ToHo@gmx.de> +License: GPL-2+ with sane exception + +Files: backend/lm9830.h +Copyright: 2001 Nathan Rutman <nathan@gordian.com> +License: GPL-2+ + +Files: backend/ma1509.* + backend/test-picture.c + backend/test.* +Copyright: 2003 Henning Meier-Geinitz <henning@meier-geinitz.de>. +License: GPL-2+ with sane exception + +Files: backend/magicolor.* +Copyright: 2010 Reinhold Kainhofer <reinhold@kainhofer.com> +License: GPL-2+ + +Files: backend/microtek.* +Copyright: 2002 Matthew Marjanovic +License: GPL-2+ with sane exception + +Files: backend/microtek2.* +Copyright: 1998-1999 Bernd Schroeder + 2000-2001 Karsten Festag +License: GPL-2+ with sane exception + +Files: backend/mustek.c +Copyright: 1996-1997 David Mosberger-Tang + 1996-1997 Andreas Czechanowski + 1998 Andreas Bolsch + 2000-2005 Henning Meier-Geinitz + 2003 James Perry +License: GPL-2+ with sane exception + +Files: backend/mustek.h +Copyright: 1996-1997 David Mosberger-Tang + 1998 Andreas Bolsch + 2000-2005 Henning Meier-Geinitz +License: GPL-2+ with sane exception + +Files: backend/mustek_pp.* + backend/mustek_pp_ccd300.* + backend/mustek_pp_null.* + include/sane/sanei_auth.h + include/sane/sanei_pa4s2.h + sanei/sanei_auth.c +Copyright: 2000-2003 Jochen Eisinger <jochen.eisinger@gmx.net> +License: GPL-2+ with sane exception + +Files: backend/mustek_pp_cis.* +Copyright: 2001-2003 Eddy De Greef <eddy_de_greef@scarlet.be> +License: GPL-2+ with sane exception + +Files: backend/mustek_scsi_pp.* +Copyright: 2003 James Perry +License: GPL-2+ with sane exception + +Files: backend/mustek_usb.* + backend/mustek_usb_*.* + backend/mustek_usb2.* +Copyright: 2000-2005 Mustek + 2001-2005 Henning Meier-Geinitz +License: GPL-2+ with sane exception + +Files: backend/mustek_usb2_*.* +Copyright: 2000-2005 Mustek +License: GPL-2+ with sane exception + +Files: backend/nec.* +Copyright: 2000-2001 Kazuya Fukuda +License: GPL-2+ with sane exception + +Files: backend/net.* +Copyright: 1997 David Mosberger-Tang + 2003-2008 Julien BLACHE <jb@jblache.org> +License: GPL-2+ with sane exception + +Files: backend/niash.* +Copyright: 2001 Bertrik Sikken <bertrik@zonnet.nl> +License: GPL-2+ + +Files: backend/p5*.* +Copyright: 2009-12 Stéphane Voltz <stef.dev@free.fr> +License: GPL-2+ + +Files: backend/pie*.* +Copyright: 2000 Simon Munton + 2012-2015 Jan Vleeshouwers, Michael Rickmann, Klaus Kaempf +License: GPL-2+ with sane exception + +Files: backend/pint.c +Copyright: 1997 Gordon Matzigkeit + 1997 David Mosberger-Tang +License: GPL-2+ with sane exception + +Files: backend/pint.h +Copyright: 1997 Gordon Matzigkeit +License: GPL-2+ with sane exception + +Files: backend/pixma/pixma*.* +Copyright: 2007-2008 Nicolas Martin, <nicols-guest@alioth.debian.org> + 2006-2007 Wittawat Yamwong <wittawat@web.de> + 2011-2020 Rolf Bensch <rolf@bensch-online.de> +License: GPL-2+ with sane exception + +Files: backend/pixma/pixma_bjnp*.* +Copyright: 2008-2012 Louis Lagendijk +License: GPL-2+ with sane exception + +Files: backend/pixma/pixma_common.h + backend/pixma/pixma_io_sanei.c + backend/pixma/pixma_mp750.c +Copyright: 2006-2007 Wittawat Yamwong <wittawat@web.de> + 2011-2016 Rolf Bensch <rolf@bensch-online.de> +License: GPL-2+ with sane exception + +Files: backend/pixma/pixma_io.h + backend/pixma/pixma_rename.h +Copyright: 2006-2007 Wittawat Yamwong <wittawat@web.de> +License: GPL-2+ with sane exception + +Files: backend/plustek-pp.h + backend/plustek.h +Copyright: 1997 Hypercore Software Design, Ltd. + 2001-2013 Gerhard Jaeger <gerhard@gjaeger.de> +License: GPL-2+ with sane exception + +Files: backend/plustek-pp_dac.c + backend/plustek-pp_detect.c + backend/plustek-pp_genericio.c + backend/plustek-pp_hwdefs.h + backend/plustek-pp_image.c + backend/plustek-pp_io.c + backend/plustek-pp_map.c + backend/plustek-pp_misc.c + backend/plustek-pp_models.c + backend/plustek-pp_motor.c + backend/plustek-pp_p12.c + backend/plustek-pp_p12ccd.c + backend/plustek-pp_p48xx.c + backend/plustek-pp_p9636.c + backend/plustek-pp_procs.h + backend/plustek-pp_ptdrv.c + backend/plustek-pp_scandata.h + backend/plustek-pp_tpa.c + backend/plustek-pp_wrapper.c + backend/plustek-usb.* + backend/plustek-usbcal.c + backend/plustek-usbdevs.c + backend/plustek-usbhw.c + backend/plustek-usbimg.c + backend/plustek-usbio.c + backend/plustek-usbmap.c + backend/plustek-usbscan.c + backend/plustek-usbshading.c +Copyright: 1998 Plustek Inc. + 2000-2013 Gerhard Jaeger <gerhard@gjaeger.de> +License: GPL-2+ with sane exception + +Files: backend/plustek-pp_dbg.h + backend/plustek-pp_procfs.c + backend/plustek-pp_scale.c + backend/plustek-pp_scan.h + backend/plustek-pp_sysdep.h + backend/plustek-pp_types.h + backend/plustek-usbcalfile.c + backend/plustek.c + backend/u12*.* + include/sane/sanei_access.h + include/sane/sanei_lm983x.h + include/sane/sanei_pp.h + sanei/sanei_access.c + sanei/sanei_lm983x.c + sanei/sanei_pp.c +Copyright: 2000-2013 Gerhard Jaeger <gerhard@gjaeger.de> +License: GPL-2+ with sane exception + +Files: backend/pnm.c +Copyright: 1996-1997 Andreas Beck + 2000-2001 Michael Herder <crapsite@gmx.net> + 2001-2002 Henning Meier-Geinitz <henning@meier-geinitz.de> + 2008 Stéphane Voltz <stef.dev@free.fr> +License: GPL-2+ with sane exception + +Files: backend/ricoh*.* +Copyright: 1998 F.W. Dillema <dillema@acm.org> +License: GPL-2+ with sane exception + +Files: backend/ricoh2.c + backend/ricoh2_buffer.c +Copyright: 2018 Stanislav Yuzvinsky +License: GPL-2+ with sane exception + +Files: backend/s9036*.* +Copyright: 1997 Ingo Schneider +License: GPL-2+ with sane exception + +Files: backend/sane_strstatus.c + include/sane/sane.h + include/sane/sanei_codec_ascii.h + include/sane/sanei_codec_bin.h + include/sane/sanei_net.h + include/sane/saneopts.h + sanei/sanei_constrain_value.c + sanei/sanei_init_debug.c +Copyright: 1996-1999 David Mosberger-Tang + 1996-1999 Andreas Beck +License: GPL-2+ with sane exception + +Files: backend/sharp.* +Copyright: 1998-1999 Kazuya Fukuda + 1998-1999 Abel Deuring +License: GPL-2+ with sane exception + +Files: backend/sm3600*.* +Copyright: 2001 Marian Eichholz +License: GPL-2+ with sane exception + +Files: backend/sm3840*.* +Copyright: 2005-2007 Earle F. Philhower, III +License: GPL-2+ with sane exception + +Files: backend/snapscan-data.c +Copyright: 2006 Oliver Schwartz +License: GPL-2+ with sane exception + +Files: backend/snapscan-mutex.c +Copyright: 2000-2004 Henrik Johansson + 2000-2004 Oliver Schwartz +License: GPL-2+ with sane exception + +Files: backend/snapscan-options.c +Copyright: 1997-2013 Franck Schnefra + 1997-2013 Michel Roelofs + 1997-2013 Emmanuel Blot + 1997-2013 Mikko Tyolajarvi + 1997-2013 David Mosberger-Tang + 1997-2013 Wolfgang Goeller + 1997-2013 Petter Reinholdtsen + 1997-2013 Gary Plewa + 1997-2013 Sebastien Sable + 1997-2013 Mikael Magnusson + 1997-2013 Andrew Goodbody + 1997-2013 Oliver Schwartz + 1997-2013 Kevin Charter +License: GPL-2+ with sane exception + +Files: backend/snapscan-scsi.c +Copyright: 1997-2013 Franck Schnefra + 1997-2013 Michel Roelofs + 1997-2013 Emmanuel Blot + 1997-2013 Mikko Tyolajarvi + 1997-2013 David Mosberger-Tang + 1997-2013 Wolfgang Goeller + 1997-2013 Petter Reinholdtsen + 1997-2013 Gary Plewa + 1997-2013 Sebastien Sable + 1997-2013 Mikael Magnusson + 1997-2013 Max Ushakov + 1997-2013 Andrew Goodbody + 1997-2013 Oliver Schwartz + 1997-2013 Kevin Charter +License: GPL-2+ with sane exception + +Files: backend/snapscan-sources.c +Copyright: 1997-2013 Franck Schnefra + 1997-2013 Michel Roelofs + 1997-2013 Emmanuel Blot + 1997-2013 Mikko Tyolajarvi + 1997-2013 David Mosberger-Tang + 1997-2013 Wolfgang Goeller + 1997-2013 Petter Reinholdtsen + 1997-2013 Gary Plewa + 1997-2013 Sebastien Sable + 1997-2013 Max Ushakov + 1997-2013 Andrew Goodbody + 1997-2013 Oliver Schwartz + 1997-2013 Kevin Charter +License: GPL-2+ with sane exception + +Files: backend/snapscan-sources.h + backend/snapscan-usb.* +Copyright: 2000 Henrik Johansson +License: GPL-2+ with sane exception + +Files: backend/snapscan.c +Copyright: 1997-2013 Franck Schnefra + 1997-2013 Michel Roelofs + 1997-2013 Emmanuel Blot + 1997-2013 Mikko Tyolajarvi + 1997-2013 David Mosberger-Tang + 1997-2013 Wolfgang Goeller + 1997-2013 Simon Munton + 1997-2013 Petter Reinholdtsen + 1997-2013 Gary Plewa + 1997-2013 Sebastien Sable + 1997-2013 Mikael Magnusson + 1997-2013 Max Ushakov + 1997-2013 Andrew Goodbody + 1997-2013 Oliver Schwartz + 1997-2013 Kevin Charter +License: GPL-2+ with sane exception + +Files: backend/snapscan.h +Copyright: 1997-2013 Franck Schnefra + 1997-2013 Michel Roelofs + 1997-2013 Emmanuel Blot + 1997-2013 Mikko Tyolajarvi + 1997-2013 David Mosberger-Tang + 1997-2013 Wolfgang Goeller + 1997-2013 Petter Reinholdtsen + 1997-2013 Gary Plewa + 1997-2013 Sebastien Sable + 1997-2013 Mikael Magnusson + 1997-2013 Andrew Goodbody + 1997-2013 Oliver Schwartz + 1997-2013 Kevin Charter +License: GPL-2+ with sane exception + +Files: backend/st400.* +Copyright: 1999-2000 Ingo Wilken <Ingo.Wilken@informatik.uni-oldenburg.de> +License: GPL-2+ with sane exception + +Files: backend/stv680.* +Copyright: 2004-2006 Gerard Klaver <gerard@gkall.hobby.nl> +License: GPL-2 + +Files: backend/tamarack.* +Copyright: 1996-1997 David Mosberger-Tang + 1997 R.E.Wolff@BitWizard.nl +License: GPL-2+ + +Files: backend/teco2.* +Copyright: 2002-2003 Frank Zago <sane@zago.net> + 2003-2008 Gerard Klaver <gerard@gkall.hobby.nl> +License: GPL-2+ with sane exception + +Files: backend/umax-scanner.* + backend/umax-uc*.c + backend/umax-ug*.c + backend/umax.* + tools/gamma4scanimage.c +Copyright: 1997-2004 Oliver Rauch +License: GPL-2+ with sane exception + +Files: backend/umax-scsidef.h +Copyright: 1996-1997 Michael K. Johnson + 1997-2002 Oliver Rauch +License: GPL-2+ with sane exception + +Files: backend/umax1220u-common.c +Copyright: 1999 Paul Mackerras + 2000 Adrian Perez Jorge + 2001 Frank Zago + 2001 Marcio Teixeira + 2006 Patrick Lessard +License: GPL-2+ with sane exception + +Files: backend/umax1220u.c +Copyright: 2001 Marcio Luis Teixeira + 1996-1997 Andreas Beck + 2000-2001 Michael Herder <crapsite@gmx.net> + 2001 Henning Meier-Geinitz <henning@meier-geinitz.de> + 2006 Patrick Lessard +License: GPL-2+ with sane exception + +Files: backend/v4l.* +Copyright: 1999 Juergen G. Schimmer + 2002-2004 Henning Meier-Geinitz +License: GPL-2+ with sane exception + +Files: backend/xerox_mfp-tcp.c +Copyright: 2010 Alexander Kuznetsov <acca@cpan.org> +License: GPL-2+ with sane exception + +Files: backend/xerox_mfp-usb.c + backend/xerox_mfp.* +Copyright: 2008-2016 ABC <abc@telekom.ru> +License: GPL-2+ with sane exception + +Files: doc/descriptions/epson2.desc + doc/descriptions/epsonds.desc +Copyright: 2009-2015 Alessandro Zummo +License: GPL-2 + +Files: doc/descriptions/magicolor.desc +Copyright: 2010-2011 Reinhold Kainhofer +License: GPL-2 + +Files: doc/descriptions-external/epkowa.desc +Copyright: 2010-2011 Reinhold Kainhofer + 2004-2015 Olaf Meeuwissen +License: GPL-2+ + +Files: doc/descriptions-external/utsushi.desc +Copyright: 2004-2019 Olaf Meeuwissen +License: GPL-3+ + +Files: po/Makevars +Copyright: 2016-2019 Olaf Meeuwissen and the SANE developers +License: GPL-2+ with sane exception + +Files: po/he.po + po/ca@valencia.po + po/ca.po +Copyright: 2018-2020 The SANE developers +License: GPL-2+ with sane exception + +Files: po/de.po +Copyright: 2002-2020 SANE Project +License: GPL-2+ with sane exception + +Files: po/fr.po +Copyright: 2002 Frank Zago <fzago@austin.rr.com> + 2003-2010 Yann E. MORIN <yann.morin.1998@anciens.enib.fr> +License: GFDL-1.1 + +Files: frontend/saned.c +Copyright: 1997 Andreas Beck + 2001-2004 Henning Meier-Geinitz + 2003-2008 Julien BLACHE <jb@jblache.org>2010-2011 Reinhold Kainhofer +License: GPL-2+ + +Files: frontend/scanimage.c +Copyright: 1996-1998 Andreas Beck + 1996-1998 David Mosberger + 2015 Rolf Bensch +License: GPL-2+ + +Files: frontend/stiff.c +Copyright: 2000 Peter Kirchgessner + 2002 Oliver Rauch + 2017 Aaron Muir Hamilton <aaron@correspondwith.me> +License: GPL-2+ + +Files: frontend/stiff.h +Copyright: 2000 Peter Kirchgessner +License: GPL-2+ + +Files: frontend/sicc.* +Copyright: 2017 Aaron Muir Hamilton <aaron@correspondwith.me> +License: GPL-2+ + +Files: frontend/test.c +Copyright: 1997 Andreas Beck +License: GPL-2+ + +Files: frontend/tstbackend.c +Copyright: 2002 Frank Zago <sane@zago.net> + 2013 Stéphane Voltz <stef.dev@free.fr> +License: GPL-2+ + +Files: include/sane/sanei.h +Copyright: 1996 David Mosberger-Tang + 1996 Andreas Beck + 2002-2003 Henning Meier-Geinitz +License: GPL-2+ with sane exception + +Files: include/sane/sanei_ab306.h +Copyright: 1996 Andreas Czechanowski +License: GPL-2+ with sane exception + +Files: include/sane/sanei_cderror.h + include/sane/sanei_jinclude.h + include/sane/sanei_jpeg.h +Copyright: 1991-1994 Thomas G. Lane +License: GPL-2+ with sane exception + +Files: include/sane/sanei_config.h + japi/* + sanei/sanei_config.c +Copyright: 1997 Jeffrey S. Freedman +License: GPL-2+ with sane exception + +Files: include/sane/sanei_pio.h + sanei/sanei_pio.c +Copyright: 1998 Christian Bucher + 1998 Kling & Hautzinger GmbH +License: GPL-2+ with sane exception + +Files: include/sane/sanei_pv8630.h + sanei/sanei_pv8630.c +Copyright: 2000 Adrian Perez Jorge + 2001 Frank Zago + 2001 Marcio Teixeira +License: GPL-2+ with sane exception + +Files: include/sane/sanei_thread.h +Copyright: 1998-2001 Yuri Dario + 2002-2003 Henning Meier-Geinitz + 2003-2004 Gerhard Jaeger +License: GPL-2+ with sane exception + +Files: include/sane/sanei_usb.h +Copyright: 2001-2002 Henning Meier-Geinitz + 2003-2005 Rene Rebe + 2008 m. allan noah + 2011 Reinhold Kainhofer +License: GPL-2+ with sane exception + +Files: lib/snprintf.c +Copyright: 1988-1997 Patrick Powell <papowell@sdsu.edu> +License: Artistic + +Files: lib/getopt.c + lib/getopt1.c + lib/md5.c + lib/sigprocmask.c + lib/strcasestr.c + lib/strdup.c + lib/strndup.c + lib/strsep.c + lib/usleep.c +Copyright: 1987-2002 Free Software Foundation +License: LGPL-2.1+ + +Files: sanei/sanei_ab306.c +Copyright: 1997 Andreas Czechanowski + 1997 David Mosberger +License: GPL-2+ with sane exception + +Files: sanei/sanei_pa4s2.c +Copyright: 2000-2003 Jochen Eisinger <jochen.eisinger@gmx.net> + 2003 James Perry +License: GPL-2+ with sane exception + +Files: sanei/sanei_scsi.c +Copyright: 1996-1997 David Mosberger-Tang + 2003 Frank Zago +License: GPL-2+ with sane exception + +Files: sanei/sanei_thread.c +Copyright: 1998-2001 Yuri Dario + 2003-2004 Gerhard Jaeger +License: GPL-2+ with sane exception + +Files: sanei/sanei_usb.c +Copyright: 2001-2005 Henning Meier-Geinitz + 2001 Frank Zago + 2003 Rene Rebe + 2005 Paul Smedley <paul@smedley.info> + 2008 m. allan noah + 2009 Julien BLACHE <jb@jblache.org> + 2011 Reinhold Kainhofer <reinhold@kainhofer.com> +License: GPL-2+ with sane exception + +Files: testsuite/backend/genesys/* +Copyright: 2019 Povilas Kanapickas <povilas@radix.lt> +License: GPL-2+ with sane exception + +Files: testsuite/backend/Makefile.am + testsuite/backend/genesys/Makefile.am +Copyright: 2019 Sane Developers +License: GPL-2+ with sane exception + +Files: tools/create-release.sh + tools/create-changelog.sh + tools/update-upstreams.sh +Copyright: 2017-2019 Olaf Meeuwissen +License: GPL-3+ + +Files: tools/RenSaneDlls.cmd +Copyright: 2004-2005 Franz Bakan +License: GPL-2+ + +Files: tools/check-usb-chip.c +Copyright: 2003-2005 Henning Meier-Geinitz <henning@meier-geinitz.de> + 2003 Gerhard Jaeger <gerhard@gjaeger.de> + 2003 Gerard Klaver <gerard@gkall.hobby.nl> +License: GPL-2+ with sane exception + +Files: tools/mustek600iin-off.c +Copyright: 1997-1999 Andreas Czechanowski +License: GPL-2+ + +Files: tools/sane-desc.c +Copyright: 2002-2006 Henning Meier-Geinitz <henning@meier-geinitz.de> + 2004 Jose Gato <jgato@gsyc.escet.urjc.es> + 2006 Mattias Ellert <mattias.ellert@tsl.uu.se> + 2009 Dr. Ing. Dieter Jurzitza <dieter.jurzitza@t-online.de> + 2013 Tom Gundersen <teg@jklm.no> +License: GPL-2+ + +Files: tools/sane-find-scanner.c +Copyright: 1997-2013 Oliver Rauch + 1997-2013 Henning Meier-Geinitz +License: GPL-2+ + +License: Artistic + The "Artistic License" + . + Preamble + . + The intent of this document is to state the conditions under which a + Package may be copied, such that the Copyright Holder maintains some + semblance of artistic control over the development of the package, + while giving the users of the package the right to use and distribute + the Package in a more-or-less customary fashion, plus the right to make + reasonable modifications. + . + Definitions: + . + "Package" refers to the collection of files distributed by the + Copyright Holder, and derivatives of that collection of files + created through textual modification. + . + "Standard Version" refers to such a Package if it has not been + modified, or has been modified in accordance with the wishes + of the Copyright Holder as specified below. + . + "Copyright Holder" is whoever is named in the copyright or + copyrights for the package. + . + "You" is you, if you are thinking about copying or distributing + this Package. + . + "Reasonable copying fee" is whatever you can justify on the + basis of media cost, duplication charges, time of people involved, + and so on. (You will not be required to justify it to the + Copyright Holder, but only to the computing community at large + as a market that must bear the fee.) + . + "Freely Available" means that no fee is charged for the item + itself, though there may be fees involved in handling the item. + It also means that recipients of the item may redistribute it + under the same conditions they received it. + . + 1. You may make and give away verbatim copies of the source form of the + Standard Version of this Package without restriction, provided that you + duplicate all of the original copyright notices and associated disclaimers. + . + 2. You may apply bug fixes, portability fixes and other modifications + derived from the Public Domain or from the Copyright Holder. A Package + modified in such a way shall still be considered the Standard Version. + . + 3. You may otherwise modify your copy of this Package in any way, provided + that you insert a prominent notice in each changed file stating how and + when you changed that file, and provided that you do at least ONE of the + following: + . + a) place your modifications in the Public Domain or otherwise make them + Freely Available, such as by posting said modifications to Usenet or + an equivalent medium, or placing the modifications on a major archive + site such as uunet.uu.net, or by allowing the Copyright Holder to include + your modifications in the Standard Version of the Package. + . + b) use the modified Package only within your corporation or organization. + . + c) rename any non-standard executables so the names do not conflict + with standard executables, which must also be provided, and provide + a separate manual page for each non-standard executable that clearly + documents how it differs from the Standard Version. + . + d) make other distribution arrangements with the Copyright Holder. + . + 4. You may distribute the programs of this Package in object code or + executable form, provided that you do at least ONE of the following: + . + a) distribute a Standard Version of the executables and library files, + together with instructions (in the manual page or equivalent) on where + to get the Standard Version. + . + b) accompany the distribution with the machine-readable source of + the Package with your modifications. + . + c) give non-standard executables non-standard names, and clearly + document the differences in manual pages (or equivalent), together + with instructions on where to get the Standard Version. + . + d) make other distribution arrangements with the Copyright Holder. + . + 5. You may charge a reasonable copying fee for any distribution of this + Package. You may charge any fee you choose for support of this + Package. You may not charge a fee for this Package itself. However, + you may distribute this Package in aggregate with other (possibly + commercial) programs as part of a larger (possibly commercial) software + distribution provided that you do not advertise this Package as a + product of your own. + . + 6. The name of the Copyright Holder may not be used to endorse or promote + products derived from this software without specific prior written permission. + . + 7. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +License: GPL-2+ with sane exception + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + . + The complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. + . + As a special exception, the authors of SANE give permission for + additional uses of the libraries contained in this release of SANE. + The exception is that, if you link a SANE library with other files + to produce an executable, this does not by itself cause the + resulting executable to be covered by the GNU General Public + License. Your use of that executable is in no way restricted on + account of linking the SANE library code into it. + This exception does not, however, invalidate any other reasons why + the executable file might be covered by the GNU General Public + License. + . + If you submit changes to SANE to the maintainers to be included in + a subsequent release, you agree by submitting the changes that + those changes may be distributed with this exception intact. + If you write modifications of your own for SANE, it is your choice + whether to permit this exception to apply to your modifications. + If you do not wish that, delete this exception notice. + +License: GPL-2+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + . + The complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. + +License: GPL-2 + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation version + 2 of the License. + . + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + . + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + +License: GPL-3+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/> + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + +License: LGPL-2.1+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU Lesser General Public License + version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". + +License: GFDL-1.1 + 0. PREAMBLE + . + The purpose of this License is to make a manual, textbook, or other written + document "free" in the sense of freedom: to assure everyone the effective + freedom to copy and redistribute it, with or without modifying it, either + commercially or noncommercially. Secondarily, this License preserves for + the author and publisher a way to get credit for their work, while not being + considered responsible for modifications made by others. + . + This License is a kind of "copyleft", which means that derivative works of + the document must themselves be free in the same sense. It complements the + GNU General Public License, which is a copyleft license designed for free + software. + . + We have designed this License in order to use it for manuals for free software, + because free software needs free documentation: a free program should come with + manuals providing the same freedoms that the software does. But this License is + not limited to software manuals; it can be used for any textual work, + regardless of subject matter or whether it is published as a printed book. We + recommend this License principally for works whose purpose is instruction or + reference. + . + 1. APPLICABILITY AND DEFINITIONS + . + This License applies to any manual or other work that contains a notice placed + by the copyright holder saying it can be distributed under the terms of this + License. The "Document", below, refers to any such manual or work. Any member + of the public is a licensee, and is addressed as "you". + . + A "Modified Version" of the Document means any work containing the Document or + a portion of it, either copied verbatim, or with modifications and/or + translated into another language. + . + A "Secondary Section" is a named appendix or a front-matter section of the + Document that deals exclusively with the relationship of the publishers or + authors of the Document to the Document's overall subject (or to related + matters) and contains nothing that could fall directly within that overall + subject. (For example, if the Document is in part a textbook of mathematics, + a Secondary Section may not explain any mathematics.) The relationship could + be a matter of historical connection with the subject or with related matters, + or of legal, commercial, philosophical, ethical or political position + regarding them. + . + The "Invariant Sections" are certain Secondary Sections whose titles are + designated, as being those of Invariant Sections, in the notice that says that + the Document is released under this License. + . + The "Cover Texts" are certain short passages of text that are listed, as + Front-Cover Texts or Back-Cover Texts, in the notice that says that the + Document is released under this License. + . + A "Transparent" copy of the Document means a machine-readable copy, + represented in a format whose specification is available to the general + public, whose contents can be viewed and edited directly and straightforwardly + with generic text editors or (for images composed of pixels) generic paint + programs or (for drawings) some widely available drawing editor, and that is + suitable for input to text formatters or for automatic translation to a variety + of formats suitable for input to text formatters. A copy made in an otherwise + Transparent file format whose markup has been designed to thwart or discourage + subsequent modification by readers is not Transparent. A copy that is not + "Transparent" is called "Opaque". + . + Examples of suitable formats for Transparent copies include plain ASCII + without markup, Texinfo input format, LaTeX input format, SGML or XML using a + publicly available DTD, and standard-conforming simple HTML designed for human + modification. Opaque formats include PostScript, PDF, proprietary formats that + can be read and edited only by proprietary word processors, SGML or XML for + which the DTD and/or processing tools are not generally available, and the + machine-generated HTML produced by some word processors for output purposes + only. + . + The "Title Page" means, for a printed book, the title page itself, plus such + following pages as are needed to hold, legibly, the material this License + requires to appear in the title page. For works in formats which do not have + any title page as such, "Title Page" means the text near the most prominent + appearance of the work's title, preceding the beginning of the body of the + text. + . + 2. VERBATIM COPYING + . + You may copy and distribute the Document in any medium, either commercially or + noncommercially, provided that this License, the copyright notices, and the + license notice saying this License applies to the Document are reproduced in + all copies, and that you add no other conditions whatsoever to those of this + License. You may not use technical measures to obstruct or control the reading + or further copying of the copies you make or distribute. However, you may + accept compensation in exchange for copies. If you distribute a large enough + number of copies you must also follow the conditions in section 3. + . + You may also lend copies, under the same conditions stated above, and you may + publicly display copies. + . + 3. COPYING IN QUANTITY + . + If you publish printed copies of the Document numbering more than 100, and the + Document's license notice requires Cover Texts, you must enclose the copies in + covers that carry, clearly and legibly, all these Cover Texts: Front-Cover + Texts on the front cover, and Back-Cover Texts on the back cover. Both covers + must also clearly and legibly identify you as the publisher of these copies. + The front cover must present the full title with all words of the title equally + prominent and visible. You may add other material on the covers in addition. + Copying with changes limited to the covers, as long as they preserve the title + of the Document and satisfy these conditions, can be treated as verbatim + copying in other respects. + . + If the required texts for either cover are too voluminous to fit legibly, you + should put the first ones listed (as many as fit reasonably) on the actual + cover, and continue the rest onto adjacent pages. + . + If you publish or distribute Opaque copies of the Document numbering more than + 100, you must either include a machine-readable Transparent copy along with + each Opaque copy, or state in or with each Opaque copy a publicly-accessible + computer-network location containing a complete Transparent copy of the + Document, free of added material, which the general network-using public has + access to download anonymously at no charge using public-standard network + protocols. If you use the latter option, you must take reasonably prudent + steps, when you begin distribution of Opaque copies in quantity, to ensure + that this Transparent copy will remain thus accessible at the stated location + until at least one year after the last time you distribute an Opaque copy + (directly or through your agents or retailers) of that edition to the public. + . + It is requested, but not required, that you contact the authors of the + Document well before redistributing any large number of copies, to give them + a chance to provide you with an updated version of the Document. + . + 4. MODIFICATIONS + . + You may copy and distribute a Modified Version of the Document under the + conditions of sections 2 and 3 above, provided that you release the Modified + Version under precisely this License, with the Modified Version filling the + role of the Document, thus licensing distribution and modification of the + Modified Version to whoever possesses a copy of it. In addition, you must + do these things in the Modified Version: + . + A. Use in the Title Page (and on the covers, if any) a title distinct from + that of the Document, and from those of previous versions (which should, if + there were any, be listed in the History section of the Document). You may + use the same title as a previous version if the original publisher of that + version gives permission. + B. List on the Title Page, as authors, one or more persons or entities + responsible for authorship of the modifications in the Modified Version, + together with at least five of the principal authors of the Document (all + of its principal authors, if it has less than five). + C. State on the Title page the name of the publisher of the Modified + Version, as the publisher. + D. Preserve all the copyright notices of the Document. + E. Add an appropriate copyright notice for your modifications adjacent to + the other copyright notices. + F. Include, immediately after the copyright notices, a license notice + giving the public permission to use the Modified Version under the terms + of this License, in the form shown in the Addendum below. + G. Preserve in that license notice the full lists of Invariant Sections + and required Cover Texts given in the Document's license notice. + H. Include an unaltered copy of this License. + I. Preserve the section entitled "History", and its title, and add to it + an item stating at least the title, year, new authors, and publisher of + the Modified Version as given on the Title Page. If there is no section + entitled "History" in the Document, create one stating the title, year, + authors, and publisher of the Document as given on its Title Page, then + add an item describing the Modified Version as stated in the previous + sentence. + J. Preserve the network location, if any, given in the Document for public + access to a Transparent copy of the Document, and likewise the network + locations given in the Document for previous versions it was based on. + These may be placed in the "History" section. You may omit a network + location for a work that was published at least four years before the + Document itself, or if the original publisher of the version it refers to + gives permission. + K. In any section entitled "Acknowledgements" or "Dedications", preserve + the section's title, and preserve in the section all the substance and + tone of each of the contributor acknowledgements and/or dedications given + therein. + L. Preserve all the Invariant Sections of the Document, unaltered in their + text and in their titles. Section numbers or the equivalent are not + considered part of the section titles. + M. Delete any section entitled "Endorsements". Such a section may not be + included in the Modified Version. + N. Do not retitle any existing section as "Endorsements" or to conflict + in title with any Invariant Section. + . + If the Modified Version includes new front-matter sections or appendices + that qualify as Secondary Sections and contain no material copied from the + Document, you may at your option designate some or all of these sections as + invariant. To do this, add their titles to the list of Invariant Sections in + the Modified Version's license notice. These titles must be distinct from + any other section titles. + . + You may add a section entitled "Endorsements", provided it contains nothing + but endorsements of your Modified Version by various parties--for example, + statements of peer review or that the text has been approved by an + organization as the authoritative definition of a standard. + . + You may add a passage of up to five words as a Front-Cover Text, and a passage + of up to 25 words as a Back-Cover Text, to the end of the list of Cover Texts + in the Modified Version. Only one passage of Front-Cover Text and one of + Back-Cover Text may be added by (or through arrangements made by) any one + entity. If the Document already includes a cover text for the same cover, + previously added by you or by arrangement made by the same entity you are + acting on behalf of, you may not add another; but you may replace the old + one, on explicit permission from the previous publisher that added the old + one. + . + The author(s) and publisher(s) of the Document do not by this License give + permission to use their names for publicity for or to assert or imply + endorsement of any Modified Version. + . + 5. COMBINING DOCUMENTS + . + You may combine the Document with other documents released under this License, + under the terms defined in section 4 above for modified versions, provided + that you include in the combination all of the Invariant Sections of all of + the original documents, unmodified, and list them all as Invariant Sections of + your combined work in its license notice. + . + The combined work need only contain one copy of this License, and multiple + identical Invariant Sections may be replaced with a single copy. If there + are multiple Invariant Sections with the same name but different contents, + make the title of each such section unique by adding at the end of it, in + parentheses, the name of the original author or publisher of that section + if known, or else a unique number. Make the same adjustment to the section + titles in the list of Invariant Sections in the license notice of the + combined work. + . + In the combination, you must combine any sections entitled "History" in the + various original documents, forming one section entitled "History"; likewise + combine any sections entitled "Acknowledgements", and any sections entitled + "Dedications". You must delete all sections entitled "Endorsements." + . + 6. COLLECTIONS OF DOCUMENTS + . + You may make a collection consisting of the Document and other documents + released under this License, and replace the individual copies of this + License in the various documents with a single copy that is included in the + collection, provided that you follow the rules of this License for verbatim + copying of each of the documents in all other respects. + . + You may extract a single document from such a collection, and distribute it + individually under this License, provided you insert a copy of this License + into the extracted document, and follow this License in all other respects + regarding verbatim copying of that document. + . + 7. AGGREGATION WITH INDEPENDENT WORKS + . + A compilation of the Document or its derivatives with other separate and + independent documents or works, in or on a volume of a storage or distribution + medium, does not as a whole count as a Modified Version of the Document, + provided no compilation copyright is claimed for the compilation. Such a + compilation is called an "aggregate", and this License does not apply to the + other self-contained works thus compiled with the Document, on account of + their being thus compiled, if they are not themselves derivative works of the + Document. + . + If the Cover Text requirement of section 3 is applicable to these copies of + the Document, then if the Document is less than one quarter of the entire + aggregate, the Document's Cover Texts may be placed on covers that surround + only the Document within the aggregate. Otherwise they must appear on covers + around the whole aggregate. + . + 8. TRANSLATION + . + Translation is considered a kind of modification, so you may distribute + translations of the Document under the terms of section 4. Replacing Invariant + Sections with translations requires special permission from their copyright + holders, but you may include translations of some or all Invariant Sections in + addition to the original versions of these Invariant Sections. You may include + a translation of this License provided that you also include the original + English version of this License. In case of a disagreement between the + translation and the original English version of this License, the original + English version will prevail. + . + 9. TERMINATION + . + You may not copy, modify, sublicense, or distribute the Document except as + expressly provided for under this License. Any other attempt to copy, modify, + sublicense or distribute the Document is void, and will automatically + terminate your rights under this License. However, parties who have received + copies, or rights, from you under this License will not have their licenses + terminated so long as such parties remain in full compliance. + . + 10. FUTURE REVISIONS OF THIS LICENSE + . + The Free Software Foundation may publish new, revised versions of the GNU Free + Documentation License from time to time. Such new versions will be similar in + spirit to the present version, but may differ in detail to address new + problems or concerns. See http://www.gnu.org/copyleft/. + . + Each version of the License is given a distinguishing version number. If the + Document specifies that a particular numbered version of this License "or any + later version" applies to it, you have the option of following the terms and + conditions either of that specified version or of any later version that has + been published (not as a draft) by the Free Software Foundation. If the + Document does not specify a version number of this License, you may choose any + version ever published (not as a draft) by the Free Software Foundation. diff --git a/debian/libsane-common.dirs b/debian/libsane-common.dirs new file mode 100644 index 0000000..3dc3897 --- /dev/null +++ b/debian/libsane-common.dirs @@ -0,0 +1,13 @@ +usr/share/doc/libsane-common/mustek_usb2 +usr/share/doc/libsane-common/teco +usr/share/doc/libsane-common/u12 +usr/share/doc/libsane-common/niash +usr/share/doc/libsane-common/mustek_usb +usr/share/doc/libsane-common/leo +usr/share/doc/libsane-common/canon +usr/share/doc/libsane-common/plustek +usr/share/doc/libsane-common/mustek +usr/share/doc/libsane-common/gt68xx +usr/share/doc/libsane-common/matsushita +usr/share/doc/libsane-common/sceptre +usr/share/doc/libsane-common/umax diff --git a/debian/libsane-common.docs b/debian/libsane-common.docs new file mode 100644 index 0000000..1a13c70 --- /dev/null +++ b/debian/libsane-common.docs @@ -0,0 +1,8 @@ +usr/share/doc/libsane/*.html +usr/share/doc/libsane/PROBLEMS +usr/share/doc/libsane/NEWS +usr/share/doc/libsane/ChangeLog +usr/share/doc/libsane/ChangeLogs/* +usr/share/doc/libsane/README +usr/share/doc/libsane/PROJECTS +usr/share/doc/libsane/AUTHORS diff --git a/debian/libsane-common.examples b/debian/libsane-common.examples new file mode 100644 index 0000000..ddd1dab --- /dev/null +++ b/debian/libsane-common.examples @@ -0,0 +1,2 @@ +tools/README +tools/xerox diff --git a/debian/libsane-common.install b/debian/libsane-common.install new file mode 100644 index 0000000..df59302 --- /dev/null +++ b/debian/libsane-common.install @@ -0,0 +1,18 @@ +etc/ +usr/share/man/man7 +usr/share/locale/ +usr/share/man/man5/sane-scsi.5 +usr/share/man/man5/sane-usb.5 +usr/share/doc/libsane/mustek_usb2/* usr/share/doc/libsane-common/mustek_usb2 +usr/share/doc/libsane/teco/* usr/share/doc/libsane-common/teco +usr/share/doc/libsane/u12/* usr/share/doc/libsane-common/u12 +usr/share/doc/libsane/niash/* usr/share/doc/libsane-common/niash +usr/share/doc/libsane/mustek_usb/* usr/share/doc/libsane-common/mustek_usb +usr/share/doc/libsane/leo/* usr/share/doc/libsane-common/leo +usr/share/doc/libsane/canon/* usr/share/doc/libsane-common/canon +usr/share/doc/libsane/plustek/* usr/share/doc/libsane-common/plustek +usr/share/doc/libsane/mustek/* usr/share/doc/libsane-common/mustek +usr/share/doc/libsane/gt68xx/* usr/share/doc/libsane-common/gt68xx +usr/share/doc/libsane/matsushita/* usr/share/doc/libsane-common/matsushita +usr/share/doc/libsane/sceptre/* usr/share/doc/libsane-common/sceptre +usr/share/doc/libsane/umax/* usr/share/doc/libsane-common/umax diff --git a/debian/libsane-common.lintian-overrides b/debian/libsane-common.lintian-overrides new file mode 100644 index 0000000..4eede3d --- /dev/null +++ b/debian/libsane-common.lintian-overrides @@ -0,0 +1,6 @@ +# +# doc/gt68xx/gt68xx.CHANGES:442:- Added "afe" option for gt68xx.conf for selecting default afe values. +# +libsane-common: typo-in-manual-page usr/share/man/man5/sane-gt68xx.5.gz afe safe +libsane-common: typo-in-manual-page usr/share/man/man5/sane-gt68xx.5.gz afe safe +libsane-common: typo-in-manual-page usr/share/man/man5/sane-gt68xx.5.gz afe safe diff --git a/debian/libsane-common.maintscript b/debian/libsane-common.maintscript new file mode 100644 index 0000000..1438dbe --- /dev/null +++ b/debian/libsane-common.maintscript @@ -0,0 +1 @@ +rm_conffile /etc/sane.d/v4l.conf 1.0.24-10~ diff --git a/debian/libsane-common.manpages b/debian/libsane-common.manpages new file mode 100644 index 0000000..fa664f3 --- /dev/null +++ b/debian/libsane-common.manpages @@ -0,0 +1 @@ +usr/share/man/man5/*.5 diff --git a/debian/libsane-common.postrm b/debian/libsane-common.postrm new file mode 100644 index 0000000..98c45e3 --- /dev/null +++ b/debian/libsane-common.postrm @@ -0,0 +1,10 @@ +#!/bin/sh +set -e + +# remove directory /etc/sane.d/ +if [ "$1" = "purge" ]; then + echo "Removing directory /etc/sane.d/ ..." + rmdir --ignore-fail-on-non-empty /etc/sane.d/ +fi + +#DEBHELPER# diff --git a/debian/libsane-dev.dirs b/debian/libsane-dev.dirs new file mode 100644 index 0000000..c701ec2 --- /dev/null +++ b/debian/libsane-dev.dirs @@ -0,0 +1 @@ +usr/share/doc/libsane-dev/ diff --git a/debian/libsane-dev.install b/debian/libsane-dev.install new file mode 100644 index 0000000..6df5f63 --- /dev/null +++ b/debian/libsane-dev.install @@ -0,0 +1,5 @@ +usr/include/ +usr/lib/*/*.a +usr/lib/*/*.so +usr/lib/*/sane/*.a +usr/lib/*/sane/*.so diff --git a/debian/libsane1.NEWS b/debian/libsane1.NEWS new file mode 100644 index 0000000..e9a90b1 --- /dev/null +++ b/debian/libsane1.NEWS @@ -0,0 +1,19 @@ +sane-backends (1.0.24-10) unstable; urgency=high + + The v4l backend is disabled since this version. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sun, 18 Jan 2015 11:46:18 +0100 + +sane-backends (1.0.22-1) unstable; urgency=low + + Starting with this version, sane-backends requires the /dev filesystem to + support ACLs in order to manage the permissions on scanner devices. + + This change was made to provide better support for multi-function (MFP) + devices. + + No action is required on standard Debian systems for this to work; however, + if you have an unusual setup or use a custom kernel, make sure ACLs are + available on /dev on your system. + + -- Julien BLACHE <jblache@debian.org> Thu, 02 Jun 2011 14:57:53 +0200 diff --git a/debian/libsane1.README.Debian b/debian/libsane1.README.Debian new file mode 100644 index 0000000..b5e4235 --- /dev/null +++ b/debian/libsane1.README.Debian @@ -0,0 +1,172 @@ +libsane (sane-backends) for Debian : +------------------------------------ + +GENERAL +------- + +The configuration files for Debian releases of SANE are located in /etc/sane.d. + +The dll pseudo-backend is responsible for loading other SANE backends that +provide support for the actual hardware. Which backends are loaded is +determined by the contents of the /etc/sane.d/dll.conf file. The dll +pseudo-backend also checks for dll.conf snippets in /etc/sane.d/dll.d; any +file in this directory that doesn't look like a backup file will be treated +as a configuration snippet. + +This facility is used by packages providing external backends (like +hpoj or hplip) to "register" the backends they provide without +much hassle. + +Each backend has a configuration file which specifies which devices, +access methods, options etc. should be used by this backend. The format +and content of each configuration file is documented in the manpage for +the backend, e.g. sane-plustek (5). + +For USB and some SCSI scanners, the parameters can be auto-detected, and +manual configuration is not required. If the auto-detection fails, read +the next paragraph. Again, see the manpage for your backend for more +information. + +For SCSI devices (mostly scanners), the configuration files use the +/dev/scanner device; /dev/scanner is a symbolic link to the appropriate +SCSI device node. It's up to you to create this symbolic link, once you +will have determined which device node it needs to point to. Use the +sane-find-scanner command in the sane-utils package to determine which +SCSI device your scanner is attached to. The sane-find-scanner utility +also discovers USB scanners. + +It can be a good idea to try running sane-find-scanner as root to ensure +there will be no permissions problems while attempting to detect your +devices. + + +DOCUMENTATION +------------- + +For information on configuring and trouble-shooting the various SANE +components, please refer to the manual pages listed below: + + Regarding: Read: + ----------------- ------------------------------------------ + General sane(7) -- your starting point + + scanimage scanimage(1) + xscanimage xscanimage(1) + saned saned(8) + xcam xcam(1) + + Dynamic loading sane-dll(5) + Backends See sane-<backend name>(5). Each backend + comes with a manual page in section 5 of + the manual system. + + +SETUP +----- + +In this day and age, SANE integrates with udev and ConsoleKit/systemd-logind +seemlessly; this means users physically logged into the machine (as opposed +to users logged in remotely via SSH) have access to the scanners by default. + +The solution proposed below is a legacy setup that remains valid for sharing +scanners with saned or for systems that don't use ConsoleKit/systemd-logind. +Note that this is only a proposed solution, you are free to come up with and +implement whatever access control mechanism you see fit. + +This package added a scanner group to your system. We recommend you add to +this group the users that should be able to access your scanner(s), and +make sure the appropriate device files (eg. /dev/sg0, ...) are owned by root +and the scanner group, with permissions set to 0660. + +For USB and SCSI scanners, the permissions will be automatically set by udev; +the /lib/udev/rules.d/60-libsane1.rules file contains a list of USB and SCSI +scanners supported by SANE. + +The udev rules now use ACLs instead of standard UNIX permissions; the scanner +group is added to the ACLs for the corresponding device(s) with read+write +permissions. + +If your scanner is missing from the list, do NOT modify this file; it is not +a configuration file, which means your changes WILL be overwritten upon +upgrade. Instead, create /etc/udev/rules.d/60-libsane1.rules and add the udev +rule for your scanner in this file. /lib/udev/rules.d/60-libsane1.rules will +then be ignored by udev and /etc/udev/rules.d/60-libsane1.rules will be used +instead. + +Feel free to file a bug report (severity wishlist) against the libsane package +to get your scanner added; please mention which backend you use and how well +the scanner is supported (basic, good, ...). + + Note: please do not file bugs requesting the addition of scanners that + aren't supported by the libsane package. For these devices, bugs should + be filed against the Debian package providing support for the device, if + such a package does exist. + +udev will automatically set up the permissions and ownership on the device +node corresponding to your scanner according to the rules defined in the +libsane1.rules file (default is root:scanner, 0664). If you want to execute +a script when your scanner is plugged in, add RUN+="/path/to/script" to the +rule matching your scanner. + + +TROUBLESHOOTING +--------------- + +If your scanner does not work, edit the file /etc/sane.d/dll.conf. +Verify that your scanner is not commented out. You may need to +comment out all other scanners in dll.conf. It shouldn't matter, but +sometimes it does. + +The most common cause for a non-working scanner is inappropriate +permissions on the device. So your first reflex should be to check the +permissions of the device used to access your scanner, e.g. /dev/sg0 +or the device pointed to by /dev/scanner. + +If running "scanimage > t.pnm" gives an error like "scanimage: open of +device niash:libusb:002:005 failed: Device busy", powercycling your +scanner might help. + +If you encounter any problems with getting your device(s) recognized, +try setting the various environment variables that are there to assist +in debugging such problems. The environment variables are documented +in the relevant manual pages. For example, to get the maximum amount +of debug information when testing a Mustek scanner, set environment +variables SANE_DEBUG_DLL, SANE_DEBUG_MUSTEK, and SANE_DEBUG_SANEI_SCSI +to 128 and then invoke scanimage or whatever program you're trying to +debug. For a Mustek SCSI scanner at /dev/scanner, you might want to +invoke scanimage as follows: + + scanimage -d mustek:/dev/scanner -h + +If this works, you could try to acquire an image with: + + scanimage -d mustek:/dev/scanner > t.pnm + +If you are not sure what generic SCSI device your scanner is connected +to, try the command sane-find-scanner (sane-utils package). It is +normally sufficient to invoke the program without any arguments. Invoking +this command should produce output similar to this: + + $ sane-find-scanner + sane-find-scanner: found "MUSTEK MFC-06000CZ 1.01" at device /dev/sge + +sane-find-scanner will help you discover your USB scanner, too. + +For some more help can read TROUBLESHOOTING.debian in the doc directory. + + +REPORTING BUGS +-------------- + +When reporting a bug, be it to the SANE developers or to the Debian bug +tracking system, pleases always provide: + - the full version of libsane + - the backend you're using + - the configuration of the backend + - the debug output, obtained by setting the environment variable + SANE_DEBUG_<backendname> to a value of 255 (see above, TROUBLESHOOTING) + +Without that, your bug report will take longer to be processed, because we'll +need to ask you for each of these items. Please help us help you. + +-- Julien BLACHE <jblache@debian.org>, Wed, 16 Feb 2011 19:00:12 +0100 diff --git a/debian/libsane1.dirs b/debian/libsane1.dirs new file mode 100644 index 0000000..ad3a3cc --- /dev/null +++ b/debian/libsane1.dirs @@ -0,0 +1 @@ +/lib/udev/hwdb.d/ diff --git a/debian/libsane1.docs b/debian/libsane1.docs new file mode 100644 index 0000000..0ea0ca5 --- /dev/null +++ b/debian/libsane1.docs @@ -0,0 +1 @@ +debian/TROUBLESHOOTING.Debian diff --git a/debian/libsane1.install b/debian/libsane1.install new file mode 100644 index 0000000..ba37095 --- /dev/null +++ b/debian/libsane1.install @@ -0,0 +1,3 @@ +usr/lib/*/*.so.* +usr/lib/*/sane/*.so.* +debian/99-libsane1.rules /lib/udev/rules.d/ diff --git a/debian/libsane1.postinst b/debian/libsane1.postinst new file mode 100644 index 0000000..971103e --- /dev/null +++ b/debian/libsane1.postinst @@ -0,0 +1,24 @@ +#!/bin/sh +set -e + +case "$1" in + configure) + # Add the scanner system group if it doesn't exist + if ! getent group | grep -q "^scanner:"; then + echo "Adding scanner group..." + addgroup --quiet --system scanner || true + fi + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "$0 called with unknown argument '$1'" >&2 + exit 1 + ;; +esac + + +#DEBHELPER# diff --git a/debian/libsane1.symbols b/debian/libsane1.symbols new file mode 100644 index 0000000..45a21ff --- /dev/null +++ b/debian/libsane1.symbols @@ -0,0 +1,88 @@ +libsane.so.1 libsane1 #MINVER# +* Build-Depends-Package: libsane-dev + (arch=!hurd-i386)cmsg@Base 1.0.29 + fail_test@Base 1.0.29 + md5_buffer@Base 1.0.27 + md5_finish_ctx@Base 1.0.27 + md5_init_ctx@Base 1.0.27 + md5_process_block@Base 1.0.27 + md5_process_bytes@Base 1.0.27 + md5_read_ctx@Base 1.0.27 + md5_stream@Base 1.0.27 + posix_dlsym@Base 1.0.27 + sane_cancel@Base 1.0.27 + sane_close@Base 1.0.27 + sane_control_option@Base 1.0.27 + sane_dll_cancel@Base 1.0.27 + sane_dll_close@Base 1.0.27 + sane_dll_control_option@Base 1.0.27 + sane_dll_exit@Base 1.0.27 + sane_dll_get_devices@Base 1.0.27 + sane_dll_get_option_descriptor@Base 1.0.27 + sane_dll_get_parameters@Base 1.0.27 + sane_dll_get_select_fd@Base 1.0.27 + sane_dll_init@Base 1.0.27 + sane_dll_open@Base 1.0.27 + sane_dll_read@Base 1.0.27 + sane_dll_set_io_mode@Base 1.0.27 + sane_dll_start@Base 1.0.27 + sane_exit@Base 1.0.27 + sane_get_devices@Base 1.0.27 + sane_get_option_descriptor@Base 1.0.27 + sane_get_parameters@Base 1.0.27 + sane_get_select_fd@Base 1.0.27 + sane_init@Base 1.0.27 + sane_open@Base 1.0.27 + sane_read@Base 1.0.27 + sane_set_io_mode@Base 1.0.27 + sane_start@Base 1.0.27 + sane_strstatus@Base 1.0.27 + sanei_check_value@Base 1.0.27 + sanei_config_get_paths@Base 1.0.27 + sanei_config_get_string@Base 1.0.27 + sanei_config_open@Base 1.0.27 + sanei_config_read@Base 1.0.27 + sanei_config_skip_whitespace@Base 1.0.27 + sanei_configure_attach@Base 1.0.27 + sanei_constrain_value@Base 1.0.27 + sanei_debug_dll@Base 1.0.27 + sanei_debug_msg@Base 1.0.27 + sanei_debug_sanei_config@Base 1.0.27 + sanei_debug_sanei_debug@Base 1.0.27 + sanei_debug_sanei_usb@Base 1.0.29 + sanei_init_debug@Base 1.0.27 + sanei_usb_attach_matching_devices@Base 1.0.29 + sanei_usb_claim_interface@Base 1.0.29 + sanei_usb_clear_halt@Base 1.0.29 + sanei_usb_close@Base 1.0.29 + sanei_usb_control_msg@Base 1.0.29 + sanei_usb_exit@Base 1.0.29 + sanei_usb_find_devices@Base 1.0.29 + sanei_usb_get_descriptor@Base 1.0.29 + sanei_usb_get_endpoint@Base 1.0.29 + sanei_usb_get_vendor_product@Base 1.0.29 + sanei_usb_get_vendor_product_byname@Base 1.0.29 + sanei_usb_init@Base 1.0.29 + sanei_usb_is_replay_mode_enabled@Base 1.0.29 + sanei_usb_open@Base 1.0.29 + sanei_usb_read_bulk@Base 1.0.29 + sanei_usb_read_int@Base 1.0.29 + sanei_usb_release_interface@Base 1.0.29 + sanei_usb_reset@Base 1.0.29 + sanei_usb_scan_devices@Base 1.0.29 + sanei_usb_set_altinterface@Base 1.0.29 + sanei_usb_set_configuration@Base 1.0.29 + sanei_usb_set_endpoint@Base 1.0.29 + sanei_usb_set_timeout@Base 1.0.29 + sanei_usb_testing_enable_record@Base 1.0.29 + sanei_usb_testing_enable_replay@Base 1.0.29 + sanei_usb_testing_get_backend@Base 1.0.29 + sanei_usb_testing_record_message@Base 1.0.29 + sanei_usb_write_bulk@Base 1.0.29 +#MISSING: 1.0.31# testing_append_commands_node@Base 1.0.29 +#MISSING: 1.0.31# testing_known_commands_input_failed@Base 1.0.29 +#MISSING: 1.0.31# testing_last_known_seq@Base 1.0.29 +#MISSING: 1.0.31# testing_record_backend@Base 1.0.29 +#MISSING: 1.0.31# testing_xml_doc@Base 1.0.29 +#MISSING: 1.0.31# testing_xml_next_tx_node@Base 1.0.29 +#MISSING: 1.0.31# testing_xml_path@Base 1.0.29 diff --git a/debian/not-installed b/debian/not-installed new file mode 100644 index 0000000..affcd89 --- /dev/null +++ b/debian/not-installed @@ -0,0 +1,8 @@ +usr/lib/*/sane/*.la +usr/lib/*/*.la +usr/share/doc/libsane/README.* +usr/bin/sane-config +usr/lib/*/pkgconfig/sane-backends.pc +usr/share/doc/libsane/LICENSE +usr/share/doc/libsane/COPYING +usr/share/doc/libsane/backend-writing.txt diff --git a/debian/patches/0035-trim-libraries-in-sane-backends.pc.in.patch b/debian/patches/0035-trim-libraries-in-sane-backends.pc.in.patch new file mode 100644 index 0000000..7452b33 --- /dev/null +++ b/debian/patches/0035-trim-libraries-in-sane-backends.pc.in.patch @@ -0,0 +1,24 @@ +From: Markus Koschany <apo@gambaru.de> +Date: Sun, 30 Jun 2013 19:13:54 +0200 +Subject: trim libraries in sane-backends.pc.in + +Update the original sane-config_and_pkg-config_fixes.patch from Julien BLACHE. +Patching RPATH related flags is no longer necessary. Still trim the libraries +in sane-backends.pc.in to the bare minimum for what is needed for libsane. +--- + tools/sane-backends.pc.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/tools/sane-backends.pc.in ++++ b/tools/sane-backends.pc.in +@@ -2,8 +2,8 @@ + exec_prefix=@exec_prefix@ + libdir=@libdir@ + includedir=@includedir@ +-ldflags=@LDFLAGS@ @GPHOTO2_LDFLAGS@ +-libs=@LIBS@ @DL_LIBS@ @LIBV4L_LIBS@ @MATH_LIB@ @TIFF_LIBS@ @JPEG_LIBS@ @GPHOTO2_LIBS@ @SOCKET_LIBS@ @AVAHI_LIBS@ @USB_LIBS@ @SCSI_LIBS@ @RESMGR_LIBS@ ++ldflags=@LDFLAGS@ ++libs=@LIBS@ + + Name: SANE Backends + Description: Backends for SANE, the universal scanner interface diff --git a/debian/patches/0040-remove_git.patch b/debian/patches/0040-remove_git.patch new file mode 100644 index 0000000..d3df568 --- /dev/null +++ b/debian/patches/0040-remove_git.patch @@ -0,0 +1,19 @@ +Description: Remove git from buildsystem +Author: Jörg Frings-Fürst <debian@jff.email> +Forwarded: not-needed +Last-Update: 2019-08-11 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/configure.ac +=================================================================== +--- trunk.orig/configure.ac ++++ trunk/configure.ac +@@ -5,7 +5,7 @@ dnl Set up autoconf and automake + dnl When preparing a release, modify the numeric version components + dnl and remove the git suffix. + dnl ****************************************************************** +-AC_INIT([sane-backends],m4_esyscmd_s([git describe --dirty]), ++AC_INIT([sane-backends],[1.0.31-debian], + [sane-devel@alioth-lists.debian.net]) + AC_PREREQ([2.69]) dnl minimum autoconf version required + AC_CONFIG_MACRO_DIR([m4]) diff --git a/debian/patches/0045-disable_lock_test_at_build_time.patch b/debian/patches/0045-disable_lock_test_at_build_time.patch new file mode 100644 index 0000000..e5f82f3 --- /dev/null +++ b/debian/patches/0045-disable_lock_test_at_build_time.patch @@ -0,0 +1,27 @@ +Description: Disable lock test at buildtime +Author: Jörg Frings-Fürst <debian@jff.emaill> +Forwarded: not-needed +Last-Update: 2020-08-28 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/acinclude.m4 +=================================================================== +--- trunk.orig/acinclude.m4 ++++ trunk/acinclude.m4 +@@ -359,11 +359,11 @@ AC_DEFUN([SANE_CHECK_LOCKING], + touch sanetest.file + chgrp $LOCKPATH_GROUP sanetest.file 2>/dev/null || lasterror=$? + rm -f sanetest.file +- if test ! -z "$lasterror"; then +- AC_MSG_WARN([Group $LOCKPATH_GROUP does not exist on this system.]) +- AC_MSG_WARN([Locking feature will be disabled.]) +- use_locking=no +- fi ++# if test ! -z "$lasterror"; then ++# AC_MSG_WARN([Group $LOCKPATH_GROUP does not exist on this system.]) ++# AC_MSG_WARN([Locking feature will be disabled.]) ++# use_locking=no ++# fi + fi + if test $use_locking = yes ; then + INSTALL_LOCKPATH=install-lockpath diff --git a/debian/patches/0050-Use-python3-shebang.patch b/debian/patches/0050-Use-python3-shebang.patch new file mode 100644 index 0000000..c3e85be --- /dev/null +++ b/debian/patches/0050-Use-python3-shebang.patch @@ -0,0 +1,16 @@ +Description: Use python3 shebang +Author: Jörg Frings-Fürst <debian@jff.email> +Forwarded: not-needed +Last-Update: 2020-08-28 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/backend/pixma/scripts/pixma_gen_options.py +=================================================================== +--- trunk.orig/backend/pixma/scripts/pixma_gen_options.py ++++ trunk/backend/pixma/scripts/pixma_gen_options.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + + from __future__ import print_function + import sys,os,re diff --git a/debian/patches/0055-Fix_build_error.patch b/debian/patches/0055-Fix_build_error.patch new file mode 100644 index 0000000..b1b09b1 --- /dev/null +++ b/debian/patches/0055-Fix_build_error.patch @@ -0,0 +1,36 @@ +Description: Fix build error +Author: Jörg Frings-Fürst <debian@jff.email> +Forwarded: not-needed +Last-Update: 2020-08-28 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/po/POTFILES.in +=================================================================== +--- trunk.orig/po/POTFILES.in ++++ trunk/po/POTFILES.in +@@ -65,7 +65,7 @@ backend/p5.c + backend/p5.h + backend/p5_device.c + backend/pixma/pixma.c +-backend/pixma/pixma_sane_options.c ++backend/pixma/pixma_sane_options.c + backend/plustek.c + backend/plustek_pp.c + backend/pnm.c +Index: trunk/backend/Makefile.am +=================================================================== +--- trunk.orig/backend/Makefile.am ++++ trunk/backend/Makefile.am +@@ -947,10 +947,10 @@ $(srcdir)/pixma/pixma.c: \ + + $(srcdir)/pixma/pixma_sane_options.h: + @echo Generating $@ from $(@D)/pixma.c +- @(cd $(@D); python scripts/pixma_gen_options.py h < pixma.c > $(@F)) ++ @(cd $(@D); python3 scripts/pixma_gen_options.py h < pixma.c > $(@F)) + $(srcdir)/pixma/pixma_sane_options.c: + @echo Generating $@ from $(@D)/pixma.c +- @(cd $(@D); python scripts/pixma_gen_options.py < pixma.c > $(@F)) ++ @(cd $(@D); python3 scripts/pixma_gen_options.py < pixma.c > $(@F)) + + EXTRA_DIST += pixma/pixma_sane_options.c + EXTRA_DIST += pixma/pixma_sane_options.h diff --git a/debian/patches/0060-cross.patch b/debian/patches/0060-cross.patch new file mode 100644 index 0000000..4087882 --- /dev/null +++ b/debian/patches/0060-cross.patch @@ -0,0 +1,54 @@ +Description: Make gphoto2 detection use the host architecture pkg-config +Author: Helmut Grohne <helmut@subdivi.de> +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948711 +Forwarded: not-needed +Last-Update: 2020-08-30 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/acinclude.m4 +=================================================================== +--- trunk.orig/acinclude.m4 ++++ trunk/acinclude.m4 +@@ -439,15 +439,19 @@ AC_DEFUN([SANE_CHECK_GPHOTO2], + # a program. And, if that works, then add the -l flags to + # GPHOTO2_LIBS and any other flags to GPHOTO2_LDFLAGS to pass to + # sane-config. +- if test "$with_gphoto2" != "no" ; then +- AC_CHECK_TOOL(HAVE_GPHOTO2, pkg-config, false) ++ AS_IF([test "$with_gphoto2" != "no"],[ ++ AC_REQUIRE([PKG_PROG_PKG_CONFIG]) ++ if test "x$PKG_CONFIG" = x; then ++ HAVE_GPHOTO2=false ++ else ++ HAVE_GPHOTO2=$PKG_CONFIG ++ fi + + if test ${HAVE_GPHOTO2} != "false" ; then +- if pkg-config --exists libgphoto2 ; then +- with_gphoto2="`pkg-config --modversion libgphoto2`" +- GPHOTO2_CPPFLAGS="`pkg-config --cflags libgphoto2`" +- GPHOTO2_LIBS="`pkg-config --libs libgphoto2`" +- ++ if $PKG_CONFIG --exists libgphoto2 ; then ++ with_gphoto2="`$PKG_CONFIG --modversion libgphoto2`" ++ GPHOTO2_CPPFLAGS="`$PKG_CONFIG --cflags libgphoto2`" ++ GPHOTO2_LIBS="`$PKG_CONFIG --libs libgphoto2`" + saved_CPPFLAGS="${CPPFLAGS}" + CPPFLAGS="${GPHOTO2_CPPFLAGS}" + saved_LIBS="${LIBS}" +@@ -467,13 +471,13 @@ AC_DEFUN([SANE_CHECK_GPHOTO2], + GPHOTO2_LIBS="" + else + SANE_EXTRACT_LDFLAGS(GPHOTO2_LIBS, GPHOTO2_LDFLAGS) +- if pkg-config --atleast-version=2.5.0 libgphoto2; then ++ if $PKG_CONFIG --atleast-version=2.5.0 libgphoto2; then + AC_DEFINE([GPLOGFUNC_NO_VARGS], [1], + [Define if GPLogFunc does not take a va_list.]) + fi + fi + fi +- fi ++ ]) + AC_SUBST(GPHOTO2_CPPFLAGS) + AC_SUBST(GPHOTO2_LIBS) + AC_SUBST(GPHOTO2_LDFLAGS) diff --git a/debian/patches/0100-source_spelling.patch b/debian/patches/0100-source_spelling.patch new file mode 100644 index 0000000..17bde04 --- /dev/null +++ b/debian/patches/0100-source_spelling.patch @@ -0,0 +1,84 @@ +Description: Correct source typos +Author: Jörg Frings-Fürst <debian@jff-webhosting.net> +Forwarded: not-needed +Last-Update: 2019-04-28 +---- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/doc/sane-epjitsu.man +=================================================================== +--- trunk.orig/doc/sane-epjitsu.man ++++ trunk/doc/sane-epjitsu.man +@@ -42,7 +42,7 @@ Scanners can be specified in the configu + .PP + "usb 0x04c5 0x10c7" (or other vendor/product ids) + .RS +-Requests backend to search all usb busses in the system for a device which uses that vendor and product id. The device will then be queried to determine if it is a supported scanner. ++Requests backend to search all usb buses in the system for a device which uses that vendor and product id. The device will then be queried to determine if it is a supported scanner. + .RE + .PP + "usb /dev/usb/scanner0" (or other device file) +Index: trunk/backend/apple.c +=================================================================== +--- trunk.orig/backend/apple.c ++++ trunk/backend/apple.c +@@ -1546,7 +1546,7 @@ init_options (Apple_Scanner * s) + /* Use volt_ref */ + s->opt[OPT_VOLT_REF].name = "volt-ref"; + s->opt[OPT_VOLT_REF].title = "Volt Reference"; +- s->opt[OPT_VOLT_REF].desc ="It's brightness equivalant."; ++ s->opt[OPT_VOLT_REF].desc ="It's brightness equivalent."; + s->opt[OPT_VOLT_REF].type = SANE_TYPE_BOOL; + if (s->hw->ScannerModel!=COLORONESCANNER) + s->opt[OPT_VOLT_REF].cap |= SANE_CAP_INACTIVE; +Index: trunk/tools/umax_pp.c +=================================================================== +--- trunk.orig/tools/umax_pp.c ++++ trunk/tools/umax_pp.c +@@ -374,10 +374,10 @@ main (int argc, char **argv) + if (sanei_umax_pp_initPort (port, name) != 1) + { + if (port) +- fprintf (stderr, "failed to gain direct acces to port 0x%X!\n", ++ fprintf (stderr, "failed to gain direct access to port 0x%X!\n", + port); + else +- fprintf (stderr, "failed to gain acces to device %s!\n", name); ++ fprintf (stderr, "failed to gain access to device %s!\n", name); + return 0; + } + } +Index: trunk/doc/saned.man +=================================================================== +--- trunk.orig/doc/saned.man ++++ trunk/doc/saned.man +@@ -254,7 +254,7 @@ to the systemd journal. The systemd supp + requires compilation with the systemd-devel package + installed on the system. this is the preferred option. + +-Saned can be used wih systemd without the systemd integration ++Saned can be used with systemd without the systemd integration + compiled in, but then logging of debug information is not supported. + + The systemd configuration is different for the 2 options, so +Index: trunk/doc/sane-pixma.man +=================================================================== +--- trunk.orig/doc/sane-pixma.man ++++ trunk/doc/sane-pixma.man +@@ -328,7 +328,7 @@ This will cause all further statements i + .IP - + A line that contains + .B auto_detection=no +-will cause auto-detection to be skipped. Explicitely defined network scanners will still be probed. ++will cause auto-detection to be skipped. Explicitly defined network scanners will still be probed. + .SH USB SUPPORT + USB scanners will be auto-detected and require no configuration. + .SH NETWORKING SUPPORT +@@ -358,7 +358,7 @@ common subnet for scanning. + .PP + Scanner detection is slightly more complicated. The pixma backend sends + a broadcast on all direct connected subnets it can find (provided your OS +-allows for enumeration of all netowrk interfaces). The broadcast is sent FROM ++allows for enumeration of all network interfaces). The broadcast is sent FROM + port 8612 TO port 8610 or 8612 on the broadcast address of each interface. + The outgoing packets will be allowed by the rule described above. + .PP diff --git a/debian/patches/0125-multiarch_dll_search_path.patch b/debian/patches/0125-multiarch_dll_search_path.patch new file mode 100644 index 0000000..25726c7 --- /dev/null +++ b/debian/patches/0125-multiarch_dll_search_path.patch @@ -0,0 +1,45 @@ +Description: Keep /usr/lib/sane as a fallback for SANE backends + Make /usr/lib/arch_triplet/sane the default location for SANE backends, + but keep /usr/lib/sane as a fallback for now. +Author: Julien BLACHE <jblache@debian.org> + +Index: trunk/backend/dll.c +=================================================================== +--- trunk.orig/backend/dll.c ++++ trunk/backend/dll.c +@@ -470,7 +470,7 @@ load (struct backend *be) + + if (path) + { +- src_len = strlen (path) + strlen (DIR_SEP) + strlen(LIBDIR) + 1; ++ src_len = strlen (path) + strlen (DIR_SEP) + strlen(DEB_DLL_LIBDIR) + 1; + src = malloc (src_len); + if (!src) + { +@@ -480,11 +480,11 @@ load (struct backend *be) + if (orig_src) + free (orig_src); + orig_src = src; +- snprintf (src, src_len, "%s%s%s", path, DIR_SEP, LIBDIR); ++ snprintf (src, src_len, "%s%s%s", path, DIR_SEP, DEB_DLL_LIBDIR); + } + else + { +- src = LIBDIR; ++ src = DEB_DLL_LIBDIR; + src = strdup (src); + if (!src) + { +Index: trunk/backend/Makefile.am +=================================================================== +--- trunk.orig/backend/Makefile.am ++++ trunk/backend/Makefile.am +@@ -4,7 +4,7 @@ + ## This file is part of the "Sane" build infra-structure. See + ## included LICENSE file for license information. + +-AM_CPPFLAGS += -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include $(USB_CFLAGS) -DLIBDIR="\"$(libdir)/sane\"" ++AM_CPPFLAGS += -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include $(USB_CFLAGS) -DLIBDIR="\"$(libdir)/sane\"" -DDEB_DLL_LIBDIR="\"$(libdir)/sane:$(prefix)/lib/sane\:$(prefix)/lib64/sane\"" + + AM_LDFLAGS += $(STRICT_LDFLAGS) + # The -rpath option is added because we are creating _LTLIBRARIES based diff --git a/debian/patches/0140-avahi.patch b/debian/patches/0140-avahi.patch new file mode 100644 index 0000000..c424323 --- /dev/null +++ b/debian/patches/0140-avahi.patch @@ -0,0 +1,90 @@ +Description: Avoid assertion failure when net_avahi_init failed +Author: Andreas Henriksson <andreas@fatal.se> +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861112 +Forwarded: not-needed +Last-Update: 2017-06-20 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/backend/net.c +=================================================================== +--- trunk.orig/backend/net.c ++++ trunk/backend/net.c +@@ -771,7 +771,7 @@ net_avahi_browse_callback (AvahiServiceB + { + case AVAHI_BROWSER_FAILURE: + DBG (1, "net_avahi_browse_callback: %s\n", avahi_strerror (avahi_client_errno (avahi_service_browser_get_client (b)))); +- avahi_threaded_poll_quit (avahi_thread); ++ if (avahi_thread) avahi_threaded_poll_quit (avahi_thread); + return; + + case AVAHI_BROWSER_NEW: +@@ -836,7 +836,7 @@ net_avahi_callback (AvahiClient *c, Avah + if (avahi_browser == NULL) + { + DBG (1, "net_avahi_callback: could not create service browser: %s\n", avahi_strerror (avahi_client_errno (c))); +- avahi_threaded_poll_quit (avahi_thread); ++ if (avahi_thread) avahi_threaded_poll_quit (avahi_thread); + } + break; + +@@ -859,14 +859,14 @@ net_avahi_callback (AvahiClient *c, Avah + if (avahi_client == NULL) + { + DBG (1, "net_avahi_init: could not create Avahi client: %s\n", avahi_strerror (error)); +- avahi_threaded_poll_quit (avahi_thread); ++ if (avahi_thread) avahi_threaded_poll_quit (avahi_thread); + } + } + else + { + /* Another error happened - game over */ + DBG (1, "net_avahi_callback: server connection failure: %s\n", avahi_strerror (error)); +- avahi_threaded_poll_quit (avahi_thread); ++ if (avahi_thread) avahi_threaded_poll_quit (avahi_thread); + } + break; + } +@@ -1045,12 +1041,12 @@ sane_init (SANE_Int * version_code, SANE + continue; + } + #if WITH_AVAHI +- avahi_threaded_poll_lock (avahi_thread); ++ if (avahi_thread) avahi_threaded_poll_lock (avahi_thread); + #endif /* WITH_AVAHI */ + DBG (2, "sane_init: trying to add %s\n", device_name); + add_device (device_name, 0); + #if WITH_AVAHI +- avahi_threaded_poll_unlock (avahi_thread); ++ if (avahi_thread) avahi_threaded_poll_unlock (avahi_thread); + #endif /* WITH_AVAHI */ + } + +@@ -1096,12 +1092,12 @@ sane_init (SANE_Int * version_code, SANE + continue; + #endif /* ENABLE_IPV6 */ + #if WITH_AVAHI +- avahi_threaded_poll_lock (avahi_thread); ++ if (avahi_thread) avahi_threaded_poll_lock (avahi_thread); + #endif /* WITH_AVAHI */ + DBG (2, "sane_init: trying to add %s\n", host); + add_device (host, 0); + #if WITH_AVAHI +- avahi_threaded_poll_unlock (avahi_thread); ++ if (avahi_thread) avahi_threaded_poll_unlock (avahi_thread); + #endif /* WITH_AVAHI */ + } + free (copy); +@@ -1519,11 +1520,11 @@ sane_open (SANE_String_Const full_name, + "sane_open: device %s not found, trying to register it anyway\n", + nd_name); + #if WITH_AVAHI +- avahi_threaded_poll_lock (avahi_thread); ++ if (avahi_thread) avahi_threaded_poll_lock (avahi_thread); + #endif /* WITH_AVAHI */ + status = add_device (nd_name, &dev); + #if WITH_AVAHI +- avahi_threaded_poll_unlock (avahi_thread); ++ if (avahi_thread) avahi_threaded_poll_unlock (avahi_thread); + #endif /* WITH_AVAHI */ + if (status != SANE_STATUS_GOOD) + { diff --git a/debian/patches/0145-avahi.patch b/debian/patches/0145-avahi.patch new file mode 100644 index 0000000..d358a41 --- /dev/null +++ b/debian/patches/0145-avahi.patch @@ -0,0 +1,34 @@ +Description: scanimage assert failure: *** Error in `scanimage': double free or corruption (top) +Author: Laurent Vivier Laurent@vivier.eu +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1208091 +Forwarded: not-needed +Last-Update: 2017-06-20 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/backend/net.c +=================================================================== +--- trunk.orig/backend/net.c ++++ trunk/backend/net.c +@@ -964,10 +964,6 @@ sane_init (SANE_Int * version_code, SANE + first_device = NULL; + first_handle = NULL; + +-#if WITH_AVAHI +- net_avahi_init (); +-#endif /* WITH_AVAHI */ +- + auth_callback = authorize; + + /* Return the version number of the sane-backends package to allow +@@ -1119,6 +1115,11 @@ sane_init (SANE_Int * version_code, SANE + DBG (2, "sane_init: connect timeout set to %d seconds from env\n", connect_timeout); + } + ++#if WITH_AVAHI ++ net_avahi_init (); ++#endif /* WITH_AVAHI */ ++ ++ + DBG (2, "sane_init: done\n"); + return SANE_STATUS_GOOD; + } diff --git a/debian/patches/0150-i386-test.patch b/debian/patches/0150-i386-test.patch new file mode 100644 index 0000000..4c064c5 --- /dev/null +++ b/debian/patches/0150-i386-test.patch @@ -0,0 +1,48 @@ +Description: Disable some tests that fail on i386 +Author: Jörg Frings-Fürst <debian@jff.email> +Forwarded: not-needed +Last-Update: 2020-04-01 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/testsuite/backend/genesys/tests_image.cpp +=================================================================== +--- trunk.orig/testsuite/backend/genesys/tests_image.cpp ++++ trunk/testsuite/backend/genesys/tests_image.cpp +@@ -124,14 +124,14 @@ void test_set_pixel_to_row() + + pixel = Pixel(0x1200, 0x1200, 0x1200); + set_pixel_to_row(data.data(), 0, pixel, PixelFormat::I8); +- ASSERT_EQ(data, Data({0x12, 0x00, 0x00, 0x00, 0x00, 0x00, +- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00})); ++// ASSERT_EQ(data, Data({0x12, 0x00, 0x00, 0x00, 0x00, 0x00, ++// 0x00, 0x00, 0x00, 0x00, 0x00, 0x00})); + reset(); + + pixel = Pixel(0x1200, 0x1200, 0x1200); + set_pixel_to_row(data.data(), 2, pixel, PixelFormat::I8); +- ASSERT_EQ(data, Data({0x00, 0x00, 0x12, 0x00, 0x00, 0x00, +- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00})); ++// ASSERT_EQ(data, Data({0x00, 0x00, 0x12, 0x00, 0x00, 0x00, ++// 0x00, 0x00, 0x00, 0x00, 0x00, 0x00})); + reset(); + + pixel = Pixel(0x1200, 0x3400, 0x5600); +@@ -160,14 +160,14 @@ void test_set_pixel_to_row() + + pixel = Pixel(0x1234, 0x1234, 0x1234); + set_pixel_to_row(data.data(), 0, pixel, PixelFormat::I16); +- ASSERT_EQ(data, Data({0x34, 0x12, 0x00, 0x00, 0x00, 0x00, +- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00})); ++// ASSERT_EQ(data, Data({0x34, 0x12, 0x00, 0x00, 0x00, 0x00, ++// 0x00, 0x00, 0x00, 0x00, 0x00, 0x00})); + reset(); + + pixel = Pixel(0x1234, 0x1234, 0x1234); + set_pixel_to_row(data.data(), 1, pixel, PixelFormat::I16); +- ASSERT_EQ(data, Data({0x00, 0x00, 0x34, 0x12, 0x00, 0x00, +- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00})); ++// ASSERT_EQ(data, Data({0x00, 0x00, 0x34, 0x12, 0x00, 0x00, ++// 0x00, 0x00, 0x00, 0x00, 0x00, 0x00})); + reset(); + + pixel = Pixel(0x1234, 0x5678, 0x9abc); diff --git a/debian/patches/0155-hurd_PATH_MAX.patch b/debian/patches/0155-hurd_PATH_MAX.patch new file mode 100644 index 0000000..41952c6 --- /dev/null +++ b/debian/patches/0155-hurd_PATH_MAX.patch @@ -0,0 +1,364 @@ +Description: Add PATH_MAX if undefined +Author: Jörg Frings-Fürst <debian@jff.email> +Last-Update: 2020-04-17 +Index: trunk/backend/escl/escl_capabilities.c +=================================================================== +--- trunk.orig/backend/escl/escl_capabilities.c ++++ trunk/backend/escl/escl_capabilities.c +@@ -35,6 +35,10 @@ + + #include "../include/sane/saneopts.h" + ++#ifndef PATH_MAX ++ #define PATH_MAX 4096 ++#endif ++ + struct cap + { + char *memory; +Index: trunk/backend/escl/escl.h +=================================================================== +--- trunk.orig/backend/escl/escl.h ++++ trunk/backend/escl/escl.h +@@ -62,6 +62,10 @@ + # define DBGDUMP(level, buf, size) + #endif + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ + #define ESCL_CONFIG_FILE "escl.conf" + + +Index: trunk/backend/canon630u.c +=================================================================== +--- trunk.orig/backend/canon630u.c ++++ trunk/backend/canon630u.c +@@ -67,6 +67,10 @@ + + #include "canon630u-common.c" + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ + typedef struct Canon_Device + { + struct Canon_Device *next; +Index: trunk/backend/canon_pp.c +=================================================================== +--- trunk.orig/backend/canon_pp.c ++++ trunk/backend/canon_pp.c +@@ -85,6 +85,11 @@ + #include "../include/sane/sanei_backend.h" + /* #include "../include/sane/sanei_debug.h" */ + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ ++ + + /* Prototypes */ + static SANE_Status init_device(struct parport *pp); +Index: trunk/backend/gt68xx.h +=================================================================== +--- trunk.orig/backend/gt68xx.h ++++ trunk/backend/gt68xx.h +@@ -53,4 +53,8 @@ + + #define GT68XX_CONFIG_FILE "gt68xx.conf" + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ + #endif /* not GT68XX_H */ +Index: trunk/backend/hp3900_sane.c +=================================================================== +--- trunk.orig/backend/hp3900_sane.c ++++ trunk/backend/hp3900_sane.c +@@ -54,6 +54,11 @@ + + #include "hp3900_rts8822.c" + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ ++ + struct st_convert + { + SANE_Int colormode; +Index: trunk/backend/hp4200.h +=================================================================== +--- trunk.orig/backend/hp4200.h ++++ trunk/backend/hp4200.h +@@ -27,6 +27,10 @@ + #define min(a, b) (((a) < (b)) ? (a) : (b)) + #define max(a, b) (((a) > (b)) ? (a) : (b)) + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ + + /*--------------------------------------------------------------------------*/ + +Index: trunk/backend/hp5400_sane.c +=================================================================== +--- trunk.orig/backend/hp5400_sane.c ++++ trunk/backend/hp5400_sane.c +@@ -88,6 +88,9 @@ + + #define NUM_GAMMA_ENTRIES 65536 + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif + + /* options enumerator */ + typedef enum +Index: trunk/backend/hpsj5s.c +=================================================================== +--- trunk.orig/backend/hpsj5s.c ++++ trunk/backend/hpsj5s.c +@@ -58,6 +58,9 @@ + #include <stdio.h> + #include <unistd.h> + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif + + #define LINES_TO_FEED 480 /*Default feed length */ + +Index: trunk/backend/leo.c +=================================================================== +--- trunk.orig/backend/leo.c ++++ trunk/backend/leo.c +@@ -78,6 +78,10 @@ + + #include "leo.h" + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ + /*--------------------------------------------------------------------------*/ + + /* Lists of possible scan modes. */ +Index: trunk/backend/lexmark.c +=================================================================== +--- trunk.orig/backend/lexmark.c ++++ trunk/backend/lexmark.c +@@ -47,6 +47,10 @@ + + #include "lexmark.h" + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ + #define LEXMARK_CONFIG_FILE "lexmark.conf" + #define BUILD 32 + #define MAX_OPTION_STRING_SIZE 255 +Index: trunk/backend/matsushita.c +=================================================================== +--- trunk.orig/backend/matsushita.c ++++ trunk/backend/matsushita.c +@@ -82,6 +82,10 @@ + + #include "matsushita.h" + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ + /*--------------------------------------------------------------------------*/ + + /* Lists of possible scan modes. */ +Index: trunk/backend/p5_device.c +=================================================================== +--- trunk.orig/backend/p5_device.c ++++ trunk/backend/p5_device.c +@@ -1,3 +1,8 @@ ++ ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ + /** + * Description of the Primax PagePartner model + */ +Index: trunk/backend/pie.c +=================================================================== +--- trunk.orig/backend/pie.c ++++ trunk/backend/pie.c +@@ -134,8 +134,11 @@ +
+ #define min(a,b) (((a)<(b))?(a):(b))
+ #define max(a,b) (((a)>(b))?(a):(b))
+-
+-
++ ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ + /* names of scanners that are supported because */
+ /* the inquiry_return_block is ok and driver is tested */
+
+Index: trunk/backend/pieusb.c +=================================================================== +--- trunk.orig/backend/pieusb.c ++++ trunk/backend/pieusb.c +@@ -109,6 +109,10 @@ extern void write_tiff_rgbi_header (FILE + #define DBG_info_scan 11 /* information scanner commands */ + #define DBG_info_usb 13 /* information usb level functions */ + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ + /* device flags */ + + #define FLAG_SLIDE_TRANSPORT 0x01 +Index: trunk/backend/plustek-usb.c +=================================================================== +--- trunk.orig/backend/plustek-usb.c ++++ trunk/backend/plustek-usb.c +@@ -119,6 +119,10 @@ static TabDef usbVendors[] = { + /** we use at least 8 megs for scanning... */ + #define _SCANBUF_SIZE (8 * 1024 * 1024) + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ + /********************** the USB scanner interface ****************************/ + + /** remove the slash out of the model-name to obtain a valid filename +Index: trunk/backend/sceptre.c +=================================================================== +--- trunk.orig/backend/sceptre.c ++++ trunk/backend/sceptre.c +@@ -80,6 +80,10 @@ + + #include "sceptre.h" + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ + /*--------------------------------------------------------------------------*/ + + static const SANE_String scan_mode_list[] = { LINEART_STR, HALFTONE_STR, +Index: trunk/backend/sp15c.c +=================================================================== +--- trunk.orig/backend/sp15c.c ++++ trunk/backend/sp15c.c +@@ -228,6 +228,10 @@ + #include "sp15c-scsi.h" + #include "sp15c.h" + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ + /* ------------------------------------------------------------------------- */ + + static const char negativeStr[] = "Negative"; +Index: trunk/backend/stv680.c +=================================================================== +--- trunk.orig/backend/stv680.c ++++ trunk/backend/stv680.c +@@ -101,6 +101,10 @@ + + #define TIMEOUT 1000 + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ + /*--------------------------------------------------------------------------*/ + /* Lists of possible scan modes. */ + static SANE_String_Const scan_mode_list[] = { +Index: trunk/backend/teco1.c +=================================================================== +--- trunk.orig/backend/teco1.c ++++ trunk/backend/teco1.c +@@ -86,6 +86,10 @@ + #define sanei_scsi_close(a) SANE_STATUS_GOOD + #endif + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ + /*--------------------------------------------------------------------------*/ + + /* Lists of possible scan modes. */ +Index: trunk/backend/teco2.c +=================================================================== +--- trunk.orig/backend/teco2.c ++++ trunk/backend/teco2.c +@@ -106,6 +106,10 @@ + #define sanei_scsi_close(a) SANE_STATUS_GOOD + #endif + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ + /* For debugging purposes: output a stream straight out from the + * scanner without reordering the colors, 0=normal, 1 = raw. */ + static int raw_output = 0; +Index: trunk/backend/teco3.c +=================================================================== +--- trunk.orig/backend/teco3.c ++++ trunk/backend/teco3.c +@@ -78,6 +78,10 @@ + + #include "teco3.h" + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ + /*--------------------------------------------------------------------------*/ + + /* Lists of possible scan modes. */ +Index: trunk/backend/test.c +=================================================================== +--- trunk.orig/backend/test.c ++++ trunk/backend/test.c +@@ -76,6 +76,10 @@ + + #define TEST_CONFIG_FILE "test.conf" + ++#ifndef PATH_MAX ++ #define PATH_MAX 1024 ++#endif ++ + static SANE_Bool inited = SANE_FALSE; + static SANE_Device **sane_device_list = 0; + static Test_Device *first_test_device = 0; +Index: trunk/backend/pixma/pixma_bjnp.c +=================================================================== +--- trunk.orig/backend/pixma/pixma_bjnp.c ++++ trunk/backend/pixma/pixma_bjnp.c +@@ -117,6 +117,12 @@ + # endif + #endif + ++#ifndef HOST_NAME_MAX ++ #define HOST_NAME_MAX 64 ++#endif ++ ++ ++ + /* static data */ + static bjnp_device_t device[BJNP_NO_DEVICES]; + static int bjnp_no_devices = 0; diff --git a/debian/patches/0165-respect_local_only_parameter.patch b/debian/patches/0165-respect_local_only_parameter.patch new file mode 100644 index 0000000..f73a731 --- /dev/null +++ b/debian/patches/0165-respect_local_only_parameter.patch @@ -0,0 +1,768 @@ +Description: respect 'local_only' parameter of sane_get_devices() +Author: Barnabás Pőcze <pobrn@protonmail.com> +Origin: backport, https://gitlab.com/sane-project/backends/-/commit/245564dffe96ddf0fd1c703c48973cd35fddd268 +Bug: https://gitlab.com/sane-project/backends/-/merge_requests/502/ +Forwarded: no-needed +Last-Update: 2020-09-05 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/backend/dell1600n_net.c +=================================================================== +--- trunk.orig/backend/dell1600n_net.c ++++ trunk/backend/dell1600n_net.c +@@ -288,8 +288,7 @@ sane_exit (void) + /***********************************************************/ + + SANE_Status +-sane_get_devices (const SANE_Device *** device_list, +- SANE_Bool __sane_unused__ local_only) ++sane_get_devices (const SANE_Device *** device_list, SANE_Bool local_only) + { + + int ret; +@@ -312,6 +311,10 @@ sane_get_devices (const SANE_Device *** + sock = 0; + pDevice = NULL; + optYes = 1; ++ ++ if (local_only) ++ return ret; ++ + InitComBuf (&queryPacket); + + /* clear previous results */ +Index: trunk/backend/epson2.c +=================================================================== +--- trunk.orig/backend/epson2.c ++++ trunk/backend/epson2.c +@@ -813,10 +813,11 @@ attach_one_pio(const char *dev) + } + + static SANE_Status +-attach_one_config(SANEI_Config __sane_unused__ *config, const char *line) ++attach_one_config(SANEI_Config __sane_unused__ *config, const char *line, ++ void *data) + { + int vendor, product; +- ++ SANE_Bool local_only = *(SANE_Bool*) data; + int len = strlen(line); + + DBG(7, "%s: len = %d, line = %s\n", __func__, len, line); +@@ -847,13 +848,16 @@ attach_one_config(SANEI_Config __sane_un + + } else if (strncmp(line, "net", 3) == 0) { + +- /* remove the "net" sub string */ +- const char *name = sanei_config_skip_whitespace(line + 3); +- +- if (strncmp(name, "autodiscovery", 13) == 0) +- e2_network_discovery(); +- else +- attach_one_net(name); ++ if (!local_only) { ++ /* remove the "net" sub string */ ++ const char *name = ++ sanei_config_skip_whitespace(line + 3); ++ ++ if (strncmp(name, "autodiscovery", 13) == 0) ++ e2_network_discovery(); ++ else ++ attach_one_net(name); ++ } + + } else if (strncmp(line, "pio", 3) == 0) { + +@@ -889,14 +893,14 @@ free_devices(void) + } + + static void +-probe_devices(void) ++probe_devices(SANE_Bool local_only) + { + DBG(5, "%s\n", __func__); + + free_devices(); + + sanei_configure_attach(EPSON2_CONFIG_FILE, NULL, +- attach_one_config); ++ attach_one_config, &local_only); + } + + SANE_Status +@@ -926,14 +930,14 @@ sane_exit(void) + } + + SANE_Status +-sane_get_devices(const SANE_Device ***device_list, SANE_Bool __sane_unused__ local_only) ++sane_get_devices(const SANE_Device ***device_list, SANE_Bool local_only) + { + Epson_Device *dev; + int i; + + DBG(5, "%s\n", __func__); + +- probe_devices(); ++ probe_devices(local_only); + + devlist = malloc((num_devices + 1) * sizeof(devlist[0])); + if (!devlist) { +@@ -1470,7 +1474,7 @@ sane_open(SANE_String_Const name, SANE_H + /* probe if empty device name provided */ + if (l == 0) { + +- probe_devices(); ++ probe_devices(SANE_FALSE); + + if (first_dev == NULL) { + DBG(1, "no device detected\n"); +@@ -1507,7 +1511,7 @@ sane_open(SANE_String_Const name, SANE_H + */ + + if (first_dev == NULL) +- probe_devices(); ++ probe_devices(SANE_FALSE); + + s = device_detect(name, SANE_EPSON_NODEV, 0, &status); + if (s == NULL) { +Index: trunk/backend/epsonds.c +=================================================================== +--- trunk.orig/backend/epsonds.c ++++ trunk/backend/epsonds.c +@@ -481,10 +481,11 @@ attach_one_net(const char *dev) + + + static SANE_Status +-attach_one_config(SANEI_Config __sane_unused__ *config, const char *line) ++attach_one_config(SANEI_Config __sane_unused__ *config, const char *line, ++ void *data) + { + int vendor, product; +- ++ SANE_Bool local_only = *(SANE_Bool*) data; + int len = strlen(line); + + DBG(7, "%s: len = %d, line = %s\n", __func__, len, line); +@@ -513,13 +514,16 @@ attach_one_config(SANEI_Config __sane_un + + } else if (strncmp(line, "net", 3) == 0) { + +- /* remove the "net" sub string */ +- const char *name = sanei_config_skip_whitespace(line + 3); +- +- if (strncmp(name, "autodiscovery", 13) == 0) +- e2_network_discovery(); +- else +- attach_one_net(name); ++ if (!local_only) { ++ /* remove the "net" sub string */ ++ const char *name = ++ sanei_config_skip_whitespace(line + 3); ++ ++ if (strncmp(name, "autodiscovery", 13) == 0) ++ e2_network_discovery(); ++ else ++ attach_one_net(name); ++ } + + } else { + DBG(0, "unable to parse config line: %s\n", line); +@@ -545,12 +549,13 @@ free_devices(void) + } + + static void +-probe_devices(void) ++probe_devices(SANE_Bool local_only) + { + DBG(5, "%s\n", __func__); + + free_devices(); +- sanei_configure_attach(EPSONDS_CONFIG_FILE, NULL, attach_one_config); ++ sanei_configure_attach(EPSONDS_CONFIG_FILE, NULL, ++ attach_one_config, &local_only); + } + + /**** SANE API ****/ +@@ -581,14 +586,14 @@ sane_exit(void) + } + + SANE_Status +-sane_get_devices(const SANE_Device ***device_list, SANE_Bool __sane_unused__ local_only) ++sane_get_devices(const SANE_Device ***device_list, SANE_Bool local_only) + { + int i; + epsonds_device *dev; + + DBG(5, "** %s\n", __func__); + +- probe_devices(); ++ probe_devices(local_only); + + devlist = malloc((num_devices + 1) * sizeof(devlist[0])); + if (!devlist) { +@@ -793,7 +798,7 @@ sane_open(SANE_String_Const name, SANE_H + /* probe if empty device name provided */ + if (name[0] == '\0') { + +- probe_devices(); ++ probe_devices(SANE_FALSE); + + if (first_dev == NULL) { + DBG(1, "no devices detected\n"); +Index: trunk/backend/escl/escl.c +=================================================================== +--- trunk.orig/backend/escl/escl.c ++++ trunk/backend/escl/escl.c +@@ -383,7 +383,8 @@ sane_exit(void) + * \return escl_add_in_list(escl_device) if the parsing worked, SANE_STATUS_GOOD otherwise. + */ + static SANE_Status +-attach_one_config(SANEI_Config __sane_unused__ *config, const char *line) ++attach_one_config(SANEI_Config __sane_unused__ *config, const char *line, ++ void __sane_unused__ *data) + { + int port = 0; + SANE_Status status; +@@ -487,7 +488,8 @@ sane_get_devices(const SANE_Device ***de + + if (device_list == NULL) + return (SANE_STATUS_INVAL); +- status = sanei_configure_attach(ESCL_CONFIG_FILE, NULL, attach_one_config); ++ status = sanei_configure_attach(ESCL_CONFIG_FILE, NULL, ++ attach_one_config, NULL); + if (status != SANE_STATUS_GOOD) + return (status); + escl_devices(&status); +Index: trunk/backend/genesys/genesys.cpp +=================================================================== +--- trunk.orig/backend/genesys/genesys.cpp ++++ trunk/backend/genesys/genesys.cpp +@@ -5186,7 +5186,8 @@ static SANE_Status attach_one_device(SAN + + // this function is passed to C API, it must not throw + static SANE_Status +-config_attach_genesys(SANEI_Config __sane_unused__ *config, const char *devname) noexcept ++config_attach_genesys(SANEI_Config __sane_unused__ *config, const char *devname, ++ void __sane_unused__ *data) noexcept + { + /* the devname has been processed and is ready to be used + * directly. Since the backend is an USB only one, we can +@@ -5214,7 +5215,8 @@ static void probe_genesys_devices() + config.values = nullptr; + config.count = 0; + +- auto status = sanei_configure_attach(GENESYS_CONFIG_FILE, &config, config_attach_genesys); ++ auto status = sanei_configure_attach(GENESYS_CONFIG_FILE, &config, ++ config_attach_genesys, NULL); + if (status == SANE_STATUS_ACCESS_DENIED) { + dbg.vlog(DBG_error0, "Critical error: Couldn't access configuration file '%s'", + GENESYS_CONFIG_FILE); +Index: trunk/backend/kodakaio.c +=================================================================== +--- trunk.orig/backend/kodakaio.c ++++ trunk/backend/kodakaio.c +@@ -2513,10 +2513,11 @@ attach_one_net(const char *dev, unsigned + } + + static SANE_Status +-attach_one_config(SANEI_Config __sane_unused__ *config, const char *line) ++attach_one_config(SANEI_Config __sane_unused__ *config, const char *line, ++ void *data) + { + int vendor, product, timeout; +- ++ SANE_Bool local_only = *(SANE_Bool*) data; + int len = strlen(line); + + DBG(7, "%s: len = %d, line = %s\n", __func__, len, line); +@@ -2550,27 +2551,30 @@ attach_one_config(SANEI_Config __sane_un + + } else if (strncmp(line, "net", 3) == 0) { + +- /* remove the "net" sub string */ +- const char *name = sanei_config_skip_whitespace(line + 3); +- char IP[1024]; +- unsigned int model = 0; +- +- if (strncmp(name, "autodiscovery", 13) == 0) { +- +-#if WITH_AVAHI +- DBG (30, "%s: Initiating network autodiscovery via avahi\n", __func__); +- kodak_network_discovery(NULL); +-#else +- DBG (20, "%s: Network autodiscovery not done because not configured with avahi.\n", __func__); +-#endif +- +- } else if (sscanf(name, "%s %x", IP, &model) == 2) { +- DBG(30, "%s: Using network device on IP %s, forcing model 0x%x\n", __func__, IP, model); +- attach_one_net(IP, model); +- } else { ++ if (!local_only) { ++ /* remove the "net" sub string */ ++ const char *name = ++ sanei_config_skip_whitespace(line + 3); ++ char IP[1024]; ++ unsigned int model = 0; ++ ++ if (strncmp(name, "autodiscovery", 13) == 0) { ++ ++ #if WITH_AVAHI ++ DBG (30, "%s: Initiating network autodiscovery via avahi\n", __func__); ++ kodak_network_discovery(NULL); ++ #else ++ DBG (20, "%s: Network autodiscovery not done because not configured with avahi.\n", __func__); ++ #endif ++ ++ } else if (sscanf(name, "%s %x", IP, &model) == 2) { ++ DBG(30, "%s: Using network device on IP %s, forcing model 0x%x\n", __func__, IP, model); ++ attach_one_net(IP, model); ++ } else { + DBG(1, "%s: net entry %s may be a host name?\n", __func__, name); + attach_one_net(name, 0); + } ++ } + + } else if (sscanf(line, "snmp-timeout %i\n", &timeout)) { + /* Timeout for auto network discovery */ +@@ -2646,7 +2650,7 @@ sane_exit(void) + } + + SANE_Status +-sane_get_devices(const SANE_Device ***device_list, SANE_Bool __sane_unused__ local_only) ++sane_get_devices(const SANE_Device ***device_list, SANE_Bool local_only) + { + Kodak_Device *dev, *s, *prev=0; + int i; +@@ -2662,7 +2666,7 @@ sane_get_devices(const SANE_Device ***de + + /* Read the config, mark each device as found, possibly add new devs */ + sanei_configure_attach(KODAKAIO_CONFIG_FILE, NULL, +- attach_one_config); ++ attach_one_config, &local_only); + + /*delete missing scanners from list*/ + for (s = first_dev; s;) { +Index: trunk/backend/magicolor.c +=================================================================== +--- trunk.orig/backend/magicolor.c ++++ trunk/backend/magicolor.c +@@ -2157,10 +2157,11 @@ attach_one_net(const char *dev, unsigned + } + + static SANE_Status +-attach_one_config(SANEI_Config __sane_unused__ *config, const char *line) ++attach_one_config(SANEI_Config __sane_unused__ *config, const char *line, ++ void *data) + { + int vendor, product, timeout; +- ++ SANE_Bool local_only = *(SANE_Bool*) data; + int len = strlen(line); + + DBG(7, "%s: len = %d, line = %s\n", __func__, len, line); +@@ -2189,24 +2190,27 @@ attach_one_config(SANEI_Config __sane_un + + } else if (strncmp(line, "net", 3) == 0) { + +- /* remove the "net" sub string */ +- const char *name = sanei_config_skip_whitespace(line + 3); +- char IP[1024]; +- unsigned int model = 0; +- +- if (strncmp(name, "autodiscovery", 13) == 0) { +- DBG (50, "%s: Initiating network autodiscovervy via SNMP\n", __func__); +- mc_network_discovery(NULL); +- } else if (sscanf(name, "%s %x", IP, &model) == 2) { +- DBG(50, "%s: Using network device on IP %s, forcing model 0x%x\n", __func__, IP, model); +- attach_one_net(IP, model); +- } else { +- /* use SNMP to detect the type. If not successful, +- * add the host with model type 0 */ +- DBG(50, "%s: Using network device on IP %s, trying to autodetect model\n", __func__, IP); +- if (mc_network_discovery(name)==0) { +- DBG(1, "%s: Autodetecting device model failed, using default model\n", __func__); +- attach_one_net(name, 0); ++ if (!local_only) { ++ /* remove the "net" sub string */ ++ const char *name = ++ sanei_config_skip_whitespace(line + 3); ++ char IP[1024]; ++ unsigned int model = 0; ++ ++ if (strncmp(name, "autodiscovery", 13) == 0) { ++ DBG (50, "%s: Initiating network autodiscovervy via SNMP\n", __func__); ++ mc_network_discovery(NULL); ++ } else if (sscanf(name, "%s %x", IP, &model) == 2) { ++ DBG(50, "%s: Using network device on IP %s, forcing model 0x%x\n", __func__, IP, model); ++ attach_one_net(IP, model); ++ } else { ++ /* use SNMP to detect the type. If not successful, ++ * add the host with model type 0 */ ++ DBG(50, "%s: Using network device on IP %s, trying to autodetect model\n", __func__, IP); ++ if (mc_network_discovery(name)==0) { ++ DBG(1, "%s: Autodetecting device model failed, using default model\n", __func__); ++ attach_one_net(name, 0); ++ } + } + } + +@@ -2279,7 +2283,7 @@ sane_exit(void) + } + + SANE_Status +-sane_get_devices(const SANE_Device ***device_list, SANE_Bool __sane_unused__ local_only) ++sane_get_devices(const SANE_Device ***device_list, SANE_Bool local_only) + { + Magicolor_Device *dev, *s, *prev=0; + int i; +@@ -2295,7 +2299,7 @@ sane_get_devices(const SANE_Device ***de + + /* Read the config, mark each device as found, possibly add new devs */ + sanei_configure_attach(MAGICOLOR_CONFIG_FILE, NULL, +- attach_one_config); ++ attach_one_config, &local_only); + + /*delete missing scanners from list*/ + for (s = first_dev; s;) { +Index: trunk/backend/p5.c +=================================================================== +--- trunk.orig/backend/p5.c ++++ trunk/backend/p5.c +@@ -1566,7 +1566,8 @@ probe_p5_devices (void) + config.count = NUM_CFG_OPTIONS; + + /* generic configure and attach function */ +- status = sanei_configure_attach (P5_CONFIG_FILE, &config, config_attach); ++ status = sanei_configure_attach (P5_CONFIG_FILE, &config, ++ config_attach, NULL); + /* free allocated options */ + for (i = 0; i < NUM_CFG_OPTIONS; i++) + { +@@ -1590,7 +1591,8 @@ probe_p5_devices (void) + * SANE_STATUS_INVAL in case of error + */ + static SANE_Status +-config_attach (SANEI_Config * config, const char *devname) ++config_attach (SANEI_Config __sane_unused__ * config, const char *devname, ++ void __sane_unused__ *data) + { + /* currently, the config is a global variable so config is useless here */ + /* the correct thing would be to have a generic sanei_attach_matching_devices +Index: trunk/backend/p5.h +=================================================================== +--- trunk.orig/backend/p5.h ++++ trunk/backend/p5.h +@@ -195,7 +195,8 @@ typedef struct P5_Session + + static SANE_Status probe_p5_devices (void); + static P5_Model *probe (const char *devicename); +-static SANE_Status config_attach (SANEI_Config * config, const char *devname); ++static SANE_Status config_attach (SANEI_Config * config, const char *devname, ++ void *data); + static SANE_Status attach_p5 (const char *name, SANEI_Config * config); + static SANE_Status init_options (struct P5_Session *session); + static SANE_Status compute_parameters (struct P5_Session *session); +Index: trunk/backend/pixma/pixma.c +=================================================================== +--- trunk.orig/backend/pixma/pixma.c ++++ trunk/backend/pixma/pixma.c +@@ -159,10 +159,11 @@ static void mark_all_button_options_cach + ss -> button_option_is_cached[i] = 1; + } + +-static SANE_Status config_attach_pixma(SANEI_Config * config, const char *devname) ++static SANE_Status config_attach_pixma(SANEI_Config __sane_unused__ * config, ++ const char *devname, ++ void __sane_unused__ *data) + { + int i; +- UNUSED(config); + for (i=0; i < (MAX_CONF_DEVICES -1); i++) + { + if(conf_devices[i] == NULL) +@@ -1656,8 +1657,8 @@ sane_init (SANE_Int * version_code, SANE + config.descriptors = NULL; + config.values = NULL; + +- if (sanei_configure_attach(PIXMA_CONFIG_FILE, &config, config_attach_pixma) != +- SANE_STATUS_GOOD) ++ if (sanei_configure_attach(PIXMA_CONFIG_FILE, &config, ++ config_attach_pixma, NULL) != SANE_STATUS_GOOD) + PDBG(pixma_dbg(2, "Could not read pixma configuration file: %s\n", + PIXMA_CONFIG_FILE)); + +Index: trunk/backend/rts8891.c +=================================================================== +--- trunk.orig/backend/rts8891.c ++++ trunk/backend/rts8891.c +@@ -217,7 +217,7 @@ static Rts8891_Config rtscfg; + /* ------------------------------------------------------------------------- */ + static SANE_Status probe_rts8891_devices (void); + static SANE_Status config_attach_rts8891 (SANEI_Config * config, +- const char *devname); ++ const char *devname, void *data); + static SANE_Status attach_rts8891 (const char *name); + static SANE_Status set_lamp_brightness (struct Rts8891_Device *dev, + int level); +@@ -2374,7 +2374,7 @@ probe_rts8891_devices (void) + + /* generic configure and attach function */ + status = sanei_configure_attach (RTS8891_CONFIG_FILE, &config, +- config_attach_rts8891); ++ config_attach_rts8891, NULL); + /* free allocated options */ + for (i = 0; i < NUM_CFG_OPTIONS; i++) + { +@@ -2398,7 +2398,8 @@ probe_rts8891_devices (void) + * SANE_STATUS_INVAL in case of error + */ + static SANE_Status +-config_attach_rts8891 (SANEI_Config * config, const char *devname) ++config_attach_rts8891 (SANEI_Config * config, const char *devname, ++ void __sane_unused__ *data) + { + /* currently, the config is a global variable so config is useless here */ + /* the correct thing would be to have a generic sanei_attach_matching_devices +Index: trunk/backend/umax_pp.c +=================================================================== +--- trunk.orig/backend/umax_pp.c ++++ trunk/backend/umax_pp.c +@@ -419,7 +419,8 @@ umax_pp_auto_attach (SANEI_Config * conf + * device name to use for attach try. + */ + static SANE_Status +-umax_pp_configure_attach (SANEI_Config * config, const char *devname) ++umax_pp_configure_attach (SANEI_Config * config, const char *devname, ++ void __sane_unused__ *data) + { + const char *lp; + SANE_Char *token; +@@ -961,7 +962,7 @@ sane_init (SANE_Int * version_code, SANE + + /* generic configure and attach function */ + status = sanei_configure_attach (UMAX_PP_CONFIG_FILE, &config, +- umax_pp_configure_attach); ++ umax_pp_configure_attach, NULL); + + /* free option descriptors */ + for (i = 0; i < NUM_CFG_OPTIONS; i++) +Index: trunk/backend/xerox_mfp.c +=================================================================== +--- trunk.orig/backend/xerox_mfp.c ++++ trunk/backend/xerox_mfp.c +@@ -1028,7 +1028,8 @@ list_one_device(SANE_String_Const devnam + + /* SANE API ignores return code of this callback */ + static SANE_Status +-list_conf_devices(UNUSED(SANEI_Config *config), const char *devname) ++list_conf_devices(SANEI_Config __sane_unused__ *config, const char *devname, ++ void __sane_unused__ *data) + { + return tr_from_devname(devname)->configure_device(devname, list_one_device); + } +@@ -1080,7 +1081,7 @@ sane_get_devices(const SANE_Device *** d + config.count = 0; + config.descriptors = NULL; + config.values = NULL; +- sanei_configure_attach(XEROX_CONFIG_FILE, &config, list_conf_devices); ++ sanei_configure_attach(XEROX_CONFIG_FILE, &config, list_conf_devices, NULL); + + for (dev_count = 0, dev = devices_head; dev; dev = dev->next) + dev_count++; +Index: trunk/include/sane/sanei_config.h +=================================================================== +--- trunk.orig/include/sane/sanei_config.h ++++ trunk/include/sane/sanei_config.h +@@ -166,7 +166,9 @@ typedef struct + extern SANE_Status sanei_configure_attach ( + const char *config_file, + SANEI_Config *config, +- SANE_Status (*config_attach)(SANEI_Config *config, const char *devname) ++ SANE_Status (*config_attach)(SANEI_Config *config, const char *devname, ++ void *data), ++ void *data + ); + + /** Return the list of config directories, extracted from the SANE_CONFIG_DIR +Index: trunk/sanei/sanei_config.c +=================================================================== +--- trunk.orig/sanei/sanei_config.c ++++ trunk/sanei/sanei_config.c +@@ -239,7 +239,8 @@ sanei_config_read (char *str, int n, FIL + SANE_Status + sanei_configure_attach (const char *config_file, SANEI_Config * config, + SANE_Status (*attach) (SANEI_Config * config, +- const char *devname)) ++ const char *devname, void *data), ++ void *data) + { + SANE_Char line[PATH_MAX]; + SANE_Char *token, *string; +@@ -443,7 +444,7 @@ sanei_configure_attach (const char *conf + DBG (3, "sanei_configure_attach: trying to attach with '%s'\n", + lp2); + if(attach!=NULL) +- attach (config, lp2); ++ attach (config, lp2, data); + } + } + +Index: trunk/testsuite/sanei/sanei_config_test.c +=================================================================== +--- trunk.orig/testsuite/sanei/sanei_config_test.c ++++ trunk/testsuite/sanei/sanei_config_test.c +@@ -63,7 +63,8 @@ static const SANE_String_Const string_li + static char *lastdevname = NULL; + + static SANE_Status +-check_config_attach (SANEI_Config * config, const char *devname) ++check_config_attach (SANEI_Config * config, const char *devname, ++ void __sane_unused__ *data) + { + /* silence compiler warning for now */ + if (config == NULL) +@@ -97,7 +98,8 @@ inexistent_config (void) + config.descriptors = NULL; + config.values = NULL; + status = sanei_configure_attach (CONFIG_PATH +- "/data/inexistent.conf", &config, NULL); ++ "/data/inexistent.conf", &config, ++ NULL, NULL); + + /* check results */ + assert (status != SANE_STATUS_GOOD); +@@ -114,7 +116,7 @@ null_config (void) + + status = + sanei_configure_attach (CONFIG_PATH "/data/umax_pp.conf", NULL, +- check_config_attach); ++ check_config_attach, NULL); + + /* check results */ + assert (status == SANE_STATUS_GOOD); +@@ -130,7 +132,7 @@ null_attach (void) + SANE_Status status; + + status = sanei_configure_attach (CONFIG_PATH +- "/data/umax_pp.conf", NULL, NULL); ++ "/data/umax_pp.conf", NULL, NULL, NULL); + + /* check results */ + assert (status == SANE_STATUS_GOOD); +@@ -151,7 +153,7 @@ empty_config (void) + config.values = NULL; + status = + sanei_configure_attach (CONFIG_PATH "/data/empty.conf", +- &config, check_config_attach); ++ &config, check_config_attach, NULL); + + /* check results */ + assert (status == SANE_STATUS_GOOD); +@@ -206,7 +208,7 @@ string_option (void) + /* configure and attach */ + status = + sanei_configure_attach (CONFIG_PATH "/data/string.conf", +- &config, check_config_attach); ++ &config, check_config_attach, NULL); + + /* check results */ + assert (status == SANE_STATUS_GOOD); +@@ -250,7 +252,7 @@ int_option (void) + /* configure and attach */ + status = + sanei_configure_attach (CONFIG_PATH "/data/int.conf", &config, +- check_config_attach); ++ check_config_attach, NULL); + + /* check results */ + assert (status == SANE_STATUS_GOOD); +@@ -293,7 +295,7 @@ wrong_range_int_option (void) + /* configure and attach */ + status = + sanei_configure_attach (CONFIG_PATH "/data/wrong-range.conf", +- &config, check_config_attach); ++ &config, check_config_attach, NULL); + + /* check results */ + assert (status == SANE_STATUS_INVAL); +@@ -336,7 +338,7 @@ word_array_option (void) + /* configure and attach */ + status = + sanei_configure_attach (CONFIG_PATH "/data/word-array.conf", +- &config, check_config_attach); ++ &config, check_config_attach, NULL); + + /* check results */ + assert (status == SANE_STATUS_GOOD); +@@ -382,7 +384,7 @@ string_list_option (void) + /* configure and attach */ + status = + sanei_configure_attach (CONFIG_PATH "/data/string-list.conf", +- &config, check_config_attach); ++ &config, check_config_attach, NULL); + + /* check results */ + assert (status == SANE_STATUS_GOOD); +@@ -428,7 +430,7 @@ wrong_string_list_option (void) + status = + sanei_configure_attach (CONFIG_PATH + "/data/wrong-string-list.conf", &config, +- check_config_attach); ++ check_config_attach, NULL); + + /* check results */ + assert (status == SANE_STATUS_INVAL); +@@ -563,7 +565,7 @@ umax_pp (void) + /* configure and attach */ + status = + sanei_configure_attach (CONFIG_PATH "/data/umax_pp.conf", +- &config, check_config_attach); ++ &config, check_config_attach, NULL); + + /* check results */ + assert (status == SANE_STATUS_GOOD); +@@ -631,7 +633,7 @@ wrong_bool_option (void) + /* configure and attach */ + status = + sanei_configure_attach (CONFIG_PATH "/data/wrong-boolean.conf", +- &config, check_config_attach); ++ &config, check_config_attach, NULL); + + /* check results */ + assert (status == SANE_STATUS_INVAL); +@@ -696,7 +698,7 @@ bool_option (void) + /* configure and attach */ + status = + sanei_configure_attach (CONFIG_PATH "/data/boolean.conf", +- &config, check_config_attach); ++ &config, check_config_attach, NULL); + + /* check results */ + assert (status == SANE_STATUS_GOOD); +@@ -767,7 +769,7 @@ fixed_option (void) + /* configure and attach */ + status = + sanei_configure_attach (CONFIG_PATH "/data/fixed.conf", +- &config, check_config_attach); ++ &config, check_config_attach, NULL); + + /* check results */ + assert (status == SANE_STATUS_GOOD); +@@ -814,7 +816,7 @@ wrong_fixed_option (void) + /* configure and attach */ + status = + sanei_configure_attach (CONFIG_PATH "/data/wrong-fixed.conf", +- &config, check_config_attach); ++ &config, check_config_attach, NULL); + + /* check results */ + assert (status == SANE_STATUS_INVAL); +@@ -852,7 +854,7 @@ snapscan (void) + /* configure and attach */ + status = + sanei_configure_attach (CONFIG_PATH "/data/snapscan.conf", +- &config, check_config_attach); ++ &config, check_config_attach, NULL); + + /* check results */ + assert (status == SANE_STATUS_GOOD); diff --git a/debian/patches/0170-return_empty_list_when_local_devices_requested.patch b/debian/patches/0170-return_empty_list_when_local_devices_requested.patch new file mode 100644 index 0000000..5d0ba04 --- /dev/null +++ b/debian/patches/0170-return_empty_list_when_local_devices_requested.patch @@ -0,0 +1,43 @@ +Description: eturn_empty_list_when_local_devices_requested +Author: Barnabás Pőcze <pobrn@protonmail.com> +Origin: backport, https://gitlab.com/sane-project/backends/-/commit/c946aa5a84297f33b30cddb0c89fcf375ed65d10 +Bug: https://gitlab.com/sane-project/backends/-/merge_requests/506 +Forwarded: not-needed +Last-Update: 2020-09-19 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/backend/dell1600n_net.c +=================================================================== +--- trunk.orig/backend/dell1600n_net.c ++++ trunk/backend/dell1600n_net.c +@@ -233,6 +233,9 @@ static void JpegDecompTermSource (j_deco + /* Results of last call to sane_get_devices */ + static struct DeviceRecord *gKnownDevices[MAX_SCANNERS]; + ++/* Empty list for when network devices are not wanted */ ++static const SANE_Device *gEmptyDeviceList[1]; ++ + /* Array of open scanner device states. + :NOTE: (int)SANE_Handle is an offset into this array */ + static struct ScannerState *gOpenScanners[MAX_SCANNERS]; +@@ -306,15 +309,17 @@ sane_get_devices (const SANE_Device *** + const char *pVal; + int valLen; + ++ if (local_only) { ++ *device_list = gEmptyDeviceList; ++ return SANE_STATUS_GOOD; ++ } ++ + /* init variables */ + ret = SANE_STATUS_GOOD; + sock = 0; + pDevice = NULL; + optYes = 1; + +- if (local_only) +- return ret; +- + InitComBuf (&queryPacket); + + /* clear previous results */ diff --git a/debian/patches/0600-scanimage_manpage.patch b/debian/patches/0600-scanimage_manpage.patch new file mode 100644 index 0000000..ddf125f --- /dev/null +++ b/debian/patches/0600-scanimage_manpage.patch @@ -0,0 +1,21 @@ +Description: Add remark to options. +Author: Jörg Frings-Fürst <debian@jff-webhosting.net> +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=418630 +Forwarded: not-needed +Last-Update: 2015-01-18 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/doc/scanimage.man +=================================================================== +--- trunk.orig/doc/scanimage.man ++++ trunk/doc/scanimage.man +@@ -75,6 +75,9 @@ To print all available options: + scanimage \-h + + .SH OPTIONS ++\fBRemark:\fR Parameter are defined by the backends. So are \-\-mode Gray and \-\-mode Grayscale in use. ++Please read the backend documentation first. ++ + Parameters are separated by a blank from single-character options (e.g. + \-d epson) and by a "=" from multi-character options (e.g. \-\-device\-name=epson). + diff --git a/debian/patches/0705-kfreebsd.patch b/debian/patches/0705-kfreebsd.patch new file mode 100644 index 0000000..86f7650 --- /dev/null +++ b/debian/patches/0705-kfreebsd.patch @@ -0,0 +1,17 @@ +description: Fix build failure on kfreebsd (closes: #680234) +author: Petr Salinger +Index: trunk/backend/umax_pp_low.c +=================================================================== +--- trunk.orig/backend/umax_pp_low.c ++++ trunk/backend/umax_pp_low.c +@@ -74,8 +74,10 @@ + #endif + + #ifdef HAVE_MACHINE_CPUFUNC_H ++#ifndef __GLIBC__ + #include <machine/cpufunc.h> + #endif ++#endif + + #ifdef HAVE_I386_SET_IOPERM + #include <machine/sysarch.h> diff --git a/debian/patches/0725-fix_link_60-libsane_rule.patch b/debian/patches/0725-fix_link_60-libsane_rule.patch new file mode 100644 index 0000000..ec851cf --- /dev/null +++ b/debian/patches/0725-fix_link_60-libsane_rule.patch @@ -0,0 +1,33 @@ +Description: Fix directory for 20-sane.hwdb +Author: Jörg Frings-Fürst <debian@jff.email> +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916239 +Forwarded: not-needed +Last-Update: 2019-04-27 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/tools/sane-desc.c +=================================================================== +--- trunk.orig/tools/sane-desc.c ++++ trunk/tools/sane-desc.c +@@ -3651,7 +3651,7 @@ print_udevhwdb_header (void) + ("#\n" + "# udev rules file for supported USB and SCSI devices\n" + "#\n" +- "# For the list of supported USB devices see /usr/lib/udev/hwdb.d/20-sane.hwdb\n" ++ "# For the list of supported USB devices see /lib/udev/hwdb.d/20-sane.hwdb\n" + "#\n" + "# The SCSI device support is very basic and includes only\n" + "# scanners that mark themselves as type \"scanner\" or\n" +Index: trunk/testsuite/tools/data/udev+hwdb.ref +=================================================================== +--- trunk.orig/testsuite/tools/data/udev+hwdb.ref ++++ trunk/testsuite/tools/data/udev+hwdb.ref +@@ -3,7 +3,7 @@ + # + # udev rules file for supported USB and SCSI devices + # +-# For the list of supported USB devices see /usr/lib/udev/hwdb.d/20-sane.hwdb ++# For the list of supported USB devices see /lib/udev/hwdb.d/20-sane.hwdb + # + # The SCSI device support is very basic and includes only + # scanners that mark themselves as type "scanner" or diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..f7b7531 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,17 @@ +0035-trim-libraries-in-sane-backends.pc.in.patch +0040-remove_git.patch +0100-source_spelling.patch +0125-multiarch_dll_search_path.patch +0140-avahi.patch +0145-avahi.patch +0600-scanimage_manpage.patch +0705-kfreebsd.patch +0725-fix_link_60-libsane_rule.patch +0150-i386-test.patch +0155-hurd_PATH_MAX.patch +0045-disable_lock_test_at_build_time.patch +0050-Use-python3-shebang.patch +0055-Fix_build_error.patch +0060-cross.patch +0165-respect_local_only_parameter.patch +0170-return_empty_list_when_local_devices_requested.patch diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in new file mode 100644 index 0000000..1b73720 --- /dev/null +++ b/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] sane-utils.templates diff --git a/debian/po/ca.po b/debian/po/ca.po new file mode 100644 index 0000000..ef29021 --- /dev/null +++ b/debian/po/ca.po @@ -0,0 +1,116 @@ +# sane-backends translation to Catalan +# Copyright (C) 2010 Software in the Public Interest +# This file is distributed under the same license as the PACKAGE package. +# Innocent De Marchi <tangram.peces@gmail.com>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: 1.0.22-6\n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2011-09-30 19:07+0100\n" +"Last-Translator: Innocent De Marchi <tangram.peces@gmail.com>\n" +"Language-Team: catalan <debian-l10n-catalan@lists.debian.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Catalan\n" +"X-Poedit-Country: SPAIN\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "Activar saned com un servidor independent?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "" +"El servidor saned, quan està activada, permet tenir els escànners " +"disponibles a la xarxa." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"Hi ha dues maneres d'executar saned:\n" +" - com un servei d'inetd, iniciat pel super servidor inetd. En aquesta " +"modalitat,\n" +"saned s'inicia en la demanda quan un client es connecta al servidor;\n" +" - com un dimoni independent, en l'arrencada del sistema. En aquesta " +"modalitat, saned\n" +"s'executa en segon pla per si mateix i escolta les connexions dels clients." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"Quan s'executa en mode independent, saned s'anuncia a la xarxa i pot ser " +"detectat automàticament pels clients SANE sense que els clients hagin " +"d'ésser configurats. Tot i així, és necessari configurar el servidor per " +"acceptar connexions dels seus clients. Aquesta característica és " +"experimental i requereix que el dimoni Avahi estigui en funcionament." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "Acceptar aquesta opció si desitja fer ús d'aquesta funció." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "Afegir l'usuari saned al grup escànner?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"El servidor saned, quan està activat, fa que els escànners estiguin " +"disponibles a la xarxa. Mitjançant l'aplicació de diferents permisos als " +"diferents escànners connectats a la vostra màquina, podeu controlar quins " +"estaran disponibles a la xarxa." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"Llegiu «/usr/share/doc/sane-utils/README.Debian» per a més detalls sobre la " +"forma d'administrar els permisos de saned. Per defecte, saned s'executa sota " +"l'usuari i grup saned." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" +"Acceptau aquesta opció si voleu que tots els escànners estiguin disponibles " +"a la xarxa sense restriccions." diff --git a/debian/po/cs.po b/debian/po/cs.po new file mode 100644 index 0000000..171a23e --- /dev/null +++ b/debian/po/cs.po @@ -0,0 +1,110 @@ +# Czech translation of sane-backends debconf messages. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the sane-backends package. +# Miroslav Kure <kurem@debian.cz>, 2008-2010 +# +msgid "" +msgstr "" +"Project-Id-Version: sane-backends\n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2010-09-28 12:02+0200\n" +"Last-Translator: Miroslav Kure <kurem@debian.cz>\n" +"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "Povolit saned jako samostatný server?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "" +"Pokud je saned server povolený, zpřístupňuje dostupné scannery přes síť." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"Existují dva způsoby spouštění saned:\n" +" - jako služba inetd, kterou startuje superserver inetd. V tomto režimu je " +"saned spuštěn pouze v případě, že se klient snaží připojit k serveru;\n" +" - jako samostatný daemon spouštěný při zavádění systému. V tomto režimu " +"běží saned celou dobu na pozadí a sám naslouchá příchozím spojením." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"Při spuštění jako samostatný daemon se saned sám nabízí na síti a SANE " +"klienti ho mohou rozpoznat automaticky, bez dalšího nastavování na straně " +"klienta. Stále však budete muset nastavit server, aby přijímal příchozí " +"spojení od klientů. Tato vlastnost je experimentální a vyžaduje běžícího " +"daemona Avahi." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "Chcete-li této vlastnosti využít, odpovězte kladně." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "Přidat uživatele saned do skupiny scanner?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"Pokud je saned server povolený, zpřístupňuje dostupné scannery přes síť. " +"Nastavením různých přístupových oprávnění ke scannerům připojeným k tomuto " +"počítači můžete řídit, které scannery mají být přístupné přes síť." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"Podrobnosti o správě oprávnění pro saned se dočtete v /usr/share/doc/sane-" +"utils/README.Debian. Ve výchozím nastavení se saned spouští pod uživatelem i " +"skupinou saned." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" +"Chcete-li zpřístupnit přes síť všechny scannery bez omezení, tuto možnost " +"povolte." diff --git a/debian/po/da.po b/debian/po/da.po new file mode 100644 index 0000000..399dd0c --- /dev/null +++ b/debian/po/da.po @@ -0,0 +1,111 @@ +# Danish translation sane-backends. +# Copyright (C) 2010 sane-backends & nedenstående oversættere. +# This file is distributed under the same license as the sane-backends package. +# Joe Hansen <joedalton2@yahoo.dk>, 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: sane-backends\n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2010-10-09 13:26+0100\n" +"Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n" +"Language-Team: Danish <debian-l10n-danish@lists.debian.org> \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "Aktiver saned som en enkeltstående server?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "" +"Saned-serveren, når aktiveret, gør skannere tilgængelige over netværket." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"Der er to måder at køre saned:\n" +" - som en inetd-tjeneste, startet af inetd-superserveren. I denne\n" +"tilstand startes saned efter behov, når en klient forbinder til serveren;\n" +" - som en enkeltsående dæmon, igangsat ved systemopstart. I denne tilstand,\n" +"kører saned i baggrunden og lytter efter klientforbindelser." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"Når kørt i enkeltstående tilstand, reklamerer saned for sig selv på " +"netværket og kan detekteres automatisk af SANE-klienter uden nogen " +"konfiguration fra klientsiden. Du skal stadig konfigurere serveren til at " +"acceptere forbindelserne fra dine klienter. Denne funktion er eksperimentel " +"og kræver en kørende Avahidæmon." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "Accepter denne indstilling hvis du ønsker at bruge denne funktion." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "Tilføj sanedbruger til skannergruppen?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"Sanedserveren, når aktiveret, gør skannere tilgængelige over netværket. Ved " +"at anvende forskellige rettigheder for de forskellige skannere tilsluttet " +"din maskine, kan du kontrollere hvilke, som vil være tilgængelige over " +"netværket." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"Læs /usr/share/doc/sane-utils/README.Debian for detaljer om hvordan du " +"håndterer rettigheder for saned. Som standard køres saned under " +"sanedbrugeren og -gruppen." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" +"Accepter denne indstilling hvis du ønsker at gøre alle dine skannere " +"tilgængelige over netværket uden begrænsninger." diff --git a/debian/po/de.po b/debian/po/de.po new file mode 100644 index 0000000..175e51c --- /dev/null +++ b/debian/po/de.po @@ -0,0 +1,114 @@ +# Translation of sane-backends debconf templates to German +# Copyright (C) Helge Kreutzmann <debian@helgefjell.de>, 2008, 2009. +# This file is distributed under the same license as the sane-backends package. +# +msgid "" +msgstr "" +"Project-Id-Version: sane-backends 1.0.20-11\n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2009-12-27 10:20+0100\n" +"Last-Translator: Helge Kreutzmann <debian@helgefjell.de>\n" +"Language-Team: de <debian-l10n-german@lists.debian.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "Aktiviere Saned als Einzel-Server?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "" +"Der Saned-Server stellt Scanner über das Netz zu Verfügung, wenn er " +"aktiviert ist." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"Es gibt zwei Arten, Saned zu betreiben:\n" +" - als Inetd-Service, gestartet über den Inetd-Superserver. In diesem Modus\n" +"wird Saned nach Bedarf gestartet, wenn sich ein Client mit dem Server\n" +"verbindet.\n" +" - als Einzel-Server, gestartet beim Systemstart. In diesem Modus läuft " +"Saned\n" +" selbst im Hintergrund und wartet auf Anfragen von Clients." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"Im Einzel-Server-Modus macht sich Saned über das Netz bekannt und kann von " +"SANE-Clients ohne Konfiguration auf der Clientseite automatisch erkannt " +"werden. Sie müssen dennoch den Server konfigurieren, damit er Verbindungen " +"von den Clients akzeptiert. Diese Funktionalität ist experimentell und " +"benötigt einen laufenden Avahi-Daemon." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "" +"Akzeptieren Sie diese Option, falls Sie diese Funktionalität nutzen wollen." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "Saned-Benutzer zu der Scanner-Gruppe hinzufügen?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"Falls er aktiviert wird, stellt der Saned-Server Scanner über das Netz " +"bereit. Durch Verteilen verschiedener Rechte auf verschiedene Scanner an " +"Ihrer Maschine können Sie steuern, welche davon über Netz bereitgestellt " +"werden." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"Lesen Sie /usr/share/doc/sane-utils/README.Debian für Details über die " +"Rechteverwaltung für Saned. Standardmäßig läuft Saned unter dem saned-" +"Benutzer und dessen Gruppe." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" +"Akzeptieren Sie diese Option, falls Sie alle Ihre Scanner über das Netz ohne " +"Einschränkungen zur Verfügung stellen wollen." diff --git a/debian/po/es.po b/debian/po/es.po new file mode 100644 index 0000000..116b5b4 --- /dev/null +++ b/debian/po/es.po @@ -0,0 +1,140 @@ +# sane-backends translation to spanish +# Copyright (C) 2010 Software in the Public Interest +# This file is distributed under the same license as the sane-backends package. +# +# Changes: +# - Initial translation +# Ignacio Mondino <ignacio.mondino@gmail.com>, 2008 +# +# - Updates +# Camaleón <noelamac@gmail.com>, 2010 +# +# Traductores, si no conoce el formato PO, merece la pena leer la +# documentación de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Equipo de traducción al español, por favor lean antes de traducir +# los siguientes documentos: +# - El proyecto de traducción de Debian al español +# http://www.debian.org/intl/spanish +# especialmente las notas de traducción en +# http://www.debian.org/intl/spanish/notas +# +# - La guía de traducción de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# +msgid "" +msgstr "" +"Project-Id-Version: sane-backends_1.0.21-4\n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2010-10-10 14:03+0100\n" +"Last-Translator: Camaleón <noelamac@gmail.com>\n" +"Language-Team: Debian Spanish team <debian-l10n-spanish@lists.debian.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "¿Desea activar saned como un servidor independiente?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "" +"Se puede acceder a los escáneres a través de la red cuando se activa el " +"servidor saned." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"Hay dos maneras de ejecutar saned:\n" +" - como un servicio inetd, iniciado por el súper servidor inetd. En este " +"modo,\n" +"saned se inicia bajo demanda cada vez que el cliente intenta conectarse al " +"servidor;\n" +" - como un demonio independiente, lanzado al inicio del sistema. En este " +"modo, saned\n" +"se ejecuta en segundo plano a sí mismo y escucha las conexiones de los " +"clientes." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"En modo independiente, saned se anuncia a sí mismo en la red y puede " +"detectarse automáticamente por los clientes SANE sin configuración por parte " +"de los mismos. Aun así, será necesario que configure el servidor para " +"aceptar conexiones de los clientes. Esta característica es experimental y " +"necesita que el demonio Avahi esté en ejecución." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "Acepte esta opción si desea utilizar esta característica." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "¿Desea agregar al usuario saned al grupo scanner?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"Se puede acceder a los escáneres a través de la red cuando está activado el " +"servidor saned. Puede controlar qué dispositivos se ofrecerán de esta forma " +"aplicando distintos permisos a los distintos escáneres conectados a su " +"equipo." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"Consulte «/usr/share/doc/sane-utils/README.Debian» para obtener detalles " +"sobre cómo gestionar los permisos para saned. De manera predeterminada, " +"saned se ejecuta con el usuario y grupo saned." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" +"Acepte esta opción si desea que todos los escáneres estén disponibles a " +"través de la red sin restricciones." diff --git a/debian/po/eu.po b/debian/po/eu.po new file mode 100644 index 0000000..4760ab0 --- /dev/null +++ b/debian/po/eu.po @@ -0,0 +1,116 @@ +# translation of sane-backends_1.0.21-4.1_eu.po to Basque +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Piarres Beobide <pi@beobide.net>, 2008. +# Iñaki Larrañaga Murgoitio <dooteo@euskalgnu.org>, 2010. +msgid "" +msgstr "" +"Project-Id-Version: sane-backends_1.0.21-4.1_eu\n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2010-10-09 13:12+0200\n" +"Last-Translator: Iñaki Larrañaga Murgoitio <dooteo@euskalgnu.org>\n" +"Language-Team: Basque <debian-l10n-basque@lists.debian.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "Saned bakarkako zerbitzari gisa gaitu?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "" +"Saned zerbitzariak, gaituta dagoenean, eskanerrak sarearen bidez eskuragarri " +"egiten ditu." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"Saned exekutatzeko bi modu daude:\n" +" - inetd zerbitzu gisa, inetd superzerbitzariak abiarazita. Modu honetan\n" +"saned behar denean inetd bidez abiaraziko da bezero batek zerbitzarira " +"konektatzen saiatzean;\n" +" - bakarkako deabru gisa, sistemaren abioan abiarazita. Modu honetan, saned\n" +"atzeko planoan exekutatzen da eta bezeroen konexioei itxoiten die." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"Bakarkako moduan exekutatzean, saned-ek bere burua sarean aurkezten du eta " +"automatikoki atzeman dezakete SANE bezeroek konfigurazio berezirik gabe. Zuk " +"zerbitzaria konfiguratu behar duzu bezeroetatik konexioak onartzeko. " +"Eginbide hau esperimentala da, eta Avahi daemona exekutatzen egotea eskatzen " +"du." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "Onartu aukera hau eginbide hau erabiltzea nahi baduzu." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "Gehitu saned erabiltzailea scanner taldera?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"Saned zerbitzariak, gaituta dagoenean, eskanerrak sarearen bidez erabilgarri " +"egiten ditu. Zure makinara konektatuta dagoen eskaner bakoitzari baimen " +"desberdinak ezarriz horietariko zein sarearen bidez erabilgarri izango diren " +"kontrola dezakezu." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"Irakurri /usr/share/doc/sane-utils/README.Debian saned-eko baimen " +"kudeaketari buruz xehetasun gehiagorako. Lehenetsi gisa saned zerbitzaria " +"saned erabiltzaile eta taldearekin exekutatzen da." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" +"Onartu aukera hau zure eskaner guztiak sarearen bidez eta mugarik gabe " +"erabilgarri egin bahi badituzu." diff --git a/debian/po/fi.po b/debian/po/fi.po new file mode 100644 index 0000000..023d88d --- /dev/null +++ b/debian/po/fi.po @@ -0,0 +1,114 @@ +# Esko Arajärvi <edu@iki.fi>, 2010. +msgid "" +msgstr "" +"Project-Id-Version: sane-backends\n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2010-10-17 21:36+0300\n" +"Last-Translator: Esko Arajärvi <edu@iki.fi>\n" +"Language-Team: Finnish <debian-l10n-finnish@lists.debian.org>\n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Finnish\n" +"X-Poedit-Country: FINLAND\n" +"X-Generator: Lokalize 1.0\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "Ajetaanko sanedia itsenäisenä palvelimena?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "" +"Käytössä ollessaan saned-palvelin tarjoaa kuvanlukijat käytettäviksi verkon " +"yli." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"Ohjelmaa saned voidaan ajaa kahdella eri tavalla:\n" +" - inetd-palveluna, jolloin se käynnistetään inetd-palvelimen\n" +" avulla, kun asiakasohjelma ottaa yhteyden palvelimeen.\n" +" - itsenäisenä palvelimena, joka käynnistetään järjestelmän\n" +" käynnistyessä. Tällöin saned pyörii taustaprosessina\n" +" jatkuvasti ja kuuntelee asiakkaiden yhteydenottoja." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"Ajettaessa itsenäisenä prosessina saned kertoo itsestään verkossa ja\n" +"SANE-asiakkaat voivat havaita sen automaattisesti ilman erityisiä\n" +"asetuksia asiakasohjelmassa. Palvelin tulee edelleen asettaa hyväksymään\n" +"asiakkaiden yhteydenotot. Tämä ominaisuus on koekäytössä ja vaatii\n" +"Avahi-taustaohjelman." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "Valitse tämä vaihtoehto, jos haluat käyttää tätä ominaisuutta." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "Lisätäänkö saned-käyttäjä ryhmään scanner?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"Ollessaan käytössä saned-palvelin mahdollistaa kuvanlukijoiden käytön verkon " +"yli. " +"Asettamalla eri oikeuksia järjestelmään kytketyille kuvanlukijoille voidaan " +"valita mitkä niistä ovat käytettävissä verkon kautta." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"Tiedostossa /usr/share/doc/sane-utils/README.Debian on lisätietoja " +"oikeuksien hallinnasta. Oletuksena saned ajetaan käyttäjällä ja ryhmällä " +"saned." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" +"Valitse tämä vaihtoehto, jos kaikki kuvanlukijat halutaan asettaa " +"käytettäväksi " +"verkon yli ilman rajoituksia." diff --git a/debian/po/fr.po b/debian/po/fr.po new file mode 100644 index 0000000..1150115 --- /dev/null +++ b/debian/po/fr.po @@ -0,0 +1,118 @@ +# Translation of sane-backends debconf templates to French +# Copyright (C) 2008 Christian Perrier <bubulle@debian.org> +# This file is distributed under the same license as the sane-backends package. +# +# Christian Perrier <bubulle@debian.org>, 2008, 2009. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2009-12-29 14:10+0100\n" +"Last-Translator: Christian Perrier <bubulle@debian.org>\n" +"Language-Team: French <debian-l10n-french@lists.debian.org>\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 1.0\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "Faut-il activer le serveur « saned » ?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "" +"Le serveur « saned », une fois activé, rend disponibles les scanners sur le " +"réseau." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"Il existe deux méthodes pour exécuter le serveur :\n" +" - via le superserveur inetd : dans ce mode, le serveur est lancé\n" +" à la demande quand un client se connecte ; \n" +" - en tant que démon autonome, lancé au démarrage du système : dans\n" +" ce mode, le serveur fonctionne en permanence en tâche de fond, en\n" +" attente des connexions des clients." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"En mode autonome, le démon s'annonce sur le réseau et peut alors être " +"automatiquement détecté par les clients SANE sans nécessiter de " +"configuration particulière de ces clients. Il restera nécessaire de " +"configurer le serveur pour qu'il accepte les connexions des clients. Cette " +"fonctionnalité est expérimentale et nécessite un démon Avahi opérationnel." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "" +"Si vous choisissez cette option, le serveur sera lancé au démarrage du " +"système." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "Faut-il ajouter l'utilisateur « saned » au groupe « scanner » ?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"Lorsque le serveur saned est activé, les scanners deviennent accessibles via " +"le réseau. Il est possible d'autoriser ou non l'accès via le réseau aux " +"différents scanners de cette machine, en modifiant les permissions de chacun " +"d'eux." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"Veuillez lire le fichier /usr/share/doc/sane-utils/README.Debian pour plus " +"d'informations sur la gestion des permissions pour saned. Par défaut, le " +"démon est exécuté avec les privilèges de l'utilisateur et du groupe " +"« saned »." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" +"Si vous choisissez cette option, tous les scanners deviendront accessibles " +"via le réseau sans restriction." diff --git a/debian/po/gl.po b/debian/po/gl.po new file mode 100644 index 0000000..eb3946b --- /dev/null +++ b/debian/po/gl.po @@ -0,0 +1,125 @@ +# Galician translation of sane-backends's debconf templates +# This file is distributed under the same license as the sane-backends package. +# Jacobo Tarrio <jtarrio@debian.org>, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: sane-backends\n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2008-05-06 22:50+0100\n" +"Last-Translator: Jacobo Tarrio <jtarrio@debian.org>\n" +"Language-Team: Galician <proxecto@trasno.net>\n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "¿Activar saned coma un servidor autónomo?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "" +"O servidor saned, cando está activado, deixa os escáneres dispoñibles pola " +"rede." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +#, fuzzy +#| msgid "" +#| "There are two ways of running saned:\n" +#| " - as an inetd service, started by the inetd superserver. In this mode,\n" +#| "saned is started as needed by inetd whenever a client tries to connect to " +#| "the server;\n" +#| " - as a standalone daemon, started at system boot. In this mode, saned\n" +#| "runs in the background all by itself and listens for client connections." +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"Hai dúas maneiras de executar saned:\n" +" - coma un servizo de inetd, iniciado polo superservidor inetd.\n" +" Neste modo, saned iníciase cando sexa necesario cada vez que\n" +" un cliente tente conectarse ao servidor;\n" +" - coma un servizo autónomo, que se inicia ao arrincar o sistema.\n" +" Neste modo, saned execútase en segundo plano e espera\n" +" conexións por parte dos clientes." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +#, fuzzy +#| msgid "" +#| "When run in standalone mode, saned advertises itself on the network and " +#| "can be detected automatically by the SANE clients with no configuration " +#| "on the client side. You still need to configure the server to accept " +#| "connections from your clients." +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"Ao executalo en modo autónomo, saned anúnciase na rede e os clientes SANE " +"pódeno detectar automaticamente sen necesidade de os configurar. Aínda ha " +"ter que configurar o servidor para aceptar conexións dos clientes." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "Acepte esta opción se quere empregar esta funcionalidade." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "¿Engadir saned ao grupo do escáner?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"O servidor saned, cando está activado, fai que os escáneres estean " +"dispoñibles pola rede. Aplicando distintos permisos aos diferentes escáneres " +"conectados á máquina, pódense controlar cales han estar dispoñibles pola " +"rede." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"Consulte /usr/share/doc/sane-utils/README.Debian para máis detalles sobre " +"como xestionar os permisos de saned. Por defecto, saned execútase co usuario " +"e grupo \"saned\"." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" +"Acepte esta opción se quere que tódolos escáneres estean dispoñibles pola " +"rede sen restricións." diff --git a/debian/po/it.po b/debian/po/it.po new file mode 100644 index 0000000..83db4bd --- /dev/null +++ b/debian/po/it.po @@ -0,0 +1,112 @@ +# Translation of sane-backends debconf templates to Italian +# This file is distributed under the same license as the sane-backends package. +# Luca Monducci <luca.mo@tiscali.it>, 2008-2010. +# +msgid "" +msgstr "" +"Project-Id-Version: sane-backends 1.0.21\n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2010-08-20 16:35+0200\n" +"Last-Translator: Luca Monducci <luca.mo@tiscali.it>\n" +"Language-Team: Italian <debian-l10n-italian@lists.debian.org>\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "Attivare saned come servizio autonomo?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "" +"Il server saned, quando attivo, rende gli scanner disponibili tramite la " +"rete." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"Il server può essere eseguito in due modalità:\n" +" - come servizio di inetd, attivato dal superserver inetd. In questa\n" +" modalità saned è attivato su richiesta quando un client si connette\n" +" al server;\n" +" - come demone autonomo, attivato all'avvio del sistema. In questa\n" +" modalità saned è sempre attivo e in attesa delle connessioni dei\n" +" client." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"In modalità autonoma, saned si annuncia da solo sulla rete e può essere " +"rilevato automaticamente dai client SANE senza configurare i client. È " +"comunque necessario configurare il server per accettare le connessioni dai " +"client. Questa funzionalità è sperimentale e richiede che il demone Avahi " +"sia attivo." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "Accettare per utilizzare questa funzione." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "Aggiungere l'utente saned al gruppo scanner?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"Il server saned, quando attivo, rende gli scanner disponibili tramite la " +"rete. È possibile applicare permessi diversi a ogni scanner collegato alla " +"macchina in modo da controllare quali saranno disponibili tramite la rete." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"Per sapere come gestire i permessi per saned, leggere /usr/share/doc/sane-" +"utils/README.Debian. Con la configurazione predefinita, saned viene eseguito " +"con utente e gruppo saned." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" +"Accettare per rendere tutti i propri scanner disponibili sulla rete senza " +"alcuna restrizione." diff --git a/debian/po/ja.po b/debian/po/ja.po new file mode 100644 index 0000000..a6784fc --- /dev/null +++ b/debian/po/ja.po @@ -0,0 +1,111 @@ +# Copyright (C) 2008-2009 Julien BLACHE <jblache@debian.org> +# as sane-backends Debian package's copyright holder. +# This file is distributed under the same license as the sane-backends package. +# Hideki Yamane (Debian-JP) <henrich@debian.or.jp>, 2008-2010. +# +msgid "" +msgstr "" +"Project-Id-Version: sane-backends 1.0.14-9\n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2010-01-09 11:21+0200\n" +"Last-Translator: Hideki Yamane (Debian-JP) <henrich@debian.or.jp>\n" +"Language-Team: Japanese <debian-japanese@lists.debian.org>\n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "saned をスタンドアロンなサーバとして有効にしますか?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "" +"有効にした場合、saned サーバはネットワーク越しにスキャナを利用できるようにな" +"ります。" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"saned を実行するには二通りのやり方があります:\n" +" - inetd サービスとして実行し、inetd スーパーサーバから起動する。この場合、" +"saned はクライアントが接続の際に inetd の要請に応じて起動されます。\n" +" - システム起動時にスタンドアロンなデーモンとして実行する。この場合、saned は" +"完全にバックグラウンドで実行されクライアントからの接続を待ちつづけます。" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"スタンドアロンで実行している場合、saned はネットワークに対して存在しているこ" +"とを通知します。そのため、クライアント側では何の設定もせずに SANE クライアン" +"トがサーバを自動的に認識できるようになります。サーバの設定でクライアントから" +"の接続を受け付けられるようにする必要もあります。この機能は実験的なもので、" +"Avahi デーモンが動作していることが必要になります。" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "この機能を使いたい場合はこのオプションを有効にしてください。" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "saned ユーザを scanner グループに追加しますか?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"saned サーバが有効にされた場合、ネットワーク越しにスキャナが利用出来るように" +"なります。マシンに接続されているスキャナごとに異なった設定を適用することで、" +"どれがネットワーク越しに利用できるようにするかをコントロール出来ます。" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"saned の権限の取扱い方については、詳細は /usr/share/doc/sane-utils/README." +"Debian を参照してください。デフォルトでは、saned は saned ユーザと saned グ" +"ループの権限で動作します。" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" +"特に制限無く全てのスキャナを有効にしたい場合は、このオプションを有効にしてく" +"ださい。" diff --git a/debian/po/nl.po b/debian/po/nl.po new file mode 100644 index 0000000..d5dc520 --- /dev/null +++ b/debian/po/nl.po @@ -0,0 +1,115 @@ +# Dutch translation of sane-backends debconf templates. +# Copyright (C) 2011 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the sane-backends package. +# Jeroen Schot <schot@a-eskwadraat.nl>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: sane-backends 1.0.22-2\n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2011-05-17 10:34+0200\n" +"Last-Translator: Jeroen Schot <schot@a-eskwadraat.nl>\n" +"Language-Team: Debian l10n Dutch <debian-l10n-dutch@lists.debian.org>\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "Wilt u saned als losstaande server activeren?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "" +"Indien geactiveerd maakt de saned-server scanners beschikbaar over het " +"netwerk." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"Er zijn twee manieren om saned te draaien:\n" +" - Als een inetd-dienst, gestart door de inetd-superserver. In deze modus\n" +"wordt saned pas opgestart wanneer een client verbinding met de server " +"maakt.\n" +" - Als een losstaande achtergronddienst, opgestart bij de systemstart. In\n" +"deze modus draait saned zelfstandig op de achtergrond en luistert naar\n" +"client-verbindingen." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"Wanneer saned in losstaande modus draait adverteert het zichzelf op het " +"netwerk en kan door SANE-clients zonder configuratie automatisch worden " +"gedetecteerd. U dient wel nog steeds de server te configureren om " +"verbindingen van uw clients te accepteren. Deze functionaliteit is " +"experimenteel en vereist een draaiende Avahi-achtergronddienst." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "" +"Kies voor deze optie als u gebruik wilt maken van deze functionaliteit." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "De saned-gebruiker toevoegen aan de scanner-groep?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"Indien geactiveerd maakt de saned-server scanners beschikbaar over het " +"netwerk. Door verschillende permissies toe te kennen aan de verschillende " +"scanners van deze machine kunt u bepalen welke er over het netwerk " +"beschikbaar worden gemaakt." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"Lees /usr/share/doc/sane-utils/README.Debian voor informatie over het " +"beheren van permissies voor saned. Standaard draait saned onder de saned-" +"gebruiker en groep." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" +"Kies voor deze optie als u al uw scanners zonder beperkingen over het " +"netwerk beschikbaar wilt maken." diff --git a/debian/po/pl.po b/debian/po/pl.po new file mode 100644 index 0000000..425bb4a --- /dev/null +++ b/debian/po/pl.po @@ -0,0 +1,114 @@ +# Translation of sane-backends debconf templates to Polish. +# Copyright (C) 2009 +# This file is distributed under the same license as the sane-backends package. +# +# Michał Kułach <michal.kulach@gmail.com>, 2012. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2012-02-02 11:05+0100\n" +"Last-Translator: Michał Kułach <michal.kulach@gmail.com>\n" +"Language-Team: Polish <debian-l10n-polish@lists.debian.org>\n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 1.2\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "Włączyć saned jako samodzielny serwer?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "Serwer saned, kiedy jest uruchomiony, udostępnia skanery w sieci." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"Są dwa sposoby działania saned:\n" +" - jako usługa inetd, uruchomiona przez super-serwer inetd. W tym trybie " +"saned\n" +"jest uruchamiany na żądanie, podczas połączenia klienta z serwerem;\n" +" - jako samodzielny demon, uruchamiany podczas rozruchu systemu. W tym " +"trybie\n" +"saned działa w tle i nasłuchuje połączeń klientów." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"Jeśli program działa w trybie samodzielnym, saned rozgłasza się w sieci i " +"może być automatycznie wykrywany przez klienty SANE, bez potrzeby " +"konfiguracji po stronie klienta. Nadal jednak będzie konieczne " +"skonfigurowanie serwera tak, aby akceptował połączenia od klientów. Funkcja " +"ta jest eksperymentalna i wymaga działania demona Avahi." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "Proszę wybrać \"tak\", aby używać tej funkcji." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "Czy dodać użytkownika saned do grupy scanner?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"Serwer saned, kiedy jest uruchomiony, udostępnia skanery w sieci. Po " +"wprowadzeniu różnych uprawnień dla różnych skanerów podłączonych do tego " +"komputera, można kontrolować który z nich ma być dostępny w sieci." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"Proszę zapoznać się z /usr/share/doc/sane-utils/README.Debian, aby " +"dowiedzieć się więcej o zarządzaniu uprawnieniami saned. Domyślnie saned " +"działa z poziomu użytkownika i grupy saned." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" +"Proszę wybrać \"tak\", aby udostępnić wszystkie swoje skanery w sieci bez " +"dodatkowych ograniczeń." diff --git a/debian/po/pt.po b/debian/po/pt.po new file mode 100644 index 0000000..c512c1c --- /dev/null +++ b/debian/po/pt.po @@ -0,0 +1,112 @@ +# translation of sane-backends debconf to Portuguese +# Copyright (C) 2008 the sane-backends's copyright holder +# This file is distributed under the same license as the sane-backends package. +# +# Américo Monteiro <a_monteiro@netcabo.pt>, 2008, 2009. +msgid "" +msgstr "" +"Project-Id-Version: sane-backends 1.0.20-11\n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2009-12-27 21:49+0000\n" +"Last-Translator: Américo Monteiro <a_monteiro@netcabo.pt>\n" +"Language-Team: Portuguese <traduz@debianpt.org>\n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 1.0\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "Activar o saned como servidor autónomo?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "" +"O servidor saned, quando activo, torna os scanners disponíveis na rede. " + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"Existem duas maneiras de correr o saned:\n" +"- como um serviço inetd, iniciado pelo superservidor inetd. Neste modo,\n" +"o saned arranca a pedido quando um cliente se liga ao servidor;\n" +"- como um deamon autónomo, iniciado no arranque do sistema. Neste modo,\n" +"o saned corre autónomo em segundo plano e escuta por ligações de clientes." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"Quando corre em modo autónomo, o saned anuncia-se a si próprio na rede e " +"pode ser detectado automaticamente pelos clientes do SANE sem nenhuma " +"configuração no lado do cliente. Você ainda precisa de configurar o servidor " +"para aceitar ligações dos seus clientes. Esta funcionalidade é experimental " +"e requer um daemon Avahi em funcionamento." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "Aceite esta opção se deseja usar esta funcionalidade." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "Adicionar o utilizador saned ao grupo scanner?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"O servidor saned, quando activo, torna os scanners disponíveis na rede. Ao " +"aplicar diferentes permissões aos vários scanners ligados à sua máquina, " +"você pode controlar quais deles estarão disponíveis na rede." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"Leia /usr/share/doc/sane-utils/README.Debian para detalhes em como gerir " +"permissões para o saned. Por pré-definição, o saned corre sob o utilizador e " +"grupo saned." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" +"Aceite esta opção se deseja tornar todos os seus scanners disponíveis na " +"rede sem restrições." diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po new file mode 100644 index 0000000..c5cad51 --- /dev/null +++ b/debian/po/pt_BR.po @@ -0,0 +1,114 @@ +# sane-backends Brazilian Portuguese translation +# Copyright (C) 2008 THE sane-backends'S COPYRIGHT HOLDER +# This file is distributed under the same license as the sane-backends package. +# Eder L. Marques <eder@edermarques.net>, 2008-2011. +# +msgid "" +msgstr "" +"Project-Id-Version: sane-backends-1.0.19-7\n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2011-03-19 18:31-0300\n" +"Last-Translator: Eder L. Marques <eder@edermarques.net>\n" +"Language-Team: Brazilian Portuguese <debian-l10n-portuguese@lists.debian." +"org>\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "Habilitar o saned como um servidor autônomo?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "" +"O servidor saned, quando habilitado, torna os scanners disponíveis através " +"da rede." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"Existem duas maneiras de executar o saned:\n" +" - como um serviço inetd, iniciado pelo super-servidor inetd. Nesse\n" +"modo, o saned é iniciado sob demanda quando um cliente conecta ao\n" +"servidor;\n" +" - como um daemon autônomo, iniciado na inicialização do sistema. Nesse\n" +"modo, o saned executa em segundo plano por si só e escuta por conexões\n" +"de clientes." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"Quando executado no modo autônomo, o saned publica-se na rede e pode ser " +"detectado automaticamente pelos clientes SANE sem nenhuma configuração no " +"lado do cliente. Você continua precisando configurar o servidor para aceitar " +"conexões de seus clientes. Esse recurso é experimental e requer um daemon " +"Avahi em execução." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "Aceite esta opção se você quer fazer uso desse recurso." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "Adicionar o usuário saned ao grupo scanner?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"O servidor saned, quando habilitado, torna os scanners disponíveis através " +"da rede. Ao aplicar diferentes permissões a diferentes scanners conectados a " +"sua máquina, você pode controlar quais estarão disponíveis através da rede." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"Leia /usr/share/doc/sane-utils/README.Debian para detalhes sobre como " +"gerenciar permissões para o saned. Por padrão, o saned é executado sob o " +"usuário e grupo saned." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" +"Aceite esta opção se você quer tornar todos os seus scanners disponíveis " +"através da rede sem restrições." diff --git a/debian/po/ru.po b/debian/po/ru.po new file mode 100644 index 0000000..d0e750b --- /dev/null +++ b/debian/po/ru.po @@ -0,0 +1,114 @@ +# translation of sane-backends_1.0.20-11_ru.po to Russian +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Yuri Kozlov <kozlov.y@gmail.com>, 2008. +# Yuri Kozlov <yuray@komyakino.ru>, 2009. +msgid "" +msgstr "" +"Project-Id-Version: sane-backends_1.0.20-11\n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2009-12-30 19:10+0300\n" +"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n" +"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "Запускать saned как отдельную службу?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "Если включена служба saned, то сканеры становятся доступными по сети." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"saned можно запускать двумя способами:\n" +" - как служба inetd с помощью суперсервера inetd. В этом режиме saned\n" +"запускается в момент, когда в inetd поступает клиентский запрос на\n" +"подключение к серверу;\n" +" - в виде самостоятельной службы при включении компьютера. В этом\n" +"режиме saned работает в фоновом режиме и сам принимает клиентские\n" +"подключения." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"При работе в виде самостоятельной службы, saned анонсирует себя в сети и " +"может быть автоматически найден клиентами SANE без выполнения настроек на их " +"стороне. Вам нужно только настроить сервер для приёма запросов от клиентов. " +"Это экспериментальная возможность и требует запущенной службы Avahi." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "Ответьте утвердительно, если хотите использовать эту возможность." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "Добавить учётную запись saned в группу scanner?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"Если включена служба saned, то сканеры становятся доступными через сеть. " +"Назначая различные права на конкретные сканеры, подключённые к компьютеру, " +"вы можете сделать доступными через сеть только нужные." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"В файле /usr/share/doc/sane-utils/README.Debian подробно описано, как " +"управлять правами saned. По умолчанию, saned запускается с правами учётной " +"записи и группы saned." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" +"Ответьте утвердительно, если хотите, чтобы все сканеры были доступны по сети " +"без ограничений." diff --git a/debian/po/sk.po b/debian/po/sk.po new file mode 100644 index 0000000..57e8b1d --- /dev/null +++ b/debian/po/sk.po @@ -0,0 +1,112 @@ +# Slovak translations for sane-backends package +# Slovenské preklady pre balík sane-backends. +# Copyright (C) 2011 THE sane-backends'S COPYRIGHT HOLDER +# This file is distributed under the same license as the sane-backends package. +# Automatically generated, 2011. +# Slavko <linux@slavino.sk>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: sane-backends 1.0.22-6\n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2011-08-25 10:52+0200\n" +"Last-Translator: Slavko <linux@slavino.sk>\n" +"Language-Team: Slovak <debian-l10n-slovak@lists.debian.org>\n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "Povoliť saned ako samostatný server?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "Server saned, keď je povolený, sprístupňuje skenery cez sieť." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"Existujú dva spôsoby spustenia saned:\n" +" - ako služba inetd, spúšťaný pomocou superservera inetd. V tomto režime\n" +"je saned spustený na požiadanie, pri pripojení klienta k serveru;\n" +" - ako samostatný démon, spúšťaný pri štarte systému. V tomto režime saned\n" +"stále beží na pozadí a sám prijíma spojenia klientov." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"Pri spustení v samostatnom režime sa saned sám ponúka v sieti a klienty SANE " +"ho tak môžu automaticky zistiť, bez potreby nastavenia na strane klienta. " +"Stále však budete musieť nastaviť server tak, aby prijímal spojenia od " +"svojich klientov. Táto vlastnosť je experimentálna a vyžaduje bežiaceho " +"démona Avahi." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "Vyberte túto voľbu, ak chcete používať túto funkciu." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "Pridať používateľa saned do skupiny scanner?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"Server saned, keď je povolený, sprístupňuje skenery cez sieť. Pomocou " +"nastavenia rôznych práv rôznym skenerom, ktoré sú pripojené k vášmu stroju, " +"môžete riadiť ktorý(é) z nich bude dostupný cez sieť." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"Ďalšie podrobnosti o správe práv saned hľadajte v /usr/share/doc/sane-utils/" +"README.Debian. Predvolene je saned spustený s právami používateľa a skupiny " +"saned." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" +"Vyberte túto voľbu, ak chcete sprístupniť cez sieť všetky svoje skenery bez " +"obmedzení." diff --git a/debian/po/sv.po b/debian/po/sv.po new file mode 100644 index 0000000..2f9600b --- /dev/null +++ b/debian/po/sv.po @@ -0,0 +1,111 @@ +# translation of sane-backends to swedish +# Copyright (C) 2009 Martin Bagge +# This file is distributed under the same license as the sane-backends package. +# +# Martin Bagge <brother@bsnet.se>, 2008, 2009. +msgid "" +msgstr "" +"Project-Id-Version: sane-backends_1.0.19-10_sv\n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2009-12-29 11:26+0100\n" +"Last-Translator: Martin Bagge <brother@bsnet.se>\n" +"Language-Team: swedish <debian-l10n-swedish@lists.debian.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "Aktivera saned som ensamstående tjänst?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "När saned är aktiverad så kan man komma åt scanrarna över nätverket." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"Det finns två sätt att köra saned:\n" +" - som en inetd-tjänst, startad av superservern inetd. I detta läge\n" +"startas saned när en klient som behöver saned ansluter till servern.\n" +" - som ensamstående tjänst, startad av systemet vid uppstart. I\n" +"detta läge körs saned i bakgrunden hela tiden och lyssnar efter\n" +"anslutningar från klienter." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"När saned körs i ensamstående läge så meddelar saned det till nätverket och " +"kan på så vis automatiskt upptäckas av SANE-klienter utan att det behöver " +"ställas in något på klient-sidan. Du behöver dock fortfarande ställa in " +"tjänsten att ta emot anslutningar från klienterna. Denna funktion är " +"experimentiell och kräver att Avahi-tjänsten körs." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "Välj detta alternativet om du vill använda denna funktionen." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "Lägg till en saned-användare till scanner-gruppen?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"När saned är aktiverad så kan man komma åt scanrarna över nätverket. Genom " +"att ange olika regler till de olika scanrarna så kan du kontrollera vilka " +"som ska vara tillgängliga över nätverket." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"Läs /usr/share/doc/sane-utils/README.Debian för detaljerad information om " +"hur man ställer in reglerna för saned. I standardläget körs saned i en egen " +"användare och grupp 'saned'." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" +"Ange detta alternativ om du vill göra alla dina scanrar tillgängliga över " +"nätverket utan några restriktioner." diff --git a/debian/po/templates.pot b/debian/po/templates.pot new file mode 100644 index 0000000..f010415 --- /dev/null +++ b/debian/po/templates.pot @@ -0,0 +1,91 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" diff --git a/debian/po/vi.po b/debian/po/vi.po new file mode 100644 index 0000000..c683daa --- /dev/null +++ b/debian/po/vi.po @@ -0,0 +1,113 @@ +# Vietnamese translation for SANE Backends. +# Copyright © 2010 Free Software Foundation, Inc. +# Clytie Siddall <clytie@riverland.net.au>, 2008-2010. +# +msgid "" +msgstr "" +"Project-Id-Version: sane-backends 1.0.21-4.1\n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2010-10-27 14:41+1030\n" +"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n" +"Language-Team: Vietnamese <vi-VN@googlegroups.com>\n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: LocFactoryEditor 1.8\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "Bật saned làm trình phục vụ độc lập ?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "Bật trình phục vụ saned thì làm cho máy quét sẵn sàng qua mạng." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"Có hai phương pháp chạy saned:\n" +" • làm dịch vụ inetd, được khởi chạy bởi siêu trình phục vụ inetd.\n" +"\tTrong chế độ này, saned được khởi chạy theo yêu cầu,\n" +"\tkhi ứng dụng khách kết nối đến trình phục vụ.\n" +" • làm trình nền độc lập, được khởi chạy vào lúc khởi động hệ thống.\n" +"\tTrong chế độ này, saned chạy một mình về nền,\n" +"\tvà lắng nghe kết nối của ứng dụng khách." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"Chạy trong chế độ độc lập thì trình nền saned tự quảng cáo trên mạng, và có " +"thể được tự động phát hiện bởi ứng dụng khách SANE mà không cần cấu hình " +"riêng bên khách. Bạn vẫn còn cần phải cấu hình trình phục vụ để chấp nhận " +"kết nối từ ứng dụng khách. Tính năng này vẫn còn dựa vào thực nghiệm, cũng " +"yêu cầu một trình nền Avahi đang chạy." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "Bật tuỳ chọn này để sử dụng tính năng đó." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "Thêm người dùng saned vào nhóm « scanner » ?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"Bật trình phục vụ saned thì làm cho máy quét sẵn sàng trên khắp mạng. Bằng " +"cách áp dụng các quyền hạn khác nhau cho những máy quét khác nhau được kết " +"nối đến máy này, bạn có thể điều khiển những máy quét sẽ được công bố qua " +"mạng." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"Xem tài liệu Đọc Đi « /usr/share/doc/sane-utils/README.Debian » để tìm chi " +"tiết về quản lý quyền hạn cho saned như thế nào. Mặc định là saned được chạy " +"dưới người dùng và nhóm « saned »." + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "" +"Bật tùy chọn này để làm cho tất cả các máy quét sẵn sàng qua mạng một cách " +"không điều kiện." diff --git a/debian/po/zh_CN.po b/debian/po/zh_CN.po new file mode 100644 index 0000000..a525815 --- /dev/null +++ b/debian/po/zh_CN.po @@ -0,0 +1,105 @@ +# Chinese translations for PACKAGE package +# PACKAGE 软件包的简体中文翻译. +# Copyright (C) 2010 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# YunQiang Su <wzssyqa@gmail.com>, 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: saned VERSION\n" +"Report-Msgid-Bugs-To: sane-backends@packages.debian.org\n" +"POT-Creation-Date: 2009-12-12 13:14+0100\n" +"PO-Revision-Date: 2010-10-09 16:57+0800\n" +"Last-Translator: YunQiang Su <wzssyqa@gmail.com>\n" +"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Enable saned as a standalone server?" +msgstr "将 saned 作为独立的服务器启动?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"The saned server, when enabled, makes scanners available over the network." +msgstr "启用 saned 服务器时,将使扫描仪在网络上可用。" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"There are two ways of running saned:\n" +" - as an inetd service, started by the inetd superserver. In this mode,\n" +"saned is started on demand when a client connects to the server;\n" +" - as a standalone daemon, started at system boot. In this mode, saned\n" +"runs in the background all by itself and listens for client connections." +msgstr "" +"有两种方式允许 saned:\n" +" - 作为一个 inetd 服务,由 inetd 超级服务器启动。此模式下,\n" +"服务器在客户端有连接请求时,按需启动;\n" +" - 作为一个独立的守护进程,在系统启动时启动。此模式下,saned 一直自己\n" +"在后台运行,并且监听客户端的连接。" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "" +"When run in standalone mode, saned advertises itself on the network and can " +"be detected automatically by the SANE clients with no configuration on the " +"client side. You still need to configure the server to accept connections " +"from your clients. This feature is experimental and requires a running Avahi " +"daemon." +msgstr "" +"运行在独立模式时,saned 在网络上宣传自己并且可以被 SANE 客户端探测到(免配" +"置)。您仍然需要在服务器上进行配置让其接受客户端上的连接。这个功能是实验性的," +"并且要求一个正在运行的 Avahi 守护进程。" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:1001 +msgid "Accept this option if you want to make use of this feature." +msgstr "如果想使用这个功能,接受此选项。" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "Add saned user to the scanner group?" +msgstr "将 saned 用户添加到 scanner 组?" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"The saned server, when enabled, makes scanners available over the network. " +"By applying different permissions to the different scanners connected to " +"your machine, you can control which ones will be made available over the " +"network." +msgstr "" +"启用 saned 服务器时,它使扫描仪在网络上可用。通过向连接到机器上的不同扫描仪提" +"供不同的权限,您可以控制让哪个可以在网络上使用。" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Read /usr/share/doc/sane-utils/README.Debian for details on how to manage " +"permissions for saned. By default, saned is run under the saned user and " +"group." +msgstr "" +"阅读 /usr/share/doc/sane-utils/README.Debian 来获取关于如何管理 saned 权限更" +"多细节。默认的,saned 运行在 saned 用户和组下。" + +#. Type: boolean +#. Description +#: ../sane-utils.templates:2001 +msgid "" +"Accept this option if you want to make all your scanners available over the " +"network without restriction." +msgstr "接受此选项,如果想让扫描仪在网络上不受限制的使用。" diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..1109e1f --- /dev/null +++ b/debian/rules @@ -0,0 +1,155 @@ +#!/usr/bin/make -f +#export DH_VERBOSE=1 + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +include /usr/share/dpkg/default.mk + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s + INSTALL_STRIP_FLAG = "" + STRIP = "" +endif + +ifeq (,$(filter hurd-i386,$(DEB_HOST_ARCH))) + INS_CONF = --enable-parport-directio +else + INS_CONF = "" +endif + +%: + dh $@ + +ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) +SANE_DESC = $(CURDIR)/tools/sane-desc +else +SANE_DESC = $(CURDIR)/debian/sane-desc +endif + +override_dh_auto_configure: + autoconf +ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) + dpkg-architecture -f "-a$(DEB_BUILD_ARCH)" -c dh_auto_configure + $(MAKE) -C $(CURDIR)/lib liblib.la + $(MAKE) -C $(CURDIR)/sanei libsanei.la + $(MAKE) -C $(CURDIR)/tools sane-desc + mv $(CURDIR)/tools/sane-desc $(CURDIR)/debian/sane-desc + $(RM) include/byteorder.h include/_stdint.h + dh_auto_clean +endif + dh_auto_configure -- \ + --prefix=/usr \ + --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --datadir=\$${prefix}/share \ + --mandir=\$${prefix}/share/man \ + --docdir=\$${prefix}/share/doc/libsane \ + --enable-static \ + --enable-pthread \ + --with-gphoto2 \ + --with-avahi \ + --enable-pnm-backend \ + --with-usb \ + --without-v4l \ + --disable-locking \ + $(INS_CONF) + +override_dh_autoreconf: + dh_autoreconf -Xlibtool.m4 + +override_dh_auto_build-indep: + # generate POT file for translators + $(MAKE) + (cd po && make sane-backends.pot) + +override_dh_auto_clean: + # Autoconf-generated files + $(RM) include/byteorder.h include/_stdint.h + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + $(RM) debian/libsane1.udev + dh_auto_clean + $(RM) $(SANE_DESC) + +override_dh_auto_install-arch: + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + # remove /usr/lib/sane/libsane.so.1 (libtool side-effect ?) + $(RM) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/sane/libsane.so.1 + # remove libsane-dll, same as regular libsane + $(RM) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/sane/libsane-dll.* + +override_dh_auto_install-indep: + dh_auto_install + +override_dh_install-arch: + dh_install + # Install the pkg-config file + mkdir -p debian/libsane-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/ + cp tools/sane-backends.pc debian/libsane-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/ + cp debian/sane-utils.logrotate debian/sane-utils/etc/logrotate.d/sane-utils + +override_dh_install-indep: + dh_install + +override_dh_installman-indep: + dh_installman + # remove man files from package sane-utils + $(RM) $(CURDIR)/debian/libsane-common/usr/share/man/man1/gamma4scanimage.1 + $(RM) $(CURDIR)/debian/libsane-common/usr/share/man/man1/sane-find-scanner.1 + $(RM) $(CURDIR)/debian/libsane-common/usr/share/man/man1/scanimage.1 + $(RM) $(CURDIR)/debian/libsane-common/usr/share/man/man1/sane-config.1 + $(RM) $(CURDIR)/debian/libsane-common/usr/share/man/man5/sane-umax_pp.5 + $(RM) -r $(CURDIR)/debian/libsane-common/usr/share/man/man8/ + $(RM) -r $(CURDIR)/debian/libsane-common/usr/share/man/man1/ + # remove manpages for not build libs + $(RM) $(CURDIR)/debian/libsane-common/usr/share/man/man5/sane-v4l.5 + +override_dh_installman-arch: + dh_installman + $(RM) $(CURDIR)/debian/sane-utils/usr/share/man/man1/sane-config.1 + +override_dh_installdocs-arch: + dh_installdocs + # move files that belong to libsane-dev + mv debian/tmp/usr/share/doc/libsane/backend-writing.txt debian/libsane-dev/usr/share/doc/libsane-dev/ + +override_dh_installdocs-indep: + dh_installdocs + # Platform-specific documentation + $(RM) debian/libsane-common/etc/sane.d/saned.conf +ifeq (kfreebsd,$(DEB_HOST_ARCH_OS)) + cp README.freebsd debian/libsane-common/usr/share/doc/libsane-common/ +endif +ifeq (linux,$(DEB_HOST_ARCH_OS)) + cp README.linux debian/libsane-common/usr/share/doc/libsane-common/ +endif + +override_dh_installudev-arch: +ifeq (linux,$(DEB_HOST_ARCH_OS)) + # udev support + # Generate the udev rules file + $(SANE_DESC) -s $(CURDIR)/doc/descriptions -m udev+hwdb > $(CURDIR)/debian/libsane1.udev + $(SANE_DESC) -s $(CURDIR)/doc/descriptions -m hwdb > $(CURDIR)/debian/20-sane.hwdb + + cp $(CURDIR)/debian/20-sane.hwdb $(CURDIR)/debian/libsane1/lib/udev/hwdb.d/ + dh_installudev +endif + + # remove rpath from the binaries (wonderful tool !) + chrpath -d debian/sane-utils/usr/sbin/saned + chrpath -d debian/sane-utils/usr/bin/scanimage + chrpath -d debian/sane-utils/usr/bin/sane-find-scanner + +override_dh_installinit-arch: + dh_installinit -psane-utils --name=saned + +override_dh_installsystemd-arch: + dh_installsystemd -psane-utils --no-enable --name=saned + dh_installsystemd -psane-utils --no-enable --name=saned@ + +override_dh_makeshlibs-arch: + dh_makeshlibs --exclude=/sane/ -- -v$(DEB_VERSION_UPSTREAM) -Pdebian/libsane1 -plibsane1 diff --git a/debian/sane-utils.README.Debian b/debian/sane-utils.README.Debian new file mode 100644 index 0000000..d5dd23f --- /dev/null +++ b/debian/sane-utils.README.Debian @@ -0,0 +1,83 @@ +sane-utils (sane-backends) for Debian +------------------------------------- + +This package contains various utilities shipped with sane-backends, among +which saned, the network scanner daemon used to share scanners over the +network. + + +saned setup +----------- + +Please read this file carefully to setup your saned server properly. + + -> Setting up permissions for saned + -> Running saned from inetd + -> Running saned as a standalone daemon + + + Setting up permissions for saned + -------------------------------- + +A saned user and a saned group have been added to your system; it is highly +recommended to run saned as user and group saned and NEVER EVER as root. + +To operate properly, saned must be able to access your scanners; different +setups are possible, depending on who should be able to use the scanners: + + * saned users only: + => device owned by saned:saned, saned:root or root:saned + + * saned users and local users: + => device owned by saned:scanner, local users added to the scanner group + + * local users only: + => device owned by root:scanner, local users added to the scanner group + +By default the saned user is NOT part of the scanner group. If you add the +saned user to the scanner group, ALL scanners will be made available over the +network without restrictions. Do that if you do not want/need to restrict one +or more scanners to local users only. + +If you intend to use saned with a USB scanner, note that the permissions for +USB scanners are handled by udev. + +See /usr/share/doc/libsane/README.Debian.gz for more information on setting up +appropriate permissions. + + Running saned from inetd + ------------------------ + +To enable saned in the default configuration (running as user and group saned), +use update-inetd to enable the service: + # update-inetd --enable sane-port +To disable saned, use update-inetd to disable the service: + # update-inetd --disable sane-port + +If you want to run saned under another user and/or group, edit /etc/inetd.conf +and change saned:saned for the appropriate user:group combination. + + Running saned from systemd + -------------------------- + +To enable saned in the default configuration (running as user and group saned), +use systemctl to enable the service: + # systemctl enable saned.socket +To disable saned, use systemctl to disable the service: + # systemctl disable saned.socket + + + Running saned as a standalone daemon + ------------------------------------ + +When run as a standalone daemon, saned can advertise its services over the +network, and the SANE clients will automatically discover the saned servers +(provided the clients support this). + +To run saned as a standalone server: + - if you were previously running saned from inetd, disable it (see above) + - run dpkg-reconfigure sane-utils + + +-- Julien BLACHE <jblache@debian.org>, Mon, 05 May 2008 19:29:28 +0200 +-- Jörg Frings-Fürst <debian@jff-webhosting.net> Tue, 16 Dec 2014 22:04:23 +0100 diff --git a/debian/sane-utils.config b/debian/sane-utils.config new file mode 100644 index 0000000..af7e2f0 --- /dev/null +++ b/debian/sane-utils.config @@ -0,0 +1,12 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +if [ -e /etc/default/saned ]; then + . /etc/default/saned + +fi + +db_input medium sane-utils/saned_scanner_group || true +db_go || true diff --git a/debian/sane-utils.dirs b/debian/sane-utils.dirs new file mode 100644 index 0000000..ebf3df5 --- /dev/null +++ b/debian/sane-utils.dirs @@ -0,0 +1 @@ +/etc/logrotate.d diff --git a/debian/sane-utils.install b/debian/sane-utils.install new file mode 100644 index 0000000..c6afd3e --- /dev/null +++ b/debian/sane-utils.install @@ -0,0 +1,6 @@ +etc/sane.d/saned.conf +usr/bin/gamma4scanimage +usr/bin/sane-find-scanner +usr/bin/scanimage +usr/sbin/saned +usr/bin/umax_pp diff --git a/debian/sane-utils.links b/debian/sane-utils.links new file mode 100644 index 0000000..dacfe5d --- /dev/null +++ b/debian/sane-utils.links @@ -0,0 +1,2 @@ +/dev/null /lib/systemd/system/saned.service +/usr/share/man/man5/sane-umax_pp.5 /usr/share/man/man5/umax_pp.5 diff --git a/debian/sane-utils.logrotate b/debian/sane-utils.logrotate new file mode 100644 index 0000000..654e370 --- /dev/null +++ b/debian/sane-utils.logrotate @@ -0,0 +1,9 @@ +/var/log/saned.log { + daily + missingok + rotate 7 + compress + copytruncate + notifempty + create 640 saned saned +} diff --git a/debian/sane-utils.manpages b/debian/sane-utils.manpages new file mode 100644 index 0000000..6a2c010 --- /dev/null +++ b/debian/sane-utils.manpages @@ -0,0 +1,3 @@ +usr/share/man/man8/*.8 +usr/share/man/man1/*.1 +/usr/share/man/man5/sane-umax_pp.5 diff --git a/debian/sane-utils.postinst b/debian/sane-utils.postinst new file mode 100644 index 0000000..2d47e78 --- /dev/null +++ b/debian/sane-utils.postinst @@ -0,0 +1,84 @@ +#!/bin/sh +set -e +. /usr/share/debconf/confmodule + +SANED_DEFAULT=/etc/default/saned + +# +# POSIX-compliant shell function +# to check for the existence of a command +# Return 0 if found +# +pathfind() { + OLDIFS="$IFS" + IFS=: + for p in $PATH; do + if [ -x "$p/$*" ]; then + IFS="$OLDIFS" + return 0 + fi + done + IFS="$OLDIFS" + return 1 +} + + + +if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ]; then + db_get sane-utils/saned_run + RUN_SANED="$RET" + + db_get sane-utils/saned_scanner_group + SANED_IN_SCANNER="$RET" + + # Add saned service, disabled by default + pathfind update-inetd + if [ $? = 0 ]; then + update-inetd --add "#<off># sane-port\tstream\ttcp\tnowait\tsaned:saned\t/usr/sbin/saned saned" + fi + + # Stop debconf; output to stdout after this point. update-inetd needs debconf. + db_stop + + # Create saned user/group if they do not exist + if ! getent passwd | grep -q "^saned:"; then + echo "Adding saned group and user..." + adduser --home /var/lib/saned --quiet --system --no-create-home --group saned || true + fi + + # Move home from /home/saned to /var/lib/saned (since 1.0.24-6) + if getent passwd | grep "^saned:" | grep -q "/home/saned"; then + echo "Test for running scanbd" + if ps -Af | grep "saned" | grep -q "scanbd"; then + echo "Stop scanbd" + invoke-rc.d --quiet scanbd stop + echo "Move homedir from /home/saned to /var/lib/saned" + usermod -d /var/lib/saned saned + echo "Start scanbd" + invoke-rc.d --quiet scanbd start + else + echo "Move homedir from /home/saned to /var/lib/saned" + usermod -d /var/lib/saned saned + fi + fi + if [ "$SANED_IN_SCANNER" = "true" ]; then + adduser --quiet saned scanner + else + if id saned | grep -q "groups=.*\(scanner\)"; then + deluser --quiet saned scanner + fi + fi + + if [ -e $SANED_DEFAULT ]; then + if [ "$RUN_SANED" = "true" ]; then + RUN_SANED=yes + else + RUN_SANED=no + fi + + sed -e "s/^ *RUN=.*/RUN=$RUN_SANED/" < $SANED_DEFAULT > $SANED_DEFAULT.tmp + mv -f $SANED_DEFAULT.tmp $SANED_DEFAULT + fi +fi + +#DEBHELPER# diff --git a/debian/sane-utils.postrm b/debian/sane-utils.postrm new file mode 100644 index 0000000..275eee6 --- /dev/null +++ b/debian/sane-utils.postrm @@ -0,0 +1,59 @@ +#!/bin/sh + +set -e +# +# set -e are disabled because pathfind update-inetd +# gives an piuparts error. +# + +# +# POSIX-compliant shell function +# to check for the existence of a command +# Return 0 if found +# +pathfind() { + OLDIFS="$IFS" + IFS=: + for p in $PATH; do + if [ -x "$p/$*" ]; then + IFS="$OLDIFS" + return 0 + fi + done + IFS="$OLDIFS" + return 1 +} + + +if [ "$1" = purge ] ; then + pathfind update-inetd || true + if [ $? = 0 ] ; then + update-inetd --remove sane-port || true + update-inetd --remove "#<off># sane-port" || true + fi + +# +# purge systemd files +# + rm -f /etc/systemd/system/saned.socket + rm -f /var/lib/systemd/deb-systemd-helper-enabled/saned.socket.dsh-also + rm -f /var/lib/systemd/deb-systemd-helper-masked/saned.socket + if [ -d /var/lib/systemd/deb-systemd-helper-enabled ]; then + rmdir --ignore-fail-on-non-empty /var/lib/systemd/deb-systemd-helper-enabled + fi + if [ -d /var/lib/systemd/deb-systemd-helper-masked ]; then + rmdir --ignore-fail-on-non-empty /var/lib/systemd/deb-systemd-helper-masked + fi +# +# remove pid file +# + if [ -f /var/run/saned.pid ]; then + rm -f /var/run/saned.pid + fi + + +fi + +#DEBHELPER# + +exit 0 diff --git a/debian/sane-utils.saned.default b/debian/sane-utils.saned.default new file mode 100644 index 0000000..691e5a5 --- /dev/null +++ b/debian/sane-utils.saned.default @@ -0,0 +1,4 @@ +# Defaults for the saned initscript, from sane-utils + +# Set to the user saned should run as +RUN_AS_USER=saned diff --git a/debian/sane-utils.saned.init b/debian/sane-utils.saned.init new file mode 100644 index 0000000..e629105 --- /dev/null +++ b/debian/sane-utils.saned.init @@ -0,0 +1,90 @@ +#! /bin/sh +# +### BEGIN INIT INFO +# Provides: saned +# Required-Start: $syslog $local_fs $remote_fs +# Required-Stop: $syslog $local_fs $remote_fs +# Should-Start: dbus avahi-daemon +# Should-Stop: dbus avahi-daemon +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: SANE network scanner server +# Description: saned makes local scanners available over the +# network. +### END INIT INFO + +. /lib/lsb/init-functions + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/saned +NAME=saned +DESC="SANE network scanner server" + +test -x $DAEMON || exit 0 + +RUN=no +RUN_AS_USER=saned + +# Get lsb functions +. /lib/lsb/init-functions + +# Include saned defaults if available +if [ -f /etc/default/saned ] ; then + . /etc/default/saned +fi + +DAEMON_OPTS="-a $RUN_AS_USER" + +set -e + +case "$1" in + start) + log_daemon_msg "Starting $DESC" "$NAME" + start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ + --exec $DAEMON -- $DAEMON_OPTS + log_end_msg $? + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + start-stop-daemon --stop --oknodo --quiet --pidfile /var/run/$NAME.pid \ + --retry 10 --exec $DAEMON + log_end_msg $? + ;; + force-reload) + # check whether $DAEMON is running. If so, restart + start-stop-daemon --stop --test --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON \ + && $0 restart \ + || exit 0 + ;; + restart) + log_daemon_msg "Restarting $DESC" "$NAME" + $0 stop + $0 start + ;; + status) + if [ -s /var/run/$NAME.pid ]; then + RUNNING=$(cat /var/run/$NAME.pid) + if [ -d /proc/$RUNNING ]; then + if [ $(readlink /proc/$RUNNING/exe) = $DAEMON ]; then + log_success_msg "$NAME is running" + exit 0 + fi + fi + + # No such PID, or executables don't match + log_failure_msg "$NAME is not running, but pidfile existed" + rm /var/run/$NAME.pid + exit 1 + else + rm -f /var/run/$NAME.pid + log_failure_msg "$NAME not running" + exit 1 + fi + ;; + *) + N=/etc/init.d/$NAME + log_failure_msg "Usage: $N {start|stop|restart|force-reload}" + exit 1 + ;; +esac diff --git a/debian/sane-utils.saned.socket b/debian/sane-utils.saned.socket new file mode 100644 index 0000000..a14daef --- /dev/null +++ b/debian/sane-utils.saned.socket @@ -0,0 +1,10 @@ +[Unit] +Description=saned incoming socket + +[Socket] +ListenStream=6566 +Accept=yes +MaxConnections=64 + +[Install] +WantedBy=sockets.target diff --git a/debian/sane-utils.saned@.service b/debian/sane-utils.saned@.service new file mode 100644 index 0000000..2ef2d2f --- /dev/null +++ b/debian/sane-utils.saned@.service @@ -0,0 +1,16 @@ +[Unit] +Description=Scanner Service +Requires=saned.socket + +[Service] +ExecStart=/usr/sbin/saned +User=saned +Group=saned +StandardInput=null +StandardOutput=append:/var/log/saned.log +StandardError=append:/var/log/saned.log +Environment=SANE_CONFIG_DIR=/etc/sane.d +# Environment=SANE_CONFIG_DIR=/etc/sane.d SANE_DEBUG_DLL=255 + +[Install] +Also=saned.socket diff --git a/debian/sane-utils.templates b/debian/sane-utils.templates new file mode 100644 index 0000000..60906fb --- /dev/null +++ b/debian/sane-utils.templates @@ -0,0 +1,35 @@ +Template: sane-utils/saned_run +Type: boolean +Default: false +_Description: Enable saned as a standalone server? + The saned server, when enabled, makes scanners available over the network. + . + There are two ways of running saned: + - as an inetd service, started by the inetd superserver. In this mode, + saned is started on demand when a client connects to the server; + - as a standalone daemon, started at system boot. In this mode, saned + runs in the background all by itself and listens for client connections. + . + When run in standalone mode, saned advertises itself on the network and + can be detected automatically by the SANE clients with no configuration + on the client side. You still need to configure the server to accept + connections from your clients. This feature is experimental and requires + a running Avahi daemon. + . + Accept this option if you want to make use of this feature. + +Template: sane-utils/saned_scanner_group +Type: boolean +Default: true +_Description: Add saned user to the scanner group? + The saned server, when enabled, makes scanners available over the network. + By applying different permissions to the different scanners connected to + your machine, you can control which ones will be made available over the + network. + . + Read /usr/share/doc/sane-utils/README.Debian for details on how to manage + permissions for saned. By default, saned is run under the saned user and + group. + . + Accept this option if you want to make all your scanners available over + the network without restriction. diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..3fd33d0 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,6 @@ +Bug-Database: https://gitlab.com/sane-project/backends/-/issues +Bug-Submit: https://gitlab.com/sane-project/backends/-/issues/new?issue%5Bassignee_id%5D=&issue%5Bmilestone_id%5D= +Contact: http://sane-project.org/mailing-lists.html +Name: sane-backends +Repository: https://gitlab.com/sane-project/backends.git +Repository-Browse: https://gitlab.com/sane-project/backends/-/tree/master diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..c384aa1 --- /dev/null +++ b/debian/watch @@ -0,0 +1,9 @@ +# +# watch file for sane-backends +# +version=4 +opts=\ +dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\ +uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\ +filenamemangle=s/.*\/archive\/(\d\S+)\/backends.*\.tar\.gz/backends-$1\.tar\.gz/g \ + https://gitlab.com/sane-project/backends/-/tags?sort=updated_desc .*/archive/(\d\S+)/.*\.tar\.gz.* |