build: detach the libgpiod API version from the libgpiod package version
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected] change-id 20250901-api-version-detach-67d8e984d529Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | bindings: cxx: move misc.hpp inclusion to the correct placebindings/ bindings/ | +1 | 0 replies | |
| 2/7 | build: define a separate API version for the core C libraryconfigure.ac | +4 | 0 replies | |
| 3/7 | core: change the behavior of gpiod_api_version()lib/ | +1 | 0 replies | |
| 4/7 | tests: update library API version string testsbindings/ bindings/ bindings/ +1 more | +4 | 0 replies | |
| 5/7 | tools: display C API *and* libgpiod package version for '-v'tools/ | +2 | 0 replies | |
| 6/7 | dbus: manager: display C API *and* libgpiod package version for '-v'dbus/ | +3 | 0 replies | |
| 7/7 | dbus: gpiocli: display the libgpiod package version for --versiondbus/ | +1 | 0 replies |
Reviews trailers per patch
None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Erik Wierich |
|---|---|
| Series | A-b |
| 1/7 | |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH libgpiod 0/7] build: detach the libgpiod API version from the libgpiod package version
The versioning of libgpiod has become quite messy due to the rapid evolution of the project in its initial stages (which forced an ABI version change without bumping the API) and later extension with several bindings and tools kept in the same repository.
Currently the library API version and the package version are the same but we're at a stage where the core C API will most likely remain quite stable but we're still extending other features of the project, like the DBus API, tools and possibly other bindings. Bumping the C API version because we added new features to included programs makes no sense so this series proposes to detach the core C API version from the libgpiod package version (except for the major version updates but I don't expect there to be one anytime soon).
The core C API will also apply to C++ and GLib bindings as they track the C API closely. Rust and Python bindings already have their own API versions.
---
Bartosz Golaszewski (7):
bindings: cxx: move misc.hpp inclusion to the correct place
build: define a separate API version for the core C library
core: change the behavior of gpiod_api_version()
tests: update library API version string tests
tools: display C API *and* libgpiod package version for '-v'
dbus: manager: display C API *and* libgpiod package version for '-v'
dbus: gpiocli: display the libgpiod package version for --version
bindings/cxx/gpiod.hpp | 1 + bindings/cxx/gpiodcxx/line-request.hpp | 2 -- bindings/cxx/tests/tests-misc.cpp | 2 +- bindings/glib/tests/tests-misc.c | 2 +- bindings/python/tests/tests_module.py | 2 +- configure.ac | 4 ++++ dbus/client/gpiocli.c | 2 +- dbus/manager/gpio-manager.c | 5 +++-- lib/misc.c | 2 +- tests/tests-misc.c | 2 +- tools/tools-common.c | 3 ++- 11 files changed, 16 insertions(+), 11 deletions(-)
---
base-commit: d0006cc3d57b0e8fe090a1596934340c34e69ab4
change-id: 20250901-api-version-detach-67d8e984d529
Best regards,
Signature · 1 line
Bartosz Golaszewski <[email protected]>