phosh-base/phosh-shell: add 0.49.0, drop 0.42.0

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2025-08-24 18:23:16 +05:00
parent 7b1a48f9dc
commit d800158747
6 changed files with 76 additions and 96 deletions

View File

@@ -1,5 +0,0 @@
#%PAM-1.0
auth include system-local-login
account include system-local-login
session include system-local-login

View File

@@ -0,0 +1,29 @@
From d100f2f9f2aac2cba7aa18e5e9fcdb9a9674c6ce Mon Sep 17 00:00:00 2001
From: "Anna (cybertailor) Vyalkova" <cyber@sysrq.in>
Date: Sun, 24 Aug 2025 18:06:58 +0500
Subject: [PATCH] tests: Don't assume build directory is inside source
directory
Signed-off-by: Anna (cybertailor) Vyalkova <cyber@sysrq.in>
---
tests/services/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/services/meson.build b/tests/services/meson.build
index 080c7c57..b1044a94 100644
--- a/tests/services/meson.build
+++ b/tests/services/meson.build
@@ -2,8 +2,8 @@ service_data = configuration_data()
service_data.set('ABS_BUILDDIR', meson.project_build_root())
dbus_interface = join_paths(
- meson.project_build_root(),
- '../src/dbus/org.gnome.Shell.SearchProvider2.xml',
+ meson.project_source_root(),
+ 'src/dbus/org.gnome.Shell.SearchProvider2.xml',
)
service = 'org.gnome.Phosh.MockSearchProvider.service'
--
2.51.0

View File

@@ -1,56 +0,0 @@
[Unit]
Description=Phosh, a shell for mobile phones
Documentation=https://gitlab.gnome.org/World/Phosh/phosh
# Make sure we are started after logins are permitted.
After=systemd-user-sessions.service
# If Plymouth is used, we want to start when it is on its way out.
After=plymouth-quit-wait.service
# D-Bus is necessary for contacting logind. Logind is required.
Wants=dbus.socket
After=dbus.socket
# This scope is created by pam_systemd when logging in as the user.
# This directive is a workaround to a systemd bug, where the setup of the
# user session by PAM has some race condition, possibly leading to a failure.
# See README for more details.
After=session-c1.scope
# Since we are part of the graphical session, make sure we are started before
# it is complete.
Before=graphical.target
# Prevent starting on systems without virtual consoles
ConditionPathExists=/dev/tty0
[Service]
Environment=LANG=C.UTF-8
Environment=XDG_CURRENT_DESKTOP=GNOME:Phosh
Environment=XDG_SESSION_DESKTOP=phosh
Environment=XDG_SESSION_TYPE=wayland
ExecStart=/usr/bin/phosh
TimeoutStartSec=30
User=1000
PAMName=login
WorkingDirectory=~
Restart=always
RestartSec=5s
# A virtual terminal is needed.
TTYPath=/dev/tty7
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
# Fail to start if not controlling the tty.
StandardInput=tty-fail
StandardOutput=journal
StandardError=journal
# Log this user with utmp, letting it show up with commands 'w' and 'who'.
UtmpIdentifier=tty7
UtmpMode=user
[Install]
WantedBy=graphical.target

View File

@@ -1,12 +0,0 @@
[Desktop Entry]
Type=Application
Name=On-screen keyboard
Comment=Default on-screen keyboard
Exec=/usr/bin/phosh-osk-stub
Categories=GNOME;Core;
OnlyShowIn=GNOME;
NoDisplay=true
X-GNOME-Autostart-Phase=Panel
X-GNOME-Provides=inputmethod
X-GNOME-Autostart-Notify=true
X-GNOME-AutoRestart=true