Hello community, here is the log from the commit of package perl-Gtk2 for openSUSE:Factory checked in at 2013-01-31 10:28:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Gtk2 (Old) and /work/SRC/openSUSE:Factory/.perl-Gtk2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Gtk2", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Gtk2/perl-Gtk2.changes 2012-02-08 16:08:49.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Gtk2.new/perl-Gtk2.changes 2013-01-31 10:28:05.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Jan 31 04:15:01 UTC 2013 - [email protected] + +- Add upstream patch perl-Gtk2-fix-GtkRecentChooser-test-fails.patch + * Fixed GtkRecentChooser test fails with Gtk+ 2.24.12 (bgo#685865) + +------------------------------------------------------------------- New: ---- perl-Gtk2-fix-GtkRecentChooser-test-fails.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Gtk2.spec ++++++ --- /var/tmp/diff_new_pack.QbB1zS/_old 2013-01-31 10:28:06.000000000 +0100 +++ /var/tmp/diff_new_pack.QbB1zS/_new 2013-01-31 10:28:06.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Gtk2 # -# 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 @@ -26,6 +26,8 @@ Url: http://search.cpan.org/dist/Gtk2/ #Source: http://www.cpan.org/modules/by-module/Gtk2/Gtk2-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.gz +#PATCH-FIX-UPSTREAM perl-Gtk2-fix-GtkRecentChooser-test-fails.patch -- fixed GtkRecentChooser test fails [bgo#685865] +Patch0: perl-Gtk2-fix-GtkRecentChooser-test-fails.patch BuildRequires: perl BuildRequires: perl-macros BuildRequires: update-desktop-files @@ -54,6 +56,7 @@ %prep %setup -q -n %{cpan_name}-%{version} +%patch0 -p1 %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" ++++++ perl-Gtk2-fix-GtkRecentChooser-test-fails.patch ++++++ commit f7be199c11060d91260570666301e4d5557f7b7d Author: Colin Watson <[email protected]> Date: Wed Oct 10 09:58:57 2012 +0100 t/GtkRecentChooser.t: Forcibly emit GtkRecentManager::changed signal Following Gtk+ commit 1070c5849e45433ad66c076e0bf692d936813a31, add_item is even more asynchronous than before, and doesn't necessarily emit the changed signal immediately, so GtkRecentChooser won't see the added items. Emit the changed signal manually to work around this. https://bugzilla.gnome.org/show_bug.cgi?id=685865 diff --git a/t/GtkRecentChooser.t b/t/GtkRecentChooser.t index c793158..c59614a 100644 --- a/t/GtkRecentChooser.t +++ b/t/GtkRecentChooser.t @@ -51,6 +51,7 @@ $manager -> add_item($uri_two); # add_item() is asynchronous, so let the main loop spin for a while Gtk2->main_iteration while scalar (my @items = $manager->get_items) < 2; +$manager->signal_emit("changed"); $chooser -> set_select_multiple(FALSE); -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
