Commit graph

602 commits

Author SHA1 Message Date
David Turner
3a20f1cc34 Embedded: Automatically apply patches
When using local site, buildroot does not automatically apply patches.
The buildroot manual recommends using the POST_RSYNC hook to apply
patches if needed, so implement this to automatically apply patches.

Resolves #671
2023-10-17 14:12:49 +01:00
bovirus
9c3a1e563c
Update Italian language 2023-10-17 14:35:48 +02:00
okaits#7534
de4c6db8e6
Improve Japanese translations 2023-10-17 20:15:37 +09:00
veeck
7847efa748 Update de translations 2023-10-17 11:47:36 +02:00
Tom Dewey
7fdf3d033f
Merge pull request #669 from cillian64/progressbar_padding
Remove padding from progress bar
2023-10-17 10:40:37 +01:00
David Turner
a2c7deac70 Remove padding from progress bar
Seems like there's a weird Qt bug in the ProgressBar widget where giving
it padding means the white progress indicator doesn't actually start at
the left edge of the bar or extend to the right edge of the bar.  So
just remove the padding from ProgressBar because it's not doing much.
2023-10-17 10:28:52 +01:00
David Turner
e3586e72b7 Update rpi logo and its alignment/positioning
- Update back to colour logo
- Change logo alignment and positioning to make it generally
  left-aligned, have some nice padding above and below it, and to not
  occupy the full window width.
2023-10-17 10:24:55 +01:00
OlesyaGerasimenko
3bb70b519c
Update Russian translation 2023-10-17 11:46:37 +03:00
oscfdezdz
bb82c53425
Update Spanish translation 2023-10-17 08:33:42 +02:00
Floris Bos
f28b9d0d77 Windows: fix zstd
Closes #654
2023-10-17 00:00:18 +02:00
Floris Bos
10a0894a51 Update nl translation 2023-10-16 23:59:19 +02:00
maxnet
bd7bc8e7ab
Merge pull request #641 from raspberrypi/pi5-embedded
WIP: Pi5 embedded support
2023-10-16 23:45:26 +02:00
Floris Bos
460c625cdf Embedded: patch advanced options to use Popup instead of top level window
Cannot have multiple top level windows on eglfs platform.
2023-10-16 23:18:59 +02:00
Floris Bos
b03ca9fb7e Embedded: compile optimized for speed (-O2) instead of for size (-Os) 2023-10-16 23:10:22 +02:00
Floris Bos
cf090a574a Embedded: add /usr/lib/fonts symlink
Otherwise Qt complains about font directory missing on startup.
2023-10-16 22:38:27 +02:00
maxnet
9459aa4d73
Merge pull request #658 from andreabusi/qml
Add missing space in some IT translations
2023-10-16 22:27:08 +02:00
maxnet
f7c835566e
Merge branch 'qml' into qml 2023-10-16 22:26:51 +02:00
maxnet
cbbb7b9a64
Merge pull request #663 from Vovkiv/qml
Update Ukrainian translation
2023-10-16 22:24:57 +02:00
maxnet
c0c637a918
Merge pull request #664 from martignoni/qml
Update French translation
2023-10-16 22:24:47 +02:00
maxnet
4469b36a89
Merge pull request #665 from qoijjj/patch-1
fix: add xz-devel to fedora build dependency installation instructions
2023-10-16 22:24:22 +02:00
Floris Bos
25a028ca58 Embedded: deal with vc4-kms supplying multiple /dev/dri devices 2023-10-16 22:15:55 +02:00
Floris Bos
40a73c3797 Embedded: patch buildroot to build Mesa3D with Pi 5 support 2023-10-16 22:14:16 +02:00
qoijjj
b9afcc69bb
fix: add xz-devel to fedora build dependency installation instructions
Without this, the cmake step fails with "cmake error: could NOT find LibLZMA".
2023-10-16 13:11:05 -07:00
Vovkiv
36c906ad87
Fix 2023-10-16 17:34:56 +00:00
Nicolas Martignoni
0b7aed4197
Fix a missing colon in a string
- French translation
2023-10-16 19:32:35 +03:00
Nicolas Martignoni
5a71676c75
Update French translation 2023-10-16 19:30:32 +03:00
Vovkiv
6ba6370835
Update rpi-imager_uk.ts 2023-10-16 15:39:45 +00:00
Tom Dewey
96e6f1162e
Merge pull request #662 from tdewey-rpi/revert/2fb58dc/i18n-accidental-delete
Revert "i18n: Advanced Settings -> OS Customisation"
2023-10-16 15:03:54 +01:00
Tom Dewey
e8d7de934f
Merge pull request #645 from tdewey-rpi/dev/shared/device-filtering
Device-first OS list filtering
2023-10-16 13:56:39 +01:00
Tom Dewey tom.dewey@raspberrypi.com
a5c736f230 Revert "i18n: Advanced Settings -> OS Customisation"
This reverts commit 2fb58dc01c.

The original commit included an unexpected deletion of _all_
translations in certain languages. This was unintented, and appears to
have been a merging artefact.

This change will be re-submitted as a separate PR.
2023-10-16 13:06:21 +01:00
Tom Dewey tom.dewey@raspberrypi.com
f2718a05ff qml: Increase device selector icon size to 64x64 2023-10-16 11:47:24 +01:00
Tom Dewey tom.dewey@raspberrypi.com
2fb58dc01c i18n: Advanced Settings -> OS Customisation 2023-10-16 11:46:54 +01:00
Andrea Busi
19350e8deb Add missing space in some IT translations 2023-10-13 15:27:15 +02:00
Tom Dewey tom.dewey@raspberrypi.com
2047461e9a i18n: Remove stale translations
In order to better highlight the strings we'll need updated translations
for, and to avoid confusion, remove obselete and now inaccurate
translations.
2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
69f80e5df3 i18n: Regenerate, sort translation files
A long period of hand-editing caused these to fall out of sync with
what would have been generated from the source.

These were regnerated using the qt5_create_translation macro in the
root CMakeLists, and then using lconvert to merge the completely blank
translation files with the existing translations.
2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
2b2fd7de8a qml: Remove customisation button, roll into flow
This patch carries a translation risk, as we change the default
progression button.

Remove the customisation button all together, and make the customisation
options something we offer as part of flashing an image that
has that capability.

While this adds an additional click to the flash sequence, it should
provide a steer to people who are flashing customisable images to make
use of this capability, potentially avoiding an additional pass through the
Imager.
2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
9fb9fca065 qml: use "Raspberry Pi Device" as selection hint 2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
900f36dc52 logo: Use official asset 2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
e8663baf34 qml: Relayout buttons for [3,1,1,1]
This change adjusts the layout for the progress bar, write button and
cancellation buttons such that they are all placed on the same layout
'row', with the progress bar stacked as before, and the
write/cancel/cancel buttons stacked as a column.

This is not ideal, but probably as sensible as we can get inside this
layout paradigm.
2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
bcdee1818d qml: Move write button, assign explicit cells
1) Resize the window back to 680dip default widths. We don't need the
   extra space now.
2) Reduce Row spacing within the grid layout. We need all the space we
   can get.
3) Assign layouts to explicit cells, at least for selection options and
   write. This layout isn't really scaling to the amount of data we want
   to provide, but we'll make do for now.
4) Mark selection buttons as accessibility ignored when the hwpopup is
   active.
2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
758853e8a8 qml: Size-down the default window to 730 width.
Back-calculated from 1280/1.75, this should just about fit on a 1280x720
format display at 1.75x scaling.
2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
be8956a87e qml: Align 'Cog' to RHS. 2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
1f444bacf6 schema: Update to fixup devices, matching_type 2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
4fb84ff3e8 qml: Filtering types
Introduce 4 filtering types per device spec:

- "exclusive", which only includes OS' that match one of the specified
  tags, and discards any OS that is untagged.
- "exclusive_prefix", which only includes OS' that prefix-match one of
  the specified tags, discarding any OS that is untagged.
- "inclusive", which discards any OS that doesn't include one of the
  specified tags, but includes untagged images.
- "inclusive_prefix", which discards any OS that doesn't prefix match
  one of the specified tags, but includes untagged images.
2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
0f496dc2c9 os-list-schema: Consistent naming of tags 2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
a4a90361a3 qml: Use a ListView for the hw selector 2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
c7fa7504fe qml: Rebalance button widths
Removed preferred widths for OS, device buttons, and set one for the
storage button. This allows the storage label (generally the longest)
to fit on the control face reliably.
2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
8291e00934 qml: Include device icon, desc in model 2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
d603d29671 OS selector: Return to home after close
Prior to this change, you could enter a submenu of the OS selector,
close the window, and then change device filter - presenting stale information
when you went back in to the OS selector.

Work around this by resetting the OS selector sequence when you close
the OS selector window.
2023-10-12 12:28:19 +01:00
Tom Dewey tom.dewey@raspberrypi.com
3f665e01b4 Device-first OS list filtering
Rather than a drop down dialog, which could present users with images
that may not run on their hardware, allow selection of Raspberry Pi as a
first stage. If users adopt this feature, they are presented with a
subset of images that we know will actually run on their hardware.

This is achieved by leveraging @maxnet's excellent OS filtering scheme.

Future work will attach image and description support to this OS list.
2023-10-12 12:28:19 +01:00