to fix a deprecation-warning:
"…/squeekboard/debian/cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier,
you can symlink `config` to `config.toml`"
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/659>
It is currently not possible to build Squeekboard with only
packages that are available in Debian.
This is not likely to change until Squeekboard has been ported
to GTK4 or gtk4-layer-shell.
Until then, vendor the dependencies during the build,
so that one can still use the ".deb"-packages for testing.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/659>
to make rust-analyzer work correctly.
When the paths in Cargo.toml have '@path@' in them,
rust-analyzer cannot find the correct paths.
Before this change, rust-analyzer was unable to offer information
about code (in files other than main.rs), and instead
showed an error-message:
"1:1 unused: This file is not included anywhere in the module tree,
so rust-analyzer can't offer IDE services.".
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/657>
New button-styles:
- `change-view`: Highlighted like `special`,
but with a border at the bottom.
- `character-group`: Like `change-view`, but with less highlighting.
- `placeholder`: Less contrast to the background and does not visually
change when pressed.
- `subtle-highlight`: For highlighting commonly used characters
in accent-views, for example.
New layouts:
- Portuguese
- Slovenian
- Turkish (F-layout)
- Turkish (Q-layout)
Remade layout:
- Portuguese (Brazil): A view for accents has been added.
Changes:
- The new button-styles are used in the available layouts,
where appropriate.
- The top rows of the terminal-layouts are a little taller.
- Squeekboard will choose the wide shape of layouts, for more displays
in horizontal orientation.
- Highlighted buttons now show visual feedback too, when pressed.
- Many layouts have been adjusted,
so that those change their form less when switching views.
- Various small issues have been fixed, to make layouts more consistent.
Development:
- Scaling-tests for many display-types have been added.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/655>
This workaround makes Squeekboard use the wide shape on more devices.
On many devices with wide screens, which should use the wide shape
for layouts while in horizontal orientation, the compact shape was
used instead.
In particular, 5" large displays with an aspect-ratio of 16:9,
which are relatively common, were using the compact shape.
This workaround has the side-effect of allowing for more empty space
above and below the wide shape, to fit the layout into the available area.
The buttons on displays where this would be noticeable,
should still be larger than before.
To find an appropriate point for switching between the shapes without
having the relevant displays to test with,
one can create an image sized according to the device's display-resolution
and pixel-density, place a line representing the height of Squeekboard
(based on the scaling-tests), paste images of compact and wide
layout-shapes into the area and scale them appropriately,
set the image-viewer to show the image according to physical size,
and then compare which one fits better.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/639>
Some of the build-dependencies that were installed from Debian Unstable
as a workaround, are not available anymore.
Until that issue has been solved properly, allow the `build_deb`-CI-job
to fail, so that merge-requests can still be merged.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/653>