source: pst/typesetting/dvisvgm.xml@ 8a2cb97

11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 8a2cb97 was 8a2cb97, checked in by Douglas R. Reno <renodr@…>, 20 months ago

Tag GNOME Applications and dependencies

  • Property mode set to 100644
File size: 7.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!-- his can be accessed via https://dvisvgm.de/Downloads/
8 NOT via the tags at github - those use autogen.sh -->
9 <!ENTITY dvisvgm-download-http "https://github.com/mgieseki/dvisvgm/releases/download/&dvisvgm-version;/dvisvgm-&dvisvgm-version;.tar.gz">
10 <!ENTITY dvisvgm-download-ftp " ">
11 <!ENTITY dvisvgm-md5sum "57f23eefa075556e36de64ea9b61d8fd">
12 <!ENTITY dvisvgm-size "3.0 MB">
13 <!ENTITY dvisvgm-buildsize "280 MB (41 MB installed, add 949 MB for the tests)">
14 <!ENTITY dvisvgm-time "1.2 SBU (add 0.7 SBU for the tests, both using parallelism=4)">
15]>
16
17<sect1 id="dvisvgm" xreflabel="dvisvgm-&dvisvgm-version;">
18 <?dbhtml filename="dvisvgm.html"?>
19
20 <sect1info>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>dvisvgm-&dvisvgm-version;</title>
25
26 <indexterm zone="dvisvgm">
27 <primary sortas="a-dvisvgm">dvisvgm</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to dvisvgm</title>
32
33 <para>
34 The <application>dvisvgm</application> package converts DVI, EPS and
35 PDF files to SVG format.
36 </para>
37
38 &lfs112_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&dvisvgm-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&dvisvgm-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &dvisvgm-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &dvisvgm-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &dvisvgm-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &dvisvgm-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">dvisvgm Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required">
78 <!-- EDITORS: the docs say it needs clipper, but it uses an internal
79 modified version and cannot be built with system clipper -->
80 <xref linkend="brotli"/>,
81 <xref linkend="gs"/> and
82 <xref linkend="potrace"/>
83 </para>
84
85 <bridgehead renderas="sect4">Recommended</bridgehead>
86 <para role="recommended">
87 <xref linkend="woff2"/>
88 </para>
89
90 <bridgehead renderas="sect4">Optional</bridgehead>
91 <para role="optional">
92 <xref linkend="asciidoc"/> with
93 <xref linkend="xmlto"/> and
94 <xref linkend="libxslt"/> (see command explanations),
95 <ulink url="http://dblatex.sourceforge.net/">dblatex</ulink> (with the above) and
96 <!-- version checked for dvisvgm-2.9, 0.7.3 is mentioned in the
97 news and is the latest version at 2020-03-21
98 maybe change to 'a recent version' if that releases faster -->
99 <ulink url="https://github.com/Cyan4973/xxHash/releases/latest">xxHash</ulink>
100 (the current version is included in the tarball)
101 </para>
102
103 <para condition="html" role="usernotes">
104 User Notes: <ulink url="&blfs-wiki;/dvisvgm"/>
105 </para>
106 </sect2>
107
108 <sect2 role="installation">
109 <title>Installation of dvisvgm</title>
110
111<!-- Editors: This is in the book for svg output from asymptote. tested in
112 https://www.linuxfromscratch.org/~ken/asy-nontex-testfiles/asy-test-20200123.tar.xz
113 Can also be tested with texlive including tikz
114 https://www.linuxfromscratch.org/~ken/tex-testfiles/ https://www.linuxfromscratch.org/~ken/
115 Or, use use it to convert first or specified page(s) of a PDF to SVG - see the man page
116-->
117 <para>
118 To enable the build system to link to
119 <filename class="libraryfile">libkpathsea.so</filename>, as the
120 <systemitem class="username">root</systemitem> user create a symlink from
121 <filename class="directory">/usr/lib</filename>:
122 </para>
123
124<screen role="root"><userinput>ln -svf $TEXLIVE_PREFIX/lib/libkpathsea.so /usr/lib</userinput></screen>
125
126 <para>
127 The testsuite assumes that a modern version of <application>Python</application>
128 has been installed as plain <command>python</command>. Changing this to use
129 <command>python3</command> requires a sed to one <filename>Makefile.in</filename>
130 file.
131 </para>
132
133 <para>
134 Install <application>dvisvgm</application> by running the following
135 commands:
136 </para>
137
138<screen><userinput>sed -i 's/python/&amp;3/' tests/Makefile.in &amp;&amp;
139./configure \
140 --bindir=$TEXLIVE_PREFIX/bin/${TEXARCH} \
141 --mandir=$TEXLIVE_PREFIX/texmf-dist/doc/man \
142 --with-kpathsea=$TEXLIVE_PREFIX &amp;&amp;
143make</userinput></screen>
144
145 <para>
146 To test the results, issue: <command>make check</command>.
147 </para>
148
149 <para>
150 Now, as the <systemitem class="username">root</systemitem> user:
151 </para>
152
153<screen role="root"><userinput>make install</userinput></screen>
154
155 </sect2>
156
157 <sect2 role="commands">
158 <title>Command Explanations</title>
159
160 <para>
161 <command>ln -svf $TEXLIVE_PREFIX/lib/libkpathsea.so /usr/lib</command>:
162 Without this, the program will not link correctly,
163 </para>
164
165<!-- The autoreconf command is not used above anymore.
166 <para>
167 <command>autoreconf -fiv</command>: The versions of
168 <application>autoconf</application> and <application>automake</application>
169 used when this package was created are older than the current versions in
170 LFS. That causes 'make' to fail when it reaches the 'tests' subdirectory
171 unless autoreconf is forced to install missing (i.e. newer) auxiliary
172 files.
173 </para>
174-->
175
176 <!-- EDITORS: the doc target to rebuild the manpage (make man) is not
177 recognised unless invoked from the doc directory (unlike make pdf which
178 can be invoked from top-level but needs dblatex), and I see no utility
179 in explaining how to regenerate it. ken -->
180 <para>
181 <command>--with-kpathsea=$TEXLIVE_PREFIX</command>: This allows
182 the build system to find the headers for <filename
183 class="libraryfile">kpathsea</filename>
184 </para>
185
186 </sect2>
187
188 <sect2 role="content">
189 <title>Contents</title>
190
191 <segmentedlist>
192 <segtitle>Installed Programs</segtitle>
193 <segtitle>Installed Libraries</segtitle>
194 <segtitle>Installed Directories</segtitle>
195
196 <seglistitem>
197 <seg>
198 dvisvgm
199 </seg>
200 <seg>
201 None
202 </seg>
203 <seg>
204 None
205 </seg>
206 </seglistitem>
207 </segmentedlist>
208
209 <variablelist>
210 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
211 <?dbfo list-presentation="list"?>
212 <?dbhtml list-presentation="table"?>
213
214 <varlistentry id="dvisvgm-prog">
215 <term><command>dvisvgm</command></term>
216 <listitem>
217 <para>
218 converts DVI, EPS and PDF files to the SVG format
219 </para>
220 <indexterm zone="dvisvgm dvisvgm-prog">
221 <primary sortas="b-dvisvgm">dvisvgm</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 </variablelist>
227 </sect2>
228
229</sect1>
Note: See TracBrowser for help on using the repository browser.