aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-31Add test for ECMAddAppIcon.v5.19.0-rc1v5.19.0Gleb Popov
REVIEW: 126711
2016-01-31ECMAddAppIcon: Use absolute path when operating on icons.Gleb Popov
REVIEW: 126711
2016-01-28Make sure the prefix is looked-up on AndroidAleix Pol
The only reason why it used to work, is because all libraries we're including, provide *Config.cmake files, which don't respect this setting. REVIEW: 126896
2016-01-13Add a FindPoppler moduleAlex Richardson
At least Okular and KBibTex include a FindPoppler.cmake module but this one uses the new ECMFindModuleHelpers and has imported targets. REVIEW: 126183
2016-01-13Use PATH_SUFFIXES in ecm_find_package_handle_library_components()Alex Richardson
This is required to find poppler without package config as all the headers are installed in a poppler subdirectory of the include directory
2016-01-09Upgrade ECM version to 5.19.0.l10n daemon script
2015-12-29Make the KAppTemplate CMake module globalv5.18.0-rc1v5.18.0Marco Martin
templates are very useful as teaching tool in order to make a minimal application that uses a certain framework. templates in the KAppTemplate repository will always get forgotten (plus kapptemplate is not really necessary as they work in kdevelop as well) An ideal situation would be frameworks having templates in their own repos with templates of barebone apps using the main framework features. In order to do that, the cmake stuff needed in order to correctly install a template needs to be ported to a place avaiable to all frameworks REVIEW:126185
2015-12-28Silence CMP0063 warnings with KDECompilerSettings.Alex Merry
We recommend including KDE "settings" modules with NO_POLICY_SCOPE, both so we can resolve this issue and to allow us to deal with similar things in the future. REVIEW: 126535
2015-12-21ECMQtDeclareLoggingCategory: Include <QDebug> with the generated fileMartin Klapetek
In order to use the logging categories created by ECM, the generated header file has to be included but then also #include <QDebug> must be added to make it usable at all for qCDebug/qCWarning stuff. So this puts the #include <QDebug> into the generated header file and thus allowing to include a single header for qCDebug/qCWarning instead of two. REVIEW: 126368
2015-12-18CMake: Cleanup: Strip text from endif/elseKevin Funk
REVIEW: 126414
2015-12-18Fix CMP0054 warningsKevin Funk
Example: CMake Warning (dev) at Z:/kderoot/share/ECM/kde-modules/KDEFrameworkCompilerSettings.cmake:50(elseif): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. REVIEW: 126405
2015-12-12Upgrade ECM version to 5.18.0.l10n daemon script
2015-12-06Update ECM version to 5.17.0v5.17.0-rc1v5.17.0David Faure
2015-12-03Revert "Make the KAppTemplate CMake module global"Alex Merry
This reverts commit 1e8e0da3eb475bb8b78baa54cb0c34b913c2dc5d. I don't want this going into a release without further review, as well as documentation and tests, so I'm reverting it (at least temporarily). See emails on kde-commits mailing list for further rationale. CCMAIL: notmart@gmail.com
2015-11-30Don't warn when SVG(Z) icons are provided with multiple sizes/level of detailJaroslaw Staniek
This technically works and is practiced, e.g. for some Breeze icons. Some SVG icons do not scale well down from 32 to 22 or up from 16 to 22. For such cases icons are typically specially crafted for 22 and 16, at least. Then there's no single icon that be marked as "sc". So warnings such as: CMake Warning at ..../ECMInstallIcons.cmake:272 (message): Fixed-size icon foo.svg is not PNG or MNG ... are misleading. This change adds SVG(Z) extensions to the list of allowed icons for specific sizes. REVIEW:126199
2015-11-30Add missing licenses.Alex Merry
2015-11-30Make sure we load translations on the main thread.Alex Merry
Because the old implementation (accidentally) worked when you put the ecm_create_qm_loader call in a different CMakeLists.txt file to the target the file was added to, some projects did this. This won't work with build-time-generated files, though, like moc files. So we (ab)use QTimer events to make the loading happen on the main thread. BUG: 346188 REVIEW: 126000
2015-11-30Make the KAppTemplate CMake module globalMarco Martin
templates are very useful as teaching tool in order to make a minimal application that uses a certain framework. templates in the KAppTemplate repository will always get forgotten (plus kapptemplate is not really necessary as they work in kdevelop as well) An ideal situation would be frameworks having templates in their own repos with templates of barebone apps using the main framework features. In order to do that, the cmake stuff needed in order to correctly install a template needs to be ported to a place avaiable to all frameworks REVIEW:126185
2015-11-22Overhaul the ECM build system.Alex Merry
It should now be easier to read, and more featureful. Among other tweaks, we now print a summary of dependencies and build options, and the documentation is generated with more sensible breadcrumbs and builds properly with Sphinx 1.3. REVIEW: 126075
2015-11-18Make it possible to enable Clazy on any KDE projectAleix Pol
REVIEW: 126090
2015-11-17Do not find XCB's XINPUT library by default.Alex Merry
The XINPUT library is unlikely to be available on many systems, including a lot of Linux distributions. This will warn developers in advance by (a) not searching for XINPUT unless it was explicitly requested, and (b) printing a warning if they do request it. REVIEW: 125935
2015-11-16Clean export dir before generating an APK againAleix Pol
Makes sure there isn't old stuff still there, it didn't save much time to keep the files around anyway.
2015-11-15Use quickgit for Git repository URL.Alex Merry
2015-11-14Fix multiple calls to ecm_create_qm_loader.Alex Merry
Multiple ecm_create_qm_loader() with different catalog names would overwrite each other's generated files, causing the wrong catalog to be loaded at runtime for some targets. This puts the catalog name into the generated filename. Since the catalog name is the only difference between the generated files, this is sufficient to fix the runtime behaviour. REVIEW: 125999
2015-11-08Add unit test for ecm_create_qm_loader.Alex Merry
This is based on commit 6745bd7e4796560959bb67e33b7c7f86f96a5a94 (and the subsequent fix-up commits).
2015-11-08Revert "Make sure we load translations on the main thread."Alex Merry
This broke the build for projects which used ecm_create_qm_loader in unusual ways. A better approach is coming, but won't be in e-c-m 5.16. This reverts commit 009c480413910e8c1a18f4d1420f4a517ea606e6. CCBUG: 346188 CCMAIL: release-team@kde.org CCMAIL: kde-buildsystem@kde.org
2015-11-08Revert "Add license to tests."Alex Merry
This commit is dependent on 009c480413910e8c1a18f4d1420f4a517ea606e6, which is the primary commit to be reverted. This reverts commit 634a0a2d3d7ba1bec2bae846acf0faf6184f4c71.
2015-11-08Revert "Change ecm_create_po_loader test language to German."Alex Merry
This commit is dependent on 009c480413910e8c1a18f4d1420f4a517ea606e6, which is the primary commit to be reverted. This reverts commit 0496f8ae020c497b5f65234063150781d023f8ba.
2015-11-08Revert "Fix ECMPoQmToolsTest."Alex Merry
This commit is dependent on 009c480413910e8c1a18f4d1420f4a517ea606e6, which is the primary commit to be reverted. This reverts commit 39484722101730d4f1a4bccbc5467c0eb2cc0f6f.
2015-11-04Warn instead of error if ecm_install_icons finds no icons.v5.16.0-rc1Alex Merry
The V1 syntax of ecm_install_icons searched for icons by globbing files with a particular naming pattern. If there were no such icons, this used to do nothing, but silently. Commit fb7b8eea7d accidentally made this an error. More sensible would be to make it a warning. BUG: 354610 REVIEW: 125931
2015-11-03Add BSD license to ECMQmLoader.cpp.in.Alex Merry
CCMAIL: kde-licensing@kde.org CCMAIL: agateau@kde.org
2015-11-03Fix ECMPoQmToolsTest.Alex Merry
LANGUAGE has higher priority than LC_ALL.
2015-11-03Change ecm_create_po_loader test language to German.Alex Merry
This is easier to distinguish from "english" in the test output than "british english".
2015-11-03Add license to tests.Alex Merry
2015-11-03Make sure we load translations on the main thread.Alex Merry
BUG: 346188 REVIEW: 123726
2015-10-20Fix ECMInstallIconsTest.Alex Merry
ECMInstallIcons now updates the theme cache if gtk-update-icon-cache is available, producing files the test hadn't been expecting.. Updating the test revealed that the old-style ecm_install_icons call only updated the hicolor cache, and not any of the other themes. REVIEW: 125631
2015-10-13make it possible to build KDE Frameworks 5 with a plain qt 5.5.x installed ↵Christoph Cullmann
from the normal qt.io installer on mac os we can revisit this change, if it leads to problems for mac ports or homebrew REVIEW: 125614
2015-10-10Upgrade ECM version to 5.16.0.l10n daemon script
2015-10-03Update GTK icon cache when installing icons.v5.15.0-rc1v5.15.0Volker Krause
Despite the name, Qt is also using this, and it considerably speeds up icon lookup. REVIEW: 125192
2015-10-01Remove workaround to delay execution on AndroidAleix Pol
* Remove get_property calls on targets, this way we don't need to be called right before configuration time. * Removes EOFHook Instead we process it at generation time using the link.txt file (which is probably another hack) REVIEW: 125084
2015-09-25ECMEnableSanitizers: The undefined sanitizer is supported by gcc 4.9Albert Astals Cid
2015-09-16Disable X11,XCB etc. detection on OS XSamuel Gaist
Reviewed at https://git.reviewboard.kde.org/r/125163/
2015-09-13Look for the files in the installed prefix rather the prefix pathAleix Pol
In general, we are looking for what we're installing, not for what we already had.
2015-09-13Use Qt5 to specify what's Qt5 installation prefixAleix Pol
2015-09-12Upgrade ECM version to 5.15.0.l10n daemon script
2015-09-12Add definition ANDROID as needed in qsystemdetection.h.Andreas Cord-Landwehr
QtCore/qsystemdetection.h sets the define Q_OS_ANDROID based on having ANDROID defined. Hence, adding the ANDROID define allows applications to use the Q_OS_ANDROID for ifdef'ing. REVIEW: 125183
2015-09-10Disable -Wgnu-zero-variadic-macro-arguments when using clangAlex Richardson
This warning is emitted for every qCDebug() call and is not useful. REVIEW: 125031
2015-08-25add COMMON_HEADER option and multiple header functionalityv5.14.0-rc1v5.14.0Patrick Spendrin
This adds a new keyword COMMON_HEADER which generates a new header containing all other headers. Also it is possible now to have multiple dummy headers per header file. It is assumed that the first header is the existing one. REVIEW: 124847
2015-08-20correct the test name, so that we don't have a duplicate ECMGenerateHeaders testPatrick Spendrin
2015-08-19Add a license to one of the C++ test files.Alex Merry