Package: safe-vdash
Version: 0.20.0-4

I hope to update crossterm and ratatui to the latest versions soon,
safe-vdash needs a small patch for the new version of ratatui.

Unfortunately, this patch breaks the build with the old ratatui,
so the upload will have to wait until the new version of ratatui
is in unstable.
diff -Nru safe-vdash-0.20.0/debian/changelog safe-vdash-0.20.0/debian/changelog
--- safe-vdash-0.20.0/debian/changelog  2025-12-29 08:37:15.000000000 +0000
+++ safe-vdash-0.20.0/debian/changelog  2026-05-06 16:21:44.000000000 +0000
@@ -1,3 +1,11 @@
+safe-vdash (0.20.0-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Relax dependency on crossterm.
+  * Add patch for ratatui 0.30.
+
+ -- Peter Michael Green <[email protected]>  Wed, 06 May 2026 16:21:44 +0000
+
 safe-vdash (0.20.0-4) unstable; urgency=medium
 
   * extend patch 1001_ratatui
diff -Nru safe-vdash-0.20.0/debian/control safe-vdash-0.20.0/debian/control
--- safe-vdash-0.20.0/debian/control    2025-12-29 08:36:57.000000000 +0000
+++ safe-vdash-0.20.0/debian/control    2026-05-06 16:21:44.000000000 +0000
@@ -9,7 +9,7 @@
  librust-byte-unit-5+default-dev,
  librust-chrono-0.4+default-dev,
  librust-chrono-0.4+serde-dev,
- librust-crossterm-dev (<< 0.29),
+ librust-crossterm-dev (<< 0.30),
  librust-env-logger-0.11+default-dev,
  librust-fs2-0.4+default-dev,
  librust-futures-0.3+default-dev,
@@ -18,7 +18,7 @@
  librust-linemux-0.3+default-dev,
  librust-log-0.4+default-dev,
  librust-rand-0.8+default-dev,
- librust-ratatui-dev (<< 0.30),
+ librust-ratatui-0.30-dev,
  librust-regex-1+default-dev,
  librust-reqwest-0.12+default-dev,
  librust-serde-1+default-dev,
diff -Nru safe-vdash-0.20.0/debian/patches/1001_crossterm.patch 
safe-vdash-0.20.0/debian/patches/1001_crossterm.patch
--- safe-vdash-0.20.0/debian/patches/1001_crossterm.patch       2025-09-26 
22:50:55.000000000 +0000
+++ safe-vdash-0.20.0/debian/patches/1001_crossterm.patch       2026-05-06 
16:21:44.000000000 +0000
@@ -12,7 +12,7 @@
  futures = "0.3.19"
  ratatui = { version = "0.25.0", features = ["serde"] }
 -crossterm = { version = "0.27.0" }
-+crossterm = { version = ">= 0.27.0, <= 0.28" }
++crossterm = { version = ">= 0.27.0, <= 0.29" }
  regex = "1.3.9"
  tempfile = "3.1.0"
  time = "0.3.29"
diff -Nru safe-vdash-0.20.0/debian/patches/1001_ratatui.patch 
safe-vdash-0.20.0/debian/patches/1001_ratatui.patch
--- safe-vdash-0.20.0/debian/patches/1001_ratatui.patch 2025-12-29 
08:24:34.000000000 +0000
+++ safe-vdash-0.20.0/debian/patches/1001_ratatui.patch 2026-05-06 
16:21:44.000000000 +0000
@@ -1,17 +1,41 @@
-Description: accept newer minor versions of crate ratatui
-Author: Jonas Smedegaard <[email protected]>
-Forwarded: not-needed
-Last-Update: 2025-08-28
+Description: make code build with ratatui 0.30
+Author: Peter Michael Green <[email protected]>
+Forwarded: no
+Last-Update: 2026-05-06
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -21,7 +21,7 @@
+Index: safe-vdash-0.20.0/Cargo.toml
+===================================================================
+--- safe-vdash-0.20.0.orig/Cargo.toml
++++ safe-vdash-0.20.0/Cargo.toml
+@@ -21,7 +21,7 @@ tokio-macros = "2.1.0"
  linemux = "0.3.0"
  structopt = "~0.3.15"
  futures = "0.3.19"
 -ratatui = { version = "0.25.0", features = ["serde"] }
-+ratatui = { version = ">= 0.25.0, <= 0.29", features = ["serde"] }
- crossterm = { version = ">= 0.27.0, <= 0.28" }
++ratatui = { version = "0.30", features = ["serde"] }
+ crossterm = { version = ">= 0.27.0, <= 0.29" }
  regex = "1.3.9"
  tempfile = "3.1.0"
+Index: safe-vdash-0.20.0/src/widgets/sparkline.rs
+===================================================================
+--- safe-vdash-0.20.0.orig/src/widgets/sparkline.rs
++++ safe-vdash-0.20.0/src/widgets/sparkline.rs
+@@ -23,7 +23,7 @@ pub struct Sparkline2<'a> {
+       /// widget uses the max of the dataset)
+       max: Option<u64>,
+       /// A set of bar symbols used to represent the give data
+-      bar_set: symbols::bar::Set,
++      bar_set: symbols::bar::Set<'a>,
+ }
+ 
+ impl<'a> Default for Sparkline2<'a> {
+@@ -59,7 +59,7 @@ impl<'a> Sparkline2<'a> {
+               self
+       }
+ 
+-      pub fn bar_set(mut self, bar_set: symbols::bar::Set) -> Sparkline2<'a> {
++      pub fn bar_set(mut self, bar_set: symbols::bar::Set<'a>) -> 
Sparkline2<'a> {
+               self.bar_set = bar_set;
+               self
+       }

Reply via email to