all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Craven <david@craven.ch>
To: guix-devel@gnu.org
Cc: David Craven <david@craven.ch>
Subject: [PATCH 7/7] gnu: Add virt-viewer.
Date: Sat, 23 Jul 2016 15:18:59 +0200	[thread overview]
Message-ID: <20160723131859.13525-7-david@craven.ch> (raw)
In-Reply-To: <20160723131859.13525-1-david@craven.ch>

* gnu/packages/spice.scm: Add it.
---
 gnu/packages/spice.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm
index 182e76b..7bbe0a1 100644
--- a/gnu/packages/spice.scm
+++ b/gnu/packages/spice.scm
@@ -9,6 +9,7 @@
   #:use-module (gnu packages image)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages python)
@@ -16,6 +17,7 @@
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xiph)
+  #:use-module (gnu packages xml)
   #:use-module (guix build-system gnu)
   #:use-module (guix download)
   #:use-module (guix packages)
@@ -224,3 +226,46 @@ Internet and from a wide variety of machine architectures.")
 scaling on graphical console window resize.")
     (home-page "http://www.spice-space.org")
     (license license:gpl2)))
+
+(define-public virt-viewer
+  (package
+    (name "virt-viewer")
+    (version "4.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                "https://virt-manager.org/download/sources/virt-viewer/"
+                "virt-viewer-" version ".tar.gz"))
+              (sha256
+               (base32
+                "07zsi1fqg05mag1ayniaqj25fzb6dxg76d4ka5196lq4l477nhhw"))))
+    (build-system gnu-build-system)
+    (inputs
+      `(("gtk+" ,gtk+)
+        ("libcap" ,libcap)
+        ("libxml2" ,libxml2)
+        ("openssl" ,openssl)
+        ("perl" ,perl)
+        ("spice-gtk" ,spice-gtk)))
+    (native-inputs
+      `(("glib:bin" ,glib "bin")
+        ("intltool" ,intltool)
+        ("pkg-config" ,pkg-config)))
+    (arguments
+      `(#:configure-flags
+        '("--with-spice-gtk")
+        #:phases
+         (modify-phases %standard-phases
+           (add-after
+            'install 'wrap-remote-viewer
+            (lambda* (#:key inputs outputs #:allow-other-keys)
+              (let ((out             (assoc-ref outputs "out"))
+                    (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
+                (wrap-program (string-append out "/bin/remote-viewer")
+                  `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
+              #t)))))
+    (synopsis "Graphical console client for virtual machines")
+    (description "Graphical console client for virtual machines using spice or
+vnc.")
+    (home-page "https://virt-manager.org")
+    (license license:gpl2)))
-- 
2.9.0

  parent reply	other threads:[~2016-07-23 13:19 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-23 13:18 [PATCH 1/7] gnu: Add usbredir David Craven
2016-07-23 13:18 ` [PATCH 2/7] gnu: Add virglrenderer David Craven
2016-07-23 22:04   ` Leo Famulari
2016-07-24 11:07     ` David Craven
2016-07-24 20:29       ` Leo Famulari
2016-07-23 13:18 ` [PATCH 3/7] gnu: Add spice-protocol David Craven
2016-07-23 22:06   ` Leo Famulari
2016-07-23 13:18 ` [PATCH 4/7] gnu: Add spice-gtk David Craven
2016-07-23 22:39   ` Leo Famulari
2016-07-24 11:12     ` David Craven
2016-07-24 11:34       ` David Craven
2016-07-24 16:21         ` Leo Famulari
2016-07-24 17:59           ` David Craven
2016-07-24 22:14         ` Ludovic Courtès
2016-07-25  7:55           ` David Craven
2016-07-27  9:31             ` David Craven
2016-07-27 22:12               ` Ludovic Courtès
2016-07-27 23:08                 ` Leo Famulari
2016-07-28 16:30                   ` David Craven
2016-07-28 16:59           ` Leo Famulari
2016-07-23 13:18 ` [PATCH 5/7] gnu: Add spice David Craven
2016-07-23 22:40   ` Leo Famulari
2016-07-24 11:19     ` David Craven
2016-07-23 13:18 ` [PATCH 6/7] gnu: Add spice-vdagent David Craven
2016-07-23 22:40   ` Leo Famulari
2016-07-24 11:20     ` David Craven
2016-07-23 13:18 ` David Craven [this message]
2016-07-23 22:40   ` [PATCH 7/7] gnu: Add virt-viewer Leo Famulari
2016-07-24 11:31     ` David Craven
2016-07-23 21:46 ` [PATCH 1/7] gnu: Add usbredir Leo Famulari
2016-07-24 17:52   ` David Craven
2016-07-24 17:52     ` [PATCH 2/7] gnu: Add virglrenderer David Craven
2016-07-28 21:09       ` Leo Famulari
2016-07-24 17:52     ` [PATCH 3/7] gnu: Add spice-protocol David Craven
2016-07-28 21:09       ` Leo Famulari
2016-07-24 17:52     ` [PATCH 4/7] gnu: Add spice-gtk David Craven
2016-07-28 21:09       ` Leo Famulari
2016-07-24 17:52     ` [PATCH 5/7] gnu: Add spice David Craven
2016-07-28 21:09       ` Leo Famulari
2016-07-24 17:52     ` [PATCH 6/7] gnu: Add spice-vdagent David Craven
2016-07-28 21:09       ` Leo Famulari
2016-07-24 17:52     ` [PATCH 7/7] gnu: Add virt-viewer David Craven
2016-07-28 21:09       ` Leo Famulari
2016-07-28 21:09     ` [PATCH 1/7] gnu: Add usbredir Leo Famulari
2016-07-29  8:09       ` David Craven
2016-07-29 15:16         ` Leo Famulari
2016-07-29 15:23           ` David Craven
2016-07-30 21:01             ` Andreas Enge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160723131859.13525-7-david@craven.ch \
    --to=david@craven.ch \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.