gnu: emacs-minimal, emacs-xwidgets: Build with "--disable-build-details".

* gnu/packages/emacs.scm (emacs-minimal)[arguments]: Use
'substitute-keyword-arguments' for #:configure-flags, and pass
"--disable-build-details".
(emacs-xwidgets)[arguments]: Likewise.
This commit is contained in:
Ludovic Courtès 2019-05-21 22:51:00 +02:00
parent 494978c4a1
commit 4e941436c7
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Mark H Weaver <mhw@netris.org>
@ -203,11 +203,12 @@ (define-public emacs-minimal
(synopsis "The extensible text editor (used only for byte-compilation)")
(build-system gnu-build-system)
(arguments
`(,@(substitute-keyword-arguments (package-arguments emacs)
(substitute-keyword-arguments (package-arguments emacs)
((#:phases phases)
`(modify-phases ,phases
(delete 'install-site-start))))
#:configure-flags (list "--with-gnutls=no")))
(delete 'install-site-start)))
((#:configure-flags flags ''())
`(list "--with-gnutls=no" "--disable-build-details"))))
(inputs
`(("ncurses" ,ncurses)))
(native-inputs
@ -221,9 +222,9 @@ (define-public emacs-xwidgets
editor (with xwidgets support)")
(build-system gnu-build-system)
(arguments
`(#:configure-flags
'("--with-xwidgets")
,@(package-arguments emacs)))
(substitute-keyword-arguments (package-arguments emacs)
((#:configure-flags flags ''())
`(cons "--with-xwidgets" ,flags))))
(inputs
`(("webkitgtk" ,webkitgtk)
("libxcomposite" ,libxcomposite)