Hello community, here is the log from the commit of package pinpoint for openSUSE:Factory checked in at 2013-01-21 17:44:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pinpoint (Old) and /work/SRC/openSUSE:Factory/.pinpoint.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pinpoint", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/pinpoint/pinpoint.changes 2012-01-05 19:15:00.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.pinpoint.new/pinpoint.changes 2013-01-21 17:44:30.000000000 +0100 @@ -1,0 +2,21 @@ +Fri Oct 12 12:11:58 UTC 2012 - kkae...@suse.com + +- Version 0.1.5 (git 5118c870cd0b): + + Features + - Map left/right mouse buttons to next/prev slide + - blank screen when B is pressed + - First slide (home) when H is pressed + - Identify window titles + + Bugfixes + - Making the speaker's view handles properly relative paths. + - video: add support for .gif video extension + - Avoid crash when speaker window is closed +- Added 0001-Fix-overwriting-of-slides-in-speaker-screen.patch and + 0001-Honor-stage-color-in-PDF-output.patch. +- Removed pinpoint-racy-video-frame.patch: fixed upstream. +- Drop pkgconfig(clutter-gst-1.0) BuildRequires: There is no + support for clutter-gst-1.0 in Factory / 12.3. +- Add libtool BuildRequires and call to autogen.sh, as the tarball + is a non-bootstrapped git archive. + +------------------------------------------------------------------- Old: ---- pinpoint-0.1.4.tar.bz2 pinpoint-racy-video-frame.patch New: ---- 0001-Fix-overwriting-of-slides-in-speaker-screen.patch 0001-Honor-stage-color-in-PDF-output.patch pinpoint-0.1.4+git.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pinpoint.spec ++++++ --- /var/tmp/diff_new_pack.poUDAD/_old 2013-01-21 17:44:31.000000000 +0100 +++ /var/tmp/diff_new_pack.poUDAD/_new 2013-01-21 17:44:31.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package pinpoint # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,20 +16,21 @@ # - Name: pinpoint -Version: 0.1.4 +Version: 0.1.4+git Release: 0 Summary: Simple Presentation Tool for Excellent Presentations License: LGPL-2.1+ Group: Productivity/Publishing/Presentation Url: http://live.gnome.org/Pinpoint -Source: http://download.gnome.org/sources/pinpoint/0.1/%{name}-%{version}.tar.bz2 -# PATCH-FIX-UPSTREAM pinpoint-racy-video-frame.patch bnc#739092,bgo#665756 g...@suse.com -- Fix crash when rendering the video thumbnail on the speaker screen -Patch1: pinpoint-racy-video-frame.patch +Source: %{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM 0001-Fix-overwriting-of-slides-in-speaker-screen.patch kkae...@suse.de +Patch1: 0001-Fix-overwriting-of-slides-in-speaker-screen.patch +# PATCH-FIX-UPSTREAM 0001-Honor-stage-color-in-PDF-output.patch kkae...@suse.de +Patch2: 0001-Honor-stage-color-in-PDF-output.patch +BuildRequires: libtool BuildRequires: pkgconfig(cairo-pdf) BuildRequires: pkgconfig(clutter-1.0) -BuildRequires: pkgconfig(clutter-gst-1.0) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(librsvg-2.0) @@ -44,8 +45,10 @@ %prep %setup -q %patch1 -p1 +%patch2 -p1 %build +./autogen.sh %configure make %{?_smp_mflags} ++++++ 0001-Fix-overwriting-of-slides-in-speaker-screen.patch ++++++ >From c28a2043a64afced8f5b2a26df9a1b14d2d40ce0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkae...@suse.de> Date: Fri, 27 Jan 2012 12:16:31 +0100 Subject: [PATCH] Fix overwriting of slides in speaker screen The prev/current/next slide preview in the speaker screen overwrites screens when moving forward/backward through the slides. The result looks like all slides stacked with transparent background. Apparently this happens only for text, full-scale background graphics are rendered correctly (i.e. non-transparent). This commit fixes this behaviour by drawing a black background before rendering the prev/current/next slide preview. --- pp-cairo.c | 8 ++++++++ pp-clutter.c | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/pp-cairo.c b/pp-cairo.c index 5ee7f21..4d36a8b 100644 --- a/pp-cairo.c +++ b/pp-cairo.c @@ -511,6 +511,14 @@ out: } void +cairo_renderer_clear_page (CairoRenderer *renderer) +{ + cairo_set_source_rgb(renderer->ctx, 0.0, 0.0, 0.0); + cairo_paint(renderer->ctx); + cairo_show_page (renderer->ctx); +} + +void cairo_renderer_render_page (CairoRenderer *renderer, PinPointPoint *point) { diff --git a/pp-clutter.c b/pp-clutter.c index 03eb867..1d74337 100644 --- a/pp-clutter.c +++ b/pp-clutter.c @@ -50,6 +50,7 @@ void cairo_renderer_set_cr (PinPointRenderer *pp_renderer, void cairo_renderer_render_page (void *renderer, PinPointPoint *point); +void cairo_renderer_clear_page (void *renderer); /* #define QUICK_ACCESS_LEFT - uncomment to move speed access from top to left, * useful on meego netbook @@ -1871,6 +1872,7 @@ static gboolean update_speaker_screen (ClutterRenderer *renderer) cairo_renderer_set_cr (renderer->cairo_renderer, cr, clutter_actor_get_width (renderer->speaker_prev), clutter_actor_get_height (renderer->speaker_prev)); + cairo_renderer_clear_page(renderer->cairo_renderer); if (pp_slidep->prev) cairo_renderer_render_page (renderer->cairo_renderer, pp_slidep->prev->data); @@ -1885,6 +1887,7 @@ static gboolean update_speaker_screen (ClutterRenderer *renderer) cairo_renderer_set_cr (renderer->cairo_renderer, cr, clutter_actor_get_width (renderer->speaker_current), clutter_actor_get_height (renderer->speaker_current)); + cairo_renderer_clear_page(renderer->cairo_renderer); cairo_renderer_render_page (renderer->cairo_renderer, pp_slidep->data); cairo_renderer_unset_cr (renderer->cairo_renderer); @@ -1895,6 +1898,7 @@ static gboolean update_speaker_screen (ClutterRenderer *renderer) cairo_renderer_set_cr (renderer->cairo_renderer, cr, clutter_actor_get_width (renderer->speaker_next), clutter_actor_get_height (renderer->speaker_next)); + cairo_renderer_clear_page(renderer->cairo_renderer); if (pp_slidep->next) cairo_renderer_render_page (renderer->cairo_renderer, pp_slidep->next->data); -- 1.7.10.4 ++++++ 0001-Honor-stage-color-in-PDF-output.patch ++++++ >From d9348cdc381801a7afc438c789a8266dfbaebe57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkae...@suse.de> Date: Wed, 25 Apr 2012 14:37:44 +0200 Subject: [PATCH] Honor stage-color in PDF output --- pp-cairo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pp-cairo.c b/pp-cairo.c index 5ee7f21..35730c2 100644 --- a/pp-cairo.c +++ b/pp-cairo.c @@ -290,7 +290,7 @@ _cairo_render_background (CairoRenderer *renderer, char *full_path = NULL; const char *file; - if (point == NULL || point->bg == NULL) + if (point == NULL || (point->bg == NULL && point->stage_color == NULL)) return; file = point->bg; @@ -433,7 +433,7 @@ _cairo_render_background (CairoRenderer *renderer, /* silently ignore camera backgrounds */ break; default: - g_assert_not_reached(); + break; } g_free (full_path); -- 1.7.10.4 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org