[arch-commits] Commit in libusb-compat/repos (6 files)

Tobias Powalowski tpowa at archlinux.org
Tue Jul 3 09:52:18 UTC 2012


    Date: Tuesday, July 3, 2012 @ 05:52:18
  Author: tpowa
Revision: 162897

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  libusb-compat/repos/testing-i686/
  libusb-compat/repos/testing-i686/PKGBUILD
    (from rev 162896, libusb-compat/trunk/PKGBUILD)
  libusb-compat/repos/testing-i686/libusb-0.1-libusbx.patch
    (from rev 162896, libusb-compat/trunk/libusb-0.1-libusbx.patch)
  libusb-compat/repos/testing-x86_64/
  libusb-compat/repos/testing-x86_64/PKGBUILD
    (from rev 162896, libusb-compat/trunk/PKGBUILD)
  libusb-compat/repos/testing-x86_64/libusb-0.1-libusbx.patch
    (from rev 162896, libusb-compat/trunk/libusb-0.1-libusbx.patch)

-----------------------------------------+
 testing-i686/PKGBUILD                   |   32 ++++++++++++++++++++++++++++++
 testing-i686/libusb-0.1-libusbx.patch   |   17 +++++++++++++++
 testing-x86_64/PKGBUILD                 |   32 ++++++++++++++++++++++++++++++
 testing-x86_64/libusb-0.1-libusbx.patch |   17 +++++++++++++++
 4 files changed, 98 insertions(+)

Copied: libusb-compat/repos/testing-i686/PKGBUILD (from rev 162896, libusb-compat/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-07-03 09:52:18 UTC (rev 162897)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer:
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: arjan <arjan at archlinux.org>
+
+pkgname=libusb-compat
+pkgver=0.1.4
+pkgrel=2
+pkgdesc="Library to enable user space application programs to communicate with USB devices"
+arch=('i686' 'x86_64')
+url="http://libusb.sourceforge.net/"
+license=('LGPL')
+depends=('libusb' 'sh')
+options=('!libtool')
+source=("http://downloads.sourceforge.net/${pkgname%-*}/${pkgname}-${pkgver%.*}/$pkgname-$pkgver/${pkgname}-${pkgver}.tar.bz2"
+        "libusb-0.1-libusbx.patch")   
+md5sums=('2ca521fffadd0c28fdf174e6ec73865b'
+         '1612c3982f307da1332d6db57b16742b')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  # http://libusb.org/ticket/138 can be removed with libusbx 1.0.13
+  patch -Np0 -i ../libusb-0.1-libusbx.patch
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}
+

Copied: libusb-compat/repos/testing-i686/libusb-0.1-libusbx.patch (from rev 162896, libusb-compat/trunk/libusb-0.1-libusbx.patch)
===================================================================
--- testing-i686/libusb-0.1-libusbx.patch	                        (rev 0)
+++ testing-i686/libusb-0.1-libusbx.patch	2012-07-03 09:52:18 UTC (rev 162897)
@@ -0,0 +1,17 @@
+http://bugs.gentoo.org/423135
+
+--- libusb/core.c
++++ libusb/core.c
+@@ -32,12 +32,6 @@
+ static libusb_context *ctx = NULL;
+ static int usb_debug = 0;
+ 
+-enum usbi_log_level {
+-	LOG_LEVEL_DEBUG,
+-	LOG_LEVEL_INFO,
+-	LOG_LEVEL_WARNING,
+-	LOG_LEVEL_ERROR,
+-};
+ 
+ #ifdef ENABLE_LOGGING
+ #define _usbi_log(level, fmt...) usbi_log(level, __FUNCTION__, fmt)

Copied: libusb-compat/repos/testing-x86_64/PKGBUILD (from rev 162896, libusb-compat/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-07-03 09:52:18 UTC (rev 162897)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer:
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: arjan <arjan at archlinux.org>
+
+pkgname=libusb-compat
+pkgver=0.1.4
+pkgrel=2
+pkgdesc="Library to enable user space application programs to communicate with USB devices"
+arch=('i686' 'x86_64')
+url="http://libusb.sourceforge.net/"
+license=('LGPL')
+depends=('libusb' 'sh')
+options=('!libtool')
+source=("http://downloads.sourceforge.net/${pkgname%-*}/${pkgname}-${pkgver%.*}/$pkgname-$pkgver/${pkgname}-${pkgver}.tar.bz2"
+        "libusb-0.1-libusbx.patch")   
+md5sums=('2ca521fffadd0c28fdf174e6ec73865b'
+         '1612c3982f307da1332d6db57b16742b')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  # http://libusb.org/ticket/138 can be removed with libusbx 1.0.13
+  patch -Np0 -i ../libusb-0.1-libusbx.patch
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}
+

Copied: libusb-compat/repos/testing-x86_64/libusb-0.1-libusbx.patch (from rev 162896, libusb-compat/trunk/libusb-0.1-libusbx.patch)
===================================================================
--- testing-x86_64/libusb-0.1-libusbx.patch	                        (rev 0)
+++ testing-x86_64/libusb-0.1-libusbx.patch	2012-07-03 09:52:18 UTC (rev 162897)
@@ -0,0 +1,17 @@
+http://bugs.gentoo.org/423135
+
+--- libusb/core.c
++++ libusb/core.c
+@@ -32,12 +32,6 @@
+ static libusb_context *ctx = NULL;
+ static int usb_debug = 0;
+ 
+-enum usbi_log_level {
+-	LOG_LEVEL_DEBUG,
+-	LOG_LEVEL_INFO,
+-	LOG_LEVEL_WARNING,
+-	LOG_LEVEL_ERROR,
+-};
+ 
+ #ifdef ENABLE_LOGGING
+ #define _usbi_log(level, fmt...) usbi_log(level, __FUNCTION__, fmt)




More information about the arch-commits mailing list