1. 12 Jul, 2020 1 commit
  2. 10 Jul, 2020 6 commits
    • ivan tkachenko's avatar
      Fix inline literal formatting · ac7404eb
      ivan tkachenko authored
    • ivan tkachenko's avatar
      Fix reST list from not being a list · 610300c8
      ivan tkachenko authored
    • ivan tkachenko's avatar
      Revert "Fix markdown list from not being a list" · 5efe844b
      ivan tkachenko authored
      This reverts commit 3830dde7.
    • Henri Chain's avatar
      fix license headers · 84d23f6f
      Henri Chain authored
    • Henri Chain's avatar
      Add ecm_generate_dbus_service_file · 01f7fe8f
      Henri Chain authored
      It serves as a replacement for `kdbusaddons_generate_dbus_service_file`.
      An application can be a DBus-activated service just fine without using KDBusAddons.
      Moreover, this new module uses named arguments for future-proofing, and adds support for specifying a `SystemdService`.
      It also cleans up the confusion on what the "path" is about: Rather than requiring to specify executable and path separately, we just extract the executable file name on Windows, if necessary.
      ecm_generate_dbus_service_file(NAME org.kde.kded5
                                     EXECUTABLE ${KDE_INSTALL_FULL_BINDIR}/kded5
                                     SYSTEMD_SERVICE plasma-kded)
      Test Plan:
      * Was able to generate a kded service file
      * Was able to generate a kded service file with `SystemdUnit`
      * Verified that it moaned when executable wasn't an absolute path
      * Untested on Windwos
      Reviewers: #frameworks, davidedmundson, kossebau, kfunk, habacker
      Subscribers: kde-frameworks-devel, kde-buildsystem
      Tags: #frameworks, #build_system
      Differential Revision: https://phabricator.kde.org/D29051
    • David Edmundson's avatar
      Introduce function ecm_install_configured_file · 0ae52019
      David Edmundson authored
      This, as the name suggests, configures a file and installs it.
      It's not very complicated but it's a repeated pattern in plasma that
      gets quite messy dealing with temporary files.
      Test Plan: Used in a project
      Reviewers: #build_system
      Subscribers: apol, kossebau, pino, kde-frameworks-devel, kde-buildsystem
      Tags: #frameworks, #build_system
      Differential Revision: https://phabricator.kde.org/D28355
  3. 06 Jul, 2020 1 commit
    • David Edmundson's avatar
      Export Wayland_DATADIR · 4ad3d161
      David Edmundson authored
      This is useful if a library intends to reparse the original wayland.xml
      file instead of using the pregenerated headers.
  4. 01 Jul, 2020 1 commit
  5. 30 Jun, 2020 1 commit
  6. 24 Jun, 2020 2 commits
  7. 23 Jun, 2020 1 commit
  8. 22 Jun, 2020 1 commit
    • Volker Krause's avatar
      Deal with Qt's CMake code modifying CMAKE_SHARED_LIBRARY_SUFFIX · 13a1161d
      Volker Krause authored
      Qt adds the Android ABI to the suffix there unconditionally, without also
      adjusting CMAKE_FIND_LIBRARY_SUFFIXES accordingly, breaking find_library()
      for things built that way. Unfortunately we can't just set this in our
      toolchain file, as CMAKE_FIND_LIBRARY_SUFFIXES is overwritten by CMake
      after evaluating the toolchain file. So we need to use the variable_watch
      hack for this here, thanks to Aleix for the idea.
      With this, find_library() works for both suffixed and un-suffixed libraries
      again, such as Poppler built with or without Qt support.
  9. 17 Jun, 2020 1 commit
  10. 14 Jun, 2020 1 commit
  11. 13 Jun, 2020 1 commit
  12. 19 May, 2020 2 commits
  13. 13 May, 2020 1 commit
    • Friedrich W. H. Kossebau's avatar
      ECMGenerateExportHeader: add generation of *_DEPRECATED_VERSION_BELATED() · cc8bccad
      Friedrich W. H. Kossebau authored
      Now and then tagging some API as deprecated for the compiler is forgotten.
      Doing this retractivitly in newer versions but using the official version
      might break build setups configured to only show warnings up to a certain
      version and otherwise fail a build, using -Werror=deprecated-declarations.
      To allow retroactive tagging of API for compiler warnings, and showing the
      official version in the warniung message, while reacting only to warning
      controls for the current version where the tag is added, avoids any such
      annoying experiences, without wrong version info at the same time.
      Reviewers: #frameworks, #build_system, dfaure
      Reviewed By: dfaure
      Subscribers: kde-frameworks-devel, kde-buildsystem
      Tags: #frameworks, #build_system
      Differential Revision: https://phabricator.kde.org/D29573
  14. 11 May, 2020 1 commit
    • Nicolas Fella's avatar
      [android] Allow specifying APK install location · a70e9a01
      Nicolas Fella authored
      This allows `make create-apk` to directly write the APK to /output instead of the cp-with-prefix step in /opt/helpers/create-apk. It's also useful for manual development builds where one would need to copy it to some output location manually or for CI setups that expect the output in a certain location.
      If ANDROID_APK_INSTALL_DIR is not set the current behaviour is kept.
      Reviewers: #frameworks, #android, apol, vkrause
      Reviewed By: #android, apol
      Subscribers: kde-frameworks-devel, kde-buildsystem
      Tags: #frameworks, #build_system
      Differential Revision: https://phabricator.kde.org/D29631
  15. 09 May, 2020 1 commit
  16. 08 May, 2020 2 commits
    • David Faure's avatar
      ECMGeneratePriFile: fix for ECM_MKSPECS_INSTALL_DIR being absolute · bac76085
      David Faure authored
      Test Plan: works as before for the case where it's relative.
      Reviewers: cgiboudeaux, vatra, kfunk, apol, vkrause
      Reviewed By: cgiboudeaux
      Subscribers: kde-frameworks-devel, kde-buildsystem
      Tags: #frameworks, #build_system
      Differential Revision: https://phabricator.kde.org/D29524
    • David Faure's avatar
      ECMGeneratePriFile: make the pri files relocatable · 856fc410
      David Faure authored
      Instead of generating
      QT.KArchive.includes = /full/path/include/KF5/KArchive
      make it
      QT.KArchive.includes = $$PWD/../../include/KF5/KArchive
      This makes the whole install prefix relocatable after the fact,
      the includes will be found based on where the .pri file ended up.
      This is especially useful for Conan support, says Bogdan.
      Test Plan: After make install in ECM, cd karchive/examples/helloworld && qmake && make
      Reviewers: vatra, kfunk, apol, vkrause
      Reviewed By: vkrause
      Subscribers: ablu, kossebau, kde-frameworks-devel, kde-buildsystem
      Tags: #frameworks, #build_system
      Differential Revision: https://phabricator.kde.org/D29274
  17. 04 May, 2020 1 commit
    • Xuetian Weng's avatar
      Suppress find_package_handle_standard_args package name mismatch warning. · 8d181637
      Xuetian Weng authored
      cmake introduced a new find_package mismatch check in 3.17, but also allows
      user to suppress the warning by setting a variable (Or parameter, but
      require new cmake 3.17). Same technique is also used with in cmake,
      e.g. FindGTK2.cmake.
      Test Plan: Test with FindXCB.cmake
      Reviewers: #frameworks, #build_system, apol
      Reviewed By: apol
      Subscribers: apol, kde-frameworks-devel, kde-buildsystem
      Tags: #frameworks, #build_system
      Differential Revision: https://phabricator.kde.org/D29396
  18. 28 Apr, 2020 1 commit
  19. 26 Apr, 2020 1 commit
  20. 22 Apr, 2020 1 commit
  21. 19 Apr, 2020 1 commit
  22. 18 Apr, 2020 1 commit
    • Aleix Pol Gonzalez's avatar
      Fix wayland scanner warnings · 3734a536
      Aleix Pol Gonzalez authored
      Summary: Tells cmake not to automoc certain files that don't need it, which would become a big fuss on the cmake output.
      Test Plan: No warnings
      Reviewers: #build_system, #kwin, #frameworks, davidedmundson
      Reviewed By: #kwin, davidedmundson
      Subscribers: kde-frameworks-devel, kde-buildsystem
      Tags: #frameworks, #build_system
      Differential Revision: https://phabricator.kde.org/D28900
  23. 11 Apr, 2020 1 commit
  24. 05 Apr, 2020 1 commit
    • David Faure's avatar
      ECM: attempt to fix KDEInstallDirsTest.relative_or_absolute on Windows · 907d46e0
      David Faure authored
      Not passing CMAKE_INSTALL_PREFIX is a weird thing to do. The test shows
      "Installing in ." and some values like KDE_INSTALL_FULL_EXECROOTDIR
      become "/" which is considered relative on Windows.
      The test that passes /usr to CMAKE_INSTALL_PREFIX actually passes on
      Windows. Pass /tmp to the other test, remove the test without prefix.
      Test Plan: Passes on Linux, not tested on Windows, CI will do that
      Reviewers: kossebau, apol, cgiboudeaux
      Reviewed By: apol
      Subscribers: kde-frameworks-devel, kde-buildsystem
      Tags: #frameworks, #build_system
      Differential Revision: https://phabricator.kde.org/D28409
  25. 24 Mar, 2020 1 commit
  26. 12 Mar, 2020 1 commit
  27. 07 Mar, 2020 1 commit
  28. 06 Mar, 2020 1 commit
  29. 03 Mar, 2020 1 commit
    • Volker Krause's avatar
      Support NDK r20 and Qt 5.14 · c9ebd391
      Volker Krause authored
      This changes from using the toolchain file provided by CMake to using the
      one provided by the NDK, as even recent CMake can't build successfully
      with r20. However this is a rather invasive change, the interface and
      variable names differ.
      The Qt 5.14 changes are less risky, as most of this is parallel to the
      support for older versions.
      Test Plan: Local builds with 5.14/r20, 5.14/r18 work, the Docker SDK isn't tested yet, and there's some remaining issues with 5.13 and older NDKs I don't fully understand yet. The resulting apks with 5.14 install, and work for QQC2 content, but fail to start Kirigami apps.
      Reviewers: apol
      Reviewed By: apol
      Subscribers: flherne, apol, kde-frameworks-devel, kde-buildsystem
      Tags: #frameworks, #build_system
      Maniphest Tasks: T12520
      Differential Revision: https://phabricator.kde.org/D26749
  30. 26 Feb, 2020 1 commit
  31. 12 Feb, 2020 2 commits