365 Commits (b82da569d5b01f1ba84869efdf4490dfbfa4adf8)

Author SHA1 Message Date
Adriaan de Groot 409c90a5bf i18n: welcome Malayalam translation 5 years ago
Adriaan de Groot c9ab0524e2 Changes: post-release housekeeping 5 years ago
Adriaan de Groot f156a683a8 Changes: pre-release housekeeping 5 years ago
Adriaan de Groot e3f933259b CMake: missing return statement should be an error 5 years ago
Adriaan de Groot 8c5caf9fd0 [packagechooser] Add CMake knobs to enable/disable item choices
- AppData and AppStream can be disabled independently of finding
   their requirements (possibly useful if you want to ignore
   AppStream even when it's installed in your build environment).
 - Add a little top-level documentation about WITH_
5 years ago
Adriaan de Groot bcb7f17584 [calamares] Make KCoreAddons a requirement
- Require KCoreAddons for KAboutData (also, optionally, for KOSRelease)
5 years ago
Adriaan de Groot 2bb1474ebb Changes: post-release housekeeping 6 years ago
Adriaan de Groot 729616ac6a Changes: pre-release housekeeping 6 years ago
Adriaan de Groot fee2297e67 [packagechooser] Fix fallthrough situation
- Add a FALLTHRU macro to annotate fallthrough situations in both
   Clang and GCC,
 - Annotate intentional fallthroughs.
 - Add missing break which meant that the selection mode was
   always multiple-selection.
6 years ago
Adriaan de Groot 83df41ef06 CMake: bump required CMake to 3.3, enable Esperanto
- Require CMake 3.3 for the IN_LIST operator in if() statements
 - It looks like Qt 5.12.2 (possibly earlier) supports a QLocale("eo")
   so enable Esperanto if that Qt version or later is detected.
6 years ago
Adriaan de Groot 05daa22542 CMake: update language lists 6 years ago
Adriaan de Groot ca58b67eb9 Changes: post-release housekeeping 6 years ago
Adriaan de Groot e88269089b Changes: pre-release housekeeping 6 years ago
Adriaan de Groot 69032ab5a0 Changes: post-release housekeeping 6 years ago
Adriaan de Groot 1bb3ea35b5 Changes: pre-release housekeeping 6 years ago
Adriaan de Groot 25fe8f73c9 CI: label languages "incomplete" at < 5% 6 years ago
Adriaan de Groot 36789d23fb CMake: update language list (add ca@valencia) 6 years ago
Adriaan de Groot e49beaea91 CMake: switch WITH_PYTHONQT default to OFF 6 years ago
Adriaan de Groot 0619f19536 CMake: post-release housekeeping 6 years ago
Adriaan de Groot 6dc83d692c CMake: pre-release housekeeping 6 years ago
Adriaan de Groot 4de703430f CMake: -O4 doesn't do anything in Clang, use -O3 6 years ago
Adriaan de Groot 10ba468748 [libcalamares] Avoid warnings / errors on both gcc and clang
- Clang 8 can detect that there is no need for a return if all
   previous paths already return. GCC 8 does not. Clang warns if
   the unreachable return is there, GCC errors out if it isn't.
 - Introduce a hack NOTREACHED that comments-out on Clang, and
   marks as unreachable (but still present) on GCC.
 - This might go away with an [[unreachable]] annotation or
   similar.
6 years ago
Adriaan de Groot ba7ee445c6 CMake: switch to using autouic on plugins
- Use autouic so that we can also pass in --include to add
   a code-warning-suppression to the generated code, just like
   we can do with moc.
6 years ago
Adriaan de Groot ec15cfb58d CMake: post-release housekeeping 6 years ago
Adriaan de Groot 6d7fd9db26 CMake: pre-release housekeeping 6 years ago
Adriaan de Groot b840bce22d CMake: reduce Qt dependency back to 5.9
- Although KDE CI onlt tests with Qt 5.10, and KPMCore 4 requires
   Qt 5.10, Calamares is still ok with older Qt and KPMCore 3.3,
   so drop the dependency back down again. This means, though, that
   the code will build against a Qt version we don't usually test.
   We're going to assume that Someone Else does the LTS-Qt testing
   for us.
6 years ago
Adriaan de Groot f937ef6eb9 CMake: be compatible with clang 6
- Some of the pragmas in moc-warnings.h, intended to *reduce*
   warnings from MOC code, generate a warning in their own right.
6 years ago
Adriaan de Groot a01262a535 CMake: massage dependency-finding
- If KPMCore is not found, don't require the KF5 components
   that it would depend on.
 - If ECM is found, use KDEInstallDirs always, not just when
   the partitioning module is used.
6 years ago
Adriaan de Groot 9eab61455a CMake: bump versions post-release 6 years ago
Adriaan de Groot cdcd45900b Changes: document 3.2.7 hotfix 6 years ago
Adriaan de Groot 5373729572 Changes: prep for release 6 years ago
Adriaan de Groot bdb7bf71a8 Reduce warnings from moc-generated code
- The auto-generated code produces a lot of warnings from
   Clang 8; this obscures the more meaningful warnings from
   actual Calamares code, so tone the warnings down.
 - For Clang, set CALAMARES_MOC_OPTIONS.
 - Add convenience CMake function for automoccing. It applies
   the options as needed to a given target.
6 years ago
Adriaan de Groot 1f66062c81 CMake: bump version, new stub in CHANGES 6 years ago
Adriaan de Groot 14bedef411 CMake: change project identifier to simplify code
- Using CALAMARES means that the automatic versioning variables
   are set using that name (instead of lower-case).
6 years ago
Adriaan de Groot 01f5ac22a0 CMake: use conventional method for setting version
- Using project() to set up the version is idiomatic for CMake
   and more standardised than doing it by hand. Do retain the
   RC flag, because that's used in other parts of versioning.
6 years ago
Adriaan de Groot e71fa5963b CMake: document top-level definitions and options 6 years ago
Adriaan de Groot 355987bfa1 CMake: QtConcurrent is required as well.
SEE #1082
6 years ago
Adriaan de Groot 7ed74cefa1 CMake: bump version 6 years ago
Adriaan de Groot a0ed58267d CMake: update translations, drop RC status 6 years ago
Adriaan de Groot d5033f218f CMake: drop es_ES which snuck into the language list 6 years ago
Adriaan de Groot b98006b94b i18n: welcome Nepali as language
- Nepali new language
 - Asturian at 100%
 - Polish documentation a bit
6 years ago
Adriaan de Groot 44211ee19a Merge branch 'release-3.2.3'
- Pull in CHANGES and release-numbering modifications
 - Pull in locale fixes
 - Bump version again, to 3.2.4-RC1 in master
6 years ago
Adriaan de Groot ba82526449 CMake: drop RC version for release 6 years ago
Adriaan de Groot 59eaf18b9f CMake: bump required Qt version
- kpmcore will require Qt 5.10 shortly
 - KDE CI tests only Qt 5.10 and later
6 years ago
Adriaan de Groot 0b6e1ca488 i18n: update list of translations from Transifex
- Add automatic tooling to retrieve translation stats and
   output new CMake variable settings.
 - If there are i18n language selection warnings, stop CMake.
6 years ago
Adriaan de Groot b8595a1323 CMake: relax debugging flags again 6 years ago
Adriaan de Groot 9816b6951f CMake: add debugging flags to compile in debug mode 6 years ago
Adriaan de Groot 7515386cf8 CMake: clean up test setup
- Remove redundant searches for ECM and Qt::Test, move
   them to top-level.
6 years ago
Adriaan de Groot 3b6cb73975 CMake: bump version for next release 6 years ago
Adriaan de Groot 46687fcb4c CMake: bump version and changelog 6 years ago
Adriaan de Groot f65ec65fcc CMake: bump version
- Set RC because this isn't near to a release yet
7 years ago
Adriaan de Groot dfb42f2b49 CMake: add target show-version to get version information 7 years ago
Adriaan de Groot 0e314447ec CMake: show the USE variable for services 7 years ago
Adriaan de Groot b2c2b91645 CMake: introduce USE_<foo>
When there are multiple modules doing a thing and it really only
makes sense to have one of them in a given Calamares compilation,
the USE_<foo> variables allow you to select one, while ignoring
all the other implementations. If USE_<foo> is not set, all
implementations are included (as usual).
7 years ago
Adriaan de Groot a6688504e8 CMake: switch INSTALL_CONFIG to OFF by default
- The examples files are not harmless, so distro's should take a
   explicit decision to install the config examples (instead of
   putting files in /etc/calamares).
7 years ago
Adriaan de Groot 018ee1cc06 CMake: bump version 7 years ago
Adriaan de Groot 25533c4dce i18n: Update language lists with Korean and current stats 7 years ago
Adriaan de Groot 6a36e1dc8e CMake: make docs and code consistent.
- Document the version requirements more accurately
7 years ago
Adriaan de Groot 5935d57069 CMake: bump minimum Qt to 5.7 to match kpmcore 7 years ago
Calamares CI ef897f59f5 i18n: Add Korean (ko) language translations
Since this is a new language, it is currently 0% translated.
That is why it goes into _tx_bad. It will move to one of the
other categories once some translation has happened. Add the
(still empty) Transifex files already.
7 years ago
Adriaan de Groot 52f2161c35 CMake: make polkit-qt5-1 optional
- This is only found in order to know where polkit files should
   be installed. In distro's that don't use polkit, may as well
   make it entirely optional.
7 years ago
Adriaan de Groot e52c99685d CMake: untangle more sections of top-level CMakeLists.txt 7 years ago
Adriaan de Groot fd2afc3ba9 CMake: move dependency-versioning info to top 7 years ago
Adriaan de Groot dfd76ed384 CMake: drop unused variable (no thirdparty/ dir anymore) 7 years ago
Adriaan de Groot fc979404d1 CMake: move translation settings up
- Follow previous move of user-adaptable settings and regularly-updated
   variables to the top of CMakeLists.txt with a move of the list of
   translated languages.
7 years ago
Adriaan de Groot 91a5ec426d CMake: shuffle the top-level CMakeLists
- Put all the options near the top, easy to spot when reading the file
 - Put the settings that need regular updates, like version, near the top
 - Add some "section headers"
7 years ago
Adriaan de Groot cfcc753130 i18n: Enable Belorussian translation 7 years ago
Adriaan de Groot 41f70975ea i18n: add Byelorussian (new translation team) 7 years ago
Adriaan de Groot 45b95e1b65 PythonQt: default to enabled
- This just causes it to be enabled and used when present
   by default, rather than disabled by default (even when present).
7 years ago
Adriaan de Groot 4daf5fce10 CMake: drop RC status 7 years ago
Adriaan de Groot b5d667f76e i18n: disable Esperanto again
I consider this a Qt bug: there is an enum value for the language,
the language is fully (?) detailed in the ICU tables, and yet
it gets mapped hard to C locale.
7 years ago
Adriaan de Groot b0e5e13221 i18n: enable Esperanto translation 7 years ago
Adriaan de Groot 37ce9a0838 CMake: bump RC number 7 years ago
Adriaan de Groot 45731b554b i18n: update lists of translated languages
- add Esperanto
 - add checks for new or misspelled translations
7 years ago
Adriaan de Groot 96887e754c i18n: drop es_ES, add tooling 7 years ago
Adriaan de Groot ff43752f47 i18n: pl_PL has merged into pl 7 years ago
Adriaan de Groot 42f5ed5d41 [welcome] Fix build, reduce redundancy
- constexpr isn't applicable because of non-trivial destructor
 - May as well only create " (%1)" once.

FIXES #938
7 years ago
Adriaan de Groot a47b3f8d14 [libcalamares] Document special-case translations 7 years ago
Adriaan de Groot d9a1f6b18b CMake: restore en to translations list 7 years ago
Adriaan de Groot 24305bd58f CMake: make the translations more transparent; easier to update 7 years ago
Adriaan de Groot 902e392b6d CMake: bump version for -rc4 7 years ago
Adriaan de Groot f047b0b110 CMake: reduce duplicate ECM searches 7 years ago
Adriaan de Groot af67ab2722 CMake: install missing module
- The CMake modules for Calamares expect to find CMakeColors
 - Also the translation support macro
 - Restore CalamaresUse.cmake
   - File was removed after 3.1 in db105079, but it is actually useful
     for out-of-tree modules. Restore it and massage into better shape.
   - Simplify by adding path to the search path (otherwise the individual
     macro files would also have to switch to including with a full path).
7 years ago
Adriaan de Groot 8c4a298f16 CMake: bump version in preparation for -RC3 7 years ago
Adriaan de Groot 66c03b4055 CMake: fix broken logic around Python 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 c582ff0d6b Merge branch '3.1.x-stable' 7 years ago
Adriaan de Groot c2ee0c6ed4 CMake: bump version number 7 years ago
Adriaan de Groot d42210eb93 Merge branch '3.1-pinebook' into 3.1.x-stable 7 years ago
Adriaan de Groot 0116465303 CMake: bump version 7 years ago
Adriaan de Groot 3a94f02547 CMake: look for ECM at top-level, add to search path if found. 7 years ago
Adriaan de Groot 839c039168 Merge remote-tracking branch 'origin/plasma-lnf' 7 years ago
Adriaan de Groot 63af8c1b92 Drop -rc status 7 years ago
Adriaan de Groot 790073cddc i18n: enable Albanian (sq) 7 years ago
Adriaan de Groot 49fda9da28 CMake: bump version to 3.2.0rc1 (not that there's an RC pending or anything) 7 years ago
Adriaan de Groot 3ae65d5771 Merge branch '3.1.x-stable' 7 years ago
Adriaan de Groot 992d5b4e9d CMake: always automoc generated files 7 years ago
Adriaan de Groot 0812f035d0 CMake: pick up KDE D8951 to reduce CMake automoc warnings 7 years ago
Adriaan de Groot 7e2e2cabfe CMake: bump version to 3.1.9rc1 (no functional changes yet) 7 years ago
Adriaan de Groot 848d532a58 CMake: drop -rc status 7 years ago
Adriaan de Groot 78e601edb4 [kcrash] Simplify search for KF5::Crash 7 years ago
Adriaan de Groot e8e284f724 Merge remote-tracking branch 'origin/kcrash' 7 years ago
Adriaan de Groot 105e06798e CMake: look for ECM at top-level, add to search path if found. 7 years ago
Adriaan de Groot b303acf12a Merge branch '3.1.x-stable'
- KPMCore code moved
 - Small fixes
7 years ago
Adriaan de Groot 4ea8b2e6ef CMake: report on the example-distro feature correctly 7 years ago
Adriaan de Groot 3b30bbde67 Bump version number, pretending 3.1.8-rc1 is pending 7 years ago
Adriaan de Groot 055d416321 Merge branch '3.1.x-stable' 7 years ago
Adriaan de Groot a64e6efb85 Bump version number 7 years ago
Adriaan de Groot c15db95046 Merge branch '3.1.x-stable' (netinstall fixes) 7 years ago
Adriaan de Groot aabcd6ba86 Bump version 7 years ago
Adriaan de Groot 9f84519e87 Merge branch '3.1.x-stable'
- pull in northern-locations fixes
 - pull in testing yaml-config
7 years ago
Adriaan de Groot b805a8df74 CMake: minor docs, typo's 7 years ago
Adriaan de Groot 27e9852e9d CMake: be more descriptive about squashfs 7 years ago
Adriaan de Groot a397297b5b i18n: enable Hindi and Marathi, even though they're currently at 0% 7 years ago
Adriaan de Groot 33f78b375d Merge branch 'master' into kcrash 7 years ago
Adriaan de Groot cd3578ca71 Bump version number 7 years ago
Adriaan de Groot 6924bd7d23 Clang: produce fewer warnings (all caused by boost headers) 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 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) 8 years ago
Adriaan de Groot 2fdccdf090 Merge branch 'simplify-module-desc' 8 years ago
Adriaan de Groot 137da0d8ba CMake: document SKIP_MODULES 8 years ago
Adriaan de Groot 5efac3b2a8 CMake: remove now-nonsensical comment 8 years ago
Adriaan de Groot 978ff6591c CMake: simplify module loading 8 years ago
Adriaan de Groot db105079ba CMake: drop meta-include CalamaresUse 8 years ago
Adriaan de Groot 2c97f393bc CMake: adjust to moved location, drop useless CalamaresUse.cmake 8 years ago
Adriaan de Groot 7ad1c4ccb8 i18n: add Hebrew to the list of languages (new translation) 8 years ago
Adriaan de Groot 5704719ea4 CMake: minor styling 8 years ago
Adriaan de Groot b20defc411 Clang: be less pedantic about c++98 compatibility 8 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.
8 years ago
Adriaan de Groot 5a1a02197d CMake: since 3.2 is required, no need for the check 8 years ago
Adriaan de Groot 70ed67744f Release: drop rc-number 8 years ago