Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2020 10:13:38 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Boris Samorodov <bsam@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r542078 - in head/devel/libftdi1: . files
Message-ID:  <20200714101338.aa5efa5206546c63ec4b3bdb@bidouilliste.com>
In-Reply-To: <202007121302.06CD2KYD045735@repo.freebsd.org>
References:  <202007121302.06CD2KYD045735@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 12 Jul 2020 13:02:20 +0000 (UTC)

 Hi Boris,

Boris Samorodov <bsam@FreeBSD.org> wrote:

> Author: bsam
> Date: Sun Jul 12 13:02:20 2020
> New Revision: 542078
> URL: https://svnweb.freebsd.org/changeset/ports/542078
> 
> Log:
>   devel/libftdi1: Update to version 1.5 and:
>   
>   - mark dual licensed;
>   - regenerate patches;
>   - pet portlint (shuffle some Makefile lines).
>   
>   New in 1.5 - 2020-07-07
>   -----------------------
>   * Implement tc[io]flush methods & deprecate broken purge_buffers methods
>   
>     Please check your code for ftdi_usb_purge_rx_buffer(),
>     ftdi_usb_purge_tx_buffer() and ftdi_usb_purge_buffers()
>     and migrate to the new ftdi_tc[io]flush() methods.
>   
>     Old code will continue to function, but you'll get
>     a deprecation warning during compilation.
>   
>   * Add program to test buffer flush (purge) functionality
>   * Add kernel driver auto attach/detach.
>     See new AUTO_DETACH_REATACH_SIO_MODULE option
>   * Add ftdi_setflowctrl_xonxoff()
>   * ftdi_eeprom / eeprom handling:
>     * Unify handling of all boolean eeprom flags
>     * Add device release number support
>     * Add channel_a_driver support for type xxR chips
>     * Add support for group0 drive levels on x232H chips
>     * Fix handling of high_current_drive parameter
>     * Fix inverted handling of VCP driver field for TYPE_R chips
>     * New --verbose option for eeprom decode operation
>   * Add example code for async mode
>   * Add SPDX license identifiers to the core library & ftdi_eeprom
>   * Various python SWIG wrapper improvements
>   * Various cmake file improvements
>   * Fix small bugs in error code paths
> 
> Modified:
>   head/devel/libftdi1/Makefile
>   head/devel/libftdi1/distinfo
>   head/devel/libftdi1/files/patch-CMakeLists.txt
>   head/devel/libftdi1/files/patch-cmake__FindUSB1.cmake
>   head/devel/libftdi1/files/patch-examples__CMakeLists.txt
>   head/devel/libftdi1/files/patch-test_CMakeLists.txt
>   head/devel/libftdi1/pkg-plist
> 

 After this update pkg-config gives the same include dir for libftdi1
and libftdipp1.

 With 1.4_15 :

$ pkg-config --cflags
libftdi1 -I/usr/local/include/libftdi1
$ pkg-config --cflags
libftdipp1 -I/usr/local/include/libftdi1 
$ ls /usr/local/include/libftdi1
ftdi.h          ftdi.hpp

 With 1.5
$ pkg-config --cflags libftdi1
-I/usr/local/include/libftdipp1 
$ pkg-config --cflags libftdipp1
-I/usr/local/include/libftdipp1 
$ ls /usr/local/include/libftdipp1/
ftdi.hpp

 ftdi.h is still present in the same directory.

 Haven't looked at the cmake files.

-- 
Emmanuel Vadot <manu@bidouilliste.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200714101338.aa5efa5206546c63ec4b3bdb>