summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2022-03-20 11:45:16 +0100
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-03-20 14:44:25 +0100
commit323172875a2adec6bf7f7b19d7c2abbb8286b584 (patch)
treed420c7759e8c9fee250a2aa276af32ed8b66b1c9 /gnu
parent99b41ffcbf399b1d51b5f90eaa706c9a05173cb1 (diff)
downloadguix-323172875a2adec6bf7f7b19d7c2abbb8286b584.tar.gz
gnu: system-config-printer: Update to 1.5.16.
* gnu/packages/gnome.scm (system-config-printer): Update to 1.5.16.
[#:phases]<patch-Makefile.am>: Rename to ...
<patch-build-files>: ... this.  Also patch configure.ac
[inputs]: Replace intltool with gettext-minimal.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnome.scm13
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 1e1c4f9eeb..06829d1e98 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2929,7 +2929,7 @@ database is translated at Transifex.")
 (define-public system-config-printer
   (package
     (name "system-config-printer")
-    (version "1.5.15")
+    (version "1.5.16")
     (source
      (origin
        (method url-fetch)
@@ -2938,15 +2938,20 @@ database is translated at Transifex.")
              "download/v" version
              "/system-config-printer-" version ".tar.xz"))
        (sha256
-        (base32 "12d6xx51vizc476zfnsga9q09nflp51ipn6y7lhi9w2v4772dlpv"))))
+        (base32 "1z9pvgifj5c87csnqz10qybbcayh3ak9m606f63ifkvyjh4q9jnb"))))
     (build-system glib-or-gtk-build-system)
     (arguments
      `(#:imported-modules ((guix build python-build-system)
                            ,@%glib-or-gtk-build-system-modules)
        #:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'patch-Makefile.am
+         (add-after 'unpack 'patch-build-files
            (lambda _
+             (substitute* "configure.ac"
+               (("AC_INIT.*" all)
+                (string-append all "\nAC_CONFIG_MACRO_DIR([m4])\n"))
+               ;; XXX: AX macros appear unavailable
+               (("AX_REQUIRE_DEFINED.*") ""))
              ;; The Makefile generates some scripts, so set a valid shebang
              (substitute* "Makefile.am"
                (("/bin/bash") (which "bash")))
@@ -2998,7 +3003,7 @@ database is translated at Transifex.")
            glib
            autoconf
            automake
-           intltool
+           gettext-minimal
            xmlto
            docbook-xml-4.1.2
            docbook-xsl