[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: qemu: Enable GTK3 frontend.

From: Rutger Helling
Subject: 02/02: gnu: qemu: Enable GTK3 frontend.
Date: Thu, 26 Apr 2018 06:46:13 -0400 (EDT)

rhelling pushed a commit to branch master
in repository guix.

commit 90a8ef8c4325f97da39d5326b1cd110b3f3984bf
Author: Rutger Helling <address@hidden>
Date:   Thu Apr 26 08:17:05 2018 +0200

    gnu: qemu: Enable GTK3 frontend.
    * gnu/packages/virtualization.scm (qemu)[native-inputs]: Add "gettext" to 
    [inputs]: Add "gtk+" to inputs.
    * gnu/packages/virtualization.scm (qemu-minimal)[native-inputs]: Remove 
    from inherited inputs.
    [inputs]: Remove "gtk+" from inherited inputs.
 gnu/packages/virtualization.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 079b55d..46f78b8 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -39,6 +39,7 @@
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages gettext)
   #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
@@ -173,6 +174,7 @@ exec smbd $@")))
      `(("alsa-lib" ,alsa-lib)
        ("attr" ,attr)
        ("glib" ,glib)
+       ("gtk+" ,gtk+)
        ("libaio" ,libaio)
        ("libattr" ,attr)
        ("libcap" ,libcap)           ; virtfs support requires libcap & libattr
@@ -194,7 +196,8 @@ exec smbd $@")))
        ;; ("vde2" ,vde2)
        ("virglrenderer" ,virglrenderer)
        ("zlib" ,zlib)))
-    (native-inputs `(("glib:bin" ,glib "bin") ; gtester, etc.
+    (native-inputs `(("gettext" ,gettext-minimal)
+                     ("glib:bin" ,glib "bin") ; gtester, etc.
                      ("perl" ,perl)
                      ("pkg-config" ,pkg-config)
                      ("python-wrapper" ,python-wrapper)
@@ -232,8 +235,10 @@ server and embedded PowerPC, and S390 guests.")
     ;; Remove dependencies on optional libraries, notably GUI libraries.
+    (native-inputs (fold alist-delete (package-native-inputs qemu)
+                  '("gettext")))
     (inputs (fold alist-delete (package-inputs qemu)
-                  '("libusb" "mesa" "sdl2" "spice" "virglrenderer"
+                  '("libusb" "mesa" "sdl2" "spice" "virglrenderer" "gtk+"
                     "usbredir" "libdrm" "libepoxy" "pulseaudio")))))
 ;; The GRUB test suite fails with later versions of Qemu, so we

reply via email to

[Prev in Thread] Current Thread [Next in Thread]