pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libusb-compat Update devel/libusb-compat to vers...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3cc13f69c067
branches:  trunk
changeset: 372779:3cc13f69c067
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Sat Dec 16 22:53:15 2017 +0000

description:
Update devel/libusb-compat to version 0.1.6-rc2 (as 0.1.6rc2 here)

>From the ChangeLog:

    tag the 0.1.6-rc1 release
    Add -no-undefined to LDFLAGS
    Add some missing definitions
    Use C99 standard fixed width integer types in usb.h
    Prevent libusb-1.0 library symbol clash
    Add a library destructor to handle cleaning up libusb.
    Revert "Link with -znodelete to disallow unloading"
    Revert "use atexit() to call libusb_exit()"
    Link with -znodelete to disallow unloading

Also changes the master site to GitHub.

Tested on NetBSD/amd64.

TODO: offer as an alternative to devel/libusb.

diffstat:

 devel/libusb-compat/Makefile |  17 +++++++++--------
 devel/libusb-compat/distinfo |  10 +++++-----
 2 files changed, 14 insertions(+), 13 deletions(-)

diffs (52 lines):

diff -r f4760e9f0b67 -r 3cc13f69c067 devel/libusb-compat/Makefile
--- a/devel/libusb-compat/Makefile      Sat Dec 16 19:46:54 2017 +0000
+++ b/devel/libusb-compat/Makefile      Sat Dec 16 22:53:15 2017 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.6 2017/09/30 07:44:12 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2017/12/16 22:53:15 khorben Exp $
 
-DISTNAME=      libusb-compat-0.1.5
+DISTNAME=      libusb-compat-0.1.6rc2
+GITHUB_PROJECT=        libusb-compat-0.1
+GITHUB_TAG=    v0.1.6-rc2
 CATEGORIES=    devel
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=libusb/libusb-compat-0.1/}
-EXTRACT_SUFX=  .tar.bz2
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=libusb/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/libusb/libusb/wiki
@@ -12,14 +13,14 @@
 
 USE_LIBTOOL=           yes
 USE_TOOLS+=            pkg-config
+USE_TOOLS+=            aclocal autoconf automake autoheader
 GNU_CONFIGURE=         yes
 PKGCONFIG_OVERRIDE+=   libusb.pc.in
 
-CPPFLAGS.SunOS+=       -Du_int8_t=uint8_t
-CPPFLAGS.SunOS+=       -Du_int16_t=uint16_t
-CPPFLAGS.SunOS+=       -Du_int32_t=uint32_t
+CONFLICTS=             libusb-[0-9]*
 
-CONFLICTS=             libusb-[0-9]*
+pre-configure:
+       cd ${WRKSRC} && sh autogen.sh
 
 .include "../../devel/libusb1/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f4760e9f0b67 -r 3cc13f69c067 devel/libusb-compat/distinfo
--- a/devel/libusb-compat/distinfo      Sat Dec 16 19:46:54 2017 +0000
+++ b/devel/libusb-compat/distinfo      Sat Dec 16 22:53:15 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 03:27:46 agc Exp $
+$NetBSD: distinfo,v 1.4 2017/12/16 22:53:15 khorben Exp $
 
-SHA1 (libusb-compat-0.1.5.tar.bz2) = 062319276d913c753a4b1341036e6a2e42abccc9
-RMD160 (libusb-compat-0.1.5.tar.bz2) = 1e4d8b9ea524818380c5a5f53d1d05dac37033cf
-SHA512 (libusb-compat-0.1.5.tar.bz2) = fe63bd1c65e67588a83ebfdd329025ecf75f33f877fb80dd83eb528df057efb591e010416027f9054294504562299166e8e2811a7681fa1967a03baae9b88857
-Size (libusb-compat-0.1.5.tar.bz2) = 276769 bytes
+SHA1 (libusb-compat-0.1.6rc2.tar.gz) = a398b24fab71e5742915a9eb7c8a389c7a492d57
+RMD160 (libusb-compat-0.1.6rc2.tar.gz) = aeaa6af3117c2e115b5e2a1b63698fa7857cfb0e
+SHA512 (libusb-compat-0.1.6rc2.tar.gz) = 825de5ac7dd26255360320928f03c2fba6be3a822add489665b50a0ac1babc35f60eebad9095a2a345c56ebb96f04206e91fd45ad966977ebf482ddf4db1998e
+Size (libusb-compat-0.1.6rc2.tar.gz) = 37284 bytes



Home | Main Index | Thread Index | Old Index