[arch-commits] Commit in pango/trunk (PKGBUILD fix-test.diff)

Jan Steffens heftig at archlinux.org
Sat Jul 3 22:55:12 UTC 2021


    Date: Saturday, July 3, 2021 @ 22:55:12
  Author: heftig
Revision: 418912

1.48.7-1

Modified:
  pango/trunk/PKGBUILD
Deleted:
  pango/trunk/fix-test.diff

---------------+
 PKGBUILD      |   13 ++++---------
 fix-test.diff |   55 -------------------------------------------------------
 2 files changed, 4 insertions(+), 64 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-03 18:57:35 UTC (rev 418911)
+++ PKGBUILD	2021-07-03 22:55:12 UTC (rev 418912)
@@ -3,7 +3,7 @@
 
 pkgbase=pango
 pkgname=(pango pango-docs)
-pkgver=1.48.6
+pkgver=1.48.7
 pkgrel=1
 epoch=1
 pkgdesc="A library for layout and rendering of text"
@@ -13,11 +13,9 @@
 depends=(libthai cairo libxft harfbuzz fribidi)
 makedepends=(gobject-introspection help2man git meson gi-docgen)
 checkdepends=(ttf-dejavu cantarell-fonts noto-fonts noto-fonts-emoji)
-_commit=61763238b548d717d0772f31467ad7e9b6a557ae  # tags/1.48.6^0
-source=("git+https://gitlab.gnome.org/GNOME/pango.git#commit=$_commit"
-        fix-test.diff)
-sha256sums=('SKIP'
-            'd74df5b325007d02c3054a9e2a623327d0d195adf18d0ee41689672c27657cdb')
+_commit=467bda1e0bc2614b10e2edc46dccc9588388e045  # tags/1.48.7^0
+source=("git+https://gitlab.gnome.org/GNOME/pango.git#commit=$_commit")
+sha256sums=('SKIP')
 
 pkgver() {
   cd pango
@@ -26,9 +24,6 @@
 
 prepare() {
   cd pango
-
-  # Test assumes no bitmap fonts?
-  git apply -3 ../fix-test.diff
 }
 
 build() {

Deleted: fix-test.diff
===================================================================
--- fix-test.diff	2021-07-03 18:57:35 UTC (rev 418911)
+++ fix-test.diff	2021-07-03 22:55:12 UTC (rev 418912)
@@ -1,55 +0,0 @@
-diff --git i/tests/test-common.c w/tests/test-common.c
-index a6339415..3b8880e3 100644
---- i/tests/test-common.c
-+++ w/tests/test-common.c
-@@ -225,23 +225,23 @@ attribute_from_string (const char *string)
- {
-   char *s, *p;
-   PangoAttribute *attr;
--  long start, end;
-+  long long start, end;
-   GEnumClass *class;
-   int i;
-   PangoColor color;
- 
-   s = string;
-   g_assert (*s == '[');
- 
-   s++;
--  start = strtol (s, &p, 10);
-+  start = strtoll (s, &p, 10);
-   g_assert (p > s);
-   g_assert (*p == ',');
-   s = p + 1;
- 
-   g_assert (start >= 0);
- 
--  end = strtol (s, &p, 10);
-+  end = strtoll (s, &p, 10);
-   g_assert (p > s);
-   g_assert (*p == ']');
-   s = p + 1;
-diff --git i/tests/test-font.c w/tests/test-font.c
-index e2147485..34689d5f 100644
---- i/tests/test-font.c
-+++ w/tests/test-font.c
-@@ -346,9 +346,16 @@ test_font_models (void)
-           g_assert_true (pango_font_face_get_family (PANGO_FONT_FACE (obj2)) == (PangoFontFamily *)obj);
- 
-           pango_font_face_list_sizes (PANGO_FONT_FACE (obj2), &sizes, &n_sizes);
--          /* no more bitmap fonts */
--          g_assert_null (sizes);
--          g_assert_cmpint (n_sizes, ==, 0);
-+
-+          if (n_sizes == 0)
-+            {
-+              g_assert_null (sizes);
-+            }
-+          else
-+            {
-+              g_assert_nonnull (sizes);
-+              g_free (sizes);
-+            }
- 
-           g_object_unref (obj2);
-         }




More information about the arch-commits mailing list