Package: bpftop Version: 0.7.1.4.gd579e4e-2 I hope to update ratatui, crossterm and tui-input to the latest upstream versions soon.
bpftop needs a small patch to build with the new version of ratatui, I was able to write the patch in such a way that it remained compatible with the old version, so this can be uploaded without wating.
diff -Nru bpftop-0.7.1.4.gd579e4e/debian/changelog bpftop-0.7.1.4.gd579e4e/debian/changelog --- bpftop-0.7.1.4.gd579e4e/debian/changelog 2026-01-10 22:28:17.000000000 +0000 +++ bpftop-0.7.1.4.gd579e4e/debian/changelog 2026-05-05 17:57:48.000000000 +0000 @@ -1,3 +1,12 @@ +bpftop (0.7.1.4.gd579e4e-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Relax dependencies on ratatui, tui-input and crossterm. + * Add patch to support built with ratatui 0.30 (without breaking + support for ratatui 0.29). + + -- Peter Michael Green <[email protected]> Tue, 05 May 2026 17:57:48 +0000 + bpftop (0.7.1.4.gd579e4e-2) unstable; urgency=medium * Use latest ratatui 0.29. (Closes: #1124093) diff -Nru bpftop-0.7.1.4.gd579e4e/debian/patches/ratatui-0.30.patch bpftop-0.7.1.4.gd579e4e/debian/patches/ratatui-0.30.patch --- bpftop-0.7.1.4.gd579e4e/debian/patches/ratatui-0.30.patch 1970-01-01 00:00:00.000000000 +0000 +++ bpftop-0.7.1.4.gd579e4e/debian/patches/ratatui-0.30.patch 2026-05-05 17:57:48.000000000 +0000 @@ -0,0 +1,32 @@ +Index: bpftop_0.7.1.4.gd579e4e.new/Cargo.toml +=================================================================== +--- bpftop_0.7.1.4.gd579e4e.new.orig/Cargo.toml ++++ bpftop_0.7.1.4.gd579e4e.new/Cargo.toml +@@ -15,11 +15,11 @@ tracing-subscriber = "0.3.20" + tracing-journald = "0.3.0" + libbpf-rs = "= 0.26.0-beta.1" + libbpf-sys = "1.6.1" +-crossterm = "0.28.1" ++crossterm = ">= 0.28.1, < 0.30" + anyhow = "1.0.100" +-ratatui = { version = "0.29.0", default-features = false, features = ['crossterm'] } ++ratatui = { version = ">= 0.29.0, < 0.31", default-features = false, features = ['crossterm'] } + nix = { version = "0.30.1", features = ["user"] } + circular-buffer = "1.0.0" + procfs = "0.17.0" +-tui-input = "0.11.1" ++tui-input = ">= 0.11.1, < 0.16" + clap = { version = "4.5.48", features = ["derive"] } +Index: bpftop_0.7.1.4.gd579e4e.new/src/main.rs +=================================================================== +--- bpftop_0.7.1.4.gd579e4e.new.orig/src/main.rs ++++ bpftop_0.7.1.4.gd579e4e.new/src/main.rs +@@ -259,7 +259,7 @@ fn load_pid_iter(iter_link: &mut Option< + result + } + +-fn run_draw_loop<B: Backend>(terminal: &mut Terminal<B>, mut app: App) -> Result<()> { ++fn run_draw_loop(terminal: &mut Terminal<CrosstermBackend<Stdout>>, mut app: App) -> Result<()> { + loop { + terminal.draw(|f| ui(f, &mut app))?; + diff -Nru bpftop-0.7.1.4.gd579e4e/debian/patches/series bpftop-0.7.1.4.gd579e4e/debian/patches/series --- bpftop-0.7.1.4.gd579e4e/debian/patches/series 2026-01-10 22:25:23.000000000 +0000 +++ bpftop-0.7.1.4.gd579e4e/debian/patches/series 2026-05-05 17:57:48.000000000 +0000 @@ -1 +1,2 @@ fix-version.patch +ratatui-0.30.patch

