Bug#1155351: bustle: please port to zbus 6

Simon Quigley simon at tsimonq2.net
Sat Nov 28 17:42:34 GMT 2026


Hello,

I have attached a patch, it builds correctly on my end.

Best regards,
Simon Quigley
tsimonq2 at debian.org
-------------- next part --------------
diff -Nru bustle-0.14.0/debian/changelog bustle-0.14.0/debian/changelog
--- bustle-0.14.0/debian/changelog	2026-10-04 03:08:16.000000000 -0500
+++ bustle-0.14.0/debian/changelog	2026-11-28 11:30:41.000000000 -0600
@@ -1,3 +1,10 @@
+bustle (0.14.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Port to zbus 6 (Closes: #1155351).
+
+ -- Simon Quigley <tsimonq2 at debian.org>  Sat, 28 Nov 2026 11:30:41 -0600
+
 bustle (0.14.0-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru bustle-0.14.0/debian/control bustle-0.14.0/debian/control
--- bustle-0.14.0/debian/control	2026-10-04 03:08:16.000000000 -0500
+++ bustle-0.14.0/debian/control	2026-11-28 11:30:12.000000000 -0600
@@ -25,10 +25,13 @@
  librust-libadwaita-0.9+v1-8-dev,
  librust-pcap-file-2+default-dev,
  librust-shell-escape-0.1+default-dev (>= 0.1.5),
+ librust-tokio-1+io-util-dev,
+ librust-tokio-1+process-dev,
  librust-tokio-1+rt-multi-thread-dev,
  librust-tracing-0.1+default-dev (>= 0.1.36),
  librust-tracing-subscriber-0.3+default-dev (>= 0.3.15),
- librust-zbus-5+tokio-dev (>= 5.6),
+ librust-zbus-6+proxy-dev,
+ librust-zbus-6+tokio-dev,
  libstd-rust-dev,
  meson (>= 1.7),
  rustc:native (>= 1.92),
diff -Nru bustle-0.14.0/debian/patches/series bustle-0.14.0/debian/patches/series
--- bustle-0.14.0/debian/patches/series	2026-10-04 03:08:16.000000000 -0500
+++ bustle-0.14.0/debian/patches/series	2026-11-28 11:29:54.000000000 -0600
@@ -1,3 +1,4 @@
 allow-build.diff
 relax-deps.patch
 disable-clippy.patch
+zbus-6.patch
diff -Nru bustle-0.14.0/debian/patches/zbus-6.patch bustle-0.14.0/debian/patches/zbus-6.patch
--- bustle-0.14.0/debian/patches/zbus-6.patch	1969-12-31 18:00:00.000000000 -0600
+++ bustle-0.14.0/debian/patches/zbus-6.patch	2026-11-28 11:30:27.000000000 -0600
@@ -0,0 +1,60 @@
+Description: Port to zbus 6.
+Author: Simon Quigley <tsimonq2 at debian.org>
+Origin: vendor
+Forwarded: not-needed
+Reviewed-by: Simon Quigley <tsimonq2 at debian.org>
+Last-Update: 2026-11-27
+---
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -20,12 +20,15 @@ indexmap = "2.2.1"
+ pcap-file = "2.0.0"
+ shell-escape = "0.1.5"
+ tokio = { version = "1.0", default-features = false, features = [
++    "io-util",
++    "process",
+     "rt-multi-thread",
+ ] }
+ tracing = "0.1.36"
+ tracing-subscriber = "0.3.15"
+-zbus = { version = "5.6", default-features = false, features = [
++zbus = { version = "6", default-features = false, features = [
+     "tokio",
++    "proxy",
+ ] }
+ 
+ [dev-dependencies]
+--- a/src/message.rs
++++ b/src/message.rs
+@@ -204,11 +204,15 @@ impl Message {
+             .primary()
+             .flags()
+             .iter()
+-            .map(|flag| match flag {
+-                zbus::message::Flags::NoReplyExpected => gettext("No Reply Expected"),
+-                zbus::message::Flags::NoAutoStart => gettext("No Auto Start"),
+-                zbus::message::Flags::AllowInteractiveAuth => {
+-                    gettext("Allow Interactive Authentication")
++            .filter_map(|flag| {
++                if flag == zbus::message::Flags::NO_REPLY_EXPECTED {
++                    Some(gettext("No Reply Expected"))
++                } else if flag == zbus::message::Flags::NO_AUTO_START {
++                    Some(gettext("No Auto Start"))
++                } else if flag == zbus::message::Flags::ALLOW_INTERACTIVE_AUTH {
++                    Some(gettext("Allow Interactive Authentication"))
++                } else {
++                    None
+                 }
+             })
+             .collect::<Vec<_>>()
+--- a/src/message_fmt.rs
++++ b/src/message_fmt.rs
+@@ -80,7 +80,7 @@ pub(crate) fn value_display_fmt<W: Write
+         zvariant::Value::ObjectPath(val) => {
+             write!(f, "{}", val.as_str())
+         }
+-        zvariant::Value::Value(child) => {
++        zvariant::Variant::Variant(child) => {
+             f.write_str(&shell_escape::escape(Cow::Owned(
+                 child.value_signature().to_string(),
+             )))?;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20261128/a00b798d/attachment.sig>


More information about the pkg-gnome-maintainers mailing list