source: xsoft/other/inkscape.xml@ 7457dcb

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 7457dcb was 41273f26, checked in by Xi Ruoyao <xry111@…>, 10 months ago

inkscape: It cannot use imagemagick >= 7

Comment out the imagemagick dependency for now. It seems the upstream
developers do not want to spend too much time on supporting imagemagick

7, and they prefer graphicsmagick instead. So add graphicsmagick as

an external dependency.

Reported-by: Jean-Marc Pigeon <jmp@…>
Link: https://gitlab.com/inkscape/inkscape/-/issues/1294

  • Property mode set to 100644
File size: 10.3 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-7 or later do not work:
113 https://gitlab.com/inkscape/inkscape/-/issues/1294
114 <xref linkend="imagemagick"/>,-->
115 <xref linkend="lcms2"/> or
116 <xref role="nodep" linkend="lcms"/>,
117 <xref linkend="libcanberra"/> (to eliminate plugin warnings),
118 <xref linkend="potrace"/> (for the bucket-fill tool), also
119 various Python modules at runtime for the core extensions:
120 <!-- there might be others, or other needed dependencies:
121 needs someone who knows how to use *all" the core extensions -->
122 <xref role="runtime" linkend="cachecontrol"/>,
123 <xref role="runtime" linkend="cssselect"/>,
124 <xref role="runtime" linkend="lxml"/>,
125 <xref role="runtime" linkend="numpy"/>,
126 <xref role="runtime" linkend="pyserial"/>, and
127 <xref role="runtime" linkend="scour"/>
128 </para>
129
130 <bridgehead renderas="sect4">Optional</bridgehead>
131 <para role="optional">
132 <xref linkend="aspell"/>,
133 <xref linkend="dbus"/> (to run inkscape from scripts),
134 <xref linkend="doxygen"/>,
135 <xref linkend="gspell"/>,
136
137 <!-- these document foundation links work from firefox's address bar, or
138 from google (pages telling you how to get it from git), but when I link
139 them here I get "There is currently no text in this page...". Ken or
140 developer: wiki.documentfoundation.org pages don't like trailing / -->
141 <!--<ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
142 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,-->
143 <!--<ulink url="https://gtkspell.sourceforge.net">gtkspell</ulink>,-->
144 <ulink url="https://sourceforge.net/projects/graphicsmagick">GraphicsMagick</ulink>,
145 <ulink url="https://github.com/LibreOffice/libcdr">libcdr</ulink>,
146 <ulink url="https://github.com/LibreOffice/libvisio">libvisio</ulink>,
147 <ulink url="https://libwpg.sourceforge.net/">libwpg</ulink> (or
148 <ulink url="https://libwpd.sourceforge.net/">libwpd</ulink>)
149 </para>
150
151<!-- no trace of this perl module in the core extensions for 1.2.2
152 <bridgehead renderas="sect4">Optional Runtime Dependencies
153 (for some of the Inkscape extensions)</bridgehead>
154 <para role="optional">
155 <ulink role="runtime"
156 url="https://metacpan.org/pod/release/TJMATHER/XML-XQL-0.68/lib/XML/XQL.pm">XML::XQL</ulink>
157 </para>-->
158
159 </sect2>
160
161 <sect2 role="installation">
162 <title>Installation of Inkscape</title>
163<!--
164 <para>
165 First, fix Inkscape to build with poppler-22.09.0:
166 </para>
167
168<screen><userinput remap="pre">patch -Np1 -i ../inkscape-&inkscape-version;-poppler_22_09_fixes-1.patch</userinput></screen>
169-->
170
171<!-- If there is no test suite, then this is not needed.
172 There is none if the command below is not run.
173 With 1.0, this support is broken, so let's comment it out for now to
174 prevent confusion.
175 <para>
176 If you wish to run the test suite, download the required versions of
177 <application>googletest</application> and
178 <application>googlemock</application> by running:
179 </para>
180
181<screen remap="test"><userinput>./download-gtest.sh</userinput></screen>
182-->
183
184 <para>
185 Install <application>Inkscape</application> by running the following
186 commands:
187 </para>
188<!--
189<screen><userinput remap="pre">patch -Np1 -i ../inkscape-&inkscape-version;-poppler_21.11.0-1.patch &amp;&amp;
190-->
191<screen><userinput>mkdir build &amp;&amp;
192cd build &amp;&amp;
193
194cmake -DCMAKE_INSTALL_PREFIX=/usr \
195 -DCMAKE_BUILD_TYPE=Release \
196 .. &amp;&amp;
197make</userinput></screen>
198
199<!-- A race condition has been observed with inkscape-1.2.2, cmake-3.25.1,
200 and make-4.4. Reported by "Dragan" on the blfs-dev list -->
201&parallel_issues;
202
203<!--
204 <para>
205 To test the results, issue: <command>make check</command>.<!- - Ken or
206 other devs, there is no test suite in this package. -renodr
207 A small test suite is built if you download the necessary programs
208 with the command above (bash download-gtest.sh) -pierre
209 This package does not come with a test suite. - ->
210
211 At the moment, the test suite does not function with the
212 "bash download-gtest.sh". CMake is unable to find gtest.
213 </para>
214-->
215
216 <para>
217 This package does not come with a working test suite.
218 </para>
219
220 <para>
221 Now, as the <systemitem class="username">root</systemitem> user:
222 </para>
223
224<screen role="root"><userinput>make install</userinput></screen>
225
226 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
227 href="../../xincludes/update-icons-and-desktop.xml"/>
228
229 </sect2>
230
231 <sect2 role="commands">
232 <title>Command Explanations</title>
233
234 <para>
235 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
236 build the release library without any debug `assert` in the code.
237 </para>
238
239 <para>
240 <option>-DWITH_DBUS=ON</option>: use this if you wish to use
241 <command>inkscape</command> in interactive scripts which manipulate
242 images.
243 </para>
244
245 </sect2>
246
247 <sect2 role="content">
248 <title>Contents</title>
249
250 <segmentedlist>
251 <segtitle>Installed Programs</segtitle>
252 <segtitle>Installed Library</segtitle>
253 <segtitle>Installed Directories</segtitle>
254
255 <seglistitem>
256 <seg>
257 inkscape and inkview
258 </seg>
259 <seg>
260 lib2geom.so and
261 libinkscape_base.so (in /usr/lib/inkscape)
262 </seg>
263 <seg>
264 /usr/include/2geom-&lib2geom-version;,
265 /usr/lib/inkscape, and
266 /usr/share/inkscape
267 </seg>
268 </seglistitem>
269 </segmentedlist>
270
271 <variablelist>
272 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
273 <?dbfo list-presentation="list"?>
274 <?dbhtml list-presentation="table"?>
275
276 <varlistentry id="inkscape-prog">
277 <term><command>inkscape</command></term>
278 <listitem>
279 <para>
280 is a SVG (Scalable Vector Graphics) editing program
281 </para>
282 <indexterm zone="inkscape inkscape-prog">
283 <primary sortas="b-inkscape">inkscape</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry id="inkview">
289 <term><command>inkview</command></term>
290 <listitem>
291 <para>
292 is a simple program for displaying SVG files
293 </para>
294 <indexterm zone="inkscape inkview">
295 <primary sortas="b-inkview">inkview</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
299
300 <varlistentry id="libinkscape_base">
301 <term><filename class="libraryfile">libinkscape_base.so</filename></term>
302 <listitem>
303 <para>
304 provides the routines used by inkscape and inkview
305 </para>
306 <indexterm zone="inkscape libinkscape_base">
307 <primary sortas="c-libinkscape_base">libinkscape_base.so</primary>
308 </indexterm>
309 </listitem>
310 </varlistentry>
311
312 </variablelist>
313
314 </sect2>
315
316</sect1>
Note: See TracBrowser for help on using the repository browser.