Tue Mar 24 16:21:12 2020 UTC ()
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)


(nia)
diff -r1.35 -r1.36 pkgsrc/devel/libftdi1/Makefile
diff -r1.2 -r1.3 pkgsrc/devel/libftdi1/PLIST
diff -r1.3 -r1.4 pkgsrc/devel/libftdi1/distinfo

cvs diff -r1.35 -r1.36 pkgsrc/devel/libftdi1/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/libftdi1/Makefile 2020/01/12 20:20:11 1.35
+++ pkgsrc/devel/libftdi1/Makefile 2020/03/24 16:21:12 1.36
@@ -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
3DISTNAME= libftdi1-1.1 3DISTNAME= libftdi1-1.4
4PKGREVISION= 16 
5CATEGORIES= devel 4CATEGORIES= devel
6MASTER_SITES= https://www.intra2net.com/en/developer/libftdi/download/ 5MASTER_SITES= https://www.intra2net.com/en/developer/libftdi/download/
7EXTRACT_SUFX= .tar.bz2 6EXTRACT_SUFX= .tar.bz2
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://www.intra2net.com/en/developer/libftdi/ 9HOMEPAGE= https://www.intra2net.com/en/developer/libftdi/
11COMMENT= Userland driver library for FTDI USB chips 10COMMENT= Userland driver library for FTDI USB chips
12LICENSE= gnu-lgpl-v2.1 11LICENSE= gnu-lgpl-v2.1
13 12
14USE_LIBTOOL= yes 13BUILD_DEPENDS+= swig3-[0-9]*:../../devel/swig3
 14
15USE_CMAKE= yes 15USE_CMAKE= yes
16# false warning ? The "cmake" tool is used but not added to USE_TOOLS. 16USE_TOOLS+= pkg-config
17USE_TOOLS+= pkg-config cmake 
18USE_LANGUAGES= c c++ 17USE_LANGUAGES= c c++
19 18
20PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 1.0 19CMAKE_ARGS+= -Wno-dev
21 20CMAKE_ARGS+= -DEXAMPLES=off
22BUILD_DEPENDS+= libusb1-[0-9]*:../../devel/libusb1 21CMAKE_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
27PKGCONFIG_OVERRIDE+= libftdi1.pc.in 23PKGCONFIG_OVERRIDE+= libftdi1.pc.in
28PKGCONFIG_OVERRIDE+= libftdipp1.pc.in 24PKGCONFIG_OVERRIDE+= libftdipp1.pc.in
29 25
30PLIST_SUBST+= PYSITELIB=${PYSITELIB} 26PLIST_SUBST+= PYSITELIB=${PYSITELIB}
31 27
32do-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"

cvs diff -r1.2 -r1.3 pkgsrc/devel/libftdi1/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/libftdi1/PLIST 2014/10/04 12:01:08 1.2
+++ pkgsrc/devel/libftdi1/PLIST 2020/03/24 16:21:12 1.3
@@ -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 $
2bin/ftdi_eeprom 2bin/ftdi_eeprom
3bin/libftdi1-config 3bin/libftdi1-config
4include/libftdi1/ftdi.h 4include/libftdi1/ftdi.h
5include/libftdi1/ftdi.hpp 5include/libftdi1/ftdi.hpp
6lib/cmake/libftdi1/LibFTDI1Config.cmake 6lib/cmake/libftdi1/LibFTDI1Config.cmake
 7lib/cmake/libftdi1/LibFTDI1ConfigVersion.cmake
7lib/cmake/libftdi1/UseLibFTDI1.cmake 8lib/cmake/libftdi1/UseLibFTDI1.cmake
8lib/libftdi1.a 9lib/libftdi1.a
9lib/libftdi1.so 10lib/libftdi1.so
10lib/libftdi1.so.2 11lib/libftdi1.so.2
11lib/libftdi1.so.2.1.0 12lib/libftdi1.so.2.4.0
12lib/libftdipp1.a 13lib/libftdipp1.a
13lib/libftdipp1.so 14lib/libftdipp1.so
14lib/libftdipp1.so.2 15lib/libftdipp1.so.2.4.0
15lib/libftdipp1.so.2.1.0 16lib/libftdipp1.so.3
16lib/pkgconfig/libftdi1.pc 17lib/pkgconfig/libftdi1.pc
17lib/pkgconfig/libftdipp1.pc 18lib/pkgconfig/libftdipp1.pc
18${PYSITELIB}/_ftdi1.so 19${PYSITELIB}/_ftdi1.so
19${PYSITELIB}/ftdi1.py 20${PYSITELIB}/ftdi1.py
 21share/doc/libftdi1/example.conf
 22share/libftdi/examples/cbus.py
20share/libftdi/examples/complete.py 23share/libftdi/examples/complete.py
21share/libftdi/examples/simple.py 24share/libftdi/examples/simple.py

cvs diff -r1.3 -r1.4 pkgsrc/devel/libftdi1/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/libftdi1/distinfo 2015/11/03 03:27:40 1.3
+++ pkgsrc/devel/libftdi1/distinfo 2020/03/24 16:21:12 1.4
@@ -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
3SHA1 (libftdi1-1.1.tar.bz2) = f05ade5614aa31e64f91a30ce3782f7ca3704d18 3SHA1 (libftdi1-1.4.tar.bz2) = 5b14cebab8168e12dd6c2b5325a29ad93ed40f3d
4RMD160 (libftdi1-1.1.tar.bz2) = 185237715206743b3c4aeea1510137eca7c9042d 4RMD160 (libftdi1-1.4.tar.bz2) = c7160d343c6098eb1f26f54d37b221113985e4e3
5SHA512 (libftdi1-1.1.tar.bz2) = 49ca09a0e918ca5e03168cfa5d4aaec603141891cacc8f02ae63f5b21e3413a021afde05c6dc9883bb48c04a16c955b14513e8350c8c44540145fc12820721df 5SHA512 (libftdi1-1.4.tar.bz2) = dbab74f7bc35ca835b9c6dd5b70a64816948d65da1f73a9ece37a0f0f630bd0df1a676543acc517b02a718bc34ba4f7a30cbc48b6eed1c154c917f8ef0a358fc
6Size (libftdi1-1.1.tar.bz2) = 99690 bytes 6Size (libftdi1-1.4.tar.bz2) = 109521 bytes