libftdi1: Update to 1.4 New in 1.4 - 2017-08-07 ----------------------- * New ftdi_usb_open_bus_addr() open function * Use BM/R series baud rate computation for FT230X * ftdi_get_error_string() now returns const char* * C++ API: Ability to open devices with empty descriptor strings * C++ API: Fix enumerations for buffer purge and modem controls * small build fixes and improvements in the python examples * ftdi_eeprom / eeprom handling: * New API function: ftdi_eeprom_get_strings() * Fix USE_SERIAL handling for 230X type chips * Make ftdi_read_eeprom_location() endianness independent * Fix flashing of FT245R New in 1.3 - 2016-05-20 ----------------------- * Added ftdi_usb_get_strings2() to prevent automatic device close (Fahrzin Hemmati) * Added ftdi_transfer_data_cancel() for cancellation of a submitted transfer, avoided resubmittion of a canceled transfer in the callbacks, replaced calls to libusb_handle_events with libusb_handle_events_timeout_completed (Eugene Hutorny) * ftdi_eeprom / eeprom handling: * Add support for arbitrary user data (Salvador Eduardo Tropea) * Add --build-eeprom support (Salvador Eduardo Tropea) * Fix use_usb_version config file option (Thilo Schulz) * Ability to include other config files in EEPROM config file (Thilo Schulz) * Add external oscillator enable bit (Raphael Assenat) * Support channel configuration (Stephan Linz) * Added --device option to ftdi_eeprom to specify FTDI device (Robin Haberkorn) * Fixed EEPROM user-area space checks for FT232R and FT245R chips (Robin Haberkorn) * Various improvements to CBUS handling, including the EEPROM (Robin Haberkorn) * swig wrapper: Fix handling of binary strings in ftdi_write_data() for python 3 (xantares09) * cbus python example code (Rodney Sinclair) * ftdi_stream: fix timeout setting (Ларионов Даниил) * Fixed typo in CBUS defines: CBUSG_DRIVE1 -> CBUSH_DRIVE1 New in 1.2 - 2014-11-21 ----------------------- * Support for FT230X devices (Uwe Bonnes) * ftdi_usb_get_strings(): Don't try to open an already open device (Denis Sirotkin) * Support for finding devices bricked by the Windows driver (Forest Crossman) * cmake build system: New LibFTDI1ConfigVersion.cmake file (xantares09) * Fix a typo in the MPSSE command CLK_BYTES_OR_LOW (Benjamin Vanheuverzwijn) * Various small code improvements (Florian Preinstorfer, Jochen Sprickerhof, xantares09)diff -r1.35 -r1.36 pkgsrc/devel/libftdi1/Makefile
(nia)
@@ -1,55 +1,36 @@ | @@ -1,55 +1,36 @@ | |||
1 | # $NetBSD: Makefile,v 1.35 2020/01/12 20:20:11 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.36 2020/03/24 16:21:12 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= libftdi1-1.1 | 3 | DISTNAME= libftdi1-1.4 | |
4 | PKGREVISION= 16 | |||
5 | CATEGORIES= devel | 4 | CATEGORIES= devel | |
6 | MASTER_SITES= https://www.intra2net.com/en/developer/libftdi/download/ | 5 | MASTER_SITES= https://www.intra2net.com/en/developer/libftdi/download/ | |
7 | EXTRACT_SUFX= .tar.bz2 | 6 | EXTRACT_SUFX= .tar.bz2 | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://www.intra2net.com/en/developer/libftdi/ | 9 | HOMEPAGE= https://www.intra2net.com/en/developer/libftdi/ | |
11 | COMMENT= Userland driver library for FTDI USB chips | 10 | COMMENT= Userland driver library for FTDI USB chips | |
12 | LICENSE= gnu-lgpl-v2.1 | 11 | LICENSE= gnu-lgpl-v2.1 | |
13 | 12 | |||
14 | USE_LIBTOOL= yes | 13 | BUILD_DEPENDS+= swig3-[0-9]*:../../devel/swig3 | |
14 | ||||
15 | USE_CMAKE= yes | 15 | USE_CMAKE= yes | |
16 | # false warning ? The "cmake" tool is used but not added to USE_TOOLS. | 16 | USE_TOOLS+= pkg-config | |
17 | USE_TOOLS+= pkg-config cmake | |||
18 | USE_LANGUAGES= c c++ | 17 | USE_LANGUAGES= c c++ | |
19 | 18 | |||
20 | PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 1.0 | 19 | CMAKE_ARGS+= -Wno-dev | |
21 | 20 | CMAKE_ARGS+= -DEXAMPLES=off | ||
22 | BUILD_DEPENDS+= libusb1-[0-9]*:../../devel/libusb1 | 21 | CMAKE_ARGS+= -DDOCUMENTATION=off | |
23 | # It is better off to have doxygen, but | |||
24 | # clang segfaults while packaging print/luatex | |||
25 | #BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen | |||
26 | 22 | |||
27 | PKGCONFIG_OVERRIDE+= libftdi1.pc.in | 23 | PKGCONFIG_OVERRIDE+= libftdi1.pc.in | |
28 | PKGCONFIG_OVERRIDE+= libftdipp1.pc.in | 24 | PKGCONFIG_OVERRIDE+= libftdipp1.pc.in | |
29 | 25 | |||
30 | PLIST_SUBST+= PYSITELIB=${PYSITELIB} | 26 | PLIST_SUBST+= PYSITELIB=${PYSITELIB} | |
31 | 27 | |||
32 | do-configure: | |||
33 | (cd ${WRKSRC} ; \ | |||
34 | cmake \ | |||
35 | -DEXAMPLES:BOOL=off \ | |||
36 | -DDOCUMENTATION:BOOL=off \ | |||
37 | -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE \ | |||
38 | -DCMAKE_INSTALL_PREFIX=${PREFIX} \ | |||
39 | -DCMAKE_INSTALL_RPATH=${PREFIX}/lib \ | |||
40 | -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=FALSE \ | |||
41 | -DLIBUSB_INCLUDE_DIR=${PREFIX}/include/libusb-1.0 \ | |||
42 | .) | |||
43 | # -DCMAKE_INSTALL_PREFIX=${PREFIX} converts /usr/local to ${PREFIX} | |||
44 | ||||
45 | .include "../../devel/boost-headers/buildlink3.mk" | 28 | .include "../../devel/boost-headers/buildlink3.mk" | |
46 | .include "../../devel/boost-libs/buildlink3.mk" | 29 | .include "../../devel/boost-libs/buildlink3.mk" | |
47 | .include "../../devel/confuse/buildlink3.mk" | 30 | .include "../../devel/confuse/buildlink3.mk" | |
48 | .include "../../mk/libusb.buildlink3.mk" | 31 | .include "../../devel/gettext-lib/buildlink3.mk" | |
49 | .include "../../devel/libusb1/buildlink3.mk" | 32 | .include "../../devel/libusb1/buildlink3.mk" | |
50 | .include "../../devel/swig/buildlink3.mk" | |||
51 | .include "../../lang/python/pyversion.mk" | 33 | .include "../../lang/python/pyversion.mk" | |
52 | .include "../../lang/${PYPACKAGE}/buildlink3.mk" | 34 | .include "../../lang/${PYPACKAGE}/buildlink3.mk" | |
53 | .include "../../lang/python/tool.mk" | 35 | .include "../../lang/python/tool.mk" | |
54 | ||||
55 | .include "../../mk/bsd.pkg.mk" | 36 | .include "../../mk/bsd.pkg.mk" |
@@ -1,21 +1,24 @@ | @@ -1,21 +1,24 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2014/10/04 12:01:08 mef Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2020/03/24 16:21:12 nia Exp $ | |
2 | bin/ftdi_eeprom | 2 | bin/ftdi_eeprom | |
3 | bin/libftdi1-config | 3 | bin/libftdi1-config | |
4 | include/libftdi1/ftdi.h | 4 | include/libftdi1/ftdi.h | |
5 | include/libftdi1/ftdi.hpp | 5 | include/libftdi1/ftdi.hpp | |
6 | lib/cmake/libftdi1/LibFTDI1Config.cmake | 6 | lib/cmake/libftdi1/LibFTDI1Config.cmake | |
7 | lib/cmake/libftdi1/LibFTDI1ConfigVersion.cmake | |||
7 | lib/cmake/libftdi1/UseLibFTDI1.cmake | 8 | lib/cmake/libftdi1/UseLibFTDI1.cmake | |
8 | lib/libftdi1.a | 9 | lib/libftdi1.a | |
9 | lib/libftdi1.so | 10 | lib/libftdi1.so | |
10 | lib/libftdi1.so.2 | 11 | lib/libftdi1.so.2 | |
11 | lib/libftdi1.so.2.1.0 | 12 | lib/libftdi1.so.2.4.0 | |
12 | lib/libftdipp1.a | 13 | lib/libftdipp1.a | |
13 | lib/libftdipp1.so | 14 | lib/libftdipp1.so | |
14 | lib/libftdipp1.so.2 | 15 | lib/libftdipp1.so.2.4.0 | |
15 | lib/libftdipp1.so.2.1.0 | 16 | lib/libftdipp1.so.3 | |
16 | lib/pkgconfig/libftdi1.pc | 17 | lib/pkgconfig/libftdi1.pc | |
17 | lib/pkgconfig/libftdipp1.pc | 18 | lib/pkgconfig/libftdipp1.pc | |
18 | ${PYSITELIB}/_ftdi1.so | 19 | ${PYSITELIB}/_ftdi1.so | |
19 | ${PYSITELIB}/ftdi1.py | 20 | ${PYSITELIB}/ftdi1.py | |
21 | share/doc/libftdi1/example.conf | |||
22 | share/libftdi/examples/cbus.py | |||
20 | share/libftdi/examples/complete.py | 23 | share/libftdi/examples/complete.py | |
21 | share/libftdi/examples/simple.py | 24 | share/libftdi/examples/simple.py |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.3 2015/11/03 03:27:40 agc Exp $ | 1 | $NetBSD: distinfo,v 1.4 2020/03/24 16:21:12 nia Exp $ | |
2 | 2 | |||
3 | SHA1 (libftdi1-1.1.tar.bz2) = f05ade5614aa31e64f91a30ce3782f7ca3704d18 | 3 | SHA1 (libftdi1-1.4.tar.bz2) = 5b14cebab8168e12dd6c2b5325a29ad93ed40f3d | |
4 | RMD160 (libftdi1-1.1.tar.bz2) = 185237715206743b3c4aeea1510137eca7c9042d | 4 | RMD160 (libftdi1-1.4.tar.bz2) = c7160d343c6098eb1f26f54d37b221113985e4e3 | |
5 | SHA512 (libftdi1-1.1.tar.bz2) = 49ca09a0e918ca5e03168cfa5d4aaec603141891cacc8f02ae63f5b21e3413a021afde05c6dc9883bb48c04a16c955b14513e8350c8c44540145fc12820721df | 5 | SHA512 (libftdi1-1.4.tar.bz2) = dbab74f7bc35ca835b9c6dd5b70a64816948d65da1f73a9ece37a0f0f630bd0df1a676543acc517b02a718bc34ba4f7a30cbc48b6eed1c154c917f8ef0a358fc | |
6 | Size (libftdi1-1.1.tar.bz2) = 99690 bytes | 6 | Size (libftdi1-1.4.tar.bz2) = 109521 bytes |