[Git][haskell-team/DHG_packages][master] pandoc: Upgrading from 3.7.0.2 to 3.9
Scott Talbert (@swt2c)
gitlab at salsa.debian.org
Thu Mar 5 19:40:35 GMT 2026
Scott Talbert pushed to branch master at Debian Haskell Group / DHG_packages
Commits:
da89199d by Scott Talbert at 2026-03-05T14:15:43-05:00
pandoc: Upgrading from 3.7.0.2 to 3.9
- - - - -
8 changed files:
- p/haskell-pandoc/debian/changelog
- p/haskell-pandoc/debian/control
- p/haskell-pandoc/debian/patches/2001_templates_avoid_privacy_breach.patch
- p/haskell-pandoc/debian/patches/2002_program_package_hint.patch
- − p/haskell-pandoc/debian/patches/643712ca70b924c0edcc059699aa1ee42234be34.patch
- + p/haskell-pandoc/debian/patches/fix-tests-older-skylighting-format-blaze
- p/haskell-pandoc/debian/patches/series
- p/haskell-pandoc/debian/watch
Changes:
=====================================
p/haskell-pandoc/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+haskell-pandoc (3.9-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Scott Talbert <swt at techie.net> Thu, 05 Mar 2026 12:39:42 -0500
+
haskell-pandoc (3.7.0.2-1) unstable; urgency=medium
[ Gianfranco Costamagna ]
=====================================
p/haskell-pandoc/debian/control
=====================================
@@ -21,6 +21,9 @@ Build-Depends: debhelper-compat (= 13),
libghc-aeson-pretty-dev (>= 0.8.9),
libghc-aeson-pretty-dev (<< 0.9),
libghc-aeson-pretty-prof,
+ libghc-asciidoc-dev (>= 0.1.0.1),
+ libghc-asciidoc-dev (<< 0.2),
+ libghc-asciidoc-prof,
libghc-attoparsec-dev (>= 0.12),
libghc-attoparsec-dev (<< 0.15),
libghc-attoparsec-prof,
@@ -36,8 +39,8 @@ Build-Depends: debhelper-compat (= 13),
libghc-case-insensitive-dev (>= 1.2),
libghc-case-insensitive-dev (<< 1.3),
libghc-case-insensitive-prof,
- libghc-citeproc-dev (>= 0.9.0.1),
- libghc-citeproc-dev (<< 0.10),
+ libghc-citeproc-dev (>= 0.13),
+ libghc-citeproc-dev (<< 0.14),
libghc-citeproc-prof,
libghc-commonmark-dev (>= 0.2.6.1),
libghc-commonmark-dev (<< 0.3),
@@ -55,7 +58,7 @@ Build-Depends: debhelper-compat (= 13),
libghc-crypton-connection-dev (<< 0.5),
libghc-crypton-connection-prof,
libghc-crypton-x509-system-dev (>= 1.6.7),
- libghc-crypton-x509-system-dev (<< 1.7),
+ libghc-crypton-x509-system-dev (<< 1.9),
libghc-crypton-x509-system-prof,
libghc-data-default-dev (>= 0.4),
libghc-data-default-dev (<< 0.9),
@@ -63,10 +66,10 @@ Build-Depends: debhelper-compat (= 13),
libghc-diff-dev (>= 0.2),
libghc-diff-dev (<< 1.1),
libghc-diff-prof,
- libghc-djot-dev (>= 0.1.2.2),
+ libghc-djot-dev (>= 0.1.3),
libghc-djot-dev (<< 0.2),
libghc-djot-prof,
- libghc-doclayout-dev (>= 0.5),
+ libghc-doclayout-dev (>= 0.5.0.1),
libghc-doclayout-dev (<< 0.6),
libghc-doclayout-prof,
libghc-doctemplates-dev (>= 0.11),
@@ -126,10 +129,10 @@ Build-Depends: debhelper-compat (= 13),
libghc-scientific-dev (>= 0.3),
libghc-scientific-dev (<< 0.4),
libghc-scientific-prof,
- libghc-skylighting-dev (>= 0.14.5),
+ libghc-skylighting-dev (>= 0.14.7),
libghc-skylighting-dev (<< 0.15),
libghc-skylighting-prof,
- libghc-skylighting-core-dev (>= 0.14.5),
+ libghc-skylighting-core-dev (>= 0.14.7),
libghc-skylighting-core-dev (<< 0.15),
libghc-skylighting-core-prof,
libghc-split-dev (>= 0.2),
@@ -156,8 +159,8 @@ Build-Depends: debhelper-compat (= 13),
libghc-temporary-dev (>= 1.1),
libghc-temporary-dev (<< 1.4),
libghc-temporary-prof,
- libghc-texmath-dev (>= 0.12.10.3),
- libghc-texmath-dev (<< 0.13),
+ libghc-texmath-dev (>= 0.13.1),
+ libghc-texmath-dev (<< 0.14),
libghc-texmath-prof,
libghc-text-conversions-dev (>= 0.3),
libghc-text-conversions-dev (<< 0.4),
@@ -165,12 +168,15 @@ Build-Depends: debhelper-compat (= 13),
libghc-tls-dev (>= 2.0.1),
libghc-tls-dev (<< 2.2),
libghc-tls-prof,
- libghc-typst-dev (>= 0.8.0.1),
- libghc-typst-dev (<< 0.9),
+ libghc-typst-dev (>= 0.9),
+ libghc-typst-dev (<< 0.10),
libghc-typst-prof,
libghc-unicode-collation-dev (>= 0.1.1),
libghc-unicode-collation-dev (<< 0.2),
libghc-unicode-collation-prof,
+ libghc-unicode-data-dev (>= 0.6),
+ libghc-unicode-data-dev (<< 0.9),
+ libghc-unicode-data-prof,
libghc-unicode-transforms-dev (>= 0.3),
libghc-unicode-transforms-dev (<< 0.5),
libghc-unicode-transforms-prof,
@@ -194,6 +200,7 @@ Build-Depends-Indep: ghc-doc,
libghc-juicypixels-doc,
libghc-aeson-doc,
libghc-aeson-pretty-doc,
+ libghc-asciidoc-doc,
libghc-attoparsec-doc,
libghc-base64-bytestring-doc,
libghc-blaze-html-doc,
@@ -244,6 +251,7 @@ Build-Depends-Indep: ghc-doc,
libghc-tls-doc,
libghc-typst-doc,
libghc-unicode-collation-doc,
+ libghc-unicode-data-doc,
libghc-unicode-transforms-doc,
libghc-vector-doc,
libghc-xml-doc,
=====================================
p/haskell-pandoc/debian/patches/2001_templates_avoid_privacy_breach.patch
=====================================
@@ -63,13 +63,16 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/Text/Pandoc/Options.hs
+++ b/src/Text/Pandoc/Options.hs
-@@ -400,10 +400,10 @@ isEnabled :: HasSyntaxExtensions a => Ex
+@@ -442,13 +442,13 @@ isEnabled :: HasSyntaxExtensions a => Ex
isEnabled ext opts = ext `extensionEnabled` getExtensions opts
defaultMathJaxURL :: Text
-defaultMathJaxURL = "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js"
+defaultMathJaxURL = "/usr/share/javascript/mathjax/MathJax.js"
+ defaultWebTeXURL :: Text
+ defaultWebTeXURL = "https://latex.codecogs.com/png.latex?"
+
defaultKaTeXURL :: Text
-defaultKaTeXURL = "https://cdn.jsdelivr.net/npm/katex@latest/dist/"
+defaultKaTeXURL = "/usr/share/javascript/katex/"
@@ -78,13 +81,13 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
$(deriveJSON defaultOptions{ fieldLabelModifier =
--- a/test/s5-fancy.html
+++ b/test/s5-fancy.html
-@@ -36,8 +36,7 @@
+@@ -39,8 +39,7 @@
<link rel="stylesheet" href="s5/default/opera.css" type="text/css" media="projection" id="operaFix" />
<!-- S5 JS -->
<script src="s5/default/slides.js" type="text/javascript"></script>
-- <script
+- <script defer=""
- src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js"
-+ <script src="/usr/share/javascript/mathjax/MathJax.js"
++ <script defer="" src="/usr/share/javascript/mathjax/MathJax.js"
type="text/javascript"></script>
</head>
<body>
=====================================
p/haskell-pandoc/debian/patches/2002_program_package_hint.patch
=====================================
@@ -7,7 +7,7 @@ Last-Update: 2018-09-01
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/Text/Pandoc/Error.hs
+++ b/src/Text/Pandoc/Error.hs
-@@ -85,7 +85,7 @@
+@@ -86,7 +86,7 @@ renderError e =
PandocSyntaxMapError s -> s
PandocFailOnWarningError -> "Failing because there were warnings."
PandocPDFProgramNotFoundError pdfprog ->
=====================================
p/haskell-pandoc/debian/patches/643712ca70b924c0edcc059699aa1ee42234be34.patch deleted
=====================================
@@ -1,51 +0,0 @@
-From 643712ca70b924c0edcc059699aa1ee42234be34 Mon Sep 17 00:00:00 2001
-From: John MacFarlane <jgm at berkeley.edu>
-Date: Fri, 19 Sep 2025 10:15:32 +0200
-Subject: [PATCH] LaTeX writer: avoid `\_` in bibliography variable.
-
-Since underscores are common in filenames, and pandoc will
-render strings to variables using default LaTeX escaping, we
-special-case `bibliography`, under the assumption that this variable
-will be used in the context of the `\bibliography{..}` command,
-which accepts unescaped underscores.
-
-Closes #11152.
----
- src/Text/Pandoc/Writers/LaTeX.hs | 10 +++++++++-
- test/djot-reader.native | 2 +-
- 2 files changed, 10 insertions(+), 2 deletions(-)
-
-diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs
-index 24ed4bebc84e..14c8de08a160 100644
---- a/src/Text/Pandoc/Writers/LaTeX.hs
-+++ b/src/Text/Pandoc/Writers/LaTeX.hs
-@@ -215,7 +215,15 @@ pandocToLaTeX options (Pandoc meta blocks) = do
- _ -> [])
- $ lookupMetaInlines "nocite" meta
-
-- let context = defField "toc" (writerTableOfContents options) $
-+ -- see #7414, avoid escaped underscores
-+ let unescapeUnderscore = T.replace "\\_" "_"
-+ let bibliography' = map unescapeUnderscore <$>
-+ getField "bibliography" metadata
-+
-+ let context = (case bibliography' of
-+ Nothing -> id
-+ Just xs -> resetField "bibliography" xs) $
-+ defField "toc" (writerTableOfContents options) $
- defField "lof" (writerListOfFigures options) $
- defField "lot" (writerListOfTables options) $
- defField "toc-depth" (tshow
-diff --git a/test/djot-reader.native b/test/djot-reader.native
-index edd1323a534a..bd0ae351ff9a 100644
---- a/test/djot-reader.native
-+++ b/test/djot-reader.native
-@@ -98,7 +98,7 @@ Pandoc
- [ Para [ Str "Code in a block quote:" ]
- , CodeBlock
- ( "" , [ "" ] , [] )
-- "sub status {\nprint \"working\";\n}\n"
-+ "sub status {\n print \"working\";\n}\n"
- , Para [ Str "A list:" ]
- , OrderedList
- ( 1 , Decimal , Period )
=====================================
p/haskell-pandoc/debian/patches/fix-tests-older-skylighting-format-blaze
=====================================
@@ -0,0 +1,18 @@
+--- a/test/Tests/Writers/HTML.hs
++++ b/test/Tests/Writers/HTML.hs
+@@ -102,13 +102,13 @@ tests =
+ , testGroup "sample with style"
+ [ "samp should wrap highlighted code" =:
+ codeWith ("",["sample","haskell"],[]) ">>="
+- =?> ("<samp><code class=\"sourceCode haskell sample\">" ++
++ =?> ("<samp><code class=\"sourceCode haskell\">" ++
+ "<span class=\"op\">>>=</span></code></samp>")
+ ]
+ , testGroup "variable with style"
+ [ "var should wrap highlighted code" =:
+ codeWith ("",["haskell","variable"],[]) ">>="
+- =?> ("<var><code class=\"sourceCode haskell variable\">" ++
++ =?> ("<var><code class=\"sourceCode haskell\">" ++
+ "<span class=\"op\">>>=</span></code></var>")
+ ]
+ , testGroup "footnotes"
=====================================
p/haskell-pandoc/debian/patches/series
=====================================
@@ -1,4 +1,4 @@
2001_templates_avoid_privacy_breach.patch
2002_program_package_hint.patch
use-python3.patch
-643712ca70b924c0edcc059699aa1ee42234be34.patch
+fix-tests-older-skylighting-format-blaze
=====================================
p/haskell-pandoc/debian/watch
=====================================
@@ -1,2 +1,2 @@
-version=3
+version=4
https://hackage.haskell.org/package/pandoc/distro-monitor .*-([0-9\.]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/da89199d472ee04d61788699e836310eb5f35141
--
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/da89199d472ee04d61788699e836310eb5f35141
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20260305/b65526df/attachment-0001.htm>
More information about the Pkg-haskell-commits
mailing list