From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Wingo Subject: [PATCH] gnu: Add libusb-compat. Date: Thu, 06 Aug 2015 12:31:44 +0200 Message-ID: <871tfglncf.fsf@igalia.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNISp-00082c-Fg for guix-devel@gnu.org; Thu, 06 Aug 2015 06:31:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNISi-0006Wf-Lf for guix-devel@gnu.org; Thu, 06 Aug 2015 06:31:55 -0400 Received: from pb-sasl1.int.icgroup.com ([208.72.237.25]:50301 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNISi-0006WO-Ht for guix-devel@gnu.org; Thu, 06 Aug 2015 06:31:48 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 3B2035C6D4 for ; Thu, 6 Aug 2015 06:31:48 -0400 (EDT) Received: from pb-sasl1.int.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 34C8E5C6D3 for ; Thu, 6 Aug 2015 06:31:48 -0400 (EDT) Received: from rusty (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 70C165C6D2 for ; Thu, 6 Aug 2015 06:31:47 -0400 (EDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/plain Whoops, forgot this one. Should go at the beginning of the series. --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-libusb-compat.patch Content-Transfer-Encoding: quoted-printable >From ff7e55eee25bd1012e9c9940e9a598079efdaf06 Mon Sep 17 00:00:00 2001 From: Andy Wingo 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 =C2=A9 2012 Nikita Karetnikov ;;; Copyright =C2=A9 2015 Andreas Enge +;;; Copyright =C2=A9 2015 Andy Wingo ;;; ;;; This file is part of GNU Guix. ;;; @@ -53,6 +54,31 @@ devices on various operating systems.") (license lgpl2.1+))) =20 +(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-" versi= on ".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") --=20 2.4.3 --=-=-=--