Opened 6 months ago

Closed 3 weeks ago

#68646 closed defect (fixed)

dvisvgm: add mupdf dependency

Reported by: OverflowCat (ᡥᠠᡳᡤᡳᠶᠠ ᡥᠠᠯᠠ·ᠨᡝᡴᠣ 猫) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: michaelld (Michael Dickens)
Port: dvisvgm

Description

% dvisvgm --pdf f.pdf
ERROR: To process PDF files, either Ghostscript < 10.01.0 or mutool is required.
The installed Ghostscript version 10.02.0 isn't supported.

Change History (9)

comment:1 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: mascguy added
Owner: set to michaelld
Status: newassigned

comment:2 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

I've filed a bug report with the developers: https://github.com/mgieseki/dvisvgm/issues/254

comment:3 Changed 6 months ago by kencu (Ken)

In the news file:

dvisvgm-3.0 (2022-10-16)

  • added new PDF handler based on mutool to keep the PDF functionality available which can't no longer be realized with as of Ghostscript 10.1.0 due to the replacement of its PDF interpreter

So mutool is needed. That is part of mupdf, which appears to be now needed as a dep for dvisvgm.

comment:4 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: dvisvgm requires Ghostscript < 10.01.0 but installs Ghostscript version 10.02.0dvisvgm: switch from ghostscript to mupdf

Ok yes, dvisvgm developers say Ghostscript replaced their PDF interpreter as of version 10.01.0 and dvisvgm cannot do what it needs to do with that new version and there is no hope for that to be resolved, so the port must switch from ghostscript to mupdf.

comment:5 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

The developers have clarified that dvisvgm still requires ghostscript for other functionality, so mupdf would be added to the port but ghostscript would not be removed.

comment:6 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: dvisvgm: switch from ghostscript to mupdfdvisvgm: add mupdf dependency

comment:7 Changed 3 weeks ago by Christopher Nielsen <mascguy@…>

In e9a2bcfd689475194396cf371e9f2080efbd20b9/macports-ports (master):

dvisvgm-devel: update to 3.3; add lib dep mupdf

See: #68646

comment:8 Changed 3 weeks ago by mascguy (Christopher Nielsen)

Cc: michaelld added; mascguy removed
Owner: changed from michaelld to mascguy

comment:9 Changed 3 weeks ago by Christopher Nielsen <mascguy@…>

Resolution: fixed
Status: assignedclosed

In c37f5a66b3cfb044fa516d6fa17d1e020adabd6d/macports-ports (master):

dvisvgm: update to 3.3; add lib dep mupdf

Fixes: #68646

Note: See TracTickets for help on using tickets.