27 Commits (8a50685c75ce463f2f3fb83929548787c8c50468)

Author SHA1 Message Date
Teo Mrnjavac d97bb47f09 Add proper QResrouce system to libcalamaresui, finish up prepare checks
This also adds ImageRegistry, a SVG cache, a bunch of utility functions
for shared pixmaps in CalamaresUtilsGui and renames several qrc files
in viewmodules.
10 years ago
Teo Mrnjavac 26419f2c8a Check for internet connection in prepare viewmodule. 10 years ago
Pier Luigi Fiorini f0921a41b2 Try to find settings.conf from SYSCONFDIR
Honor SYSCONFDIR as specified by CMake arguments instead of
using a hard-coded path.

Since GNUInstallDirs set CMAKE_INSTALL_FULL_SYSCONFDIR to
CMAKE_INSTALL_PREFIX/etc we need to change the default ourselves.
10 years ago
Pier Luigi Fiorini 4cd217e4b6 Revert "Raise CMake requirement to 3.0+"
This doesn't work when the partition manager is enabled because it
uses ECM and ECMConfig.cmake fails with an error if the required
CMake is not less than 2.8.13

Added a note here to remember about this.

This reverts commit 2020eb0eb3.
10 years ago
Pier Luigi Fiorini 2020eb0eb3 Raise CMake requirement to 3.0+
FindPythonLibs.cmake from CMake 2.8.x is not capable of finding Python
libraries on Maui, updating to CMake 3.x solves the problem.

Looks like it is better crafted.

Other parties interested in Calamares should already have CMake 3.x
so this is not a problem.
10 years ago
Pier Luigi Fiorini f2c5f39f64 Make PythonLibs truly an optional component
PythonLibs is an optional dependency, remove REQUIRED otherwise the
build fails when it is not found.
10 years ago
Aurélien Gâteau 15e68e4b9a calapmtest is not useful anymore 10 years ago
Teo Mrnjavac 4028db2b5c Install Calamares macros 10 years ago
Teo Mrnjavac a61a36d99d We have a Python API for jobmodules!
Created a Boost.Python module interface in libcalamares.
Added a PythonJob wrapper and exposed it in the Python module.
Rename target calamareslib ==> calamares so in Python it's libcalamares.
Python-related classes in libcalamares that aren't exported as C++
symbols are now in a CalamaresPrivate namespace.
Import the libcalamares python module into every Python script before
running it.
Added Python error handling to PythonJobHelper.
Added some more testing code to dummypython module.
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 c57d99a21c Add CalamaresAddModuleSubdirectory, a CMake function for modules that
do not require building through a CMakeLists.txt.
10 years ago
Teo Mrnjavac 4ec72f4afb Refactored calamares_bin into calamares_bin and libcalamaresui.
Now linking with -Wl,--no-undefined!
Moved find_package KF5 from the root CMakeLists.txt to the partitioning
module where it belongs. KF5 deps should be limited to plugins.
Lots of random fixage to make stuff link.
Removed CalamaresApplication reference from Settings.
Removed the use of AbstractPage, we don't need it right now.
10 years ago
Aurélien Gâteau 0446bb1079 More readable partition sizes 10 years ago
Aurélien Gâteau 1b22ec890b Install settings.conf 10 years ago
Aurélien Gâteau c3fe6026f2 Shut up cmake 3.0 10 years ago
Aurélien Gâteau 02af2dccb9 Introduce libcalapm
This adds a submodule pointing to a fork of KDE Partition Manager. All
Calamares-specific changes are in the "calamares" branch of this fork.
10 years ago
Teo Mrnjavac cbde9f3c0c Make the compiler a little more pedantic 10 years ago
Teo Mrnjavac 5a5956052b There's a better way to check for GCC 4.9 10 years ago
Teo Mrnjavac 1237f7acc5 Only enable colorized messages if g++ version is >=4.9 10 years ago
Teo Mrnjavac f00337f379 Force error coloring in GCC 4.9 10 years ago
Teo Mrnjavac 3dd9578b95 Allow undefined symbols when linking plugin. 10 years ago
Teo Mrnjavac 13fcf387c7 A bunch of work on loading plugins.
Also switched to C++11.
10 years ago
Teo Mrnjavac 05d355f21f Config files are YAML, not JSON. We depend on yaml-cpp for parsing. 11 years ago
Teo Mrnjavac 6899b1f0fa Added CMake magic for plugin infrastructure.
Added ViewManager.
Added dummy Settings class.
Added dummy plugin interface (UI plugins only).
Added dummy greeting plugin.
Added DLLEXPORT macros for UI plugin interface and plugins.
11 years ago
Teo Mrnjavac b21dc4fe4c Added Utils, Logger, Translations, QCommandLineParser, init boilerplate 11 years ago
Teo Mrnjavac b5ec7c4702 CMake skeleton. 11 years ago