Archived
1
0
Fork 0

gnu: system-config-printer: Use new style for arguments.

* gnu/packages/gnome.scm (system-config-printer)[arguments]: Use
G-Expressions.  Delete trailing #ts.
This commit is contained in:
Liliana Marie Prikler 2022-03-20 14:42:10 +01:00
parent 323172875a
commit d8079790c3
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -2941,10 +2941,11 @@ database is translated at Transifex.")
(base32 "1z9pvgifj5c87csnqz10qybbcayh3ak9m606f63ifkvyjh4q9jnb"))))
(build-system glib-or-gtk-build-system)
(arguments
`(#:imported-modules ((guix build python-build-system)
(list
#:imported-modules `((guix build python-build-system)
,@%glib-or-gtk-build-system-modules)
#:phases
(modify-phases %standard-phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-build-files
(lambda _
(substitute* "configure.ac"
@ -2955,16 +2956,14 @@ database is translated at Transifex.")
;; The Makefile generates some scripts, so set a valid shebang
(substitute* "Makefile.am"
(("/bin/bash") (which "bash")))
(delete-file "configure")
#t))
(delete-file "configure")))
(add-after 'unpack 'patch-docbook-xml
(lambda* (#:key inputs #:allow-other-keys)
;; Modify the man XML otherwise xmlto tries to access the network
(substitute* "man/system-config-printer.xml"
(("http://www.oasis-open.org/docbook/xml/4.1.2/")
(string-append (assoc-ref inputs "docbook-xml")
"/xml/dtd/docbook/")))
#t))
"/xml/dtd/docbook/")))))
(add-after 'install 'add-install-to-pythonpath
(@@ (guix build python-build-system) add-install-to-pythonpath))
(add-after 'add-install-to-pythonpath 'wrap-for-python
@ -2982,8 +2981,7 @@ database is translated at Transifex.")
'("system-config-printer"
"system-config-printer-applet"
"install-printerdriver"
"scp-dbus-service"))))
#t)))))
"scp-dbus-service")))))))))
(inputs
(list gsettings-desktop-schemas
gobject-introspection