Hello community,
here is the log from the commit of package poppler
checked in at Thu Jun 5 17:56:01 CEST 2008.
--------
--- GNOME/poppler/poppler.changes 2008-05-19 19:32:28.000000000 +0200
+++ /mounts/work_src_done/STABLE/poppler/poppler.changes 2008-06-04 12:43:09.000000000 +0200
@@ -1,0 +2,7 @@
+Wed Jun 4 12:36:05 CEST 2008 - sbrabec@suse.cz
+
+- Updated to version 0.8.2:
+ * Add missing return in Object.h (fixes regression in 0.8.1)
+- Backported annotation crash fixes from upstream (bnc#396634).
+
+-------------------------------------------------------------------
Old:
----
poppler-0.8.1.tar.bz2
New:
----
poppler-0.8.2.tar.bz2
poppler-annot-crash.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ poppler.spec ++++++
--- /var/tmp/diff_new_pack.Q24717/_old 2008-06-05 17:55:28.000000000 +0200
+++ /var/tmp/diff_new_pack.Q24717/_new 2008-06-05 17:55:28.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package poppler (Version 0.8.1)
+# spec file for package poppler (Version 0.8.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,8 +12,8 @@
Name: poppler
BuildRequires: gtk-doc gtk2-devel libdrm-devel libjpeg-devel libqt4-devel libxml2-devel qt-devel qt3-devel update-desktop-files zlib-devel
-Version: 0.8.1
-Release: 3
+Version: 0.8.2
+Release: 1
# Actual version of poppler-data:
%define poppler_data_version 0.2.0
# WARNING: After changing versions please call Re or rpmbuild to auto-update spec file:
@@ -30,6 +30,8 @@
Source1: %{name}_spec-prepare.sh
# PATCH-FIX-UPSTREAM poppler-OptionalContent.patch bnc389090 fdo15899 sbrabec@suse.cz -- check for optional content before using it
Patch: poppler-OptionalContent.patch
+# PATCH-FIX-UPSTREAM poppler-annot-crash.patch bnc396634 sbrabec@suse.cz -- backport of annotation crash fixes
+Patch1: poppler-annot-crash.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -486,6 +488,7 @@
%prep
%setup -q
%patch -p1
+%patch1 -p1
%build
ACLOCAL="aclocal -I m4" autoreconf -f -i
@@ -586,6 +589,10 @@
%{_datadir}/gtk-doc/html/poppler
%changelog
+* Wed Jun 04 2008 sbrabec@suse.cz
+- Updated to version 0.8.2:
+ * Add missing return in Object.h (fixes regression in 0.8.1)
+- Backported annotation crash fixes from upstream (bnc#396634).
* Mon May 19 2008 maw@suse.de
- Provide pdftools_any in the -tools subpackage (bnc#378434).
* Mon May 12 2008 sbrabec@suse.cz
++++++ poppler-0.8.1.tar.bz2 -> poppler-0.8.2.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/poppler-0.8.1/ChangeLog new/poppler-0.8.2/ChangeLog
--- old/poppler-0.8.1/ChangeLog 2008-04-26 12:36:37.000000000 +0200
+++ new/poppler-0.8.2/ChangeLog 2008-04-29 23:52:39.000000000 +0200
@@ -1,3 +1,25 @@
+commit 735a3da4a9b2d4e852751f65c384509b20d22f4c
+Author: Albert Astals Cid
+Date: Tue Apr 29 23:50:32 2008 +0200
+
+ Release 0.8.2 due to the problem with the missing return
+
+ CMakeLists.txt | 2 +-
+ NEWS | 5 +++++
+ configure.ac | 2 +-
+ msvc/config.h | 6 +++---
+ qt4/src/Doxyfile | 2 +-
+ 5 files changed, 11 insertions(+), 6 deletions(-)
+
+commit 1376e2d89e56b6b8173feeb1c69d848973f30ec1
+Author: Albert Astals Cid
+Date: Tue Apr 29 23:44:51 2008 +0200
+
+ add lost return when adding kees patch
+
+ poppler/Object.h | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
commit ff0824d2af1be2510596ae2cde2fe4b1a6bfd3ae
Author: Albert Astals Cid
Date: Sat Apr 26 12:26:01 2008 +0200
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/poppler-0.8.1/CMakeLists.txt new/poppler-0.8.2/CMakeLists.txt
--- old/poppler-0.8.1/CMakeLists.txt 2008-04-26 12:24:49.000000000 +0200
+++ new/poppler-0.8.2/CMakeLists.txt 2008-04-29 23:49:53.000000000 +0200
@@ -11,7 +11,7 @@
include(MacroEnsureVersion)
include(MacroBoolTo01)
-set(POPPLER_VERSION "0.8.1")
+set(POPPLER_VERSION "0.8.2")
# command line switches
option(ENABLE_XPDF_HEADERS "Install unsupported xpdf headers." OFF)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/poppler-0.8.1/configure new/poppler-0.8.2/configure
--- old/poppler-0.8.1/configure 2008-04-26 12:27:28.000000000 +0200
+++ new/poppler-0.8.2/configure 2008-04-29 23:52:20.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for poppler 0.8.1.
+# Generated by GNU Autoconf 2.61 for poppler 0.8.2.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
@@ -726,8 +726,8 @@
# Identity of this package.
PACKAGE_NAME='poppler'
PACKAGE_TARNAME='poppler'
-PACKAGE_VERSION='0.8.1'
-PACKAGE_STRING='poppler 0.8.1'
+PACKAGE_VERSION='0.8.2'
+PACKAGE_STRING='poppler 0.8.2'
PACKAGE_BUGREPORT=''
# Factoring default headers for most tests.
@@ -1479,7 +1479,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.8.1 to adapt to many kinds of systems.
+\`configure' configures poppler 0.8.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1553,7 +1553,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of poppler 0.8.1:";;
+ short | recursive ) echo "Configuration of poppler 0.8.2:";;
esac
cat <<\_ACEOF
@@ -1707,7 +1707,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-poppler configure 0.8.1
+poppler configure 0.8.2
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1721,7 +1721,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.8.1, which was
+It was created by poppler $as_me 0.8.2, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -2411,7 +2411,7 @@
# Define the identity of the package.
PACKAGE='poppler'
- VERSION='0.8.1'
+ VERSION='0.8.2'
cat >>confdefs.h <<_ACEOF
@@ -28980,7 +28980,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.8.1, which was
+This file was extended by poppler $as_me 0.8.2, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -29033,7 +29033,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-poppler config.status 0.8.1
+poppler config.status 0.8.2
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/poppler-0.8.1/configure.ac new/poppler-0.8.2/configure.ac
--- old/poppler-0.8.1/configure.ac 2008-04-26 12:24:42.000000000 +0200
+++ new/poppler-0.8.2/configure.ac 2008-04-29 23:49:46.000000000 +0200
@@ -1,5 +1,5 @@
AC_PREREQ(2.59)
-AC_INIT(poppler, 0.8.1)
+AC_INIT(poppler, 0.8.2)
AM_INIT_AUTOMAKE([foreign])
AM_CONFIG_HEADER(config.h)
AM_CONFIG_HEADER(poppler/poppler-config.h)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/poppler-0.8.1/glib/reference/tmpl/poppler-attachment.sgml.sgml new/poppler-0.8.2/glib/reference/tmpl/poppler-attachment.sgml.sgml
--- old/poppler-0.8.1/glib/reference/tmpl/poppler-attachment.sgml.sgml 2008-04-26 12:36:38.000000000 +0200
+++ new/poppler-0.8.2/glib/reference/tmpl/poppler-attachment.sgml.sgml 1970-01-01 01:00:00.000000000 +0100
@@ -1,67 +0,0 @@
-<!-- ##### SECTION Title ##### -->
-poppler-attachment.sgml
-
-<!-- ##### SECTION Short_Description ##### -->
-
-
-<!-- ##### SECTION Long_Description ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### SECTION See_Also ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### SECTION Stability_Level ##### -->
-
-
-<!-- ##### STRUCT PopplerAttachment ##### -->
-<para>
-
-</para>
-
-
-<!-- ##### FUNCTION poppler_attachment_save ##### -->
-<para>
-
-</para>
-
-@attachment:
-@filename:
-@error:
-@Returns:
-
-
-<!-- ##### FUNCTION poppler_attachment_save_to_callback ##### -->
-<para>
-
-</para>
-
-@attachment:
-@save_func:
-@user_data:
-@error:
-@Returns:
-
-
-<!-- ##### USER_FUNCTION PopplerAttachmentSaveFunc ##### -->
-<para>
-Specifies the type of the function passed to
-poppler_attachment_save_to_callback(). It is called once for each block of
-bytes that is "written" by poppler_attachment_save_to_callback(). If
-successful it should return %TRUE. If an error occurs it should set
-@error and return %FALSE, in which case poppler_attachment_save_to_callback()
-will fail with the same error.
-</para>
-
-@buf: buffer containing bytes to be written.
-@count: number of bytes in @buf.
-@data: A location to return an error.
-@error: user data passed to poppler_attachment_save_to_callback()
-@Returns: %TRUE if successful, %FALSE (with @error set) if failed.
-
-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/poppler-0.8.1/NEWS new/poppler-0.8.2/NEWS
--- old/poppler-0.8.1/NEWS 2008-04-26 12:24:18.000000000 +0200
+++ new/poppler-0.8.2/NEWS 2008-04-29 23:49:36.000000000 +0200
@@ -1,3 +1,8 @@
+Release 0.8.2
+
+ core:
+ * Fix call broken by a fix introduced in 0.8.1
+
Release 0.8.1
core:
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/poppler-0.8.1/poppler/Object.h new/poppler-0.8.2/poppler/Object.h
--- old/poppler-0.8.1/poppler/Object.h 2008-04-23 19:55:14.000000000 +0200
+++ new/poppler-0.8.2/poppler/Object.h 2008-04-29 23:46:56.000000000 +0200
@@ -295,7 +295,7 @@
#include "Stream.h"
inline GBool Object::streamIs(char *dictType)
- { OBJECT_TYPE_CHECK(objStream); stream->getDict()->is(dictType); }
+ { OBJECT_TYPE_CHECK(objStream); return stream->getDict()->is(dictType); }
inline GBool Object::isStream(char *dictType)
{ return type == objStream && streamIs(dictType); }
++++++ poppler-annot-crash.patch ++++++
diff -urp poppler-0.8.2/poppler/Annot.cc poppler-0.8/poppler/Annot.cc
--- poppler-0.8.2/poppler/Annot.cc 2008-03-26 20:38:52.000000000 +0100
+++ poppler-0.8/poppler/Annot.cc 2008-06-03 13:48:40.000000000 +0200
@@ -1735,7 +1737,7 @@ void AnnotWidget::initialize(XRef *xrefA
// Only text or choice fields needs to have appearance regenerated
// see section 8.6.2 "Variable Text" of PDFReference
regen = gFalse;
- if (widget->getType () == formText || widget->getType () == formChoice) {
+ if (widget != NULL && (widget->getType () == formText || widget->getType () == formChoice)) {
regen = form->getNeedAppearances ();
}
@@ -2577,7 +2585,7 @@ void AnnotWidget::generateFieldAppearanc
int dashLength, ff, quadding, comb, nOptions, topIdx, i, j;
GBool modified;
- if (!widget->getField () || !widget->getField ()->getObj ()->isDict ())
+ if (widget == NULL || !widget->getField () || !widget->getField ()->getObj ()->isDict ())
return;
field = widget->getField ()->getObj ()->getDict ();
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org