Bug#855071: unblock: gscan2pdf/1.6.0-5

2017-02-13 Thread Jeffrey Ratcliffe
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: unblock

Please unblock package gscan2pdf

v1.6.0-5 fixes bugs 854956 and 854957 (normal severity)

debdiff attached

unblock gscan2pdf/1.6.0-5

-- System Information:
Debian Release: 9.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
diff -Nru gscan2pdf-1.6.0/debian/changelog gscan2pdf-1.6.0/debian/changelog
--- gscan2pdf-1.6.0/debian/changelog2017-01-15 15:52:43.0 +0100
+++ gscan2pdf-1.6.0/debian/changelog2017-02-12 16:01:45.0 +0100
@@ -1,3 +1,10 @@
+gscan2pdf (1.6.0-5) unstable; urgency=low
+
+  * Closes: #854956 (fails to reload settings after scanning for devices)
+  * Closes: #854957 (rounding error from scanimage causes device to be 
rejected)
+
+ -- Jeffrey Ratcliffe <j...@debian.org>  Sun, 12 Feb 2017 16:01:45 +0100
+
 gscan2pdf (1.6.0-4) unstable; urgency=low
 
   * + patch to fix bug attaching PDF to email
diff -Nru 
gscan2pdf-1.6.0/debian/patches/0001-Suppress-errors-from-CLI-frontends-caused-by-roundin.patch
 
gscan2pdf-1.6.0/debian/patches/0001-Suppress-errors-from-CLI-frontends-caused-by-roundin.patch
--- 
gscan2pdf-1.6.0/debian/patches/0001-Suppress-errors-from-CLI-frontends-caused-by-roundin.patch
  1970-01-01 01:00:00.0 +0100
+++ 
gscan2pdf-1.6.0/debian/patches/0001-Suppress-errors-from-CLI-frontends-caused-by-roundin.patch
  2017-02-12 15:57:17.0 +0100
@@ -0,0 +1,204 @@
+From 09e3583ba0a88e70b2925c46497baee231687ac3 Mon Sep 17 00:00:00 2001
+From: Jeffrey Ratcliffe <jeffrey.ratcli...@gmail.com>
+Date: Mon, 30 Jan 2017 20:35:50 +0100
+Subject: [PATCH 1/2] Suppress errors from CLI frontends caused by rounding
+
+---
+ History   |   5 ++
+ MANIFEST  |   1 +
+ lib/Gscan2pdf/Frontend/CLI.pm |  17 +++--
+ t/06293_Dialog_Scan_CLI.t | 151 ++
+ 4 files changed, 169 insertions(+), 5 deletions(-)
+ create mode 100644 t/06293_Dialog_Scan_CLI.t
+
+--- a/MANIFEST
 b/MANIFEST
+@@ -176,6 +176,7 @@
+ t/06290_Dialog_Scan_CLI.t
+ t/06291_Dialog_Scan_CLI.t
+ t/06292_Dialog_Scan_CLI.t
++t/06293_Dialog_Scan_CLI.t
+ t/06295_Dialog_Scan_CLI.t
+ t/07_Dialog_Renumber.t
+ t/081_Frontend_CLI.t
+--- a/lib/Gscan2pdf/Frontend/CLI.pm
 b/lib/Gscan2pdf/Frontend/CLI.pm
+@@ -108,12 +108,19 @@
+ running_callback  => $options{running_callback},
+ finished_callback => sub {
+ my ( $output, $error ) = @_;
+-if ( defined $error and $error =~ /^$options{frontend}:[ 
](.*)/xsm )
+-{
+-$error = $1;
+-}
+ if ( defined $error and defined $options{error_callback} ) {
+-$options{error_callback}->($error);
++while ( $error =~ /([\r\n])/xsm ) {
++my $le = $1;
++my $line = substr $error, 0, index $error, $le;
++$error = substr $error, index( $error, $le ) + 1,
++  length $error;
++if ( $line =~ /^$options{frontend}:[ ](.*)/xsm ) {
++my $msg = $1;
++if ( $msg !~ /rounded/xsm ) {
++$options{error_callback}->($msg);
++}
++}
++}
+ }
+ my $options = Gscan2pdf::Scanner::Options->new_from_data($output);
+ $_self->{device_name} = Gscan2pdf::Scanner::Options->device;
+--- /dev/null
 b/t/06293_Dialog_Scan_CLI.t
+@@ -0,0 +1,151 @@
++use warnings;
++use strict;
++use Test::More tests => 1;
++use Glib qw(TRUE FALSE);# To get TRUE and FALSE
++use Gtk2 -init; # Could just call init separately
++use Sane 0.05;  # To get SANE_* enums
++use Sub::Override;  # Override Frontend::CLI to test functionality 
that
++# we can't with the test backend
++
++BEGIN {
++use Gscan2pdf::Dialog::Scan::CLI;
++}
++
++#
++
++my $window = Gtk2::Window->new;
++
++Glib::set_application_name('gscan2pdf');
++use Log::Log4perl qw(:easy);
++Log::Log4perl->easy_init($FATAL);
++my $logger = Log::Log4perl::get_logger;
++
++my $help_out = <<'EOS';
++Usage: scanimage [OPTION]...
++
++Start image acquisition on a scanner device and write PNM image data to 
standard output.
++
++-d, --device-name=DEVICE   use a given scanner device (e.g. hp:/dev/scanner)
++--format=pnm|tiff  file format of output file
++-i, --icc-profile=PROFILE  include this ICC profile into TIFF file
++-L, --list-devices show available scanner devices
++-f, --formatted-device-list=FORMAT similar to -L, but the FORMA

Bug#683506: gscan2pdf freeze exception

2012-08-01 Thread Jeffrey Ratcliffe
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: freeze-exception

Please unblock gscan2pdf-1.0.4-5. It fixes a serious (#682818[2]) and
an important bug (#680158[1])

I attach a debdiff from -4 to -5.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680158
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682818


4-5.diff
Description: Binary data


Re: gscan2pdf freeze exception

2012-07-31 Thread Jeffrey Ratcliffe
On 29 July 2012 12:57, Niels Thykier ni...@thykier.net wrote:
 According to the BTS, #682818 also affects the version in testing.  If
 so, could you please wait till 1.0.4-4 has migrated.  This makes the
 diff much easier for me to review.

Would you also unfreeze uploads which fix important bugs (I'm looking
at 680158[1])?

Regards

Jeff

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680158


-- 
To UNSUBSCRIBE, email to debian-release-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cacg2wbz_quec4vwd+bcn40jkjdvvgqmxxunu0gdnsur5wt+...@mail.gmail.com



Re: gscan2pdf freeze exception

2012-07-29 Thread Jeffrey Ratcliffe
On 25 July 2012 23:28, Niels Thykier ni...@thykier.net wrote:
 Unblocked, thanks for the fixes.

Thanks. I was expecting gscan2pdf 1.0.4-4 to now migrate automatically
from sid to wheezy. Were you expecting me to upload to wheezy?

In the mean time, I would like to upload 1.0.4-5 to sid to fix 682818[1]

Should I go ahead, or wait for 1.0.4-4 to resolve itself?

Please keep me in cc, as I am not subscribed.

Regards

Jeff

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682818


-- 
To UNSUBSCRIBE, email to debian-release-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CACg2wbwhVbqv3AhqqJDHb8iaZv1t-8jbBj-RqqQxSzf=pcs...@mail.gmail.com



Re: gscan2pdf freeze exception

2012-07-29 Thread Jeffrey Ratcliffe
On 29 July 2012 12:57, Niels Thykier ni...@thykier.net wrote:
 gscan2pdf/1.0.4-4 should migrate with the next Britney run (in about 12
 hours).

Thanks for the heads-up.

 According to the BTS, #682818 also affects the version in testing.  If
 so, could you please wait till 1.0.4-4 has migrated.  This makes the
 diff much easier for me to review.

Yes. I'll wait until then.

Regards

Jeff


-- 
To UNSUBSCRIBE, email to debian-release-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cacg2wbx7epxrq4fqrdj6stygh9n3po6uvllntxytb-0y18h...@mail.gmail.com



gscan2pdf freeze exception

2012-07-19 Thread Jeffrey Ratcliffe
I've just uploaded gscan2pdf 1.0.4-4 to sid. -2 is currently in wheezy.

Please find attached a debdiff between -2 and -4 which fixes two serious bugs:

#678911(Device-dependent options disappear after selecting Lineart mode)
#682100gscan2pdf Recommends cuneiform which is in non-free

Please keep me in cc, as I am not subscribed.

Regards

Jeff Ratcliffe


gscan2pdf_1.0.4-2-4.debdiff.gz
Description: GNU Zip compressed data


Re: Bug#612032: tesseract: rewrite arbitrary user file

2011-07-24 Thread Jeffrey Ratcliffe
On 23 July 2011 22:42, Jonathan Wiltshire j...@debian.org wrote:
 I'm tying up loose ends and this bug is still outstanding for Squeeze. Do
 you have plans for an upload and would you like any help?

I apologise for not revisiting this in any sane length of time. All of
my (little) time has been taken up with gscan2pdf upstream
development.

I will get to this, but cannot promise when.

Please feel free to NMU this if you wish.

Regards

Jeff


-- 
To UNSUBSCRIBE, email to debian-release-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cacg2wbwjpo3p2bojg9kequtsposiveyrzw_6_vw+8uhmyjr...@mail.gmail.com



Re: Bug#612032: tesseract: rewrite arbitrary user file

2011-04-04 Thread Jeffrey Ratcliffe
On 6 March 2011 23:09, Adam D. Barratt a...@adam-barratt.org.uk wrote:
 For the record, I'd be happy with the squeeze upload either as is or
 with the quilt bump + more expansive changelog entry; the main issue

Uploaded

Jeff


-- 
To UNSUBSCRIBE, email to debian-release-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTik7jg5SX25SCsROWgZ4tpFDfD=b...@mail.gmail.com



Re: Bug#612032: tesseract: rewrite arbitrary user file

2011-03-24 Thread Jeffrey Ratcliffe
On 22 March 2011 22:42, Adam D. Barratt a...@adam-barratt.org.uk wrote:
 Any news on either of the uploads?

Apologies for the delay. RL is throwing up some issues which are
taking my time at the moment. I hope to get to it at the weekend.

Regards

Jeff


-- 
To UNSUBSCRIBE, email to debian-release-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikamdesgyw3r+ahrqg+okrj9_3xirhfkahav...@mail.gmail.com



Re: Bug#612032: tesseract: rewrite arbitrary user file

2011-03-06 Thread Jeffrey Ratcliffe
Hi Adam,

On 6 March 2011 00:18, Adam D. Barratt a...@adam-barratt.org.uk wrote:
 - Testing and unstable have tesseract 2.04-2.1, so the package for
 stable would need to have a lower version than that.  I'd suggest 2.04-2
 +squeeze1, which is conventional.

Sure. This will be my first contribution directly to stable or
oldstable, as I am sure you can tell. I've updated the oldstable
package to also conform.

There was no mention of the convention in the Developers'
Reference[1]. Is this worth a bug report?

 - It would be nice if the reasoning for the quilt build-dep bump was
 mentioned.  My suspicion is that this is due to the use of dh
 --with-quilt triggering a lintian warning but this isn't really
 necessary for stable as the relevant quilt version is already included
 there (and the warning has thus been dropped by the version of lintian
 in experimental).

I've dropped it, assuming you are correct, and asked Jakub Wilk, who
prepared the original NMU, to confirm.

 Would you like separate bugs to be opened for each distribution? At
 the moment, the same sid/wheezy bug is quoted/closed.

 That's fine (and the right way to do it).

Sorry, but your answer is ambigious. Would you like the extra two bugs
opened (and closed)?

I would also suggest that the Developers' Reference could be improved
to confirm this, one way or the other.

Regards

Jeff

[1]http://www.debian.org/doc/developers-reference/pkgs.html#upload-stable


tesseract_2.03-2+lenny1.debdiff
Description: Binary data


tesseract_2.04-2+squeeze1.debdiff
Description: Binary data


Re: Bug#612032: tesseract: rewrite arbitrary user file

2011-03-06 Thread Jeffrey Ratcliffe
On 6 March 2011 23:56, Jakub Wilk jw...@debian.org wrote:
 Adam is correct, I bumped b-d to shut up lintian:

Thanks for confirming that.

Jeff


-- 
To UNSUBSCRIBE, email to debian-release-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTikkKS4-OS7xKNm=wDa=dS2h94JmYDb+oJ=hi...@mail.gmail.com



Re: Bug#612032: tesseract: rewrite arbitrary user file

2011-03-05 Thread Jeffrey Ratcliffe
Attached are debdiffs to fix #612032 for the relevant packages in
lenny and squeeze.

Are you happy for these to be uploaded to stable/oldstable?

Would you like separate bugs to be opened for each distribution? At
the moment, the same sid/wheezy bug is quoted/closed.

Regards

Jeff Ratcliffe


tesseract_2.03-3.debdiff
Description: Binary data


tesseract_2.04-3.debdiff
Description: Binary data


Re: gscan2pdf REMOVED from testing

2010-02-09 Thread Jeffrey Ratcliffe
On Tue, Feb 02, 2010 at 04:39:33PM +, Debian testing watch wrote:
 FYI: The status of the gscan2pdf source package
 in Debian's testing distribution has changed.
 
   Previous version: 0.9.29-1
   Current version:  (not in testing)
   Hint: http://release.debian.org/britney/hints/luk
 # done 2009-11-22

I don't understand why gscan2pdf was removed. The grave bug has been
closed. Does anyone have any insight? Will v0.9.30-2 hit testing in
its current state?

Please cc me on replies, as I am not subscribed.

Regards

Jeff


signature.asc
Description: Digital signature


Re: gscan2pdf REMOVED from testing

2010-02-09 Thread Jeffrey Ratcliffe
On Tue, Feb 09, 2010 at 09:50:22PM +0100, Luk Claes wrote:
 Jeffrey Ratcliffe wrote:
  On Tue, Feb 02, 2010 at 04:39:33PM +, Debian testing watch wrote:
  FYI: The status of the gscan2pdf source package
  in Debian's testing distribution has changed.
 
Previous version: 0.9.29-1
Current version:  (not in testing)
Hint: http://release.debian.org/britney/hints/luk
  # done 2009-11-22

 It was removed more than 2 months ago. The bug was only closed way later.

Thanks for the swift reply.

It was removed once 2 months ago. The bug was closed and it hit
testing again, only to be removed again last week. It is this second
removal that I am confused about.

 The current package should hit testing in about 7 days AFAICS.

In which case my question is merely academic.

Regards

Jeff


signature.asc
Description: Digital signature