aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-22-use FindPkgConfig.cmake instead of UsePkgConfig.cmakeAlexander Neundorf
Alex CCMAIL: kretz@kde.org Matthias: please check that it still works for you, it does on my machine (e.g. by running cmake -DMODULE=FFmpeg -P RunAllModuleTests.cmake in kdelibs/cmake/module-tests/ ) svn path=/trunk/KDE/kdelibs/; revision=900098
2008-12-22-test FindFFmpeg.cmakeAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=900097
2008-12-22-use uppercase consistently in this fileAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=900082
2008-12-22this is not necessary anymore when using find_package_handle_standard_args()Alexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=900080
2008-12-22-delete FindPNG.cmake and FindTIFF.cmake, they are synced with the ones from ↵Alexander Neundorf
cmake 2.6.2 -use the find_package_handle_standards_args() macro in FindLibXml2.cmake Alex svn path=/trunk/KDE/kdelibs/; revision=900078
2008-12-18move the drive letter replace a bit higherCarlo Segato
svn path=/trunk/KDE/kdelibs/; revision=898341
2008-12-17remove the drive letter from the path on windows, since we can't make a ↵Carlo Segato
directory named 'c:/path/' svn path=/trunk/KDE/kdelibs/; revision=898330
2008-12-17PyQt SIP flags patch applied.Simon Edwards
CCBUGS: 177965 svn path=/trunk/KDE/kdelibs/; revision=898246
2008-12-15-unconditionally enable the reduced link interface Alexander Neundorf
I checked that all modules (except extragear, review, playground, kwebdev) link on my machine, which means it can still break on other configurations. Alex CCMAIL: kde-buildsystem@kde.org CCMAIL: mueller@kde.org CCMAIL: Sune@vuorela.dk CCMAIL: modestas@vainius.eu svn path=/trunk/KDE/kdelibs/; revision=897386
2008-12-14-remove support for option KDE4_USE_ALWAYS_FULL_RPATH, with cmake >= 2.6.0 ↵Alexander Neundorf
we build always with full RPATH enabled, since the only reason not to do so was because the relinking this caused was slow. Now with camke 2.6 the libraries and executables don't have to be relinked again, instead the RPATH inside the binaries is patched, which is *much* faster. So we can always play safe and use the full RPATH. I also changed this setting for the Mac, because I don't see why it should be necessary there. If this breaks something (i.e. when starting an app wrong libs are linked/or they are not found), please let me know. Alex CCMAIL: illogical1@gmail.com svn path=/trunk/KDE/kdelibs/; revision=897003
2008-12-14-rename the new kde4_write_basic_cmake_version_file() to ↵Alexander Neundorf
macro_write_basic_cmake_version_file(), since it is completely KDE-independent and can potentially be used in any other project remove the old macro, add the new renamed one, add it to the macro library, adjust kdepimlibs/CMakeLists.txt accordingly Alex svn path=/trunk/KDE/kdelibs/; revision=896999
2008-12-14-now really fix the logicAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=896994
2008-12-14-optionally support a version number for searching kdepimlibsAlexander Neundorf
-fix comment, filename is <package>ConfigVersion.cmake -fix logic in Version template file, it was the wrong way Alex svn path=/trunk/KDE/kdelibs/; revision=896993
2008-12-14-add a macro which helps with generating a find_package() conform ↵Alexander Neundorf
<package>Version.cmake file Alex svn path=/trunk/KDE/kdelibs/; revision=896965
2008-12-14-break the long line into multiple linesAlexander Neundorf
-don't glob for *.py files but instead list them all explicitely (same would be nice for the *cmake files but it's just too convenient) Alex svn path=/trunk/KDE/kdelibs/; revision=896959
2008-12-12SVN_SILENT no it does not ;-)David Faure
svn path=/trunk/KDE/kdelibs/; revision=896223
2008-12-11make it possible to install several man page docbooks from one dir by ↵Burkhard Lück
generating an unique target for each docbook improve get filename without extension to work for names with a dot in the filename like man-zonetab2pot.py.1.docbook get_filename_component( NAME_WE) cuts this to man-zonetab2pot, but it has to be man-zonetab2pot.py svn path=/trunk/KDE/kdelibs/; revision=895719
2008-12-09-also export kephal, kdecorations, kwineffects and ksrgd (or so)Alexander Neundorf
Alex CCMAIL: christoph@maxiom.de svn path=/trunk/KDE/kdelibs/; revision=895041
2008-12-09-add a central FindKDE4Workspace.cmake in kdelibs, which is used by kdetoys, ↵Alexander Neundorf
kdeartwork and kdeplasma-addons (e.g. kscreensaver, plasmaclock and some more) -install a KDE4WorkspaceConfig.cmake file from kdebase/workspace, which is loaded by FindKDE4Workspace.cmake from kdelibs/cmake/modules, and which provides all information and targets necessary to use this stuff Unfortunately this may required updating both kdelibs and kdebase for kdetoys, kdeartwork and kdeplasma-addons Alex svn path=/trunk/KDE/kdelibs/; revision=894637
2008-12-08-one more rework the installation of kdepimlibs (last one hopefully)Alexander Neundorf
Now kdepimlibs installs a KdepimLibsConfig.cmake file in a cmake-conform location, i.e. ${LIB_INSTALL_DIR}/KdepimLibs/cmake/ . This file is created by kdepimlibs/CMakeLists.txt using configure_file() from kdepimlibs/KdepimLibsConfig.cmake.in and contains all necessary information about kdepimlibs. It also loads the exported target file (and makes sure to do this only once, so kdebindings still builds). Does kdepimlibs actually have a version number ? Alex CCMAIL: kde-pim@kde.org CCMAIL: mueller@kde.org svn path=/trunk/KDE/kdelibs/; revision=894621
2008-12-08-make finding the FooConfig.cmake file quiet, but don't make the outer ↵Alexander Neundorf
FindFoo.cmake file quiet Alex svn path=/trunk/KDE/kdelibs/; revision=894602
2008-12-06instead of guessing that kdepimlibs is installed under a hardcodedDirk Mueller
path, just find it. makes build work on openSUSE again. svn path=/trunk/KDE/kdelibs/; revision=893381
2008-12-04removed obsolate package, it could be replaced completly by using ↵Ralf Habacker
CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH svn path=/trunk/KDE/kdelibs/; revision=892486
2008-12-04removed references to the obsolate KDEWIN packageRalf Habacker
svn path=/trunk/KDE/kdelibs/; revision=892482
2008-12-03-prefix the targets exported from kdepimlibs with "KDEPIMLibs::", this ↵Alexander Neundorf
should fix building kdebindings -support both version of the file, with and without prefix until next monday Using "::" in imported target names works here, I have no idea whether this might break with nmake/XCode/MSVC... Please let me know if it does. So, MSVC and XCode users, please eupdate kdelibs, kdepimlibs and kdepim or kdebase and let me know if kdepim/kdebase still builds (links). Alex CCMAIL: ps_ml@gmx.de CCMAIL: illogical1@gmail.com CCMAIL: simon@etotheipiplusone.com svn path=/trunk/KDE/kdelibs/; revision=892177
2008-12-03I have no idea why that line is commented out...Matthias Kretz
svn path=/trunk/KDE/kdelibs/; revision=892147
2008-12-02Fix finding of pimlibs to search in KDE4_INCLUDE_DIR first. This will allow ↵Ben Cooksley
those who do not install trunk to /usr to build again CCMAIL: kdepim@kde.org CCMAIL: winter@kde.org svn path=/trunk/KDE/kdelibs/; revision=891837
2008-12-02-rework all uses of find_package(PkgConfig)/pkg_check_modules():Alexander Neundorf
the prefix used for pkgconfig config (e.g. SQLITE) now *always* gets an additional "PC_" prefix, so the prefix used for pkgconfig is now "PC_SQLITE_". This avoids name clashes between variables defined by the pkgconfig macro and the find module and unwanted effects. *Never* use the _CFLAGS coming from pkgconfig, but always CFLAGS_OTHER, since these shouldn't contain the include directories. If the include directories would be in the DEFINITIONS variable this could clash with the results of find_path() for finding include dirs. *Always* use both foo_INCLUDEDIR, foo_INCLUDE_DIRS for searching the include dir, and also both foo_LIBDIR and foo_LIBRARY_DIRS for searching the libraries. These directories coming from pkgconfig are *never* used exclusively, but *always* additionally to the standard search dirs, either before them (then using the "HINTS" keyword) or after them (then using the "PATHS" keyword) I hope I didn't break (too much) stuff. At least on my system it all seems to work the same way as it did before, with and without pkgconfig. Alex svn path=/trunk/KDE/kdelibs/; revision=891805
2008-12-02-add simple tests for more Find-modulesAlexander Neundorf
-add support -DMODULE=<name> to test only one module (both with and without pkgconfig) Alex svn path=/trunk/KDE/kdelibs/; revision=891797
2008-12-02-make pkgconfig working and optionalAlexander Neundorf
Alex Boudewijn: can you please let me know if this one works for you know ? CCMAIL: boud@valdyas.org svn path=/trunk/KDE/kdelibs/; revision=891754
2008-12-02make more variables as advanced, so the non-advanced view is less clutteredAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=891674
2008-12-02big patch which makes the reduced link interface work for kdepimlibs and kdepim:Alexander Neundorf
* Use target_link_libraries(... LINK_INTERFACE_LIBRARIES ...) to define the "link interface" of the libs in kdepimlibs. To enable this, set the option KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT to on using "make edit_cache". Then apps linking to libraries will only link to the library itself and to the libraries specified using LINK_INTERFACE_LIBRARIES. This gives less dependencies for packagers, after startup and I think there were more advantages. * To make this work, export_library_dependencies() may not be used anymore, but instead the library targets have to be "exported", so they can be imported again later by other projects and this way bring their link interface with them. So now all library targets from kdepimlibs are exported in the set kdepimlibsLibraryTargets. * To be able to give the developer some useful error message, KdepimLibsDependencies.cmake now errors out and tells the developer to update kdelibs, and the install location information is now in KdepimLibsInformation.cmake, which tells the developer to update kdepimlibs if it's not recent enough. So: you need now an up-to-date version of kdepimlibs and kdesupport ! If that's not acceptable let me know and I'll add some workaround. * Search the xsl file in the install location of the already installed kdelibs, not in the current install location, which may be in a completely different place. * Use the correct install location (KDEPIMLIBS_INSTALL_DIR) in KdepimLibsInformation.cmake instead of KDE4_INSTALL_DIR, which is the one for kdelibs, but not for kdepimlibs. * more minor things I don't remember right now * Do you actually have a version number for kdepimlibs ? It would be easy to add via KdepimLibsInformation.cmake Alex CCMAIL: kdepim@kde.org CCMAIL: winter@kde.org svn path=/trunk/KDE/kdelibs/; revision=891439
2008-12-01-add some comments about the imported targetsAlexander Neundorf
-remove old commented code Alex svn path=/trunk/KDE/kdelibs/; revision=891394
2008-11-29If version is OK, set XINE_FOUND to true also.Gökcen Eraslan
svn path=/trunk/KDE/kdelibs/; revision=890642
2008-11-28Fix the variable name to be checked to make this module really workGökcen Eraslan
svn path=/trunk/KDE/kdelibs/; revision=890246
2008-11-24add back FindEigen.cmake, deprecated (in favor of Eigen2), for compatibility ↵Benoît Jacob
only. CCMAIL:neundorf@kde.org svn path=/trunk/KDE/kdelibs/; revision=888585
2008-11-24Port to use new PkgConfigLaurent Montel
Why FindBlitz.cmake ? I think that we can remove it svn path=/trunk/KDE/kdelibs/; revision=888266
2008-11-23SVN_SILENT: remove debug outputChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=888076
2008-11-23boost 1.37 is out nowChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=888030
2008-11-20fix QCA detection once againDirk Mueller
svn path=/trunk/KDE/kdelibs/; revision=887054
2008-11-20useful information for debugging, so why not print itDirk Mueller
svn path=/trunk/KDE/kdelibs/; revision=886921
2008-11-18figure out the Phonon version and put it in PHONON_VERSIONMatthias Kretz
svn path=/trunk/KDE/kdelibs/; revision=886287
2008-11-18-use the prefix PC_ for the variables coming from pkgconfig Alexander Neundorf
(these three modules were working correctly, this is just to establish a convention how to deal with this) Alex svn path=/trunk/KDE/kdelibs/; revision=886256
2008-11-18Fixing FindQCA2.cmake based on suggestions by Alex Neundorf.Manuel Nickschas
This should now provide absolute library paths and fix the problems various packages had with building QCA2 support. svn path=/trunk/KDE/kdelibs/; revision=885998
2008-11-18reintroduce the cmake option KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT to enable ↵Alexander Neundorf
the reduced link interface in modules != kdelibs obe by one Alex svn path=/trunk/KDE/kdelibs/; revision=885852
2008-11-16remove remnants of eigen 1Benoît Jacob
svn path=/trunk/KDE/kdelibs/; revision=885225
2008-11-16-load the enhanced StrigiConfig.cmake if available. If this succeeds, there ↵Alexander Neundorf
is no need to search for the headers and libraries or test for the API anymore, since all that information is provided ready-to-use by StrigiConfig.cmake Alex CCMAIL: jvdoever@gmail.com svn path=/trunk/KDE/kdelibs/; revision=885206
2008-11-16add a test for strigi 0.6.0Alexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=885198
2008-11-16test the modules one with and once without pkg-configAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=885115
2008-11-15Tell the correct version information about needed libraries.Thorsten Staerk
BUGS:175232 svn path=/trunk/KDE/kdelibs/; revision=884713