pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libftdi1 libftdi1: Update to 1.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/59d815f57f8f
branches:  trunk
changeset: 425921:59d815f57f8f
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Mar 24 16:21:12 2020 +0000

description:
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)

diffstat:

 devel/libftdi1/Makefile |  37 +++++++++----------------------------
 devel/libftdi1/PLIST    |  11 +++++++----
 devel/libftdi1/distinfo |  10 +++++-----
 3 files changed, 21 insertions(+), 37 deletions(-)

diffs (113 lines):

diff -r 29bbb5dee1c6 -r 59d815f57f8f devel/libftdi1/Makefile
--- a/devel/libftdi1/Makefile   Tue Mar 24 16:20:44 2020 +0000
+++ b/devel/libftdi1/Makefile   Tue Mar 24 16:21:12 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.35 2020/01/12 20:20:11 ryoon Exp $
+# $NetBSD: Makefile,v 1.36 2020/03/24 16:21:12 nia Exp $
 
-DISTNAME=      libftdi1-1.1
-PKGREVISION=   16
+DISTNAME=      libftdi1-1.4
 CATEGORIES=    devel
 MASTER_SITES=  https://www.intra2net.com/en/developer/libftdi/download/
 EXTRACT_SUFX=  .tar.bz2
@@ -11,45 +10,27 @@
 COMMENT=       Userland driver library for FTDI USB chips
 LICENSE=       gnu-lgpl-v2.1
 
-USE_LIBTOOL=   yes
+BUILD_DEPENDS+=        swig3-[0-9]*:../../devel/swig3
+
 USE_CMAKE=     yes
-# false warning ? The "cmake" tool is used but not added to USE_TOOLS.
-USE_TOOLS+=    pkg-config cmake
+USE_TOOLS+=    pkg-config
 USE_LANGUAGES= c c++
 
-PYTHON_VERSIONS_ACCEPTED=      27 # not yet ported as of 1.0
-
-BUILD_DEPENDS+=                libusb1-[0-9]*:../../devel/libusb1
-# It is better off to have doxygen, but
-# clang segfaults while packaging print/luatex
-#BUILD_DEPENDS+=       doxygen-[0-9]*:../../devel/doxygen
+CMAKE_ARGS+=   -Wno-dev
+CMAKE_ARGS+=   -DEXAMPLES=off
+CMAKE_ARGS+=   -DDOCUMENTATION=off
 
 PKGCONFIG_OVERRIDE+=   libftdi1.pc.in
 PKGCONFIG_OVERRIDE+=   libftdipp1.pc.in
 
 PLIST_SUBST+=  PYSITELIB=${PYSITELIB}
 
-do-configure:
-       (cd ${WRKSRC} ; \
-       cmake \
-       -DEXAMPLES:BOOL=off \
-       -DDOCUMENTATION:BOOL=off \
-       -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE \
-       -DCMAKE_INSTALL_PREFIX=${PREFIX} \
-       -DCMAKE_INSTALL_RPATH=${PREFIX}/lib \
-       -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=FALSE \
-       -DLIBUSB_INCLUDE_DIR=${PREFIX}/include/libusb-1.0 \
-       .)
-# -DCMAKE_INSTALL_PREFIX=${PREFIX} converts /usr/local to ${PREFIX}
-
 .include "../../devel/boost-headers/buildlink3.mk"
 .include "../../devel/boost-libs/buildlink3.mk"
 .include "../../devel/confuse/buildlink3.mk"
-.include "../../mk/libusb.buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/libusb1/buildlink3.mk"
-.include "../../devel/swig/buildlink3.mk"
 .include "../../lang/python/pyversion.mk"
 .include "../../lang/${PYPACKAGE}/buildlink3.mk"
 .include "../../lang/python/tool.mk"
-
 .include "../../mk/bsd.pkg.mk"
diff -r 29bbb5dee1c6 -r 59d815f57f8f devel/libftdi1/PLIST
--- a/devel/libftdi1/PLIST      Tue Mar 24 16:20:44 2020 +0000
+++ b/devel/libftdi1/PLIST      Tue Mar 24 16:21:12 2020 +0000
@@ -1,21 +1,24 @@
-@comment $NetBSD: PLIST,v 1.2 2014/10/04 12:01:08 mef Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/03/24 16:21:12 nia Exp $
 bin/ftdi_eeprom
 bin/libftdi1-config
 include/libftdi1/ftdi.h
 include/libftdi1/ftdi.hpp
 lib/cmake/libftdi1/LibFTDI1Config.cmake
+lib/cmake/libftdi1/LibFTDI1ConfigVersion.cmake
 lib/cmake/libftdi1/UseLibFTDI1.cmake
 lib/libftdi1.a
 lib/libftdi1.so
 lib/libftdi1.so.2
-lib/libftdi1.so.2.1.0
+lib/libftdi1.so.2.4.0
 lib/libftdipp1.a
 lib/libftdipp1.so
-lib/libftdipp1.so.2
-lib/libftdipp1.so.2.1.0
+lib/libftdipp1.so.2.4.0
+lib/libftdipp1.so.3
 lib/pkgconfig/libftdi1.pc
 lib/pkgconfig/libftdipp1.pc
 ${PYSITELIB}/_ftdi1.so
 ${PYSITELIB}/ftdi1.py
+share/doc/libftdi1/example.conf
+share/libftdi/examples/cbus.py
 share/libftdi/examples/complete.py
 share/libftdi/examples/simple.py
diff -r 29bbb5dee1c6 -r 59d815f57f8f devel/libftdi1/distinfo
--- a/devel/libftdi1/distinfo   Tue Mar 24 16:20:44 2020 +0000
+++ b/devel/libftdi1/distinfo   Tue Mar 24 16:21:12 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 03:27:40 agc Exp $
+$NetBSD: distinfo,v 1.4 2020/03/24 16:21:12 nia Exp $
 
-SHA1 (libftdi1-1.1.tar.bz2) = f05ade5614aa31e64f91a30ce3782f7ca3704d18
-RMD160 (libftdi1-1.1.tar.bz2) = 185237715206743b3c4aeea1510137eca7c9042d
-SHA512 (libftdi1-1.1.tar.bz2) = 49ca09a0e918ca5e03168cfa5d4aaec603141891cacc8f02ae63f5b21e3413a021afde05c6dc9883bb48c04a16c955b14513e8350c8c44540145fc12820721df
-Size (libftdi1-1.1.tar.bz2) = 99690 bytes
+SHA1 (libftdi1-1.4.tar.bz2) = 5b14cebab8168e12dd6c2b5325a29ad93ed40f3d
+RMD160 (libftdi1-1.4.tar.bz2) = c7160d343c6098eb1f26f54d37b221113985e4e3
+SHA512 (libftdi1-1.4.tar.bz2) = dbab74f7bc35ca835b9c6dd5b70a64816948d65da1f73a9ece37a0f0f630bd0df1a676543acc517b02a718bc34ba4f7a30cbc48b6eed1c154c917f8ef0a358fc
+Size (libftdi1-1.4.tar.bz2) = 109521 bytes



Home | Main Index | Thread Index | Old Index