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 22.214.171.124, 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 126.96.36.199, 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?
On Sun, 6 Jun 2021 at 08:11, Zubin Duggal <zubin(a)well-typed.com> wrote:
> The GHC team is very pleased to announce the availability of GHC 8.10.5.
Thank you and congratulations on the release.
Fedora users can try it now already with :
sudo dnf --enablerepo=updates-testing-modular module install ghc:8.10
on Fedora 33 and 34.
Best regards, Jens