[Kde-pim] Review Request: Cleaner CMakeLists.txt for KDEPIM

Thomas McGuire mcguire at kde.org
Thu Mar 5 16:15:19 GMT 2009


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


I like the changes, thanks for cleaning up the mess!
I've added a few comments below.


trunk/KDE/kdepim/CMakeLists.txt
<http://reviewboard.kde.org/r/239/#comment218>

    disabled -> disables
    my own typo actually :)



trunk/KDE/kdepim/CMakeLists.txt
<http://reviewboard.kde.org/r/239/#comment219>

    Where is HAVE_CONFIG_H used?



trunk/KDE/kdepim/CMakeLists.txt
<http://reviewboard.kde.org/r/239/#comment220>

    I guess you need to change the content of config-enterprise.h, since there is no longer a ENTERPISE_BUILD variable.



trunk/KDE/kdepim/CMakeLists.txt
<http://reviewboard.kde.org/r/239/#comment221>

    From looking at below, KMail & KOrganizer are also disabled when qgpgme is not found, so the message should say that.



trunk/KDE/kdepim/CMakeLists.txt
<http://reviewboard.kde.org/r/239/#comment222>

    Nepomuk is also used in Akonadi, so the message should be changed.



trunk/KDE/kdepim/CMakeLists.txt
<http://reviewboard.kde.org/r/239/#comment223>

    I thjnk the whole "XYZ support" sounds strange to the user.
    
    Maybe it is better to say that KMail and KOrganizer is enabled/disabled in the normal feature log (qgpgme in this case, right?)?
    
    Or some other idea.



trunk/KDE/kdepim/config-enterprise.h.cmake
<http://reviewboard.kde.org/r/239/#comment224>

    Change to KDEPIM_ENTERPRISE_BUILD I think


- Thomas


On 2009-03-05 07:21:41, cgiboudeaux wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/239/
> -----------------------------------------------------------
> 
> (Updated 2009-03-05 07:21:41)
> 
> 
> Review request for KDE PIM, Allen Winter and Thomas McGuire.
> 
> 
> Summary
> -------
> 
> 
> Goal:
> Make CMakeLists.txt human readable.
> 
> Modifications:
> - Rename BUILD_EVERYTHING -> KDEPIM_BUILD_EVERYTHING
> - Rename ONLY_KLEO -> KDEPIM_ONLY_KLEO
> - Rename ENTREPRISE_BUILD -> KDEPIM_ENTREPRISE_BUILD
> - Rename KDE4_KDEPIM_NEW_DISTRLISTS -> KDEPIM_NEW_DISTRLISTS
> - Rename TOPOLOGICAL_SORT_DIR -> Boost_TOPOLOGICAL_SORT_DIR
> 
> This way, these options/items will be grouped in the CMakeCache file and in the cmake GUI app (see screenshot)
> 
> - Make QGpgme required even if KDEPIM_ONLY_KLEO is false.
> - Remove the Kode checks
> - Move the X11_Xscreensaver to KTimetracker's own CMakeLists. Since it is not a hard requirement, allow Ktimetracker to be built under Windows (*)
> - Replace add_definitions(-DFOO_SUPPORTED) with macro_bool_to_01
> - Clean as much as possible
> 
> TODO:
> - Move the libknotesresources_SRCS, libknoteseditor_SRCS, libkdgantt1_SRCS in a better place.
> - If accepted, also rename the options in kdepimlibs before commiting.
> 
> (*) Testing needed.
> 
> 
> Diffs
> -----
> 
>   trunk/KDE/kdepim/CMakeLists.txt 935353 
>   trunk/KDE/kdepim/config-enterprise.h.cmake 935353 
>   trunk/KDE/kdepim/doc/CMakeLists.txt 935415 
>   trunk/KDE/kdepim/kleopatra/CMakeLists.txt 935353 
>   trunk/KDE/kdepim/kleopatra/conf/CMakeLists.txt 935353 
>   trunk/KDE/kdepim/kleopatra/conf/appearanceconfigwidget.cpp 935353 
>   trunk/KDE/kdepim/kleopatra/mainwindow.cpp 935353 
>   trunk/KDE/kdepim/kleopatra/tests/CMakeLists.txt 935353 
>   trunk/KDE/kdepim/kmail/CMakeLists.txt 935353 
>   trunk/KDE/kdepim/kmail/configuredialog.cpp 935353 
>   trunk/KDE/kdepim/kmail/configuredialog_p.h 935353 
>   trunk/KDE/kdepim/kresources/CMakeLists.txt 935353 
>   trunk/KDE/kdepim/ktimetracker/CMakeLists.txt 935353 
>   trunk/KDE/kdepim/libkleo/CMakeLists.txt 935353 
>   trunk/KDE/kdepim/libkleo/kleo/cryptobackendfactory.cpp 935353 
>   trunk/KDE/kdepim/libkleo/ui/cryptoconfigmodule.cpp 935353 
>   trunk/KDE/kdepim/libkleo/ui/messagebox.cpp 935353 
>   trunk/KDE/kdepim/libkpgp/pics/CMakeLists.txt 935353 
>   trunk/KDE/kdepim/wizards/CMakeLists.txt 935353 
> 
> Diff: http://reviewboard.kde.org/r/239/diff
> 
> 
> Testing
> -------
> 
> 
> Screenshots
> -----------
> 
> 
>   http://reviewboard.kde.org/r/239/s/49/
> 
> 
> Thanks,
> 
> cgiboudeaux
> 
>

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list