[Buildroot] [PATCH] package/libgpiod: bump version to 1.6

Bartosz Golaszewski brgl at bgdev.pl
Fri Oct 30 10:16:04 UTC 2020


On Fri, Oct 30, 2020 at 10:34 AM Thomas Petazzoni
<thomas.petazzoni at bootlin.com> wrote:
>
> On Fri, 30 Oct 2020 10:25:37 +0100
> Bartosz Golaszewski <brgl at bgdev.pl> wrote:
>
> > > We can use the 1.4/1.6 conditional in libgpiod.mk, as 1.4 and 1.6 are
> > > guaranteed to offer the same API to users of the libraries.
> > >
> >
> > Unless the users use symbols that only first appeared in v1.6. v1.4 is
> > compatible with v1.6 (v1.6 doesn't change/remove any symbols), not the
> > other way around (v1.6 added new symbols).
>
> Well, that is an issue. An application that builds with 1.6 may not
> build with 1.4, so they are not compatible API-wise, and therefore
> having libgpiod.mk fall back to 1.4 automatically when the kernel
> headers are too old is going to potentially break applications that use
> 1.6-specific APIs.
>

Versioning of libgpiod just follows the regular MAJOR.MINOR.BUGFIX
scheme. Major releases break API. Minor releases don't break API but
(may) introduce new features. Bugfix releases don't change API. I
think this is the standard for most libraries. So far no buildroot
package even depends on libgpiod so this could only affect out-of-tree
users. I'm not sure what the policy here is @buildroot though.

Bartosz


More information about the buildroot mailing list