[libgtk2-perl] 01/04: Add patch to fix test failure caused by newer gdk-pixbuf.

gregor herrmann gregoa at debian.org
Mon Mar 24 18:01:10 UTC 2014


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libgtk2-perl.

commit 23993de23de2728ebd8c2aae4235567e56d66fc7
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Mar 24 18:48:27 2014 +0100

    Add patch to fix test failure caused by newer gdk-pixbuf.
    
    Thanks: Colin Watson for the patch.
    Closes: #739809
---
 ...Loader.t-Use-a-bigger-file-to-test-chunki.patch | 30 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 31 insertions(+)

diff --git a/debian/patches/0001-t-GdkPixbufLoader.t-Use-a-bigger-file-to-test-chunki.patch b/debian/patches/0001-t-GdkPixbufLoader.t-Use-a-bigger-file-to-test-chunki.patch
new file mode 100644
index 0000000..58723a8
--- /dev/null
+++ b/debian/patches/0001-t-GdkPixbufLoader.t-Use-a-bigger-file-to-test-chunki.patch
@@ -0,0 +1,30 @@
+From 95b9e300b3208ed99160b6553941b7bd98a34f98 Mon Sep 17 00:00:00 2001
+From: Colin Watson <cjwatson at debian.org>
+Date: Mon, 24 Mar 2014 11:58:31 +0000
+Subject: [PATCH] t/GdkPixbufLoader.t: Use a bigger file to test chunking
+
+gdk-pixbuf 2.30.3 unified sniff buffer sizes across loaders, effectively
+meaning that we now don't get any signals until at least 4096 bytes have
+been written to the loader.  Use a bigger test file to work around this.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=725055
+---
+ t/GdkPixbufLoader.t | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/t/GdkPixbufLoader.t b/t/GdkPixbufLoader.t
+index 4f60114..ecfc434 100644
+--- a/t/GdkPixbufLoader.t
++++ b/t/GdkPixbufLoader.t
+@@ -123,7 +123,7 @@ SKIP: {
+ 
+ # test chunked writing and signals and such
+ SKIP: {
+-    my $filename = 'gtk-demo/gnome-foot.png';
++    my $filename = 'gtk-demo/alphatest.png';
+     skip "can't locate test image file", 4
+         unless -f $filename;
+ 
+-- 
+1.9.1
+
diff --git a/debian/patches/series b/debian/patches/series
index b9db011..09ac001 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 30-disable_libgtk_version_check.patch
 fix-typo.patch
+0001-t-GdkPixbufLoader.t-Use-a-bigger-file-to-test-chunki.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgtk2-perl.git



More information about the Pkg-perl-cvs-commits mailing list