Closed mkoeppe closed 2 years ago
There does not seem to be a Cygwin package for pdf2svg.
At least I could not find one by searching Cygwin packages via
and the command apt-cyg install pdf2svg
fails.
Do you mean that the file build/pkgs/pdf2svg/distros/cygwin.txt
should be removed?
Yes, otherwise configure ends with a recommendation
to run apt-cyg install pdf2svg
.
Or package pdf2svg for Cygwin... : )
I created #32931 to deal with this issue.
A request on the Cygwin mailing list to package pdf2svg was answered as follows:
The pdf2svg home page recommends instead pdftocairo from the poppler package, which does the same and is maintained as part of the package, rather than being a standalone utility which integrates the two, and is not as well maintained:
$ pdftocairo --help [...]
That suggests pdftocairo --svg file.pdf
will transform file.pdf
to file.svg
.
It seems poppler is widely packaged:
Then, should we replace pdf2svg
feature by pdftocairo
?
Replying to @mkoeppe:
While at it, also dummy script packages for
ffmpeg
andimagemagick
could be added (see #30930)
I just created #32956 for that. I will work on it tomorrow.
Replying to @seblabbe:
Remainings usage of
have_program
are:
I created #32957 to deal with remaining usage of have_program
Replying to @slel:
That suggests
pdftocairo --svg file.pdf
will transformfile.pdf
tofile.svg
.It seems poppler is widely packaged:
I created #33005 to add the feature pdftocairo.
why do we have has_xelatex
and have_xelatex
?! (which seem to be doing the same thing, no?)
... or more generally, replacing all uses of
sage.misc.os_tools.have_program
byExecutable
Depends on #32634
CC: @kwankyu
Component: refactoring
Author: Sébastien Labbé
Branch:
2ea4d9e
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/32650