gnu: system-config-printer: Fix build on riscv64-linux.
* gnu/packages/gnome.scm (system-config-printer)[arguments]: When config is an input add a phase to replace config.guess and config.sub. [native-inputs]: Add config when building for riscv64-linux. Change-Id: Iad0d2cbadd9c9f90b88e97e7690ad3b0ad0e6882master
parent
488a39503a
commit
3ccec0598d
|
@ -3019,6 +3019,16 @@ guidelines.")
|
||||||
(substitute* "Makefile.am"
|
(substitute* "Makefile.am"
|
||||||
(("/bin/bash") (which "bash")))
|
(("/bin/bash") (which "bash")))
|
||||||
(delete-file "configure")))
|
(delete-file "configure")))
|
||||||
|
#$@(if (this-package-native-input "config")
|
||||||
|
#~((add-after 'unpack 'update-config-scripts
|
||||||
|
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
||||||
|
(for-each (lambda (file)
|
||||||
|
(install-file
|
||||||
|
(search-input-file
|
||||||
|
(or native-inputs inputs)
|
||||||
|
(string-append "/bin/" file)) "."))
|
||||||
|
'("config.guess" "config.sub")))))
|
||||||
|
#~())
|
||||||
(add-after 'install 'add-install-to-pythonpath
|
(add-after 'install 'add-install-to-pythonpath
|
||||||
(@@ (guix build python-build-system) add-install-to-pythonpath))
|
(@@ (guix build python-build-system) add-install-to-pythonpath))
|
||||||
(add-after 'add-install-to-pythonpath 'wrap-for-python
|
(add-after 'add-install-to-pythonpath 'wrap-for-python
|
||||||
|
@ -3051,16 +3061,20 @@ guidelines.")
|
||||||
libnotify
|
libnotify
|
||||||
packagekit))
|
packagekit))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pkg-config
|
(append
|
||||||
desktop-file-utils
|
(if (target-riscv64?)
|
||||||
glib
|
(list config)
|
||||||
autoconf
|
'())
|
||||||
automake
|
(list pkg-config
|
||||||
gettext-minimal
|
desktop-file-utils
|
||||||
xmlto
|
glib
|
||||||
docbook-xml-4.1.2
|
autoconf
|
||||||
docbook-xsl
|
automake
|
||||||
libxml2))
|
gettext-minimal
|
||||||
|
xmlto
|
||||||
|
docbook-xml-4.1.2
|
||||||
|
docbook-xsl
|
||||||
|
libxml2)))
|
||||||
(home-page "https://github.com/zdohnal/system-config-printer")
|
(home-page "https://github.com/zdohnal/system-config-printer")
|
||||||
(synopsis "CUPS administration tool")
|
(synopsis "CUPS administration tool")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue