GNU bug report logs - #64012
[PATCH] gnu: libxml2: Update to 2.11.4

Previous Next

Package: guix-patches;

Reported by: Andy Tai <atai <at> atai.org>

Date: Mon, 12 Jun 2023 08:04:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andy Tai <atai <at> atai.org>
To: 64012 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [bug#64012] [PATCH v4 3/3] gnu: itstool: Add version depending on needed fix
Date: Tue, 13 Jun 2023 23:04:11 -0700
* gnu/packages/glib.scm (itstool-with-utf8-fix): New variable
  [inputs]: Switch to libxml2-next and python-libxml2-next
---
 gnu/packages/glib.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index e988e8dc87..c0df750b9b 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -705,6 +705,18 @@ (define itstool
 translated.")
     (license license:gpl3+)))
 
+
+;; libxml2-next contains upstream fix for itstool crash on UTF-8 data
+;; https://gitlab.gnome.org/GNOME/libxml2/-/commit/76c6da420923f2721a2e16adfcef8707a2454a1b
+;; so we need to have an itstool based the new libxml2 version
+;; for itstool to avoid crash
+(define-public itstool-with-utf8-fix
+  (package/inherit itstool
+    (name "itstool-with-utf8-fix")
+    (inputs
+     (list libxml2-next python-libxml2-next python))))
+
+
 (define dbus-glib
   (package
     (name "dbus-glib")
-- 
2.40.1





This bug report was last modified 1 year and 307 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.