FS#76083 - [texlive-bin] build dvisvgm with ghostcript support

Attached to Project: Arch Linux
Opened by Michel (xantares) - Saturday, 01 October 2022, 16:14 GMT
Last edited by Antonio Rojas (arojas) - Monday, 29 May 2023, 22:03 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

currently dvisvgm lack ghostcript support (ghostcript is not listed in depends)

$ dvisvgm -V1
dvisvgm 2.13.3
--------------
brotli: 1.0.9
clipper: 6.2.1
fontforge: 20160721
freetype: 2.12.1
kpathsea: 6.3.4
potrace: 1.16
xxhash: 0.8.1
zlib: 1.2.12

This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 29 May 2023, 22:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  dvisvgm 3.0.4-1
Comment by Vladimír Vondruš (mosra) - Thursday, 02 March 2023, 12:59 GMT
This used to work for me so I was investigating and found out it's due to Ghostscript 10 (which is in Arch repos since September 2022). With version 9 and before it worked, the reason is that dvisvgm in version < 3.0 only looks for version 9 and lower.

Possible solutions / workarounds:

- Upgrade to dvisvgm 3.0, which includes https://github.com/mgieseki/dvisvgm/commit/46b11c02a46883309a824e3fc798f8093041daec and thus is able to detect Ghostscript 10 on its own. Not sure how feasible is that, though, I don't know what all changed in 3.0 and what could it break.
- Apply the above single-line patch to version 2.13.3 that's currently in the texlive-bin package.
- `export LIBGS=/usr/lib/libgs.so` before calling `dvisvgm`. That overrides the autodetection and works. I'm currently using this workaround.

Hope this helps, and thanks in advance for resolving this!

Loading...