Package: git-delta
Version: 0.18.2-5

I hope to update the dirs crate to version 6 soon, git-delta
needs a small dependency patch.

diff -Nru git-delta-0.18.2/debian/changelog git-delta-0.18.2/debian/changelog
--- git-delta-0.18.2/debian/changelog   2025-08-28 12:47:28.000000000 +0000
+++ git-delta-0.18.2/debian/changelog   2025-12-25 10:07:55.000000000 +0000
@@ -1,3 +1,10 @@
+git-delta (0.18.2-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Relax dependency on dirs crate.
+
+ -- Peter Michael Green <[email protected]>  Thu, 25 Dec 2025 10:07:55 +0000
+
 git-delta (0.18.2-5) unstable; urgency=medium
 
   * add patches cherry-picked upstream:
diff -Nru git-delta-0.18.2/debian/control git-delta-0.18.2/debian/control
--- git-delta-0.18.2/debian/control     2025-08-28 12:44:46.000000000 +0000
+++ git-delta-0.18.2/debian/control     2025-12-25 10:03:01.000000000 +0000
@@ -28,7 +28,8 @@
  librust-clap-complete-4+default-dev,
  librust-console-0.15+default-dev,
  librust-ctrlc-3+default-dev,
- librust-dirs-5+default-dev,
+ librust-dirs+default-dev (>= 5),
+ librust-dirs+default-dev (<< 7),
  librust-git2-0.20-dev,
  librust-grep-cli-0.1+default-dev,
  librust-insta-1+colors-dev,
diff -Nru git-delta-0.18.2/debian/patches/2003_dirs.patch 
git-delta-0.18.2/debian/patches/2003_dirs.patch
--- git-delta-0.18.2/debian/patches/2003_dirs.patch     1970-01-01 
00:00:00.000000000 +0000
+++ git-delta-0.18.2/debian/patches/2003_dirs.patch     2025-12-25 
09:53:58.000000000 +0000
@@ -0,0 +1,16 @@
+Description: accept newer version of crate dirs
+Author: Peter Michael Green <[email protected]>
+Last-Update: 2025-12-25
+Index: git-delta-0.18.2/Cargo.toml
+===================================================================
+--- git-delta-0.18.2.orig/Cargo.toml
++++ git-delta-0.18.2/Cargo.toml
+@@ -38,7 +38,7 @@ clap = { version = "4.3.14", features =
+ ] }
+ console = "0.15.0"
+ ctrlc = "3.2.5"
+-dirs = "5.0.1"
++dirs = ">= 5.0.1, < 7"
+ git2 = { version = ">= 0.18.2, <= 0.20", default-features = false, features = 
[] }
+ grep-cli = "0.1.8"
+ itertools = ">= 0.10.5, <= 0.13"
diff -Nru git-delta-0.18.2/debian/patches/series 
git-delta-0.18.2/debian/patches/series
--- git-delta-0.18.2/debian/patches/series      2025-08-28 12:29:41.000000000 
+0000
+++ git-delta-0.18.2/debian/patches/series      2025-12-25 10:02:46.000000000 
+0000
@@ -11,3 +11,4 @@
 2002_bytelines.patch
 2002_rstest.patch
 2002_terminal-colorsaurus.patch
+2003_dirs.patch

Reply via email to