Control: tags 870834 + patch Control: tags 870834 + pending Dear maintainer,
Reiner (CCed) prepared an NMU for lua-lgi (versioned as 0.9.1-1.1) and I uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards. -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
diffstat for lua-lgi-0.9.1 lua-lgi-0.9.1 changelog | 7 +++++++ patches/glib-workaround.patch | 34 ++++++++++++++++++++++++++++++++++ patches/series | 1 + 3 files changed, 42 insertions(+) diff -Nru lua-lgi-0.9.1/debian/changelog lua-lgi-0.9.1/debian/changelog --- lua-lgi-0.9.1/debian/changelog 2016-06-19 19:05:59.000000000 +0200 +++ lua-lgi-0.9.1/debian/changelog 2017-09-29 15:50:32.000000000 +0200 @@ -1,3 +1,10 @@ +lua-lgi (0.9.1-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Apply upstream patch to workaround GLib API break. (Closes: #870834) + + -- Reiner Herrmann <rei...@reiner-h.de> Fri, 29 Sep 2017 15:50:32 +0200 + lua-lgi (0.9.1-1) unstable; urgency=medium * New upstream release (Closes: #823164) diff -Nru lua-lgi-0.9.1/debian/patches/glib-workaround.patch lua-lgi-0.9.1/debian/patches/glib-workaround.patch --- lua-lgi-0.9.1/debian/patches/glib-workaround.patch 1970-01-01 01:00:00.000000000 +0100 +++ lua-lgi-0.9.1/debian/patches/glib-workaround.patch 2017-09-29 15:48:02.000000000 +0200 @@ -0,0 +1,34 @@ +From: Uli Schlachter <psyc...@znc.in> +Subject: [PATCH] Work around API break in GLib 2.54 +Bug: https://github.com/pavouk/lgi/issues/167 +Bug-Debian: https://bugs.debian.org/870834 +Origin: upstream, https://github.com/pavouk/lgi/commit/3cf79014455ca102f068d52a7f953adce2d3da41 + +Previously, g_object_newv() was annotated with [rename-to g_object_new]. +This annotation was moved to (the new function) +g_object_new_with_properties(). Since this expects different arguments, +things break. Work around this by using g_object_newv() directly if it +exists. + +Fixes: https://github.com/pavouk/lgi/issues/167 +Signed-off-by: Uli Schlachter <psyc...@znc.in> +--- + lgi/override/GObject-Object.lua | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/lgi/override/GObject-Object.lua b/lgi/override/GObject-Object.lua +index bb59883..8bda1e1 100644 +--- a/lgi/override/GObject-Object.lua ++++ b/lgi/override/GObject-Object.lua +@@ -38,7 +38,10 @@ end + -- Object constructor, 'param' contains table _with properties/signals + -- to initialize. + local parameter_repo = repo.GObject.Parameter +-local object_new = gi.GObject.Object.methods.new ++-- Before GLib 2.54, g_object_newv() was annotated with [rename-to g_object_new]. ++-- Starting from GLib 2.54, g_object_new_with_properties() has this annotation. ++-- We always want g_object_newv(). ++local object_new = gi.GObject.Object.methods.newv or gi.GObject.Object.methods.new + if object_new then + object_new = core.callable.new(object_new) + else diff -Nru lua-lgi-0.9.1/debian/patches/series lua-lgi-0.9.1/debian/patches/series --- lua-lgi-0.9.1/debian/patches/series 2016-06-19 19:05:59.000000000 +0200 +++ lua-lgi-0.9.1/debian/patches/series 2017-09-29 15:47:15.000000000 +0200 @@ -1 +1,2 @@ 0001-hack-to-generate-an-empty-config.h.patch +glib-workaround.patch
signature.asc
Description: PGP signature