From 5874b494c9bc0ad0e00deb98165a6b46252cdb2f49a8762f99e7832efa06f641 Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Mon, 15 Feb 2021 13:42:20 +0000 Subject: [PATCH 1/2] Accepting request 872521 from home:jsmeix:branches:graphics Version upgrade to sane-backends 1.0.32 OBS-URL: https://build.opensuse.org/request/show/872521 OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=103 --- sane-backends-1.0.31.tar.gz | 3 - sane-backends-1.0.32.tar.gz | 3 + sane-backends.changes | 115 +++++++++++++++++++++++++++++++++++- sane-backends.spec | 16 ++--- 4 files changed, 124 insertions(+), 13 deletions(-) delete mode 100644 sane-backends-1.0.31.tar.gz create mode 100644 sane-backends-1.0.32.tar.gz diff --git a/sane-backends-1.0.31.tar.gz b/sane-backends-1.0.31.tar.gz deleted file mode 100644 index 8d5961b..0000000 --- a/sane-backends-1.0.31.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4a3b10fcb398ed854777d979498645edfe66fcac2f2fd2b9117a79ff45e2a5aa -size 7301484 diff --git a/sane-backends-1.0.32.tar.gz b/sane-backends-1.0.32.tar.gz new file mode 100644 index 0000000..cc0d3bd --- /dev/null +++ b/sane-backends-1.0.32.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a28c237c0a72767086202379f6dc92dbb63ec08dfbab22312cba80e238bb114 +size 7349442 diff --git a/sane-backends.changes b/sane-backends.changes index ba1e140..7f6e6f0 100644 --- a/sane-backends.changes +++ b/sane-backends.changes @@ -1,3 +1,114 @@ +------------------------------------------------------------------- +Mon Feb 15 14:05:32 CET 2021 - jsmeix@suse.de + +- Upgraded to sane-backends version 1.0.32 + Changes since 1.0.31 + see https://gitlab.com/sane-project/backends/-/blob/master/NEWS + Numbers of the form '(#NNN)' usually mean upstream issues like + https://gitlab.com/sane-project/backends/-/issues/NNN and numbers + of the form '(!MMM)' usually mean upstream merge requests like + https://gitlab.com/sane-project/backends/-/merge_requests/MMM + Backends + * all backends now respect the 'local_only' parameter when 'true' + is passed to 'sane_get_devices()' in that they do not actively + go out looking for networked devices (!502) + * 'artec_eplus48u': fixes configuration for AstraSlim SE (!545) + * 'avision': adds the AV186+ and AV188 as supported (!532) + * 'avision': fixes doubled height issue (#402) + * 'avision': fixes a debug message and compiler warning (!515) + * 'canon_dr': adds support for the DR-C120 and DR-C130 (#175) + * 'canon_dr': adds support for uploading of fine calibration + uploads + * 'canon_dr': enables fine calibration for the P-208 + * 'canon_dr': improves DR-C225 support (#431) + * 'canon_lide70': adds support for document scanning + on the Canon LiDE 600(F), thanks to a hardware donation + by Georg Sauthoff + * 'dll': fixes a memory leak (!537) + * 'epson2': adds support for the ET-2600 (#395) + * 'epson2': adds autofocus support for devices + that support it (!531) + * 'epson2': fixes brightness support for DS-G20000/12000XL (!529) + * 'epson2': fixes an unchecked return value issue (!526) + * 'escl': adds support for brightness, threshold, sharpen + and contrast options (!527, !528) + * 'escl': adds support for LaserJet FLowMFP M578 + and MFP M630 (#424) + * 'escl': adds support for DeskJet 2710, 2723 (!519) + and 3760 (!554) + * 'escl': adds support for the PIXMA TS-5351 (!544) + and MG5765 (!517) + * 'escl': adds support for the Brother HL-L258DW (!517) + * 'escl': fixes Avahi device discovery (!536) + * 'escl': fixes crashes for devices without a flatbed (!554) + * 'escl': fixes segfaults in option handling (!557) + * 'escl': fixes sleep mode (!577) + * 'escl': fixes builds without libpoppler-glib-dev (#422) + * 'escl': fixes a memory issue in its capability handling (#425) + * 'fujitsu': fixes brightness/contrast for the iX500 + * 'fujitsu': fixes memory corruption for duplex scans + * 'genesys': disables support for CanoScan 4400F to prevent + possible physical damage (#436) + * 'gt68xx': fixes scan cancellation logic (#356) + * 'pixma': adds untested support for models + released in 2020 (!553) + * 'pixma': adds support for ADF scans on the i-SENSYS MF260 + * 'pixma': adds support for PIXMA M340 buttons + and ADF status (!513) + * 'pixma': adds an option to control when to calibrate (#321) + * 'pixma': fixes support for the MX492 (!548) + * 'pixma': fixes ADF support for the MX490 Series + * 'pixma': fixes max resolution for ADF scans + on the PIXMA M320 (#364) + * 'pixma': fixes compile errors when libxml2 + is not available (#345) + * 'plustek': fixes CanoScanN650u discovery (#137) + * 'test': fixes several memory leaks (!537) + Frontends + * 'saned': add support for listening on a custom + or ephemeral port via a new '-p'/'--port' option (!549) + * 'scanimage': fixes crashes for multi-pass + and handheld scans (#408) + * 'scanimage': fixes a memory leak (!551) + * 'scanimage': fixes option handling + for non-compliant backends (#362) + Documentation + * updates our copy of the GPL with the FSF's current postal + address. This changes references to the Library GPL (LGPL-2.0) + into refs to the Lesser GPL (LGPL-2.1) but does *not* affect + the licensing of our backends (#320). + * source code now points to the Free Software Foundation's + website for copies of the GPL and LGPL (#320) + * updates translations for British English and Ukrainian + * adds a pointer to our Ubuntu PPA for pre-built binaries + * adds SCSI IDs for the EPSON Perfection 1640SU (!509) + * fixes a boat-load of spelling mistakes (!516, thanks @marschap) + * updates description files for 'scangearmp2' + and 'utsushi' external backends + Build + * removes support for 'automake' maintainer mode (!522) + * removes 'sane' subdirectory from the lock directory + to fix issues when the lock directory is on 'tmpfs' (#363) + * adds support for builds using GitLab "source" tarballs (#248) + * fixes static link scenarios (#124) + * fixes 'python' invocations to use the detected program (!525) + * disables 'genesys' testsuite when that backend + is not built (#354) + * suppresses warnings about obsolete autoconf macros (#122) + * fixes availability of sane-backends.pot file inputs (#344) + * fixes 'configure.ac' for use with 'autoconf-2.70' (#409) + * removes CVS keywords from the source to ease use + by downstreams that still use CVS (!547) + Miscellaneous + * udev rules now trigger on all events other + than 'remove' (!541). This aims to address a kernel API change + introduced in 4.14. The new behaviour may slow down udev's + processing of kernel events when still using our plain 'udev' + or 'udev+acl' rules, even though these have been optimized + slightly (#341). If that bothers you, now is a good time + to switch to our 'udev+hwdb' rules in combination with + the 'hwdb' database if you have not done so already. + ------------------------------------------------------------------- Wed Sep 23 11:56:03 CEST 2020 - jsmeix@suse.de @@ -1610,8 +1721,8 @@ Thu Jan 10 15:09:23 CET 2002 - freitag@suse.de ------------------------------------------------------------------- Tue Jan 8 20:34:39 CET 2002 - egmont@suselinux.hu -- changed `adjustscannerperm' to `sane' in init script -- removed bogus `probe' entry from the same script +- changed 'adjustscannerperm' to 'sane' in init script +- removed bogus 'probe' entry from the same script ------------------------------------------------------------------- Wed Nov 21 01:44:23 CET 2001 - bjacke@suse.de diff --git a/sane-backends.spec b/sane-backends.spec index 90335ad..61bb1e3 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -1,7 +1,7 @@ # # spec file for package sane-backends # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -50,19 +50,19 @@ BuildRequires: pkgconfig(systemd) Summary: SANE (Scanner Access Now Easy) Scanner Drivers License: GPL-2.0-or-later AND SUSE-GPL-2.0+-with-sane-exception AND SUSE-Public-Domain Group: Hardware/Scanner -Version: 1.0.31 +Version: 1.0.32 Release: 0 URL: http://www.sane-project.org/ # On https://gitlab.com/sane-project/backends/-/releases -# there are two links, the first one is called "Source code (tar.gz)" that pints to +# there are two links, the first one is called "Source code (tar.gz)" that pointed to # https://gitlab.com/sane-project/backends/-/archive/1.0.31/backends-1.0.31.tar.gz -# and the second one is called "sane-backends-1.0.31.tar.gz" that pints to +# and the second one is called "sane-backends-1.0.31.tar.gz" that pointed to # https://gitlab.com/sane-project/backends/uploads/8bf1cae2e1803aefab9e5331550e5d5d/sane-backends-1.0.31.tar.gz -# The first one "backends-1.0.31.tar.gz" does not build, as it does not contain a prebuilt configure script, +# The first one "backends-1.0.31.tar.gz" did not build, as it does not contain a prebuilt configure script, # and autoconf fails as it requires a complete git clone, see https://gitlab.com/sane-project/backends/issues/248 -# We use the second one "sane-backends-1.0.31.tar.gz" that is a dist tarball with a prebuilt configure script via -# wget https://gitlab.com/sane-project/backends/uploads/8bf1cae2e1803aefab9e5331550e5d5d/sane-backends-1.0.31.tar.gz -Source0: sane-backends-1.0.31.tar.gz +# We use the second one "sane-backends-1.0.32.tar.gz" that is a dist tarball with a prebuilt configure script via +# wget https://gitlab.com/sane-project/backends/uploads/104f09c07d35519cc8e72e604f11643f/sane-backends-1.0.32.tar.gz +Source0: sane-backends-1.0.32.tar.gz # Source100... is SUSE specific stuff: # Source102 is the OpenSLP registration file for the saned: Source102: sane.reg From 167367600b2ad1a302153a5f559189fb7092c270bdc16f0a9bf045fd92a909d1 Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Tue, 16 Feb 2021 09:24:05 +0000 Subject: [PATCH 2/2] Accepting request 872527 from home:StefanBruens:branches:graphics - Remove udev rules mangling for USB devices (ATTR vs ATTRS) (!510) - Do no add SCSI id twice for EPSON Perfection 1640SU (!509) OBS-URL: https://build.opensuse.org/request/show/872527 OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=104 --- sane-backends.changes | 6 ++++++ sane-backends.spec | 10 ---------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/sane-backends.changes b/sane-backends.changes index 7f6e6f0..1bbd4d8 100644 --- a/sane-backends.changes +++ b/sane-backends.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 15 13:57:16 UTC 2021 - Stefan BrĂ¼ns + +- Remove udev rules mangling for USB devices (ATTR vs ATTRS) (!510) +- Do no add SCSI id twice for EPSON Perfection 1640SU (!509) + ------------------------------------------------------------------- Mon Feb 15 14:05:32 CET 2021 - jsmeix@suse.de diff --git a/sane-backends.spec b/sane-backends.spec index 61bb1e3..f9e66bf 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -361,13 +361,6 @@ install -m644 autoconfig.rules %{buildroot}%{_udevrulesdir}/56-sane-backends-aut # to place a paper on the scanner) so that both kind of devices # should usually require the same kind of security. sed -i -e 's/GROUP="scanner"/GROUP="lp"/' tools/udev/libsane.rules -# Regarding ATTRS{} (formerly SYSFS{}) versus ATTR{} see the Novell/Suse Bugzilla bug -# https://bugzilla.novell.com/show_bug.cgi?id=436085#c0 -# but for SCSI scanners "ATTRS" is mandatory see the Novell/Suse Bugzilla bug -# https://bugzilla.novell.com/show_bug.cgi?id=681146#c20 -# so that "ATTRS" is replaced by "ATTR" only for USB scanners. -# Upstream: https://gitlab.com/sane-project/backends/-/issues/341 -sed -i -e '/^LABEL="libsane_usb_rules_begin"/,/^LABEL="libsane_usb_rules_end"/s/ATTRS/ATTR/g' tools/udev/libsane.rules # Disable entries for USB scanners which are "unsupported" # but keep the entries for models for which the support status # is "complete", "good", "basic", "minimal", "untested" @@ -399,9 +392,6 @@ do if grep -q "^ATTR.idVendor.==$m" tools/udev/libsane.rules sed -i -e "/^ATTR.idVendor.==$m/Is/^ATTR/# ATTR/" tools/udev/libsane.rules fi done -# Add an entry for "SCSI processor EPSON Perfection1640", -# see https://bugzilla.novell.com/show_bug.cgi?id=681146#c43 -sed -i -e '/^# Epson Perfection 636S /i# Epson Perfection 1640\nKERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection1640", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"' tools/udev/libsane.rules # Install the udev rules file: install -m644 tools/udev/libsane.rules %{buildroot}%{_udevrulesdir}/55-libsane.rules # Service files: