Accepting request 780739 from home:malcolmlewis:branches:Publishing

Updated to version 2.6.4.

OBS-URL: https://build.opensuse.org/request/show/780739
OBS-URL: https://build.opensuse.org/package/show/Publishing/gscan2pdf?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal 2020-03-02 06:51:10 +00:00 committed by Git OBS Bridge
parent ed900e13bc
commit 9057608ac9
6 changed files with 204 additions and 26 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af2c211ced9fc62fba4fda512e59230361ebadeed212146c8536ec508109b772
size 435528

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEERjKT5K4zhxhG8wInsyHyAxEPyvMFAlwp+A4ACgkQsyHyAxEP
yvMalhAAh4TqgBCPd3WxCsFBfxP4NoPDp9E+GDJoLafAVdqxRJ6c96bNtahZ9KbW
fdrYEYGgknHEL/nE+zJyWi0j4rDIi7/ZlkSemxQm02wa+airHIJZjiUXW3gW5rz1
wFTdC6GfoH/Uo0+CBgwoZimNQEt0ZyEUhQU6j343tJv778AJSPc1IBuaAUQG9Ag8
fHNis+4XlCoLPEELfNNAR5OaINRU9cJYxdvqkgfJvCcpQfvVXe3JAtdUf2zWPukR
sfPECNnV+6RbgfCi5ELYP2BaFeJ9i+fB/U5elUsyxKX/uhUy0aGOxiKTC0DSeTrL
AKNqEU61GDGQeDEFm2zANfFBrBpNWsr62qPvBgiU4JCZ3lpXrm6wBbR3Fdh3+KQl
l0nMhqA8ilY9IfqO2xLu1KYNiHMscdVqdgqAxBwZlFuC2Di/kgGSnKtzqmQSf3uY
CMGonNKIa7RHfhZrsCr6WP82qzacvnt1HbQ5ZCiPVUB8XORA7l77FJ1iH4lp895W
e8f5duoqAP4nfEVDtE9xINs8UL5kF/8fetSHBd02CnM0KBd69KOeMs/GlBvZ/Kap
dTLu8tq62l6WWEtauZHYiuYgIB75MDaLOcPYcPnJ3Lne2uJx7cR6+dJoysACpBUo
tvsZUs7d/+y5DhWLV8xaRzraS4dMVktIJQXTQg+nj5YkMsYS+Rg=
=A9y8
-----END PGP SIGNATURE-----

3
gscan2pdf-2.6.4.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:14bac647e49368cdcfb9ec0ca963d9177e19893fd16e456bd4d08c4a4cf23d8c
size 460636

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEERjKT5K4zhxhG8wInsyHyAxEPyvMFAl48DJMACgkQsyHyAxEP
yvP/8g//VsZWl7X5wEI6Rxo5UOUGVwkMSvGpKtd2P1iUwMJqnGrIrv8kmtkZ/Kz8
LJ3c+oCWVMfUvWsJZ4QCUHY564LShT8bcbkCT0Bg+GQsAcmzB/MbYC3i7bOovtzz
nEUMuiH9ihfwWMECgRjYetGkEcY2bAw/7DK99XzODikB0YfrXq/Ha9OS6Z4zDG1S
fr0sP3eZsCvETIsDP56n/VA+/DR9M1w3O/i2H62PZoXRHj4xR8eNsdZt19DoVFSJ
j1nuO3lVPF/6rY3+q6DHfOcoZo2ykkEF/X37mS9kv2UxzTqZpAuRGSkXIFKt3V0g
x8UlJ/6qQrnJFjJpXWJBg7PZ4erYvlVAMLqmXlEfBX/y+fjyWL2gLX6KMts1KEXG
wOr3587NiRgW0LR738O20fOYqxVAXHN3u/iDz6cNQ+5Of1KCh0Mf7cusy9R86gKf
csP4nJbpvVkwxwT//4DEadguweMBvdtAsT5g/24C0xtXuyRbPNCkNGKrZsZJpWom
NHiozTeF1sg4NOzWH1B3elyuXB16KKI3FFQLOY1HiB7VBAyNwE3HBiY92ukWaqnG
zP1izCKAKc/qt6+3p8XlGzizLmoaZnmfcgCYGa7444YhBxrd4OOeIWOKasWbV7cg
89LqG/sRsTy85RKEkhTSpml6LU3n/bLkSuGT0ZDzfbsPXFmNXek=
=+oaw
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,181 @@
-------------------------------------------------------------------
Sun Mar 1 14:08:47 UTC 2020 - malcolmlewis@opensuse.org
- Updated to version 2.6.4:
+ Limit the number of pages to scan when switching between
scanning facing and reverse pages.
+ Fix scan dialog if no devices found (again).
+ Improve responsiveness with OCR output.
+ Add 'Ignore duplex capabilities of scanner' preferences option.
+ Add running post-save hook on filenames with UTF-8, closes
bug (gscan2pdf#341), wrong character encoding at post-save
hook.
+ Add frequent layout/output-pages mismatch in unpaper dialog.
+ Don't allow dialog offering to switch from Facing to Reverse
after scanning double-sided pages to block scanner thread.
+ Translation updates.
- Changes from version 2.6.3:
+ Fallback to core PDF font if requested font cannot be loaded,
closes bug (gscan2pdf#336), saving to PDF never ends if empty
font is selected.
+ Detect GraphicsMagick in ImageMagick compatibility mode.
+ Set program name to RDN ID to allow Gnome to add gscan2pdf as
a favorite.
+ Fix importing metadata from PDFs when timezone has format like
GMT-14.
+ Translation updates.
- Changes from version 2.6.2:
+ Fix importing UTF-8 in DjVu text layer.
+ Fix crash importing metadata.
+ Add compatibility with combination of scanimage frontend and
SANE 1.0.28, closes bug (gscan2pdf#335), tests fail with
sane-backends 1.0.28.
+ Translation updates.
- Changes from version 2.6.1:
+ Fix crash importing metadata.
- Changes from version 2.6.0:
+ Fix crash closing multiple message dialog via x-icon, closes
bugs (gscan2pdf#333), segmentation fault when closing Messages
window and (gscan2pdf#334), closing Scan Document dialog using
close button causes gscan2pdf to exit.
+ Add --import-all option.
+ Add new rotate 180° icon.
+ Import metadata when opening PDF or DjVu files.
+ Increment/decrement date on save dialog with +/- keys.
+ Fixed reload-recursion bug triggered by unusual environment
(reprotest).
+ Translation updates.
- Changes from version 2.5.7:
+ Recognise "Document Table" as flatbed for imagescan backend.
+ Use option name as label for those options with no title.
+ Extended edit profile functionality in scan dialog to frontend
options.
+ Close device when switching frontends so as not to block SANE
for the new frontend.
+ Allow tool processes to immediately continue working on
subsequent pages despite errors on previous ones.
+ Fix infinite loop scanning reverse pages.
+ Translation updates.
- Changes from version 2.5.6:
+ Prevent Negate from changing the alpha channel.
+ Avoid image corruption with colour images when applying
WhiteThreshold after BlackThreshold.
+ Extended edit profile functionality in scan dialog to current
scan options, when no profile selected, closes bug
(gscan2pdf#328), blue cast to all colour scans.
+ Don't try to compress log file if it wasn't created.
+ Don't blacklist empty device name.
+ Improve layout of multiple message dialog, closes bug
(gscan2pdf#329), a scanner error (ADF jammed) caused GScan2PDF
to display an insane dialog box.
+ Don't use tiff2pdf to create temporary PDF to check for pdftk,
closes bug (gscan2pdf#330), cannot save, pdftk failure to
access /tmp.
+ Fix --import option, closes bug (deb#934107), importing with
--import=file.pdf does not import anything.
+ Fix updating extended page numbering on scan dialog after
changing document.
+ Fix printing, closes bug (gscan2pdf#331), print error openSUSE
Leap 15.1.
+ Set "wait" cursor while scan options are being loaded and
"progress" cursor while scanning.
+ Use gtk-3 cursors for ImageView widget.
+ Ghost scan button while scan options are being loaded and
scanning.
+ Fix bug storing responses from multiple message window when no
responses had been stored before.
+ Translation updates.
- Changes from version 2.5.5:
+ Fix occasional error messages when clearing all pages.
+ Only set paper to Manual if not applying profile.
+ Update OCR view switching between pages with and without OCR
output.
+ xz compress log file if xz available.
+ Fix bug applying paper after profile set SANE_INFO_INEXACT.
+ When saving current settings as new profile, actually set the
profile.
+ If a device throws an error when opening it, add it to a
session blacklist.
+ Option tolerance to cover buggy backends that return inexact
options without setting SANE_INFO_INEXACT.
+ Translation updates.
- Changes from version 2.5.4:
+ Fix bug applying paper whilst setting profile.
+ Fix canvas usage in scan dialog.
+ Allow tabs to be scrolled to reduce width of scan dialog,
closes bug (gscan2pdf#242), scan Document window cannot be
narrowed horizontally.
+ Restore split screen view for image and OCR output.
+ Translation updates.
- Changes from version 2.5.3:
+ Split up messages from gimp and unpaper to allow them to be
ignored more easily, closes bug (gscan2pdf#321), error messages
when returning from editing a scanned document using gimp.
+ Trap invalid dates in metadata, closes bug (gscan2pdf#323),
crash when saving with invalid date.
+ Use GTK's FontChooserDialog for selecting font for OCR output
in PDF.
+ Moved font discovery to program start to accelerate display of
save dialog.
+ Removed owner password, as it does not encrypt.
+ Don't reset to defaults if no scan options set, closes bug
(gscan2pdf#324), Changing scan resolution from the default 100
ppi to 200 ppi creates invalid syntax for sane parameters.
+ Translation updates.
- Changes from version 2.5.2:
+ Allow translations for message types in multiple message
window.
+ Improve progress message whilst analysing pages.
+ Don't reapply scan options after reload if setting returned
SANE_INFO_INEXACT.
+ Decode UTF-8 in font names for PDFs in save dialog.
+ Wait for processes to finish to prevent zombies, closes Debian
bug (deb#926634), delays opening dialogs, possibly related to
defunct fc-list process.
+ Fix warning message about pdftk (again), closes bug
(gscan2pdf#320), error message on startup: pdftk can't use
/tmp.
+ Rename dpi->ppi (again) and us->μs.
+ Translation updates.
- Changes from version 2.5.1:
+ Fix warning message about pdftk.
+ Translation updates.
- Changes from version 2.5.0:
+ Really optionally change the djvu access and modification times
to the metadata date.
+ Optionally encrypt PDFs.
+ Fix race condition when cancelling job, closes bug
(gscan2pdf#317) cancel tests randomly hang.
+ Fix bug causing Edit/Select/Blank only to work on second
attempt.
+ Fix bug where toolbar crop always operates on first page
+ Translation updates.
- Changes from version 2.4.0:
+ Offer to switch from Facing to Reverse after scanning
double-sided pages, closes feature request, (gscan2pdf#100).
+ Edit profile functionality to scan dialog.
+ Reset scan options to defaults before applying profile.
+ Split screen view for image and OCR output, closes feature
request, (gscan2pdf#57) Ability to view OCR output and Image
at same time.
+ Switched to GIMP-like controls - LMB for selecting and MMB for
panning.
+ Crop to toolbar and RMB menus.
+ Fix saving as TIFF G3/4 if image not depth 1.
+ Translation updates.
- Changes from version 2.3.0:
+ Optionally also include time information in metadata of PDF
or DjVU.
+ Closes feature request, (gscan2pdf#102) (always sets the time
to 0 UTC) (again).
+ Reduced "bouncing" effect when dragging OCR output
+ Fix update of image viewer/OCR output after deleting a page.
+ Support different resolutions in x and y directions.
+ Closes feature request, (gscan2pdf#101).
+ Make post-scan PNG conversion optional.
+ Remember size of multiple message window.
+ Translation updates.
-------------------------------------------------------------------
Mon Jan 7 15:36:27 UTC 2019 - malcolmlewis@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package gscan2pdf
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,12 +17,12 @@
Name: gscan2pdf
Version: 2.2.2
Version: 2.6.4
Release: 0
Summary: Easy scan to PDF
License: GPL-3.0-only
Group: Productivity/Publishing/PDF
Url: http://sourceforge.net/projects/gscan2pdf/
URL: http://sourceforge.net/projects/gscan2pdf/
Source0: https://sourceforge.net/projects/gscan2pdf/files/gscan2pdf/%{version}/gscan2pdf-%{version}.tar.xz
Source1: https://sourceforge.net/projects/gscan2pdf/files/gscan2pdf/%{version}/gscan2pdf-%{version}.tar.xz.asc
BuildRequires: fdupes
@ -73,11 +73,11 @@ Features:
%lang_package
%prep
%setup -q
%autosetup
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%make_build
%install
%make_install
@ -91,8 +91,8 @@ make %{?_smp_mflags}
%{_bindir}/gscan2pdf
%{_datadir}/%{name}/
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/gscan2pdf.appdata.xml
%{_datadir}/applications/gscan2pdf.desktop
%{_datadir}/metainfo/net.sourceforge.gscan2pdf.appdata.xml
%{_datadir}/applications/net.sourceforge.gscan2pdf.desktop
%{_datadir}/pixmaps/gscan2pdf.svg
%{_mandir}/man1/gscan2pdf.1p%{?ext_man}
%{perl_vendorlib}/Gscan2pdf/