From: David Craven <david@craven.ch>
To: guix-devel@gnu.org
Cc: David Craven <david@craven.ch>
Subject: [PATCH 6/7] gnu: Add spice-vdagent.
Date: Sun, 24 Jul 2016 19:52:29 +0200 [thread overview]
Message-ID: <20160724175230.19184-6-david@craven.ch> (raw)
In-Reply-To: <20160724175230.19184-1-david@craven.ch>
* gnu/packages/spice.scm: Add it.
* gnu/packages/patches/spice-vdagent-localstatedir.patch: Add it.
---
.../patches/spice-vdagent-localstatedir.patch | 13 ++++++++
gnu/packages/spice.scm | 35 ++++++++++++++++++++++
2 files changed, 48 insertions(+)
create mode 100644 gnu/packages/patches/spice-vdagent-localstatedir.patch
diff --git a/gnu/packages/patches/spice-vdagent-localstatedir.patch b/gnu/packages/patches/spice-vdagent-localstatedir.patch
new file mode 100644
index 0000000..0d0881c
--- /dev/null
+++ b/gnu/packages/patches/spice-vdagent-localstatedir.patch
@@ -0,0 +1,13 @@
+Allow mkdir localstatedir to fail.
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -1412,7 +1412,7 @@ uninstall-am: uninstall-binPROGRAMS uninstall-gdmautostart2DATA \
+
+
+ install-data-local:
+- $(mkdir_p) $(DESTDIR)$(localstatedir)/run/spice-vdagentd
++ -$(mkdir_p) $(DESTDIR)$(localstatedir)/run/spice-vdagentd
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm
index 365385e..e78bdef 100644
--- a/gnu/packages/spice.scm
+++ b/gnu/packages/spice.scm
@@ -191,3 +191,38 @@ not only on the machine where it is running, but from anywhere on the
Internet and from a wide variety of machine architectures.")
(home-page "http://www.spice-space.org")
(license (list license:lgpl2.1+ license:lgpl2.0+))))
+
+(define-public spice-vdagent
+ (package
+ (name "spice-vdagent")
+ (version "0.17.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://www.spice-space.org/download/releases/"
+ "spice-vdagent-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "0gdkyylyg1hksg0i0anvznqfli2q39335fnrmcd6847frpc8njpi"))
+ (patches (search-patches "spice-vdagent-localstatedir.patch"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("alsa-lib" ,alsa-lib)
+ ("dbus" ,dbus)
+ ("glib" ,glib)
+ ("libpciaccess" ,libpciaccess)
+ ("libx11" ,libx11)
+ ("libxext" ,libxext)
+ ("libxfixes" ,libxfixes)
+ ("libxinerama" ,libxinerama)
+ ("libxrandr" ,libxrandr)
+ ("spice-protocol" ,spice-protocol)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (arguments
+ '(#:configure-flags '("--localstatedir=/var")))
+ (synopsis "Spice agent for linux")
+ (description "Enables sharing the clipboard and guest display resolution
+scaling on graphical console window resize.")
+ (home-page "http://www.spice-space.org")
+ (license license:gpl3+)))
--
2.9.0
next prev 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 ` [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 ` David Craven [this message]
2016-07-28 21:09 ` [PATCH 6/7] gnu: Add spice-vdagent 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-6-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.