[libgtk3-perl] 01/05: Add a patch from CPAN RT to fix a test failure
gregor herrmann
gregoa at debian.org
Fri Sep 9 11:44:12 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libgtk3-perl.
commit 51b9bf066f88e9513de044df6427706cbddca677
Author: gregor herrmann <gregoa at debian.org>
Date: Fri Sep 9 13:36:39 2016 +0200
Add a patch from CPAN RT to fix a test failure
caused by a warning about Pango markup in newer gtk3.
Closes: #837136
---
.../patches/Gtk3-0.026-Fix-Pango-font-syntax.patch | 35 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 36 insertions(+)
diff --git a/debian/patches/Gtk3-0.026-Fix-Pango-font-syntax.patch b/debian/patches/Gtk3-0.026-Fix-Pango-font-syntax.patch
new file mode 100644
index 0000000..8ec86fa
--- /dev/null
+++ b/debian/patches/Gtk3-0.026-Fix-Pango-font-syntax.patch
@@ -0,0 +1,35 @@
+From e2bb149ce9a14a43f6cc58e5664b8cbaac53278b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
+Date: Thu, 5 May 2016 11:22:39 +0200
+Subject: [PATCH] Fix Pango font syntax
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Since gtk3-3.21.1, t/overrides.t fails because of old Pango CSS
+syntax:
+
+(overrides.t:2291): Gtk-WARNING **: Theme parsing error: <data>:1:30: Using Pango syntax for the font: style property is deprecated; please use CSS syntax
+<data>:1:17not a number at /builddir/build/BUILD/Gtk3-0.026/blib/lib/Gtk3.pm line 958.
+
+CPAN RT#114162
+
+Signed-off-by: Petr Písař <ppisar at redhat.com>
+
+Bugs-Debian: https://bugs.debian.org/837136
+
+---
+ t/overrides.t | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/t/overrides.t
++++ b/t/overrides.t
+@@ -110,7 +110,7 @@
+ unless Gtk3::CHECK_VERSION (3, 2, 0);
+
+ note('Gtk3::CssProvider');
+- my $css = "GtkButton {font: Cantarelll 10}";
++ my $css = "GtkButton {font-family: Cantarelll; font-size: 10pt}";
+ my $expect = qr/Cantarelll/;
+ my $p = Gtk3::CssProvider->new;
+
diff --git a/debian/patches/series b/debian/patches/series
index 937ee11..cac1204 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-Use-a-temporary-directory-as-HOME.patch
+Gtk3-0.026-Fix-Pango-font-syntax.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgtk3-perl.git
More information about the Pkg-perl-cvs-commits
mailing list