[haiku] Re: The state of Haiku

  • From: Stephan Aßmus <superstippi@xxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Tue, 19 Jan 2016 13:26:46 +0100

Am 19.01.2016 um 11:41 schrieb Ingo Weinhold:

On 01/18/2016 04:26 PM, Simon Taylor wrote:
This sort of fragility is a bit of a shame - essentially it prevents
updating library packages until any packages that use them have been
built against the updated version.

Packages can codify their required version range.

How would that work? When you build your package, you link against the newest version of some lib. And that is also what you tested with. So usually you would declare your package to depend on the version of the library that you build and tested with "or newer". Only when a newer version of the library becomes available, it becomes clear that it is incompatibly with old apps. You would have to rebuild the app package, now declaring a version range with an upper limit.

The only alternative seems to be that you declare a very restrictive version range up front. But then you condem everyone to keep an old library version around for possibly no reason. And this problem is multiplied when there are a couple of apps installed which each declare depending on a slightly different version, when all those versions of the lib are actually compatible.

Best regards,
-Stephan


Other related posts: