Commit Graph

386 Commits (2c99a8c6f8ea43d3ea3a96db1def5a805bfd0976)

Author SHA1 Message Date
Adriaan de Groot 53beea6061 CMake: partial revert of updated versioning
- Keep the project() version as literal, drop the script-mode changes,
  to keep existing (weird?) build-and-packaging hacks working.
- Do switch to unified versioning-git-annotations CMake module,
  do drop the "rc" from version numbers.
Adriaan de Groot 38ec357bd5 CMake: simplify development-version string
- merge the (not-installed) date-stamp and git-version
  files into ExtendedVersion, turn things into functions
- drop support for CVS (wut?)
- don't mention the branch, in git-versioning, because the
  hash is enough to find whatever
- don't need external program to find date, use `string(TIMESTAMP...)`
Adriaan de Groot 2be9aece3f CMake: tweak version-handling
- separate out the version into a variable (again -- this was moved **into**
  project() long ago, but now there's a desire to have the value before
  reaching the project() command)
- rename CALAMARES_VERSION_RC to something more sensible.
Adriaan de Groot 61f579b591 CMake: drop rc from version number
In current development, RC is effectively 0 (for a release)
or 1 (during development). It doesn't add anything to suffix
'rc1' to the version number. While here, remove the BUILD_RELEASE
check (because nothing ever sets it) and instead rely on
the RC setting instead to decide for long-calamares-version
Adriaan de Groot c2d759f11e CMake: make show-version available in all builds
Adriaan de Groot 88aa1755ce CMake: split out skip-module-checking to its own cmake module
The skip-checking is now in the functions for adding plugins and
subdirectories, so that third-party building should get it
as well, for free. Since AddModuleSubdirectory and AddPlugin
use the newly split-out module, handling SKIP_MODULES and USE_*
consistently across module repositories is now easier.

While here, make accumulating-the-skipped-modules explicit.
Adriaan de Groot 3600c67485 CMake: remove mention of the os-modules
The modules (and the need for a specific USE_os) have moved to
calamares-extensions.
Adriaan de Groot ba89f03d8e Changes: post-release housekeeping
- mention the *packages* service in CHANGES for the previous release
Adriaan de Groot 63e61e9924 Changes: pre-release housekeeping
Adriaan de Groot 413e160368 Changes: post-release housekeeping
Adriaan de Groot 0716f92f62 CMake: update translations lists
- ne_NP, id_ID and zh seem to duplicate existing languages, and
  I'm not sure why they were requested in the first place.
Adriaan de Groot c767311062 Changes: pre-release housekeeping
Adriaan de Groot 1496173b2c CI: Add -Og for debug builds, for better ABI checking
Adriaan de Groot 3d58127234 CI: enable CPack
Adriaan de Groot 0f87a4a91a Changes: post-release housekeeping
Adriaan de Groot 108e227eec Changes: pre-release housekeeping
Adriaan de Groot fc034828c7 Changes: post-release housekeeping
Adriaan de Groot 3fbca3ab4c Changes: pre-release housekeeping
Adriaan de Groot b7a27b3f9f Changes: post-release housekeeping
Adriaan de Groot 205fc4f948 Changes: pre-release housekeeping
Adriaan de Groot e86f67cad8 Changes: post-release housekeeping
The .35 release was really on 2020-12-04, but I'm not going to
go back and update that date.
Calamares CI d290862163 i18n: [calamares] Automatic merge of Transifex translations
Adriaan de Groot f2e5f2f8e5 Changes: pre-release housekeeping
Adriaan de Groot c781343fdd Changes: post-release housekeeping
Adriaan de Groot 04e21b7e46 Changes: pre-release housekeeping
Adriaan de Groot 3069f4133f Changes: post-release housekeeping
Adriaan de Groot d336d0167f i18n: translation stats
(This does not change the overall list of available languages)
Adriaan de Groot ed95c4a541 CMake: pre-release housekeeping
Adriaan de Groot aeeb4332b0 Changes: add Vietnamese translation
Adriaan de Groot 2b9fa0f982 CMake: drop the NOTREACHED macro
- both clang and g++ support __builtin_unreachable(); (as Kevin
   Kofler pointed out) so we don't need the macro to do different things;
 - the compilers have gotten better at detecting unreachable code,
   so instead of inserting macros or fiddly bits, just drop them
   and the unreachable code they comment.
Adriaan de Groot 9a2fca7f5b CMake: prefer normal C++17 [[fallthrough]] annotation
Adriaan de Groot 364d50679f CMake: don't put linker flags in compile-flags variables
Adriaan de Groot 6c7d295712 CMake: simplify C and C++ flags
- reduce the difference between clang and g++ builds, factor
  common flags out of the CMake-if
- drop special boost-warning-suppression, we do that differently
  most of the time in the affected source files
Adriaan de Groot 00fa911f72 CMake: switch to C++17
Adriaan de Groot bf50f8724d Changes: post-release housekeeping
Adriaan de Groot ac5c9e3a90 Changes: pre-release housekeeping
Adriaan de Groot 9a5099cd48 Changes: post-release housekeeping
Adriaan de Groot 8f4bc9e58c Changes: pre-release housekeeping
Adriaan de Groot 545e761666 i18n: update language list
Adriaan de Groot 464da39f60 Changes: post-release housekeeping
Adriaan de Groot f8e375cc9d Changes: pre-release housekeeping
Adriaan de Groot 1365b3dad4 Changes: post-release housekeeping
Adriaan de Groot 67efa8b4bb Changes: pre-release housekeeping
Adriaan de Groot fd384f334d CMake: update translation lists
- Add Telugu already, even though it's formally not ready yet
Adriaan de Groot 1cd9b93a22 REUSE: Giant boilerplate cleanup
- point to main Calamares site in the 'part of' headers instead
  of to github (this is the "this file is part of Calamares"
  opening line for most files).
- remove boilerplate from all source files, CMake modules and completions,
  this is the 3-paragraph summary of the GPL-3.0-or-later, which has
  a meaning entirely covered by the SPDX tag.
Adriaan de Groot 95ceb1e8c7 REUSE: (BSD-2-Clause) all CMakeLists
The build instructions are not that interesting, it's a toss-up
between CC0 and BSD-2, but because other CMake bits are BSD-2-Clause,
apply that to more CMakeLists. The copyright date isn't all that
accurate, but these are just inconsequential files.

While here, tidy up and get rid of some useless intermediates.
Adriaan de Groot 3ae4ccf402 Changes: post-release housekeeping
Adriaan de Groot 559bb6f27a Changes: pre-release housekeeping
Adriaan de Groot 8518a5037d Changes: post-release housekeeping
Adriaan de Groot 172859dc2d Changes: pre-release housekeeping