* [PATCH] gnu: Add libusb-compat.
@ 2015-08-06 10:31 Andy Wingo
2015-08-08 18:35 ` Mark H Weaver
0 siblings, 1 reply; 2+ messages in thread
From: Andy Wingo @ 2015-08-06 10:31 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 69 bytes --]
Whoops, forgot this one. Should go at the beginning of the series.
[-- Attachment #2: 0001-gnu-Add-libusb-compat.patch --]
[-- Type: text/plain, Size: 1804 bytes --]
From ff7e55eee25bd1012e9c9940e9a598079efdaf06 Mon Sep 17 00:00:00 2001
From: Andy Wingo <wingo@igalia.com>
Date: Thu, 6 Aug 2015 12:22:08 +0200
Subject: [PATCH 1/5] gnu: Add libusb-compat.
* gnu/packages/libusb.scm (libusb-compat): New variable.
---
gnu/packages/libusb.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm
index 17f71eb..665db75 100644
--- a/gnu/packages/libusb.scm
+++ b/gnu/packages/libusb.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
+;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -53,6 +54,31 @@
devices on various operating systems.")
(license lgpl2.1+)))
+(define-public libusb-compat
+ (package
+ (name "libusb-compat")
+ (version "0.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/libusb/libusb-compat-0.1/"
+ "libusb-compat-" version "/libusb-compat-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "0nn5icrfm9lkhzw1xjvaks9bq3w6mjg86ggv3fn7kgi4nfvg8kj0"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("libusb" ,libusb)))
+
+ (home-page "http://www.libusb.org")
+ (synopsis "Compatibility shim for libusb")
+ (description
+ "Libusb-compat provides a shim allowing applications based on older
+version of libusb to run with newer libusb.")
+ (license lgpl2.1+)))
+
(define-public libmtp
(package
(name "libmtp")
--
2.4.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gnu: Add libusb-compat.
2015-08-06 10:31 [PATCH] gnu: Add libusb-compat Andy Wingo
@ 2015-08-08 18:35 ` Mark H Weaver
0 siblings, 0 replies; 2+ messages in thread
From: Mark H Weaver @ 2015-08-08 18:35 UTC (permalink / raw)
To: Andy Wingo; +Cc: guix-devel
Andy Wingo <wingo@igalia.com> writes:
> From ff7e55eee25bd1012e9c9940e9a598079efdaf06 Mon Sep 17 00:00:00 2001
> From: Andy Wingo <wingo@igalia.com>
> Date: Thu, 6 Aug 2015 12:22:08 +0200
> Subject: [PATCH 1/5] gnu: Add libusb-compat.
I modified the 'uri' expression to use 'name' and 'version-major+minor',
and then pushed this to master.
Thanks!
Mark
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-08 18:35 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:31 [PATCH] gnu: Add libusb-compat Andy Wingo
2015-08-08 18:35 ` 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.