Package: tex-fmt
Version: 0.5.7+dfsg-2
Severity: serious
Tags: patch
rust-clap-mangen was recently updated to 0.3, tex-fmt needs
it's dependencies (both Debian and Cargo) adjusting to build
with the new version.
Debdiff is attatched.
diff -Nru tex-fmt-0.5.7+dfsg/debian/changelog
tex-fmt-0.5.7+dfsg/debian/changelog
--- tex-fmt-0.5.7+dfsg/debian/changelog 2026-06-04 12:25:42.000000000 +0000
+++ tex-fmt-0.5.7+dfsg/debian/changelog 2026-07-07 20:11:32.000000000 +0000
@@ -1,3 +1,10 @@
+tex-fmt (0.5.7+dfsg-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Allow version 0.3 of clap-mangen.
+
+ -- Peter Michael Green <[email protected]> Tue, 07 Jul 2026 20:11:32 +0000
+
tex-fmt (0.5.7+dfsg-2) unstable; urgency=medium
* Build with toml 1 (Closes: #1138178)
diff -Nru tex-fmt-0.5.7+dfsg/debian/control tex-fmt-0.5.7+dfsg/debian/control
--- tex-fmt-0.5.7+dfsg/debian/control 2026-06-04 12:25:42.000000000 +0000
+++ tex-fmt-0.5.7+dfsg/debian/control 2026-07-07 20:10:30.000000000 +0000
@@ -12,7 +12,8 @@
librust-clap-4+cargo-dev (>= 4.5.0),
librust-clap-4+default-dev (>= 4.5.0),
librust-clap-complete-4+default-dev (>= 4.5.0),
- librust-clap-mangen-0.2+default-dev (>= 0.2.30),
+ librust-clap-mangen+default-dev (>= 0.2.30),
+ librust-clap-mangen+default-dev (<< 0.4),
librust-colored-3+default-dev (>= 3.0.0),
librust-dirs-6+default-dev (>= 6.0.0),
librust-env-logger-0.11+default-dev (>= 0.11.8),
diff -Nru tex-fmt-0.5.7+dfsg/debian/patches/relax-deps.diff
tex-fmt-0.5.7+dfsg/debian/patches/relax-deps.diff
--- tex-fmt-0.5.7+dfsg/debian/patches/relax-deps.diff 2026-06-04
12:25:42.000000000 +0000
+++ tex-fmt-0.5.7+dfsg/debian/patches/relax-deps.diff 2026-07-07
20:11:32.000000000 +0000
@@ -8,10 +8,10 @@
Cargo.toml | 27 ++++++++++++---------------
1 file changed, 12 insertions(+), 15 deletions(-)
-diff --git a/Cargo.toml b/Cargo.toml
-index 74fc02d..2a0cd1f 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
+Index: tex-fmt-0.5.7+dfsg/Cargo.toml
+===================================================================
+--- tex-fmt-0.5.7+dfsg.orig/Cargo.toml
++++ tex-fmt-0.5.7+dfsg/Cargo.toml
@@ -23,30 +23,27 @@ exclude = [
[features]
@@ -27,7 +27,7 @@
-env_logger = "0.11.10"
+clap = { version = "4.5.0", features = ["cargo"] }
+clap_complete = "4.5.0"
-+clap_mangen = "0.2.30"
++clap_mangen = ">= 0.2.30, < 0.4"
+colored = "3.0"
+dirs = ">= 5.0.1, <7"
+env_logger = "0.11.8"
@@ -51,7 +51,7 @@
-clap_mangen = "0.2.33"
+clap = { version = "4.5.0", features = ["cargo"] }
+clap_complete = "4.5.0"
-+clap_mangen = "0.2.30"
++clap_mangen = ">= 0.2.30, < 0.4"
[profile.release]
codegen-units = 1