Hello community, here is the log from the commit of package gqview for openSUSE:Factory checked in at Wed Jul 29 17:49:20 CEST 2009. -------- --- GNOME/gqview/gqview.changes 2008-09-18 14:00:31.000000000 +0200 +++ /mounts/work_src_done/STABLE/gqview/gqview.changes 2009-07-28 13:37:23.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Jul 28 13:31:42 CEST 2009 - sbrabec@suse.cz + +- Use motion hints for smooth panning of image on slow machines. + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- gqview-motion-hint.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gqview.spec ++++++ --- /var/tmp/diff_new_pack.YeoG5B/_old 2009-07-29 17:48:59.000000000 +0200 +++ /var/tmp/diff_new_pack.YeoG5B/_new 2009-07-29 17:48:59.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package gqview (Version 2.1.5) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 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 @@ -19,9 +19,12 @@ Name: gqview -BuildRequires: desktop-translations fdupes gtk2-devel intltool liblcms-devel update-desktop-files +BuildRequires: desktop-translations gtk2-devel intltool liblcms-devel update-desktop-files +%if %suse_version > 1020 +BuildRequires: fdupes +%endif Version: 2.1.5 -Release: 65 +Release: 66 License: GPL v2 or later Summary: Graphic File Browser Utility Group: Productivity/Graphics/Viewers @@ -31,6 +34,7 @@ Patch1: gqview-adobe-icc.patch Patch2: gqview-rc-quotes.patch Patch3: gqview-docdir.patch +Patch4: gqview-motion-hint.patch Recommends: AdobeICCProfiles # Code can use jpegtran: Recommends: jpeg @@ -56,6 +60,7 @@ %patch1 %patch2 %patch3 +%patch4 rename no nb po/no.* sed -i "s/\(ALL_LINGUAS.*\) no /\1 nb /" configure.in for PO in po/*.po ; do msgconv --to-code=UTF-8 $PO -o $PO.new ; mv $PO.new $PO ; done @@ -73,7 +78,9 @@ cp AUTHORS COPYING ChangeLog README TODO $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name} %find_lang %{name} %suse_update_desktop_file %name GTK Graphics Photography +%if %suse_version > 1020 %fdupes $RPM_BUILD_ROOT +%endif %clean rm -rf $RPM_BUILD_ROOT ++++++ gqview-motion-hint.patch ++++++ Use motion hints for smooth panning of image on slow machines. ================================================================================ --- src/pixbuf-renderer.c +++ src/pixbuf-renderer.c @@ -2968,6 +2968,13 @@ PixbufRenderer *pr; gint accel; + /* This is a hack, but work far the best, at least for single pointer systems. + * See http://bugzilla.gnome.org/show_bug.cgi?id=587714 for more. */ + gint x, y; + gdk_window_get_pointer (bevent->window, &x, &y, NULL); + bevent->x = x; + bevent->y = y; + pr = PIXBUF_RENDERER(widget); if (pr->scroller_id != -1) @@ -3003,6 +3010,11 @@ pr->drag_last_x = bevent->x; pr->drag_last_y = bevent->y; + /* This is recommended by the GTK+ documentation, but does not work properly. + * Use deprecated way until GTK+ gets a solution for correct motion hint handling: + * http://bugzilla.gnome.org/show_bug.cgi?id=587714 + */ + /* gdk_event_request_motions (bevent); */ return FALSE; } @@ -3023,7 +3035,7 @@ pr->drag_last_y = bevent->y; pr->drag_moved = 0; gdk_pointer_grab(widget->window, FALSE, - GDK_POINTER_MOTION_MASK | GDK_BUTTON_RELEASE_MASK, + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_RELEASE_MASK, NULL, NULL, bevent->time); gtk_grab_add(widget); break; @@ -3119,7 +3131,7 @@ g_signal_connect(G_OBJECT(pr), "leave_notify_event", G_CALLBACK(pr_mouse_leave_cb), pr); - gtk_widget_set_events(GTK_WIDGET(pr), GDK_POINTER_MOTION_MASK | + gtk_widget_set_events(GTK_WIDGET(pr), GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_RELEASE_MASK | GDK_BUTTON_PRESS_MASK | GDK_LEAVE_NOTIFY_MASK); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org