[libcamera-devel] [PATCH v2 0/2] Use x.y soname versioning

Kieran Bingham kieran.bingham at ideasonboard.com
Mon May 15 11:58:10 CEST 2023


Users of libcamera will benefit from not having to recompile
applications and frameworks against every new release point of
libcamera. While we don't yet mandate a stable ABI we are currently
incrementing the SONAME for 'every release'.

With automatic ABI breakage detection we can improve this situation so
that we only increment the SONAME when there is an ABI breakage.

This will extend the compatbiilty of applications for longer and reduce
the burden on application writers and packagers, and by incrementing the
minor number on any breakage point we can make clear human readable
indicators of what versions are compatible.

We retain the leading 'major version 0' to indicate we are not yet
feature complete.

The abi-compat script currently produces an HTML file, but can be
adapted later to output XML and be processed by any additional automated
tooling that might be suitable to report directly on patches and
branches when ABI breakages occur.


Kieran Bingham (2):
  utils: ABI Compatibility checker
  meson: Use x.y soname versioning

 meson.build         |  10 +--
 utils/abi-compat.sh | 198 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 202 insertions(+), 6 deletions(-)
 create mode 100755 utils/abi-compat.sh

-- 
2.34.1



More information about the libcamera-devel mailing list