summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libiio/libiio_git.bb
Commit message (Collapse)AuthorAgeFilesLines
* libiio: Rename to versioned recipe filenameMarek Vasut2023-08-111-83/+0
| | | | | | | | The libiio recipe now points to specific version within the git history, rename the recipe to versioned one instead of _git one to match it. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: Use tagged v0.25Marek Vasut2023-08-111-1/+1
| | | | | | | | Use the actual tagged libiio v0.25 , not some random older version. Fixes: 6be235b5c ("libiio: update to version 0.25") Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: update to version 0.25Marek Vasut2023-08-071-2/+2
| | | | | | | | The version 0.25 has been released, it has not been tagged however. Update the this version anyway. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: enable c++ bindingsMarek Vasut2023-07-121-0/+1
| | | | | | | | | | The C++ bindings are new in libiio 0.25 , make those available. Unlike python bindings which are gated off by PACKAGECONFIG, it seems the C++ bindings have no dependencies, the C++ compiler is always present, so the bindings can always be enabled. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: update to version 0.24Martin Siegumfeldt2023-05-171-6/+4
| | | | | | | | | | - drop 0001-CMake-Move-include-CheckCSourceCompiles-before-its-m.patch (integrated upstream) - updated CMakeLists.txt requires pkgconfig Signed-off-by: Martin Siegumfeldt <mns@gomspace.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: Do not generate lineinfo in lex/yacc generated filesKhem Raj2023-05-151-0/+2
| | | | | | | | This avoid buildpaths being in target packages. These are emitted into generated lexer.c and parser.c, therefore ensure that lex and yacc are directled to not include lines in their output. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: update to version 0.23Christian Eggers2022-03-101-11/+15
| | | | | | | | | | | | | - drop 0001-python-Do-not-verify-whether-libiio-is-installed-whe.patch (integrated upstream) - new PACKAGECONFIG "xml_backend" (WITH_XML_BACKEND=off must be explicitly provided if libxml2 is not available) - new PACKAGECONFIG "dnssd" (HAVE_DNS_SD=off must be explicitly provided if libavahi is not available) - python library has been renamed (libiio --> pylibiio) Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: use setuptools functions instead of distutilsSam Van Den Berge2022-02-111-3/+3
| | | | | | | | | | Since ca73393a36c4144662ea8570f904154188e9815a in oe-core, setuptools does not inherit from distutils3 anymore. Therefore replace the distutils functions and variables by their setuptools counterparts which are now available. Signed-off-by: Sam Van Den Berge <sam.van.den.berge@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-1/+1
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: depend on avahi only when network backed is usedNandor Han2021-10-011-2/+6
| | | | | | | | | | | | The `avahi` dependency is needed only when network backend is used. The current dependency configuration will add the `avahi` dependency regardless if network backend is used or not. Move the `avahi` dependency to be part of `PACKAGECONFIG` configuration which will insert the dependency only when needed. Signed-off-by: Nandor Han <nandor.han@vaisala.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: Make libiio-python3 depend on python3-corePeter Kjellerstedt2021-09-241-1/+4
| | | | | | | | Inheriting setuptools3 incorrectly adds the dependency on python3-core to libiio instead of to libiio-python3 where it belongs. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-5/+5
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libiio: fix installing libiio when python3 bindings are enabledSam Van Den Berge2021-06-181-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes the following error when libiio is installed when python3 bindings are enabled: ERROR: Execution of '.../libiio/0.21+gitAUTOINC+565bf68ecc-r0/temp/run.do_install.2349473' failed with exit code 1: running build running build_py running install Traceback (most recent call last): File ".../libiio/0.21+gitAUTOINC+565bf68ecc-r0/build/bindings/python/setup.py", line 77, in _check_libiio_installed raise OSError OSError During handling of the above exception, another exception occurred: Traceback (most recent call last): File ".../libiio/0.21+gitAUTOINC+565bf68ecc-r0/build/bindings/python/setup.py", line 106, in <module> setup(**config) File ".../libiio/0.21+gitAUTOINC+565bf68ecc-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup return distutils.core.setup(**attrs) File ".../libiio/0.21+gitAUTOINC+565bf68ecc-r0/recipe-sysroot-native/usr/lib/python3.9/distutils/core.py", line 148, in setup dist.run_commands() File ".../libiio/0.21+gitAUTOINC+565bf68ecc-r0/recipe-sysroot-native/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File ".../libiio/0.21+gitAUTOINC+565bf68ecc-r0/recipe-sysroot-native/usr/lib/python3.9/distutils/dist.py", line 985, in run_command cmd_obj.run() File ".../libiio/0.21+gitAUTOINC+565bf68ecc-r0/build/bindings/python/setup.py", line 52, in run self._check_libiio_installed() File "/libiio/0.21+gitAUTOINC+565bf68ecc-r0/build/bindings/python/setup.py", line 83, in _check_libiio_installed raise Exception(msg) Exception: The libiio library could not be found. libiio needs to be installed first before the python bindings. The latest release can be found on GitHub: https://github.com/analogdevicesinc/libiio/releases Some time ago a fix for this issue was already discussed here [1]. However in the same discussion also a second issue was being handled. A fix for the second issue was merged in 51f98865da0. The first issue didn't pop up anymore and so a fix was never applied. Recently however after switching from build machine, I started seeing the first issue. I suspect due to build caching the first issue didn't pop up anymore before up until now. With this patch, fixes are now available for both issues handled in [1]. [1]: https://github.com/openembedded/meta-openembedded/issues/248 Signed-off-by: Sam Van Den Berge <sam.van.den.berge@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: mark libxml2 as depends for usb_backendNuno Sá2021-05-171-1/+1
| | | | | | | | When usb_backend is configured, libxml2 is set as a RDEPEND. But, in reality we want it to be part of the DEPENDS list. Signed-off-by: Nuno Sá <nuno.sa@analog.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: add serial backend supportNuno Sá2021-05-171-1/+2
| | | | | | | This patch adds the serial backend to the PACKAGECONFIG list. Signed-off-by: Nuno Sá <nuno.sa@analog.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: fix build when python bindings are enabledSam Van Den Berge2021-03-051-3/+23
| | | | | | | See https://github.com/openembedded/meta-openembedded/issues/248 Signed-off-by: Sam Van Den Berge <sam.van.den.berge@telenet.be> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: upgrade 0.20 -> 0.21Zang Ruochen2020-06-301-2/+2
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: upgrade 0.19 -> 0.20Pierre-Jean Texier2020-06-081-2/+2
| | | | | | | See full changelog https://github.com/analogdevicesinc/libiio/releases/tag/v0.20 Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: fix upstream check URLPierre-Jean Texier2020-03-251-0/+1
| | | | | | | | | Fixes: INFO: libiio 0.19 2015.2 None 18563161daa5d61c9e404be26e714dbaf0f344f2 Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: upgrade 0.18 -> 0.19Pierre-Jean Texier2020-02-141-3/+2
| | | | | | | See full changelog https://github.com/analogdevicesinc/libiio/releases/tag/v0.19 Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: add python3 packageconfigMartin Siegumfeldt2019-11-011-4/+7
| | | | | | | | | | | | * used for enabling python bindings - note that behavior is changed from 'opt-out' to 'opt-in' * config is used for potentially inheriting distutils3-base * also decapitalize packageconfig names similar to other recipes Signed-off-by: Martin Siegumfeldt <mns@gomspace.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: Inherit distutils3-base for packaging python filesKhem Raj2019-10-251-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: bump to version 0.18+Martin Siegumfeldt2019-10-171-2/+3
| | | | | | | | Move a few commits ahead of 0.18 in order to resolve build issue related to static only library installation. Signed-off-by: Martin Siegumfeldt <mns@gomspace.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: allow python3 bindings to be builtMartin Siegumfeldt2019-10-171-4/+4
| | | | | Signed-off-by: Martin Siegumfeldt <mns@gomspace.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "libiio: fix build of python bindins"Martin Siegumfeldt2019-10-171-2/+1
| | | | | | | | | | This reverts commit b0caf1fb82b90a6b123ba4463a8405568eda0389. * bindings are build through the variant 'libiio-python' and is not intended installed as part of just 'libiio' Signed-off-by: Martin Siegumfeldt <mns@gomspace.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Bump libiio version to 0.15Nicholas Pillitteri2018-11-261-2/+2
|
* libiio: fix build of python bindinsNeil Armstrong2018-07-201-1/+2
| | | | | | | | | | | | In the actual form, the python bindings are never built since the recipe does not depend on python, thus the cmake script does not detect python and does not build the bindings. Add a summy PACKAGECONFIG for the python bindings to make it simpler to disable. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: update and improve recipeAdrian2018-03-161-6/+26
| | | | | | | | | | * Update to latest version 0.14. * Make depends on avahi, libusb1 and libxml2 optional by PACKAGECONFIG or DISTRO flags. * Install iiod.service file Signed-off-by: Adrian Freihofer <adrian.freihofer@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libiio: Update to 0.8Steven van der Schoot2017-01-251-2/+2
| | | | | Signed-off-by: Steven van der Schoot <steven.vanderschoot@solarteameindhoven.nl> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libiio: add recipeAndrea Galbusera2016-11-231-0/+24
libiio is a C library for interfacing with IIO devices. It abstracts the low-level details of the hardware, and provides a simple yet complete programming interface. This recipe provides the following packages: * libiio: main package with C library * libiio-iiod: user space daemon providing network backend to iio devices * libiio-tests: user space test applications using libiio * libiio-python: python bindings Signed-off-by: Andrea Galbusera <gizero@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>