[haiku-development] Re: Services Kit status for beta 3

  • From: "Adrien Destugues" <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 08 Mar 2021 17:08:31 +0000

I think we need to find another solution in the longer term. Not that I have 
any proposals.

If I'm porting a version, or depending on version 6.9, I'd name it icu69, 
even though ABI would be
66.

In the case of ICU, every major version changes the ABI (on purpose: they have 
a namespace with the
version in it).

So while this makes sense to those initiated into the 'magic' ABI versioning, 
it causes confusion
for everyone else.

The version is actually 66 (not 6.6). "66" is not some complex made up thing:
it is just ICU version 66.

So it's very simple: the ICU major version number is included in the package 
name. That's all.
No 'magic' involved.

Almost sounds like a GSoC proj to find a better way..

The possibly better way is to patch libsolv to allow installing multiple 
versions of a package.

We don't use the package name for anything, the dependencies between packages 
will (correctly)
use the library soname to decide what gets used already. But libsolv has a 
constraint that only
a single version of a package (identified by its name) can be installed.

We could remove this constraint, but then it is not clear if normal updates to 
packages would
still work correctly. And having multiple packages with the same name may cause 
even more
confusion in some cases. Some experimentation would be needed to make sure it 
doesn't break
something else.

-- 
Adrien.


Other related posts: