On Mon, Feb 13, 2023 at 11:15 PM Ferry Toth <[email protected]> wrote:
>
> Op 09-02-2023 om 20:57 schreef Bartosz Golaszewski:
> > On Thu, Feb 9, 2023 at 8:26 PM Ferry Toth <[email protected]> wrote:
> >>
> >> Hi,
> >>
> >> Op 08-02-2023 om 16:25 schreef Bartosz Golaszewski:
> >>> From: Bartosz Golaszewski <[email protected]>
> >>>
> >>> We've just tagged the release candidate for libgpiod v2. This is a major
> >>> release entirely overhauling the API in a backward incompatible way.
> >>
> >> Thanks for creating this!
> >>
> >>> While this is not the final release yet, it's not likely to change much so
> >>> I'd like to make it available in meta-openembedded to give it exposure to
> >>> some testing. When we do release v2.0, it'll be just a matter of bumping 
> >>> the
> >>> version.
> >>>
> >>> Currently no other package depends on libgpiod in meta-openembedded, so 
> >>> I'd
> >>> like to avoid having two packages (libgpiod and libgpiod2). Instead let's
> >>> provide recipes for both versions but keep them under the common libgpiod 
> >>> name
> >>> as it's unlikely anyone would need both versions in a single system. This 
> >>> is
> >>> after all a medium-sized project that shouldn't require too much work in 
> >>> order
> >>> to port a user to the new major release.
> >>
> >> Nevertheless there may be packages in other layers using it (meta-acpi,
> >> meta-intel-edison). I think there will be a period where both may need
> >> to coexist.
> >>
> >
> > Can those layers just set the PREFERRED_VERSION?
>
> Yes, but it doesn't the problem when one app needs v1 and the other
> needs v2.
>

Yeah, this is what I'm trying to explain. How likely is it that the
same system will use two versions of libgpiod at the same time? IMO
highly unlikely because this is not gstreamer or some other huge
project, it's a small-to-middle-sized library that's most likely ever
only used by a single program or script on a given system.

I'd prefer to not provide libgpiod and libgpiod2 packages but instead
allow to alternate between them using PREFERRED_VERSION. If anyone
complains, then we can rethink it.

It's not like we're changing the default version in any of the stable
branches anyway.

Bart
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#101074): 
https://lists.openembedded.org/g/openembedded-devel/message/101074
Mute This Topic: https://lists.openembedded.org/mt/96832136/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to