linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH libgpiod 0/7] build: detach the libgpiod API version from the libgpiod package version
@ 2025-09-03 13:01 Bartosz Golaszewski
  2025-09-03 13:01 ` [PATCH libgpiod 1/7] bindings: cxx: move misc.hpp inclusion to the correct place Bartosz Golaszewski
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Bartosz Golaszewski @ 2025-09-03 13:01 UTC (permalink / raw)
  To: Linus Walleij, Kent Gibson, Vincent Fazio, Erik Wierich,
	Viresh Kumar
  Cc: linux-gpio, Bartosz Golaszewski

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.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
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,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-09-04  6:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-03 13:01 [PATCH libgpiod 0/7] build: detach the libgpiod API version from the libgpiod package version Bartosz Golaszewski
2025-09-03 13:01 ` [PATCH libgpiod 1/7] bindings: cxx: move misc.hpp inclusion to the correct place Bartosz Golaszewski
2025-09-03 13:02 ` [PATCH libgpiod 2/7] build: define a separate API version for the core C library Bartosz Golaszewski
2025-09-03 13:02 ` [PATCH libgpiod 3/7] core: change the behavior of gpiod_api_version() Bartosz Golaszewski
2025-09-03 13:02 ` [PATCH libgpiod 4/7] tests: update library API version string tests Bartosz Golaszewski
2025-09-03 13:02 ` [PATCH libgpiod 5/7] tools: display C API *and* libgpiod package version for '-v' Bartosz Golaszewski
2025-09-03 13:02 ` [PATCH libgpiod 6/7] dbus: manager: " Bartosz Golaszewski
2025-09-03 13:02 ` [PATCH libgpiod 7/7] dbus: gpiocli: display the libgpiod package version for --version Bartosz Golaszewski
2025-09-04  6:13 ` [PATCH libgpiod 0/7] build: detach the libgpiod API version from the libgpiod package version Erik Schilling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).