summaryrefslogtreecommitdiff
path: root/gnu/packages/spice.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/spice.scm')
-rw-r--r--gnu/packages/spice.scm45
1 files changed, 24 insertions, 21 deletions
diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm
index b3b2315c7f..cb0827bf29 100644
--- a/gnu/packages/spice.scm
+++ b/gnu/packages/spice.scm
@@ -289,11 +289,14 @@ Internet and from a wide variety of machine architectures.")
(source (origin
(method url-fetch)
(uri (string-append
- "http://www.spice-space.org/download/releases/"
- "spice-vdagent-" version ".tar.bz2"))
+ "http://www.spice-space.org/download/releases/"
+ "spice-vdagent-" version ".tar.bz2"))
(sha256
(base32
- "18472sqr0gibzgzi48dpcbnvm78l05qrl5wv6xywqqj7r9dd3c4k"))))
+ "18472sqr0gibzgzi48dpcbnvm78l05qrl5wv6xywqqj7r9dd3c4k"))
+ (patches
+ (search-patches
+ "spice-vdagent-monitor-size-calculation.patch"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
@@ -308,13 +311,13 @@ Internet and from a wide variety of machine architectures.")
(substitute* "Makefile.in"
(((string-append "\\$\\(mkdir_p\\) \\$\\(DESTDIR\\)"
"\\$\\(localstatedir\\)/run/spice-vdagentd"))
- "-$(mkdir_p) $(DESTDIR)$(localstatedir)/run/spice-vdagentd"))))
+ "-$(mkdir_p) $(DESTDIR)$(localstatedir)/run/spice-vdagentd"))))
(add-after 'unpack 'patch-spice-vdagent.desktop
(lambda* (#:key outputs #:allow-other-keys)
- (substitute* "data/spice-vdagent.desktop"
- (("Exec=/usr/bin/spice-vdagent")
- (string-append "Exec=" (assoc-ref outputs "out")
- "/bin/spice-vdagent")))))
+ (substitute* "data/spice-vdagent.desktop"
+ (("Exec=/usr/bin/spice-vdagent")
+ (string-append "Exec=" (assoc-ref outputs "out")
+ "/bin/spice-vdagent")))))
(add-after 'unpack 'fix-test-termination
(lambda _
;; The termination tests depend on finding the socket file name
@@ -325,20 +328,20 @@ Internet and from a wide variety of machine architectures.")
(("ps -ef")
"ps -efww")))))))
(inputs
- (list alsa-lib
- dbus
- glib
- gtk+
- libdrm
- libpciaccess
- libx11
- libxext
- libxfixes
- libxinerama
- libxrandr
- spice-protocol))
+ (list alsa-lib
+ dbus
+ glib
+ gtk+
+ libdrm
+ libpciaccess
+ libx11
+ libxext
+ libxfixes
+ libxinerama
+ libxrandr
+ spice-protocol))
(native-inputs
- (list pkg-config procps)) ;tests use 'ps'
+ (list pkg-config procps)) ;tests use 'ps'
(synopsis "Spice agent for Linux")
(description "Spice-vdagent enables sharing the clipboard and guest display
resolution scaling on graphical console window resize.")