aboutsummaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2009-01-05-disable FindPlasma.cmake: it was broken, undocumented and since plasma ↵Alexander Neundorf
didn't keep compatibility the cmake support for plasma also doesn't have to This file is not used by anything in trunk/KDE/ anymore. Alex svn path=/trunk/KDE/kdelibs/; revision=906186
2009-01-04-add copyright notice to this one tooAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=905609
2009-01-04-add a test for plasma/glapplet.h to see whether the plasma opengl support ↵Alexander Neundorf
is installed (this test was previously in FindPlasma.cmake but at least in trunk/KDE/ never executed, so in the only place where the result was used (kdeplasma-addons/applets/) the result was always wrong) Alex svn path=/trunk/KDE/kdelibs/; revision=905603
2009-01-04-add missing copyright notices, I hope I got it rightAlexander Neundorf
-also a few empty lines here and there to make it look nicer Alex svn path=/trunk/KDE/kdelibs/; revision=905547
2009-01-03-fix typo, unbreak build (of kdebase/runtime)Alexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=905054
2009-01-03-don't search for the KDE4_INCLUDE_DIR using FIND_PATH() but use the value ↵Alexander Neundorf
from KDELibsDependencies.cmake (should be more correct and a bit faster) -"export" the targets meinproc4, makekdewidgets and kconfig_compiler, and do this into a separate exports-file, putting them in the same file as the exported targets potentially makes cross compiling harder -use a "KDE4__" prefix (or "namepace") for all exported targets, both libraries and executables -add some more documentation, fix some comments, remove commented code Alex svn path=/trunk/KDE/kdelibs/; revision=905044
2009-01-03-use cmake_policy(VERSION) instead of a second ↵Alexander Neundorf
cmake_minimum_required(VERSION) to set the cmake policies to 2.4 compatiblity -> should be more obvious to understand the purpose Alex svn path=/trunk/KDE/kdelibs/; revision=904879
2009-01-02-if no minimum version is given, set it to 4.0.0Alexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=904680
2009-01-02fix error message: KDEVERSION -> KDE_VERSIONAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=904678
2009-01-02-replace check_include_files() with find_path(), should fix the problem on ↵Alexander Neundorf
OSX where libintl.h is in /opt/somewhere.../ and was not found by check_include_files() Alex svn path=/trunk/KDE/kdelibs/; revision=904608
2009-01-02-since cmake 2.6.2 the <package>_FIND_VERSION_(MAJOR|MINOR|PATCH) variables ↵Alexander Neundorf
are initialized automatically to "0", so no need to do it manually here Alex CCMAIL: apaku@gmx.de svn path=/trunk/KDE/kdelibs/; revision=904593
2009-01-02-check the version of kdelibs using the KDE_VERSION variable from ↵Alexander Neundorf
KDELibsDependencies.cmake instead of running kde4-config and parsing its output This should be (very) slightly faster, makes cross compiling one step easier and should be more robust. Copyright the files also this year for me :-) Alex svn path=/trunk/KDE/kdelibs/; revision=904590
2009-01-02-introduce two new internal macros which do the necessary handling for ↵Alexander Neundorf
automoc, they are only created if they are not provided by automoc4 itself (which will happen soon) Alex CCMAIL: kretz@kde.org svn path=/trunk/KDE/kdelibs/; revision=904586
2009-01-01find qca2 on windows againChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=904220
2008-12-31Removed this gcc visibility hack. It is no longer needed.Simon Edwards
svn path=/trunk/KDE/kdelibs/; revision=903773
2008-12-23fix cmake version variable namesPino Toscano
patch by Modestas Vainius svn path=/trunk/KDE/kdelibs/; revision=900828
2008-12-23-replace UsePkgConfig with FindPkgConfigAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=900552
2008-12-22-remove the set() for CMAKE_USE_CHRPATH, this was not part of any released ↵Alexander Neundorf
cmake version -add some comments Alex svn path=/trunk/KDE/kdelibs/; revision=900115
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-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-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