297 Commits (fa75c2e2a09d73167575b38a061faff3dc82d6fa)

Author SHA1 Message Date
Adriaan de Groot 6f1f08f728 Restore Boost.Python detection.
FIXES #817
7 years ago
Adriaan de Groot aa789bc8e9 CMake: improve reporting on dependencies 7 years ago
Adriaan de Groot 40c49bd50d Clang: be more explicit about marking third-party code.
- This is only a partial solution to warnings caused by third-party
   code, since #including the headers from other sources won't apply
   the warning-suppressions.
 - Flags are not applied when building the source as part of a larger
   target, but are on re-building just one object (it seems -- CMake
   issue to track down).
7 years ago
Adriaan de Groot d89b17a244 Clang: partman_devices.c is not, in fact, C++ code 7 years ago
Adriaan de Groot 0c129f2460 Reduce third-part warnings a better way.
Thanks to Kevin Kofler for pointing out what I'd forgotten about
source-file flags. While at it, introduce a generic mechanism for
suppressing warnings in third-party code.

Mostly reverts 4930484931
7 years ago
Adriaan de Groot 13807ceabf Licensing: add self
- to all the files I've touched recently
 - to (very incomplete) AUTHORS list

Licensing: add license info to top-level CMakeLists.txt
7 years ago
Adriaan de Groot a14e98ce95 Crashreporter: remove further reference to removed lib 7 years ago
Adriaan de Groot 5f213c0ec4 CMake: tidy way of adding Clang warnings 7 years ago
Adriaan de Groot 706ac47111 Clang: reduce warning settings
- turn off warnings for missing prototypes (for now) because of MOC
 - turn off warnings about docs
7 years ago
Adriaan de Groot 03d9dbe099 Clean up CMakeLists, linking 7 years ago
Adriaan de Groot 90fc268cc4 Clean up CMakeLists wrt. optional 7 years ago
Adriaan de Groot 63ecce93fd Remove unused CMake module 7 years ago
Adriaan de Groot 1996270128 Drop crashreporter-qt
- Reporting URL we use is unused right now anyway
 - Not compatible with glibc 2.26
 - Not compatible with ARM
7 years ago
Adriaan de Groot cbef79bb93 Clean up CMake stuff, remove unneeded modules 7 years ago
Adriaan de Groot 510d2d22d5 Clang: reduce warnings to useful level
- suppress tons of warnings from Qt MOC due to pointer-casting
 - suppress warnings about globals
7 years ago
Adriaan de Groot d86ea76af2 Bump RC down to 0 for release 7 years ago
Adriaan de Groot bba9651850 Create example distro squashfs (from build host)
- Add a target 'example-distro' which must be manually invoked
   This creates an example.sqfs with a minimal binary distro
   based on the build hosts's /bin and /lib.

The purpose is to provide a simple test image which the
default configuration of the unpackfs module can use to
create a system within which the *other* steps of the
installation can run.

Example files are some zoneinfo's (remember to choose an
existing zone when using the example distro), groups and
sudoers files, etc ..

The example distro has a special /xbin which contains bogus
binaries for many system-administration tasks (e.g. useradd
which would otherwise come from /usr/sbin).
7 years ago
Adriaan de Groot 2362a33613 Bump version numbers (again!) in preparation for next week's release 7 years ago
Adriaan de Groot 34846a6644 Bump Calamares version 7 years ago
Adriaan de Groot 7688ab7ad3 CMake: typos in filenames (thanks Riddell) 7 years ago
Adriaan de Groot 2fdccdf090 Merge branch 'simplify-module-desc' 7 years ago
Adriaan de Groot 137da0d8ba CMake: document SKIP_MODULES 7 years ago
Adriaan de Groot 5efac3b2a8 CMake: remove now-nonsensical comment 7 years ago
Adriaan de Groot 978ff6591c CMake: simplify module loading 7 years ago
Adriaan de Groot db105079ba CMake: drop meta-include CalamaresUse 7 years ago
Adriaan de Groot 2c97f393bc CMake: adjust to moved location, drop useless CalamaresUse.cmake 7 years ago
Adriaan de Groot 7ad1c4ccb8 i18n: add Hebrew to the list of languages (new translation) 7 years ago
Adriaan de Groot 5704719ea4 CMake: minor styling 7 years ago
Adriaan de Groot b20defc411 Clang: be less pedantic about c++98 compatibility 7 years ago
Adriaan de Groot d756edfc9a CMake: turn testing on, following KDE style.
A new option BUILD_TESTING is available; you can turn this off at
CMake-time, but building the tests themselves is harmless (although
it takes some CPU time).

The main advantage of doing this is that running the tests becomes
simple:
    make test
Instead of figuring out which tests there are and how to run them
individually. Note that the partition-manager tests will normally
fail, because they require an additional environment variable to
be set to tell them what disk to destroy.
7 years ago
Adriaan de Groot 5a1a02197d CMake: since 3.2 is required, no need for the check 7 years ago
Adriaan de Groot 70ed67744f Release: drop rc-number 7 years ago
Adriaan de Groot 4841230801 Release: bump version number 7 years ago
Adriaan de Groot 4643ba0adc Clang: improve usefullness of clang-warnings
- don't check c++98 compatibility
 - don't show warnings on third-party code
 - don't check for padding
7 years ago
Adriaan de Groot ee030c4d56 CMake: revertlast, DESTDIR is the way to stage.
Thanks to Kevin Kofler for putting me back on the right track.
7 years ago
Adriaan de Groot 448af86242 CMake: follow prefix even for the polkit files, for easier staged installs. 7 years ago
Adriaan de Groot e771845d91 Cleanup: bump CMake requirement, so we have better C++14 build support 7 years ago
Adriaan de Groot b6715098e1 Manual: move to section 8, minor polishing 7 years ago
Teo Mrnjavac a5280b6896 Bump. 8 years ago
Teo Mrnjavac 6cb4291b4d Bump. 8 years ago
Teo Mrnjavac 44839a37c6 Bump. 8 years ago
Teo Mrnjavac 65aa914127 Bump. 8 years ago
Teo Mrnjavac 2cb8c1d248 Bump. 8 years ago
Teo Mrnjavac c990dc037f Bump. 8 years ago
Teo Mrnjavac fddddc5cb9 Bump. 8 years ago
Teo Mrnjavac ada620effc Find PythonQt. 8 years ago
shainer 8d5fbaafeb New cmake switch to skip installing configuration.
The INSTALL_CONFIG is "on" by default. When set to off,
no *.conf file, both global and related to a single module,
will be installed. A warning message is printed by cmake too,
and the module description is edited to make this visible.

This is useful for testing, when we want to install our
own libraries and binary but keep the configuration of the
live system we are testing on (e.g. path to distro image).

Tested on the master branch.
8 years ago
Kevin Kofler d6e0e09bc1 Bump version to 2.4.80.
We need master to have a higher version than the stable branch. I used
2.4.80 so that it can be bumped again to 2.4.90 when starting to do
alpha/beta/RC releases.
8 years ago
shainer ab40626c5d Bump QT_VERSION to 5.6 in cmake. 8 years ago
Teo Mrnjavac 1c3d5c67e9 Bump. 8 years ago
Teo Mrnjavac 5cf3770b62 Bump. 8 years ago
Teo Mrnjavac 737b982eb2 Bump. 8 years ago
Teo Mrnjavac 3064632592 Bump. 8 years ago
Teo Mrnjavac c197985c01 Bump 8 years ago
Teo Mrnjavac 59e68ad29a Bump. 8 years ago
Teo Mrnjavac b20e18cc26 Update languages list. 8 years ago
Teo Mrnjavac d568f18145 Bump. 8 years ago
Teo Mrnjavac e7c3d0b7ac Update languages list. 8 years ago
Teo Mrnjavac d4d2fd1432 Bump. 8 years ago
Teo Mrnjavac 7c89bc87ce Bump. 8 years ago
Teo Mrnjavac 7cd60673e7 Bump! 8 years ago
Teo Mrnjavac bc27821b27 Bump. 8 years ago
Teo Mrnjavac cde6e68d29 Bump. 9 years ago
Teo Mrnjavac fb04800d4a Bumpitybump. 9 years ago
Teo Mrnjavac e090463545 Bumpitybump. 9 years ago
Teo Mrnjavac db9c671704 Bump version. 9 years ago
Teo Mrnjavac 3a6eb3b790 Correctly fail when YAML-CPP is not found. 9 years ago
Teo Mrnjavac b0506be1f3 Bump. 9 years ago
Teo Mrnjavac f51f20548a Set THIRDPARTY_DIR 9 years ago
Teo Mrnjavac e64050821a And build it. 9 years ago
Teo Mrnjavac 2a5b22f584 If building with KCrash, require KCoreAddons. 9 years ago
Teo Mrnjavac 24a60c4650 Make KCrash an optional dependency (option: WITH_KF5Crash). 9 years ago
Teo Mrnjavac c83662f0e9 Bump. 9 years ago
Teo Mrnjavac e65c94150f Bump. 9 years ago
Teo Mrnjavac dcaadeca78 Update list of enabled translation languages. 9 years ago
Teo Mrnjavac f470756d5f Bump for 2.0. 9 years ago
konqoro 56a522c278 Enable Greek translation of the project 9 years ago
Teo Mrnjavac 12e20f6c7f Bump. 9 years ago
Teo Mrnjavac a21f44aa68 Bump. 9 years ago
Teo Mrnjavac e2a77ce93d Bump. 9 years ago
Teo Mrnjavac 6fa8d7d197 Bump for beta6. 9 years ago
Teo Mrnjavac 491ab94463 Bump version. 9 years ago
Teo Mrnjavac a7bdec7e49 Update languages. 9 years ago
Teo Mrnjavac d1c22f53e1 Bump. 9 years ago
Teo Mrnjavac beb338ad29 Bump minor for 2.0-beta3. 9 years ago
Teo Mrnjavac 6cd8e089d8 Bump for beta2. 9 years ago
Teo Mrnjavac d258837f04 Bump minor for beta. 9 years ago
Teo Mrnjavac b0ad19bca3 Enable target uninstall. 9 years ago
Teo Mrnjavac 481b283602 Bump version for 2.0-alpha1. 9 years ago
Teo Mrnjavac ea77f36431 Bump Qt dependency. 9 years ago
Teo Mrnjavac da79082b13 Update deps. 9 years ago
Teo Mrnjavac 3e4b19400a Enable CMake policy CMP0028. 9 years ago
Teo Mrnjavac 4a59be796e Bump version for 1.1.3. 9 years ago
Teo Mrnjavac 9f5d5a4620 Bump version for 1.1.2. 9 years ago
Teo Mrnjavac d9e80aeec6 Bump for 1.1.1. 9 years ago
Teo Mrnjavac d6362bc364 Bump version for final. 9 years ago
Teo Mrnjavac ab8b26fd7a Bump RC for release. 9 years ago
Teo Mrnjavac ab37c301d5 Version bump for 1.1-RC2. 9 years ago
Teo Mrnjavac 8cdaa935e2 Update languages list. 9 years ago
Teo Mrnjavac e5b0cddb38 Bump version for 1.1-rc1 9 years ago
Teo Mrnjavac ac36cf222e Make Clang warn about everything. 9 years ago
Teo Mrnjavac 06d912612d Add some flags for Clang. 10 years ago
Teo Mrnjavac 997c61921e Translations update. 10 years ago
Kevin Kofler 18da15a087 Fix build without Python support.
Only search for BoostPython3 if Python was found. Otherwise,
${PYTHONLIBS_VERSION_STRING} expands to nothing and the
find_boost_python3 macro gets called with invalid arguments.
10 years ago
Teo Mrnjavac a09efcf73e Add explicit warning when building without Python support. 10 years ago
Teo Mrnjavac ff1459e3ca Version bump for 1.0 10 years ago
Teo Mrnjavac 14ddba70ef Initial commit for QML slideshow support. 10 years ago
Manjaro Linux 580a142da8 Bump version
<a href="https://github.com/calamares/calamares/issues?q=milestone%3A0.17">Milestone 0.17</a> got closed.
10 years ago
Teo Mrnjavac 869ace58b8 Remove obsolete languages from enabled list. 10 years ago
Teo Mrnjavac 53c1e1f708 Update enabled translation languages + bump version. 10 years ago
Kevin Kofler bc9b9d2ce4 Rename pkexec policy file to .policy extension.
Rename com.github.calamares.calamares.bin to
com.github.calamares.calamares.policy. This matches how other policy
files in the same directory are named.
10 years ago
Rohan Garg b9af5b7d54 XDG_APPS_INSTALL_DIR comes from ECM, use a different var 10 years ago
Rohan Garg 36bd745e65 Install the desktop file 10 years ago
Rohan Garg fe9a768f29 Use pkexec to execute calamares with the right permissions 10 years ago
Teo Mrnjavac 5fd2ad2f22 Enable all the translation languages we currently have on Transifex. 10 years ago
Rohan Garg 89fe455163 Only output colors when the screen supports it
Fixes #124
10 years ago
Teo Mrnjavac 068c6e9f8a Don't set CMP0043 on old CMake, take 3. 10 years ago
Teo Mrnjavac b49b05f209 Make compile with old CMake. 10 years ago
Teo Mrnjavac e648f23e18 CMP0043 doesn't apply <3.0.0 10 years ago
Teo Mrnjavac d53643f7cc New CalamaresAddBrandingSubdirectory macro. 10 years ago
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. 10 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.
10 years ago
Teo Mrnjavac b21dc4fe4c Added Utils, Logger, Translations, QCommandLineParser, init boilerplate 11 years ago
Teo Mrnjavac b5ec7c4702 CMake skeleton. 11 years ago