From: Andy Wingo <wingo@igalia.com>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add libusb-compat.
Date: Thu, 06 Aug 2015 12:31:44 +0200 [thread overview]
Message-ID: <871tfglncf.fsf@igalia.com> (raw)
[-- 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
next reply other threads:[~2015-08-06 10:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-06 10:31 Andy Wingo [this message]
2015-08-08 18:35 ` [PATCH] gnu: Add libusb-compat Mark H Weaver
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=871tfglncf.fsf@igalia.com \
--to=wingo@igalia.com \
--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.