Skip to content
Snippets Groups Projects
  1. Dec 20, 2024
  2. Nov 21, 2024
  3. Jul 22, 2024
  4. Feb 18, 2024
  5. Jan 12, 2024
  6. Jan 02, 2024
  7. Jan 01, 2024
  8. Dec 31, 2023
  9. Nov 19, 2023
  10. Nov 16, 2023
  11. Nov 09, 2023
  12. Oct 13, 2023
    • Adriaan de Groot's avatar
      CMake: repair ca9006a1 · 9bd600ca
      Adriaan de Groot authored
      Misplaced $, and looking for translation sources in the
      wrong directory, led to a test-case failure before release.
      9bd600ca
  13. Sep 28, 2023
  14. Sep 07, 2023
  15. Sep 04, 2023
  16. Sep 03, 2023
  17. Nov 05, 2022
  18. Jul 23, 2022
    • Adriaan de Groot's avatar
      CMake: provide calamares::kpmcore only when kpmcore was found · 8a43ed99
      Adriaan de Groot authored
      This works around older CMakes that refuse to set arbitrary
      properties on a target. Instead, use calamares::kpmcore
      as the specific indicator that kpmcore was found.
      
      Breaks build of libcalamares, since that needs **something**
      regardless of whether KPMcore was found.
      8a43ed99
  19. Jul 19, 2022
    • Adriaan de Groot's avatar
      CMake: repair broken logic around finding KPMcore · 908928b4
      Adriaan de Groot authored
      - the alias libraries calapmcore and calamares::kpmcore
        are always created; if there is no KPMcore, they handle
        definitions to signal that.
      - upstream kpmcore target is the one we should be testing
        to see if KPMcore itself is there (or, use KPMcore_FOUND).
      908928b4
  20. Jul 10, 2022
  21. Jul 02, 2022
  22. Jun 27, 2022
  23. Jul 21, 2022
  24. Apr 25, 2022
  25. Mar 21, 2022
  26. Sep 28, 2021
    • Adriaan de Groot's avatar
      Remove PythonQt support · ca4dbabf
      Adriaan de Groot authored
      Nothing beyond the example module was ever built with the
      PythonQt bindings, as far as I can tell. They have been
      deprecated, defaulting OFF for over two years now.
      
      QML modules fill the gap with customizable, run-time
      interpreted UI and stronger support from the C++ side
      of Calamares.
      ca4dbabf
  27. Sep 27, 2021
    • Adriaan de Groot's avatar
      CMake: if pylint is available, run it as part of the test-suite · 71954821
      Adriaan de Groot authored
      This introduces a stub-implementation (fake) that mimics the
      API offered by libcalamares (the library is actually exposed
      to Python via Boost::Python, so it doesn't act like a C-extension).
      Using that stub-implementation, we can check Python modules for
      validity as part of the test-suite.
      
      The stub-implementation is needed, because otherwise every
      Python module already fails at `import libcalamares`.
      
      - stub-implement the API that is actually used by the Python modules
      - in globalstorage, be slightly smart about what keys are being
        requested (so that e.g. all the modules that handle partitions
        information get an empty list and can manipulate that, instead of
        erroring out when they get a string)
      71954821
  28. Sep 16, 2021
  29. Jul 26, 2021
  30. Mar 26, 2021
    • Adriaan de Groot's avatar
      CMake: simplify development-version string · 38ec357b
      Adriaan de Groot authored
      - merge the (not-installed) date-stamp and git-version
        files into ExtendedVersion, turn things into functions
      - drop support for CVS (wut?)
      - don't mention the branch, in git-versioning, because the
        hash is enough to find whatever
      - don't need external program to find date, use `string(TIMESTAMP...)`
      38ec357b
    • Adriaan de Groot's avatar
      CMake: move check for skipped-modules to all subdirs · 2ebf9124
      Adriaan de Groot authored
      The check for skipping a subdirectory was applied to Python subdirs,
      not to C++ subdirs. This meant that a skipped module would notice
      only in calamares_add_plugin() that it should be skipped. The **rest**
      of the CMakeLists.txt in the to-be-skipped modules' subdirectory
      was not skipped, and so a test might be added for a module that
      was skipped. Depending on how the test consumes the code/module
      under test, that might fail to link.
      
      Example module is *initramfs*. Reported by yonggan.
      2ebf9124
  31. Mar 23, 2021
    • Adriaan de Groot's avatar
      CMake: split out skip-module-checking to its own cmake module · 88aa1755
      Adriaan de Groot authored
      The skip-checking is now in the functions for adding plugins and
      subdirectories, so that third-party building should get it
      as well, for free. Since AddModuleSubdirectory and AddPlugin
      use the newly split-out module, handling SKIP_MODULES and USE_*
      consistently across module repositories is now easier.
      
      While here, make accumulating-the-skipped-modules explicit.
      88aa1755
    • Adriaan de Groot's avatar
      CMake: split out global skip-modules checking · a64a54ff
      Adriaan de Groot authored
      There are two ways to skip building a module:
       - SKIP_MODULES (individually listed)
       - USE_* (pick one from a collection)
      
      Move the handling for those ways to a separate function, so that it
      can be re-used in the calamares-extensions module too, or other
      external module repositories.
      a64a54ff
Loading