From 9ea69db5564be7c58b756f54e2013e48bd2a0a3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 12 Nov 2017 14:32:17 +0100 Subject: Change to my new email address --- debian/NEWS.Debian | 2 +- debian/README.source | 2 +- debian/changelog | 6 ++++++ debian/control | 2 +- debian/copyright | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/debian/NEWS.Debian b/debian/NEWS.Debian index da9083e..12d594c 100644 --- a/debian/NEWS.Debian +++ b/debian/NEWS.Debian @@ -11,4 +11,4 @@ sane-backends (1.0.25-3) unstable; urgency=medium . Please use pkg-config instead of sane-config from the package pkg-config. - -- Jörg Frings-Fürst Sat, 10 Dec 2016 13:45:15 +0100 + -- Jörg Frings-Fürst Sat, 10 Dec 2016 13:45:15 +0100 diff --git a/debian/README.source b/debian/README.source index e4f2b3d..a62f7b9 100644 --- a/debian/README.source +++ b/debian/README.source @@ -10,7 +10,7 @@ Please upload unattended uploads use a branch feature/. Many thanks. - -- Jörg Frings-Fürst Fri, 02 Jun 2017 19:00:40 +0200 + -- Jörg Frings-Fürst 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 diff --git a/debian/changelog b/debian/changelog index af8671c..f76a538 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +sane-backends (1.0.27-1~experimental4) UNRELEASED; urgency=medium + + * Change to my new email address. + + -- Jörg Frings-Fürst Sun, 12 Nov 2017 13:59:10 +0100 + sane-backends (1.0.27-1~experimental3) experimental; urgency=medium * debian/control: diff --git a/debian/control b/debian/control index 798b009..d0fc197 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,7 @@ Source: sane-backends Section: graphics Priority: optional -Maintainer: Jörg Frings-Fürst +Maintainer: Jörg Frings-Fürst Standards-Version: 4.1.1 Build-Depends: autoconf, diff --git a/debian/copyright b/debian/copyright index 7a672b5..fe7a428 100644 --- a/debian/copyright +++ b/debian/copyright @@ -13,7 +13,7 @@ Copyright: 1997-2002 Kevin Dalley 2002-2011 Julien BLACHE 2002-2006 Aurélien Jarno 2013 Mark Buda - 2014-2017 Jörg Frings-Fürst + 2014-2017 Jörg Frings-Fürst License: GPL-2+ with sane exception Files: backend/abaton.* -- cgit v1.2.3 From 05f979fe4c3a3d7ccf5ec5a6339d458001cae5b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 1 Apr 2018 15:10:28 +0200 Subject: d/rules: Add override_dh_autoreconf to prevend delete of libtool.m4 --- debian/changelog | 3 +++ debian/rules | 3 +++ 2 files changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index f76a538..5e05986 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,9 @@ sane-backends (1.0.27-1~experimental4) UNRELEASED; urgency=medium * Change to my new email address. + * debian/rules: + - Add override_dh_autoreconf to prevend delete of libtool.m4 + (Closes: #887032). -- Jörg Frings-Fürst Sun, 12 Nov 2017 13:59:10 +0100 diff --git a/debian/rules b/debian/rules index 293d798..3d56db8 100755 --- a/debian/rules +++ b/debian/rules @@ -39,6 +39,9 @@ override_dh_auto_configure: --with-usb \ --without-v4l +override_dh_autoreconf: + dh_autoreconf -Xlibtool.m4 + override_dh_auto_build-indep: # generate POT file for translators (cd po && make sane-backends.pot) -- cgit v1.2.3 From a0062c897268083f2a75120993e8031d3a3be0bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 1 Apr 2018 15:15:02 +0200 Subject: Migrate to debhelper 11 --- debian/changelog | 3 +++ debian/compat | 2 +- debian/control | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5e05986..1d38677 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,9 @@ sane-backends (1.0.27-1~experimental4) UNRELEASED; urgency=medium * debian/rules: - Add override_dh_autoreconf to prevend delete of libtool.m4 (Closes: #887032). + * Migrate to debhelper 11: + - Change debian/compat to 11. + - Bump minimum debhelper version in debian/control to >= 11. -- Jörg Frings-Fürst Sun, 12 Nov 2017 13:59:10 +0100 diff --git a/debian/compat b/debian/compat index f599e28..b4de394 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -10 +11 diff --git a/debian/control b/debian/control index d0fc197..fef48c5 100644 --- a/debian/control +++ b/debian/control @@ -6,7 +6,7 @@ Standards-Version: 4.1.1 Build-Depends: autoconf, chrpath, - debhelper (>= 10), + debhelper (>= 11), gettext, libavahi-client-dev, libcam-dev [kfreebsd-any], -- cgit v1.2.3 From 8a466929ed0cb92d76232ca19fd243c9db7051f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 1 Apr 2018 15:16:54 +0200 Subject: Declare compliance with Debian Policy 4.1.3 --- debian/changelog | 1 + debian/control | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 1d38677..ae38571 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ sane-backends (1.0.27-1~experimental4) UNRELEASED; urgency=medium * 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.3 (No changes needed). -- Jörg Frings-Fürst Sun, 12 Nov 2017 13:59:10 +0100 diff --git a/debian/control b/debian/control index fef48c5..ab59aec 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: sane-backends Section: graphics Priority: optional Maintainer: Jörg Frings-Fürst -Standards-Version: 4.1.1 +Standards-Version: 4.1.3 Build-Depends: autoconf, chrpath, -- cgit v1.2.3 From 5e8e40e843a3f956add3524082391d5d40a4ddfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 1 Apr 2018 15:50:23 +0200 Subject: d/copyright: Use secure copyright format URI --- debian/changelog | 2 ++ debian/copyright | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index ae38571..06dd5b5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ sane-backends (1.0.27-1~experimental4) UNRELEASED; urgency=medium * debian/rules: - Add override_dh_autoreconf to prevend delete of libtool.m4 (Closes: #887032). + * 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. diff --git a/debian/copyright b/debian/copyright index fe7a428..8735810 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,4 +1,4 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +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/ -- cgit v1.2.3 From eae08845d199ff31af0218b5ca07f08ff24ffa3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 1 Apr 2018 18:45:57 +0200 Subject: Remove the RUN parameter from /etc/default/saned and /etc/init.d/saned --- debian/changelog | 2 ++ debian/sane-utils.saned.default | 4 ---- debian/sane-utils.saned.init | 5 ----- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/debian/changelog b/debian/changelog index 06dd5b5..ca80e8f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,8 @@ sane-backends (1.0.27-1~experimental4) UNRELEASED; urgency=medium - Change debian/compat to 11. - Bump minimum debhelper version in debian/control to >= 11. * Declare compliance with Debian Policy 4.1.3 (No changes needed). + * Remove the RUN parameter from /etc/default/saned and /etc/init.d/saned + in relation to Debian Policy Manual section 9.3.3.1. -- Jörg Frings-Fürst Sun, 12 Nov 2017 13:59:10 +0100 diff --git a/debian/sane-utils.saned.default b/debian/sane-utils.saned.default index b0647cc..691e5a5 100644 --- a/debian/sane-utils.saned.default +++ b/debian/sane-utils.saned.default @@ -1,8 +1,4 @@ # Defaults for the saned initscript, from sane-utils -# To enable under systemd please read README.Debian -# Set to yes to start saned under SysV -RUN=no - # 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 index 2e624a6..e629105 100644 --- a/debian/sane-utils.saned.init +++ b/debian/sane-utils.saned.init @@ -33,11 +33,6 @@ if [ -f /etc/default/saned ] ; then . /etc/default/saned fi -if [ "x$RUN" != "xyes" ] ; then - log_success_msg "$NAME disabled; edit /etc/default/saned" - exit 0 -fi - DAEMON_OPTS="-a $RUN_AS_USER" set -e -- cgit v1.2.3 From 51b0bd5c7b5cbb4b64050d629803f6a3fba849f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 2 Apr 2018 08:08:59 +0200 Subject: Refresh 0100-source_spelling.patch; New 0715-20-sane.hwdb_multi-arch.patch --- debian/changelog | 6 +- debian/patches/0100-source_spelling.patch | 79 ++++++++++++++++++++ debian/patches/0715-20-sane.hwdb_multi-arch.patch | 90 +++++++++++++++++++++++ debian/patches/series | 2 + 4 files changed, 176 insertions(+), 1 deletion(-) create mode 100644 debian/patches/0715-20-sane.hwdb_multi-arch.patch diff --git a/debian/changelog b/debian/changelog index ca80e8f..40716bf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,7 +12,11 @@ sane-backends (1.0.27-1~experimental4) UNRELEASED; urgency=medium * Declare compliance with Debian Policy 4.1.3 (No changes needed). * Remove the RUN parameter from /etc/default/saned and /etc/init.d/saned in relation to 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 multi-arch ready + (Closes: #880391) + -- Jörg Frings-Fürst Sun, 12 Nov 2017 13:59:10 +0100 sane-backends (1.0.27-1~experimental3) experimental; urgency=medium diff --git a/debian/patches/0100-source_spelling.patch b/debian/patches/0100-source_spelling.patch index 8796e35..241b1bd 100644 --- a/debian/patches/0100-source_spelling.patch +++ b/debian/patches/0100-source_spelling.patch @@ -47,3 +47,82 @@ Index: trunk/doc/sane-pixma.man .PP Setting timeouts should only be required in exceptional cases. .PP +@@ -288,7 +288,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 +Index: trunk/doc/sane-canon_dr.man +=================================================================== +--- trunk.orig/doc/sane-canon_dr.man ++++ trunk/doc/sane-canon_dr.man +@@ -105,7 +105,7 @@ Scanners can be specified in the configu + .PP + "scsi CANON DR" + .RS +-Requests backend to search all scsi busses in the system for a device ++Requests backend to search all scsi buses in the system for a device + which reports itself to be a scanner made by 'CANON', with a model name + starting with 'DR'. + .RE +@@ -119,7 +119,7 @@ specify one. Probably should not be used + .PP + "usb 0x04a9 0x1603" (or other vendor/product ids) + .RS +-Requests backend to search all usb busses in the system for a device ++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 Canon scanner. + .RE +Index: trunk/doc/sane-cardscan.man +=================================================================== +--- trunk.orig/doc/sane-cardscan.man ++++ trunk/doc/sane-cardscan.man +@@ -37,7 +37,7 @@ Scanners can be specified in the configu + .PP + "usb 0x04c5 0x1042" (or other vendor/product ids) + .RS +-Requests backend to search all usb busses in the system for a device ++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 cardscan scanner. + .RE +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/doc/sane-fujitsu.man +=================================================================== +--- trunk.orig/doc/sane-fujitsu.man ++++ trunk/doc/sane-fujitsu.man +@@ -109,7 +109,7 @@ Scanners can be specified in the configu + .PP + "scsi FUJITSU" + .RS +-Requests backend to search all scsi busses in the system for a device ++Requests backend to search all scsi buses in the system for a device + which reports itself to be a scanner made by 'FUJITSU'. + .RE + .PP +@@ -122,7 +122,7 @@ specify one. Probably should not be used + .PP + "usb 0x04c5 0x1042" (or other vendor/product ids) + .RS +-Requests backend to search all usb busses in the system for a device ++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 Fujitsu scanner. + .RE diff --git a/debian/patches/0715-20-sane.hwdb_multi-arch.patch b/debian/patches/0715-20-sane.hwdb_multi-arch.patch new file mode 100644 index 0000000..b6523af --- /dev/null +++ b/debian/patches/0715-20-sane.hwdb_multi-arch.patch @@ -0,0 +1,90 @@ +Description: Make 20-sane.hwdb Multi-Arch ready +Author: Jörg Frings-Fürst +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880391 +Forwarded: not-needed +Last-Update: 2018-04-02 +--- +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 +@@ -3326,10 +3326,10 @@ print_usermap_header (void) + + printf + ("# This file was automatically created based on description files (*.desc)\n" +- "# by sane-desc %s from %s on %s" ++ "# by sane-desc %s from %s\n" + "#\n" + , +- SANE_DESC_VERSION, PACKAGE_STRING, asctime (localtime (¤t_time))); ++ SANE_DESC_VERSION, PACKAGE_STRING); + + printf + ("# The entries below are used to detect a USB device and change owner\n" +Index: trunk/testsuite/tools/data/db.ref +=================================================================== +--- trunk.orig/testsuite/tools/data/db.ref ++++ trunk/testsuite/tools/data/db.ref +@@ -1,5 +1,5 @@ + # This file was automatically created based on description files (*.desc) +-# by sane-desc 3.5 from sane-backends 1.0.24git on Wed Jul 31 07:52:48 2013 ++# by sane-desc 3.5 from sane-backends 1.0.24git + # + # The entries below are used to detect a USB device when it's plugged in + # and then run a script to change the ownership and +Index: trunk/testsuite/tools/data/hwdb.ref +=================================================================== +--- trunk.orig/testsuite/tools/data/hwdb.ref ++++ trunk/testsuite/tools/data/hwdb.ref +@@ -1,5 +1,5 @@ + # This file was automatically created based on description files (*.desc) +-# by sane-desc 3.5 from sane-backends 1.0.25git on Tue Dec 3 15:24:46 2013 ++# by sane-desc 3.5 from sane-backends 1.0.25git + # + # hwdb file for supported USB devices + # +Index: trunk/testsuite/tools/data/udev+acl.ref +=================================================================== +--- trunk.orig/testsuite/tools/data/udev+acl.ref ++++ trunk/testsuite/tools/data/udev+acl.ref +@@ -1,5 +1,5 @@ + # This file was automatically created based on description files (*.desc) +-# by sane-desc 3.5 from sane-backends 1.0.24git on Wed Jul 31 07:52:49 2013 ++# by sane-desc 3.5 from sane-backends 1.0.24git + # + # udev rules file for supported USB and SCSI devices + # +Index: trunk/testsuite/tools/data/udev+hwdb.ref +=================================================================== +--- trunk.orig/testsuite/tools/data/udev+hwdb.ref ++++ trunk/testsuite/tools/data/udev+hwdb.ref +@@ -1,5 +1,5 @@ + # This file was automatically created based on description files (*.desc) +-# by sane-desc 3.5 from sane-backends 1.0.24git on Thu Aug 1 18:50:15 2013 ++# by sane-desc 3.5 from sane-backends 1.0.24git + # + # udev rules file for supported USB and SCSI devices + # +Index: trunk/testsuite/tools/data/udev.ref +=================================================================== +--- trunk.orig/testsuite/tools/data/udev.ref ++++ trunk/testsuite/tools/data/udev.ref +@@ -1,5 +1,5 @@ + # This file was automatically created based on description files (*.desc) +-# by sane-desc 3.5 from sane-backends 1.0.24git on Wed Jul 31 07:52:48 2013 ++# by sane-desc 3.5 from sane-backends 1.0.24git + # + # udev rules file for supported USB and SCSI devices + # +Index: trunk/testsuite/tools/data/usermap.ref +=================================================================== +--- trunk.orig/testsuite/tools/data/usermap.ref ++++ trunk/testsuite/tools/data/usermap.ref +@@ -1,5 +1,5 @@ + # This file was automatically created based on description files (*.desc) +-# by sane-desc 3.5 from sane-backends 1.0.24git on Wed Jul 31 07:52:48 2013 ++# by sane-desc 3.5 from sane-backends 1.0.24git + # + # The entries below are used to detect a USB device and change owner + # and permissions on the "device node" used by libusb. diff --git a/debian/patches/series b/debian/patches/series index 02949a2..8b454dc 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -22,3 +22,5 @@ 0145-avahi.patch 0100-source_spelling.patch 0150-genesys-Fix-use-of-uninitialized-variable.patch +#0130-usb-timeout.patch +0715-20-sane.hwdb_multi-arch.patch -- cgit v1.2.3 From 32258013b7a55f3803ddf3ead117040457a0ad1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 2 Apr 2018 08:22:25 +0200 Subject: d/libsane1.README.Debian: Use ConsoleKit/systemd-logind --- debian/changelog | 2 ++ debian/libsane1.README.Debian | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index 40716bf..a7317d1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,8 @@ sane-backends (1.0.27-1~experimental4) UNRELEASED; urgency=medium * New debian/patches/0715-20-sane.hwdb_multi-arch.patch: - Remove buildtime from 20-sane.hwdb to make the file multi-arch ready (Closes: #880391) + * debian/libsane1.README.Debian: + - Replace ConsoleKit with ConsoleKit/systemd-logind (Closes: #872364). -- Jörg Frings-Fürst Sun, 12 Nov 2017 13:59:10 +0100 diff --git a/debian/libsane1.README.Debian b/debian/libsane1.README.Debian index 426bf65..b5e4235 100644 --- a/debian/libsane1.README.Debian +++ b/debian/libsane1.README.Debian @@ -64,14 +64,14 @@ components, please refer to the manual pages listed below: SETUP ----- -In this day and age, SANE integrates with udev and ConsoleKit 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. +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. Note that this is -only a proposed solution, you are free to come up with and implement whatever -access control mechanism you see fit. +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 -- cgit v1.2.3 From 81aa8dc450bf9eac92489d8732d5a6ebcebc2142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 2 Apr 2018 09:52:15 +0200 Subject: d/p/0715-20-sane.hwdb_multi-arch.patch: Add changes into all functions --- debian/patches/0715-20-sane.hwdb_multi-arch.patch | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/debian/patches/0715-20-sane.hwdb_multi-arch.patch b/debian/patches/0715-20-sane.hwdb_multi-arch.patch index b6523af..350c911 100644 --- a/debian/patches/0715-20-sane.hwdb_multi-arch.patch +++ b/debian/patches/0715-20-sane.hwdb_multi-arch.patch @@ -22,6 +22,39 @@ Index: trunk/tools/sane-desc.c printf ("# The entries below are used to detect a USB device and change owner\n" +@@ -3398,8 +3398,8 @@ print_db_header (void) + { + time_t current_time = time (0); + printf ("# This file was automatically created based on description files (*.desc)\n" +- "# by sane-desc %s from %s on %s", +- SANE_DESC_VERSION, PACKAGE_STRING, asctime (localtime (¤t_time))); ++ "# by sane-desc %s from %s\n", ++ SANE_DESC_VERSION, PACKAGE_STRING); + printf + ("#\n" + "# The entries below are used to detect a USB device when it's plugged in\n" +@@ -3656,8 +3656,8 @@ print_udevhwdb_header (void) + { + time_t current_time = time (0); + printf ("# This file was automatically created based on description files (*.desc)\n" +- "# by sane-desc %s from %s on %s", +- SANE_DESC_VERSION, PACKAGE_STRING, asctime (localtime (¤t_time))); ++ "# by sane-desc %s from %s\n", ++ SANE_DESC_VERSION, PACKAGE_STRING); + + printf + ("#\n" +@@ -3766,8 +3766,8 @@ print_hwdb_header (void) + { + time_t current_time = time (0); + printf ("# This file was automatically created based on description files (*.desc)\n" +- "# by sane-desc %s from %s on %s", +- SANE_DESC_VERSION, PACKAGE_STRING, asctime (localtime (¤t_time))); ++ "# by sane-desc %s from %s\n", ++ SANE_DESC_VERSION, PACKAGE_STRING); + + printf + ("#\n" Index: trunk/testsuite/tools/data/db.ref =================================================================== --- trunk.orig/testsuite/tools/data/db.ref -- cgit v1.2.3 From 2e1fc024346672eb9db79d43a1ba9307b2540318 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 2 Apr 2018 13:25:46 +0200 Subject: refresh d/p/0100-source_spelling.patch --- debian/changelog | 4 ++-- debian/patches/0100-source_spelling.patch | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index a7317d1..5c1363e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,9 +16,9 @@ sane-backends (1.0.27-1~experimental4) UNRELEASED; urgency=medium * New debian/patches/0715-20-sane.hwdb_multi-arch.patch: - Remove buildtime from 20-sane.hwdb to make the file multi-arch ready (Closes: #880391) - * debian/libsane1.README.Debian: + * debian/libsane1.README.Debian: - Replace ConsoleKit with ConsoleKit/systemd-logind (Closes: #872364). - + -- Jörg Frings-Fürst Sun, 12 Nov 2017 13:59:10 +0100 sane-backends (1.0.27-1~experimental3) experimental; urgency=medium diff --git a/debian/patches/0100-source_spelling.patch b/debian/patches/0100-source_spelling.patch index 241b1bd..0985e99 100644 --- a/debian/patches/0100-source_spelling.patch +++ b/debian/patches/0100-source_spelling.patch @@ -126,3 +126,29 @@ Index: trunk/doc/sane-fujitsu.man which uses that vendor and product id. The device will then be queried to determine if it is a Fujitsu scanner. .RE +Index: trunk/doc/saned.man +=================================================================== +--- trunk.orig/doc/saned.man ++++ trunk/doc/saned.man +@@ -220,7 +220,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-kodak.man +=================================================================== +--- trunk.orig/doc/sane-kodak.man ++++ trunk/doc/sane-kodak.man +@@ -77,7 +77,7 @@ Scanners can be specified in the configu + .PP + "scsi KODAK" + .RS +-Requests backend to search all scsi busses in the system for a device ++Requests backend to search all scsi buses in the system for a device + which reports itself to be a scanner made by 'KODAK'. + .RE + .PP -- cgit v1.2.3 From 5b99cb5c6cbd7b6c36bfa0fe2355bd3cbda92243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 2 Apr 2018 13:58:11 +0200 Subject: d/rules: Rewrite configure --- debian/changelog | 5 +++++ debian/rules | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5c1363e..ec0f7f0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,11 @@ sane-backends (1.0.27-1~experimental4) UNRELEASED; urgency=medium * debian/rules: - Add override_dh_autoreconf to prevend delete of libtool.m4 (Closes: #887032). + - Remove outdated configure parameter --enable-translations. + - Add configure parameter --enable-parport-directio for better parport + handling. + - Rename configure parameter --with-docdir to --docdir. + - Move backend-writing.txt from new directory. * debian/copyright: - Use secure copyright format URI. * Migrate to debhelper 11: diff --git a/debian/rules b/debian/rules index 3d56db8..91512fa 100755 --- a/debian/rules +++ b/debian/rules @@ -28,16 +28,16 @@ override_dh_auto_configure: --localstatedir=/var \ --datadir=\$${prefix}/share \ --mandir=\$${prefix}/share/man \ - --with-docdir=\$${prefix}/share/doc/libsane \ + --docdir=\$${prefix}/share/doc/libsane \ --disable-locking \ --enable-static \ --enable-pthread \ --with-gphoto2 \ - --enable-translations \ --enable-avahi \ --enable-pnm-backend \ --with-usb \ - --without-v4l + --without-v4l \ + --enable-parport-directio override_dh_autoreconf: dh_autoreconf -Xlibtool.m4 @@ -92,7 +92,7 @@ override_dh_installman-indep: override_dh_installdocs-arch: dh_installdocs # move files that belong to libsane-dev - mv debian/tmp/usr/share/doc/sane-backends/backend-writing.txt debian/libsane-dev/usr/share/doc/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 -- cgit v1.2.3 From e70ec049b0bf91c9a22d4b3108362dbebff7425b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 2 Apr 2018 14:22:54 +0200 Subject: Add libsnmp-dev to Build-Depends to enable SNMP support --- debian/changelog | 2 ++ debian/control | 1 + 2 files changed, 3 insertions(+) diff --git a/debian/changelog b/debian/changelog index ec0f7f0..3e11002 100644 --- a/debian/changelog +++ b/debian/changelog @@ -23,6 +23,8 @@ sane-backends (1.0.27-1~experimental4) UNRELEASED; urgency=medium (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 Sun, 12 Nov 2017 13:59:10 +0100 diff --git a/debian/control b/debian/control index ab59aec..c1d95f0 100644 --- a/debian/control +++ b/debian/control @@ -15,6 +15,7 @@ Build-Depends: libieee1284-3-dev [!hurd-i386], libjpeg-dev, libltdl3-dev, + libsnmp-dev, libsystemd-dev [linux-any], libtiff-dev, libusb-1.0-0-dev, -- cgit v1.2.3 From 90bcbb2c31a423a22d3bfa8fe09d62b37eae7dd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 2 Apr 2018 14:28:47 +0200 Subject: d/changelog: Typos --- debian/changelog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 3e11002..aea7cb5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,11 +2,11 @@ sane-backends (1.0.27-1~experimental4) UNRELEASED; urgency=medium * Change to my new email address. * debian/rules: - - Add override_dh_autoreconf to prevend delete of libtool.m4 + - Add override_dh_autoreconf to prevent delete of libtool.m4 (Closes: #887032). - Remove outdated configure parameter --enable-translations. - - Add configure parameter --enable-parport-directio for better parport - handling. + - Add configure parameter --enable-parport-directio for better parallel + port handling. - Rename configure parameter --with-docdir to --docdir. - Move backend-writing.txt from new directory. * debian/copyright: -- cgit v1.2.3 From d541000bd436545f31d2a97e7a6f301cb71e27ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 2 Apr 2018 14:30:47 +0200 Subject: Change architecture, date and time --- debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index aea7cb5..5a7933b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -sane-backends (1.0.27-1~experimental4) UNRELEASED; urgency=medium +sane-backends (1.0.27-1~experimental4) experimental; urgency=medium * Change to my new email address. * debian/rules: @@ -26,7 +26,7 @@ sane-backends (1.0.27-1~experimental4) UNRELEASED; urgency=medium * debian/control: - Add libsnmp-dev to Build-Depends to enable SNMP support. - -- Jörg Frings-Fürst Sun, 12 Nov 2017 13:59:10 +0100 + -- Jörg Frings-Fürst Mon, 02 Apr 2018 14:29:43 +0200 sane-backends (1.0.27-1~experimental3) experimental; urgency=medium -- cgit v1.2.3 From dc9bcf947d52b0d337e954b3b17e220ea359086d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 14 Apr 2018 14:51:02 +0200 Subject: Some typos --- debian/changelog | 14 +++++++------- debian/control | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5a7933b..75a3a03 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,31 +2,31 @@ sane-backends (1.0.27-1~experimental4) experimental; urgency=medium * Change to my new email address. * debian/rules: - - Add override_dh_autoreconf to prevent delete of libtool.m4 + - 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. - - Move backend-writing.txt from new directory. + - Correct the source directory to get 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.3 (No changes needed). - * Remove the RUN parameter from /etc/default/saned and /etc/init.d/saned - in relation to Debian Policy Manual section 9.3.3.1. + * 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 multi-arch ready + - 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 Mon, 02 Apr 2018 14:29:43 +0200 + -- Jörg Frings-Fürst Sat, 14 Apr 2018 13:30:56 +0200 sane-backends (1.0.27-1~experimental3) experimental; urgency=medium diff --git a/debian/control b/debian/control index c1d95f0..d815329 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: sane-backends Section: graphics Priority: optional Maintainer: Jörg Frings-Fürst -Standards-Version: 4.1.3 +Standards-Version: 4.1.4 Build-Depends: autoconf, chrpath, -- cgit v1.2.3 From 80b74067f9693c22b88ebb009a8cc90f51dcf630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 15 Apr 2018 11:53:08 +0200 Subject: rewrite d/changelog --- debian/changelog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 75a3a03..3ce7ac9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,10 +5,10 @@ sane-backends (1.0.27-1~experimental4) experimental; urgency=medium - 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. + - Add configure parameter --enable-parport-directio + for better parallel port handling. - Rename configure parameter --with-docdir to --docdir. - - Correct the source directory to get backend-writing.txt. + - Fix source directory for backend-writing.txt. * debian/copyright: - Use secure copyright format URI. * Migrate to debhelper 11: -- cgit v1.2.3