extra-cmake-modules installs into versionned dir

Stephen Kelly steveire at gmail.com
Sun Feb 19 15:52:46 UTC 2012


Alexander Neundorf wrote:

> On Sunday 19 February 2012, Stephen Kelly wrote:
>> Alexander Neundorf wrote:
>> > I want to be able to install multiple versions at the same time, right
>> > from the start.
>> 
>> Is the reason for this recorded? Why would you want that? So that
>> backward incompatible changes can be made between versions?
> 
> So that it is easy for people to do that.
> There will be frequent releases, different packages may need different
> versions. If some package doesn't compile because of a different required
> version, they can simply install the new required version of ecm
> additionally.

If they need to install the new version of ecm, then anything requiring the 
old version will still work with the new version, right? It won't break? 
Then why is the old version still needed?

> Why shouldn't it be possible ?
> I don't see a reason.
> 
> ecm will be something which can easily break the builds of any packages
> out there. We have to be very careful with it, and I'd say right from the
> start, so it doesn't turn into a mess before we even release it.

Yes. This is also why I disagree with making stable releases of it before 
kf5 is ready for a stable release.

> 
> Builds should not break with
> "unknown cmake function ecm_something()"
> so the user doesn't know what's wrong, they should say
> "found ecm 0.1.2, but required is 0.1.3"

Yes. But if someone uses ecm_something() without changing the requirement to 
0.1.3, then the bug is not updating the requirement, right?

I guess I understand why you're installing them to different prefixes - so 
that it doesn't even build for the developer if they don't bump the 
requirement. But we don't do that for any other dependency...

Maybe it's ok to introduce that for this dependency, I don't know.

Thanks,

Steve.





More information about the Kde-buildsystem mailing list