rpms/evince/F-7 old-poppler.patch,NONE,1.1 evince.spec,1.83,1.84

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Tue Jul 3 01:59:05 UTC 2007


Author: mclasen

Update of /cvs/pkgs/rpms/evince/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27961

Modified Files:
	evince.spec 
Added Files:
	old-poppler.patch 
Log Message:
fix old poppler support


old-poppler.patch:

--- NEW FILE old-poppler.patch ---
diff -up evince-0.8.2/backend/pdf/ev-poppler.cc.old-poppler evince-0.8.2/backend/pdf/ev-poppler.cc
--- evince-0.8.2/backend/pdf/ev-poppler.cc.old-poppler	2007-07-02 21:49:14.000000000 -0400
+++ evince-0.8.2/backend/pdf/ev-poppler.cc	2007-07-02 21:49:22.000000000 -0400
@@ -1624,7 +1624,7 @@ pdf_selection_render_selection (EvSelect
 					   width, height);
 	}
 
-#if POPPLER_VERSION == 5
+#if POPPLER_VERSION == 4
 	poppler_page_render_selection (POPPLER_PAGE (rc->data),
 				       rc->scale, rc->rotation, *pixbuf,
 				       (PopplerRectangle *)points,


Index: evince.spec
===================================================================
RCS file: /cvs/pkgs/rpms/evince/F-7/evince.spec,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -r1.83 -r1.84
--- evince.spec	3 Jul 2007 01:36:03 -0000	1.83
+++ evince.spec	3 Jul 2007 01:58:27 -0000	1.84
@@ -13,6 +13,7 @@
 URL:		http://www.gnome.org/projects/evince/
 Source0: 	http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.8/%{name}-%{version}.tar.bz2
 Patch0:		evince-0.6.0-print-error.patch
+Patch1:		old-poppler.patch
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	gtk2-devel >= %{gtk2_version}
@@ -46,6 +47,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .print-error
+%patch1 -p1 -b .old-poppler
 
 %build
 %configure --disable-static --disable-scrollkeeper --with-print=gtk --enable-comics=yes




More information about the scm-commits mailing list