Hello community, here is the log from the commit of package simple-scan for openSUSE:Factory checked in at 2012-01-05 19:15:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/simple-scan (Old) and /work/SRC/openSUSE:Factory/.simple-scan.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "simple-scan", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/simple-scan/simple-scan.changes 2011-10-02 11:15:46.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.simple-scan.new/simple-scan.changes 2012-01-05 19:15:48.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Nov 15 11:21:03 UTC 2011 - vuntz@opensuse.org + +- Update to version 3.2.1: + + Fix JPEG compression not working in PDF files + +------------------------------------------------------------------- Old: ---- simple-scan-3.2.0.tar.bz2 New: ---- simple-scan-3.2.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ simple-scan.spec ++++++ --- /var/tmp/diff_new_pack.M7pKRv/_old 2012-01-05 19:15:49.000000000 +0100 +++ /var/tmp/diff_new_pack.M7pKRv/_new 2012-01-05 19:15:49.000000000 +0100 @@ -18,7 +18,7 @@ Name: simple-scan -Version: 3.2.0 +Version: 3.2.1 Release: 1 License: GPLv3+ Summary: Simple Scanning Utility ++++++ simple-scan-3.2.0.tar.bz2 -> simple-scan-3.2.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simple-scan-3.2.0/NEWS new/simple-scan-3.2.1/NEWS --- old/simple-scan-3.2.0/NEWS 2011-09-27 02:27:44.000000000 +0200 +++ new/simple-scan-3.2.1/NEWS 2011-11-09 01:28:43.000000000 +0100 @@ -1,3 +1,7 @@ +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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simple-scan-3.2.0/configure new/simple-scan-3.2.1/configure --- old/simple-scan-3.2.0/configure 2011-09-27 02:29:02.000000000 +0200 +++ new/simple-scan-3.2.1/configure 2011-11-09 01:30:03.000000000 +0100 @@ -2739,7 +2739,7 @@ # Define the identity of the package. PACKAGE=simple-scan - VERSION=3.2.0 + VERSION=3.2.1 cat >>confdefs.h <<_ACEOF diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simple-scan-3.2.0/configure.ac new/simple-scan-3.2.1/configure.ac --- old/simple-scan-3.2.0/configure.ac 2011-09-27 02:27:26.000000000 +0200 +++ new/simple-scan-3.2.1/configure.ac 2011-11-09 01:29:57.000000000 +0100 @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(configure.ac) -AM_INIT_AUTOMAKE(simple-scan, 3.2.0) +AM_INIT_AUTOMAKE(simple-scan, 3.2.1) AM_CONFIG_HEADER(config.h) AM_MAINTAINER_MODE GNOME_MAINTAINER_MODE_DEFINES diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simple-scan-3.2.0/src/book-view.c new/simple-scan-3.2.1/src/book-view.c --- old/simple-scan-3.2.0/src/book-view.c 2011-09-12 05:29:12.000000000 +0200 +++ new/simple-scan-3.2.1/src/book-view.c 2011-11-09 01:14:57.000000000 +0100 @@ -1,4 +1,4 @@ -/* book-view.c generated by valac 0.13.4, the Vala compiler +/* book-view.c generated by valac 0.14.0, the Vala compiler * generated from book-view.vala, do not modify */ /* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simple-scan-3.2.0/src/book.c new/simple-scan-3.2.1/src/book.c --- old/simple-scan-3.2.0/src/book.c 2011-09-12 05:29:12.000000000 +0200 +++ new/simple-scan-3.2.1/src/book.c 2011-11-09 01:14:57.000000000 +0100 @@ -1,4 +1,4 @@ -/* book.c generated by valac 0.13.4, the Vala compiler +/* book.c generated by valac 0.14.0, the Vala compiler * generated from book.vala, do not modify */ /* @@ -959,8 +959,9 @@ gint _tmp28_; struct jpeg_destination_mgr _tmp29_; gint _tmp30_; - guint8* _tmp31_; - gint _tmp31__length1; + gint _tmp31_ = 0; + guint8* _tmp32_; + gint _tmp32__length1; g_return_val_if_fail (self != NULL, NULL); g_return_val_if_fail (image != NULL, NULL); memset (&info, 0, sizeof (struct jpeg_compress_struct)); @@ -1052,12 +1053,17 @@ _tmp29_ = dest_mgr; _tmp30_ = _tmp29_.free_in_buffer; _vala_n_written = (gsize) (_tmp28_ - _tmp30_); - _tmp31_ = data; - _tmp31__length1 = data_length1; + _tmp31_ = (gint) _vala_n_written; + data = g_renew (guint8, data, (gint) _vala_n_written); + (_tmp31_ > data_length1) ? memset (data + data_length1, 0, sizeof (guint8) * (_tmp31_ - data_length1)) : NULL; + data_length1 = _tmp31_; + _data_size_ = _tmp31_; + _tmp32_ = data; + _tmp32__length1 = data_length1; if (result_length1) { - *result_length1 = _tmp31__length1; + *result_length1 = _tmp32__length1; } - result = _tmp31_; + result = _tmp32_; jpeg_destroy_compress (&info); if (n_written) { *n_written = _vala_n_written; @@ -2805,7 +2811,7 @@ _inner_error_ = NULL; _tmp2_ = e; _tmp3_ = _tmp2_->message; - g_warning ("book.vala:529: Error writing PDF: %s", _tmp3_); + g_warning ("book.vala:530: Error writing PDF: %s", _tmp3_); _g_error_free0 (e); } __finally0: @@ -3112,7 +3118,7 @@ _inner_error_ = NULL; _tmp2_ = e; _tmp3_ = _tmp2_->message; - g_warning ("book.vala:565: Error writing data: %s", _tmp3_); + g_warning ("book.vala:566: Error writing data: %s", _tmp3_); result = CAIRO_STATUS_WRITE_ERROR; _g_error_free0 (e); return result; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simple-scan-3.2.0/src/book.vala new/simple-scan-3.2.1/src/book.vala --- old/simple-scan-3.2.0/src/book.vala 2011-09-01 01:34:29.000000000 +0200 +++ new/simple-scan-3.2.1/src/book.vala 2011-11-09 01:14:54.000000000 +0100 @@ -197,6 +197,7 @@ } info.finish_compress (); n_written = max_length - dest_mgr.free_in_buffer; + data.resize ((int) n_written); return data; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simple-scan-3.2.0/src/page-view.c new/simple-scan-3.2.1/src/page-view.c --- old/simple-scan-3.2.0/src/page-view.c 2011-09-12 05:29:13.000000000 +0200 +++ new/simple-scan-3.2.1/src/page-view.c 2011-11-09 01:14:57.000000000 +0100 @@ -1,4 +1,4 @@ -/* page-view.c generated by valac 0.13.4, the Vala compiler +/* page-view.c generated by valac 0.14.0, the Vala compiler * generated from page-view.vala, do not modify */ /* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simple-scan-3.2.0/src/page.c new/simple-scan-3.2.1/src/page.c --- old/simple-scan-3.2.0/src/page.c 2011-09-12 05:29:12.000000000 +0200 +++ new/simple-scan-3.2.1/src/page.c 2011-11-09 01:14:57.000000000 +0100 @@ -1,4 +1,4 @@ -/* page.c generated by valac 0.13.4, the Vala compiler +/* page.c generated by valac 0.14.0, the Vala compiler * generated from page.vala, do not modify */ /* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simple-scan-3.2.0/src/scanner.c new/simple-scan-3.2.1/src/scanner.c --- old/simple-scan-3.2.0/src/scanner.c 2011-09-12 05:29:13.000000000 +0200 +++ new/simple-scan-3.2.1/src/scanner.c 2011-11-09 01:14:57.000000000 +0100 @@ -1,4 +1,4 @@ -/* scanner.c generated by valac 0.13.4, the Vala compiler +/* scanner.c generated by valac 0.14.0, the Vala compiler * generated from scanner.vala, do not modify */ /* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simple-scan-3.2.0/src/simple-scan.c new/simple-scan-3.2.1/src/simple-scan.c --- old/simple-scan-3.2.0/src/simple-scan.c 2011-09-12 05:29:13.000000000 +0200 +++ new/simple-scan-3.2.1/src/simple-scan.c 2011-11-09 01:14:57.000000000 +0100 @@ -1,4 +1,4 @@ -/* simple-scan.c generated by valac 0.13.4, the Vala compiler +/* simple-scan.c generated by valac 0.14.0, the Vala compiler * generated from simple-scan.vala, do not modify */ /* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simple-scan-3.2.0/src/ui.c new/simple-scan-3.2.1/src/ui.c --- old/simple-scan-3.2.0/src/ui.c 2011-09-12 05:29:13.000000000 +0200 +++ new/simple-scan-3.2.1/src/ui.c 2011-11-09 01:14:57.000000000 +0100 @@ -1,4 +1,4 @@ -/* ui.c generated by valac 0.13.4, the Vala compiler +/* ui.c generated by valac 0.14.0, the Vala compiler * generated from ui.vala, do not modify */ /* -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org