Review Request 115496: Rename CMakePackageConfigHelpers to ECMPackageConfigHelpers

Alex Merry kde at randomguy3.me.uk
Tue Feb 18 15:46:40 UTC 2014



> On Feb. 18, 2014, 3:40 p.m., Sune Vuorela wrote:
> > Looks great. Do you plan on a transition period of more than a week?

No.  In fact, my aim is to get it done today.  The script is a simple sed command.


- Alex


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115496/#review50155
-----------------------------------------------------------


On Feb. 18, 2014, 3:26 p.m., Alex Merry wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115496/
> -----------------------------------------------------------
> 
> (Updated Feb. 18, 2014, 3:26 p.m.)
> 
> 
> Review request for Build System, Extra Cmake Modules and KDE Frameworks.
> 
> 
> Repository: extra-cmake-modules
> 
> 
> Description
> -------
> 
> Rename CMakePackageConfigHelpers to ECMPackageConfigHelpers
> 
> Overriding a CMake package like this will just cause all sorts of
> headaches later on.  In this particular case, projects that depended on
> CMake 2.8.13 or later (more likely 3.0.0) would fail with a message
> about removing the CMakePackageConfigHelpers file, but would have no way
> to do that while still using ECM.
> 
> This also renames the configure_package_config_file() macro to
> ecm_configure_package_config_file(), so that anything including
> CMakePackageConfigHelpers afterwards does not overwrite the macro
> unexpectedly.
> 
> For now, we keep a CMakePackageConfigHelpers.cmake file that just wraps
> ecm_configure_package_config_file() as configure_package_config_file()
> to keep the frameworks building while they are ported.
> 
> 
> Diffs
> -----
> 
>   modules/CMakePackageConfigHelpers.cmake 5d65e659f7a04d65aeb08fa99569e88dde89acf2 
>   modules/ECMPackageConfigHelpers.cmake PRE-CREATION 
> 
> Diff: https://git.reviewboard.kde.org/r/115496/diff/
> 
> 
> Testing
> -------
> 
> kdesrc-build has got to KIO so far with no problems.
> 
> If KJS includes ECMPackageConfigHelpers and uses ecm_configure_package_config_file(), both KJS and KI18n configure and build properly.
> 
> 
> Thanks,
> 
> Alex Merry
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20140218/7bff3d5f/attachment.html>


More information about the Kde-buildsystem mailing list