"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "bin/gscan2pdf" between
gscan2pdf-2.11.1.tar.xz and gscan2pdf-2.11.2.tar.xz

About: gscan2pdf is a GUI to produce PDFs from scanned documents (using Perl).

gscan2pdf  (gscan2pdf-2.11.1.tar.xz):gscan2pdf  (gscan2pdf-2.11.2.tar.xz)
skipping to change at line 17 skipping to change at line 17
# make tidy # make tidy
# TEST_AUTHOR=1 make test # TEST_AUTHOR=1 make test
# immediately before release so as not to affect any patches # immediately before release so as not to affect any patches
# in between, and then consistently before each commit afterwards. # in between, and then consistently before each commit afterwards.
# 0. Test scan in lineart, greyscale and colour. # 0. Test scan in lineart, greyscale and colour.
# 1. New screendump required? Print screen creates screenshot.png in Desktop. # 1. New screendump required? Print screen creates screenshot.png in Desktop.
# Download new translations (https://translations.launchpad.net/gscan2pdf) # Download new translations (https://translations.launchpad.net/gscan2pdf)
# Update translators in credits (https://launchpad.net/gscan2pdf/+topcontribu tors) # Update translators in credits (https://launchpad.net/gscan2pdf/+topcontribu tors)
# Check a locale with LC_ALL=de_DE LC_MESSAGES=de_DE LC_CTYPE=de_DE LANG=de_D E LANGUAGE=de_DE bin/gscan2pdf --log=log --locale=<wherever the locale directory is> # Check a locale with LC_ALL=de_DE LC_MESSAGES=de_DE LC_CTYPE=de_DE LANG=de_D E LANGUAGE=de_DE bin/gscan2pdf --log=log --locale=<wherever the locale directory is>
# Check $VERSION. If necessary bump with something like # Check $VERSION. If necessary bump with something like
# xargs sed -i "s/\(\$VERSION *= \)'2\.11\.0'/\1'2.11.1'/" < MANIFEST # xargs sed -i "s/\(\$VERSION *= \)'2\.11\.1'/\1'2.11.2'/" < MANIFEST
# Make appropriate updates to ../debian/changelog # Make appropriate updates to ../debian/changelog
# 2. perl Makefile.PL # 2. perl Makefile.PL
# Upload .pot # Upload .pot
# 3. make remote-html # 3. make remote-html
# 4. Build .deb for sf # 4. Build .deb for sf
# make signed_tardist # make signed_tardist
# sudo sbuild-update -udr sid-amd64-sbuild # sudo sbuild-update -udr sid-amd64-sbuild
# sbuild -sc sid-amd64-sbuild # sbuild -sc sid-amd64-sbuild
# #debsign .changes # #debsign .changes
# lintian -iI --pedantic .changes # lintian -iI --pedantic .changes
skipping to change at line 162 skipping to change at line 162
Readonly my $_1MB => $_1KB * $_1KB; Readonly my $_1MB => $_1KB * $_1KB;
Readonly my $_100_000MB => 100_000; Readonly my $_100_000MB => 100_000;
Readonly my $ZOOM_CONTEXT_FACTOR => 0.5; Readonly my $ZOOM_CONTEXT_FACTOR => 0.5;
Glib::set_application_name('gscan2pdf'); Glib::set_application_name('gscan2pdf');
#Glib::set_prgname('net.sourceforge.gscan2pdf'); #Glib::set_prgname('net.sourceforge.gscan2pdf');
Glib::Object::Introspection->invoke( 'GLib', undef, 'set_prgname', Glib::Object::Introspection->invoke( 'GLib', undef, 'set_prgname',
'net.sourceforge.gscan2pdf' ); 'net.sourceforge.gscan2pdf' );
my $prog_name = Glib::get_application_name; my $prog_name = Glib::get_application_name;
my $VERSION = '2.11.1'; my $VERSION = '2.11.2';
# Image border to ensure that a scaled to fit image gets no scrollbars # Image border to ensure that a scaled to fit image gets no scrollbars
my $border = 1; my $border = 1;
my $debug = FALSE; my $debug = FALSE;
my $EMPTY = q{}; my $EMPTY = q{};
my $SPACE = q{ }; my $SPACE = q{ };
my $DOT = q{.}; my $DOT = q{.};
my $PERCENT = q{%}; my $PERCENT = q{%};
my $ASTERISK = q{*}; my $ASTERISK = q{*};
skipping to change at line 3994 skipping to change at line 3994
} }
sub process_error_callback { sub process_error_callback {
my ( $widget, $process, $msg, $signal ) = @_; my ( $widget, $process, $msg, $signal ) = @_;
$logger->info("signal 'process-error' emitted with data: $process $msg"); $logger->info("signal 'process-error' emitted with data: $process $msg");
if ( defined $signal ) { if ( defined $signal ) {
$scbutton->signal_handler_disconnect($signal); $scbutton->signal_handler_disconnect($signal);
} }
$shbox->hide; $shbox->hide;
if ( $process eq 'open_device' and $msg =~ /Invalid[ ]argument/xsm ) { if ( $process eq 'open_device'
and $msg =~ /(Invalid[ ]argument|Device[ ]busy)/xsm )
{
my $error_name = 'error opening device'; my $error_name = 'error opening device';
my $response; my $response;
if ( defined $SETTING{message}{$error_name} if ( defined $SETTING{message}{$error_name}
and $SETTING{message}{$error_name}{response} eq 'ignore' ) and $SETTING{message}{$error_name}{response} eq 'ignore' )
{ {
$response = $SETTING{message}{$error_name}{response}; $response = $SETTING{message}{$error_name}{response};
} }
else { else {
my $dialog = my $dialog =
Gtk3::MessageDialog->new( $window, Gtk3::MessageDialog->new( $window,
 End of changes. 3 change blocks. 
3 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)