guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#64012] [PATCH v4 3/3] gnu: itstool: Add version depending on needed


From: Andy Tai
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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]