[blfs-book] [BLFS Trac] #12105: dvisvgm-2.7.1

BLFS Trac trac at linuxfromscratch.org
Tue May 28 21:25:09 PDT 2019


#12105: dvisvgm-2.7.1
-------------------------+-----------------------
 Reporter:  ken@…        |      Owner:  blfs-book
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  8.5
Component:  BOOK         |    Version:  SVN
 Severity:  normal       |   Keywords:
-------------------------+-----------------------
 Until now we have installed dvisvgm as part of texlive, e.g. as
 /opt/texlive/2018/bin/x86_64-linux/dvisvgm

 With the changes during the last year, the modified configure scripts /
 Makefiles of texlive no-longer permit this to be built when system libs
 are used, and texlive upstream is unwilling to change this. Debian will
 use separate dvisvgm.
 [https://dvisvgm.de/]

 Unfortunately, the dependencies are "heavy" :

 Clipper (http://www.angusj.com/delphi/clipper.php)

 FontForge (a reduced version is bundled)

 FreeType

 Ghostscript

 kpathsea

 openssl - in LFS

 potrace

 woff2 and brotli (bundled)

 xxHash (https://github.com/Cyan4973/xxHash)

 For kpathsea, --with-kpathsea=/opt/texlive/2019 works.

 Without brotli, it can only be built using --enable-bundle-libs which use
 '''all''' the bundled libs.

 I've just apparently managed to built it with those two switches, but
 DESTDIR installing it (to /usr/local, to see what it produced) only
 created the basic directories.

 Trying to run make check, I am unable to persuade it to find libkpathsea.
 I suspect it might be looking for a static version. The odd thing is that
 config.log shows things like

 {{{configure:12824: checking for kpse_find_file in -lkpathsea
 configure:12849: gcc -o conftest -g -O2 -I/opt/texlive/2019/include
 -I/opt/texlive/2019/include  -L/opt/texlive/2019/lib conftest.c -lkpathsea
 >&5
 configure:12849: $? = 0
 configure:12858: result: yes
 configure:12872: checking kpathsea version
 configure:12890: gcc -o conftest -g -O2 -I/opt/texlive/2019/include
 -I/opt/texlive/2019/include  -L/opt/texlive/2019/lib conftest.c -lkpathsea
 >&5
 configure:12890: $? = 0
 configure:12890: ./conftest
 configure:12890: $? = 0
 configure:12899: result: "6.3.1"
 }}}
 So at that point it apparently linked successfully to it.

 I have little or no use for this (I've dropped eps files since I can no
 longer view them after last year's ghostscript changes, I don't use DVI
 files, and I have no reason to convert a page of a PDF to an SVG file.

 I'm inclined to let it go.

--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/12105>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch


More information about the blfs-book mailing list