Commit Graph

399 Commits

Author SHA1 Message Date
Adriaan de Groot
72701aae21 CMake: pick a build type (if none given explicitly) 2021-09-16 11:04:38 +02:00
Adriaan de Groot
438302fcf5 i18n: Shuffle the build so that all the bits are in lang/
Move the CMake code responsible for building the translations from
the src/calamares directory (yeah, yeah, the translations need to
link into the executable) into lang/ (which is where the source
and other infrastructure lives).
2021-09-08 11:14:46 +02:00
Adriaan de Groot
24162cb162 i18n: repair language names for Chinese
Prompted by Linlinger, I've reconsidered the names of languages
in the drop-down in the welcome page. We already have the
infrastructure for assigning specific names / locales to
"Calamares locale names" (which match Transifex names, not
necessarily Qt names). Use that to put exactly two Chinese-
language translations in the drop-down:
- Simplified Chinese (code zh_CN)
- Traditional Chinese (code zh_TW)
Drop zh (which is a peculiar locale name anyway) and zh_HK
(which is Traditional Chinese, but using the geographic
boundary is a bit weird; we're going to ignore the
minor orthographic differences with Traditional Chinese
written elsewhere for now).

Note that this makes the drop-down show "Chinese"
in the English column, twice; the difference is visible
only in the native-language representation.

SEE #1741
2021-09-07 15:47:30 +02:00
Adriaan de Groot
ada9a99804 Changes: post-release housekeeping 2021-09-06 15:16:40 +02:00
Adriaan de Groot
a1fce99a05 i18n: update language lists
Keep zh_HK in 'ok' even if technically it doesn't qualify.
2021-09-06 11:39:01 +02:00
Adriaan de Groot
07572d36c0 Changes: pre-release housekeeping 2021-09-05 14:18:52 +02:00
Adriaan de Groot
8a2f60a03a Changes: post-release housekeeping 2021-08-05 15:29:23 +02:00
Adriaan de Groot
670d8089bc Changes: pre-release housekeeping 2021-08-05 14:16:28 +02:00
Adriaan de Groot
12a361556b Changes: post-release housekeeping 2021-08-01 21:26:06 +02:00
Adriaan de Groot
1297845e31 i18n: update language lists
I'm specifically putting zh_HK in the 'ok' list so it is selectable,
because that's what we need to be able to improve it most quickly,
2021-07-31 00:39:37 +02:00
Adriaan de Groot
7e0e063c3f Changes: pre-release housekeeping 2021-07-30 12:54:47 +02:00
Adriaan de Groot
0d2763f68a Changes: pre-release housekeeping 2021-07-14 09:02:16 +02:00
Adriaan de Groot
9051faf062 CMake: update language list
The list suggests things are not-so-good because of recently-pushed
changes to the translations and teams haven't had time to react.
There are also some new duplicate languages.
2021-07-14 00:08:55 +02:00
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.
2021-03-29 10:08:20 +02:00
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...)`
2021-03-26 18:25:51 +01:00
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.
2021-03-26 18:25:51 +01:00
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
2021-03-26 14:44:28 +01:00
Adriaan de Groot
c2d759f11e CMake: make show-version available in all builds 2021-03-26 14:33:44 +01:00
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.
2021-03-23 01:47:10 +01:00
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.
2021-03-22 12:09:05 +01:00
Adriaan de Groot
ba89f03d8e Changes: post-release housekeeping
- mention the *packages* service in CHANGES for the previous release
2021-03-19 14:37:38 +01:00
Adriaan de Groot
63e61e9924 Changes: pre-release housekeeping 2021-03-19 13:25:45 +01:00
Adriaan de Groot
413e160368 Changes: post-release housekeeping 2021-03-14 23:36:31 +01:00
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.
2021-03-14 16:12:55 +01:00
Adriaan de Groot
c767311062 Changes: pre-release housekeeping 2021-03-14 14:37:52 +01:00
Adriaan de Groot
1496173b2c CI: Add -Og for debug builds, for better ABI checking 2021-03-02 00:34:04 +01:00
Adriaan de Groot
3d58127234 CI: enable CPack 2021-03-02 00:34:04 +01:00
Adriaan de Groot
0f87a4a91a Changes: post-release housekeeping 2021-02-23 21:32:59 +01:00
Adriaan de Groot
108e227eec Changes: pre-release housekeeping 2021-02-23 16:33:47 +01:00
Adriaan de Groot
fc034828c7 Changes: post-release housekeeping 2021-02-05 13:10:12 +01:00
Adriaan de Groot
3fbca3ab4c Changes: pre-release housekeeping 2021-02-03 11:51:19 +01:00
Adriaan de Groot
b7a27b3f9f Changes: post-release housekeeping 2020-12-09 11:35:42 +01:00
Adriaan de Groot
205fc4f948 Changes: pre-release housekeeping 2020-12-07 14:24:45 +01:00
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.
2020-12-04 20:57:41 +01:00
Calamares CI
d290862163 i18n: [calamares] Automatic merge of Transifex translations 2020-11-30 13:22:17 +01:00
Adriaan de Groot
f2e5f2f8e5 Changes: pre-release housekeeping 2020-11-30 13:19:55 +01:00
Adriaan de Groot
c781343fdd Changes: post-release housekeeping 2020-11-16 12:52:19 +01:00
Adriaan de Groot
04e21b7e46 Changes: pre-release housekeeping 2020-11-16 12:28:28 +01:00
Adriaan de Groot
3069f4133f Changes: post-release housekeeping 2020-11-10 12:08:49 +01:00
Adriaan de Groot
d336d0167f i18n: translation stats
(This does not change the overall list of available languages)
2020-11-09 13:08:07 +01:00
Adriaan de Groot
ed95c4a541 CMake: pre-release housekeeping 2020-11-03 11:52:23 +01:00
Adriaan de Groot
aeeb4332b0 Changes: add Vietnamese translation 2020-10-29 14:26:17 +01:00
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.
2020-10-25 12:49:49 +01:00
Adriaan de Groot
9a2fca7f5b CMake: prefer normal C++17 [[fallthrough]] annotation 2020-10-25 12:49:49 +01:00
Adriaan de Groot
364d50679f CMake: don't put linker flags in compile-flags variables 2020-10-25 12:49:49 +01:00
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
2020-10-24 12:32:07 +02:00
Adriaan de Groot
00fa911f72 CMake: switch to C++17 2020-10-24 02:31:38 +02:00
Adriaan de Groot
bf50f8724d Changes: post-release housekeeping 2020-10-18 21:58:54 +02:00
Adriaan de Groot
ac5c9e3a90 Changes: pre-release housekeeping 2020-10-17 15:21:03 +02:00
Adriaan de Groot
9a5099cd48 Changes: post-release housekeeping 2020-10-16 21:43:22 +02:00