Bug 17321 - Pandoc, a universal document converter
Summary: Pandoc, a universal document converter
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL: http://pandoc.org/
Whiteboard:
Keywords:
Depends on: 26041
Blocks:
  Show dependency treegraph
 
Reported: 2015-12-10 20:38 CET by Olivier Delaune
Modified: 2024-02-16 08:07 CET (History)
10 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Olivier Delaune 2015-12-10 20:38:19 CET
Hello,
could you package pandoc? Pandoc is an universal document converter.
Thanks in advance.

Reproducible: 

Steps to Reproduce:
Comment 1 Samuel Verschelde 2015-12-14 10:49:10 CET
Assigning to packagers collectively. This piece of software will be packaged only if a packager volunteers to maintain it.

Assignee: bugsquad => pkg-bugs

Comment 2 Rémi Verschelde 2015-12-14 10:59:19 CET
I support this request, pandoc is a very useful converter and it would be nice to be able to use it natively. It needs haskell to build from source though, and I'm not familiar with it at all.
Thomas Bigot 2016-02-03 18:00:31 CET

CC: (none) => thomas.bigot

Comment 3 Denis Bitouzé 2017-02-26 10:50:21 CET
I warmly support this request as well!

CC: (none) => dbitouze

Comment 4 Dennis Nigbur 2017-03-29 00:06:21 CEST
I second this request, see https://forums.mageia.org/en/viewtopic.php?f=29&t=11684

CC: (none) => d.nigbur

Comment 5 Ingolf Schaefer 2017-10-24 09:19:15 CEST
I'd like to add that the missing pandoc also hempers the rstudio package, since pandoc is now expected to be available to rstudio and many export options throw errors when pandoc is missing.

CC: (none) => ingolf.schaefer

Comment 6 Isabelle Dutailly 2020-01-08 17:11:30 CET
I would love to have Pandoc in Mageia, too. It is a useful package to convert documents from various formats to other formats.

Thank you.

CC: (none) => id

Comment 7 Kristoffer Grundström 2020-01-08 17:41:48 CET
I found that PCLinuxOS already have it.
You can try to rebuild their src.rpm.

Here it is: http://ftp.nluug.nl/pub/os/Linux/distr/pclinuxos/pclinuxos/srpms/SRPMS.pclos/pandoc-1.16.0.2-1pclos2016.src.rpm

CC: (none) => hamnisdude

Comment 8 Sébastien Morin 2020-01-08 19:22:42 CET
I also support this request! ;)

CC: (none) => sebsweb

Jybz 2020-01-09 09:33:13 CET

Depends on: (none) => 26041

Comment 9 papoteur 2020-04-28 13:55:39 CEST
(In reply to Kristoffer Grundström from comment #7)
> I found that PCLinuxOS already have it.
> You can try to rebuild their src.rpm.
> 
> Here it is:
> http://ftp.nluug.nl/pub/os/Linux/distr/pclinuxos/pclinuxos/srpms/SRPMS.pclos/
> pandoc-1.16.0.2-1pclos2016.src.rpm

Hello,
This package mutates a deb package to a rpm one. 

>cd $RPM_SOURCE_DIR
>wget https://github.com/jgm/pandoc/releases/download/%{version}/%{deb_file}

># extract data from the deb package
>mkdir  -p %buildroot/usr
>ar p $RPM_SOURCE_DIR/%{deb_file} data.tar.xz | xz -d -9 | tar x --strip-components 2 -C %buildroot/usr

This is not a way that we can use. We have to compile all from source. And this is not a small job. You have first to prepare haskell and then compile pandoc with it.

CC: (none) => yves.brungard_mageia

Comment 10 Giuseppe Ghibò 2020-06-08 21:42:42 CEST
There is a newer pandoc (2.7.3) in fedora too: https://src.fedoraproject.org/rpms/pandoc/blob/master/f/pandoc.spec; latest is 2.9.1.

The spec file seems to be generated automatically with cabal-rpm. We have cabal-install which should provide cabal-rpm at version 1.16 (FC has cabal-install 2.0.1, latest 3.2.0).

So probably it could be started from cabal-install.

CC: (none) => ghibomgx

Comment 11 Denis Bitouzé 2022-10-24 08:26:48 CEST
Because I absolutely needed pandoc, I installed it thanks to  the binary package for amd64 architecture provided on the GitHub page of the project: https://github.com/jgm/pandoc/releases/tag/2.19.2 (pandoc-2.19.2-linux-amd64.tar.gz).

It works essentially well, except the issue I reported at https://github.com/jgm/pandoc/issues/8392, and more specifically (with a step-to-step procedure) at https://github.com/jgm/pandoc/issues/8392#issuecomment-1287253530, the problem being:

> [WARNING] Could not load include file child.tex at parent.tex line 1 column 53

which arises with Mageia 8 but doesn't arise with other Linux distros.

I'm not sure it is worth reporting this as a separate bug on the Mageia bug tracker and if it is helpful here.

But, since it seems to be uneasy for the Mageia team to provide a pandoc package, it would be nice if it could help to understand what's happens with this binary package :)

Thanks.
Comment 12 Denis Bitouzé 2022-10-26 19:51:24 CEST
(In reply to Denis Bitouzé from comment #11)
> Because I absolutely needed pandoc, I installed it thanks to  the binary
> package for amd64 architecture provided on the GitHub page of the project:
> https://github.com/jgm/pandoc/releases/tag/2.19.2
> (pandoc-2.19.2-linux-amd64.tar.gz).
> 
> It works essentially well, except the issue I reported at
> https://github.com/jgm/pandoc/issues/8392, and more specifically (with a
> step-to-step procedure) at
> https://github.com/jgm/pandoc/issues/8392#issuecomment-1287253530, the
> problem being:
> 
> > [WARNING] Could not load include file child.tex at parent.tex line 1 column 53
> 
> which arises with Mageia 8 but doesn't arise with other Linux distros.

Never mind: the issue I reported had to do with some customization of LaTeX and is now fixed.
Dan Fandrich 2024-02-16 08:07:31 CET

CC: (none) => dan


Note You need to log in before you can comment on or make changes to this bug.