Hi all,
I was interested in checking out the new citeproc library in recent releases of pandoc, and so I did some legwork to build Pandoc 2.12 on rawhide. Packages are available on copr https://copr.fedorainfracloud.org/coprs/dmoerner/pandoc-2.12/
A summary of what I did:
- ghc-xml-conduit: Update to 1.9.1.0, add BuildRequires on ghc-cabal-doctest-prof
- ghc-skylighting: Update to 0.10.4, add BuildRequires on ghc-xml-conduit-prof, remove %setup system-pcre tweak.
- ghc-hslua: Update to 1.3.0.1, add BuildRequires on ghc-semigroups-prof. The hslua.cabal file seems to have a typo resulting from a bad copy-paste, which also needs to be fixed with sed.
- ghc-hslua-module-text: Update to 0.3.0.1
- ghc-doctemplates: Update to 0.9
- ghc-text-icu: New package, 0.7.0.1, required by ghc-citeproc
- ghc-pandoc-types: Updated to 1.22. I split this out into its own package rather than as a subpackage with pandoc, because I was having trouble with ghc-texmath.
- ghc-texmath: Update to 0.12.1.1, also needs to be built against the latest ghc-pandoc-types
- ghc-citeproc: New package, 0.3.0.8. This can be built with an executable, although I didn't build it with the executable.
- pandoc: Update to 2.12. Update sub-packages: hslua-module-system to 0.2.1, jira-wiki-markup to 1.3.3, and add new sub-packages: commonmark, commonmark-extensions, commonmark-pandoc, hslua-module-path. I got a bit lazy here, especially commonmark probably deserves its own package.
I wanted to share this because it should make its way into Fedora proper. I'm a member of the Packagers Group; I don't have prior experience with Haskell packaging, but the macros are impressive and well-organized. I'm happy to help in any way I can.
One question: I am unclear on the subpackages structure: It makes sense for the -core packages, but what about in something like pandoc? I imagine it's about accommodating fast-moving changes in dependencies without always having to go through fedora-review?
Daniel
Dear all,
You are kindly invited to the meeting:
Haskell SIG on 2021-03-16 from 10:30:00 to 11:00:00 America/New_York
At fedora-meeting-1(a)chat.freenode.net
The meeting will be about:
Regular meeting to discuss Fedora Haskell packaging and changes.
Agenda topics can added to https://pagure.io/haskell-sig/issues
Source: https://apps.fedoraproject.org/calendar/meeting/9723/