From: David Craven <david@craven.ch>
To: guix-devel@gnu.org
Cc: David Craven <david@craven.ch>
Subject: [PATCH] gnu: spice: Fix usbredir for 32 bit platforms.
Date: Mon, 8 Aug 2016 13:46:49 +0200 [thread overview]
Message-ID: <20160808114649.11396-1-david@craven.ch> (raw)
In-Reply-To: <87d1llvq1t.fsf@netris.org>
* gnu/packages/spice.scm (usbredir)[origin]: Fetch source from git repo.
[native-inputs]: Add AUTOCONF, AUTOMAKE and LIBTOOL.
[arguments]: Add autogen phase.
---
gnu/packages/spice.scm | 34 ++++++++++++++++++++++++++++------
1 file changed, 28 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm
index 9e4a669..67e493a 100644
--- a/gnu/packages/spice.scm
+++ b/gnu/packages/spice.scm
@@ -18,6 +18,7 @@
(define-module (gnu packages spice)
#:use-module (gnu packages)
+ #:use-module (gnu packages autotools) ; remove after updating usbredir to 0.7.1+
#:use-module (gnu packages compression)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
@@ -37,6 +38,7 @@
#:use-module (gnu packages xml)
#:use-module (guix build-system gnu)
#:use-module (guix download)
+ #:use-module (guix git-download) ; remove after updating usbredir to 0.7.1+
#:use-module (guix packages)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix utils))
@@ -45,19 +47,39 @@
(package
(name "usbredir")
(version "0.7.1")
+ ;(source (origin
+ ; (method url-fetch)
+ ; (uri (string-append
+ ; "http://spice-space.org/download/usbredir/"
+ ; "usbredir-" version ".tar.bz2"))
+ ; (sha256
+ ; (base32
+ ; "1wsnmk4wjpdhbn1zaxg6bmyxspcki2zgy0am9lk037rnl4krwzj0"))))
+ ; FIXME: usbredir 0.7.1 release doesn't build on 32 bit systems.
+ ; issue is fixed in HEAD
+ ; remove 'autogen phase and autoconf, automake, libtool inputs
(source (origin
- (method url-fetch)
- (uri (string-append
- "http://spice-space.org/download/usbredir/"
- "usbredir-" version ".tar.bz2"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "http://cgit.freedesktop.org/spice/usbredir")
+ (commit "ac80a5971c6318d73d5fba4b5f13d3a9389558c9")))
(sha256
(base32
- "1wsnmk4wjpdhbn1zaxg6bmyxspcki2zgy0am9lk037rnl4krwzj0"))))
+ "052fywgi72j68dr5ybldncg4vk8iqfrh58la7iazyxxpph9aag1g"))))
(build-system gnu-build-system)
(propagated-inputs
`(("libusb" ,libusb)))
(native-inputs
- `(("pkg-config" ,pkg-config)))
+ `(("pkg-config" ,pkg-config)
+ ("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'autogen
+ (lambda* _
+ (system* "sh" "autogen.sh"))))))
(synopsis "Tools for sending USB device traffic over a network")
(description "Usbredir is a network protocol for sending USB device traffic
over a network connection. It can be used to redirect traffic from a USB device
--
2.9.0
next prev parent reply other threads:[~2016-08-08 11:47 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-02 13:45 [PATCH 1/5] doc: Make 'Lirc Service' a subsubheading of 'Various Services' David Craven
2016-08-02 13:45 ` [PATCH 2/5] gnu: qemu: Reorder inputs alphabetically David Craven
2016-08-02 13:45 ` [PATCH 3/5] gnu: qemu: Enable spice support David Craven
2016-08-05 18:33 ` Leo Famulari
2016-08-06 2:00 ` Mark H Weaver
2016-08-06 8:53 ` David Craven
2016-08-06 11:12 ` David Craven
2016-08-06 16:07 ` Mark H Weaver
2016-08-08 11:46 ` David Craven [this message]
2016-08-08 11:48 ` [PATCH] gnu: spice: Fix usbredir for 32 bit platforms David Craven
2016-08-13 19:50 ` Mark H Weaver
2016-08-14 18:50 ` David Craven
2016-08-15 0:17 ` Mark H Weaver
2016-08-02 13:45 ` [PATCH 4/5] gnu: spice-vdagent: Set Exec path in spice-vdagent.desktop David Craven
2016-08-02 13:45 ` [PATCH 5/5] services: Add spice vdagent service David Craven
2016-08-05 14:33 ` David Craven
2016-08-05 18:12 ` Andreas Enge
2016-08-05 18:24 ` Leo Famulari
2016-08-05 18:28 ` David Craven
2016-08-05 18:38 ` Leo Famulari
2016-08-05 18:51 ` David Craven
2016-08-06 7:00 ` Ricardo Wurmus
2016-08-06 9:01 ` David Craven
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=20160808114649.11396-1-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.