[Git][haskell-team/DHG_packages][master] haskell-gi: Backport upstream patch to work with newer GLib

Ilias Tsitsimpis gitlab at salsa.debian.org
Mon Sep 28 16:28:48 BST 2020



Ilias Tsitsimpis pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
ea9952cd by Ilias Tsitsimpis at 2020-09-28T18:27:07+03:00
haskell-gi: Backport upstream patch to work with newer GLib

- - - - -


3 changed files:

- p/haskell-haskell-gi/debian/changelog
- + p/haskell-haskell-gi/debian/patches/fix-docsections
- p/haskell-haskell-gi/debian/patches/series


Changes:

=====================================
p/haskell-haskell-gi/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+haskell-haskell-gi (0.24.4-2) unstable; urgency=medium
+
+  * Backport upstream patch to work with newer GLib (Closes: #971183)
+
+ -- Ilias Tsitsimpis <iliastsi at debian.org>  Mon, 28 Sep 2020 18:27:02 +0300
+
 haskell-haskell-gi (0.24.4-1) unstable; urgency=medium
 
   * New upstream release


=====================================
p/haskell-haskell-gi/debian/patches/fix-docsections
=====================================
@@ -0,0 +1,22 @@
+From 0b988bb20764024b06fdaa9a515cc7e92eda89c3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?I=C3=B1aki=20Garc=C3=ADa=20Etxebarria?=
+ <1238558+garetxe at users.noreply.github.com>
+Date: Thu, 24 Sep 2020 19:00:58 +0100
+Subject: [PATCH] Accept (but ignore for the moment) docsections
+
+---
+ lib/Data/GI/CodeGen/API.hs | 1 +
+ 1 file changed, 1 insertion(+)
+
+Index: b/lib/Data/GI/CodeGen/API.hs
+===================================================================
+--- a/lib/Data/GI/CodeGen/API.hs
++++ b/lib/Data/GI/CodeGen/API.hs
+@@ -198,6 +198,7 @@ parseNSElement aliases ns at GIRNamespace{.
+           "class" -> parse APIObject parseObject
+           "interface" -> parse APIInterface parseInterface
+           "boxed" -> ns -- Unsupported
++          "docsection" -> ns -- Ignored for now, see https://github.com/haskell-gi/haskell-gi/issues/318
+           n -> error . T.unpack $ "Unknown GIR element \"" <> n <> "\" when processing namespace \"" <> nsName <> "\", aborting."
+     where parse :: (a -> API) -> Parser (Name, a) -> GIRNamespace
+           parse wrapper parser =


=====================================
p/haskell-haskell-gi/debian/patches/series
=====================================
@@ -1 +1,2 @@
 force-overloading
+fix-docsections



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/ea9952cdddae5b57bf144bc676c49ae60ccafb1a

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/ea9952cdddae5b57bf144bc676c49ae60ccafb1a
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20200928/0c3ef85f/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list