Control: tags 1130550 + patch
Control: tags 1130550 + pending

Dear maintainer,

I've prepared an NMU for patat (versioned as 0.15.2.0-1.1) and uploaded 
it to DELAYED/2. Please feel free to tell me if I should cancel it.

cu
Adrian
diffstat for patat-0.15.2.0 patat-0.15.2.0

 changelog                             |    7 +++
 control                               |    2 -
 patches/0001-Support-pandoc-3.8.patch |   64 ++++++++++++++++++++++++++++++++++
 patches/0002-Allow-Pandoc-3.9.patch   |   43 ++++++++++++++++++++++
 patches/series                        |    2 +
 5 files changed, 117 insertions(+), 1 deletion(-)

diff -Nru patat-0.15.2.0/debian/changelog patat-0.15.2.0/debian/changelog
--- patat-0.15.2.0/debian/changelog	2026-02-21 14:43:19.000000000 +0200
+++ patat-0.15.2.0/debian/changelog	2026-03-16 16:35:30.000000000 +0200
@@ -1,3 +1,10 @@
+patat (0.15.2.0-1.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Backport upstream fixes for Pandoc 3.9. (Closes: #1130550)
+
+ -- Adrian Bunk <[email protected]>  Mon, 16 Mar 2026 16:35:30 +0200
+
 patat (0.15.2.0-1) unstable; urgency=medium
 
   * New upstream version 0.15.2.0
diff -Nru patat-0.15.2.0/debian/control patat-0.15.2.0/debian/control
--- patat-0.15.2.0/debian/control	2026-02-21 14:43:19.000000000 +0200
+++ patat-0.15.2.0/debian/control	2026-03-16 16:35:30.000000000 +0200
@@ -23,7 +23,7 @@
  libghc-optparse-applicative-dev (>= 0.16),
  libghc-optparse-applicative-dev (<< 0.19),
  libghc-pandoc-dev (>= 3.1),
- libghc-pandoc-dev (<< 3.8),
+ libghc-pandoc-dev (<< 3.10),
  libghc-pandoc-types-dev (>= 1.23),
  libghc-pandoc-types-dev (<< 1.24),
  libghc-skylighting-dev (>= 0.10),
diff -Nru patat-0.15.2.0/debian/patches/0001-Support-pandoc-3.8.patch patat-0.15.2.0/debian/patches/0001-Support-pandoc-3.8.patch
--- patat-0.15.2.0/debian/patches/0001-Support-pandoc-3.8.patch	1970-01-01 02:00:00.000000000 +0200
+++ patat-0.15.2.0/debian/patches/0001-Support-pandoc-3.8.patch	2026-03-16 16:35:30.000000000 +0200
@@ -0,0 +1,64 @@
+From ee7a2f1475ca3333e627f0a3b06a80b0f511695c Mon Sep 17 00:00:00 2001
+From: Jasper Van der Jeugt <[email protected]>
+Date: Thu, 25 Sep 2025 14:24:12 +0200
+Subject: Support pandoc-3.8
+
+The `compact_definition_lists` was removed from Pandoc.  It was there to be
+backwards compatible with Pandoc 1.12, so we should be okay removing it as well.
+---
+ lib/Patat/Presentation/Settings.hs | 2 +-
+ patat.cabal                        | 6 +++---
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/lib/Patat/Presentation/Settings.hs b/lib/Patat/Presentation/Settings.hs
+index 930a200..9189702 100644
+--- a/lib/Patat/Presentation/Settings.hs
++++ b/lib/Patat/Presentation/Settings.hs
+@@ -1,4 +1,5 @@
+ --------------------------------------------------------------------------------
++{-# LANGUAGE CPP                        #-}
+ {-# LANGUAGE GADTs                      #-}
+ {-# LANGUAGE GeneralizedNewtypeDeriving #-}
+ {-# LANGUAGE OverloadedStrings          #-}
+@@ -206,7 +207,6 @@ defaultExtensionList = ExtensionList $
+     , Pandoc.Ext_fancy_lists
+     , Pandoc.Ext_four_space_rule
+     , Pandoc.Ext_definition_lists
+-    , Pandoc.Ext_compact_definition_lists
+     , Pandoc.Ext_example_lists
+     , Pandoc.Ext_strikeout
+     , Pandoc.Ext_superscript
+diff --git a/patat.cabal b/patat.cabal
+index 413de0a..9419e43 100644
+--- a/patat.cabal
++++ b/patat.cabal
+@@ -48,7 +48,7 @@ Library
+     JuicyPixels          >= 3.3.3 && < 3.4,
+     mtl                  >= 2.2   && < 2.4,
+     optparse-applicative >= 0.16  && < 0.19,
+-    pandoc               >= 3.1   && < 3.8,
++    pandoc               >= 3.1   && < 3.9,
+     pandoc-types         >= 1.23  && < 1.24,
+     process              >= 1.6   && < 1.7,
+     random               >= 1.2   && < 1.4,
+@@ -138,7 +138,7 @@ Executable patat-make-man
+     containers   >= 0.6 && < 0.8,
+     doctemplates >= 0.8 && < 0.12,
+     mtl          >= 2.2 && < 2.4,
+-    pandoc       >= 3.1 && < 3.8,
++    pandoc       >= 3.1 && < 3.9,
+     text         >= 1.2 && < 2.2,
+     time         >= 1.6 && < 1.13
+ 
+@@ -159,7 +159,7 @@ Test-suite patat-tests
+     ansi-terminal    >= 1.1  && < 1.2,
+     base             >= 4.8  && < 5,
+     directory        >= 1.2  && < 1.4,
+-    pandoc           >= 3.1  && < 3.7,
++    pandoc           >= 3.1  && < 3.9,
+     tasty            >= 1.2  && < 1.6,
+     tasty-hunit      >= 0.10 && < 0.11,
+     tasty-quickcheck >= 0.10 && < 0.12,
+-- 
+2.47.3
+
diff -Nru patat-0.15.2.0/debian/patches/0002-Allow-Pandoc-3.9.patch patat-0.15.2.0/debian/patches/0002-Allow-Pandoc-3.9.patch
--- patat-0.15.2.0/debian/patches/0002-Allow-Pandoc-3.9.patch	1970-01-01 02:00:00.000000000 +0200
+++ patat-0.15.2.0/debian/patches/0002-Allow-Pandoc-3.9.patch	2026-03-16 16:35:30.000000000 +0200
@@ -0,0 +1,43 @@
+From 3bf6b77a7127cade356d577d2b62ef4effbe1dbc Mon Sep 17 00:00:00 2001
+From: Jasper Van der Jeugt <[email protected]>
+Date: Sat, 14 Feb 2026 17:57:44 +0100
+Subject: Allow Pandoc 3.9
+
+---
+ patat.cabal | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/patat.cabal b/patat.cabal
+index 9419e43..65f8eeb 100644
+--- a/patat.cabal
++++ b/patat.cabal
+@@ -48,7 +48,7 @@ Library
+     JuicyPixels          >= 3.3.3 && < 3.4,
+     mtl                  >= 2.2   && < 2.4,
+     optparse-applicative >= 0.16  && < 0.19,
+-    pandoc               >= 3.1   && < 3.9,
++    pandoc               >= 3.1   && < 3.10,
+     pandoc-types         >= 1.23  && < 1.24,
+     process              >= 1.6   && < 1.7,
+     random               >= 1.2   && < 1.4,
+@@ -138,7 +138,7 @@ Executable patat-make-man
+     containers   >= 0.6 && < 0.8,
+     doctemplates >= 0.8 && < 0.12,
+     mtl          >= 2.2 && < 2.4,
+-    pandoc       >= 3.1 && < 3.9,
++    pandoc       >= 3.1 && < 3.10,
+     text         >= 1.2 && < 2.2,
+     time         >= 1.6 && < 1.13
+ 
+@@ -159,7 +159,7 @@ Test-suite patat-tests
+     ansi-terminal    >= 1.1  && < 1.2,
+     base             >= 4.8  && < 5,
+     directory        >= 1.2  && < 1.4,
+-    pandoc           >= 3.1  && < 3.9,
++    pandoc           >= 3.1  && < 3.10,
+     tasty            >= 1.2  && < 1.6,
+     tasty-hunit      >= 0.10 && < 0.11,
+     tasty-quickcheck >= 0.10 && < 0.12,
+-- 
+2.47.3
+
diff -Nru patat-0.15.2.0/debian/patches/series patat-0.15.2.0/debian/patches/series
--- patat-0.15.2.0/debian/patches/series	2026-02-21 14:43:19.000000000 +0200
+++ patat-0.15.2.0/debian/patches/series	2026-03-16 16:35:30.000000000 +0200
@@ -1,2 +1,4 @@
 no-rts-N.patch
 update-cabal-deps.patch
+0001-Support-pandoc-3.8.patch
+0002-Allow-Pandoc-3.9.patch

Reply via email to