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.
This commit is contained in:
Liliana Marie Prikler 2022-03-20 11:45:16 +01:00
parent 99b41ffcbf
commit 323172875a
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -2929,7 +2929,7 @@ (define-public shared-mime-info
(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 @@ (define-public system-config-printer
"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 @@ (define-public system-config-printer
glib
autoconf
automake
intltool
gettext-minimal
xmlto
docbook-xml-4.1.2
docbook-xsl