From 217565aae921c707e6c20689f2f090681304b0ee Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Thu, 23 Oct 2025 17:07:12 +0300 Subject: [PATCH] gnu: xpad: Fix build. * gnu/packages/gnome.scm (xpad): Fix build. [arguments]<#:phases>: Add "patch-configure" phase to explicitly use gettext version 0.23. Change-Id: I200865bc5ae61fa049105708e67e2cbca6c7a786 --- gnu/packages/gnome.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 8e627ff4f8ce20d48a8a2efaeceb87aa3ce1f6cb..c1b20aef1d636134ef820105286e8a905d9707b5 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -82,6 +82,7 @@ ;;; Copyright © 2024 Justin Veilleux ;;; Copyright © 2025 Noé Lopez ;;; Copyright © 2025 Ashvith Shetty +;;; Copyright © 2025 Artyom V. Poptsov ;;; ;;; This file is part of GNU Guix. ;;; @@ -11263,6 +11264,18 @@ is suitable as a default application in a Desktop environment.") `(,gtk+ "bin") intltool pkg-config)) (inputs (list gtk+ gtksourceview-4 libsm)) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-configure + (lambda _ + ;; xpad fails to build due to gettext version mismatch, so + ;; we force it to use gettext 0.23. + (substitute* "configure.ac" + (("AM_GNU_GETTEXT_VERSION.*") + (string-append + "AM_GNU_GETTEXT_VERSION([0.23])\n" + "AM_GNU_GETTEXT_REQUIRE_VERSION([0.23])\n")))))))) (home-page "https://wiki.gnome.org/Apps/Xpad") (synopsis "Virtual sticky note") (description