Subject: bug#29719: closed (Re: [bug#29719] [PATCH] gnu: virtualization: Add lookingglass.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 15 Dec 2017 15:40:02 +0000

Your bug report

#29719: [PATCH] gnu: virtualization: Add lookingglass.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
29719: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29719
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#29719] [PATCH] gnu: virtualization: Add lookingglass.
From: [email-masked] (Ludovic Courtès)
To: Rutger Helling <[email-masked]>
Cc: [email-masked]
Date: Fri, 15 Dec 2017 16:39:23 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Rutger Helling <[email-masked]> skribis:

> From 479db2f11837a175598fcc04cc07bee030f17fb1 Mon Sep 17 00:00:00 2001
> From: Rutger Helling <[email-masked]>
> Date: Fri, 15 Dec 2017 16:08:30 +0100
> Subject: [PATCH] gnu: virtualization: Add lookingglass.
>
> * gnu/packages/virtualization.scm (lookingglass): New variable.

Applied, thanks!

Ludo'.

Subject: [PATCH] gnu: virtualization: Add lookingglass.
From: Rutger Helling <[email-masked]>
To: [email-masked]
Date: Fri, 15 Dec 2017 12:02:31 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hey Guix, 

this patch adds LookingGlass.

From ccea9a6c9dd71aea5ef5c07802f7e376a7f86a96 Mon Sep 17 00:00:00 2001
From: Rutger Helling <[email-masked]>
Date: Fri, 15 Dec 2017 11:58:10 +0100
Subject: [PATCH] gnu: virtualization: Add lookingglass.

* gnu/packages/virtualization.scm (lookingglass): New variable.
---
 gnu/packages/virtualization.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 85563dde6..d3531da69 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -36,6 +36,7 @@
   #:use-module (gnu packages dns)
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages documentation)
+  #:use-module (gnu packages fontutils)
   #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
@@ -709,3 +710,43 @@ mainly implemented in user space.")
 incremental backups of running QEMU virtual machines via QMP, the QEMU
 Machine Protocol.")
     (license gpl3+)))
+
+(define-public lookingglass
+  (package
+   (name "lookingglass")
+   (version "a5")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (string-append "https://github.com/gnif/LookingGlass/archive/"
+                         version ".tar.gz"))
+     (file-name (string-append name "-" version))
+     (sha256
+      (base32
+       "0lrb821914fp27xaq0spwhbblssz55phiygvdlvcrkifa138v8pf"))))
+   (build-system gnu-build-system)
+   (inputs `(("fontconfig" ,fontconfig)
+             ("glu" ,glu)
+             ("mesa" ,mesa)
+             ("openssl" ,openssl)
+             ("sdl2" ,sdl2)
+             ("sdl2-ttf" ,sdl2-ttf)
+             ("spice-protocol" ,spice-protocol)))
+   (native-inputs `(("pkg-config", pkg-config)))
+   (arguments
+    `(#:tests? #f ;; No tests are available.
+      #:phases (modify-phases %standard-phases
+                 (replace 'configure
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      (chdir "client")))
+                  (replace 'install
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      (mkdir-p (string-append %output "/bin"))
+                      (copy-file "bin/looking-glass-client" (string-append
+                                 %output "/bin/looking-glass-client")))))))
+   (home-page "https://looking-glass.hostfission.com")
+   (synopsis "Low-latency KVMFR implementation for QEMU guests with VGA PCI
+passthrough")
+   (description "LookingGlass is an extremely low latency KVMFR (KVM FrameRelay)
+implementation for QEMU guests with VGA PCI Passthrough.")
+   (license gpl2)))
-- 
2.15.1