Opened 7 months ago

Closed 7 months ago

Last modified 7 months ago

#69822 closed defect (fixed)

texlive: port is installing leptonica and tesseract, due to dvisvgm dependency mupdf

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: leopard ppc Cc: stromnov (Andrey Stromnov), markemer (Mark Anderson)
Port: dvisvgm

Description (last modified by mascguy (Christopher Nielsen))

texlive now appears to require a number of additional dependencies, including leptonica and tesseract.

Would it be possible to trim those back?

Change History (10)

comment:1 Changed 7 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:2 Changed 7 months ago by mascguy (Christopher Nielsen)

Cc: stromnov@… removed
Owner: set to stromnov
Status: newassigned

Hey Pete, we'll need more background info. Were you trying to install another port, update outdated ports, ...?

comment:3 Changed 7 months ago by ballapete (Peter "Pete" Dyballa)

Yes: texlive.

comment:4 in reply to:  3 Changed 7 months ago by mascguy (Christopher Nielsen)

Cc: markemer added
Summary: Port is installing leptonica @1.84.1_1texlive: port is installing leptonica and tesseract

Replying to ballapete:

Yes: texlive.

This is correct behavior.

The dependency tree is as follows:

texlive -> texlive-bin-extra -> dvisvgm -> mupdf

mupdf is a new dependency for dvisvgm, added a week ago, per enhancement request: issue:68646.

And mupdf depends on leptonica and tesseract.

comment:5 Changed 7 months ago by mascguy (Christopher Nielsen)

Port: texlive added; leptonica removed

comment:6 Changed 7 months ago by ballapete (Peter "Pete" Dyballa)

I really do not need that stuff on an over 20 years old PowerBook. Would it be possible to create a variant that does not use this useless (?) software?

comment:7 Changed 7 months ago by mascguy (Christopher Nielsen)

Cc: stromnov added; mascguy removed
Owner: changed from stromnov to mascguy
Port: dvisvgm added; texlive removed
Summary: texlive: port is installing leptonica and tesseracttexlive: port is installing leptonica and tesseract, due to dvisvgm dependency mupdf

comment:8 Changed 7 months ago by mascguy (Christopher Nielsen)

Description: modified (diff)

comment:9 Changed 7 months ago by Christopher Nielsen <mascguy@…>

Resolution: fixed
Status: assignedclosed

In dccda1c798e64561b31cf2d18a0809efaf35a7bc/macports-ports (master):

dvisvgm{,-devel}: add variant mupdf

Fixes: #69822

comment:10 Changed 7 months ago by ballapete (Peter "Pete" Dyballa)

A better solution is to offer a variant of MuPDF that does not install another OCR software. MuPDF for dvisvgm makes some sense when one has no other option to convert PDF to SVG, for example convert from ImageMagic. It seems MuPDF can be built without leptonica and tesseract, but needs the gumbo-parser..

Note: See TracTickets for help on using tickets.