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 4/7] gnu: Add spice-gtk.
Date: Sun, 24 Jul 2016 19:52:27 +0200	[thread overview]
Message-ID: <20160724175230.19184-4-david@craven.ch> (raw)
In-Reply-To: <20160724175230.19184-1-david@craven.ch>

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

diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm
index 6c6fbed..ee29f08 100644
--- a/gnu/packages/spice.scm
+++ b/gnu/packages/spice.scm
@@ -1,9 +1,21 @@
 (define-module (gnu packages spice)
   #:use-module (gnu packages)
+  #:use-module (gnu packages compression)
   #:use-module (gnu packages gl)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
+  #:use-module (gnu packages gstreamer)
+  #:use-module (gnu packages gtk)
+  #:use-module (gnu packages image)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages pulseaudio)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages tls)
+  #:use-module (gnu packages xorg)
+  #:use-module (gnu packages xdisorg)
+  #:use-module (gnu packages xiph)
   #:use-module (guix build-system gnu)
   #:use-module (guix download)
   #:use-module (guix packages)
@@ -80,3 +92,63 @@ Environments) is a remote-display system built for virtual environments
 which allows users to view a computing desktop environment.")
     (home-page "http://www.spice-space.org")
     (license (list license:bsd-3 license:lgpl2.1+))))
+
+(define-public spice-gtk
+  (package
+    (name "spice-gtk")
+    (version "0.32")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                "http://spice-space.org/download/gtk/"
+                "spice-gtk-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "00pf94xh2xf0h1g13lnavxrysd0d0x22l5jl108cvq1mjc4z8j2c"))))
+    (build-system gnu-build-system)
+    (propagated-inputs
+      `(("gstreamer" ,gstreamer)
+        ("gst-libav" ,gst-libav)
+        ("gst-plugins-base" ,gst-plugins-base)
+        ("gst-plugins-good" ,gst-plugins-good)
+        ("gst-plugins-bad" ,gst-plugins-bad)
+        ("gst-plugins-ugly" ,gst-plugins-ugly)))
+    (inputs
+      `(("glib-networking" ,glib-networking)
+        ("gtk+" ,gtk+)
+        ("libepoxy" ,libepoxy)
+        ("libjpeg" ,libjpeg)
+        ("libusb" ,libusb)
+        ("libxcb" ,libxcb)
+        ("lz4" ,lz4)
+        ("mesa" ,mesa)
+        ("pixman" ,pixman)
+        ("pulseaudio" ,pulseaudio)
+        ("python" ,python)
+        ("openssl" ,openssl)
+        ("opus" ,opus)
+        ("spice-protocol" ,spice-protocol)
+        ("usbredir" ,usbredir)))
+    (native-inputs
+      `(("glib:bin" ,glib "bin")
+        ("intltool" ,intltool)
+        ("pkg-config" ,pkg-config)))
+    (arguments
+      `(#:configure-flags
+        '("--enable-gstaudio"
+          "--enable-gstvideo"
+          "--enable-pulse")
+        #:phases
+         (modify-phases %standard-phases
+           (add-after
+            'install 'wrap-spicy
+            (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/spicy")
+                  `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
+              #t)))))
+    (synopsis "Gtk client and libraries for SPICE remote desktop servers")
+    (description "Gtk client and libraries for SPICE remote desktop servers.")
+    (home-page "http://www.spice-space.org")
+    (license (list license:lgpl2.1+ license:lgpl2.0+))))
-- 
2.9.0

  parent reply	other threads:[~2016-07-24 17:53 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 ` [PATCH 7/7] gnu: Add virt-viewer David Craven
2016-07-23 22:40   ` 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     ` David Craven [this message]
2016-07-28 21:09       ` [PATCH 4/7] gnu: Add spice-gtk 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=20160724175230.19184-4-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.