API Breakage?: Re: [kcmutils] src: Fix typo in headers generation

Albert Astals Cid aacid at kde.org
Wed Dec 10 23:09:09 GMT 2014


El Dimecres, 10 de desembre de 2014, a les 10:17:23, Martin Klapetek va 
escriure:
> On Wed, Dec 10, 2014 at 9:56 AM, Raymond Wooninck <tittiatcoke at gmail.com>
> 
> wrote:
> > On Tuesday 9 December 2014 16:16:23 Martin Klapetek wrote:
> > > Git commit 0256b80e9ac7c1459afe0ac021d27e985cba14d3 by Martin Klapetek.
> > > Committed on 09/12/2014 at 16:16.
> > > Pushed by mklapetek into branch 'master'.
> > > 
> > > Fix typo in headers generation
> > > 
> > > Also install to properly capitalized subdirectory
> > 
> > And it seems that we have our first breakage in Frameworks.  Programs that
> > compile against Frameworks 5.5, will no longer compile against Frameworks
> > 5.6
> > and vice versa.
> > 
> > The change of the directoryname causes issues as that for 5.5 you need to
> > have
> > the <ksettings/includefile.h>, but this will fail on 5.6 as that one would
> > require <KSettings/includefile.h>.
> > 
> > I was hoping that the camelcase headers could help out here, but they are
> > installed in the same directoy.
> 
> Ah hmm...I did this because at some other places there are
> KSettings/includefile.h and the build was failing.
> 
> I guess I'll just revert the directory capitalization then, but leave the
> typo fix itself.

Can we get both "the correct" and the old way and mark it as deprecated?

"the correct" way is cool since it helps us by having the same way of using 
stuff on all frameworks, predictibility is awesome.

"the old" way gives us the compatibility we promise.

Now, i've no clue what i'm talking about so excuse me if i'm suggesting 
something stupid :D

Cheers,
  Albert

> 
> Cheers





More information about the kde-core-devel mailing list