Hello community, here is the log from the commit of package evince checked in at Wed Oct 3 00:51:55 CEST 2007. -------- --- GNOME/evince/evince.changes 2007-09-18 16:19:45.000000000 +0200 +++ /mounts/work_src_done/STABLE/evince/evince.changes 2007-10-01 20:38:35.563522000 +0200 @@ -1,0 +2,5 @@ +Mon Oct 1 20:37:26 CEST 2007 - jpr@suse.de + +- Don't use cairo rendering patch for zoom (#329047) + +------------------------------------------------------------------- New: ---- evince-poppler-0.5.4-ifdef-zoom-cleanup.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ evince.spec ++++++ --- /var/tmp/diff_new_pack.jn4179/_old 2007-10-03 00:51:45.000000000 +0200 +++ /var/tmp/diff_new_pack.jn4179/_new 2007-10-03 00:51:45.000000000 +0200 @@ -15,7 +15,7 @@ # Only for directory ownership: BuildRequires: gtk-doc Version: 2.20.0 -Release: 1 +Release: 8 Url: http://www.gnome.org/projects/evince/ Group: System/GUI/GNOME License: GPL v2 or later @@ -25,6 +25,7 @@ Patch3: evince-poppler-0.5.4.patch Patch4: evince-2.19.92-correct-help-uri.patch Patch5: evince-poppler-0.5.4-ifdef-cleanup.patch +Patch6: evince-poppler-0.5.4-ifdef-zoom-cleanup.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: on Requires: %{name}-lang = %{version} @@ -72,6 +73,7 @@ %patch3 -p0 %patch4 -p1 %patch5 -p0 +%patch6 -p0 %build autoreconf -f -i @@ -121,8 +123,9 @@ %files doc %defattr (-, root, root) %{_datadir}/gtk-doc/html/evince - %changelog +* Mon Oct 01 2007 - jpr@suse.de +- Don't use cairo rendering patch for zoom (#329047) * Tue Sep 18 2007 - maw@suse.de - Update to version 2.20.0: + Forms support broken by forgotten ifdef fix fixed ++++++ evince-poppler-0.5.4-ifdef-zoom-cleanup.patch ++++++ Index: backend/pdf/ev-poppler.cc =================================================================== --- backend/pdf/ev-poppler.cc.orig +++ backend/pdf/ev-poppler.cc @@ -470,34 +470,6 @@ pdf_document_render (EvDocument *do height = (int) ((height_points * rc->scale) + 0.5); } -#ifdef HAVE_POPPLER_PAGE_RENDER - cairo_t *cr; - - surface = cairo_image_surface_create (CAIRO_FORMAT_RGB24, - width, height); - memset (cairo_image_surface_get_data (surface), 0xff, - cairo_image_surface_get_height (surface) * - cairo_image_surface_get_stride (surface)); - - cr = cairo_create (surface); - switch (rc->rotation) { - case 90: - cairo_translate (cr, width, 0); - break; - case 180: - cairo_translate (cr, width, height); - break; - case 270: - cairo_translate (cr, 0, height); - break; - default: - cairo_translate (cr, 0, 0); - } - cairo_scale (cr, rc->scale, rc->scale); - cairo_rotate (cr, rc->rotation * G_PI / 180.0); - poppler_page_render (POPPLER_PAGE (rc->data), cr); - cairo_destroy (cr); -#else /* HAVE_POPPLER_PAGE_RENDER */ GdkPixbuf *pixbuf; pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, @@ -512,7 +484,6 @@ pdf_document_render (EvDocument *do pixbuf); surface = ev_document_misc_surface_from_pixbuf (pixbuf); g_object_unref (pixbuf); -#endif /* HAVE_POPPLER_PAGE_RENDER */ return surface; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org