pango: added 1.50.7 (#6815)

This commit is contained in:
kenmays
2022-04-18 09:45:01 -07:00
committed by GitHub
parent 8427f7dbba
commit e032842c5e
2 changed files with 8 additions and 8 deletions

View File

@@ -17,13 +17,13 @@ COPYRIGHT="1999-2021 Red Hat Software
LICENSE="GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="http://ftp.gnome.org/pub/GNOME/sources/pango/${portVersion%.*}/pango-$portVersion.tar.xz"
CHECKSUM_SHA256="4add05edf51c1fb375a1ccde7498914120e23cb280dd7395b1aeb441f1838a4c"
CHECKSUM_SHA256="0477f369a3d4c695df7299a6989dc004756a7f4de27eecac405c6790b7e3ad33"
PATCHES="pango-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
libVersion="0.5000.3"
libVersion="0.5000.7"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
PROVIDES="

View File

@@ -1,4 +1,4 @@
From 4b453298912881209c6da1d4e6da01c8f86c282c Mon Sep 17 00:00:00 2001
From 7498ea544053ccd757af8ea805dd88f4b139d4f4 Mon Sep 17 00:00:00 2001
From: Ken Mays <kmays2000@gmail.com>
Date: Fri, 24 Dec 2021 15:06:02 +0000
Subject: Fix Pango 1.50 unit tests for Haiku
@@ -147,14 +147,14 @@ index e480da3..d0ddf07 100644
2.30.2
From 24d1dce96a5fc997a520a8b3e6cf07668a4e6c91 Mon Sep 17 00:00:00 2001
From c37c7f4bd20c05a32f8291e9683f21397e119974 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Mon, 12 Oct 2015 22:19:59 +0000
Subject: Haiku patch for testattributes unit test
diff --git a/tests/testattributes.c b/tests/testattributes.c
index cd70edc..a86b5bc 100644
index 5d3334e..a32641d 100644
--- a/tests/testattributes.c
+++ b/tests/testattributes.c
@@ -132,31 +132,31 @@ test_binding (PangoAttribute *attr)
@@ -198,7 +198,7 @@ index cd70edc..a86b5bc 100644
break;
case INVALID:
default:
@@ -765,7 +765,7 @@ test_list_filter (void)
@@ -785,7 +785,7 @@ test_list_filter (void)
g_assert_null (out);
out = pango_attr_list_filter (list, just_weight, NULL);
@@ -207,7 +207,7 @@ index cd70edc..a86b5bc 100644
assert_attr_list (list, "0 -1 size 10\n"
"10 20 stretch condensed\n");
@@ -852,11 +852,11 @@ test_iter_get (void)
@@ -872,11 +872,11 @@ test_iter_get (void)
iter = pango_attr_list_get_iterator (list);
pango_attr_iterator_next (iter);
attr = pango_attr_iterator_get (iter, PANGO_ATTR_SIZE);
@@ -221,7 +221,7 @@ index cd70edc..a86b5bc 100644
g_assert_cmpuint (attr->start_index, ==, 10);
g_assert_cmpuint (attr->end_index, ==, 30);
attr = pango_attr_iterator_get (iter, PANGO_ATTR_WEIGHT);
@@ -910,7 +910,7 @@ test_iter_get_font (void)
@@ -930,7 +930,7 @@ test_iter_get_font (void)
pango_attr_iterator_get_font (iter, desc, &lang, &attrs);
desc2 = pango_font_description_from_string ("Times Condensed 10px");
g_assert_true (pango_font_description_equal (desc, desc2));