[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/phosh][debian/latest] 2 commits: Switch to using systemd user units

Guido Günther (@agx) gitlab at salsa.debian.org
Sun Mar 31 19:11:35 BST 2024



Guido Günther pushed to branch debian/latest at Debian On Mobile / phosh


Commits:
a9da86de by Guido Günther at 2024-03-31T12:02:32+02:00
Switch to using systemd user units

gnome-session 46 dropped non systemd support.

- - - - -
f2ed5265 by Guido Günther at 2024-03-31T14:17:27+02:00
Document changes and release 0.37.0-2

- - - - -


6 changed files:

- debian/changelog
- debian/control
- + debian/patches/Drop-session-type-argument.patch
- + debian/patches/series
- debian/phosh.install
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+phosh (0.37.0-2) unstable; urgency=medium
+
+  * Switch to using systemd user units
+    gnome-session 46 dropped non systemd support.
+    Thanks djhg2000 for tracking this down.
+
+ -- Guido Günther <agx at sigxcpu.org>  Sun, 31 Mar 2024 11:34:35 +0200
+
 phosh (0.37.0-1) unstable; urgency=medium
 
   * New upstream release


=====================================
debian/control
=====================================
@@ -75,6 +75,7 @@ Provides:
 Breaks:
  gnome-calls (<< 41~alpha),
  gnome-control-center (<< 42),
+ gnome-session (<< 46~),
  libgtk-3-0 (<< 3.24.30),
 Description: Pure Wayland shell for mobile devices
  Phosh is a graphical shell for Wayland compositors speaking the layer-surface


=====================================
debian/patches/Drop-session-type-argument.patch
=====================================
@@ -0,0 +1,19 @@
+From: =?utf-8?q?Guido_G=C3=BCnther?= <agx at sigxcpu.org>
+Date: Sun, 31 Mar 2024 11:48:35 +0200
+Subject: Drop session type argument
+
+It confuses gnome-session >= 46
+---
+ data/phosh-session.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/data/phosh-session.in b/data/phosh-session.in
+index 6c295ab..9b951b6 100755
+--- a/data/phosh-session.in
++++ b/data/phosh-session.in
+@@ -54,4 +54,4 @@ fi
+ # variables from /etc/profile.d (XDG_*)
+ [ -n "$WLR_BACKENDS" ] || WLR_BACKENDS=drm,libinput
+ export WLR_BACKENDS
+-exec "${COMPOSITOR}" -S -C "${PHOC_INI}" -E "bash -lc 'exec ${GNOME_SESSION} --disable-acceleration-check --session=phosh @session_manager@'"
++exec "${COMPOSITOR}" -S -C "${PHOC_INI}" -E "bash -lc 'exec ${GNOME_SESSION} --disable-acceleration-check --session=phosh'"


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+Drop-session-type-argument.patch


=====================================
debian/phosh.install
=====================================
@@ -1,4 +1,7 @@
 usr/bin/phosh-session
+usr/lib/systemd/user/gnome-session at phosh.target.d/session.conf
+usr/lib/systemd/user/sm.puri.Phosh.service
+usr/lib/systemd/user/sm.puri.Phosh.target
 usr/libexec/phosh
 usr/libexec/phosh-calendar-server
 usr/share/icons/hicolor/symbolic/apps/sm.puri.Phosh-symbolic.svg


=====================================
debian/rules
=====================================
@@ -2,7 +2,7 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-CONFIGURE_OPTS=-Dphoc_tests=disabled -Dsystemd=false
+CONFIGURE_OPTS=-Dphoc_tests=disabled -Dsystemd=true
 
 ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
   CONFIGURE_OPTS+=-Dgtk_doc=true -Dman=true



View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phosh/-/compare/2acfa822637d1968d0c2f364690e4db2aa222f84...f2ed5265b00aa323c9352dc38e4311216e631a9b

-- 
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phosh/-/compare/2acfa822637d1968d0c2f364690e4db2aa222f84...f2ed5265b00aa323c9352dc38e4311216e631a9b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20240331/ecb38618/attachment-0001.htm>


More information about the Debian-on-mobile-maintainers mailing list