52 Commits (dbbec4f76d44c9c18a5847a56782d9c5d0c90259)

Author SHA1 Message Date
Adriaan de Groot 3723355fb9 CMake: ignore config files (and tests) for skipped modules. 7 years ago
Adriaan de Groot 27e1de6548 [users] Use libpwquality for additional password checks
- add cmake module to find libpwquality
 - move checking functions to their own file
 - some Transifex hackery
 - stub out the libpwquality check
7 years ago
Adriaan de Groot 4630008fa1 CMake: don't copy over modules with unsupported interfaces.
If Python isn't found, or PythonQt isn't found, there is no point
in copying over the modules into the build tree; this may even be
misleading because the files are there, but won't work and this
will be noticed at runtime only.

Instead, skip the modules and explain why.
7 years ago
Adriaan de Groot 6e01bb0fa4 CMake: factor out explanation of skipped modules.
Make a function out of explaining-skipped-modules, and call it
not only after collecting all the modules, but also after
the feature summary, so that it's quite clear which modules
are skipped.
7 years ago
Adriaan de Groot 1a42b8af41 Merge branch 'kpmcore-3.2'
- Bumps requireed KPMCore to 3.3 (in spite of the branch name)
 - Cleans up some dependencies

Thanks to Andrius Stikonas.
7 years ago
Adriaan de Groot 03dd487fc2 Merge branch '3.1.x-stable' 7 years ago
Adriaan de Groot 2e1f389997 CMake: explain which modules are skipped
Modules may be skipped for different reasons: SKIP_MODULES
is the traditional approach to suppress some, but other modules
may have unmet build requirements (e.g. Plasma Look-and-Feel,
or the Partitioning module) and should be able to opt-out
of being built. For all those skipped, log it explicitly after
all the modules have been examined.

Only CMake-based (e.g. C++) modules support opting-out in this way.
7 years ago
Adriaan de Groot cc15dd9ec7 Merge branch 'master' into kpmcore-3.2
- Pull in Master, merge README, to simplify merging this
   branch into master (soon-ish, once kpmcore 3.3 becomes available
   in builders)
7 years ago
Adriaan de Groot 84c28e9efa CMake: explain better why PythonQt isn't found 7 years ago
Andrius Štikonas 1620f6a668 Merge branch 'master' into lvm2 7 years ago
Adriaan de Groot fda4b4e3c2 CMake: improve searching for PythonQt
- don't log when libs not found
 - log that it's the Python libraries version (not Python itself)
 - fix RE that was getting the wrong results for maj.min
7 years ago
Adriaan de Groot 970b6fcb19 CMake: find PythonQt better
- replace weird distinction between 3.0 and 3.2 by searching once
 - prefer 3.2
 - also look for suffixed versions (PythonXY) besides the Python3 suffix

FIXES #857
7 years ago
Adriaan de Groot ebb0331672 CMake: remove unused module 7 years ago
Adriaan de Groot c6c6c2f22f Testing: refactor so that C++ and Python modules all get yaml-config tests 7 years ago
Adriaan de Groot 6000cbaae2 Testing: test each module's config files 7 years ago
Andrius Štikonas 68e940f0bf Remove unnecessary KIO and KIconThemes dependencies. 7 years ago
Adriaan de Groot 81db2bad5f CMake: refactor boost.python search
- improve description of Python dependencies
 - refactor search per python-version-style
 - report on features and found boost modules the standard way
7 years ago
Adriaan de Groot c9f4bc0cc8 Check for crypt(3), also on FreeBSD 7 years ago
Adriaan de Groot 03d9dbe099 Clean up CMakeLists, linking 7 years ago
Adriaan de Groot cbef79bb93 Clean up CMake stuff, remove unneeded modules 7 years ago
Adriaan de Groot 39f5af1fcc Python-i18n: clean up filename handling a little (thanks Kevin) 7 years ago
Adriaan de Groot 40335d9f1e Python-i18n: install mo files into build tree 7 years ago
Adriaan de Groot 1dbe7c29e2 Python-i18n: prepare for move of API to libcalamares.utils, be less verbose 7 years ago
Adriaan de Groot 22c0ee5dbb Python-i18n: install gettext .mo files into system locale dir 7 years ago
Adriaan de Groot b922d88b0f Python-i18n: add a gettext_path for python job modules 7 years ago
Adriaan de Groot 34c3bc6c85 CMake: shuffle translations macros into CMakeModules/ 7 years ago
Kevin Kofler 633a2a193d CMake: fix typo in CalamaresAddPlugin.cmake
Fix "calamaers_add_plugin" typo in the introductory comment of
CMakeModules/CalamaresAddPlugin.cmake.
7 years ago
Adriaan de Groot 8b19f672e7 CMake: also follow CMAKE_COLOR_MAKEFILE settings 7 years ago
Adriaan de Groot 2fdccdf090 Merge branch 'simplify-module-desc' 7 years ago
Adriaan de Groot f711d6e39c CMake: colorised through test -t doesn't work 7 years ago
Adriaan de Groot 46636bdf65 Modules: documentation of CMake, module.desc, etc. 7 years ago
Adriaan de Groot 47e95b32a9 CMake: fix auto-generated module.desc 7 years ago
Adriaan de Groot bcbd60f9a9 CMake: generate the module.desc, since it is uninteresting 7 years ago
Adriaan de Groot e4862512f7 Partitions: split KPMCore-finding code into an include-module 7 years ago
Adriaan de Groot 6fb40c517a CMake: collect all the Find-modules at top-level 7 years ago
Adriaan de Groot 0b45a52ad9 CMake: simplify module loading more 7 years ago
Adriaan de Groot 978ff6591c CMake: simplify module loading 7 years ago
Adriaan de Groot 9b749576be CMake: move our own modules into the CMakeModules dir, tidy 7 years ago
Philip 7eeb4dbed4 [CMakeModules] Add support for PythonQT v3.2+
- this fixes #749
7 years ago
Teo Mrnjavac ada620effc Find PythonQt. 8 years ago
Teo Mrnjavac 3a6eb3b790 Correctly fail when YAML-CPP is not found. 9 years ago
Matthias Klumpp 7143505eec Make Boost.Python3 cmake script work properly on Debian again 9 years ago
skullbocks 57406f3bc9 [modules/packages] Added support for Portage and Entropy 9 years ago
skullbocks 55476ae6fc [CMakeModules/BoostPython3] Fixed Boost library search for Gentoo based distributions 9 years ago
Teo Mrnjavac fd5d193529 Fix colors test again. 10 years ago
Teo Mrnjavac efdf4cb490 Fix check in CMakeColors. 10 years ago
Kevin Kofler 3fdd06b013 CMakeColors.cmake: Use colors only if stderr is an interactive terminal.
In particular, do not write ugly escape sequences to log files.

Fixes #124.
10 years ago
Aurélien Gâteau 9c05ecef4d Fix finding of Boost.Python on Ubuntu 10 years ago
Teo Mrnjavac 1dec58f178 Find Python3 + Boost.Python, and other buildsystem fixes. 10 years ago
Teo Mrnjavac 125b7914d5 Added module metadata file to CalamaresAddPlugin macro.
Also improved output.
10 years ago