aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/virtualization.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/virtualization.scm')
-rw-r--r--gnu/packages/virtualization.scm25
1 files changed, 14 insertions, 11 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index fa72c72c15..d49cdc208a 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
;;; Copyright © 2017 Andy Patterson <ajpatter@uwaterloo.ca>
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
-;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -52,6 +52,7 @@
#:use-module (gnu packages protobuf)
#:use-module (gnu packages python)
#:use-module (gnu packages python-web)
+ #:use-module (gnu packages pulseaudio)
#:use-module (gnu packages selinux)
#:use-module (gnu packages sdl)
#:use-module (gnu packages spice)
@@ -99,7 +100,8 @@
#:configure-flags (list "--enable-usb-redir" "--enable-opengl"
(string-append "--smbd="
(assoc-ref %outputs "out")
- "/libexec/samba-wrapper"))
+ "/libexec/samba-wrapper")
+ "--audio-drv-list=alsa,pa,sdl")
#:phases
(modify-phases %standard-phases
(replace 'configure
@@ -181,6 +183,7 @@ exec smbd $@")))
("ncurses" ,ncurses)
;; ("pciutils" ,pciutils)
("pixman" ,pixman)
+ ("pulseaudio" ,pulseaudio)
("sdl" ,sdl)
("spice" ,spice)
("usbredir" ,usbredir)
@@ -228,7 +231,7 @@ server and embedded PowerPC, and S390 guests.")
;; Remove dependencies on optional libraries, notably GUI libraries.
(inputs (fold alist-delete (package-inputs qemu)
'("libusb" "mesa" "sdl" "spice" "virglrenderer"
- "usbredir" "libdrm" "libepoxy")))))
+ "usbredir" "libdrm" "libepoxy" "pulseaudio")))))
(define-public libosinfo
(package
@@ -345,14 +348,14 @@ manage system or application containers.")
(define-public libvirt
(package
(name "libvirt")
- (version "3.10.0")
+ (version "4.0.0")
(source (origin
(method url-fetch)
(uri (string-append "https://libvirt.org/sources/libvirt-"
version ".tar.xz"))
(sha256
(base32
- "03kb37iv3dvvdlslznlc0njvjpmq082lczmsslz5p4fcwb50kwfz"))))
+ "1j6zzajh4j3zzsaqn5f5mrchm0590xcf6rzkfajvqw3bd4dcms79"))))
(build-system gnu-build-system)
(arguments
`(;; FAIL: virshtest
@@ -362,7 +365,7 @@ manage system or application containers.")
;; FAIL: networkxml2firewalltest
;; FAIL: nwfilterebiptablestest
;; FAIL: nwfilterxml2firewalltest
- ;; Times while running commandest.
+ ;; Time-out while running commandtest.
#:tests? #f
#:configure-flags
(list "--with-polkit"
@@ -382,9 +385,9 @@ manage system or application containers.")
;; at runtime, we must prevent writing to them at installation
;; time.
(lambda _
- (zero? (system* "make" "install"
- "sysconfdir=/tmp/etc"
- "localstatedir=/tmp/var"))))
+ (invoke "make" "install"
+ "sysconfdir=/tmp/etc"
+ "localstatedir=/tmp/var")))
(add-after 'install 'wrap-libvirtd
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
@@ -728,7 +731,7 @@ Machine Protocol.")
(define-public lookingglass
(package
(name "lookingglass")
- (version "a9")
+ (version "a10")
(source
(origin
(method url-fetch)
@@ -737,7 +740,7 @@ Machine Protocol.")
(file-name (string-append name "-" version))
(sha256
(base32
- "015chy4x94x4dd5831d7n0gada8rhahmdx7bdbdhajlzivi3kjcw"))))
+ "0zlxg9ibzr0a598wr5nl1pb4l7mzsqn8ip72v4frph0vwsm5il6c"))))
(build-system gnu-build-system)
(inputs `(("fontconfig" ,fontconfig)
("glu" ,glu)