1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-23 09:35:56 +02:00

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
This commit is contained in:
Artyom V. Poptsov
2025-10-23 17:07:12 +03:00
parent 1d6314755b
commit 217565aae9
+13
View File
@@ -82,6 +82,7 @@
;;; Copyright © 2024 Justin Veilleux <terramorpha@cock.li>
;;; Copyright © 2025 Noé Lopez <noelopez@free.fr>
;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010@zohomail.in>
;;; Copyright © 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;;
;;; 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