rpms/evince/F-12 evince-thumbnail-allocation.patch, NONE, 1.1 evince.spec, 1.171, 1.172

Marek Kašík mkasik at fedoraproject.org
Thu Oct 22 13:53:32 UTC 2009


Author: mkasik

Update of /cvs/pkgs/rpms/evince/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11945

Modified Files:
	evince.spec 
Added Files:
	evince-thumbnail-allocation.patch 
Log Message:
* Thu Oct 22 2009 Marek Kasik <mkasik at redhat.com> - 2.28.1-3
- Add evince-thumbnail-allocation.patch (checks whether
- GdkPixbuf was allocated correctly)


evince-thumbnail-allocation.patch:
 ev-document-misc.c |    3 +++
 1 file changed, 3 insertions(+)

--- NEW FILE evince-thumbnail-allocation.patch ---
--- libdocument/ev-document-misc.c	2009-08-14 15:52:17.000000000 +0200
+++ libdocument/ev-document-misc.c	2009-10-22 15:04:48.000000000 +0200
@@ -60,6 +60,9 @@ ev_document_misc_get_thumbnail_frame (in
 				 width_r + 4,
 				 height_r + 4);
 
+	if (retval == NULL)
+		return NULL;
+
 	/* make it black and fill in the middle */
 	data = gdk_pixbuf_get_pixels (retval);
 	rowstride = gdk_pixbuf_get_rowstride (retval);


Index: evince.spec
===================================================================
RCS file: /cvs/pkgs/rpms/evince/F-12/evince.spec,v
retrieving revision 1.171
retrieving revision 1.172
diff -u -p -r1.171 -r1.172
--- evince.spec	22 Oct 2009 13:18:08 -0000	1.171
+++ evince.spec	22 Oct 2009 13:53:30 -0000	1.172
@@ -6,7 +6,7 @@
 
 Name:		evince
 Version:	2.28.1
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	Document viewer
 
 License:	GPLv2+ and GFDL
@@ -19,6 +19,7 @@ Patch0:		evince-pdf-print-revert.patch
 
 # https://bugzilla.gnome.org/show_bug.cgi?id=596888
 Patch1:         0001-Provide-some-indication-that-search-is-not-available.patch
+Patch2:		evince-thumbnail-allocation.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -110,6 +111,7 @@ This package contains a backend to let e
 %patch0 -p0 -b .pdf-print-revert
 # %patch1 -p0 -b .duplex-copies
 %patch1 -p1 -b .search-not-available
+%patch2 -p0 -b .thumbnail-allocation
 
 %build
 %configure --disable-static --disable-scrollkeeper \
@@ -264,6 +266,10 @@ fi
 %{_libdir}/evince/1/backends/djvudocument.evince-backend
 
 %changelog
+* Thu Oct 22 2009 Marek Kasik <mkasik at redhat.com> - 2.28.1-3
+- Add evince-thumbnail-allocation.patch (checks whether
+- GdkPixbuf was allocated correctly)
+
 * Thu Oct 22 2009 Matthias Clasen <mclasen at redhat.com> - 2.28.1-2
 - Provide some hint if search is not available
 




More information about the fedora-extras-commits mailing list