pax_global_header 0000666 0000000 0000000 00000000064 14774277732 0014536 g ustar 00root root 0000000 0000000 52 comment=e17b63729571d994f1cf976fc5e3dbe114f62111
simple-scan-48.1/ 0000775 0000000 0000000 00000000000 14774277732 0013705 5 ustar 00root root 0000000 0000000 simple-scan-48.1/.gitignore 0000664 0000000 0000000 00000000042 14774277732 0015671 0 ustar 00root root 0000000 0000000 _build/*
_install/*
subprojects/*
simple-scan-48.1/.gitlab-ci.yml 0000664 0000000 0000000 00000003263 14774277732 0016345 0 ustar 00root root 0000000 0000000 build:snap:
image: ubuntudesktop/gnome-3-38-2004
before_script:
- apt-get update
- DEBIAN_FRONTEND=noninteractive apt-get install -q -y --no-install-recommends ca-certificates
script: snapcraft
artifacts:
paths: ['./*.snap']
expire_in: 3 days
# TODO: Fix GTK4 snap package build
allow_failure: true
build-ubuntu:
image: ubuntu:rolling
before_script:
- apt-get update
- DEBIAN_FRONTEND=noninteractive apt-get install -q -y --no-install-recommends meson valac gcc gettext itstool libfribidi-dev libgirepository1.0-dev libgtk-4-dev libadwaita-1-dev libgusb-dev libcolord-dev libpackagekit-glib2-dev libwebp-dev libsane-dev git ca-certificates
script:
- meson _build
- ninja -C _build install
build-fedora:
image: fedora:latest
before_script:
- dnf install -y meson vala gettext itstool fribidi-devel gtk4-devel libadwaita-devel gobject-introspection-devel libgusb-devel colord-devel PackageKit-glib-devel libwebp-devel sane-backends-devel git
script:
- meson _build
- ninja -C _build install
build-arch:
image: archlinux:base
before_script:
- pacman -Syu --noconfirm meson vala gettext itstool fribidi gtk4 libadwaita gobject-introspection libgusb colord libwebp sane git
script:
- meson _build
- ninja -C _build install
allow_failure: true
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
flatpak:
variables:
MANIFEST_PATH: "build-aux/flatpak/org.gnome.SimpleScan.json"
FLATPAK_MODULE: "simple-scan"
APP_ID: "org.gnome.SimpleScan"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
BUNDLE: "simple-scan.flatpak"
extends: '.flatpak'
simple-scan-48.1/COPYING 0000664 0000000 0000000 00000104513 14774277732 0014744 0 ustar 00root root 0000000 0000000 GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public 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.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Copyright (C)
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, 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 .
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Copyright (C)
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
.
simple-scan-48.1/NEWS 0000664 0000000 0000000 00000073663 14774277732 0014423 0 ustar 00root root 0000000 0000000 Overview of changes in simple-scan 48.1
~~~~~~~~~~~~~~
Released: 2025-04-05
* Always tag JPEG-compressed PDF output as 8-bit RGB.
* Use "view-more-symbolic" for the "Scan Options" button icon.
* Add a test if the post-processing script path is empty.
* Fix the docker image name of the Arch Linux Distribution.
* Update Ubuntu documentation.
* metainfo: Fix wrong developer id.
* Correct issue tracker URL.
* Update minimum Meson version to 0.46.
* Use RDNN app ID.
* Updated translations.
Overview of changes in simple-scan 46.0
~~~~~~~~~~~~~~
Released: 2024-03-18
* Updated translations
Overview of changes in simple-scan 46.beta
~~~~~~~~~~~~~~
Released: 2024-02-23
* Switch to GTK4 and libadwaita
* Implement redesign
* Updated translations
Overview of changes in simple-scan 44.0
~~~~~~~~~~~~~~
Released: 2023-03-19
* Add shortcut for Preferences (Ctrl+comma: Opens the preferences window).
* Add buttons to change orientation of even/odd pages - usecase for Reversing Automatic Document Feeder (RADF) scanners.
* Fix image size after cropping.
* Updated translations.
Overview of changes in simple-scan 42.5
~~~~~~~~~~~~~~
Released: 2022-09-19
* Updated translations.
Overview of changes in simple-scan 42.1
~~~~~~~~~~~~~~
Released: 2022-04-19
* Clarify project license.
* Updated translations.
Overview of changes in simple-scan 42.0
~~~~~~~~~~~~~~
Released: 2022-03-18
* Skip virtual devices when detecting scanners.
* Add support for postprocessing scripts.
* Save Window state to user's .config folder instead of user's .cache folder.
* Updates 'About' dialog to match with other GNOME apps.
* Delete autosave records after creating new document [#278].
* Fix replacing underscore with space.
* Fix autosave of Page Side property [#273].
* Add the device name to the label if there are several identical models.
* Fix incorrect scan button tooltips.
* Updated translations.
Overview of changes in simple-scan 40.6
~~~~~~~~~~~~~~
Released: 2021-10-27
* Add duplex scanning support for Canon DR-C240.
* Add missing centered ADF source option from Brother driver.
* Updated translations.
Overview of changes in simple-scan 40.5
~~~~~~~~~~~~~~
Released: 2021-09-22
* Fix automatic size detection on Brother scanners.
* Updated translations.
Overview of changes in simple-scan 40.1
~~~~~~~~~~~~~~
Released: 2021-05-25
* Fix for set of X, Y resolutions for Epson.
* Allow scan double side of single page if Flatbed is not found.
* Updated translations.
Overview of changes in simple-scan 40.0
~~~~~~~~~~~~~~
Released: 2021-03-23
* Updated translations.
Overview of changes in simple-scan 40.beta
~~~~~~~~~~~~~~
Released: 2021-02-25
* Don't repeat vendor name in the device name.
* GNOME 40 consistency updates.
* Fix crop size after decreasing page size.
* UI fixes: change crop icon, improve layout of buttons.
* Add redetect button to device list.
* Add new resolution 200 DPI.
* Add zero second delay for Multiple Pages from FlatBed.
* Display an error, when no documents found in the feeder.
* Rename 'Start again' button to 'New document'.
* Fix crash on lexmark backend.
* Updated translations.
Overview of changes in simple-scan 3.38.1
~~~~~~~~~~~~~~
Released: 2020-10-02
* Updated translations.
Overview of changes in simple-scan 3.38.0
~~~~~~~~~~~~~~
Released: 2020-09-11
* Updated translations.
Overview of changes in simple-scan 3.37.92
~~~~~~~~~~~~~~
Released: 2020-09-04
* Display error message if simple-scan is unable to open simple-scan.log [#192].
* Fix scanning on Epson devices, when Automatic Page Size is enabled [#90].
* Updated translations.
Overview of changes in simple-scan 3.37.3
* Improve compression scale which appear during file saving, to be more
intuitive.
* Fix color scanning for Brother ADS 2200 and 2700 sane backend.
Overview of changes in simple-scan 3.37.2
* Store save directory as URI
* Change the size of the paper to avoid visual glitches.
* Revert the higher bit depth text scans changes - they aren't working with
PDF saving.
Overview of changes in simple-scan 3.37.1
* Show ruler around page.
* Use higher bit depth on text scans.
* Use default quality setting to prevent slow scanning.
* Always set brightness and contrast settings to fix bugs with the wrong
values being used.
* Redetect scanners when document restarted to fix network scanner detection.
* Don't interrupt scanning if the device is busy.
* Support saving files to FUSE file systems.
* Fix size of first page on second scan.
* Small fixes to home page.
* Display dialog if out of memory.
* Add ADF duplex support for Brother DS-720.
* Fix setting source for Epson scanner.
* Preserve file format between saves.
* Add initial Lexmark printers support.
* Update keyboard shortcuts dialog.
* Update known USB scanner IDs.
* Improve debugging messages.
* Update documentation.
Overview of changes in simple-scan 3.36.0
* Updated translations
Overview of changes in simple-scan 3.35.92
* Updated translations
Overview of changes in simple-scan 3.35.91
* Improve description in desktop file / AppStream data.
* Fix page shortcuts no longer working.
* Help improvements.
Overview of changes in simple-scan 3.35.90
* Fix mnemnonics in preferences dialog.
* Help improvements.
Overview of changes in simple-scan 3.35.3
* Move the scanner selection combo from preferences to the home page.
* Add print option to burger menu.
* Add preferences button in scan options popover.
* Remember last Scan type between runs.
* Move spinner from scan page to scan/stop button.
* Move preferences location in burger menu.
* Make scan/stop button change label immediately when it is clicked.
* Adjust minimum size of scan/stop button to better handle translations.
* Add prompt to autoload data to avoid bad data making startup impossible.
* Display an error when no documents found in an ADF scan.
* Improve handling and debugging of inactive SANE options.
* Add support for setting brightness and contrast in FIXED format.
* Fix color scanning on some Brother scanners.
* Fix preferences mnemonics.
* Set minimal width and height of the main window.
* Help improvements.
* Update README.
Overview of changes in simple-scan 3.35.2
* Updated translations
Overview of changes in simple-scan 3.35.1
* Enhance appdata with more fields used by GNOME Software, Flathub etc.
* Update libwepmix VAPI file to fix possibly unassigned local variable.
Overview of changes in simple-scan 3.34.0
* Updated translations
Overview of changes in simple-scan 3.33.92
* Updated translations
Overview of changes in simple-scan 3.33.91
* Updated translations
Overview of changes in simple-scan 3.33.90
* Change (user visible) name to "Document Scanner"
* Updated icon
Overview of changes in simple-scan 3.33.4
* Reinstate shortcut keys that stopped working in 3.32
* Fix page delay preferences not working correctly
Overview of changes in simple-scan 3.33.3
* Updated translations
Overview of changes in simple-scan 3.33.2
* Make icon landscape
Overview of changes in simple-scan 3.33.1
* Use new app icon
Overview of changes in simple-scan 3.32.0
* Updated translations
Overview of changes in simple-scan 3.31.92
* Updated translations
Overview of changes in simple-scan 3.31.91
* Fix save overwriting existing file when user decided not to.
* Make save button insensitive while saving
Overview of changes in simple-scan 3.31.90.1
* Fix crash when detecting scanners
Overview of changes in simple-scan 3.31.90
* Support non-standard Epson ADF scanner options
Overview of changes in simple-scan 3.31.4
* Updated translations
Overview of changes in simple-scan 3.31.3
* Updated translations
Overview of changes in simple-scan 3.31.2
* Use Gtk.FileChooserNative for save dialog so works in sandboxed environments
* Use GLib.List.deep_copy() to fix type-argument mismatch
Overview of changes in simple-scan 3.31.1
* Replace scan menu with a popdown
* Make ActionBar buttons wide to match design
* Drop legacy toolbar support
* Update homepage from Launchpad to gitlab.gnome.org
* Remove some GTK+ code that isn't present in GTK+ 4
* Update About menu item to new standard name
* Make about dialog app name translatable
Overview of changes in simple-scan 3.30.0
* Updated translations
Overview of changes in simple-scan 3.29.92
* Keep scanning while pages are reordered
* Update README
Overview of changes in simple-scan 3.29.91
* Updated translations
Overview of changes in simple-scan 3.29.90
* Updated translations
Overview of changes in simple-scan 3.29.4
* Add A3 paper size to preferences
* Remove app menu and add menu into headerbar
Overview of changes in simple-scan 3.29.3
* Handle NO_DOCS response during sane_read calls
Overview of changes in simple-scan 3.29.2
* Fix compilation with recent Vala version
* Stop using deprecated API
Overview of changes in simple-scan 3.28.1
* Updated translations
Overview of changes in simple-scan 3.28.0
* Updated translations
Overview of changes in simple-scan 3.27.92
* Updated translations
Overview of changes in simple-scan 3.27.91
* Update Snap packaging
Overview of changes in simple-scan 3.27.90
* Fix email sending failing with PDF attachments
* Fix time units for page delay
Overview of changes in simple-scan 3.27.4
* Updated translations
Overview of changes in simple-scan 3.27.3
* Update docs to reflect move to gitlab.gnome.org
Overview of changes in simple-scan 3.27.2
* Updated translations
Overview of changes in simple-scan 3.27.1
* Update appdata to latest standards
* Don't symlink help media (breaks with relocatable packages)
Overview of changes in simple-scan 3.26.0
* Updated translations
Overview of changes in simple-scan 3.25.92
* Updated translations
Overview of changes in simple-scan 3.25.91
* Added Snap packaging
Overview of changes in simple-scan 3.25.90
* Fix grammar in preferences dialog
Overview of changes in simple-scan 3.25.4
* Add a shortcut window
* Fix application ID to match resources names
Overview of changes in simple-scan 3.25.3
* Add support for lossy webp image.
* More preferences dialog design improvements.
* Make saving asyncronous, multithreaded, cancellable.
* Add colour to scan button.
* Put email entry in hamburger menu (was removed in design changes).
* Don't show welcome page if autloaded document.
* Fix scan menu not working Unity/XFCE/MATE etc.
* Don't use headerbar on i3 desktop.
* Set a minimal version number for packagekit-glib2.
* Translatable string / build rules improvements.
Overview of changes in simple-scan 3.25.2
* Redesign preferences dialog.
* Move JPEG compression control to save dialog.
* Replace blank page with a homescreen that shows scanner status.
* Simplify header bar controls.
* Move page controls to an action bar below scanned page.
* Improve algorithm that picks JPEG or zlib compression for PDF files.
* Restrict image file filter to supported image formats.
* Fix compilation with Vala 0.36.
* Remove obsolete code.
Overview of changes in simple-scan 3.25.1
* Check if files exist in multi-file saves
* Remove "Save As" - save now always prompts when overwriting
* Add a continuous scan option
* Make email and print actions insensitive when document empty
* Remove .ps and .tiff output support - this is not required
* Switch from autotools to Meson
Overview of changes in simple-scan 3.24.0
* No change version bump
Overview of changes in simple-scan 3.23.92
* Updated translations
Overview of changes in simple-scan 3.23.90
* Updated translations
Overview of changes in simple-scan 3.23.3
* Updated translations
Overview of changes in simple-scan 3.23.2
* Add optional tags in PDF output to be more PDF/A compliant
* Don't use GtkHeaderBar in Cinnamon
Overview of changes in simple-scan 3.22.0.1
* Stop icon name in .desktop file being translated
Overview of changes in simple-scan 3.22.0
* Updated translations
Overview of changes in simple-scan 3.21.90
* Use recent features of gettext, dropping intltool
Overview of changes in simple-scan 3.21.1
* Updated translations
Overview of changes in simple-scan 3.20.0
* Fix window state saving with client side decorations
Overview of changes in simple-scan 3.19.92
* Updated translations
Overview of changes in simple-scan 3.19.91
* Updated translations
Overview of changes in simple-scan 3.19.90
* Updated translations
Overview of changes in simple-scan 3.19.4
* Updated translations
Overview of changes in simple-scan 3.19.3
* Fix typo in Epson website
* Enable translations for help documentation
Overview of changes in simple-scan 3.19.2
* Make colord/packagekit support able to be explicitly disabled
Overview of changes in simple-scan 3.19.1
* Make PackageKit support optional
* Add help about quality, brightness, contrast settings
* Fix help references to Wikipedia (currently just say Wiki)
* Fix SANE capability logging commas
Overview of changes in simple-scan 3.18.0
* Show error message when fail to install drivers
* Bump copyright dates
Overview of changes in simple-scan 3.17.92
* Correctly select the previous device after the device list is updated
Overview of changes in simple-scan 3.17.91
* Updated translations
Overview of changes in simple-scan 3.17.90
* Default to PDF when saving in all cases.
* Always show file format options and use a combo box to fit better into dialog
* Detect HP scanners and install drivers using PackageKit if found.
* If SANE detects no scanners but we see USB IDs of Brother, Epson or Samsung
scanners then prompt the user to go to their website to install drivers.
* Use GUsb instead of GUdev.
* Fix error dialogs not showing.
Overview of changes in simple-scan 3.17.4
* Updated translations
Overview of changes in simple-scan 3.17.3
* Stop using gnome-common, use autotools directly
Overview of changes in simple-scan 3.17.2
* Updated translations
Overview of changes in simple-scan 3.17.1.1
* Build appdata in a separate directory so it can have translations merged in
but gschemas do not.
Overview of changes in simple-scan 3.17.1
* Fix logic for adding blank page on page removal.
* Fix save button being inactive on pages restored after a crash
* Make appdata translatable and add screenshot
Overview of changes in simple-scan 3.16.0
* Updated translations
Overview of changes in simple-scan 3.15.92
* Updated translations
Overview of changes in simple-scan 3.15.91
* Updated translations
Overview of changes in simple-scan 3.15.90
* Don't use GtkHeaderBar in LXDE, MATE
Overview of changes in simple-scan 3.15.4
* Fix error where document was discarded if warning dialog was closed
* Use window decorations if running in Unity of XFCE, all others get the headerbar
* Add GenericName to .desktop file
* Add some keywords in the .desktop file
* Initialize GTK+ after command line options are parsed
Overview of changes in simple-scan 3.15.3
* Updated translations
Overview of changes in simple-scan 3.15.2
* Store density information in bitmap formats (JPEG, PNG, TIFF). Requires
gdk-pixbuf 2.32.2
Overview of changes in simple-scan 3.15.1
* Updated translations
Overview of changes in simple-scan 3.14.0
* No change version bump
Overview of changes in simple-scan 3.13.92
* Updated translations
Overview of changes in simple-scan 3.13.91
* Updated translations
Overview of changes in simple-scan 3.13.90
* Add non-standard option names for duplex scanning on HP And Brother scanners
Overview of changes in simple-scan 3.13.4.2
* Fix scan menu not working in toolbar
* Fix warning about button that was trying to set both a label and an image
* Stop warning when no autosave information
Overview of changes in simple-scan 3.13.4.1
* Don't access a variable after ownership is transferred - was breaking scans
* Fix some UI objects not being accessed since GtkTemplate changes
* Correct method signature for delete-event
Overview of changes in simple-scan 3.13.4
* Stop configure if vala not found
* Make conditions where traditional menubar is shown more contrained so it
shows in elementary
* Use GtkTemplate (requires Vala 0.22)
Overview of changes in simple-scan 3.13.3
* Use GtkHeaderbar on systems that support it
Overview of changes in simple-scan 3.13.1
* Correct generation of PDF trailer to conform to the PDF standard
* Add options to reorder pages
Overview of changes in simple-scan 3.12.0
* Updated translations
Overview of changes in simple-scan 3.11.92
* Updated translations
Overview of changes in simple-scan 3.11.91
* Updated translations
Overview of changes in simple-scan 3.11.5
* Only update gsettings when they change. Move application state from
gsettings to ~/.cache
Overview of changes in simple-scan 3.11.4
* Use AppMenu in GNOME Shell
Overview of changes in simple-scan 3.11.3
* Remove deprecated Gtk.Stock items and Gtk widgets (GtkVBox, GtkTable, GtkHButtonBox)
* Stop using sqlite package
* Update .ui file to work with recent Glade version
Overview of changes in simple-scan 3.11.1.1
* Fix regression where quality and contrast can be reset to minimum
* Install missing help images
* Mark autosaved books as needs saving
Overview of changes in simple-scan 3.11.1
* Fix page size not being applied on some drivers
* Rewrite autosaving. Now uses files for scan data, is more efficient in
writing to disk and drops dependency on sqlite.
Overview of changes in simple-scan 3.10.0
* Fix --fix-pdf not working due to attempting to treat binary data as UTF-8
Overview of changes in simple-scan 3.9.91
* Add appdata file
Overview of changes in simple-scan 3.9.90
* Only autosave after a timeout
Overview of changes in simple-scan 3.9.4.1
* Add missing gresource file to tarball
Overview of changes in simple-scan 3.9.4
* Add support for Samsung devices that don't use the standard SANE
field names
Overview of changes in simple-scan 3.9.3
* Update README to mention git mirror
* Hide C warnings
* Compile with Vala debugging information
Overview of changes in simple-scan 3.9.2
* Force an extension when saving if one not provided
* Zero pad numbering when saving multiple files
* Add JPEG quality settings
* Set ICC profile and density units for JPEG files
* Use gdk-pixbuf instead of libjpeg when writing PDF files
Overview of changes in simple-scan 3.9.1
* Add copy to clipboard function
* Compile UI files into binary
* Update build instructions
Overview of changes in simple-scan 3.8.0
* Updated version
Overview of changes in simple-scan 3.7.1
* Autosave document and restore on quit
* Add controls for brightness and contrast
* Fix scan no longer working after an ADF scan completes
* Use GLib 2.32 threading API
* Fix erroneous warning about failing to set ADF source
* Updated help
* Simplify build system
Overview of changes in simple-scan 3.6.0
* No change version bump
Overview of changes in simple-scan 3.5.90
* Remove drag and drop support - it breaks the cropping
* Fix crash caused by signal being emitted in scan thread
* Fix crash when starting a new document during a scan
* Fix --debug not working
Overview of changes in simple-scan 3.5.3
* Always set scanner options in the same order to avoid options resetting
options already set.
* Number multiple page documents from 1
* Commit help .pot file so can be translated from Launchpad
* Fix help not working
* Show progress dialog when saving files
* Support drag and drop
Overview of changes in simple-scan 3.4.0
* No change version bump
Overview of changes in simple-scan 3.3.92
* Fix buffer overrun writing black and white PDFs
* Build help with yelp-tools instead of gnome-doc-utils
Overview of changes in simple-scan 3.2.1
* Fix JPEG compression not working in PDF files
Overview of changes in simple-scan 3.2.0
* Version number change only
Overview of changes in simple-scan 3.1.91
* Fix compilation with latest Vala
Overview of changes in simple-scan 3.1.90
* Fix incorrect PDF generation, and add a --fix-pdf command line to fix broken
files generated by older versions
Overview of changes in simple-scan 3.1.5
* Fix compile warnings
Overview of changes in simple-scan 3.1.3
* Port to Vala
* Port to GTK3
* Port to GDBus
* Port to GSettings
* Port to colord
Overview of changes in simple-scan 2.32.0.2
* Add binary comment as recommended in PDF spec
* Add comments about other PDF/A features
* Updated translations
Overview of changes in simple-scan 2.32.0.1
* Fix crash when pages not scanned top to bottom
* Fix PDF output in locales that use ',' for a decimal point
* Handle grayscale mode in brother3 driver
* Fix wrong size crop when saving
Overview of changes in simple-scan 2.32.0
* Updated translations
Overview of changes in simple-scan 2.31.91
* Allow pages to be reordered
Overview of changes in simple-scan 2.31.90.2
* Fix crash saving cropped pages
Overview of changes in simple-scan 2.31.90.1
* Store scanned pages in raw format, not converted to 8 bit RGB. This uses
less memory and allows higher bit images to be used in the future.
* Fix scaling in output PDF
* Use 4 gray levels for text scanned documents
Overview of changes in simple-scan 2.31.90
* Updated translations
Overview of changes in simple-scan 2.31.5
* Prompt user to save if they are quitting/starting a new document and have
unsaved changes.
* Save button only sensitive if have unsaved data
* Add save as button
Overview of changes in simple-scan 2.31.4
* Implement PDF writer, no longer require ImageMagick and about twice as
compressed as old method.
Overview of changes in simple-scan 2.31.3
* Use GtkInfoBar for errors/warnings
Overview of changes in simple-scan 2.31.1
* Compile with -DGSEAL_ENABLE
* Fix crash setting automatic source on some drivers
* Set resolution on ImageMagick generated PDFs
* Set "duplex" and "batch-scan" flags if supported by driver
Overview of changes in simple-scan 1.0.0
* Don't put dashes in temporary filenames used when emailing to workaround a
Thunderbird bug
* Add 32x32 crop icon
* Don't replace scanner provided on the command-line with detected devices
* Handle ImageMagick process failing
* Fix incorrect dimensions for A4 and A6 paper
Overview of changes in simple-scan 0.9.10
* Change default scan direction to top-to-bottom
* Call sane_cancel after each document, not duing multi page scans
* Set X-GNOME-Gettext-Domain in .desktop file
* Fix memory leak in page_set_scan_area()
* Fix read buffering when reading large images
* Fix moving crop on pages after first
* Load color profiles for scanner and save them in output files
* Fix broken logic in picking nearest supported scan resolution
* Add save button back into toolbar
* Put text beside crop toolbutton
* Merge document type into scan menu
Overview of changes in simple-scan 0.9.9
* Fix crop rotation
* Improve crop outline so visible on more scanned documents
* Make preferences window fixed size
* Add page size selection
Overview of changes in simple-scan 0.9.8
* Open page in image viewer when double clicking on it
* Use custom crop icon for crop toolbutton
* Use Gtk theme when painting focus on selected page
* Added scan sources seen on propietary brother3 driver
* Explicitly set flatbed source as not all drivers support automatic sources
* Add preferences options for which page side to scan
* Reduce shading on crop overlay
* Remove save and preferences buttons from toolbar
* Make crop toolbar button a toggle
* Fix bugs in crop resizing
* Compress PDF images
Overview of changes in simple-scan 0.9.7
* Fix crash when deleting page from multi-page document
* Add icon into help dialog
* Update misleading description of PNG in help file
Overview of changes in simple-scan 0.9.6
* Show PDF files by default in save dialog
* Set default save location to Documents directory
* Remember save location
* Attach JPEG files when emailing photos
* Make stop button only sensitive when scanning
* Correctly store default page orientation for first page
* Optimise rendering
* Show page throbber for pages following the first one
* Fix bug where selecting scan before devices are detected would sometime fail
* Don't move focus to selected page when moving the scrollbar
* Make sure USB scanners are automatically selected when plugging in
Overview of changes in simple-scan 0.9.5
* Fix crash when scanning with no detected scanners
* Make Ctrl+N shortcut for New Document
* Made Help>Contents menu translatable
* Change resolution options in settings to 75, 150, 300, 600, 1200, 2400 dpi
* Change text default resolution to 150 dpi, photo to 300 dpi
* Set minimum window document display height
* Pick nearest available DPI setting for drivers that only support fixed DPIs
* Fix crash selecting scanner from command line
* Scale pages in preview so they match physical size, not pixel size
Overview of changes in simple-scan 0.9.4
* Disable compression in scanner when supported
* Improved scan mode tooltip (Jeroen Hoek)
* Log to ~/.cache/simple-scan/simple-scan.log
Overview of changes in simple-scan 0.9.3
* Default to photo scanning mode
* Rotate crop with page
* Clip crop when rotating it
* Set crop menu radio buttons when enabling crop from the toolbar
* Add tooltips for preference,rotate,crop toolbar buttons
* Added a stop toolbutton
Overview of changes in simple-scan 0.9.2
* Add "ADF Front" to the list of possible ADF sources
* Always scan using maximum available area
* Call sane_cancel() after each page
* Don't start new pages when already scanning
Overview of changes in simple-scan 0.9.1
* Fix distorted scans when require more than one read per line
Overview of changes in simple-scan 0.9.0
* Fixed some bugs where blank pages were left after failed scans, pages
were incorrectly replaced
* Removed replace document on each scan from preferences (always append)
* Make scan resolution configurable in preferences dialog
* Show list of supported formats in save dialog and update extension based on
them
* Add Document>Email menuitem (Ctrl+E)
* Add Ctrl+F short cut to scan from feeder
* Added help
Overview of changes in simple-scan 0.8.2
* Make toolbar scan button "important" so it shows button text
* Add crop toolbar button
* Compile with standard SANE, not Debian modified SANE
* Select ADF source when doing ADF scan
* Only rescan for devices when USB add/remove events occur
* Don't cache list of devices (can lead to duplicate entries as devices can
change names as they change USB ports)
* Remember page dimensions between application instances
* Improved debug logging
* Make build process use AM_SILENT_RULES
* Added man page from Alessio Treglia
Overview of changes in simple-scan 0.8.1
* Connect scan from feeder button in toolbar
* Support custom crop
* Show page with animation while waiting for scan data
* Fix scrolling to new page when page added
* Save JPEG images as foo.jpg not foo.jpeg
* Check for libsane in build system
* Added Launchpad translations: eu, fi, gl, he, pt, te, uk, vi
* Updated Luanchpad translations: (many)
Overview of changes in simple-scan 0.8.0
* Remember page rotation
* Add new document button
* Added Launchpad translations: af, ar, cs, da, el, en_GB, es, hr, hu, it, ja,
lt, ms, nb, pl, pt_BR, ru, sk, sl, sr, sv, tr,
zh_CN
* Updated Launchpad translations: fr, ro
* Added scrollbar for page navigation
* Try alternative names for scan mode to handle non-standard drivers
Overview of changes in simple-scan 0.7.6
* Remember window size
* Made .desktop file translatable
* Added gconf schema
* Added Launchpad translations: ast, nl
Overview of changes in simple-scan 0.7.5
* When displaying a scan error have a button to open preferences to change
scanner
* Connect both Ctrl+Q and Ctrl+W to close window
* Add tooltips to the menubar
* Install translations correctly
Overview of changes in simple-scan 0.7.4
* Connect toolbar scan button
* Save multi page documents as multiple jpeg or png images
* Move document type into menubar
* Add cancel scan menu item (escape key)
* Add shortcut for single page scan (ctrl+1)
* Disable debugging by default, run with --debug to see the messages
* Pick locally connected scanners by default (and only use webcams as a last
resort)
* Added Launchpad translations: bg, ca, de
* Updated Launchpad translations: fr, ro
Overview of changes in simple-scan 0.7.3
* Redesigned UI
* Removed test code that triggered authorization on each scan
* Add email action
* Added Launchpad translations: ro, fr
Overview of changes in simple-scan 0.7.2
* Detect remote scanners
* Show authorization dialog for scanners
Overview of changes in simple-scan 0.7.1
* Fix rotation and scaling when printing
Overview of changes in simple-scan 0.7.0
* Scan text document in "Lineart" mode
* Add crop support
* Make default window larger
* Add page navigation buttons
* Zooming disabled - needs more work
Overview of changes in simple-scan 0.6.4
* Support multi-pass scanners
* Show white page on startup
* Add border around scanned page
* Add menu bar
* Support multiple page scanning
* Allow page deletion
* Add page zooming and panning
* Use standard scanner icon
Overview of changes in simple-scan 0.6.3
* Support non-8 bit scanners
* Fix DPI setting for various scanner types
* Center non-scaled scans
* Abort if cannot load UI
Overview of changes in simple-scan 0.6.2
* Add command-line arguments
* Warn if no scanners detected on startup
* Report errors when failing to scan
* Support .ps output format
* Choose dpi and default output format based on document type
* Remember document type setting
* Make translatable
Overview of changes in simple-scan 0.6.1
* Install .desktop file
* Close output streams when finished writing
* Handle not being able to open scan device
Overview of changes in simple-scan 0.6.0
* Initial release
simple-scan-48.1/README.md 0000664 0000000 0000000 00000011242 14774277732 0015164 0 ustar 00root root 0000000 0000000 [](https://gitlab.gnome.org/GNOME/simple-scan/pipelines)
[](https://gitlab.gnome.org/GNOME/simple-scan/blob/master/COPYING)
# Introduction
*Document Scanner* is a document scanning application for [GNOME](https://www.gnome.org/)
It allows you to capture images using [image scanners](https://en.wikipedia.org/wiki/Image_scanner)
(e.g. flatbed scanners) that have suitable [SANE drivers](http://sane-project.org/) installed.
# Building the flatpak with GNOME Builder
It is recommended to use the development flatpak for developing this application.
That way you won't have to download all dependencies yourself and it'll be consistent between all distros.
1. Download [GNOME Builder](https://flathub.org/apps/details/org.gnome.Builder)
2. Click the `Clone Repository` button in Builder and use https://gitlab.gnome.org/GNOME/simple-scan.git as the URL.
3. Click the Run button in the headerbar
Note that this flatpak requires access to all devices (--device=all), and so isn't made for general use.
For this reason and until a more suitable solution is found to interact with a host `saned`, please don't
try to publish it on Flathub.
# Building manually from source
Install the dependencies
For Ubuntu/Debian:
```
$ sudo apt install -y meson valac gcc gettext itstool libfribidi-dev libgirepository1.0-dev libgtk-4-dev libadwaita-1-dev libgusb-dev libcolord-dev libpackagekit-glib2-dev libwebp-dev libsane-dev git ca-certificates
```
For Fedora:
```
$ sudo dnf install -y meson vala gettext itstool fribidi-devel gtk4-devel libadwaita-devel gobject-introspection-devel libgusb-devel colord-devel PackageKit-glib-devel libwebp-devel sane-backends-devel git
```
For Arch Linux:
```
sudo pacman -S meson vala gettext itstool fribidi gtk4 libadwaita gobject-introspection libgusb colord libwebp sane git
```
Get the source:
```
$ git clone https://gitlab.gnome.org/GNOME/simple-scan.git
$ cd simple-scan
```
Build and run:
```
$ meson --prefix $PWD/_install _build
$ ninja -C _build all install
$ XDG_DATA_DIRS=_install/share:$XDG_DATA_DIRS ./_install/bin/simple-scan
```
# Debugging
There is a `--debug` command line switch to enable more verbose logging:
```
$ simple-scan --debug
```
Log messages can also be found in the `$HOME/.cache/simple-scan` folder.
If you don't have a scanner ready, you can use a virtual `test` scanner:
```
$ simple-scan --debug test
```
This app works by using the [SANE API](http://sane-project.org/html/) to
capture images. It chooses the settings it thinks are appropriate for what you
are trying to do. Drivers have many options and are of differing quality - it
is useful to work out if any issues are caused by the app or the drivers. To
confirm it is a driver issue you can use the graphical tool (XSane) or the
command line
[scanimage](http://www.sane-project.org/man/scanimage.1.html) provided
by the SANE project - these allow to to easily see and control all the
settings your driver provides.
If XSane is also not working, then the issue could be caused by wrongly
loaded backend. To enable debug traces on Sane, set `SANE_DEBUG_DLL`
environment variable:
```
$ export SANE_DEBUG_DLL=255
```
When set, SANE backends will show informational messages while
*Document Scanner* is running
Example:
With HP MFP 135a scanner, there is missing `libusb-0.1.so.4`
shared library, during loading `smfp` prioprietary backend:
```
[dll] sane_get_devices
[dll] load: searching backend `smfp' in `/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1'
[dll] load: couldn't open `/usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1' (No such file or directory)
[dll] load: trying to load `/usr/lib/sane/libsane-smfp.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-smfp.so.1'
[dll] load: dlopen() failed (libusb-0.1.so.4: No such file or directory)
```
# Contributing
To contribute code create merge requests on
[gitlab.gnome.org](https://gitlab.gnome.org/GNOME/simple-scan). If you
find issues please [report them](https://gitlab.gnome.org/GNOME/simple-scan/issues).
## Translation
A lot of information about translation process can be found at
[GNOME TranslationProject](https://wiki.gnome.org/TranslationProject/).
The translation files for *Document Scanner* User Interface and User Guide,
are available [here](https://l10n.gnome.org/module/simple-scan/).
To be able to run Document Scanner in selected language, the `LANGUAGE` could be used.
For example to run Document Scanner in Polish language:
```
$ LANGUAGE=pl XDG_DATA_DIRS=_install/share:$XDG_DATA_DIRS ./_install/bin/simple-scan
```
simple-scan-48.1/build-aux/ 0000775 0000000 0000000 00000000000 14774277732 0015577 5 ustar 00root root 0000000 0000000 simple-scan-48.1/build-aux/flatpak/ 0000775 0000000 0000000 00000000000 14774277732 0017221 5 ustar 00root root 0000000 0000000 simple-scan-48.1/build-aux/flatpak/org.gnome.SimpleScan.json 0000664 0000000 0000000 00000017146 14774277732 0024055 0 ustar 00root root 0000000 0000000 {
"app-id" : "org.gnome.SimpleScan",
"runtime" : "org.gnome.Platform",
"runtime-version" : "master",
"sdk" : "org.gnome.Sdk",
"command" : "simple-scan",
"rename-desktop-file" : "simple-scan.desktop",
"tags" : [
"devel"
],
"desktop-file-name-prefix" : "(Development) ",
"finish-args" : [
"--device=dri",
"--device=all",
"--share=network",
"--socket=fallback-x11",
"--socket=wayland",
"--talk-name=org.freedesktop.ColorManager"
],
"cleanup" : [
"/include",
"/share/aclocal",
"/man",
"/share/man",
"/share/gtk-doc",
"/share/vala",
"*.la",
"*.a"
],
"modules" : [
{
"name" : "libusb1",
"buildsystem" : "autotools",
"config-opts" : [
"--disable-udev"
],
"sources" : [
{
"type" : "git",
"url" : "https://github.com/libusb/libusb.git"
}
]
},
{
"name" : "gusb",
"buildsystem" : "meson",
"config-opts" : [
"-Ddocs=false",
"-Dtests=false"
],
"sources" : [
{
"type" : "git",
"branch" : "main",
"url" : "https://github.com/hughsie/libgusb.git"
}
]
},
{
"name": "python3-jinja2",
"buildsystem": "simple",
"build-commands": [
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"jinja2\" --no-build-isolation"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/1d/97/2288fe498044284f39ab8950703e88abbac2abbdf65524d576157af70556/MarkupSafe-2.1.1.tar.gz",
"sha256": "7f91197cc9e48f989d12e4e6fbc46495c446636dfc81b9ccf50bb0ec74b91d4b"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/bc/c3/f068337a370801f372f2f8f6bad74a5c140f6fda3d9de154052708dd3c65/Jinja2-3.1.2-py3-none-any.whl",
"sha256": "6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61"
}
]
},
{
"name": "systemd",
"buildsystem": "meson",
"config-opts": [
"--libdir=lib",
"-Drootprefix=/app",
"-Drootlibdir=/app/lib",
"-Dsysconfdir=/app/etc",
"-Ddocdir=/app/share/doc",
"-Dsysvinit-path=/app/etc/init.d",
"-Dfdisk=false",
"-Ddbus=false",
"-Dutmp=false",
"-Dhibernate=false",
"-Dldconfig=false",
"-Dresolve=false",
"-Defi=false",
"-Dtpm=false",
"-Denvironment-d=false",
"-Dbinfmt=false",
"-Dcoredump=false",
"-Dlogind=false",
"-Dhostnamed=false",
"-Dlocaled=false",
"-Dmachined=false",
"-Dportabled=false",
"-Dnetworkd=false",
"-Dtimedated=false",
"-Dtimesyncd=false",
"-Dremote=false",
"-Dnss-myhostname=false",
"-Dnss-mymachines=false",
"-Dnss-resolve=false",
"-Dnss-systemd=false",
"-Dfirstboot=false",
"-Drandomseed=false",
"-Dbacklight=false",
"-Dvconsole=false",
"-Dquotacheck=false",
"-Dsysusers=false",
"-Dtmpfiles=false",
"-Dimportd=false",
"-Dhwdb=false",
"-Drfkill=false",
"-Dman=false",
"-Dhtml=false",
"-Dbashcompletiondir=no",
"-Dzshcompletiondir=no"
],
"cleanup": [
"/bin",
"/etc",
"/lib/libudev*",
"/lib/kernel",
"/lib/modprobe.d",
"/lib/rpm",
"/lib/sysctl.d",
"/lib/systemd",
"/lib/udev",
"/share/dbus-1",
"/share/doc",
"/share/factory",
"/share/glib-2.0",
"/share/icons",
"/share/man",
"/share/pkgconfig",
"/share/polkit-1",
"/share/runtime"
],
"sources": [
{
"type": "git",
"url": "https://github.com/systemd/systemd.git",
"tag": "v251"
}
]
},
{
"name" : "gudev",
"buildsystem" : "meson",
"config-opts" : [
"-Dtests=disabled"
],
"sources" : [
{
"type" : "git",
"url" : "https://gitlab.gnome.org/GNOME/libgudev.git"
}
]
},
{
"name": "intltool",
"cleanup": [ "*" ],
"sources": [
{
"type": "archive",
"url": "https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz",
"sha256": "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd"
}
]
},
{
"name" : "sane-backends",
"buildsystem" : "autotools",
"sources" : [
{
"type" : "archive",
"url" : "https://gitlab.com/sane-project/backends/uploads/8bf1cae2e1803aefab9e5331550e5d5d/sane-backends-1.0.31.tar.gz",
"sha256" : "4a3b10fcb398ed854777d979498645edfe66fcac2f2fd2b9117a79ff45e2a5aa"
}
]
},
{
"name" : "colord",
"buildsystem" : "meson",
"config-opts" : [
"-Ddaemon=false",
"-Dargyllcms_sensor=false",
"-Dbash_completion=false",
"-Dman=false",
"-Dudev_rules=false",
"-Dsystemd=false",
"-Dsane=true",
"-Ddocs=false",
"-Dtests=false",
"-Dinstalled_tests=false",
"-Dvapi=true"
],
"sources" : [
{
"type" : "git",
"branch" : "main",
"url" : "https://github.com/hughsie/colord.git"
}
]
},
{
"name" : "gphoto2",
"buildsystem" : "autotools",
"sources" : [
{
"type" : "archive",
"url" : "https://sourceforge.net/projects/gphoto/files/libgphoto/2.5.26/libgphoto2-2.5.26.tar.bz2",
"sha256" : "7740fea3cbb78489071cdfec06c07fab528e69e27ac82734eae6a73eaeeabcd4"
}
]
},
{
"name" : "simple-scan",
"buildsystem" : "meson",
"builddir" : true,
"sources" : [
{
"type" : "git",
"url" : "https://gitlab.gnome.org/GNOME/simple-scan.git"
}
]
}
]
}
simple-scan-48.1/build-aux/snap/ 0000775 0000000 0000000 00000000000 14774277732 0016540 5 ustar 00root root 0000000 0000000 simple-scan-48.1/build-aux/snap/snapcraft.yaml 0000664 0000000 0000000 00000004276 14774277732 0021416 0 ustar 00root root 0000000 0000000 name: simple-scan
version: git
summary: Document Scanning Application
description: |
A really easy way to scan both documents and photos from a scanner (e.g. a flatbed scanner).
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict
base: core22
slots:
# for GtkApplication registration
simple-scan:
interface: dbus
bus: session
name: org.gnome.SimpleScan
apps:
simple-scan:
plugs:
- network
- network-control
- home
- gsettings
- hardware-observe
- mount-observe
- system-observe
- io-ports-control
- raw-usb
command: usr/bin/simple-scan
extensions: [ gnome ]
desktop: usr/share/applications/simple-scan.desktop
environment:
GSETTINGS_SCHEMA_DIR: $SNAP/share/glib-2.0/schemas
parts:
libsane:
source: https://gitlab.com/sane-project/backends.git
source-type: git
source-tag: 1.1.1
plugin: autotools
autotools-configure-parameters:
- --prefix=/snap/simple-scan/current/usr
- --with-api-spec=no
organize:
snap/simple-scan/current/usr: usr
build-packages:
- autotools-dev
- autoconf
- chrpath
- dh-systemd
- gettext
- libavahi-client-dev
- libcups2-dev
- libgphoto2-dev
- libieee1284-3-dev
- libjpeg-dev
- libltdl3-dev
- libsystemd-dev
- libtiff-dev
- libusb-1.0-0-dev
- pkg-config
- po-debconf
- xutils-dev
simple-scan:
after: [libsane]
source: .
source-type: git
plugin: meson
meson-parameters: [--prefix=/usr]
organize:
snap/simple-scan/current/usr: usr
build-packages:
- desktop-file-utils
- gettext
- gnome-common
- intltool
- itstool
- libcairo2-dev
- libcolord-dev
- libdbus-glib-1-dev
- libglib2.0-dev
- libgtk-4-dev
- libadwaita-1-dev
- libgdk-pixbuf2.0-dev
- libgusb-dev
- libgirepository1.0-dev
- libpackagekit-glib2-dev
- libsane-dev
- libwebp-dev
- valac
- zlib1g-dev
libs:
plugin: nil
stage-packages:
- libgusb2
- libpackagekit-glib2-18
- libieee1284-3
simple-scan-48.1/data/ 0000775 0000000 0000000 00000000000 14774277732 0014616 5 ustar 00root root 0000000 0000000 simple-scan-48.1/data/icons/ 0000775 0000000 0000000 00000000000 14774277732 0015731 5 ustar 00root root 0000000 0000000 simple-scan-48.1/data/icons/hicolor/ 0000775 0000000 0000000 00000000000 14774277732 0017370 5 ustar 00root root 0000000 0000000 simple-scan-48.1/data/icons/hicolor/scalable/ 0000775 0000000 0000000 00000000000 14774277732 0021136 5 ustar 00root root 0000000 0000000 simple-scan-48.1/data/icons/hicolor/scalable/org.gnome.SimpleScan.svg 0000664 0000000 0000000 00000033732 14774277732 0025617 0 ustar 00root root 0000000 0000000
simple-scan-48.1/data/icons/hicolor/symbolic/ 0000775 0000000 0000000 00000000000 14774277732 0021211 5 ustar 00root root 0000000 0000000 simple-scan-48.1/data/icons/hicolor/symbolic/org.gnome.SimpleScan-symbolic.svg 0000664 0000000 0000000 00000011526 14774277732 0027506 0 ustar 00root root 0000000 0000000
simple-scan-48.1/data/icons/scalable/ 0000775 0000000 0000000 00000000000 14774277732 0017477 5 ustar 00root root 0000000 0000000 simple-scan-48.1/data/icons/scalable/actions/ 0000775 0000000 0000000 00000000000 14774277732 0021137 5 ustar 00root root 0000000 0000000 simple-scan-48.1/data/icons/scalable/actions/crop-symbolic.svg 0000664 0000000 0000000 00000006527 14774277732 0024454 0 ustar 00root root 0000000 0000000
simple-scan-48.1/data/icons/scalable/actions/flip-before.svg 0000664 0000000 0000000 00000030770 14774277732 0024061 0 ustar 00root root 0000000 0000000