Commit Graph

396 Commits (e11b42ce5062a54acdd6d3a1e4ec01e9f864ba69)

Author SHA1 Message Date
Adriaan de Groot 7664a913cc Changes: post-release housekeeping
Adriaan de Groot d24e2b561f Changes: pre-release housekeeping
Adriaan de Groot 05990fb287 CMake: handle DEBUG_* consistently
- Make all four DEBUG_ flags actual CMake options, rather than
  stuffing some of them in the rather-peculiar _enable_debug_flags.
  Each debug option turns on suitable compile flags in the module(s)
  that are affected.
Adriaan de Groot 3b69e48e04 Changes: post-release housekeeping
Adriaan de Groot 624b8ae853 Changes: pre-release housekeeping
Adriaan de Groot 599c72bade Changes: post-release housekeeping
Adriaan de Groot 32ded8b731 Changes: pre-release housekeeping
Adriaan de Groot 948ecb4fd1 CMake: explain the policy settings
Adriaan de Groot c15022462a Changes: post-release housekeeping
Adriaan de Groot 3c059cc599 Changes: pre-release housekeeping
Adriaan de Groot aacdb6be29 Changes: post-release housekeeping
Adriaan de Groot 801c3d4715 Changes: pre-release (hotfix) housekeeping
Adriaan de Groot a7b0b03bde Changes: post-release housekeeping
Adriaan de Groot 01c9916cb9 Changes: pre-release housekeeping
Adriaan de Groot 6bdc4a55de CMake: new convenience module CalamaresAddTest
Adriaan de Groot 445eb1f640 Changes: post-release housekeeping
Adriaan de Groot 5107ce550b Changes: pre-release housekeeping
Adriaan de Groot b3f5e28738 CMake: update language list
- Add Assamese (as) in the *ok* group.
 - Although languages move around a bit in the groupings,
   that doesn't change their availability; just says something
   about the current translation status.
Adriaan de Groot c482990bc5 CMake: fix find-boost
Adriaan de Groot 1bc8a28eac CMake: Calamares doesn't want -p in automoc
FIXES 
Adriaan de Groot 162ab2129e Changes: post-release housekeeping
Adriaan de Groot 0eb666c56a CMake: support TWEAK releases in version-information
Adriaan de Groot 8988e05f88 Changes: pre-release housekeeping
Adriaan de Groot 992746d558 Changes: post-release housekeeping
Adriaan de Groot b69dd3a93c Changes: pre-release housekeeping
Adriaan de Groot ffbc1a3e7d Changes: post-release housekeeping
Adriaan de Groot 9497540b64 Changes: pre-release housekeeping
Adriaan de Groot 300ebaaa03 Changes: post-release housekeeping
Adriaan de Groot 3a7d0d4ee7 Changes: pre-release housekeeping
Adriaan de Groot 160ecd5ddc Changes: post-release housekeeping
Adriaan de Groot 9ad5ba36b0 Changes: pre-release housekeeping
Adriaan de Groot 409c90a5bf i18n: welcome Malayalam translation
Adriaan de Groot c9ab0524e2 Changes: post-release housekeeping
Adriaan de Groot f156a683a8 Changes: pre-release housekeeping
Adriaan de Groot e3f933259b CMake: missing return statement should be an error
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_
Adriaan de Groot bcb7f17584 [calamares] Make KCoreAddons a requirement
- Require KCoreAddons for KAboutData (also, optionally, for KOSRelease)
Adriaan de Groot 2bb1474ebb Changes: post-release housekeeping
Adriaan de Groot 729616ac6a Changes: pre-release housekeeping
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.
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.
Adriaan de Groot 05daa22542 CMake: update language lists
Adriaan de Groot ca58b67eb9 Changes: post-release housekeeping
Adriaan de Groot e88269089b Changes: pre-release housekeeping
Adriaan de Groot 69032ab5a0 Changes: post-release housekeeping
Adriaan de Groot 1bb3ea35b5 Changes: pre-release housekeeping
Adriaan de Groot 25fe8f73c9 CI: label languages "incomplete" at < 5%
Adriaan de Groot 36789d23fb CMake: update language list (add ca@valencia)
Adriaan de Groot e49beaea91 CMake: switch WITH_PYTHONQT default to OFF
Adriaan de Groot 0619f19536 CMake: post-release housekeeping
Adriaan de Groot 6dc83d692c CMake: pre-release housekeeping
Adriaan de Groot 4de703430f CMake: -O4 doesn't do anything in Clang, use -O3
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.
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.
Adriaan de Groot ec15cfb58d CMake: post-release housekeeping
Adriaan de Groot 6d7fd9db26 CMake: pre-release housekeeping
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.
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.
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.
Adriaan de Groot 9eab61455a CMake: bump versions post-release
Adriaan de Groot cdcd45900b Changes: document 3.2.7 hotfix
Adriaan de Groot 5373729572 Changes: prep for release
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.
Adriaan de Groot 1f66062c81 CMake: bump version, new stub in CHANGES
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).
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.
Adriaan de Groot e71fa5963b CMake: document top-level definitions and options
Adriaan de Groot 355987bfa1 CMake: QtConcurrent is required as well.
SEE 
Adriaan de Groot 7ed74cefa1 CMake: bump version
Adriaan de Groot a0ed58267d CMake: update translations, drop RC status
Adriaan de Groot d5033f218f CMake: drop es_ES which snuck into the language list
Adriaan de Groot b98006b94b i18n: welcome Nepali as language
- Nepali new language
 - Asturian at 100%
 - Polish documentation a bit
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
Adriaan de Groot ba82526449 CMake: drop RC version for release
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
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.
Adriaan de Groot b8595a1323 CMake: relax debugging flags again
Adriaan de Groot 9816b6951f CMake: add debugging flags to compile in debug mode
Adriaan de Groot 7515386cf8 CMake: clean up test setup
- Remove redundant searches for ECM and Qt::Test, move
   them to top-level.
Adriaan de Groot 3b6cb73975 CMake: bump version for next release
Adriaan de Groot 46687fcb4c CMake: bump version and changelog
Adriaan de Groot f65ec65fcc CMake: bump version
- Set RC because this isn't near to a release yet
Adriaan de Groot dfb42f2b49 CMake: add target show-version to get version information
Adriaan de Groot 0e314447ec CMake: show the USE variable for services
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).
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).
Adriaan de Groot 018ee1cc06 CMake: bump version
Adriaan de Groot 25533c4dce i18n: Update language lists with Korean and current stats
Adriaan de Groot 6a36e1dc8e CMake: make docs and code consistent.
- Document the version requirements more accurately
Adriaan de Groot 5935d57069 CMake: bump minimum Qt to 5.7 to match kpmcore
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.
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.
Adriaan de Groot e52c99685d CMake: untangle more sections of top-level CMakeLists.txt
Adriaan de Groot fd2afc3ba9 CMake: move dependency-versioning info to top
Adriaan de Groot dfd76ed384 CMake: drop unused variable (no thirdparty/ dir anymore)
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.
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"
Adriaan de Groot cfcc753130 i18n: Enable Belorussian translation
Adriaan de Groot 41f70975ea i18n: add Byelorussian (new translation team)
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).
Adriaan de Groot 4daf5fce10 CMake: drop RC status
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.
Adriaan de Groot b0e5e13221 i18n: enable Esperanto translation
Adriaan de Groot 37ce9a0838 CMake: bump RC number
Adriaan de Groot 45731b554b i18n: update lists of translated languages
- add Esperanto
 - add checks for new or misspelled translations
Adriaan de Groot 96887e754c i18n: drop es_ES, add tooling
Adriaan de Groot ff43752f47 i18n: pl_PL has merged into pl
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 
Adriaan de Groot a47b3f8d14 [libcalamares] Document special-case translations
Adriaan de Groot d9a1f6b18b CMake: restore en to translations list
Adriaan de Groot 24305bd58f CMake: make the translations more transparent; easier to update
Adriaan de Groot 902e392b6d CMake: bump version for -rc4
Adriaan de Groot f047b0b110 CMake: reduce duplicate ECM searches
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).
Adriaan de Groot 8c4a298f16 CMake: bump version in preparation for -RC3
Adriaan de Groot 66c03b4055 CMake: fix broken logic around Python
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.
Adriaan de Groot c582ff0d6b Merge branch '3.1.x-stable'
Adriaan de Groot c2ee0c6ed4 CMake: bump version number
Adriaan de Groot d42210eb93 Merge branch '3.1-pinebook' into 3.1.x-stable
Adriaan de Groot 0116465303 CMake: bump version
Adriaan de Groot 3a94f02547 CMake: look for ECM at top-level, add to search path if found.
Adriaan de Groot 839c039168 Merge remote-tracking branch 'origin/plasma-lnf'
Adriaan de Groot 63af8c1b92 Drop -rc status
Adriaan de Groot 790073cddc i18n: enable Albanian (sq)
Adriaan de Groot 49fda9da28 CMake: bump version to 3.2.0rc1 (not that there's an RC pending or anything)
Adriaan de Groot 3ae65d5771 Merge branch '3.1.x-stable'
Adriaan de Groot 992d5b4e9d CMake: always automoc generated files
Adriaan de Groot 0812f035d0 CMake: pick up KDE D8951 to reduce CMake automoc warnings
Adriaan de Groot 7e2e2cabfe CMake: bump version to 3.1.9rc1 (no functional changes yet)
Adriaan de Groot 848d532a58 CMake: drop -rc status
Adriaan de Groot 78e601edb4 [kcrash] Simplify search for KF5::Crash
Adriaan de Groot e8e284f724 Merge remote-tracking branch 'origin/kcrash'
Adriaan de Groot 105e06798e CMake: look for ECM at top-level, add to search path if found.
Adriaan de Groot b303acf12a Merge branch '3.1.x-stable'
- KPMCore code moved
 - Small fixes
Adriaan de Groot 4ea8b2e6ef CMake: report on the example-distro feature correctly
Adriaan de Groot 3b30bbde67 Bump version number, pretending 3.1.8-rc1 is pending
Adriaan de Groot 055d416321 Merge branch '3.1.x-stable'
Adriaan de Groot a64e6efb85 Bump version number
Adriaan de Groot c15db95046 Merge branch '3.1.x-stable' (netinstall fixes)
Adriaan de Groot aabcd6ba86 Bump version
Adriaan de Groot 9f84519e87 Merge branch '3.1.x-stable'
- pull in northern-locations fixes
 - pull in testing yaml-config
Adriaan de Groot b805a8df74 CMake: minor docs, typo's
Adriaan de Groot 27e9852e9d CMake: be more descriptive about squashfs
Adriaan de Groot a397297b5b i18n: enable Hindi and Marathi, even though they're currently at 0%
Adriaan de Groot 33f78b375d Merge branch 'master' into kcrash
Adriaan de Groot cd3578ca71 Bump version number
Adriaan de Groot 6924bd7d23 Clang: produce fewer warnings (all caused by boost headers)
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
Adriaan de Groot 6f1f08f728 Restore Boost.Python detection.
FIXES