gnu: QEMU: Install the manual pages.

* gnu/packages/virtualization.scm (qemu)[arguments]: Add '--enable-docs'
to #:configure-flags.
[native-inputs]: Add python-sphinx.
(qemu-minimal-2.10)[native-inputs]: Remove python-sphinx.
This commit is contained in:
Leo Famulari 2020-01-23 15:18:27 -05:00
parent f528df99f1
commit 0411aca848
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -75,6 +75,7 @@ (define-module (gnu packages virtualization)
#:use-module (gnu packages pulseaudio) #:use-module (gnu packages pulseaudio)
#:use-module (gnu packages selinux) #:use-module (gnu packages selinux)
#:use-module (gnu packages sdl) #:use-module (gnu packages sdl)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages spice) #:use-module (gnu packages spice)
#:use-module (gnu packages texinfo) #:use-module (gnu packages texinfo)
#:use-module (gnu packages textutils) #:use-module (gnu packages textutils)
@ -125,6 +126,7 @@ (define-public qemu
;; boot_sector_test: assertion failed (signature == SIGNATURE): (0x00000000 == 0x0000dead) ;; boot_sector_test: assertion failed (signature == SIGNATURE): (0x00000000 == 0x0000dead)
#:parallel-tests? #f #:parallel-tests? #f
#:configure-flags (list "--enable-usb-redir" "--enable-opengl" #:configure-flags (list "--enable-usb-redir" "--enable-opengl"
"--enable-docs"
(string-append "--smbd=" (string-append "--smbd="
(assoc-ref %outputs "out") (assoc-ref %outputs "out")
"/libexec/samba-wrapper") "/libexec/samba-wrapper")
@ -234,6 +236,7 @@ (define-public qemu
("bison" ,bison) ("bison" ,bison)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("python-wrapper" ,python-wrapper) ("python-wrapper" ,python-wrapper)
("python-sphinx" ,python-sphinx)
("texinfo" ,texinfo))) ("texinfo" ,texinfo)))
(home-page "https://www.qemu.org") (home-page "https://www.qemu.org")
(synopsis "Machine emulator and virtualizer") (synopsis "Machine emulator and virtualizer")
@ -295,7 +298,7 @@ (define-public qemu-minimal-2.10
;; qemu-minimal-2.10 needs Python 2. Remove below once no longer necessary. ;; qemu-minimal-2.10 needs Python 2. Remove below once no longer necessary.
(native-inputs `(("python-2" ,python-2) (native-inputs `(("python-2" ,python-2)
,@(fold alist-delete (package-native-inputs qemu) ,@(fold alist-delete (package-native-inputs qemu)
'("python-wrapper")))) '("python-wrapper" "python-sphinx"))))
(inputs (inputs
(fold alist-delete (package-inputs qemu) (fold alist-delete (package-inputs qemu)
;; Disable seccomp support, because it's not required for the GRUB ;; Disable seccomp support, because it's not required for the GRUB