Adriaan de Groot
30f65a0b62
CI: add a Qt6 build
2023-09-03 23:11:28 +02:00
Adriaan de Groot
8f836969eb
Merge branch 'work/qt6' into calamares
2023-09-03 23:04:12 +02:00
Adriaan de Groot
95aa8d8127
libcalamares: update maintainer and sponsor
2023-09-03 23:02:47 +02:00
Adriaan de Groot
246d3f243d
branding: update silly fake distro to 2023
2023-09-03 23:02:47 +02:00
Adriaan de Groot
30a8b337e1
finished: enable Qt6 build
2023-09-03 23:02:47 +02:00
Adriaan de Groot
c5929e30d1
welcome: enable Qt6 build
...
- Adjust for QVariant changes
- Fix tests, no more conversion available from QFile to QFileInfo
2023-09-03 23:02:09 +02:00
Adriaan de Groot
2ffcfb3ddd
calamares: adapt UI-parts to Qt6
2023-09-03 23:02:09 +02:00
Adriaan de Groot
e1b20fe0a9
calamares: ignore about data (KF5) and highdpi
...
The application attribute for HighDPI is gone in Qt6.
2023-09-03 23:02:09 +02:00
Adriaan de Groot
8ea7c578b3
libcalamaresui: deal with QMessageBox::question
2023-09-03 23:02:09 +02:00
Adriaan de Groot
159eccbda0
libcalamaresui: enable build for Qt6
...
Compatibility code for mutex and variant is already in place.
2023-09-03 23:02:09 +02:00
Adriaan de Groot
bc9d5aae58
libcalamares: repair locale tests for Qt6 compatibility
2023-09-03 23:02:09 +02:00
Adriaan de Groot
49d449c211
i18n: enable Qt6 build of lang/ and libcalamares translations
2023-09-03 23:00:13 +02:00
Adriaan de Groot
ad8c87e5d3
libcalamares: repair tests for Qt6 compatibility
2023-09-03 23:00:13 +02:00
Adriaan de Groot
25250179da
libcalamares: handle variants in Python
...
The Python helpers need a couple of obscure QVariants,
do not add them to the "global" list of compatible variant types.
2023-09-03 23:00:13 +02:00
Adriaan de Groot
cdb2eb8b9a
libcalamares: deal with KF5 macro expansion
...
Since KF5 is not looked-for in the Qt6 build, mock up
a useless macro-expander in its place.
2023-09-03 23:00:13 +02:00
Adriaan de Groot
e0b820abbc
libcalamares: deal with QtConcurrent::run
...
In Qt5, you pass the pointer-to-object for a member-function-call
first, and in Qt6, as a regular parameter.
2023-09-03 22:58:49 +02:00
Adriaan de Groot
fe8939e745
libcalamares: deal with QRegExp
2023-09-03 22:58:49 +02:00
Adriaan de Groot
99d012c5ce
libcalamares: deal with QVariant
...
Compatibility header required, and logging was missing
a (transitively included in Qt5) include for QVariant.
2023-09-03 22:58:44 +02:00
Adriaan de Groot
27329a497a
libcalamares: deal with QMutexLocker
...
- Add a compat/ directory with support for Calamares-named
variations of Qt classes where there are relevant differences
between Qt5 and Qt6
2023-09-03 22:58:33 +02:00
Adriaan de Groot
50f2a6ad4a
libcalamares: deal with QPair
...
Use std::pair instead. Also applies to Qt5 build.
2023-09-03 22:53:43 +02:00
Adriaan de Groot
dfb778984c
kdsingleapplication: make Qt5/6 independent
2023-09-03 22:53:43 +02:00
Adriaan de Groot
179796d598
CMake: can't mix KF5 and Qt6
...
This will fail to build because we require KDE Frameworks
CoreAddons, but I don't have one just now.
2023-09-03 22:53:43 +02:00
Adriaan de Groot
2b40ab9a5b
CMake: make tests independent of Qt5/6
2023-09-03 22:53:43 +02:00
Adriaan de Groot
b905afb169
CMake: restrict Qt6 build
...
- build **only** libcalamares
- switch the finding and linking of Qt modules to use qtname
2023-09-03 22:53:43 +02:00
Adriaan de Groot
953479422c
CMake: export Qt6 setting to the config file
2023-09-03 22:53:43 +02:00
Adriaan de Groot
cbdd3fc928
CMake: add top-level option for Qt6
2023-09-03 22:53:43 +02:00
Adriaan de Groot
5ff9fcd59a
libcalamares: prevent astyle from reformatting string
2023-09-03 22:53:30 +02:00
Adriaan de Groot
e6ce29ed33
Merge pull request #2194 from AsahiLinux/passwd-fix
...
[users] Use usermod to disable passwords
2023-09-03 21:19:01 +02:00
Adriaan de Groot
4b87d094fb
initcpiocfg: repair test
...
Empty example config files break tests; there should be at
least a single key in there (for instance, *bogus*, but
setting a flag to the default value is also acceptable)
2023-09-03 21:15:44 +02:00
Hector Martin
a377df2e65
[users] Use usermod to disable passwords
...
On Fedora 38 (and probably others), this step fails with:
passwd -dl root
passwd: Only one of -l, -u, -d, -S may be specified.
Use usermod to wipe and disable the root password instead, which should
work properly. We use '!' (opinions seem to differ on how to mark
disabled/unused accounts, but all of '*' '!' '!!' should have the same
effect in practice).
Signed-off-by: Hector Martin <marcan@marcan.st>
2023-09-03 19:58:13 +09:00
dalto
7fa8fa680c
[initcpiocfg] Make using systemd hook optional
2023-09-02 10:01:05 -05:00
Adriaan de Groot
741c7b75d8
Merge pull request #2193 from AsahiLinux/locale1-fix
...
[keyboard] Fix locale1 support for alternate layouts
2023-09-02 16:11:34 +02:00
Hector Martin
7806d264ab
[keyboard] Fix locale1 support for alternate layouts
...
Copy&paste error caused setting the layout to fail for non-ASCII layouts
with an alternate layout/variant.
Fixes: 812d86130
(\"[keyboard] Add support for setting the layout via locale1\")
Signed-off-by: Hector Martin <marcan@marcan.st>
2023-09-02 22:15:45 +09:00
Adriaan de Groot
102c55d67d
Changes: document keyboard improvement
2023-08-29 14:59:39 +02:00
Adriaan de Groot
6733815269
keyboard: prefer to clean up lists only once
2023-08-29 14:59:13 +02:00
Adriaan de Groot
b85fcff990
keyboard: removeEmpty doesn't need to be a method
2023-08-29 14:55:54 +02:00
Adriaan de Groot
55a2d71e3e
Merge pull request #2136 from ivan1986/fix-non-ascii-keyboard
...
Write layout information for non-ASCII keyboard to X11 and console settnigs.
FIXES #2135
2023-08-29 14:48:12 +02:00
Adriaan de Groot
da7ec3f7cc
Changes: document keyboard change
2023-08-29 14:39:43 +02:00
Adriaan de Groot
3fc8febeea
keyboard: require QtDBus at top-level, tidy includes
2023-08-29 14:37:01 +02:00
Adriaan de Groot
7157ed3854
keyboard: add new keys to schema
...
The stated schema-default for useLocale1 is not entirely correct,
since the code checks for X11 vs. Wayland to determine what the
default should be.
2023-08-29 14:33:21 +02:00
Adriaan de Groot
6c6b7956d2
i18n: update English sources
2023-08-29 14:32:51 +02:00
Adriaan de Groot
8d61345cd6
Merge pull request #2180 from AsahiLinux/keyboard-locale1
...
keyboard: Add locale1 support & option to keep defaults
2023-08-29 11:41:37 +02:00
Adriaan de Groot
cf88ddbaa5
CMake: post-release housekeeping
2023-08-28 23:53:04 +02:00
Adriaan de Groot
8e19d6080d
mount: use False as default for "claimed"
...
The regular tests would fail, because the sample global
configuration does not set the "claimed" value of a partition.
2023-08-28 22:54:22 +02:00
Adriaan de Groot
72bad83022
luksbootkeyfile: support explicit 'default' setting
2023-08-28 22:45:56 +02:00
Adriaan de Groot
3757fcf0bf
libcalamares: drop useless variable
2023-08-28 22:33:56 +02:00
Adriaan de Groot
dc666d29b8
libcalamares: suppress unused-variable warning
2023-08-28 22:33:00 +02:00
Adriaan de Groot
8dfa123e81
CMake: pre-release housekeeping
2023-08-28 22:29:54 +02:00
Adriaan de Groot
ef47932deb
CI: Remove some of the Matrix notification scripts
...
The GitHub Matrix-integration widget does these notifications,
more efficiently than running curl by hand.
2023-08-28 21:55:58 +02:00
dalto8
f804965a8d
Merge pull request #2183 from Boria138/initcpiocfg
...
Updated the initcpiocfg module
2023-08-27 20:54:37 +00:00