~ruther/guix-local

217565aae921c707e6c20689f2f090681304b0ee — Artyom V. Poptsov 5 months ago 1d63147
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
1 files changed, 13 insertions(+), 0 deletions(-)

M gnu/packages/gnome.scm
M gnu/packages/gnome.scm => gnu/packages/gnome.scm +13 -0
@@ 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