Sub-library version numbers
aleXXX
alexander.neundorf at gmx.net
Thu Jun 6 22:44:07 BST 2002
On Thursday 06 June 2002 12:52, Allan Sandfeld Jensen wrote:
> On Thursday 06 June 2002 05:22, Kurt Granroth wrote:
> > On Wednesday 05 June 2002 07:32 pm, George Staikos wrote:
> > > > > I would like to bump all three version numbers in both
> > > > > KDE_3_0_BRANCH and HEAD to
> > > > >
> > > > > libkjava.so.2
> > > > > libkjs.so.2
> > > > > libktexteditor.so.1
> > > > >
> > > > > Is there any reason (that I don't see) why this would be a bad
> > > > > idea?
> > > >
> > > > Because then we're BIC? Old KDE 3.0.0 apps would still link against
> > > > the original versions, which would no longer be present in KDE
> > > > 3.0.2+.
> > >
> > > Why should the old ones be removed?
> >
> > Damn.. I forgot about the linking. It looks like I'm going to have to do
> > this with a patch in the debian builds. That'll work since there hasn't
> > been ANY KDE 3 packages released in Debian yet.
> >
> > FWIW, the reason I wanted to bump up the version numbers was to
> > explicitely get rid of those versions in KDE3. That's because they
> > conflicted with the libs from KDE2 when you install both in /usr.
> > Basically, by not seeing this before we released KDE 3.0, we shot
> > ourselves in the foot until KDE 4.0. Oh well.
>
> Generally there seems to be a problem with bumping library versions. Maybe
> some should have responsibility for it? Maybe the release manager?
>
> To take an example: libkdeui had bug fixes in KDE 3.0.1 and thus the
> version should be 4.0.1. It is BC but expanded in KDE 3.1 and should
> therefore be 4.1.0. But in both instances it still has the old version
> number 4.0.0. The same is true for most libraries in kdelibs and kdebase,
> and I dont think it is going to change before someone takes responsibility
> for setting correct version numbers.
I completely agree and I already said it before, but somehow all others
thought it would be better if e.g. libkdeui from KDE 2.0 (at that time) and
from KDE 2.1 and 2.2 all have the same version number 3.0.0 :-/
Every other project which produces libraries increases their version numbers
for new versions with new features or bugfixes (well, that's why they are
called version numbers ;-)
We only increase the main number if it becomes BIC.
I don't think that it is a good thing that I can have three libraries named
libkdeui.3.0.0, libkdeui.3.0.0 and libkdeui.3.0.0 and that I can't simply
exchange one with the other, since e.g. 3.0.0 from 2.0 doesn't provide all
the features 3.0.0 from 2.2 provides.
Another advantage of the version numbers would be that this would make it
much easier to find out which version of KDE is installed, especially in the
case if something is messed up and KDE or X don't even start.
I'd say better do something late then never.
Ok, enough.
Bye
Alex
More information about the kde-core-devel
mailing list