Summary of changes
- Allow to tweak home bars's osk long press delay
- Drop home bar's animated arrow
- Improve app-id mappings
- Don't hard code Cantarell Font
- Pick up night light on newly plugged screens
- Unbreak service file with newer systemd
- More bug fixes and cleanups
- Issues fixed:
- Contributors:
- Anna “CyberTailor”
- Bardia Moshiri
- Guido Günther
- Kai Lüke
- Sertonix
- Anna “CyberTailor”
i18n updates
- UI translations:
- Martin (sl)
- Pierre Michel Augustin (ht)
- Martin (sl)
Detailed changes
phosh (0.36.0) experimental; urgency=medium
.
[ Sertonix ]
* util: Update broken app_id mappings
* util: Fix last_component lowercase
.
[ Guido Günther ]
* ci: Use common ci template.
This removes an external reference and we want to share more common job
config.
* ci: Use common po check.
* home: No need to store osk manager.
We fetch it every time, so no need to store it.
* home: Fix signature of on_powerbar_pressed.
Osk manager and shell aren't passed since this is a GTK signal callback.
Fixes: fe308c2ce ("home: Shrink home-bar height and move osk activation to center")
* home: Allow to tweak osk long press delay
* lockscreen-manager: Don't try to clear already gone shields.
Uplugging a monitor can race with unlock (which discards all shields).
Make sure we don't try to destroy a shield for an unplugged monitor when
lockscreen_unlock_cb has just removed all shields as we crash
otherwise..
* lockscreen: Drop hardcoded Cantarell font.
It was only on a single element.
* top-bar: Drop hardcoded Cantarell font.
Only one element on the lock screen as well as the top-bar had it
hardcoded making the font inconsistent when changed via
org.gnome.desktop.interface font-name
GSetting.
Closes: https://gitlab.gnome.org/World/Phosh/phosh/-/issues/1016
* monitor-manager: Sync gamma tables for new monitors.
This ensures newly plugged outputs get their gamma table updated and
hence e.g. pick up night light correctly.
Closes: https://gitlab.gnome.org/World/Phosh/phosh/-/issues/1019
* wayland: Drop unused input-inhibitor protocol.
It's unused and wlroots 0.18.x dropped support for it.
* tools: Parse additional license headers.
* home: Decruft a bit
* home: Drop animated arrow.
The overview can be closed by activating an application so there's no real
need for the arrow.
* home: Drop the home-bar's stack.
We don't need it anymore since the arrow is gone
* home: Hide power bar pill when unfolded.
Otherwise it might look a bit out of place as it's exactly over the
active app.
* gmobile: Update to 0.0.5 adding notch support for the FP5.
.
[ Anna “CyberTailor” ]
* build: Allow elogind to be used on systems without SystemD
.
[ Bardia Moshiri ]
* packaging: Add libgirepository1.0-dev as a build dependency
.
[ Kai Lüke ]
* phosh-session: Drop ambient capabilities.
Systemd 254 adds cap_wake_alarm by default in pam_systemd.
The phosh.service makes use of it through PAMName=login.
This causes phoc to run with this ambient capability which is passed to
the Phosh session which then fails to spawn any .desktop files such as
Epiphany or any Flatpak app because they depend on bwrap which has a
restrictive check against additional capabilities:
https://github.com/containers/bubblewrap/issues/380
A regular GNOME session with GDM and GNOME Shell does not have this
problem.
Drop ambient capabilities before running the Phosh session to resolve
the bwrap problem and align the behavior with the regular GNOME setup.
* phosh-session: Reduce number of processes.
The phoc -E switch uses "sh -c" to run the given commands and then in
that shell "bash -lc" is started to run the session. Without using
"exec CMD" this leaves the shell process around while they wait for the
child process.
To save memory, replace the shell process in the second invocation, but
leave the first as is to address this in phoc.
.
[ Martin ]
* Update Slovenian translation
.
[ Pierre Michel Augustin ]
* Update Haitian Creole translation
Required versions of related projects
- glib >= 2.72.0
- gtk3 >= 3.24.36
- gtk4 >= 4.8.3
- phoc >= 0.33.0
- squeekboard >= 1.21.0
- feedbackd >= 0.2.0
- gnome-calls >= 45~alpha for emergency calls support, otherwise >= 42
- wl-clipboar >= 2.2.1
- pipewire: >= 0.3.73 for proper audio icons
- xdg-desktop-portal >= 1.17.1 to honor portal configuration
- phosh-mobile-settings >= 0.30.0
- phosh-tour >= 0.28.0
Required patches that are merged upstream but not yet in a released version:
(none)
Required patches that aren't merged upstream yet:
- wlroots (>= 0.12.0): Layer shell restrictions. See https://source.puri.sm/Librem5/phosh/-/issues/422. Otherwise phosh will fail to start.
- gtk: xdg-activation-0-serial. Otherwise startup splash always times out
- gnome-settings-daemon: Drop sleep notification, otherwise suspend might fail. See https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/issues/656
Recommended patches on other projects
Patches that are merged upstream but not yet in a released version:
- gnome-clocks: Allow for lockscreen actions: https://gitlab.gnome.org/GNOME/gnome-clocks/-/merge_requests/277 . Needed to turn off alarms on the lock screen.
- gtk4: Touch DND fixes: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6608
- gtk3: Better touch accuracy (affects phosh, phosh-osk-stub, etc): https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6668
- gnome-text-editor: Hint word completion (so e.g. OSKs know its sensible to use it): https://gitlab.gnome.org/GNOME/gnome-text-editor/-/merge_requests/132
Patches that aren't merged upstream yet:
- linux: HKS support (not yet submitted): https://source.puri.sm/Librem5/linux-next/-/merge_requests/77
- gtk4 adaptiveness (not yet submitted): https://source.puri.sm/Librem5/debs/gtk4/-/tree/pureos/byzantium/debian/patches/pureos/adaptive
(Not needed for phosh itself but to make GTK4 applications adapt better)
- gtk3 adaptiveness (not yet submitted): https://source.puri.sm/Librem5/debs/gtk/-/tree/pureos/byzantium/debian/patches/pureos/adaptive
(Not needed for phosh itself but to make GTK3 applications adapt better)
- gnome-screenshot adaptiveness: https://gitlab.gnome.org/GNOME/gnome-screenshot/-/merge_requests/69
(Not needed for phosh itself but to make screenshots easier)
- vte: Ignore menu key: https://gitlab.gnome.org/guidog/vte/-/commit/11b29ca2aa2f1715579519699ec17245a411ee0e . See https://gitlab.gnome.org/GNOME/vte/-/issues/2644 (as project doesn't allow merge requests) (Not needed for phosh itself but to get copy/paste menu in e.g. gnome-console)
See meson.build and debian/control for build-time and run-time dependencies.
For older releases
These are only some of the required/recommended patches. If in doubt please use the released versions above:
- glib (contained in 2.72.0): Notification categories
- gnome-settings-daemon: Claim light sensor async as otherwise screen unblank can take a noticable amount of time
- gsettings-desktop-data (contained in 42): Dark theme toggle
- gnome-control-center (contained in 42): display: Use ComboBox when folded. Otherwise fractional scaling doesn't show all values.
- gnome-control-center (contained in 42): connection-editor: Allow dialog to resize
- gtk4 (contained in 4.6.2): xdg-activation
- gtk4 (contained in 4.6.2): osk unfold
- gtk4 (contained in 4.6.2): osk unfold
- gtk3 (contained in 3.24.30):gtkapplication-dbus: Fetch inital screen saver state async. Otherwise gnome-calls and phosh will block on each other on startup blocking the whole UI.
- geoclue (contained in 2.6.0): Add phosh
- wlroots (contained in 0.16.0): xdg-activation: Allow to submit tokens. Needed for launch splash.
- wlroots (contained in 0.16.0): cancel touches
- xdg-desktop-portal-wlr (contained in 0.6.0): For screen sharing: https://github.com/emersion/xdg-desktop-portal-wlr/pull/192
- pipewire: Add icon_name properties to ucm: https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1646
- wl-clipboard: Don't require gtk_shell >= 4