Hello community, here is the log from the commit of package poppler for openSUSE:Factory checked in at 2013-09-29 19:27:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/poppler (Old) and /work/SRC/openSUSE:Factory/.poppler.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "poppler" Changes: -------- --- /work/SRC/openSUSE:Factory/poppler/poppler-qt.changes 2013-09-09 10:56:58.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.poppler.new/poppler-qt.changes 2013-09-29 19:27:47.000000000 +0200 @@ -1,0 +2,11 @@ +Sat Sep 28 15:11:00 UTC 2013 - zai...@opensuse.org + +- Update to version 0.24.2: + + core: + - Windows: Fix CreateFile fails with ERROR_SHARING_VIOLATION + (fdo#69597). + + utils: + - pdfseparate: improve the path building. + - pdftocairo: check file opening failure in beginDocument(). + +------------------------------------------------------------------- poppler.changes: same change Old: ---- poppler-0.24.1.tar.xz New: ---- poppler-0.24.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ poppler-qt.spec ++++++ --- /var/tmp/diff_new_pack.dMedKZ/_old 2013-09-29 19:27:48.000000000 +0200 +++ /var/tmp/diff_new_pack.dMedKZ/_new 2013-09-29 19:27:48.000000000 +0200 @@ -21,7 +21,7 @@ Name: poppler-qt %define _name poppler -Version: 0.24.1 +Version: 0.24.2 Release: 0 # Actual version of poppler-data: %define poppler_data_version 0.4.6 ++++++ poppler.spec ++++++ --- /var/tmp/diff_new_pack.dMedKZ/_old 2013-09-29 19:27:48.000000000 +0200 +++ /var/tmp/diff_new_pack.dMedKZ/_new 2013-09-29 19:27:48.000000000 +0200 @@ -21,7 +21,7 @@ Name: poppler %define _name poppler -Version: 0.24.1 +Version: 0.24.2 Release: 0 # Actual version of poppler-data: %define poppler_data_version 0.4.6 ++++++ poppler-0.24.1.tar.xz -> poppler-0.24.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.24.1/CMakeLists.txt new/poppler-0.24.2/CMakeLists.txt --- old/poppler-0.24.1/CMakeLists.txt 2013-08-26 21:58:36.000000000 +0200 +++ new/poppler-0.24.2/CMakeLists.txt 2013-09-27 12:40:52.000000000 +0200 @@ -18,7 +18,7 @@ set(POPPLER_MAJOR_VERSION "0") set(POPPLER_MINOR_VERSION "24") -set(POPPLER_MICRO_VERSION "1") +set(POPPLER_MICRO_VERSION "2") set(POPPLER_VERSION "${POPPLER_MAJOR_VERSION}.${POPPLER_MINOR_VERSION}.${POPPLER_MICRO_VERSION}") # command line switches diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.24.1/ChangeLog new/poppler-0.24.2/ChangeLog --- old/poppler-0.24.1/ChangeLog 2013-08-26 22:23:20.000000000 +0200 +++ new/poppler-0.24.2/ChangeLog 2013-09-27 12:51:04.000000000 +0200 @@ -1,3 +1,74 @@ +commit 06dabe1eed912e5f5c96fe9f371ab459516e5a99 +Author: Albert Astals Cid <aa...@kde.org> +Date: Fri Sep 27 12:41:23 2013 +0200 + + 0.24.2 + + CMakeLists.txt | 2 +- + NEWS | 8 ++++++++ + configure.ac | 2 +- + cpp/Doxyfile | 2 +- + qt4/src/Doxyfile | 2 +- + qt5/src/Doxyfile | 2 +- + 6 files changed, 13 insertions(+), 5 deletions(-) + +commit 78141da189c42a04b6a303767284de755a4a2d4d +Author: Albert Astals Cid <aa...@kde.org> +Date: Fri Sep 27 12:39:00 2013 +0200 + + Update copyrights + + utils/pdfseparate.cc | 1 + + 1 file changed, 1 insertion(+) + +commit dc344b410f49410174ee902b7649ebd8c2cb0fa2 +Author: Lu Wang <coolwan...@gmail.com> +Date: Sat Sep 21 10:37:30 2013 +0200 + + pdftocairo: check file opening failure in beginDocument() + + utils/pdftocairo.cc | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 1e612d331b79dabec66ad241d7ffe66674a10bc4 +Author: Thomas Freitag <thomas.frei...@alfa.de> +Date: Sat Sep 21 10:10:16 2013 +0200 + + Windows: Fix CreateFile fails with ERROR_SHARING_VIOLATION + + Bug #69597 + + goo/gfile.cc | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit b8682d868ddf7f741e93b791588af0932893f95c +Author: Pino Toscano <p...@kde.org> +Date: Mon Sep 16 19:46:55 2013 +0200 + + pdfseparate: improve the path building + + Make use of snprintf to limit the output to the pathName buffer; + while I'm there, expand its size to 4096 (might help longer paths), + although a better fix would be dynamically allocate its length + (and/or using GooString, maybe). + + utils/pdfseparate.cc | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 563da2d375c003478d398897796ecbf45ce03482 +Author: Albert Astals Cid <aa...@kde.org> +Date: Mon Aug 26 22:33:10 2013 +0200 + + 0.24.1 + + CMakeLists.txt | 2 +- + NEWS | 23 +++++++++++++++++++++++ + configure.ac | 2 +- + cpp/Doxyfile | 2 +- + qt4/src/Doxyfile | 2 +- + qt5/src/Doxyfile | 2 +- + 6 files changed, 28 insertions(+), 5 deletions(-) + commit 2c73f1ea9116172692d8350cb7adf1b5376f795c Author: Albert Astals Cid <aa...@kde.org> Date: Mon Aug 26 21:50:51 2013 +0200 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.24.1/NEWS new/poppler-0.24.2/NEWS --- old/poppler-0.24.1/NEWS 2013-08-26 21:54:18.000000000 +0200 +++ new/poppler-0.24.2/NEWS 2013-09-27 12:40:17.000000000 +0200 @@ -1,3 +1,11 @@ +Release 0.24.2 + core: + * Windows: Fix CreateFile fails with ERROR_SHARING_VIOLATION. Bug #69597 + + utils: + * pdfseparate: improve the path building + * pdftocairo: check file opening failure in beginDocument() + Release 0.24.1 core: * SplashOutputDev: use getRGBLine images if available. Bug #66928 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.24.1/configure new/poppler-0.24.2/configure --- old/poppler-0.24.1/configure 2013-08-26 22:00:24.000000000 +0200 +++ new/poppler-0.24.2/configure 2013-09-27 12:42:18.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for poppler 0.24.1. +# Generated by GNU Autoconf 2.69 for poppler 0.24.2. # # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=poppler>. # @@ -591,8 +591,8 @@ # Identity of this package. PACKAGE_NAME='poppler' PACKAGE_TARNAME='poppler' -PACKAGE_VERSION='0.24.1' -PACKAGE_STRING='poppler 0.24.1' +PACKAGE_VERSION='0.24.2' +PACKAGE_STRING='poppler 0.24.2' PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=poppler' PACKAGE_URL='' @@ -1526,7 +1526,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures poppler 0.24.1 to adapt to many kinds of systems. +\`configure' configures poppler 0.24.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1600,7 +1600,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of poppler 0.24.1:";; + short | recursive ) echo "Configuration of poppler 0.24.2:";; esac cat <<\_ACEOF @@ -1813,7 +1813,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -poppler configure 0.24.1 +poppler configure 0.24.2 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2507,7 +2507,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by poppler $as_me 0.24.1, which was +It was created by poppler $as_me 0.24.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3371,7 +3371,7 @@ # Define the identity of the package. PACKAGE='poppler' - VERSION='0.24.1' + VERSION='0.24.2' cat >>confdefs.h <<_ACEOF @@ -17684,7 +17684,7 @@ cat >>confdefs.h <<_ACEOF -#define POPPLER_VERSION "0.24.1" +#define POPPLER_VERSION "0.24.2" _ACEOF @@ -24773,9 +24773,9 @@ POPPLER_MINOR_VERSION=24 -POPPLER_MICRO_VERSION=1 +POPPLER_MICRO_VERSION=2 -POPPLER_VERSION=0.24.1 +POPPLER_VERSION=0.24.2 ac_config_files="$ac_config_files Makefile goo/Makefile fofi/Makefile splash/Makefile poppler/Makefile utils/Makefile glib/Makefile glib/poppler-features.h glib/reference/Makefile glib/reference/version.xml glib/demo/Makefile test/Makefile qt4/Makefile qt4/src/Makefile qt4/tests/Makefile qt4/demos/Makefile qt5/Makefile qt5/src/Makefile qt5/tests/Makefile qt5/demos/Makefile cpp/Makefile cpp/poppler-version.h cpp/tests/Makefile poppler.pc poppler-uninstalled.pc poppler-cairo.pc poppler-cairo-uninstalled.pc poppler-splash.pc poppler-splash-uninstalled.pc poppler-glib.pc poppler-glib-uninstalled.pc poppler-qt4.pc poppler-qt4-uninstalled.pc poppler-qt5.pc poppler-qt5-uninstalled.pc poppler-cpp.pc poppler-cpp-uninstalled.pc" @@ -25423,7 +25423,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by poppler $as_me 0.24.1, which was +This file was extended by poppler $as_me 0.24.2, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -25489,7 +25489,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -poppler config.status 0.24.1 +poppler config.status 0.24.2 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.24.1/configure.ac new/poppler-0.24.2/configure.ac --- old/poppler-0.24.1/configure.ac 2013-08-26 21:58:31.000000000 +0200 +++ new/poppler-0.24.2/configure.ac 2013-09-27 12:40:27.000000000 +0200 @@ -1,6 +1,6 @@ m4_define([poppler_version_major],[0]) m4_define([poppler_version_minor],[24]) -m4_define([poppler_version_micro],[1]) +m4_define([poppler_version_micro],[2]) m4_define([poppler_version],[poppler_version_major.poppler_version_minor.poppler_version_micro]) AC_PREREQ(2.59) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.24.1/cpp/poppler-version.h new/poppler-0.24.2/cpp/poppler-version.h --- old/poppler-0.24.1/cpp/poppler-version.h 2013-08-26 22:00:38.000000000 +0200 +++ new/poppler-0.24.2/cpp/poppler-version.h 2013-09-27 12:42:28.000000000 +0200 @@ -21,10 +21,10 @@ #include "poppler-global.h" -#define POPPLER_VERSION "0.24.1" +#define POPPLER_VERSION "0.24.2" #define POPPLER_VERSION_MAJOR 0 #define POPPLER_VERSION_MINOR 24 -#define POPPLER_VERSION_MICRO 1 +#define POPPLER_VERSION_MICRO 2 namespace poppler { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.24.1/glib/Poppler-0.18.gir new/poppler-0.24.2/glib/Poppler-0.18.gir --- old/poppler-0.24.1/glib/Poppler-0.18.gir 2013-08-26 22:01:24.000000000 +0200 +++ new/poppler-0.24.2/glib/Poppler-0.18.gir 2013-09-27 12:43:18.000000000 +0200 @@ -3815,7 +3815,7 @@ <type name="gint" c:type="gint"/> </constant> <constant name="MICRO_VERSION" - value="1" + value="2" c:type="POPPLER_MICRO_VERSION" version="0.12"> <doc xml:space="preserve">The micro version number of the poppler header files (e.g. in poppler version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.24.1/glib/reference/html/index.html new/poppler-0.24.2/glib/reference/html/index.html --- old/poppler-0.24.1/glib/reference/html/index.html 2013-08-26 22:23:22.000000000 +0200 +++ new/poppler-0.24.2/glib/reference/html/index.html 2013-09-27 12:51:07.000000000 +0200 @@ -15,7 +15,7 @@ <div> <div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Poppler Reference Manual</p></th></tr></table></div> <div><p class="releaseinfo"> - for Poppler 0.24.1 + for Poppler 0.24.2 </p></div> </div> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.24.1/glib/reference/html/poppler-Version-and-Features-Information.html new/poppler-0.24.2/glib/reference/html/poppler-Version-and-Features-Information.html --- old/poppler-0.24.1/glib/reference/html/poppler-Version-and-Features-Information.html 2013-08-26 22:23:22.000000000 +0200 +++ new/poppler-0.24.2/glib/reference/html/poppler-Version-and-Features-Information.html 2013-09-27 12:51:07.000000000 +0200 @@ -93,7 +93,7 @@ <hr> <div class="refsect2"> <a name="POPPLER-MICRO-VERSION:CAPS"></a><h3>POPPLER_MICRO_VERSION</h3> -<pre class="programlisting">#define POPPLER_MICRO_VERSION (1) +<pre class="programlisting">#define POPPLER_MICRO_VERSION (2) </pre> <p> The micro version number of the poppler header files (e.g. in poppler version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.24.1/glib/reference/version.xml new/poppler-0.24.2/glib/reference/version.xml --- old/poppler-0.24.1/glib/reference/version.xml 2013-08-26 22:00:38.000000000 +0200 +++ new/poppler-0.24.2/glib/reference/version.xml 2013-09-27 12:42:27.000000000 +0200 @@ -1 +1 @@ -0.24.1 +0.24.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.24.1/goo/gfile.cc new/poppler-0.24.2/goo/gfile.cc --- old/poppler-0.24.1/goo/gfile.cc 2013-08-17 01:20:41.000000000 +0200 +++ new/poppler-0.24.2/goo/gfile.cc 2013-09-21 10:11:21.000000000 +0200 @@ -24,6 +24,7 @@ // Copyright (C) 2013 Adam Reichold <adamreich...@myopera.com> // Copyright (C) 2013 Adrian Johnson <ajohn...@redneon.com> // Copyright (C) 2013 Peter Breitenlohner <p...@mppmu.mpg.de> +// Copyright (C) 2013 Thomas Freitag <thomas.frei...@alfa.de> // // To see a description of the changes please see the Changelog file that // came with your tarball or type make ChangeLog if you are building from git @@ -621,7 +622,7 @@ GooFile* GooFile::open(const GooString *fileName) { HANDLE handle = CreateFile(fileName->getCString(), GENERIC_READ, - FILE_SHARE_READ, + FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); @@ -632,7 +633,7 @@ GooFile* GooFile::open(const wchar_t *fileName) { HANDLE handle = CreateFileW(fileName, GENERIC_READ, - FILE_SHARE_READ, + FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.24.1/utils/pdfseparate.cc new/poppler-0.24.2/utils/pdfseparate.cc --- old/poppler-0.24.1/utils/pdfseparate.cc 2013-08-17 01:20:41.000000000 +0200 +++ new/poppler-0.24.2/utils/pdfseparate.cc 2013-09-27 12:38:43.000000000 +0200 @@ -6,6 +6,7 @@ // // Copyright (C) 2011, 2012 Thomas Freitag <thomas.frei...@alfa.de> // Copyright (C) 2012 Albert Astals Cid <aa...@kde.org> +// Copyright (C) 2013 Pino Toscano <p...@kde.org> // //======================================================================== #include "config.h" @@ -44,7 +45,7 @@ }; bool extractPages (const char *srcFileName, const char *destFileName) { - char pathName[1024]; + char pathName[4096]; GooString *gfileName = new GooString (srcFileName); PDFDoc *doc = new PDFDoc (gfileName, NULL, NULL, NULL); @@ -66,7 +67,7 @@ return false; } for (int pageNo = firstPage; pageNo <= lastPage; pageNo++) { - sprintf (pathName, destFileName, pageNo); + snprintf (pathName, sizeof (pathName) - 1, destFileName, pageNo); GooString *gpageName = new GooString (pathName); int errCode = doc->savePageAs(gpageName, pageNo); if ( errCode != errNone) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.24.1/utils/pdftocairo.cc new/poppler-0.24.2/utils/pdftocairo.cc --- old/poppler-0.24.1/utils/pdftocairo.cc 2013-08-17 01:20:41.000000000 +0200 +++ new/poppler-0.24.2/utils/pdftocairo.cc 2013-09-21 10:38:08.000000000 +0200 @@ -26,6 +26,7 @@ // Copyright (C) 2011 Thomas Freitag <thomas.frei...@alfa.de> // Copyright (C) 2011 Carlos Garcia Campos <carlo...@gnome.org> // Copyright (C) 2012 Koji Otani <s...@bbr.jp> +// Copyright (C) 2013 Lu Wang <coolwan...@gmail.com> // // To see a description of the changes please see the Changelog file that // came with your tarball or type make ChangeLog if you are building from git @@ -484,7 +485,13 @@ if (outputFileName->cmp("fd://0") == 0) output_file = stdout; else + { output_file = fopen(outputFileName->getCString(), "wb"); + if (!output_file) { + fprintf(stderr, "Error opening output file %s\n", outputFileName->getCString()); + exit(2); + } + } if (ps || eps) { #if CAIRO_HAS_PS_SURFACE -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org