Merge branch 'rel-1.42.0_rc1' into 'main'

treewide: Document changes and release 1.42.0~rc1

See merge request World/Phosh/squeekboard!680
This commit is contained in:
Marge Bot
2024-09-23 13:01:53 +00:00
6 changed files with 89 additions and 19 deletions

28
Cargo.lock generated
View File

@ -111,9 +111,9 @@ dependencies = [
[[package]]
name = "cc"
version = "1.1.18"
version = "1.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b62ac837cdb5cb22e10a256099b4fc502b1dfe560cb282963a974d7abd80e476"
checksum = "07b1695e2c7e8fc85310cde85aeaab7e3097f593c91d209d3f9df76c928100f0"
dependencies = [
"shlex",
]
@ -136,18 +136,18 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "clap"
version = "4.5.17"
version = "4.5.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3e5a21b8495e732f1b3c364c9949b201ca7bae518c502c80256c96ad79eaf6ac"
checksum = "b0956a43b323ac1afaffc053ed5c4b7c1f1800bacd1683c353aabbb752515dd3"
dependencies = [
"clap_builder",
]
[[package]]
name = "clap_builder"
version = "4.5.17"
version = "4.5.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8cf2dd12af7a047ad9d6da2b6b249759a22a7abc0f474c1dae1777afa4b21a73"
checksum = "4d72166dd41634086d5803a47eb71ae740e61d84709c36f3c34110173db3961b"
dependencies = [
"anstyle",
"clap_lex",
@ -693,9 +693,9 @@ dependencies = [
[[package]]
name = "once_cell"
version = "1.20.0"
version = "1.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "33ea5043e58958ee56f3e15a90aee535795cd7dfd319846288d93c5b57d85cbe"
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
[[package]]
name = "pango"
@ -742,9 +742,9 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
[[package]]
name = "pkg-config"
version = "0.3.30"
version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2"
[[package]]
name = "polling"
@ -1030,18 +1030,18 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
[[package]]
name = "thiserror"
version = "1.0.63"
version = "1.0.64"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724"
checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
version = "1.0.63"
version = "1.0.64"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261"
checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3"
dependencies = [
"proc-macro2",
"quote",

27
NEWS
View File

@ -1,3 +1,30 @@
squeekboard 1.42.0~rc1
----------------------
Released September 2024
* New layouts:
* Belarusian (by)
* Japanese (jp)
* Serbian (rs), (rs+latin), (rs+latinunicode)
* Fixes:
* "Keyboard Settings" in the language-selection-popover will now open the correct panel in GNOME Settings.
* On some relatively small screens in horizontal orientation, the compact shape was used instead of the wide shape,
even though the wide shape can fit into the same height. The wide shape will be used on those screens now.
* Changes:
* The height of the panel will adapt to screens differently now.
In particular, the panel will now be 1/3 of the screen's height on most monitors in horizontal orientation,
and as tall as it can be, while maintaining the aspect-ratio of the wide shape (16:5) without empty space next to it,
for most monitors in vertical orientation.
* Settings for adjusting the height of the panel for the keyboard have been added.
* The documentation has been improved. In particular, it should now be much easier to learn how to test changes to Squeekboard and layouts.
* After building a Debian-package for Squeekboard and installing it, `update-alternatives` is now supported.
* The layout-files now have the English name of the language for which the respective layout is, in a comment at the top of the file.
* For a few languages which do not have a layout yet, a more appropriate fallback-layout will be chosen.
* Contributors:
* Guido Günther
* MoonlightWave-12
* UI translations:
* Sabri Ünal (tr)
squeekboard 1.41.0
------------------
Released August 2024

View File

@ -100,14 +100,21 @@ It's strongly recommended to support:
Settings
--------
To see a list of available settings, use the following command:
You can change the height of the panel for the keyboard with:
```sh
$ gsettings list-keys sm.puri.Squeekboard
$ gsettings set sm.puri.Squeekboard scale-in-horizontal-screen-orientation 1.0
$ gsettings set sm.puri.Squeekboard scale-in-vertical-screen-orientation 1.0
```
Note: If the keyboard is open when the settings for the panel-height are changed, the height of the keyboard will not change until it is opened again, or the layout is changed.
While using Phosh, one can long-click/long-tap the home-bar at the bottom, to open and close the keyboard.
While using Phosh, you can long-click/long-tap the home-bar at the bottom, to open and close the keyboard.
To reset the settings to the default, you can use:
```sh
$ gsettings reset-recursively sm.puri.Squeekboard
```
Developing
----------

36
debian/changelog vendored
View File

@ -1,3 +1,39 @@
squeekboard (1.42.0~rc1) experimental; urgency=medium
[ MoonlightWave-12 ]
* meson.build: Check the exit-status-code of `run_command()`
* debian: Support using `update-alternatives`
* documentation: Improve documentation
* .gitignore: Add debian/*.debhelper
* layouts: Add Serbian layouts
* layouts: Increase the font-size of the wide shape of the Malayalam layout
* layouts: Add English language-names to layout-files
* Layouts: Add Belarusian layout
* Layouts: Add Japanese (jp) layout based on japanese keyboards
* Layouts: Fallback to more appropriate layouts
* popover.rs: Open correct panel in GNOME Settings
* layouts: Add a placeholder to the emoji-layout
* NEWS.md: Rename to `NEWS` and Change `-` to `*` in lists
* Cargo.toml: Simplify versions
* Cargo.toml: Change accepted version-range to SemVer-compatible versions
* Cargo.toml: Update dependencies
* state.rs: Make `get_preferred_height_and_arrangement` easier to understand
* scaling: Improve scaling
* dependencies: Require at least version 1.0.0 of Meson
* scaling: Add GSettings for adjusting the height of the panel
* testing: Mention non-default scaling-settings during scaling-tests
* Cargo.lock: Update dependencies
* README.md: Improve the information about using the settings
* hacking.md: Simplify `gbp dch …`-command
[ Sabri Ünal ]
* Update Turkish translation
[ Guido Günther ]
* dbus: Update OSK0 protocol from phosh
-- MoonlightWave-12 <135532-MoonlightWave-12@users.noreply.gitlab.gnome.org> Mon, 23 Sep 2024 14:42:26 +0200
squeekboard (1.41.0) experimental; urgency=medium
[ MoonlightWave-12 ]

View File

@ -300,7 +300,7 @@ Packaging is in the `debian/` directory, and creates builds that can be quickly
```sh
$ cd squeekboard-source
$ EMAIL=my_address@example.com gbp dch --multimaint-merge --ignore-branch --git-author --distribution=experimental --new-version=x.y.z
$ EMAIL=my_address@example.com gbp dch --multimaint-merge --ignore-branch --git-author --release --new-version=x.y.z
```
Inspect `debian/changelog`, and make sure the first line contains the correct version number and suite. For example:

View File

@ -1,7 +1,7 @@
project(
'squeekboard',
'c', 'rust',
version: '1.41.0',
version: '1.42.0.rc1',
license: 'GPLv3',
meson_version: '>=1.0.0',
default_options: [