[arch-commits] Commit in pango/trunk (PKGBUILD fix-test.diff)
Jan Steffens
heftig at gemini.archlinux.org
Fri Dec 3 14:17:22 UTC 2021
Date: Friday, December 3, 2021 @ 14:17:21
Author: heftig
Revision: 430627
1.50.0-1
Added:
pango/trunk/fix-test.diff
Modified:
pango/trunk/PKGBUILD
---------------+
PKGBUILD | 15 ++++++++++-----
fix-test.diff | 30 ++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-03 14:05:09 UTC (rev 430626)
+++ PKGBUILD 2021-12-03 14:17:21 UTC (rev 430627)
@@ -3,7 +3,7 @@
pkgbase=pango
pkgname=(pango pango-docs)
-pkgver=1.48.10
+pkgver=1.50.0
pkgrel=1
epoch=1
pkgdesc="A library for layout and rendering of text"
@@ -12,10 +12,12 @@
license=(LGPL)
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=dc5bde2a20cbb025c9d0ed29ed687740a4d027da # tags/1.48.10^0
-source=("git+https://gitlab.gnome.org/GNOME/pango.git#commit=$_commit")
-sha256sums=('SKIP')
+checkdepends=(ttf-dejavu cantarell-fonts)
+_commit=e80e224baabc7bf22971d0a97c8b31d32fa8ca1c # tags/1.50.0^0
+source=("git+https://gitlab.gnome.org/GNOME/pango.git#commit=$_commit"
+ fix-test.diff)
+sha256sums=('SKIP'
+ 'e1c0638305c0f46653bd60b5dee0b3445dd6a6b9aff8cee70be7759c21ba1037')
pkgver() {
cd pango
@@ -24,6 +26,9 @@
prepare() {
cd pango
+
+ # Fix tests... seems to be a rounding error
+ git apply -3 ../fix-test.diff
}
build() {
Added: fix-test.diff
===================================================================
--- fix-test.diff (rev 0)
+++ fix-test.diff 2021-12-03 14:17:21 UTC (rev 430627)
@@ -0,0 +1,30 @@
+diff --git i/tests/layouts/valid-20.layout w/tests/layouts/valid-20.layout
+index 8217b28b..6e81507f 100644
+--- i/tests/layouts/valid-20.layout
++++ w/tests/layouts/valid-20.layout
+@@ -140,23 +140,23 @@
+ "glyph" : 244,
+ "width" : 19456,
+ "x-offset" : 14764,
+- "y-offset" : 3844,
++ "y-offset" : 3845,
+ "is-cluster-start" : true,
+ "log-cluster" : 0
+ },
+ {
+ "glyph" : 272,
+ "width" : 19456,
+ "x-offset" : 14764,
+ "y-offset" : 4280,
+ "is-cluster-start" : true,
+ "log-cluster" : 1
+ },
+ {
+ "glyph" : 273,
+ "width" : 19456,
+ "x-offset" : 14764,
+- "y-offset" : 3506,
++ "y-offset" : 3507,
+ "is-cluster-start" : true,
+ "log-cluster" : 2
+ }
More information about the arch-commits
mailing list