source: xsoft/other/inkscape.xml@ bec34e0

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since bec34e0 was bec34e0, checked in by Xi Ruoyao <xry111@…>, 10 months ago

inkscape: Imagemagick (7) is still a runtime dependency

  • Property mode set to 100644
File size: 10.8 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 <!ENTITY inkscape-download-http "https://inkscape.org/gallery/item/42328/inkscape-&inkscape-minor-version;.tar.xz">
7
8 <!-- When updating, remember to change the numeric part of the URL -->
9
10 <!ENTITY inkscape-download-ftp " ">
11 <!ENTITY inkscape-md5sum "3b16db43ffdae2156c4f318a44c32bbd">
12 <!ENTITY inkscape-size "82 MB">
13 <!ENTITY inkscape-buildsize "870 MB (190 MB installed)">
14 <!ENTITY inkscape-time "3.5 SBU (with parallelism=8)">
15
16 <!-- To find newer tarballs, look here:
17 https://inkscape.org/release/all/source/archive/?pre=0
18 -->
19]>
20
21<sect1 id="inkscape" xreflabel="Inkscape-&inkscape-minor-version;">
22 <?dbhtml filename="inkscape.html"?>
23
24
25 <title>Inkscape-&inkscape-minor-version;</title>
26
27 <indexterm zone="inkscape">
28 <primary sortas="a-Inkscape">Inkscape</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to Inkscape</title>
33
34 <para>
35 <application>Inkscape</application> is a what you see is what you get
36 Scalable Vector Graphics editor. It is useful for creating, viewing and
37 changing SVG images.
38 </para>
39
40 &lfs120_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&inkscape-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&inkscape-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &inkscape-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &inkscape-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &inkscape-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &inkscape-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75 <!--
76 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
77 <itemizedlist spacing="compact">
78 <listitem>
79 <para>
80 Required patch: <ulink
81 url="&patch-root;/inkscape-&inkscape-version;-poppler_22_09_fixes-1.patch"/>
82 </para>
83 </listitem>
84 </itemizedlist>
85 -->
86 <note>
87 <para>
88 The tarball <filename>inkscape-&inkscape-minor-version;.tar.xz</filename>
89 will extract to the directory <filename
90 class="directory">inkscape-&inkscape-version;/</filename>.
91 </para>
92 </note>
93
94 <bridgehead renderas="sect3">Inkscape Dependencies</bridgehead>
95
96 <bridgehead renderas="sect4">Required</bridgehead>
97 <para role="required">
98 <xref linkend="boost"/>,
99 <xref linkend="double-conversion"/>,
100 <xref linkend="gc"/>,
101 <xref linkend="gsl"/>,
102 <xref linkend="gtkmm3"/>,
103 <xref linkend="libsoup"/>,
104 <xref linkend="libxslt"/>,
105 <xref linkend="poppler"/>,
106 <xref linkend="popt"/> and
107 <xref linkend="wget"/> (to download the test dependencies)
108 </para>
109
110 <bridgehead renderas="sect4">Recommended</bridgehead>
111 <para role="recommended">
112 <!-- Imagemagick is used for two different purposes:
113 For raster extensions and image import resolution, Imagemagick
114 libraries are needed but this requires Imagemagick 6:
115 https://gitlab.com/inkscape/inkscape/-/issues/1294
116 TODO: add Imagemagick 6 back or add GraphicsMagick, or port
117 inkscape to Imagemagick 7 API.
118 For WebSlicer export to JPG or GIF, Imagemagick program
119 "convert" is needed and this is only a runtime dependency. -->
120 <xref role="runtime" linkend="imagemagick"/> (runtime),
121 <xref linkend="lcms2"/> or
122 <xref role="nodep" linkend="lcms"/>,
123 <xref linkend="libcanberra"/> (to eliminate plugin warnings),
124 <xref linkend="potrace"/> (for the bucket-fill tool), also
125 various Python modules at runtime for the core extensions:
126 <!-- there might be others, or other needed dependencies:
127 needs someone who knows how to use *all" the core extensions -->
128 <xref role="runtime" linkend="cachecontrol"/>,
129 <xref role="runtime" linkend="cssselect"/>,
130 <xref role="runtime" linkend="lxml"/>,
131 <xref role="runtime" linkend="numpy"/>,
132 <xref role="runtime" linkend="pyserial"/>, and
133 <xref role="runtime" linkend="scour"/>
134 </para>
135
136 <bridgehead renderas="sect4">Optional</bridgehead>
137 <para role="optional">
138 <xref linkend="aspell"/>,
139 <xref linkend="dbus"/> (to run inkscape from scripts),
140 <xref linkend="doxygen"/>,
141 <xref linkend="gspell"/>,
142
143 <!-- these document foundation links work from firefox's address bar, or
144 from google (pages telling you how to get it from git), but when I link
145 them here I get "There is currently no text in this page...". Ken or
146 developer: wiki.documentfoundation.org pages don't like trailing / -->
147 <!--<ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
148 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,-->
149 <!--<ulink url="https://gtkspell.sourceforge.net">gtkspell</ulink>,-->
150 <ulink url="https://sourceforge.net/projects/graphicsmagick">GraphicsMagick</ulink>,
151 <ulink url="https://github.com/LibreOffice/libcdr">libcdr</ulink>,
152 <ulink url="https://github.com/LibreOffice/libvisio">libvisio</ulink>,
153 <ulink url="https://libwpg.sourceforge.net/">libwpg</ulink> (or
154 <ulink url="https://libwpd.sourceforge.net/">libwpd</ulink>)
155 </para>
156
157<!-- no trace of this perl module in the core extensions for 1.2.2
158 <bridgehead renderas="sect4">Optional Runtime Dependencies
159 (for some of the Inkscape extensions)</bridgehead>
160 <para role="optional">
161 <ulink role="runtime"
162 url="https://metacpan.org/pod/release/TJMATHER/XML-XQL-0.68/lib/XML/XQL.pm">XML::XQL</ulink>
163 </para>-->
164
165 </sect2>
166
167 <sect2 role="installation">
168 <title>Installation of Inkscape</title>
169<!--
170 <para>
171 First, fix Inkscape to build with poppler-22.09.0:
172 </para>
173
174<screen><userinput remap="pre">patch -Np1 -i ../inkscape-&inkscape-version;-poppler_22_09_fixes-1.patch</userinput></screen>
175-->
176
177<!-- If there is no test suite, then this is not needed.
178 There is none if the command below is not run.
179 With 1.0, this support is broken, so let's comment it out for now to
180 prevent confusion.
181 <para>
182 If you wish to run the test suite, download the required versions of
183 <application>googletest</application> and
184 <application>googlemock</application> by running:
185 </para>
186
187<screen remap="test"><userinput>./download-gtest.sh</userinput></screen>
188-->
189
190 <para>
191 Install <application>Inkscape</application> by running the following
192 commands:
193 </para>
194<!--
195<screen><userinput remap="pre">patch -Np1 -i ../inkscape-&inkscape-version;-poppler_21.11.0-1.patch &amp;&amp;
196-->
197<screen><userinput>mkdir build &amp;&amp;
198cd build &amp;&amp;
199
200cmake -DCMAKE_INSTALL_PREFIX=/usr \
201 -DCMAKE_BUILD_TYPE=Release \
202 .. &amp;&amp;
203make</userinput></screen>
204
205<!-- A race condition has been observed with inkscape-1.2.2, cmake-3.25.1,
206 and make-4.4. Reported by "Dragan" on the blfs-dev list -->
207&parallel_issues;
208
209<!--
210 <para>
211 To test the results, issue: <command>make check</command>.<!- - Ken or
212 other devs, there is no test suite in this package. -renodr
213 A small test suite is built if you download the necessary programs
214 with the command above (bash download-gtest.sh) -pierre
215 This package does not come with a test suite. - ->
216
217 At the moment, the test suite does not function with the
218 "bash download-gtest.sh". CMake is unable to find gtest.
219 </para>
220-->
221
222 <para>
223 This package does not come with a working test suite.
224 </para>
225
226 <para>
227 Now, as the <systemitem class="username">root</systemitem> user:
228 </para>
229
230<screen role="root"><userinput>make install</userinput></screen>
231
232 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
233 href="../../xincludes/update-icons-and-desktop.xml"/>
234
235 </sect2>
236
237 <sect2 role="commands">
238 <title>Command Explanations</title>
239
240 <para>
241 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
242 build the release library without any debug `assert` in the code.
243 </para>
244
245 <para>
246 <option>-DWITH_DBUS=ON</option>: use this if you wish to use
247 <command>inkscape</command> in interactive scripts which manipulate
248 images.
249 </para>
250
251 </sect2>
252
253 <sect2 role="content">
254 <title>Contents</title>
255
256 <segmentedlist>
257 <segtitle>Installed Programs</segtitle>
258 <segtitle>Installed Library</segtitle>
259 <segtitle>Installed Directories</segtitle>
260
261 <seglistitem>
262 <seg>
263 inkscape and inkview
264 </seg>
265 <seg>
266 lib2geom.so and
267 libinkscape_base.so (in /usr/lib/inkscape)
268 </seg>
269 <seg>
270 /usr/include/2geom-&lib2geom-version;,
271 /usr/lib/inkscape, and
272 /usr/share/inkscape
273 </seg>
274 </seglistitem>
275 </segmentedlist>
276
277 <variablelist>
278 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
279 <?dbfo list-presentation="list"?>
280 <?dbhtml list-presentation="table"?>
281
282 <varlistentry id="inkscape-prog">
283 <term><command>inkscape</command></term>
284 <listitem>
285 <para>
286 is a SVG (Scalable Vector Graphics) editing program
287 </para>
288 <indexterm zone="inkscape inkscape-prog">
289 <primary sortas="b-inkscape">inkscape</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
293
294 <varlistentry id="inkview">
295 <term><command>inkview</command></term>
296 <listitem>
297 <para>
298 is a simple program for displaying SVG files
299 </para>
300 <indexterm zone="inkscape inkview">
301 <primary sortas="b-inkview">inkview</primary>
302 </indexterm>
303 </listitem>
304 </varlistentry>
305
306 <varlistentry id="libinkscape_base">
307 <term><filename class="libraryfile">libinkscape_base.so</filename></term>
308 <listitem>
309 <para>
310 provides the routines used by inkscape and inkview
311 </para>
312 <indexterm zone="inkscape libinkscape_base">
313 <primary sortas="c-libinkscape_base">libinkscape_base.so</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
318 </variablelist>
319
320 </sect2>
321
322</sect1>
Note: See TracBrowser for help on using the repository browser.