1. 22 Nov, 2020 1 commit
  2. 08 Nov, 2020 1 commit
  3. 11 Jul, 2020 1 commit
  4. 15 Mar, 2020 1 commit
  5. 29 Feb, 2020 1 commit
  6. 28 Feb, 2020 1 commit
  7. 02 Feb, 2020 1 commit
  8. 06 Jan, 2020 1 commit
  9. 05 Jan, 2020 1 commit
  10. 10 Dec, 2019 1 commit
  11. 05 Dec, 2019 1 commit
  12. 03 Dec, 2019 1 commit
  13. 26 Nov, 2019 1 commit
  14. 19 Nov, 2019 3 commits
    • Heiko Becker's avatar
      Fix tyop in find_package call · f177bd36
      Heiko Becker authored
      Thanks to Antonio Rojas for pointing this out.
    • Heiko Becker's avatar
      Search for KF5I18n and KF5DocTools · 565fd945
      Heiko Becker authored
      KF5I18n is required anyway. If it isn't searched and found when the
      ki18n_install call, which is injected by the release scripts, is
      encountered the build will fail with "CMake Error: No script
      specified for argument -P" because a variable usually set by
      ki18n_install is not defined.
      The same applies to KF5DocTools and kdoctools_install as well, but
      it is guarded by a "if (KF5DocTools_FOUND)" so it doesn't error out
      but just doesn't install any handbooks, even if KF5DocTools is found.
      Test Plan: The 19.11.80 tarball builds fine with the patch applied
      Reviewers: #kate, cullmann
      Subscribers: kwrite-devel
      Tags: #kate
      Differential Revision: https://phabricator.kde.org/D25411
    • Heiko Becker's avatar
      Search for Qt5Widgets to make a version comparison work · ae8b8379
      Heiko Becker authored
      Otherwise Qt5Widgets_VERSION just doesn't exist at the time the if
      is encountered.
      Test Plan: Confirmed that camke enters the if branch
      Reviewers: #kate, cullmann
      Subscribers: kwrite-devel
      Tags: #kate
      Differential Revision: https://phabricator.kde.org/D25410
  15. 10 Nov, 2019 2 commits
  16. 20 Oct, 2019 1 commit
  17. 19 Oct, 2019 1 commit
  18. 28 Sep, 2019 1 commit
  19. 27 Sep, 2019 2 commits
  20. 21 Sep, 2019 1 commit
  21. 16 Aug, 2019 3 commits
    • Daan De Meyer's avatar
      Clean up main CMake scripts. · a167b312
      Daan De Meyer authored
      - Use target based commands instead of source variables and directory
      based commands.
      - Move `find_package` calls from top level CMake script into kate and
      kwrite subdirectories. This is consistent with the addons where each
      target finds its own required dependencies.
      - Syntax cleanup: Two spaces indentation and, spaces after command
      names and split long commands over multiple lines.
      - Append to `CMAKE_MODULE_PATH` instead of overriding it so that it can
      be overriden manually from the command line by developers if needed.
      - Remove obvious comments.
      - Remove nested `project` calls as they are unnecessary.
      - Rename `kdeinit_kate` to `kate` and `kate` to `kate-bin`.
      - Remove `qt5_add_resources` usage and pass resource files directly to
      `target_sources` instead (thanks to `CMAKE_AUTORC`).
      - Remove unnecessary and transitive dependencies.
      - Exclusively use variables for MacOS bundle strings.
    • Daan De Meyer's avatar
      Refactor config.h handling. · 458e7832
      Daan De Meyer authored
      - Use separate config.h files for kate and kwrite.
      - Add `KWRITE_VERSION` for use in kwrite source code.
      - Use the more widely used .in suffix for config.h templates instead of
      the .cmake suffix which is primarily used by CMake script files.
      - Rename `KActivities_FOUND` define to `KF5Activities_FOUND` so that
      cmakedefine in config.h.in automatically picks it up when
      `KF5Activities_FOUND` is set during CMake's configure stage.
      - Remove config.h include from source files that don't need it.
    • Daan De Meyer's avatar
      Further cleanup addons CMake scripts. · 58e19566
      Daan De Meyer authored
      - Update CMake minimum required version to CMake 3.1 which is when
      `target_sources` was added.
      - Use `target_sources` even when commands that work on
      sources variables are used. Instead of appending the generated sources
      to an existing sources variable, we store them in a temporary variable
      and immediately add them to the corresponding target with
      - Remove unnecessary dependencies on `kdeinit_kate`.
      - Remove the intermediary katefiletree static library and have the tests
      build the single required source file manually instead which is
      consistent with how the other addons with tests work.
  22. 25 Jul, 2019 1 commit
    • Christoph Cullmann's avatar
      Clean up Kate addons CMake scripts. · 522b9e2a
      Christoph Cullmann authored
      This is the first in a series of revisions modernizing the Kate CMake scripts.
      I'm submitting the changes to the addons directory first as they form a
      nicely separated list of changes.
      Note that if https://phabricator.kde.org/D22698 and
      https://phabricator.kde.org/D22699 are merged, most if not all of the
      remaining source lists in the addons directory can be removed in favor of
      working with targets.
      List of changes made:
      - Standardize style on two spaces and no whitespace between commands and
      - Remove directory commands in favor of target-based commands as
        recommended by modern CMake.
      - Remove usage of `qt5_add_resources` in favor of `CMAKE_AUTORCC` and
        adding .qrc files directly to a target's sources.
      - Remove usage of source lists (where possible) in favor of CMake 3.1's
        `target_sources` command.
      - Remove the CMake binary directory as an include directory from most
      - Remove unnecessary comments, CMake project calls, config files, etc
        from addon CMake scripts.
      - Remove `HAVE_CTERMID` from config.h and move the check and
        addition  to compile definitions to the project addon CMake script as its only
        used in the project plugin sources.
      Test Plan: Apply changes and verify Kate still builds and works exactly as before.
      Reviewers: #kate, cullmann
      Reviewed By: #kate, cullmann
      Subscribers: cullmann, kossebau, turbov, asturmlechner, kwrite-devel
      Tags: #kate
      Differential Revision: https://phabricator.kde.org/D22721
  23. 15 Jul, 2019 1 commit
  24. 08 Apr, 2019 1 commit
  25. 31 Mar, 2019 1 commit
  26. 16 Mar, 2019 2 commits
  27. 27 Feb, 2019 1 commit
  28. 10 Nov, 2018 1 commit
  29. 09 Nov, 2018 1 commit
  30. 26 Sep, 2018 1 commit
  31. 19 Sep, 2018 1 commit
  32. 14 Aug, 2018 1 commit
  33. 06 Aug, 2018 1 commit