sane-backends/sane-backends.builttime.patch

86 lines
3.0 KiB
Diff
Raw Normal View History

Accepting request 777794 from home:StefanBruens:branches:graphics - Move udev rules from /etc/udev/ to /usr/udev. - Package libsane1 library as a separate package. This avoids pulling in the backends just a application links to it. - Hide the backends from automatic Provides generation, as these all have a libsane.so SONAME. - Update to 1.0.29: * Backends + adds an escl backend (theoretically supporting all AirPrint devices with a scan unit) + adds support for 23 new scanner models via existing backends + significantly changes genesys and pixma backends + fixes bugs in canon_dr, fujitsu, hp3900, mustek_usb2, plustek and xerox_mfp backends + fixes all compiler warnings on Debian 10 (#120) + fixes portability issues for uClibc-ng and MacOS builds + adds support to record and replay USB I/O traffic + adds timestamps to debug logs * Frontends + fixes a 32-bit arithmetic overflow issue in scanimage * Documentation + updates translations for British English, Catalan, German, Ukrainian, Valencian + adds scangearmp2 external backend descriptions + updates hpaio and utsushi external backend descriptions + adds the ChangeLogs/ directory to the source tarball (#103) * Build + additionally requires libcurl and libxml2 to build the escl backend + requires libxml2 for USB I/O recording and replay functionality + re-enables pthread support for backends that use its API directly, irrespective of the pthread_t type (#153) + moves genesys and pixma backends to a directory of their own - Update to 1.0.28: * Backends + adds a ricoh2 backend + adds support for 40+ new scanner models + significantly changes canon_dr, fujitsu, genesys, gt68xx, + hp5590 and, pixma backends + fixes bugs in as6e, avision, mustek and plustek backends + fixes scores of compiler warnings * Frontends + adds, changes and removes options for saned (see man 8 saned for details) - adds: -l (listen), -D (daemonize), -o (once), -e (stderr), -u (user) - removes: -s (syslog). Use -a -d level -o -f for the old behavior - changes: -d (debug). Use -a -d level -o -f -e for the old behavior + saned now cancels scans if the data connections appears to have gone away (after 4 seconds by default, configurable in saned.conf) + adds --output-file option to scanimage + adds --help option to scan-find-scanner + changes sane-desc to create relative hyperlinks * Documentation + adds translations for Catalan, Hebrew and Valencian + updates translations for British English, Dutch, German and + Ukrainian + marks unmaintained backends as such + documents USB workaround in sane-usb manual page * Build + requires a C++11 compatible compiler for the genesys backend + requires a JPEG library when building the pixma backend + fixes unneeded linking when not using preloadable backend support + disables pthread support for systems with non-integral pthread_t type + normalizes trailing whitespace in source code files. If you have local patches that no longer apply, have a look at the whitespace ignoring options of patch and git apply. - Rebased patches: * sane-backends.builttime.patch - Dropped patches: * no-descriptions-external-hpoj.patch OBS-URL: https://build.opensuse.org/request/show/777794 OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=95
2020-02-23 12:44:14 +00:00
From 8d9536a24cb7f4a21fb35326819b292e8f87fc20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
Date: Thu, 20 Feb 2020 18:46:48 +0100
Subject: [PATCH] Make timestamps reproducible
https://gitlab.com/sane-project/backends/issues/228
---
Accepting request 777794 from home:StefanBruens:branches:graphics - Move udev rules from /etc/udev/ to /usr/udev. - Package libsane1 library as a separate package. This avoids pulling in the backends just a application links to it. - Hide the backends from automatic Provides generation, as these all have a libsane.so SONAME. - Update to 1.0.29: * Backends + adds an escl backend (theoretically supporting all AirPrint devices with a scan unit) + adds support for 23 new scanner models via existing backends + significantly changes genesys and pixma backends + fixes bugs in canon_dr, fujitsu, hp3900, mustek_usb2, plustek and xerox_mfp backends + fixes all compiler warnings on Debian 10 (#120) + fixes portability issues for uClibc-ng and MacOS builds + adds support to record and replay USB I/O traffic + adds timestamps to debug logs * Frontends + fixes a 32-bit arithmetic overflow issue in scanimage * Documentation + updates translations for British English, Catalan, German, Ukrainian, Valencian + adds scangearmp2 external backend descriptions + updates hpaio and utsushi external backend descriptions + adds the ChangeLogs/ directory to the source tarball (#103) * Build + additionally requires libcurl and libxml2 to build the escl backend + requires libxml2 for USB I/O recording and replay functionality + re-enables pthread support for backends that use its API directly, irrespective of the pthread_t type (#153) + moves genesys and pixma backends to a directory of their own - Update to 1.0.28: * Backends + adds a ricoh2 backend + adds support for 40+ new scanner models + significantly changes canon_dr, fujitsu, genesys, gt68xx, + hp5590 and, pixma backends + fixes bugs in as6e, avision, mustek and plustek backends + fixes scores of compiler warnings * Frontends + adds, changes and removes options for saned (see man 8 saned for details) - adds: -l (listen), -D (daemonize), -o (once), -e (stderr), -u (user) - removes: -s (syslog). Use -a -d level -o -f for the old behavior - changes: -d (debug). Use -a -d level -o -f -e for the old behavior + saned now cancels scans if the data connections appears to have gone away (after 4 seconds by default, configurable in saned.conf) + adds --output-file option to scanimage + adds --help option to scan-find-scanner + changes sane-desc to create relative hyperlinks * Documentation + adds translations for Catalan, Hebrew and Valencian + updates translations for British English, Dutch, German and + Ukrainian + marks unmaintained backends as such + documents USB workaround in sane-usb manual page * Build + requires a C++11 compatible compiler for the genesys backend + requires a JPEG library when building the pixma backend + fixes unneeded linking when not using preloadable backend support + disables pthread support for systems with non-integral pthread_t type + normalizes trailing whitespace in source code files. If you have local patches that no longer apply, have a look at the whitespace ignoring options of patch and git apply. - Rebased patches: * sane-backends.builttime.patch - Dropped patches: * no-descriptions-external-hpoj.patch OBS-URL: https://build.opensuse.org/request/show/777794 OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=95
2020-02-23 12:44:14 +00:00
tools/sane-desc.c | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
Accepting request 777794 from home:StefanBruens:branches:graphics - Move udev rules from /etc/udev/ to /usr/udev. - Package libsane1 library as a separate package. This avoids pulling in the backends just a application links to it. - Hide the backends from automatic Provides generation, as these all have a libsane.so SONAME. - Update to 1.0.29: * Backends + adds an escl backend (theoretically supporting all AirPrint devices with a scan unit) + adds support for 23 new scanner models via existing backends + significantly changes genesys and pixma backends + fixes bugs in canon_dr, fujitsu, hp3900, mustek_usb2, plustek and xerox_mfp backends + fixes all compiler warnings on Debian 10 (#120) + fixes portability issues for uClibc-ng and MacOS builds + adds support to record and replay USB I/O traffic + adds timestamps to debug logs * Frontends + fixes a 32-bit arithmetic overflow issue in scanimage * Documentation + updates translations for British English, Catalan, German, Ukrainian, Valencian + adds scangearmp2 external backend descriptions + updates hpaio and utsushi external backend descriptions + adds the ChangeLogs/ directory to the source tarball (#103) * Build + additionally requires libcurl and libxml2 to build the escl backend + requires libxml2 for USB I/O recording and replay functionality + re-enables pthread support for backends that use its API directly, irrespective of the pthread_t type (#153) + moves genesys and pixma backends to a directory of their own - Update to 1.0.28: * Backends + adds a ricoh2 backend + adds support for 40+ new scanner models + significantly changes canon_dr, fujitsu, genesys, gt68xx, + hp5590 and, pixma backends + fixes bugs in as6e, avision, mustek and plustek backends + fixes scores of compiler warnings * Frontends + adds, changes and removes options for saned (see man 8 saned for details) - adds: -l (listen), -D (daemonize), -o (once), -e (stderr), -u (user) - removes: -s (syslog). Use -a -d level -o -f for the old behavior - changes: -d (debug). Use -a -d level -o -f -e for the old behavior + saned now cancels scans if the data connections appears to have gone away (after 4 seconds by default, configurable in saned.conf) + adds --output-file option to scanimage + adds --help option to scan-find-scanner + changes sane-desc to create relative hyperlinks * Documentation + adds translations for Catalan, Hebrew and Valencian + updates translations for British English, Dutch, German and + Ukrainian + marks unmaintained backends as such + documents USB workaround in sane-usb manual page * Build + requires a C++11 compatible compiler for the genesys backend + requires a JPEG library when building the pixma backend + fixes unneeded linking when not using preloadable backend support + disables pthread support for systems with non-integral pthread_t type + normalizes trailing whitespace in source code files. If you have local patches that no longer apply, have a look at the whitespace ignoring options of patch and git apply. - Rebased patches: * sane-backends.builttime.patch - Dropped patches: * no-descriptions-external-hpoj.patch OBS-URL: https://build.opensuse.org/request/show/777794 OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=95
2020-02-23 12:44:14 +00:00
diff --git a/tools/sane-desc.c b/tools/sane-desc.c
index 890e754..ba85e84 100644
--- a/tools/sane-desc.c
+++ b/tools/sane-desc.c
@@ -2816,8 +2816,8 @@ html_print_footer (void)
"<address>\n"
Accepting request 777794 from home:StefanBruens:branches:graphics - Move udev rules from /etc/udev/ to /usr/udev. - Package libsane1 library as a separate package. This avoids pulling in the backends just a application links to it. - Hide the backends from automatic Provides generation, as these all have a libsane.so SONAME. - Update to 1.0.29: * Backends + adds an escl backend (theoretically supporting all AirPrint devices with a scan unit) + adds support for 23 new scanner models via existing backends + significantly changes genesys and pixma backends + fixes bugs in canon_dr, fujitsu, hp3900, mustek_usb2, plustek and xerox_mfp backends + fixes all compiler warnings on Debian 10 (#120) + fixes portability issues for uClibc-ng and MacOS builds + adds support to record and replay USB I/O traffic + adds timestamps to debug logs * Frontends + fixes a 32-bit arithmetic overflow issue in scanimage * Documentation + updates translations for British English, Catalan, German, Ukrainian, Valencian + adds scangearmp2 external backend descriptions + updates hpaio and utsushi external backend descriptions + adds the ChangeLogs/ directory to the source tarball (#103) * Build + additionally requires libcurl and libxml2 to build the escl backend + requires libxml2 for USB I/O recording and replay functionality + re-enables pthread support for backends that use its API directly, irrespective of the pthread_t type (#153) + moves genesys and pixma backends to a directory of their own - Update to 1.0.28: * Backends + adds a ricoh2 backend + adds support for 40+ new scanner models + significantly changes canon_dr, fujitsu, genesys, gt68xx, + hp5590 and, pixma backends + fixes bugs in as6e, avision, mustek and plustek backends + fixes scores of compiler warnings * Frontends + adds, changes and removes options for saned (see man 8 saned for details) - adds: -l (listen), -D (daemonize), -o (once), -e (stderr), -u (user) - removes: -s (syslog). Use -a -d level -o -f for the old behavior - changes: -d (debug). Use -a -d level -o -f -e for the old behavior + saned now cancels scans if the data connections appears to have gone away (after 4 seconds by default, configurable in saned.conf) + adds --output-file option to scanimage + adds --help option to scan-find-scanner + changes sane-desc to create relative hyperlinks * Documentation + adds translations for Catalan, Hebrew and Valencian + updates translations for British English, Dutch, German and + Ukrainian + marks unmaintained backends as such + documents USB workaround in sane-usb manual page * Build + requires a C++11 compatible compiler for the genesys backend + requires a JPEG library when building the pixma backend + fixes unneeded linking when not using preloadable backend support + disables pthread support for systems with non-integral pthread_t type + normalizes trailing whitespace in source code files. If you have local patches that no longer apply, have a look at the whitespace ignoring options of patch and git apply. - Rebased patches: * sane-backends.builttime.patch - Dropped patches: * no-descriptions-external-hpoj.patch OBS-URL: https://build.opensuse.org/request/show/777794 OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=95
2020-02-23 12:44:14 +00:00
"<a href=\"imprint.html\"\n"
">Contact</a>\n" "</address>\n" "<font size=-1>\n");
- printf ("This page was last updated on %s by sane-desc %s from %s\n",
- asctime (localtime (&current_time)), SANE_DESC_VERSION, PACKAGE_STRING);
+ printf ("This page was last updated by sane-desc %s from %s\n",
+ SANE_DESC_VERSION, PACKAGE_STRING);
printf ("</font>\n");
printf ("</body> </html>\n");
}
@@ -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"
,
- SANE_DESC_VERSION, PACKAGE_STRING, asctime (localtime (&current_time)));
+ SANE_DESC_VERSION, PACKAGE_STRING);
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 (&current_time)));
+ "# by sane-desc %s from %s",
+ SANE_DESC_VERSION, PACKAGE_STRING);
printf
("#\n"
"# The entries below are used to detect a USB device when it's plugged in\n"
@@ -3463,8 +3463,8 @@ print_udev_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 (&current_time)));
+ "# by sane-desc %s from %s",
+ SANE_DESC_VERSION, PACKAGE_STRING);
printf
("#\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 (&current_time)));
+ "# by sane-desc %s from %s",
+ 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 (&current_time)));
+ "# by sane-desc %s from %s",
+ SANE_DESC_VERSION, PACKAGE_STRING);
printf
("#\n"
Accepting request 777794 from home:StefanBruens:branches:graphics - Move udev rules from /etc/udev/ to /usr/udev. - Package libsane1 library as a separate package. This avoids pulling in the backends just a application links to it. - Hide the backends from automatic Provides generation, as these all have a libsane.so SONAME. - Update to 1.0.29: * Backends + adds an escl backend (theoretically supporting all AirPrint devices with a scan unit) + adds support for 23 new scanner models via existing backends + significantly changes genesys and pixma backends + fixes bugs in canon_dr, fujitsu, hp3900, mustek_usb2, plustek and xerox_mfp backends + fixes all compiler warnings on Debian 10 (#120) + fixes portability issues for uClibc-ng and MacOS builds + adds support to record and replay USB I/O traffic + adds timestamps to debug logs * Frontends + fixes a 32-bit arithmetic overflow issue in scanimage * Documentation + updates translations for British English, Catalan, German, Ukrainian, Valencian + adds scangearmp2 external backend descriptions + updates hpaio and utsushi external backend descriptions + adds the ChangeLogs/ directory to the source tarball (#103) * Build + additionally requires libcurl and libxml2 to build the escl backend + requires libxml2 for USB I/O recording and replay functionality + re-enables pthread support for backends that use its API directly, irrespective of the pthread_t type (#153) + moves genesys and pixma backends to a directory of their own - Update to 1.0.28: * Backends + adds a ricoh2 backend + adds support for 40+ new scanner models + significantly changes canon_dr, fujitsu, genesys, gt68xx, + hp5590 and, pixma backends + fixes bugs in as6e, avision, mustek and plustek backends + fixes scores of compiler warnings * Frontends + adds, changes and removes options for saned (see man 8 saned for details) - adds: -l (listen), -D (daemonize), -o (once), -e (stderr), -u (user) - removes: -s (syslog). Use -a -d level -o -f for the old behavior - changes: -d (debug). Use -a -d level -o -f -e for the old behavior + saned now cancels scans if the data connections appears to have gone away (after 4 seconds by default, configurable in saned.conf) + adds --output-file option to scanimage + adds --help option to scan-find-scanner + changes sane-desc to create relative hyperlinks * Documentation + adds translations for Catalan, Hebrew and Valencian + updates translations for British English, Dutch, German and + Ukrainian + marks unmaintained backends as such + documents USB workaround in sane-usb manual page * Build + requires a C++11 compatible compiler for the genesys backend + requires a JPEG library when building the pixma backend + fixes unneeded linking when not using preloadable backend support + disables pthread support for systems with non-integral pthread_t type + normalizes trailing whitespace in source code files. If you have local patches that no longer apply, have a look at the whitespace ignoring options of patch and git apply. - Rebased patches: * sane-backends.builttime.patch - Dropped patches: * no-descriptions-external-hpoj.patch OBS-URL: https://build.opensuse.org/request/show/777794 OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=95
2020-02-23 12:44:14 +00:00
--
2.25.1