Review Request 112331: Splitting KUnitConversion

Aleix Pol Gonzalez aleixpol at kde.org
Sat Aug 31 16:06:14 UTC 2013



> On Aug. 31, 2013, 7:20 a.m., Chusslove Illich wrote:
> > staging/kunitconversion/src/kunitconversion/CMakeLists.txt, line 10
> > <http://git.reviewboard.kde.org/r/112331/diff/1/?file=185481#file185481line10>
> >
> >     Also the translation domain is configured in config-kunitconversion.h. This
> >     is used to specialize i18n calls to this domain, that come from subsequent
> >     inclusion of klocalizedstring.h. So either config-kunitconversion.h should
> >     remain, or each file that included it should have in its place
> >     
> >       #define TRANSLATION_DOMAIN "libkunitconversion"
> >

I changed it into a cmake definition, it seems like a cleaner solution.


- Aleix


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112331/#review38987
-----------------------------------------------------------


On Aug. 28, 2013, 4:17 p.m., Aleix Pol Gonzalez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/112331/
> -----------------------------------------------------------
> 
> (Updated Aug. 28, 2013, 4:17 p.m.)
> 
> 
> Review request for KDE Frameworks.
> 
> 
> Description
> -------
> 
> Iterates over KUnitConversion, still not final:
> - Stops using KDE_PLATFORM_FEATURE_BINARY_COMPATIBLE_FEATURE_REDUCTION
> - Makes dependencies fixed:
>    - Removes runtime dependency on kioclient and links to Qt5::Network instead (adding a dependency to QtNetwork)
>    - Removes the ifdef and always depends on Solid for checking whether it's online. This dependency could go if we move it to QNetworkSession, if somebody thinks it makes sense, I can open a task for that.
>  - Removes kunitconversion-config.h, there are not different ways to build it now.
> 
> 
> Diffs
> -----
> 
>   staging/kunitconversion/src/kunitconversion/CMakeLists.txt c9272ab 
>   staging/kunitconversion/src/kunitconversion/acceleration.cpp 1a22330 
>   staging/kunitconversion/src/kunitconversion/angle.cpp 31999b0 
>   staging/kunitconversion/src/kunitconversion/area.cpp c84ffd1 
>   staging/kunitconversion/src/kunitconversion/config-kunitconversion.h.cmake 601dc1c 
>   staging/kunitconversion/src/kunitconversion/converter.cpp a433240 
>   staging/kunitconversion/src/kunitconversion/currency.cpp 16c7fb2 
>   staging/kunitconversion/src/kunitconversion/density.cpp 878f199 
>   staging/kunitconversion/src/kunitconversion/energy.cpp 7e5f8b3 
>   staging/kunitconversion/src/kunitconversion/force.cpp d933a9f 
>   staging/kunitconversion/src/kunitconversion/frequency.cpp 55a99e9 
>   staging/kunitconversion/src/kunitconversion/fuel_efficiency.cpp 6b16696 
>   staging/kunitconversion/src/kunitconversion/kcurrencycode.cpp 09e40ac 
>   staging/kunitconversion/src/kunitconversion/length.cpp 29211d9 
>   staging/kunitconversion/src/kunitconversion/mass.cpp a8dc69c 
>   staging/kunitconversion/src/kunitconversion/power.cpp 30e123e 
>   staging/kunitconversion/src/kunitconversion/pressure.cpp ed849bb 
>   staging/kunitconversion/src/kunitconversion/temperature.cpp 982f6bb8 
>   staging/kunitconversion/src/kunitconversion/timeunit.cpp a9341c4 
>   staging/kunitconversion/src/kunitconversion/unit.cpp f8c6217 
>   staging/kunitconversion/src/kunitconversion/unitcategory.cpp c7aaf27 
>   staging/kunitconversion/src/kunitconversion/value.cpp 228ecfe 
>   staging/kunitconversion/src/kunitconversion/velocity.cpp 1e5c817 
>   staging/kunitconversion/src/kunitconversion/volume.cpp 02d8eee 
> 
> Diff: http://git.reviewboard.kde.org/r/112331/diff/
> 
> 
> Testing
> -------
> 
> Builds, unit tests pass.
> 
> 
> Thanks,
> 
> Aleix Pol Gonzalez
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20130831/c1dbe7a6/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list