* [PATCH] gnu: Add gusb.
@ 2015-08-06 10:30 Andy Wingo
2015-08-08 18:43 ` Mark H Weaver
0 siblings, 1 reply; 2+ messages in thread
From: Andy Wingo @ 2015-08-06 10:30 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: 0003-gnu-Add-gusb.patch --]
[-- Type: text/plain, Size: 2547 bytes --]
From 1bde2834d8b5b7660bbc2fd082192c5441e3b581 Mon Sep 17 00:00:00 2001
From: Andy Wingo <wingo@igalia.com>
Date: Thu, 6 Aug 2015 12:26:10 +0200
Subject: [PATCH 3/4] gnu: Add gusb.
* gnu/packages/gnome.scm (gusb): New variable.
---
gnu/packages/gnome.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index c228bdf..9798960 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3207,3 +3207,50 @@ DAV, and others.")
typically used to document the public API of GTK+ and GNOME libraries, but it
can also be used to document application code.")
(license license:gpl2+)))
+
+(define-public gusb
+ (package
+ (name "gusb")
+ (version "0.2.6")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/hughsie/libgusb/archive/"
+ "gusb_"
+ (string-join (string-split version #\.)
+ "_")
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0h9dzaza81b0mx5jfh5cnc31xdynl0jsxgwvl6vqyhy8mnwfi5nr"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
+ ("gobject-introspection" ,gobject-introspection)
+ ("pkg-config" ,pkg-config)
+ ("vala" ,vala)
+ ("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)
+ ("gtk-doc" ,gtk-doc)
+ ))
+ (propagated-inputs
+ ;; Both of these are required by gusb.pc.
+ `(("glib" ,glib)
+ ("libusb" ,libusb)))
+ (arguments
+ `(#:tests?
+ #f ;; libusb fails to initialize. Wonder what that is.
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'autogen
+ (lambda _
+ (and (zero? (system* "gtkdocize"))
+ (zero? (system* "autoreconf" "-vif"))))))))
+ (home-page "https://github/hughsie/libgusb")
+ (synopsis "A GLib binding for libusb1")
+ (description
+ "GUsb is a GObject wrapper for libusb1 that makes it easy to do
+asynchronous control, bulk and interrupt transfers with proper cancellation
+and integration into a mainloop. This makes it easy to integrate low level
+USB transfers with your high-level application or system daemon.")
+ (license license:lgpl2.1+)))
--
2.4.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gnu: Add gusb.
2015-08-06 10:30 [PATCH] gnu: Add gusb Andy Wingo
@ 2015-08-08 18:43 ` Mark H Weaver
0 siblings, 0 replies; 2+ messages in thread
From: Mark H Weaver @ 2015-08-08 18:43 UTC (permalink / raw)
To: Andy Wingo; +Cc: guix-devel
Andy Wingo <wingo@igalia.com> writes:
> From 1bde2834d8b5b7660bbc2fd082192c5441e3b581 Mon Sep 17 00:00:00 2001
> From: Andy Wingo <wingo@igalia.com>
> Date: Thu, 6 Aug 2015 12:26:10 +0200
> Subject: [PATCH 3/4] gnu: Add gusb.
Pushed, thanks!
Mark
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-08 18:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-06 10:30 [PATCH] gnu: Add gusb Andy Wingo
2015-08-08 18:43 ` Mark H Weaver
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.