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