diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-12-08 14:59:34 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-12-08 14:59:34 +0100 |
commit | 980fc6b1eec7e58eb4ebaeb95f089b5c2c6ac053 (patch) | |
tree | 88c22e56f9abd240b3f1c1606c41dc6cce335f83 /debian | |
parent | 622a21797f8086fa7a58728e0ea715270e7a9bd6 (diff) | |
parent | d4335b14dc17cfee5b3efb35099d31aa756ca2f9 (diff) |
Merge branch 'release/debian/1.3.0-2'debian/1.3.0-2
Diffstat (limited to 'debian')
-rw-r--r-- | debian/.gitignore | 1 | ||||
-rw-r--r-- | debian/changelog | 19 | ||||
-rw-r--r-- | debian/control | 6 | ||||
-rw-r--r-- | debian/copyright | 1232 | ||||
-rw-r--r-- | debian/files | 1 | ||||
-rw-r--r-- | debian/libsane1.dirs | 1 | ||||
-rw-r--r-- | debian/libsane1.install | 2 | ||||
-rw-r--r-- | debian/libsane1.lintian-overrides | 9 | ||||
-rw-r--r-- | debian/lrc.excludes | 8 | ||||
-rw-r--r-- | debian/patches/0180-Escl_force_idle_status.patch | 253 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/rules | 2 | ||||
-rw-r--r-- | debian/watch | 7 |
13 files changed, 1485 insertions, 57 deletions
diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 0000000..45afc37 --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1 @@ +files
\ No newline at end of file diff --git a/debian/changelog b/debian/changelog index 8c0b96d..18224ab 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,22 @@ +sane-backends (1.3.0-2) unstable; urgency=medium + + * Fix FTBFS on hurd-i386 & hurd-amd64 (Closes: #1081122). + - Thanks to Pino Toscano <pino@debian.org>. + * debian/libsane1.lintian-overrides: + - Fix syntax. + * Declare compliance with Debian Policy 4.7.0.1 (No changes needed). + * debian/copyright: + - Rewrite to make lrc happy. + * New debian/lrc.excludes to suppress false positives. + * debian/control: + - Change Vcs-Git from git: to https:. + * New debian/patches/0180-Escl_force_idle_status.patch: + - Fix Escl idle status (Closes: #1068794). + * debian/watch: + - Rewrite to the new gitlab schema. + + -- Jörg Frings-Fürst <debian@jff.email> Mon, 18 Nov 2024 19:51:57 +0100 + sane-backends (1.3.0-1) unstable; urgency=medium * New upstream release. diff --git a/debian/control b/debian/control index 44c2738..a77f110 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: sane-backends Section: graphics Priority: optional Maintainer: Jörg Frings-Fürst <debian@jff.email> -Standards-Version: 4.6.2.0 +Standards-Version: 4.7.0.1 Build-Depends: autoconf, autoconf-archive, @@ -14,7 +14,7 @@ Build-Depends: libcups2-dev, libcurl4-gnutls-dev, libgphoto2-dev, - libieee1284-3-dev [!hurd-i386], + libieee1284-3-dev [!hurd-any], libjpeg-dev, libltdl-dev, libpng-dev, @@ -29,7 +29,7 @@ Build-Depends: xutils-dev, python3-minimal:any Homepage: http://www.sane-project.org -Vcs-Git: git://git.jff.email/sane-backends.git +Vcs-Git: https://git.jff.email/cgit/sane-backends.git Vcs-Browser: https://git.jff.email/cgit/sane-backends.git Rules-Requires-Root: no diff --git a/debian/copyright b/debian/copyright index b5be539..1b084ce 100644 --- a/debian/copyright +++ b/debian/copyright @@ -18,6 +18,11 @@ Copyright: 1997-2002 Kevin Dalley <kevind@rahul.net> 2014-2024 Jörg Frings-Fürst <debian@jff.email> License: GPL-2+ with sane exception +Files: .editorconfig + .gitlab-ci.yml +Copyright: 2016-2020 Olaf Meeuwissen +License: GPL-3 + Files: backend/abaton.* Copyright: 1998-1998 David Huggins-Daines License: GPL-2+ with sane exception @@ -32,7 +37,6 @@ 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 @@ -43,7 +47,17 @@ Files: backend/artec.* sanei/sanei_net.c sanei/sanei_wire.c Copyright: 1996-1997 David Mosberger-Tang -License: GPL-2+ with sane exception +License: GPL-2+ + +Files: backend/qcam.* +Copyright: 1997 David Mosberger-Tang + 1996 Scott Laird +License: GPL-2+ and EXPAT + +Files: backend/qcam.h +Copyright: 1997 David Mosberger-Tang + 1996 Scott Laird +License: GPL-2 and EXPAT Files: backend/artec_eplus48u.* Copyright: 2002 Michael Herder <crapsite@gmx.net> @@ -99,13 +113,15 @@ 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/coolscan3.c +Copyright: 2007-2008 Tower Technologies +License: GPL-2 + Files: backend/dc210.* backend/dc240.* Copyright: 1998 Brian J. Murrell @@ -126,7 +142,7 @@ 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 +License: GPL-3+ Files: backend/epjitsu*.* Copyright: 2007-2022 m. allan noah <kitno455@gmail.com> @@ -147,7 +163,7 @@ License: GPL-2+ with sane exception Files: backend/epson2-cct.* Copyright: 2001-2009 SEIKO EPSON Corporation 2009 Tower Technologies -License: GPL-2+ +License: GPL-2 Files: backend/epson2-commands.* backend/epson2-io.* @@ -156,7 +172,7 @@ Files: backend/epson2-commands.* backend/epson2.* backend/epsonds*.* Copyright: 2006-2015 Tower Technologies -License: GPL-2+ +License: GPL-2 Files: backend/fujitsu.* Copyright: 2000 Randolph Bentson @@ -289,7 +305,7 @@ License: GPL-2+ with sane exception Files: backend/kodakaio.* Copyright: 2011-2017 Paul Newall -License: GPL-2+ +License: GPL-2 Files: backend/kvs1025.c backend/kvs20xx*.* @@ -297,13 +313,13 @@ Files: backend/kvs1025.c backend/kvs40xx_*.c Copyright: 2008 Panasonic Russia Ltd. 2010-2011 m. allan noah -License: GPL-2+ +License: GPL-2+ with sane exception Files: backend/kvs1025.h backend/kvs1025_*.* backend/kvs40xx.h Copyright: 2008 Panasonic Russia Ltd. -License: GPL-2+ +License: GPL-2+ with sane exception Files: backend/leo.* backend/matsushita.* @@ -335,7 +351,7 @@ License: GPL-2+ with sane exception Files: backend/lm9830.h Copyright: 2001 Nathan Rutman <nathan@gordian.com> -License: GPL-2+ +License: GPL-2+ with sane exception Files: backend/ma1509.* backend/test-picture.c @@ -345,7 +361,7 @@ License: GPL-2+ with sane exception Files: backend/magicolor.* Copyright: 2010 Reinhold Kainhofer <reinhold@kainhofer.com> -License: GPL-2+ +License: GPL-2 Files: backend/microtek.* Copyright: 2002 Matthew Marjanovic @@ -528,10 +544,8 @@ 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 @@ -539,6 +553,14 @@ Copyright: 1996-1999 David Mosberger-Tang 1996-1999 Andreas Beck License: GPL-2+ with sane exception +Files: include/sane/sane.h + include/sane/sanei_net.h + include/sane/sanei_tcp.h + include/sane/sanei_udp.h +Copyright: 1997-1999 David Mosberger-Tang + 2006-2007 Tower Technologies +License: public-domain + Files: backend/sharp.* Copyright: 1998-1999 Kazuya Fukuda 1998-1999 Abel Deuring @@ -655,7 +677,7 @@ License: GPL-2+ with sane exception Files: backend/stv680.* Copyright: 2004-2006 Gerard Klaver <gerard@gkall.hobby.nl> -License: GPL-2 +License: GPL-2+ Files: backend/tamarack.* Copyright: 1996-1997 David Mosberger-Tang @@ -696,7 +718,12 @@ Copyright: 2001 Marcio Luis Teixeira 2006 Patrick Lessard License: GPL-2+ with sane exception -Files: backend/v4l.* +Files: backend/v4l.c +Copyright: 1999 Juergen G. Schimmer + 2002-2004 Henning Meier-Geinitz +License: GPL-2+ with sane exception + +Files: backend/v4l.h Copyright: 1999 Juergen G. Schimmer 2002-2004 Henning Meier-Geinitz License: GPL-2+ with sane exception @@ -710,6 +737,10 @@ Files: backend/xerox_mfp-usb.c Copyright: 2008-2016 ABC <abc@telekom.ru> License: GPL-2+ with sane exception +Files: doc/releases.md +Copyright: 2021 SANE Project +License: CC-BY-SA-4.0 + Files: doc/descriptions/epson2.desc doc/descriptions/epsonds.desc Copyright: 2009-2015 Alessandro Zummo @@ -745,7 +776,7 @@ 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: GPL-2+ with sane exception +License: GFDL-1.1+ Files: po/zh_CN.po Copyright: 2021-2024 Tyson Tan <tysontan@tysontan.com> @@ -790,6 +821,11 @@ Copyright: 2002 Frank Zago <sane@zago.net> 2013 Stéphane Voltz <stef.dev@free.fr> License: GPL-2+ +Files: include/lgetopt.h + include/md5.h +Copyright: 1989-2001 Free Software Foundation, Inc. +License: LGPL-2.1+ + Files: include/sane/sanei.h Copyright: 1996 David Mosberger-Tang 1996 Andreas Beck @@ -845,14 +881,17 @@ License: Artistic Files: lib/getopt.c lib/getopt1.c lib/md5.c - lib/sigprocmask.c +Copyright: 1987-2002 Free Software Foundation +License: LGPL-2.1+ + +Files: 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+ +License: LGPL-2+ Files: sanei/sanei_ab306.c Copyright: 1997 Andreas Czechanowski @@ -930,6 +969,14 @@ Copyright: 1997-2013 Oliver Rauch 1997-2013 Henning Meier-Geinitz License: GPL-2+ +Files: tools/epson2usb.pl +Copyright: 2010 Tower Technologies +License: GPL-2 + +Files: tools/style-check.sh +Copyright: 2017 Olaf Meeuwissen +License: GPL-3+ + License: Artistic The "Artistic License" . @@ -1028,7 +1075,7 @@ License: Artistic IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. -License: GPL-2+ with sane exception +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 @@ -1063,11 +1110,10 @@ License: GPL-2+ with sane exception whether to permit this exception to apply to your modifications. If you do not wish that, delete this exception notice. -License: GPL-2+ +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. + the Free Software Foundation, either 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 @@ -1080,26 +1126,21 @@ License: GPL-2+ 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. + . + 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: GPL-3+ This program is free software; you can redistribute it and/or modify @@ -1118,6 +1159,7 @@ License: GPL-3+ 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 @@ -1135,3 +1177,1107 @@ License: LGPL-2.1+ . 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: CC-BY-SA-4.0 + Creative Commons Corporation ("Creative Commons") is not a law firm and + do not provide legal services or legal advice. Distribution of + Creative Commons public licenses does not create a lawyer-client or + other relationship. Creative Commons makes its licenses and related + information available on an "as-is" basis. Creative Commons gives no + warranties regarding its licenses, any material licensed under their + terms and conditions, or any related information. Creative Commons + disclaims all liability for damages resulting from their use to the + fullest extent possible. + . + Using Creative Commons Public Licenses + . + Creative Commons public licenses provide a standard set of terms and + conditions that creators and other rights holders may use to share + original works of authorship and other material subject to copyright + and certain other rights specified in the public license below. The + following considerations are for informational purposes only, are not + exhaustive, and do not form part of our licenses. + . + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + . + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + . + ======================================================================= + . + Creative Commons Attribution-ShareAlike 4.0 International Public + License + . + By exercising the Licensed Rights (defined below), You accept and agree + to be bound by the terms and conditions of this Creative Commons + Attribution-ShareAlike 4.0 International Public License ("Public + License"). To the extent this Public License may be interpreted as a + contract, You are granted the Licensed Rights in consideration of Your + acceptance of these terms and conditions, and the Licensor grants You + such rights in consideration of benefits the Licensor receives from + making the Licensed Material available under these terms and + conditions. + . + . + Section 1 -- Definitions. + . + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + . + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + . + c. BY-SA Compatible License means a license listed at + creativecommons.org/compatiblelicenses, approved by Creative + Commons as essentially the equivalent of this Public License. + . + d. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + . + e. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + . + f. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + . + g. License Elements means the license attributes listed in the name + of a Creative Commons Public License. The License Elements of this + Public License are Attribution and ShareAlike. + . + h. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + . + i. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + . + j. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + . + k. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + . + l. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + . + m. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + . + . + Section 2 -- Scope. + . + a. License grant. + . + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + . + a. reproduce and Share the Licensed Material, in whole or + in part; and + . + b. produce, reproduce, and Share Adapted Material. + . + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + . + 3. Term. The term of this Public License is specified in Section + 6(a). + . + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + . + 5. Downstream recipients. + . + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + . + b. Additional offer from the Licensor -- Adapted Material. + Every recipient of Adapted Material from You + automatically receives an offer from the Licensor to + exercise the Licensed Rights in the Adapted Material + under the conditions of the Adapter's License You apply. + . + c. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + . + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + . + b. Other rights. + . + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + . + 2. Patent and trademark rights are not licensed under this + Public License. + . + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + . + . + Section 3 -- License Conditions. + . + Your exercise of the Licensed Rights is expressly made subject to the + following conditions. + . + a. Attribution. + . + 1. If You Share the Licensed Material (including in modified + form), You must: + . + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + . + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + . + ii. a copyright notice; + . + iii. a notice that refers to this Public License; + . + iv. a notice that refers to the disclaimer of + warranties; + . + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + . + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + . + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + . + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + . + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + . + b. ShareAlike. + . + In addition to the conditions in Section 3(a), if You Share + Adapted Material You produce, the following conditions also apply. + . + 1. The Adapter's License You apply must be a Creative Commons + license with the same License Elements, this version or + later, or a BY-SA Compatible License. + . + 2. You must include the text of, or the URI or hyperlink to, the + Adapter's License You apply. You may satisfy this condition + in any reasonable manner based on the medium, means, and + context in which You Share Adapted Material. + . + 3. You may not offer or impose any additional or different terms + or conditions on, or apply any Effective Technological + Measures to, Adapted Material that restrict exercise of the + rights granted under the Adapter's License You apply. + . + . + Section 4 -- Sui Generis Database Rights. + . + Where the Licensed Rights include Sui Generis Database Rights that + apply to Your use of the Licensed Material: + . + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + . + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material, + including for purposes of Section 3(b); and + . + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + . + For the avoidance of doubt, this Section 4 supplements and does not + replace Your obligations under this Public License where the Licensed + Rights include other Copyright and Similar Rights. + . + . + Section 5 -- Disclaimer of Warranties and Limitation of Liability. + . + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + . + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + . + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + . + . + Section 6 -- Term and Termination. + . + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + . + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + . + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + . + 2. upon express reinstatement by the Licensor. + . + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + . + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + . + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + . + . + Section 7 -- Other Terms and Conditions. + . + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + . + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + . + . + Section 8 -- Interpretation. + . + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + . + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + . + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + . + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + . + . + ======================================================================= + . + Creative Commons is not a party to its public + licenses. Notwithstanding, Creative Commons may elect to apply one of + its public licenses to material it publishes and in those instances + will be considered the “Licensor.” The text of the Creative Commons + public licenses is dedicated to the public domain under the CC0 Public + Domain Dedication. Except for the limited purpose of indicating that + material is shared under a Creative Commons public license or as + otherwise permitted by the Creative Commons policies published at + creativecommons.org/policies, Creative Commons does not authorize the + use of the trademark "Creative Commons" or any other trademark or logo + of Creative Commons without its prior written consent including, + without limitation, in connection with any unauthorized modifications + to any of its public licenses or any other arrangements, + understandings, or agreements concerning use of licensed material. For + the avoidance of doubt, this paragraph does not form part of the + public licenses. + . + 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. + +License: LGPL-2+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 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 Library 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 Library General Public License + version 2 can be found in "/usr/share/common-licenses/LGPL-2". + +License: public-domain + This file is in the public domain. You may use and modify it as + you see fit, as long as this copyright message is included and + that there is an indication as to what modifications have been + made (if any). + . + SANE 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. + +License: Expat + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE + +License: GFDL-1.1+ + GNU Free Documentation License + Version 1.1, March 2000 + Copyright (C) 2000 Free Software Foundation, Inc. 51 Franklin St, + Fifth Floor, Boston, MA 02110-1301 USA + - + Everyone is permitted to copy and distribute verbatim copies of + this license document, but changing it is not allowed. + . + 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. + +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. diff --git a/debian/files b/debian/files deleted file mode 100644 index a980a6d..0000000 --- a/debian/files +++ /dev/null @@ -1 +0,0 @@ -sane-backends_1.3.0-1_source.buildinfo graphics optional diff --git a/debian/libsane1.dirs b/debian/libsane1.dirs index a2b7938..ced1768 100644 --- a/debian/libsane1.dirs +++ b/debian/libsane1.dirs @@ -1 +1,2 @@ /usr/lib/udev/hwdb.d/ +/usr/lib/udev/rules.d/ diff --git a/debian/libsane1.install b/debian/libsane1.install index bd940fe..b38912c 100644 --- a/debian/libsane1.install +++ b/debian/libsane1.install @@ -1,4 +1,2 @@ usr/lib/*/*.so.* usr/lib/*/sane/*.so.* -debian/60-libsane1.rules /usr/lib/udev/rules.d/ -debian/99-libsane1.rules /usr/lib/udev/rules.d/ diff --git a/debian/libsane1.lintian-overrides b/debian/libsane1.lintian-overrides index 5a4a9a0..ee56b5b 100644 --- a/debian/libsane1.lintian-overrides +++ b/debian/libsane1.lintian-overrides @@ -1,6 +1,9 @@ # begin-remove-after: released:trixie # protective diversion for upgrades of files moved from / to /usr -libsane1: diversion-for-unknown-file lib/udev/hwdb.d/20-sane.hwdb [preinst:*] -libsane1: diversion-for-unknown-file lib/udev/rules.d/60-libsane1.rules [preinst:*] -libsane1: diversion-for-unknown-file lib/udev/rules.d/99-libsane1.rules [preinst:*] +libsane1: systemd-diversion lib/udev/hwdb.d/20-sane.hwdb [preinst:11] +libsane1: systemd-diversion lib/udev/rules.d/60-libsane1.rules [preinst:14] +libsane1: systemd-diversion lib/udev/rules.d/99-libsane1.rules [preinst:17] +libsane1: diversion-for-unknown-file lib/udev/hwdb.d/20-sane.hwdb [preinst:11] +libsane1: diversion-for-unknown-file lib/udev/rules.d/60-libsane1.rules [preinst:14] +libsane1: diversion-for-unknown-file lib/udev/rules.d/99-libsane1.rules [preinst:17] # end-remove-after diff --git a/debian/lrc.excludes b/debian/lrc.excludes new file mode 100644 index 0000000..92a7560 --- /dev/null +++ b/debian/lrc.excludes @@ -0,0 +1,8 @@ +debian/control +LICENSE +backend/v4l.h +backend/xerox_mfp.c +backend/xerox_mfp.h +backend/xerox_mfp-tcp.c +backend/xerox_mfp-usb.c +patches/ax_create_stdint_h.19-20.m4.patch diff --git a/debian/patches/0180-Escl_force_idle_status.patch b/debian/patches/0180-Escl_force_idle_status.patch new file mode 100644 index 0000000..8df17d2 --- /dev/null +++ b/debian/patches/0180-Escl_force_idle_status.patch @@ -0,0 +1,253 @@ +Description: Escl force idle status +Origin: https://gitlab.com/sane-project/backends/-/merge_requests/835/diffs +Bug: https://gitlab.com/sane-project/backends/-/issues/742 +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068794 +Forwarded: not-needed +Last-Update: 2024-11-15 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/backend/escl/escl.c +=================================================================== +--- trunk.orig/backend/escl/escl.c ++++ trunk/backend/escl/escl.c +@@ -1345,7 +1345,7 @@ sane_cancel(SANE_Handle h) + } + handler->scanner->work = SANE_FALSE; + handler->cancel = SANE_TRUE; +- escl_scanner(handler->device, handler->scanner->scanJob, handler->result); ++ escl_scanner(handler->device, handler->scanner->scanJob, handler->result, SANE_TRUE); + free(handler->result); + handler->result = NULL; + free(handler->scanner->scanJob); +@@ -1566,6 +1566,7 @@ sane_start(SANE_Handle h) + handler->decompress_scan_data = SANE_FALSE; + handler->end_read = SANE_FALSE; + if (handler->scanner->work == SANE_FALSE) { ++ escl_reset_all_jobs(handler->device); + SANE_Status st = escl_status(handler->device, + handler->scanner->source, + NULL, +Index: trunk/backend/escl/escl.h +=================================================================== +--- trunk.orig/backend/escl/escl.h ++++ trunk/backend/escl/escl.h +@@ -252,7 +252,11 @@ SANE_Status escl_scan(capabilities_t *sc + + void escl_scanner(const ESCL_Device *device, + char *scanJob, +- char *result); ++ char *result, ++ SANE_Bool status); ++ ++SANE_Status escl_reset_all_jobs(ESCL_Device *device); ++ + + typedef void CURL; + +Index: trunk/backend/escl/escl_reset.c +=================================================================== +--- trunk.orig/backend/escl/escl_reset.c ++++ trunk/backend/escl/escl_reset.c +@@ -44,7 +44,32 @@ write_callback(void __sane_unused__*str, + * This function is called in the 'sane_cancel' function. + */ + void +-escl_scanner(const ESCL_Device *device, char *scanJob, char *result) ++escl_delete(const ESCL_Device *device, char *uri) ++{ ++ CURL *curl_handle = NULL; ++ long answer = 0; ++ ++ if (uri == NULL) ++ return; ++ curl_handle = curl_easy_init(); ++ if (curl_handle != NULL) { ++ escl_curl_url(curl_handle, device, uri); ++ curl_easy_setopt(curl_handle, CURLOPT_CUSTOMREQUEST, "DELETE"); ++ if (curl_easy_perform(curl_handle) == CURLE_OK) { ++ curl_easy_getinfo(curl_handle, CURLINFO_RESPONSE_CODE, &answer); ++ return; ++ } ++ curl_easy_cleanup(curl_handle); ++ } ++} ++ ++/** ++ * \fn void escl_scanner(const ESCL_Device *device, char *result) ++ * \brief Function that resets the scanner after each scan, using curl. ++ * This function is called in the 'sane_cancel' function. ++ */ ++void ++escl_scanner(const ESCL_Device *device, char *scanJob, char *result, SANE_Bool status) + { + CURL *curl_handle = NULL; + const char *scan_jobs = "/eSCL/"; +@@ -70,10 +95,15 @@ CURL_CALL: + if (i >= 15) return; + } + curl_easy_cleanup(curl_handle); +- if (SANE_STATUS_GOOD != escl_status(device, +- PLATEN, +- NULL, +- NULL)) +- goto CURL_CALL; ++ char* end = strrchr(scan_cmd, '/'); ++ *end = 0; ++ escl_delete(device, scan_cmd); ++ if (status) { ++ if (SANE_STATUS_GOOD != escl_status(device, ++ PLATEN, ++ NULL, ++ NULL)) ++ goto CURL_CALL; ++ } + } + } +Index: trunk/backend/escl/escl_status.c +=================================================================== +--- trunk.orig/backend/escl/escl_status.c ++++ trunk/backend/escl/escl_status.c +@@ -29,6 +29,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> ++#include <unistd.h> + + #include <libxml/parser.h> + +@@ -270,3 +271,135 @@ clean_data: + } + return (status); + } ++ ++static void ++print_xml_job_finish(xmlNode *node, ++ SANE_Status *job) ++{ ++ while (node) { ++ if (node->type == XML_ELEMENT_NODE) { ++ if (find_nodes_s(node)) { ++ if (strcmp((const char *)node->name, "JobState") == 0) { ++ const char *state = (const char *)xmlNodeGetContent(node); ++ if (!strcmp(state, "Canceled")) { ++ *job = SANE_STATUS_GOOD; ++ DBG(10, "jobId Completed SANE_STATUS_GOOD\n"); ++ } ++ else if (!strcmp(state, "Aborted")) { ++ *job = SANE_STATUS_GOOD; ++ DBG(10, "jobId Completed SANE_STATUS_GOOD\n"); ++ } ++ else if (!strcmp(state, "Completed")) { ++ *job = SANE_STATUS_GOOD; ++ DBG(10, "jobId Completed SANE_STATUS_GOOD\n"); ++ } ++ } ++ } ++ } ++ print_xml_job_finish(node->children, job); ++ node = node->next; ++ } ++} ++ ++static void ++print_xml_reset_all_jobs (xmlNode *node, ++ ESCL_Device *device) ++{ ++ DBG(10, "print_xml_reset_all_jobs\n"); ++ SANE_Status status = SANE_STATUS_DEVICE_BUSY; ++ while (node) { ++ if (node->type == XML_ELEMENT_NODE) { ++ if (find_nodes_s(node)) { ++ if (strcmp((const char *)node->name, "JobUri") == 0) { ++ DBG(10, "print_xml_reset_all_jobs: %s\n", node->name); ++ if (device != NULL) { ++ print_xml_job_finish (node, &status); ++ if (status == SANE_STATUS_DEVICE_BUSY) { ++ char *jobUri = (char *)xmlNodeGetContent(node); ++ char *job = strrchr((const char *)jobUri, '/'); ++ char *scanj = NULL; ++ if (job != NULL) { ++ if (strstr(jobUri,"ScanJobs")) ++ scanj = strdup("ScanJobs"); ++ else ++ scanj = strdup("ScanJob"); ++ DBG(10, "print_xml_reset_all_jobs: %s/%s\n", scanj, job); ++ escl_scanner(device, scanj, job, SANE_FALSE); ++ free(scanj); ++ } ++ DBG(10, "print_xml_reset_all_jobs: sleep to finish the job\n"); ++ } ++ } ++ } ++ } ++ } ++ print_xml_reset_all_jobs (node->children, ++ device); ++ node = node->next; ++ } ++} ++ ++/** ++ * \fn SANE_Status escl_reset_all_jobs (ESCL_Device *device, , char *scanJob) ++ * \brief Function that forces the end of jobs, using curl. ++ * This function is called in the 'sane_start' function. ++ * ++ * \return status (if everything is OK, status = SANE_STATUS_GOOD, otherwise, SANE_STATUS_NO_MEM/SANE_STATUS_INVAL) ++ */ ++SANE_Status ++escl_reset_all_jobs(ESCL_Device *device) ++{ ++ CURL *curl_handle = NULL; ++ xmlDoc *data = NULL; ++ xmlNode *node = NULL; ++ struct idle *var = NULL; ++ const char *scanner_status = "/eSCL/ScannerStatus"; ++ SANE_Status status = SANE_STATUS_DEVICE_BUSY; ++ ++ DBG(10, "escl_reset_all_jobs\n"); ++ if (device == NULL) ++ return (SANE_STATUS_NO_MEM); ++ DBG(10, "1 - escl_reset_all_jobs\n"); ++ var = (struct idle*)calloc(1, sizeof(struct idle)); ++ if (var == NULL) ++ return (SANE_STATUS_NO_MEM); ++ DBG(10, "2 - escl_reset_all_jobs\n"); ++ var->memory = malloc(1); ++ var->size = 0; ++ curl_handle = curl_easy_init(); ++ ++ escl_curl_url(curl_handle, device, scanner_status); ++ curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, memory_callback_s); ++ curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *)var); ++ curl_easy_setopt(curl_handle, CURLOPT_FOLLOWLOCATION, 1L); ++ curl_easy_setopt(curl_handle, CURLOPT_MAXREDIRS, 3L); ++ CURLcode res = curl_easy_perform(curl_handle); ++ if (res != CURLE_OK) { ++ DBG( 1, "The scanner didn't respond: %s\n", curl_easy_strerror(res)); ++ status = SANE_STATUS_INVAL; ++ goto clean_data1; ++ } ++ DBG(10, "3 - escl_reset_all_jobs\n"); ++ DBG( 10, "eSCL : Status : %s.\n", var->memory); ++ data = xmlReadMemory(var->memory, var->size, "file.xml", NULL, 0); ++ if (data == NULL) { ++ status = SANE_STATUS_NO_MEM; ++ goto clean_data1; ++ } ++ node = xmlDocGetRootElement(data); ++ if (node == NULL) { ++ status = SANE_STATUS_NO_MEM; ++ goto clean1; ++ } ++ print_xml_reset_all_jobs (node, device); ++ status = SANE_STATUS_GOOD; ++clean1: ++ xmlFreeDoc(data); ++clean_data1: ++ xmlCleanupParser(); ++ xmlMemoryDump(); ++ curl_easy_cleanup(curl_handle); ++ free(var->memory); ++ free(var); ++ return status; ++} diff --git a/debian/patches/series b/debian/patches/series index b03678d..93fa125 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -12,3 +12,4 @@ 0605-fix_groff-warnings.patch 0200-disable-check-equal-stderr.patch 0610-fix_groff_font_warnings.patch +0180-Escl_force_idle_status.patch diff --git a/debian/rules b/debian/rules index 0d45f6b..d44c8ce 100755 --- a/debian/rules +++ b/debian/rules @@ -92,6 +92,8 @@ ifeq (linux,$(DEB_HOST_ARCH_OS)) $(SANE_DESC) -s $(CURDIR)/doc/descriptions -m hwdb > $(CURDIR)/debian/20-sane.hwdb cp $(CURDIR)/debian/20-sane.hwdb $(CURDIR)/debian/libsane1/usr/lib/udev/hwdb.d/ + cp $(CURDIR)/debian/60-libsane1.rules $(CURDIR)/debian/libsane1/usr/lib/udev/rules.d/ + cp $(CURDIR)/debian/99-libsane1.rules $(CURDIR)/debian/libsane1/usr/lib/udev/rules.d/ endif dh_install diff --git a/debian/watch b/debian/watch index c384aa1..66e2365 100644 --- a/debian/watch +++ b/debian/watch @@ -2,8 +2,5 @@ # 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.* +opts="searchmode=plain" \ + https://gitlab.com/sane-project/backends/tags?sort=updated_desc -/archive/v?\d[\d.]+/backends-@ANY_VERSION@@ARCHIVE_EXT@ debian uupdate |