Hello, I have attached a patch, it builds correctly on my end.
Best regards, Simon Quigley [email protected]
diff -Nru phrog-0.53.0/debian/changelog phrog-0.53.0/debian/changelog --- phrog-0.53.0/debian/changelog 2026-08-13 15:12:13.000000000 -0500 +++ phrog-0.53.0/debian/changelog 2026-11-28 13:16:14.000000000 -0600 @@ -1,3 +1,14 @@ +phrog (0.53.0-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Port to zbus 6 (Closes: #1155353). + * Update the emergency-calls schema id so the test suite runs with + phosh 0.59. + * Build-depend on the zbus service and object-manager features only + for tests. Thanks to Antonio Cotos <[email protected]>. + + -- Simon Quigley <[email protected]> Sat, 28 Nov 2026 13:16:14 -0600 + phrog (0.53.0-2) unstable; urgency=medium [ Guido Günther ] diff -Nru phrog-0.53.0/debian/control phrog-0.53.0/debian/control --- phrog-0.53.0/debian/control 2026-08-13 15:12:13.000000000 -0500 +++ phrog-0.53.0/debian/control 2026-11-28 13:15:45.000000000 -0600 @@ -21,8 +21,8 @@ librust-libphosh-0.0.7-dev, librust-nix-0.30+signal-dev, librust-wayland-client-0.31-dev, - librust-zbus-5+async-io-dev (>= 4.3.1~~), - librust-zbus-5+blocking-dev (>= 4.3.1~~), + librust-zbus-6+default-rt-dev, + librust-zbus-6+proxy-dev, librust-input-event-codes-6-dev (>= 6.2.0~~), librust-wayland-protocols-0.32+client-dev, librust-wayland-protocols-misc-0.3+client-dev (>= 0.3.1~~), @@ -34,6 +34,8 @@ gnome-settings-daemon <!nocheck>, gnome-shell-common <!nocheck>, librust-tempfile-3-dev <!nocheck>, + librust-zbus-6+object-manager-dev <!nocheck>, + librust-zbus-6+service-dev <!nocheck>, phoc <!nocheck>, phosh-common <!nocheck>, xauth <!nocheck>, diff -Nru phrog-0.53.0/debian/patches/series phrog-0.53.0/debian/patches/series --- phrog-0.53.0/debian/patches/series 2026-08-13 15:12:13.000000000 -0500 +++ phrog-0.53.0/debian/patches/series 2026-11-28 13:15:27.000000000 -0600 @@ -1,2 +1,4 @@ 0001-Cargo.toml-relax-glib-build-tools-dependency.patch Use-phrog-PAM-service.patch +zbus-6.patch +tests-use-renamed-phosh-emergency-calls-schema.patch diff -Nru phrog-0.53.0/debian/patches/tests-use-renamed-phosh-emergency-calls-schema.patch phrog-0.53.0/debian/patches/tests-use-renamed-phosh-emergency-calls-schema.patch --- phrog-0.53.0/debian/patches/tests-use-renamed-phosh-emergency-calls-schema.patch 1969-12-31 18:00:00.000000000 -0600 +++ phrog-0.53.0/debian/patches/tests-use-renamed-phosh-emergency-calls-schema.patch 2026-11-28 13:16:03.000000000 -0600 @@ -0,0 +1,23 @@ +Description: Update the emergency-calls schema id for phosh 0.59. + phosh 0.59 renamed sm.puri.phosh.emergency-calls to + mobi.phosh.shell.emergency-calls. The old id is not installed, + and Settings::new() aborts the test. +Author: Simon Quigley <[email protected]> +Author: Antonio Cotos <[email protected]> +Origin: vendor +Forwarded: not-needed +Bug-Debian: https://bugs.debian.org/1155353 +Reviewed-by: Simon Quigley <[email protected]> +Last-Update: 2026-11-28 +--- +--- a/tests/emergency_calls.rs ++++ b/tests/emergency_calls.rs +@@ -107,7 +107,7 @@ impl CallFixture { + fn test_emergency_calls() { + let mut test = test_init(None); + +- let e_c_settings = Settings::new("sm.puri.phosh.emergency-calls"); ++ let e_c_settings = Settings::new("mobi.phosh.shell.emergency-calls"); + e_c_settings.set_boolean("enabled", true).unwrap(); + + let ready_rx = test.ready_rx.clone(); diff -Nru phrog-0.53.0/debian/patches/zbus-6.patch phrog-0.53.0/debian/patches/zbus-6.patch --- phrog-0.53.0/debian/patches/zbus-6.patch 1969-12-31 18:00:00.000000000 -0600 +++ phrog-0.53.0/debian/patches/zbus-6.patch 2026-11-28 13:15:52.000000000 -0600 @@ -0,0 +1,42 @@ +Description: Port to zbus 6. + zbus 6 drops the blocking and async-io features. The greeter needs + default-rt and proxy. Test fixtures need service and object-manager, + so those stay dev-dependencies. proxy::Builder::path() no longer + returns a Result; build() reports the error. +Author: Simon Quigley <[email protected]> +Author: Antonio Cotos <[email protected]> +Origin: vendor +Forwarded: not-needed +Bug-Debian: https://bugs.debian.org/1155353 +Reviewed-by: Simon Quigley <[email protected]> +Last-Update: 2026-11-28 +--- +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -20,7 +20,7 @@ anyhow = "1.0.82" + libphosh = "0.0.7" + clap = { version = "4.5.4", features = ["derive"] } + wayland-client = "0.31" +-zbus = { version = "5", default-features = false, features = ["blocking", "async-io"] } ++zbus = { version = "6", default-features = false, features = ["default-rt", "proxy"] } + nix = { version = "0.30", features = ["signal"] } + async-global-executor = "3.0.0" + futures-util = "0.3.30" +@@ -51,6 +51,7 @@ wayland-protocols-misc = { version = "0. + wayland-protocols-wlr = { version = "0.3", features = ["client"] } + tempfile = "3" + serde = "1.0.217" ++zbus = { version = "6", default-features = false, features = ["service", "object-manager"] } + + [package.metadata.binstall] + bin-dir = "{ bin }{ binary-ext }" +--- a/src/user.rs ++++ b/src/user.rs +@@ -23,7 +23,6 @@ impl User { + spawn_future_local(clone!(@weak obj => async move { + let user_proxy = if let Ok(proxy) = UserProxy::builder(&conn) + .path(&path) +- .unwrap_or_else(|_| panic!("failed to construct UserProxy for {}", path)) + .build() + .await + {
OpenPGP_signature.asc
Description: OpenPGP digital signature

