Commit Graph

19 Commits

Author SHA1 Message Date
Bartosz Golaszewski d7a9d70898 libgpiod: upgrade to v1.4
This release contains a couple fixes for C++ bindings and testing framework
refactoring. The --enable-install-tests option has been removed as it was
redundant. More info in NEWS.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-16 22:52:36 -07:00
James Feist 9c4cfa8905 libgpiod: Enable cxx bindings by default
If we move the packageconfig settings from the shared
inc file into the individual version recipes, we can
enable the cxx bindings by default for the newer version
of libgpiod.

Signed-off-by: James Feist <james.feist@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:45:33 -07:00
Bartosz Golaszewski b19957052e libgpiod: bump version to v1.3
There are several new features in this release. The one that impacts
the recipe is the option to install the test executable to bindir using
the new options (--enable-install-tests). This requires separate
PACKAGECONFIG entries for 0.x and 1.x series.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-26 09:43:57 -07:00
Bartosz Golaszewski 2032f0f4d5 libgpiod: bump version to v1.2.1
This is a bugfix release fixing two problems in C++ bindings.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-17 12:21:27 -08:00
Ferry c44679b494 libgpiod_1.2: add dependency on python when building python bindings
Commit ab54dd75 "libgpiod: Rrecommend python3 only for PN-python package" also removes the build dependency
on python3 however this results in fatal error: Python.h: No such file or directory #include <Python.h>

Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-10 09:05:36 -08:00
Khem Raj 56fe916ab5 libgpiod: Rrecommend python3 only for PN-python package
Fixes overdependency on PN

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-23 13:29:20 -08:00
Bartosz Golaszewski 016b243f10 libgpiod: bump version to v1.2
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-09 07:29:59 -08:00
Bartosz Golaszewski 37e7ce413f libgpiod: bump version to v1.1.1
This is a bug-fix release that fixes a couple memory leaks and bugs in
python bindings discovered in the v1.1 release.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-27 07:19:10 -07:00
Bartosz Golaszewski 5554fd12ac libgpiod: add packageconfig for C++ bindings
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-14 08:57:14 -07:00
Martin Hundebøll bb57bac845 libgpiod: add packageconfig for python bindings
Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-26 21:10:55 -07:00
Martin Hundebøll 034bb63ad8 libgpiod: update to 1.1
Add native dependency on autoconf-archive as it is now used by the
libgpiod autotools.

Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-26 21:10:55 -07:00
Bartosz Golaszewski 1d1a1ae7a5 libgpiod: add support for v1.x series
Add a recipe for libgpiod v1.0.1. It can live next to the one for v0.3.3.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-01 18:15:44 -07:00
Bartosz Golaszewski 22aca9c557 libgpiod: bump version to v0.3.3
This is a bug fix release of the v0.3.x series.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-01 18:15:44 -07:00
Bartosz Golaszewski 266ccace9c libgpiod: split recipe into .inc and .bb files
The build works the same for v0.x and v1.x series - leave only the
hashes in the .bb file and put everything else into .inc.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-01 18:15:44 -07:00
Bartosz Golaszewski 331e3d406e libgpiod: include the version in the recipe filename
As the first step in supporting both v0.x and v1.x series: include the
version in the recipe filename.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-01 18:15:44 -07:00
Martin Hundebøll c09fcd618e libgpiod: fix packaging of tools
The default packaging adds files from ${bindir} to the primary package,
so that following packages don't see any files in ${bindir}. This causes
the libgpiod-tools package to empty, as it is appended (+=) to PACKAGES.

Change the assignment to PACKAGES to a prepend (=+) to populate the
libgpiod-tools package with the gpio{detect,find,get,info,mon,set}
executables.

To avoid missing tools for existing installations of libgpiod, the
libgpiod-tools package is setup as a recommendation by libgpiod when the
tools package config is enabled.

Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-21 18:41:47 -07:00
Bartosz Golaszewski 4ab1b815ca libgpiod: bump version to v0.3.2
Bug fix release:
- correctly handle signal interrupts when polling in gpiod_simple_event_loop()
- fix the linking order when building with static libraries
- pass the correct consumer string to gpiod_simple_get_value_multiple() in
  gpioget
- fix a line test case: don't use open-drain or open-source flags for input
  mode
- fix the flags passed to ar in order to supress a build warning
- set the last error code in gpiod_chip_open_by_label() to ENOENT if a chip
  can't be found

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-15 16:34:05 -08:00
Bartosz Golaszewski 453cd9bc0c libgpiod: bump version to v0.3.1
The project is now hosted at kernel.org. Updates since v0.2 include
a couple bug-fixes and new features for gpiomon.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-18 10:17:56 +02:00
Marek Belisko ce3ad5a67b recipes-support: Move libgpiod to meta-oe directory
Previously it was placed in meta directory which is
wrong. Move to meta-oe.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-05 11:01:46 +02:00