commit ghc-pandoc for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/128a7b98d536a9cf9b4d4d5a90d63475.jpg?s=120&d=mm&r=g)
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-pandoc for openSUSE:Factory checked in at 2023-11-23 21:40:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-pandoc (Old) and /work/SRC/openSUSE:Factory/.ghc-pandoc.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-pandoc" Thu Nov 23 21:40:06 2023 rev:6 rq:1127078 version:3.1.9 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-pandoc/ghc-pandoc.changes 2023-09-21 22:23:57.646851909 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-pandoc.new.25432/ghc-pandoc.changes 2023-11-23 21:41:26.125231158 +0100 @@ -1,0 +2,658 @@ +Sat Oct 28 00:58:55 UTC 2023 - Peter Simons <psimons@suse.com> + +- Drop obsolete "CVE-2023-38745.patch" and "CVE-2023-35936.patch". + +- Update pandoc to version 3.1.9. + + ## pandoc 3.1.9 (2023-10-27) + + * Make `reference-section-title` work with `jats+element_citations` + (#9021). + + * Add `bits` as synonym of `jats` as input format. + + * JATS reader: + + + Modify JATS reader to handle BITS too (#9138, Julia Diaz). + Add provision for title-group, book, book-part-wrapper, book-meta, + book-part-meta, book-title, book-title-group, index, toc, legend, + title, collection-meta + + Fix handling of alt-text (#9130, Julia Diaz). Previously we were + looking for an attribute that doesn't exist in JATS; alt-text is + provided by a child element. + + * CommonMark reader: + + + Handle `Ext_tex_math_gfm` (#9121). Parse GFM-specific math + constructions when `tex_math_gfm` enabled. + + * DokuWiki reader: + + + Allow autolinks to be avoided using e.g. `https:%%//%%...` (#9153). + + Parse `<code>` and `<file>` as block-level code (#9154). + Previously we treated them as inline code in some contexts, + but that is not how DokuWiki works. + + * LaTeX reader: + + + Better handle spacing commands `\hfill`, `\vfill`, `\hskip`, + `\vskip`, etc. (#9150). + + Fix incorrect abbreviation for astronomical unit (#9125, + Michael McClurg). + + * Markdown reader: + + + Fix blindspot with superscript in links (#8981). + Previously `[^super^](#ref)` wasn't parsed as a link, due to + code that was meant to prevent footnote markers from being + recognized as reference links. This commit tightens up that + code to avoid this bad effect. We have also added a new + restriction on footnote labels: they cannot contain the characters + `^`, `[`, or `]`. Though this is technically a breaking change, we + suspect that the impact will be minimal, as it's very unlikely + people would be using these characters in their note labels. + + Don't apply `--default-image-extension` to data URIs (#9118). + + More accurate check that a normalCite is not a link, + bracketed span, or reference (#9080). + + * HTML reader: + + + Allow th to close td and vice versa (#9090). + + Parse task lists using input elements (#9047, Seth Speaks). + + * Creole reader: + + + Handle empty cells correctly (#9141, Sascha Wilde). + + * Org writer: + + + Escape literal `*`, `|`, `#` at beginning of line with ZWS (#9159). + + * ICML writer: + + + Prevent doubled attributes (#9158). + + * Powerpoint writer: + + + Fix a corruption error caused when the document used both a + regular png and a png in a data URI (#9113). (Similarly for any + other image format.) The problem was that duplicate entries in + `[Content Types].xml` were being created, one for the mime type + `image/png`, one for `image/png;base64`. + + * LaTeX writer: + + + Fix rowspans in tables so they use the width of + the column (`=` as the width parameter) (#9140). + + Don't treat table as "simple" if they have col widths. + This should help fix a problem wherein some grid tables with + colspans were overly wide (#9140). + + Fix uneven indents in line block output (#9088). + + * JATS writer: fix 3.1.4 regression in handling block-level metadata + (#9092). + + * Ms writer: improvements in image handling (#4475). + + + PDFPIC is now used for PDF images in figures. + + Inline images that are postscript or PDF are rendered using + PSPIC or PDFPIC. This isn't ideal, because they will still be + rendered as if in a separate paragraph, but it's probably + better than just printing the image name. + + Units are included in height. + + * HTML writer: + + + If raw format is an HTML side deck format, emit it (James J Balamuta). + + * Typst writer: + + + Add `#box` around image to make it inline. (#9104) + An `#image` by itself in typst is a block-level element. + To force images to be inline (as they are in pandoc), we need + to add a box with an explicit width. When a width is not given + in image attributes, we compute one from the image itself, when + possible. + + Don't allow long heading to wrap (#9132). + + Escape `(` (#9137). If unescaped `(` occurs in + certain contexts, it can be parsed as function application. + + * Man writer: + + + Fix some spacing issues around links (#9120). + We need to use `\c` before a `.UR` or `.MT`, to avoid + an extra space, and also after. To ensure that a space + at the beginning of the following line doesn't get swallowed + up, we escape it with `\`. + + Use UR, MT macros for URLs, emails (#9120). + + * Text.Pandoc.Extensions: + + + Add `Ext_tex_math_gfm` constructor to Extension (#9121). + [API change]. This handles two GitHub-specific syntaxes for math. + This is now default for `gfm`, in addition to `tex_math_dollars`. + + Remove duplicates for `Ext_raw_html` and `Ext_pipe_tables` + in some of the lists (Tim Stewart). + + * Text.Pandoc.Metadata: Add helpful message on some metadata + YAML errors (#9155). + + * Text.Pandoc.Shared: + + + `splitSentences`: don't split after initials. + This improves the man and ms writer output, preventing + sentence breaks after initials. + + Add `addPandocAttributes` function [API change]. + This is meant to simplify addition of attributes to Pandoc + elements: for elements that don't have a slot for attributes, an + enclosing Div or Span is added to hold the attributes. + + * MANUAL.txt: + + + Clarify that formatting can't cross line boundaries + in line blocks (#9119). + + Fix legacy option for citation (#8737, 3w36zj6) + + * Update `et` translations (priiduonu). + + * Updated `no` translations (Stephan Daus). + Renamed no.yaml (macrolanguage Norwegian) to nb.yaml (Norwegian Bokmål). + Created soft symbolic link from no.yaml pointing to nb.yaml. + + * Lua subsystem: Use the newest LPeg version (lpeg-1.1.*) (#9107, + Albert Krewinkel). + + * Default `epub.css`: Apply style to h6, format styles, and + combine identical styles under shared selectors (samuel-weinhardt). + + * Update nix flake with dependencies (piq9117). + + * LaTeX template: fix `\CSLBlock` vertical space (John Purnell). + + * Allow tasty 1.5 and Diff 0.5. + + * Require commonmark-extensions 0.2.4, commonmark 0.2.4. + + * Require texmath 0.12.8.4. This should improve math in + powerpoint, fixing empty boxes around roots in some cases. + + * Require typst 0.3.2.1 + + ## pandoc 3.1.8 (2023-09-08) + + * JATS reader: + + + Ignore `<processing-meta>` element (#9057, Julia Diaz). + + Fix conversion of date to ISO 8601 format (#8865). + + * LaTeX template: + + + Add code allow `\cite` to break across lines (#9050). + + Fix regression with CSL `display="block"` (#7363). + This restores the line break before the block. + + Rewrite `CSLReferences` environment to avoid depending on + `enumitem`, which plays badly with beamer. Instead we use + a regular list environment. Thanks to @jpcirrus for the + concept (#9053). + + Restore the pre-3.1.7 format of the `CSLReferences` + environment, which again has two parameters. The first + determines whether a hanging indent is used (1 = yes, 0 = no), + and the second is the entry line spacing (0 = none). + + Add a strut to avoid inconsistencies in spacing (#9058). + - Remove a break at the end of `CSLRightInline` to avoid + inconsistencies in spacing. It shouldn't be necessary + because the paragraph should extend to the right margin (#9058). + + * LaTeX writer: + + + Fix regression with figure labels (#9045). In 3.1.7, pandoc + added two labels to LaTeX figure environments, one with a + phantomsection. + + Fix default citeproc entry-spacing. According to the CSL manual, + the default entry spacing is 1. We were treating it as 0 (#9058). + + * HTML writer: + + + Use the ID prefix in the ID for the footnotes section (#9044, + Benjamin Esham). + + Fix CSL entry-spacing default (#9058). + + * Text.Pandoc.Citeproc: always include an `entry-spacing` attribute + in the Div if the bibliography element contains an entry-spacing + attribute (previously we omitted it when it was 0) (#9058). + + * Clean up pandoc's own man pages by regenerating with pandoc 3.1.7. + + * pandoc-lua-engine: bump lower bound for pandoc (#9046). + + * Depend on texmath 0.12.8.2, fixing binom in typst writer (#9063). + + ## pandoc 3.1.7 (2023-08-31) + + * Org reader: + + + Don't parse alphabetical lists unless the `fancy_lists` extension is + enabled (#9042). + + Allow escaping commas in macro arguments (Amneesh Singh). + + * JATS reader: + + + Support for `<permissions>` metadata (#9037, Julia Diaz). + metadata objects with multiple fields are created, matching the + structure in JATS. + + Correct name of JATS element `attrib`. + + * Markdown reader: + + + Support images with wikilink syntax, e.g. `![[foo|bar]]`, when + one of the `wikilinks` extension is enabled (#8853). + + Allow a citation or reference link to be parsed after a `!` (#8254). + + Fix dropped `!` before nonexistent reference (#9038). + + * LaTeX writer: + + + Fix regression in escaping URLs (#9043). + + Use `\cite` and `\bibitem` to link up citations, even with citeproc. + (#9031). This will give us better accessibility; when tagging is + enabled, the citation can be linked to the bibliography entry. + This changes some of the details of the layout and the default + template. We now make `CSLReferences` a special enumitem list + that will contain `\bibitem`s. Internal links inside citations to + ids beginning in `ref-` are creating using `\cite` instead of + `\hyperref`. + + Use `\phantomsection` and `\label` instead of `\hypertarget` (#9022). + + Use `\hyperref` for LaTeX internal links, `\hyperlink` for + beamer (since `\hyperref` doesn't seem to work) (#9022). + + Backslash-escape `%` and `#` in URLs (#9014). + + * JATS writer: + + + Fix placement of ref-list when no title is specified for the + reference section (#9017). (In this case we place it in `back` + with an empty title.) + + * Man writer: + + + Avoid a `.PP` right after a section heading (#9020). + This is at best a no-op (in groff man and mandoc) and at worst + (in some formatters) may create extra whitespace. + + We revert the fanciness introduced in #7506, which employs a + custom font name `V` and a macro that makes this act like boldface + in a terminal and monospace in other formats. Unfortunately, + this code uses a mechanism that is not portable (and does not + work in mandoc) (#9020). + + Instead of using `V` for inline code, we simply use `CR`. + Note that `\f[CR]` is emitted instead of plain `\f[C]`, + because there is no `C` font in man. (This produces warnings + in recent versions of groff, #9020.) + + For code blocks, we now use the `.EX` and `.EE` macros, + together with `.IP` for spacing and indentation. This gives + more standard code that can be better interpreted e.g. by mandoc + (#9020). + + * Man template: don't emit `.hy`, regardless of setting of + `hyphenate` variable (#9020). + + * LaTeX template: special redefinition of `\st` for CJK (#9019). + soul's version raises on error on CJK text. ++++ 361 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/ghc-pandoc/ghc-pandoc.changes ++++ and /work/SRC/openSUSE:Factory/.ghc-pandoc.new.25432/ghc-pandoc.changes Old: ---- CVE-2023-35936.patch CVE-2023-38745.patch pandoc-3.1.3.tar.gz New: ---- pandoc-3.1.9.tar.gz BETA DEBUG BEGIN: Old: - Drop obsolete "CVE-2023-38745.patch" and "CVE-2023-35936.patch". Old: - Drop obsolete "CVE-2023-38745.patch" and "CVE-2023-35936.patch". BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-pandoc.spec ++++++ --- /var/tmp/diff_new_pack.bRsaw3/_old 2023-11-23 21:41:26.753254289 +0100 +++ /var/tmp/diff_new_pack.bRsaw3/_new 2023-11-23 21:41:26.757254436 +0100 @@ -20,14 +20,12 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 3.1.3 +Version: 3.1.9 Release: 0 Summary: Conversion between markup formats License: GPL-2.0-or-later URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Patch1: CVE-2023-35936.patch -Patch2: CVE-2023-38745.patch BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Glob-devel BuildRequires: ghc-Glob-prof @@ -65,10 +63,10 @@ BuildRequires: ghc-commonmark-pandoc-devel BuildRequires: ghc-commonmark-pandoc-prof BuildRequires: ghc-commonmark-prof -BuildRequires: ghc-connection-devel -BuildRequires: ghc-connection-prof BuildRequires: ghc-containers-devel BuildRequires: ghc-containers-prof +BuildRequires: ghc-crypton-connection-devel +BuildRequires: ghc-crypton-connection-prof BuildRequires: ghc-data-default-devel BuildRequires: ghc-data-default-prof BuildRequires: ghc-deepseq-devel @@ -231,7 +229,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep -%autosetup -p1 -n %{pkg_name}-%{version} +%autosetup -n %{pkg_name}-%{version} %build %ghc_lib_build @@ -366,7 +364,6 @@ %{_datadir}/%{pkg_name}-%{version}/data/templates/affiliations.jats %{_datadir}/%{pkg_name}-%{version}/data/templates/article.jats_publishing %{_datadir}/%{pkg_name}-%{version}/data/templates/default.asciidoc -%{_datadir}/%{pkg_name}-%{version}/data/templates/default.asciidoctor %{_datadir}/%{pkg_name}-%{version}/data/templates/default.biblatex %{_datadir}/%{pkg_name}-%{version}/data/templates/default.bibtex %{_datadir}/%{pkg_name}-%{version}/data/templates/default.chunkedhtml ++++++ pandoc-3.1.3.tar.gz -> pandoc-3.1.9.tar.gz ++++++ /work/SRC/openSUSE:Factory/ghc-pandoc/pandoc-3.1.3.tar.gz /work/SRC/openSUSE:Factory/.ghc-pandoc.new.25432/pandoc-3.1.9.tar.gz differ: char 17, line 1
participants (1)
-
Source-Sync