aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-03Typov1.3.0-rc1v1.3.0Christophe Giboudeaux
GIT_SILENT
2014-09-16allow qmldir to follow qt_sys_pathHarald Sitter
when running with the KDE_INSTALL_USE_QT_SYS_PATHS option allow QMLDIR in KDEInstallDirs to follow whatever is defined by qmake this change makes sure that qml plugins will end up in a default Qt path when using the super special magic flag.
2014-09-15add support for detecting libgit2 (with version check, API changes a lot)Christoph Cullmann
add FindLibGit2.cmake + doc link scripts tries to detect version not by pkgconfig to work on windows without pkgconfig, too REVIEW: 120196
2014-09-12Upgrade ECM version to 1.3.0.l10n daemon script
2014-09-12Fix calls to qmakev1.2.1Aleix Pol
We were keeping the \n after the path, and it would crash in some places. Strip the whitespaces in both ends. Reviewed by Rohan Garg
2014-09-11Fix fallout from recent ECM patchesAlex Merry
KDE modules cannot assume the normal ECM modules are in the CMake module path, and CMAKE_INSTALL_IMPORTS_INSTALL_DIR / QTQUICKIMPORTSDIR was not set correctly. Also, ECMQueryQmake.cmake used a deprecated CMake command (exec_program).
2014-09-11Make code coverage possible in any KDE projectAleix Pol
Introduces a BUILD_COVERAGE option from a ECMCoverageOption file so that projects can easily enable code coverage in their applications. Furthermore, KDECompilerSettings does include that by default, so all proper KDE projects have the option by default. REVIEW: 120118
2014-09-11Add compiler sanitizers supportMathieu Tarral
REVIEW: 119968
2014-09-10Introduce ECMGeneratePkgConfigFileAleix Pol
A new module has been introduced to generate pkgconfig files from cmake projects. REVIEW: 119798
2014-09-05Upgrade ECM version for 1.2.0 release.v1.2.0-rc2v1.2.0-rc1v1.2.0l10n daemon script
2014-09-05Fixup a minor typo from the last commitRohan Garg
2014-09-03Fix ECM to use qmake instead of hardcoding plugin install dirsRohan Garg
Packagers and other interested folks should pass -DKDE_INSTALL_USE_QT_SYS_PATHS=ON when building in order to install various files to the same dir as the Qt5 install dirs. CCMAIL: kde-packagers@kde.org REVIEW: 119901
2014-08-13KDECompilerSettings: Be more portable across libc's.Raphael Kubo da Costa
Defining _XOPEN_SOURCE to 500 is too restrictive: it corresponds to _POSIX_C_SOURCE 199506L, and hides several symbols that standard libraries like libc++ expect to find, leading to errors like this on FreeBSD: In file included from /tmp/attica/src/accountbalance.cpp:21: In file included from /tmp/attica/src/accountbalance.h:25: In file included from /usr/local/include/qt5/QtCore/QString:1: In file included from /usr/local/include/qt5/QtCore/qstring.h:50: In file included from /usr/include/c++/v1/string:437: In file included from /usr/include/c++/v1/string:437: /usr/include/c++/v1/cstdio:143:9: error: no member named 'snprintf' in the global namespace using ::snprintf; ~~^ This isn't a problem on Linux (actually, on systems using glibc) because defining _GNU_SOURCE enables a lot more features that are not made available on other libc implementations where it does not have any effect. Instead, stop defining _XOPEN_SOURCE at all and leave it up to the platform to show or hide as many symbols as necessary if no standards-related defines are set, and only set _GNU_SOURCE on systems where it is actually meaningful (ie. systems using glibc). REVIEW: 119696
2014-08-11also define _UNICODE on windowsPatrick von Reth
2014-08-06Remove Qt5 debugfull hack from ECMConfig.cmakeAlex Merry
The original purpose of this was to set the QT_NO_DEBUG macro if the old DebugFull configuration was used. We got rid of DebugFull (instead just using Debug), so it is no longer relevant, and this hack never belonged in ECMConfig.cmake anyway (it should have been in KDECompilerSettings). CHANGELOG: ECM now works when the required CMake version is set to 3.0.0 or higher, and does not require Qt5Core to be available. BUG: 331849 REVIEW: 119588
2014-08-01increase ECM version for 1.1.0 releasev1.1.0-rc1v1.1.0l10n daemon script
2014-07-29Make FindPyKDE4 work with PyQt's new build system.Raphael Kubo da Costa
Since PyQt 4.10, PyQt.pyqtconfig is deprecated and not available unless PyQt is built using the old configure script. PyKDE4 itself has recently been adjusted to mimic PyQt itself and only install its pykdeconfig module if pyqtconfig is present. Additionally, information such as SIP flags and the directory where PyKDE's SIP files are installed are now also provided in the PyKDE4.kdecore.PYKDE_CONFIGURATION dict. This commit completely rewrites FindPyKDE4.py to make it look like FindPyQt.cmake after commit a7e4743: most of the information used by FindPyKDE4.cmake is fetched from PyKDE4.kdecore, and we first try to obtain the SIP flags and directory from pykdeconfig and, if it fails, we use PYKDE_CONFIGURATION. Furthermore, FindPyKDE4.py now only prints the variables that are actually consumed by FindPyKDE4.cmake -- it is not possible to obtain all the data provided by pykdeconfig in PYKDE_CONFIGURATION. We've also stopped reading and setting PYKDE4_VERSION_TAG, since PyKDE4 stopped setting a KDE tag in 2008 (and its value was 3_92_0 at the time). (Forwardport kdelibs 4d29cf8)
2014-07-24Fix FindPyQt.pyLuca Beltrame
sys.prefix should be used instead of sys.platform Forward port of kdelibs commit 8b1abe25dcf243cd2cdf23dff7272aca921292ae
2014-07-20FindPyQt4: Use PATH, not FILEPATH.Raphael Kubo da Costa
PYQT4_SIP_DIR is a directory, not a file. Forwardport of kdelibs/37f31f9ce39569a1096e5a04b6679a91e6ae18fe.
2014-07-19Check the libdir also on kFreeBSD and HurdPino Toscano
This way, on the Debian versions of these OSes, the library directory can be a multiarch path.
2014-07-18Define variable for AppStream upstream XML directoryMatthias Klumpp
REVIEW:118020
2014-07-18FindPyQt4: Finish syncing with the kdelibs version.Raphael Kubo da Costa
The version committed in 0912b24 is slightly different from the one in kdelibs -- besides a few differences in the comments, there is an IF() check that was always evaluating to false.
2014-07-17forward port https://git.reviewboard.kde.org/r/119302 "Make FindPyQt4 work ↵Jonathan Riddell
with PyQt's new build system." REVIEW:119339
2014-07-15Make extracmakemodules the only review groupAlex Merry
This now forwards to the buildsystem mailing list.
2014-07-14Don't search default paths when finding lconvert.Michael Palimaka
Otherwise, if lconvert exists in normal system paths (eg. /usr/bin) that one will be used instead of the one alongside Qt5::lrelease. This could cause Qt4 lconvert to be incorrectly used on some systems. REVIEW: 119198
2014-07-07Define convenience variable for DATAROOTDIR/kxmlgui5.David Faure
See RR 119142 for more details.
2014-07-04Fix the doc.Christophe Giboudeaux
2014-07-02add breeze to module documentationJonathan Riddell
2014-07-01Alex Merry says: let's call it 1.0.0, to indicate that we guarantee SCv1.0.0-rc1v1.0.0v0.0.15-rc4David Faure
2014-07-01give a warning if using invalid (typically old KDE 3) categoriesv0.0.15-rc3v0.0.15-rc2v0.0.15-rc1Jonathan Riddell
2014-07-01add breeze icon theme to ECMInstallIcons, ack'ed by notmartJonathan Riddell
2014-07-01upgrade version numberDavid Faure
2014-06-21ECMAddTests: make NAME_PREFIX only apply to the test, not the targetAlex Merry
David Faure and Patrick Spendrin have convinced me that NAME_PREFIX should be informational only, and not be used to prevent clashes, since it makes things confusing when you run tests manually. This is a SIC change (although in practice only kio and kconfig should be affected, currently). REVIEW: 118768 CCMAIL: kde-frameworks-devel@kde.org CCMAIL: kde-buildsystem@kde.org
2014-06-17Provide an option to exclude the testsAlex Merry
While the tests in ECM are not "built" as such (at least, not until they are run), disabling the tests might be desirable to avoid the compiler checks and to make the whole build process architecture-independent. REVIEW: 118498
2014-06-17Make ECM language-independent again, but make the tests use CAlex Merry
Setting the language for ECM's project() call to C had unanticipated side-effects - notably that the installed version file required the architecture to match the one used at build time. Instead, we make the tests a sub-project, setting up C as the language there (since most of the tests do use C, albeit slightly indirectly). REVIEW: 118498
2014-06-02Reorganize testsAlex Merry
Move the detailed testing of KDEInstallDirs from ExecuteKDEModules to a subdir of KDEInstallDirsTest. This is where you would expect to find it, and it also makes sure that other KDE modules are not affecting the test. This also makes the KDEInstallDirs/not_cache_variable regression test work the same way as the other tests, doing a double-configure and build. While not stricly necessary to catch the original issue, it does ensure that the problem does not appear when reconfiguring either.
2014-06-01New ECM release todayv0.0.14-rc2v0.0.14-rc1David Faure
2014-05-28Fix finding of Qt5LinguistTools on some systemsAlex Merry
Although ECM does not make use of a compiler directly, the language affects the search path for CMake packages; in particular, a package installed to /usr/lib64/cmake will not be found if NONE is passed as the language argument to project(). This meant that a 64-bit version of Qt5LinguistTools would not be found on systems where 64-bit libraries are not installed in the "default architecture" location (/usr/lib). With this change, the configure step performs some otherwise-unnecessary tests. We minimise this by explicitly specifying the C language (which is also what some of the tests use), rather than letting it be the default (which is C and C++). REVIEW: 118374
2014-05-26Skip non-directory files inside the po/ directoryAurélien Gâteau
REVIEW: 118216
2014-05-15fix running ECMKDEModules testPatrick Spendrin
REVIEW:118147
2014-05-14Do not fail if vars like CMAKE_INSTALL_LIBDIR are defined as normal varsAurélien Gâteau
REVIEW: 118127
2014-05-13More complete testing of ECMPoQmToolsAurélien Gâteau
- Test calling ecm_process_po_files_as_qm() without INSTALL_DESTINATION argument - Test calling ecm_install_po_files_as_qm() with CMAKE_INSTALL_LOCALEDIR set and with LOCALE_INSTALL_DIR set REVIEW: 118114
2014-05-13Use CMAKE_INSTALL_FOODIR style variables for KDEInstallDirsAlex Merry
This matches how CMake's GNUInstallDirs does things. REVIEW: 118057
2014-05-12Check that KDEInstallDirs defines the variables it claims toAlex Merry
2014-05-10Revert "use the NAME_PREFIX only for the test, not for the executable"Alex Merry
This reverts commits b90b64632f46e929f26ab9a4ee0033478febe0eb ba8600088b8838d5453dd0990ec595e904ec216e 554be62af6d0f01049985076b2445229bae41816 These were causing configure failures in frameworks that use ECMAddTests. CCMAIL: ps_ml@gmx.de CCMAIL: kde-frameworks-devel@kde.org
2014-05-10add in the correct location. sorry for the noisePatrick Spendrin
2014-05-10hotfixPatrick Spendrin
2014-05-09use the NAME_PREFIX only for the test, not for the executablePatrick Spendrin
2014-05-08bump Windows requirements to Windows Vista, as desided in ↵Patrick von Reth
http://techbase.kde.org/Projects/KDE_on_Windows/kf5/meetingnotes-2014-05-06
2014-05-08Make the KF5_LIBEXEC_INSTALL_DIR default depend on LIBEXEC_INSTALL_DIRAlex Merry
This way, overriding LIBEXEC_INSTALL_DIR will change where frameworks install libexec files in the expected way. REVIEW: 118048