[pkg-lua-devel] Bug#1109363: unblock: lua-lgi/0.9.2-4
Reiner Herrmann
reiner at reiner-h.de
Wed Jul 16 00:17:43 BST 2025
Package: release.debian.org
Severity: normal
User: release.debian.org at packages.debian.org
Usertags: unblock
X-Debbugs-Cc: lua-lgi at packages.debian.org
Control: affects -1 + src:lua-lgi
Please unblock package lua-lgi
[ Reason ]
Fixes an FTBFS because of a failing build-time test.
An API change in Pango 1.56.2 caused the regression.
[ Impact ]
The bug is not user-visible, as it's just broken test code.
[ Tests ]
Only code in tests was affected.
I tested that the package builds (meanwhile it also successfully built
on the buildds, including running the previously failing test), and
also that the installed package still works with src:awesome (one of two
reverse dependencies).
[ Risks ]
It's a small adaptation to a change in Pango 1.56.2,
and only in test code. Risk should be minimal.
[ Checklist ]
[x] all changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in testing
unblock lua-lgi/0.9.2-4
-------------- next part --------------
diff -Nru lua-lgi-0.9.2/debian/changelog lua-lgi-0.9.2/debian/changelog
--- lua-lgi-0.9.2/debian/changelog 2022-01-10 17:47:02.000000000 +0100
+++ lua-lgi-0.9.2/debian/changelog 2025-07-16 00:13:19.000000000 +0200
@@ -1,3 +1,10 @@
+lua-lgi (0.9.2-4) unstable; urgency=medium
+
+ [ Chris Hofstaedtler ]
+ * Adapt to new pango bindings. (Closes: #1101238)
+
+ -- Reiner Herrmann <reiner at reiner-h.de> Wed, 16 Jul 2025 00:13:19 +0200
+
lua-lgi (0.9.2-3) unstable; urgency=medium
[ Debian Janitor ]
diff -Nru lua-lgi-0.9.2/debian/patches/pango-1-56-2.patch lua-lgi-0.9.2/debian/patches/pango-1-56-2.patch
--- lua-lgi-0.9.2/debian/patches/pango-1-56-2.patch 1970-01-01 01:00:00.000000000 +0100
+++ lua-lgi-0.9.2/debian/patches/pango-1-56-2.patch 2025-07-16 00:07:38.000000000 +0200
@@ -0,0 +1,18 @@
+Author: Chris Hofstaedtler <zeha at debian.org>
+Bug: https://github.com/lgi-devs/lgi/issues/336
+Bug-Debian: https://bugs.debian.org/1101238
+Forwarded: https://github.com/lgi-devs/lgi/pull/342
+Description: Adapt to new Pango 1.56.2 bindings
+
+--- a/tests/pango.lua
++++ b/tests/pango.lua
+@@ -35,8 +35,7 @@
+ local offset = items[i].offset
+ local length = items[i].length
+ local analysis = items[i].analysis
+- local pgs = Pango.GlyphString()
+- Pango.shape(string.sub(s,1+offset), length, analysis, pgs)
++ pgs = Pango.shape(string.sub(s,1+offset), length, analysis)
+ -- Pull out individual glyphs with pgs.glyphs
+ local glyphs = pgs.glyphs
+ check(type(glyphs) == 'table')
diff -Nru lua-lgi-0.9.2/debian/patches/series lua-lgi-0.9.2/debian/patches/series
--- lua-lgi-0.9.2/debian/patches/series 2022-01-10 17:47:02.000000000 +0100
+++ lua-lgi-0.9.2/debian/patches/series 2025-07-16 00:07:38.000000000 +0200
@@ -2,3 +2,4 @@
tests_timing.patch
ftbfs_bigendian64.patch
cppflags.patch
+pango-1-56-2.patch
More information about the pkg-lua-devel
mailing list