diff --git a/sane-backends-1.2.1.tar.gz b/sane-backends-1.2.1.tar.gz deleted file mode 100644 index 3e7a2e3..0000000 --- a/sane-backends-1.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f832395efcb90bb5ea8acd367a820c393dda7e0dd578b16f48928b8f5bdd0524 -size 7308040 diff --git a/sane-backends-1.3.0.tar.gz b/sane-backends-1.3.0.tar.gz new file mode 100644 index 0000000..d0bce40 --- /dev/null +++ b/sane-backends-1.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bd3114d0ed8eca9f054e2c6727ab95afa6da0e8e602cc648955e1a788bc2070 +size 6089608 diff --git a/sane-backends.changes b/sane-backends.changes index 19ded84..0c02088 100644 --- a/sane-backends.changes +++ b/sane-backends.changes @@ -1,3 +1,76 @@ +------------------------------------------------------------------- +Fri May 3 00:47:40 UTC 2024 - Arnav Singh + +- Updated to sane-backends version 1.3.0 + * Backends + + avision: + - Correction for ADF presence detect which caused a hang. + - Internationalised some text items in the backend to make them available for translation. + + epsonds: + - Some small changes to option documentation. + - Added support for models: ES-C220, DS-C330, and DS-C490. + + escl: + - Fix for pwf:Version item. + - Fix for crash in libjpeg when cropping image. + - Fix for issue with configured device when AVAHI not running. + - Fix for build without poppler-glib. + + fujitsu: + - Added support for Ricoh scanners: FI-8040, FI-70F. + + genesys: + - Added missing configuration for Plustek OpticFilm 7500i and Plustek OpticFilm 8100. + + hpljm1005: + - Fixes to maximum geometries and various cropping and geometry details specifically for + the HP LaserJet M1005. + + lexmark_X2670: + - Added new backend for the Lexmark X26xx series of scanners. + + pixma: + - Fix to prevent mode change when source is selected. Mode should not change if still valid + for source. + - Added support for models: TS8630 Series, XK110 Series, GX3000 Series, GX4000 Series, + G3070 Series, G2070 Series, G4070 Series, G3030 Series, G2030 Series, TC-20M, TC-5200M, + TR4500 Series, TS8700 series, XK120 series, GX1000 series, GX2000 series, TS6630 series, + TS7700 series, TS7600i series, TS6730 series, TR7800 series, TS7700i series, + TS7700A series, GX6500 series, i-SENSYS MF750 Series + + snapscan: + - Corrections for Agfa ARCUS 1200 scan area. + + test: + - Fix for a crash in the backend. + + xerox_mfp: + - Added support for Dell 1135n, which is a clone of the Samsung SCX-4623F. + - Added support for Xerox WorkCentre 3335. + - Added JPEG mitigation for modules that don't properly support JPEG output: + Xerox WorkCentre 3225 + - Fix to remove USB CLEAR HALT during initialisation which can potentially lock up devices. + - General fixes to support the SCX-4521F model. + * Frontends + + saned: + - Default scan buffer is now 1MB. -B option added to permit the buffersize to be set. + - Documentation fixes. + + scanimage: + - Fix for keyboard prompt processing + - Default scan buffer is now 1MB. --buffer-size and -B options now require an argument + to be provided. + - Fix for PDF generation, missing newline in generated file. + * Build + + Fixes for clang-16 compiler + + Fixes for FreeBSD build. + + Fixes for escl build option involving poppler-glib. + + Optionally take build version from ChangeLog if not other version source is available. + + Fixes to autoconf files to remove unnecessary warnings from test logs. + + Fix for macOS builds related to threading support: SANE in macOS doesn't work for + multi-process with libusb. + * Tools + + sane-find-scanner: Added some Linux SCSI device names since some later potential names + are missing. Better solution in the pipeline. + * Documentation + + Fixes for a number of man pages. + + Added documentation for a number of Ricoh scanners which are rebranded products acquired + from Fujitsu. + * Miscellaneous + + sanei_config: Fix for a potential crash. + + New Georgian translation added. + + Translations updated for: British English, Ukrainian, French and Simplified Chinese. + ------------------------------------------------------------------- Thu Feb 22 07:14:09 UTC 2024 - Michael Vetter diff --git a/sane-backends.spec b/sane-backends.spec index 9dc9dcb..dcadf6f 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -23,10 +23,13 @@ #bcond_with escl Name: sane-backends +BuildRequires: autoconf-archive +BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel +BuildRequires: libtool BuildRequires: libv4l-devel BuildRequires: net-snmp-devel BuildRequires: pkgconfig @@ -50,19 +53,14 @@ 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.2.1 +Version: 1.3.0 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 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 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" 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.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: https://gitlab.com/sane-project/backends/uploads/110fc43336d0fb5e514f1fdc7360dd87/sane-backends-1.2.1.tar.gz +# On https://gitlab.com/sane-project/backends/-/releases , the "Source code (tar.gz)" link +# is a tarball auto-generated by GitLab and contains a snapshot of the git repository. +# The "sane-backends-*.tar.gz" link under "Packages" is a tarball uploaded by the maintainer. +# We use the latter. +Source0: https://gitlab.com/sane-project/backends/-/archive/%{version}/backends-%{version}.tar.gz#/sane-backends-%{version}.tar.gz # Source100... is SUSE specific stuff: # Source102 is the OpenSLP registration file for the saned: Source102: sane.reg @@ -191,11 +189,11 @@ Saned allows access to locally attached scanners over the network. # Patch100... is SUSE specific stuff: # Patch102 adapt_epkowa.desc_for_yast2-scanner.patch adapts epkowa.desc for yast2-scanner # see https://bugzilla.opensuse.org/show_bug.cgi?id=788756#c14 -%autosetup -p0 +%autosetup -p0 -n backends-%{version} # Remove hpoj.desc completely to avoid confusion with its successor hpaio.desc # because since openSUSE 10.3 the package hp-officeJet (for hpoj.desc) is dropped. -sed -i -e '/descriptions-external\/hpoj.desc / d' doc/Makefile{.am,.in} +sed -i -e '/descriptions-external\/hpoj.desc / d' doc/Makefile.am rm doc/descriptions-external/hpoj.desc # For compliance with the other description files in the sane-backends sources @@ -215,6 +213,7 @@ chmod u+x create_scanner_database %build export CFLAGS="%{optflags} -D_GNU_SOURCE -DGIMP_ENABLE_COMPAT_CRUFT=1 -fno-strict-aliasing" export LDFLAGS="-L/%_lib $LDFLAGS" +./autogen.sh # Enable pthread instead of fork (used in Debian since Feb 2009 and no issues so far), # see https://bugzilla.novell.com/show_bug.cgi?id=633780 # Disable locking because /var/lock/sane/ would be a world-writable directory.