aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libiio
AgeCommit message (Collapse)Author
2021-10-08libiio: Make libiio-python3 depend on python3-corePeter Kjellerstedt
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: Armin Kuster <akuster808@gmail.com>
2021-07-13libiio: fix installing libiio when python3 bindings are enabledSam Van Den Berge
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: Armin Kuster <akuster808@gmail.com>
2021-03-05libiio: fix build when python bindings are enabledSam Van Den Berge
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>
2020-06-30libiio: upgrade 0.20 -> 0.21Zang Ruochen
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-08libiio: upgrade 0.19 -> 0.20Pierre-Jean Texier
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>
2020-03-25libiio: fix upstream check URLPierre-Jean Texier
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>
2020-02-14libiio: upgrade 0.18 -> 0.19Pierre-Jean Texier
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>
2019-11-01libiio: add python3 packageconfigMartin Siegumfeldt
* 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>
2019-10-25libiio: Inherit distutils3-base for packaging python filesKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-17libiio: bump to version 0.18+Martin Siegumfeldt
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>
2019-10-17libiio: allow python3 bindings to be builtMartin Siegumfeldt
Signed-off-by: Martin Siegumfeldt <mns@gomspace.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-17Revert "libiio: fix build of python bindins"Martin Siegumfeldt
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>
2018-11-26Bump libiio version to 0.15Nicholas Pillitteri
2018-07-20libiio: fix build of python bindinsNeil Armstrong
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>
2018-03-16libiio: update and improve recipeAdrian
* 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>
2017-01-25libiio: Update to 0.8Steven van der Schoot
Signed-off-by: Steven van der Schoot <steven.vanderschoot@solarteameindhoven.nl> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-11-23libiio: add recipeAndrea Galbusera
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>