Commit Graph

19 Commits

Author SHA1 Message Date
Giovanni Giacobbi 7af60cc3e2
libftdi1: Improve build binary reproducibility
The library embeds the result of "git describe" inside the source code, making the binary result dependent of the particular commit being used in the build root when building inside a git working copy.

As this is unnecessary information, remove this option and fallback to the default "unknown", which is also the value compiled by tools that do not clone but export the openwrt base tree.

Signed-off-by: Giovanni Giacobbi <giovanni@giacobbi.net>
2021-03-26 10:48:39 +00:00
Stijn Tintel 2331de4ec7
libftdi1: disable building documentation
This fixes the following build failure:

[ 66%] Generating ../doc/xml/ftdi_8c.xml
warning: Tag 'PERL_PATH' at line 2083 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'MSCGEN_PATH' at line 2105 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
[ 72%] Generating ftdi1_doc.i
Traceback (most recent call last):
  File "/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/libftdi1-1.4/python/doxy2swig.py", line 457, in <module>
    main()
  File "/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/libftdi1-1.4/python/doxy2swig.py", line 453, in main
    convert(args[0], args[1], not options.func_def, options.quiet)
  File "/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/libftdi1-1.4/python/doxy2swig.py", line 430, in convert
    p = Doxy2SWIG(input, include_function_definition, quiet)
  File "/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/libftdi1-1.4/python/doxy2swig.py", line 72, in __init__
    f = my_open_read(src)
  File "/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/libftdi1-1.4/python/doxy2swig.py", line 44, in my_open_read
    return open(source)
FileNotFoundError: [Errno 2] No such file or directory: '/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/libftdi1-1.4/doc/xml/ftdi_8c.xml'

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit c131843663)
2020-10-28 21:36:37 -07:00
Rosen Penev 73c7bcb639
libftdi1: Fix pkgconfig paths properly
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 0dac4b74ca)
2020-10-28 21:36:23 -07:00
Rosen Penev 82208ceca8
libftdi1: Apply pkgconfig fixes to libftdipp1 as well
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 762a0eeb79)
2020-10-28 21:36:15 -07:00
Rosen Penev 58b6d0ee5a
libftdi1: Partially add back InstallDev
The pkgconfig file needs changing.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 180134d04c)
2020-10-28 21:35:59 -07:00
Rosen Penev 55e7acc25e
libftdi1: Remove faulty change from last patch
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 79168cc259)
2020-10-28 21:35:42 -07:00
Rosen Penev 45e7e13dc0
libftdi1: Don't build examples
Add PKG_BUILD_PARALLEL for faster compilation.

Replace InstallDev section with CMAKE_INSTALL

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 2e12e13a3b)
2020-10-28 21:35:28 -07:00
Rosen Penev 7df84e7472 libftdi1: Fix compilation with most recent CMake
Description from Amol Bhave:

This package fails to compile with boost 1.70 when the boost cmake
config gets used.
As far as I can tell, Boost 1.70 introduced
BoostConfigVersion.cmake. In that file, the value of PACKAGE_VERSION is
set to 1.70. This makes CMake auto set the variable Boost_VERSION to
1.70. Historically, Boost_VERSION has been using the format like 170000,
and not 1.70. Some package cmake files still depend on this behavior
and make assertions such as Boost_VERSION > 168000. This is incompatible
with the new scheme.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-15 17:28:33 -07:00
Eneas U de Queiroz 0e9e060775 libftdi1: Fix compilation with cmake 3.12
Applied a patch submitted upstream that fixes a compilation error with
cmake >= 3.12 Error: Unable to find 'swig.swg' [...] 'python.swg'

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-07-31 18:12:28 -03:00
Álvaro Fernández Rojas f323fa432c libftdi1: update to v1.4
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2017-12-31 18:45:26 +01:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Álvaro Fernández Rojas 0a2cba338d libftdi: update to v1.3
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-06-01 17:51:13 +02:00
Jo-Philipp Wich 5c2689fe89 libftdi1: explicitely disable Boost unit tests
When libftdi1 is detecting the presence of the Boost unit testing framework,
it will conditionally enable the build of libftdi1 test binaries which fail to
link on some targets with the following error:

    CMakeFiles/test_libftdi1.dir/basic.cpp.o: In function `main':
    basic.cpp:(.text.startup+0xc): undefined reference to `boost::unit_test::unit_test_main(bool (*)(), int, char**)'
    collect2: error: ld returned 1 exit status
    test/CMakeFiles/test_libftdi1.dir/build.make:123: recipe for target 'test/test_libftdi1' failed
    make[6]: *** [test/test_libftdi1] Error 1

Since we do not care about test cases and since we want to avoid unpredictable
conditional compilation simply disable the testcases entirely.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-05-30 12:25:11 +02:00
Nicolas Thill fd2e9f0750 libftdi1: fix pkgconfig file
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-02-02 13:38:08 +01:00
Álvaro Fernández Rojas f58cd17867 libftdi: mode ftdi_eeprom from Libraries to Utilities
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2015-01-03 16:10:10 +01:00
Álvaro Fernández Rojas a42982c970 libftdi1: add libftdi1-config and ftdi_eeprom, simplify files copy
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2015-01-01 20:51:22 +01:00
Álvaro Fernández Rojas 39947d1f70 libftdi1: update to 1.2
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2014-11-25 19:27:05 +01:00
Steven Barth b349ec1d0e libftdi1: mark as non-MIPS16
Signed-off-by: Steven Barth <steven@midlink.org>
2014-08-08 13:11:06 +02:00
Álvaro Fernández Rojas 3db70e01a8 libftdi1: add new package.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2014-07-25 20:46:03 +02:00