Package: release.debian.org
Severity: normal
X-Debbugs-Cc: lomiri-sess...@packages.debian.org
Control: affects -1 + src:lomiri-session
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package lomiri-session

[ Reason ]
This is to pull-in the tecla kbd layout app and provide support for
Lomiri when running in VMs.

[ Impact ]
Missing tecla, so ayatana-indicator-keyboard won't be able to show
the current keyboard layout.

Mouse pointer sync between host and virtual machine (e.g. in
virt-manager) will stay broken.

[ Tests ]
In a VM and locally (both machines Debian 13).

[ Risks ]
Only for Lomiri. Minimal.

[ Checklist ]
  [x] all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

[ Other info ]
Relevant for Lomiri on Debian.

unblock lomiri-session/0.3-10
diff -Nru lomiri-session-0.3/debian/changelog 
lomiri-session-0.3/debian/changelog
--- lomiri-session-0.3/debian/changelog 2025-02-10 15:24:25.000000000 +0100
+++ lomiri-session-0.3/debian/changelog 2025-06-06 16:47:38.000000000 +0200
@@ -1,3 +1,14 @@
+lomiri-session (0.3-10) unstable; urgency=medium
+
+  * debian/control:
+    + In R: replace gkbd-capplet by tecla. This goes together with a change
+      introduced in ayatana-indicator-keyboard 24.7.2-2.
+  * debian/patches:
+    + Add 1001_mark-session-as-running-in-VM-via-envvar.patch. Introduce env 
var
+      that marks a Lomiri session as running in a VM.
+
+ -- Mike Gabriel <sunwea...@debian.org>  Fri, 06 Jun 2025 16:47:38 +0200
+
 lomiri-session (0.3-9) unstable; urgency=medium
 
   * debian/control:
diff -Nru lomiri-session-0.3/debian/control lomiri-session-0.3/debian/control
--- lomiri-session-0.3/debian/control   2025-02-10 15:22:31.000000000 +0100
+++ lomiri-session-0.3/debian/control   2025-05-15 09:14:38.000000000 +0200
@@ -48,7 +48,7 @@
  lomiri-tfamanager-app,
  lomiri-weather-app,
  morph-browser,
- gkbd-capplet,
+ tecla,
  xwayland,
 Breaks: content-hub,
         lomiri-abook2cal-syncd,
diff -Nru 
lomiri-session-0.3/debian/patches/1001_mark-session-as-running-in-VM-via-envvar.patch
 
lomiri-session-0.3/debian/patches/1001_mark-session-as-running-in-VM-via-envvar.patch
--- 
lomiri-session-0.3/debian/patches/1001_mark-session-as-running-in-VM-via-envvar.patch
       1970-01-01 01:00:00.000000000 +0100
+++ 
lomiri-session-0.3/debian/patches/1001_mark-session-as-running-in-VM-via-envvar.patch
       2025-06-06 16:46:53.000000000 +0200
@@ -0,0 +1,15 @@
+Description: Mark session as running in a VM. Need for work-around in lomiri's 
InputDispatchFilter code.
+Author: Mike Gabriel <mike.gabr...@das-netzwerkteam.de>
+Forwarded: 
https://gitlab.com/ubports/development/core/lomiri-session/-/merge_requests/25
+
+--- a/lomiri-session.in
++++ b/lomiri-session.in
+@@ -43,6 +43,8 @@
+ if ([ -x "$(command -v hostnamectl)" ] && [ "$(hostnamectl status | grep 
'Chassis: vm')" ]) \
+    || grep -wq hypervisor /proc/cpuinfo; then
+     export MIR_MESA_KMS_DISABLE_MODESET_PROBE=1
++    export LOMIRI_RUNNING_IN_VM=1
++    dbus-update-activation-environment --systemd LOMIRI_RUNNING_IN_VM=1
+ fi
+ 
+ # Set some envs
diff -Nru lomiri-session-0.3/debian/patches/series 
lomiri-session-0.3/debian/patches/series
--- lomiri-session-0.3/debian/patches/series    2025-02-07 16:58:41.000000000 
+0100
+++ lomiri-session-0.3/debian/patches/series    2025-06-06 16:29:41.000000000 
+0200
@@ -2,3 +2,4 @@
 2024_user-session-migration-integration.patch
 2025_run_xdg_user_dirs_update.patch
 2026_set_mkcal_as_the_alarm_backend_storage.patch
+1001_mark-session-as-running-in-VM-via-envvar.patch

Reply via email to