summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
Commit message (Collapse)AuthorAgeFilesLines
...
* c-ares: remove custom patchesSinan Kaya2021-08-233-108/+1
| | | | | | | | | | | | | | | | | | | | | Current patch is breaking the library dependencies added by cmake especially when you are static linking. Applications need the ws2_32 library to be linked for mingw32 and with the existing patch this is not getting passed to the users. Current patch seems to address this issue: https://github.com/c-ares/c-ares/issues/373 Both issues are resolved in 1.17.2: 1.17.2-r0/git $ find . | grep c-ares-config.cmake.in ./c-ares-config.cmake.in 1.17.2-r0/git $ find . | grep libcares.pc.cmake ./libcares.pc.cmake Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opensc: upgrade 0.21.0 -> 0.22.0wangmy2021-08-231-1/+1
| | | | | | | | | | | | | | | | | | | Use standard paths for file cache on Linux and OSX Various issues of memory/buffer handling in legacy drivers mostly reported by oss-fuzz and coverity (tcos, oberthur, isoapplet, iasecc, westcos, gpk, flex, dnie, mcrd, authentic, belpic) Add threading test to pkcs11-tool Add support to generate generic secret keys opensc-explorer: Print information about LCS (Life cycle status byte) Add support for Apple's arm64 (M1) binaries, removed TokenD. A seperate installer with TokenD (and without arm64 binaries) will be available. Support for gcc11 and its new strict aliasing rules Initial support for building with OpenSSL 3.0 pkcs15-tool: Write data objects in binary mode Avoid limited size of log messages Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* c-ares: upgrade 1.17.1 -> 1.17.2wangmy2021-08-201-8/+5
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* udisks2: upgrade 2.9.2 -> 2.9.3Andreas Müller2021-08-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes since 2.9.2: * Ignore "Extended Boot Loader" GPT partition * Use the mkfs command to format exfat partitions * udiskslinuxblockobject: Add safety checks for UDisksLinuxBlock interface * udiskslinuxfsinfo: Add dosfstools >= 4.2 quirks * udiskslinuxblock: Re-read partition table after creating FAT filesystem * udiskslinuxdriveata: Use GTask to apply configuration in a thread * udiskslinuxfilesystemhelpers: Fix leaking string in case g_mkdtemp() fails * udiskslinuxmdraidobject: Optimize unused data out from the g_io_channel_read_to_end() call * udiskslinuxmdraidobject: Handle source attach failure gracefully * udiskslinuxmanager: Trigger uevent on a newly created mdraid array * udiskslinuxswapspace: Trigger uevent after setting label * udiskslinuxblock: Handle missing parent device while looking up drive for block * modules: Limit module name to alphanumeric characters and -_ separators * tests: Mark Drive.ATA tests as unstable * tests: Handle missing /dev/disk/by-path gracefully * tests: Respect custom method call timeouts * tests: Extend iscsi method call timeouts * tests: Extend module tests with invalid characters * tests: Do not dist config_h.py * spec: Do not build udisks2-zram for any RHEL release * udiskslinuxpartition: Trigger uevent after changing partition type * dbus_tests: Fix including non-existing tests based on tags * Add (no)autodefrag to list of allowed btrfs mount options * udisksclient: Make get_block_for_drive deterministic * Fix two comments (one copy'o, one typo) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fltk: upgrade 1.3.6 -> 1.3.7Andreas Müller2021-08-201-2/+2
| | | | | | | | | | | | | | | | | | | CHANGES IN FLTK 1.3 RELEASED: Jul 25 2021 FLTK 1.3.7 is a maintenance release for macOS only. It fixes one regression introduced in FLTK 1.3.6 and two long standing timer issues on macOS. Other platforms than macOS are not concerned. Changes: Avoid premature FL_RELEASE event at start of drag-n-drop operation Fix a timer inconsistency and prevent a crash Fl::add_timeout() must always create a new timer (#248) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fltk/CMake: Do not export executable 'fluid'Andreas Müller2021-08-202-0/+44
| | | | | | | | | | | | | | | | | It does not work for us: The executable 'fluid' is not installed in receipe-sysroot. So fltk cmake config contains an invalid reference. Consumers of fltk using cmake will fail during configure for this invalid reference with something like: | CMake Error at <...>/recipe-sysroot/usr/share/fltk/FLTK-Targets.cmake:129 (message): | The imported target "fluid" references the file | | "<...>/recipe-sysroot/usr/bin/fluid" | | but this file does not exist. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cereal: Use GNUInstallDirs instead of hard wiring install directoriesAnton Blanchard2021-08-192-1/+40
| | | | | | | On a multilib setup cmake files should go into lib64. Signed-off-by: Anton Blanchard <anton@ozlabs.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* uim: Dleted takao fonts from DEPENDS.leimaohui2021-08-171-2/+2
| | | | | | | It is odd that specify fonts in uim DEPENDS. Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* augeas: add selinux to PACKAGECONFIG if enable selinux distro featureYi Zhao2021-08-121-1/+1
| | | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* augeas: rename PACKAGECONFIG[libselinux] to PACKAGECONFIG[selinux]Yi Zhao2021-08-121-1/+1
| | | | | | | | Usually we use PACKAGECONFIG[selinux] rather than PACKAGECONFIG[libselinux] for selinux distro feautre. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libusbgx: Configure the Devices UsedMaksym Sloyko2021-08-071-1/+6
| | | | | | | | | | | | | | | | | | | | Add ability to configure the UDC used for specific schema. The feature is backwards compatible, so existing users don't need to change anything. If one wants to specify which UDC is used for specific schema, for example, `eth0`, they can add this variable to the configuration file: UDC_FOR_SCHEMA_eth0=f8000000.udc If the device file exists in /sys/class/udc when the gadget is started, it will be used for this schema. If this configuration is not present, first available device is picked. Signed-off-by: Maksym Sloyko <maxims@google.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poppler: upgrade 21.07.0 -> 21.08.0zhengruoqin2021-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 21.08.0: core: * Add API to allow addition and modification of outlines into a PDF * Use additional samples to test for constant parts of an axial gradient * forms: Create fallback fonts for some well known font names * Support reading the PDF Version from the Catalog * Fix XRef::copy when there are modified objects * Take into account that Date string may be in unicode * JBIG2Stream: Fix regression in "Do not consider a size-0 to be an error" * Replace a local bubble sort implementation by std::sort * Fix issues with malformed files build system: * Better error message when libjpeg is not found * Better error messages when libopenjpeg2 is not found qt5/qt6: * Document that a document has to outlive its pages * Make getPdfVersion return a dedicated version object glib: * mimick TextSelectionDumper logic change for spaceAfter Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* monit: upgrade 5.28.0 -> 5.28.1wangmy2021-08-061-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* emacs,libgpiod,cockpit: Fix override syntax in using FILES_${PN}Khem Raj2021-08-062-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* hdf5: improve reproducibilityMingli Yu2021-08-062-0/+66
| | | | | | | Remove the build flags to improve reproducibility. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-03153-655/+655
| | | | | | | | | | 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>
* vboxguestdrivers: Remove __divmoddi4 patchKhem Raj2021-08-032-37/+0
| | | | | | | | This function has been added upstream as well, therefore the patch is no longer needed Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Gianfranco Costamagna <locutusofborg@debian.org>
* vboxguestdrivers: upgrade 6.1.22 -> 6.1.24Gianfranco2021-07-292-279/+3
| | | | | | | | Drop patch to fix build failure with kernel 5.13, now part of upstream codebase Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it> Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* htop: Add ncurses-terminfo-base to RDEPENDSPaulo Neves2021-07-271-0/+2
| | | | | Without it there are no terminal configurations on the target and htop refuses to run.
* cmark: upgrade 0.30.0 -> 0.30.1wangmy2021-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: Properly indent block-level contents of list items in man (#258). https://github.com/commonmark/cmark/issues/258 This handles nested lists as well as items with multiple paragraphs. The change requires addition of a new field block_number_in_list_item to cmark_renderer, but this does not change the public API. Fix quadratic behavior when parsing emphasis (#389, Nick Wellnhofer). Delimiters can be deleted, so store delimiter positions instead of pointers in openers_bottom. Besides causing undefined behavior when reading a dangling pointer, this could also result in quadratic behavior when parsing emphasis. https://github.com/commonmark/cmark/issues/389 Fix quadratic behavior when parsing smart quotes (#388, Nick Wellnhofer). Remove matching smart quote delimiters. Otherwise, the same opener could be found over and over, preventing the openers_bottom optimization from kicking in and leading to quadratic behavior when processing lots of quotes. https://github.com/commonmark/cmark/issues/388 Modify CMake configuration so that the project can be built with older versions of CMake (#384, Saleem Abdulrasool). (In 0.30.0, some features were used that require CMake >= 3.3.) The cost of this backwards compatibility is that developers must now explicitly invoke cmark_add_compile_options when a new compilation target is added. https://github.com/commonmark/cmark/issues/384 Remove a comma at the end of an enumerator list, which was flagged by clang as a C++11 extension. make_man_page.py: use absolute path with CDLL. This avoids the error "file system relative paths not allowed in hardened programs." Include cmark version in cmark(3) man page (instead of LOCAL). Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* span-lite: upgrade 0.9.2 -> 0.10.0zhengruoqin2021-07-161-1/+1
| | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spitools: upgrade 0.8.7 -> 1.0.0Pierre-Jean Texier2021-07-161-2/+2
| | | | | | | | | | | | | | This includes the following changes: f5d8795 [RELEASE] 1.0.0. eaa6f35 [RELEASE] 1.0.0. fe6ffcb [DEV] Add license mention in `--version` display. f9edc7d [DEV] Support all configuration options in `spi-pipe`. 18f6b23 [DEV] Support SPI mode option in `spi-pipe` 8c6e7f7 [DEV] support `--bits` config option in `spi-pipe`. Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fftw: Update recipe to 3.3.9.Philip Balister2021-07-081-2/+1
| | | | | | | * Ptests passed for qemux86-64 Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poppler: upgrade 21.06.1 -> 21.07.0Andreas Müller2021-07-081-1/+1
| | | | | | | | | | | | | | Release 21.07.0 core: * JBIG2Stream: Do not consider a size-0 to be an error. Issue #535 * PSOutputDev: fix off-by-one error for image masking in L1/L2 output. Issue #1088 * CairoOutputDev: Fix memory leak on broken files * Minor code improvements build system: * set C standard to 11 without extensions Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgusb: upgrade 0.3.6 -> 0.3.7Andreas Müller2021-07-081-1/+1
| | | | | | | | | | | | | | | | | | | Version 0.3.7 ~~~~~~~~~~~~~ Released: 2021-05-24 New Features: - Add a FreeBSD CI target (Richard Hughes) Bugfixes: - Do not depend on libusb_get_parent() to fix FreeBSD compile (Richard Hughes) - Do not depend on libusb_get_port_number() to fix DragonFlyBSD compile (Richard Hughes) - Do not double-reference USB devices (Marco Trevisan) - Do not run the tests on FreeBSD (Richard Hughes) - Require *any* python3 to fix FreeBSD build (Richard Hughes) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cmark: upgrade 0.29.0 -> 0.30.0Andreas Müller2021-07-081-3/+1
| | | | | | | | | For full change-log see [1]. [1] https://github.com/commonmark/cmark/releases/tag/0.30.0 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* portaudio-v19: Use GNUInstallDirs to make it portableKhem Raj2021-07-062-0/+50
| | | | | | | libdir varies for different architectures therefore do not hardcode it to lib Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vboxguestdrivers: add a fix for build failure with kernel 5.13Gianfranco2021-07-012-0/+277
| | | | | | | | Its already upstream and also used in Debian and Ubuntu Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it> Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* monit: upgrade 5.27.2 -> 5.28.0Pierre-Jean Texier2021-06-271-2/+1
| | | | | | | See full changelog: https://mmonit.com/monit/changes/ Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libtinyxml2: upgrade 8.1.0 -> 9.0.0Pierre-Jean Texier2021-06-241-1/+1
| | | | | Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nss: add CVE-2006-5201 to allowlistMasaki Ambai2021-06-241-0/+3
| | | | | | | CVE-2006-5201 affects only using an RSA key with exponent 3 on Sun Solaris. Signed-off-by: Masaki Ambai <ambai.masaki@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* satyr: upgrade 0.37 -> 0.38zhengruoqin2021-06-231-1/+1
| | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* function2: upgrade 4.1.0 -> 4.2.0zangrc2021-06-231-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rsnapshot: upgrade 1.4.3 -> 1.4.4zhengruoqin2021-06-181-2/+2
| | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nano: upgrade 5.7 -> 5.8zangrc2021-06-181-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mg: upgrade 20210314 -> 20210609zangrc2021-06-181-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libiio: fix installing libiio when python3 bindings are enabledSam Van Den Berge2021-06-182-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* c-ares: Upgrade to 1.17.1 releaseKhem Raj2021-06-182-19/+12
| | | | | | | Forward port cmake-install-libcares.pc.patch, drop the need to install pkgconfig files as its already being done by main Makefile Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "libgpiod: ptest: warn if the gpio-mockup kernel module is not selected"Signed-off-by: Bartosz Golaszewski2021-06-091-7/+0
| | | | | | | | | | | | | This reverts commit 977c5f56198f075376f753b0b4178ecb35ad02ec. This recipe doesn't see the final value of KERNEL_FEATURES that the linux-yocto recipe uses - that's why this warning was always triggered if the gpio-mockup feature was not defined globally in this variable. The linux-yocto recipe pulls in gpio-mockup automatically if ptest is in DISTRO_FEATURES so we don't really needs thich check. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: update my email addressBartosz Golaszewski2021-06-091-1/+1
| | | | | | | | I now maintain the project and this recipe in my own time. Update my email address in the AUTHOR field. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libeigen: update LICENSE informationOvidiu Panait2021-06-091-2/+7
| | | | | | | | | | | | | | | | | | | | | | From COPYING.README: """ Eigen is primarily MPL2 licensed. See COPYING.MPL2 and these links: http://www.mozilla.org/MPL/2.0/ http://www.mozilla.org/MPL/2.0/FAQ.html Some files contain third-party code under BSD or LGPL licenses, whence the other COPYING.* files here. All the LGPL code is either LGPL 2.1-only, or LGPL 2.1-or-later. For this reason, the COPYING.LGPL file contains the LGPL 2.1 text. """ The upstream repository contains multiple COPYING files (various 3rd party code is under different licenses), so update the LICENSE information accordingly. Also, add MINPACK to meta-oe/licenses. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* remmina: upgrade 1.4.17 -> 1.4.18Andreas Müller2021-06-091-1/+1
| | | | | | | | | | | | | | | | | | List of changes: full changelog * [SNAP] Removing unsupported architectures !2268 @antenore * Try more shells as launcher if default isn't found !2269 @cirelli94 * Minor fixes for v1.4.17 !2270 @antenore * SSH session improvements !2271 @antenore * Fixes - Auto-start file created on tray icon disabled !2272 @antenore * RDP: Remove older usage of ClientHostname @giox069 * Fix libfreerdp version check @giox069 * Explicitly set user resolution to a multiple of 4 !2273 @antenore * Code refactoring - ASAN exceptions !2274 @antenore Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: add the python test-suite to the ptest packageBartosz Golaszewski2021-06-091-0/+1
| | | | | | | | | One more follow-up to the ptest updates - the python test suite was missed and is still in the main library package. Move it to libgpiod-ptest. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tbb: Fix warnings with clangKhem Raj2021-06-052-0/+41
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: ptest: only rrecommend a single module that we needBartosz Golaszewski2021-06-041-1/+1
| | | | | | | | We don't need to pull in all kernel modules. It's enough to just rrecommend gpio-mockup. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: ptest: add kernel-modules to RRECOMMENDSBartosz Golaszewski2021-06-041-0/+1
| | | | | | | | libgpiod needs the gpio-mockup kernel module to be loadable (not built-in). Add kernel-modules to RRECOMMENDS. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: ptest: warn if the gpio-mockup kernel module is not selectedBartosz Golaszewski2021-06-041-0/+7
| | | | | | | | | libgpiod test-suites work with the gpio-mockup kernel module. When using linux-yocto, it's enabled using the gpio/mockup.scc kernel feature. Check if this feature is present in KERNEL_FEATURE and warn if not. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: ptest: run all test-suites if possibleBartosz Golaszewski2021-06-042-8/+33
| | | | | | | | | | We have four test-suites total in libgpiod: for the core C library, gpio-tools and for C++ and Python bindings. Modify the recipe to install all of them depending on build settings and make run-ptest execute them if available. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: redirect stdout from the ptest executable to a fileBartosz Golaszewski2021-06-041-1/+1
| | | | | | | | Most tests redirect their standard output to a file. Let's make libgpiod consistent with this pattern. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: add RDEPENDS for testsBartosz Golaszewski2021-06-041-1/+1
| | | | | | | | | The libgpiod-tools test-suite requires bats at run-time. The python test-suite needs the packaging module. Add both to the RDEPENDS in the tests PACKAGECONFIG option Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>