source: xsoft/other/inkscape.xml@ 7ebcf19

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 gimp3 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 upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 7ebcf19 was 7ebcf19, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Fix FTBFS in Inkscape
Various tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23563 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 10.6 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://media.inkscape.org/dl/resources/file/inkscape-&inkscape-version;.tar.xz">
7 <!ENTITY inkscape-download-ftp " ">
8 <!ENTITY inkscape-md5sum "e5f1ee6b32ac0a94bdd5d99190e7bb9e">
9 <!ENTITY inkscape-size "30 MB">
10 <!ENTITY inkscape-buildsize "722 MB (165 MB installed)">
11 <!ENTITY inkscape-time "5.7 SBU (with parallelism=4)">
12]>
13
14<sect1 id="inkscape" xreflabel="Inkscape-&inkscape-version;">
15 <?dbhtml filename="inkscape.html"?>
16
17 <sect1info>
18 <othername>$LastChangedBy$</othername>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>Inkscape-&inkscape-version;</title>
23
24 <indexterm zone="inkscape">
25 <primary sortas="a-Inkscape">Inkscape</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to Inkscape</title>
30
31 <para>
32 <application>Inkscape</application> is a what you see is what you get
33 Scalable Vector Graphics editor. It is useful for creating, viewing and
34 changing SVG images.
35 </para>
36
37 &lfs10_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&inkscape-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&inkscape-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &inkscape-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &inkscape-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &inkscape-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &inkscape-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <!-- With 1.0.0, there is now a dependency on IM7 instead of IM6.
74 It's explicitly searched for in CMakeLists.txt.
75 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
76 <itemizedlist spacing="compact">
77 <listitem>
78 <para>
79 Required patch: <ulink
80 url="&patch-root;/inkscape-&inkscape-version;-use_versioned_ImageMagick6-1.patch"/>
81 </para>
82 </listitem>
83 -->
84 <!-- These are not needed right now. Inkscape builds/runs fine with the
85 latest poppler as of this update (0.87.0). However, history says
86 that almost every poppler version has broke inkscape, and history
87 tends to repeat itself ;-). Keep these patches commented until
88 they are inevitably needed.
89 <listitem>
90 <para>
91 Required patch: <ulink
92 url="&patch-root;/inkscape-&inkscape-version;-upstream_fixes-1.patch"/>
93 </para>
94 </listitem>
95 <listitem>
96 <para>
97 Required patch: <ulink
98 url="&patch-root;/inkscape-&inkscape-version;-poppler_0_83_0_fixes-1.patch"/>
99 </para>
100 </listitem>
101 </itemizedlist>
102 -->
103
104 <!-- I've asked upstream about this and was unable to find an answer. -renodr -->
105 <note>
106 <para>
107 The tarball <emphasis>inkscape-&inkscape-version;.tar.xz</emphasis>
108 will extract to
109 <emphasis>inkscape-&inkscape-version;_2020-05-01_4035a4fb49</emphasis>
110 </para>
111 </note>
112
113 <bridgehead renderas="sect3">Inkscape Dependencies</bridgehead>
114
115 <bridgehead renderas="sect4">Required</bridgehead>
116 <para role="required">
117 <xref linkend="boost"/>,
118 <xref linkend="double-conversion"/>,
119 <xref linkend="gc"/>,
120 <xref linkend="gdl"/>,
121 <xref linkend="gsl"/>,
122 <xref linkend="gtkmm3"/>,
123 <xref linkend="libsoup"/>,
124 <xref linkend="libxslt"/>,
125 <xref linkend="poppler"/>,
126 <xref linkend="popt"/> and
127 <xref linkend="wget"/> (to download the test dependencies)
128 </para>
129
130 <bridgehead renderas="sect4">Recommended</bridgehead>
131 <para role="recommended">
132 <xref linkend="imagemagick"/>,
133 <xref linkend="lcms2"/> or
134 <xref role="nodep" linkend="lcms"/>,
135 <xref linkend="libcanberra"/> (to eliminate plugin warnings),
136 <xref linkend="potrace"/> (for the bucket-fill tool),
137 <xref role="runtime" linkend="lxml"/> and
138 <xref role="runtime" linkend="scour"/> (both at runtime, for Save As
139 Optimized SVG).
140 </para>
141
142 <bridgehead renderas="sect4">Optional</bridgehead>
143 <para role="optional">
144 <xref linkend="aspell"/>,
145 <xref linkend="dbus"/> (to run inkscape from scripts),
146 <xref linkend="doxygen"/>,
147
148 <!-- these document foundation links work from firefox's address bar, or
149 from google (pages telling you how to get it from git), but when I link
150 them here I get "There is currently no text in this page...". Ken or
151 developer: wiki.documentfoundation.org pages don't like trailing / -->
152 <!--<ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
153 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,-->
154 <ulink url="http://gtkspell.sourceforge.net">gtkspell</ulink>,
155 <ulink url="https://github.com/LibreOffice/libcdr">libcdr</ulink>,
156 <ulink url="https://github.com/LibreOffice/libvisio">libvisio</ulink>,
157 <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink> (or
158 <ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>) and
159 <ulink role="runtime"
160 url="https://sourceforge.net/projects/NumPy/files/">NumPy</ulink>
161 (at runtime for some extensions)
162 </para>
163
164 <bridgehead renderas="sect4">Optional Runtime Dependencies
165 (for some of the Inkscape extensions)</bridgehead>
166 <para role="optional">
167 <ulink role="runtime"
168 url="https://metacpan.org/pod/release/TJMATHER/XML-XQL-0.68/lib/XML/XQL.pm">XML::XQL</ulink>
169 </para>
170
171 <para condition="html" role="usernotes">
172 User Notes: <ulink url="&blfs-wiki;/inkscape"/>
173 </para>
174 </sect2>
175
176 <sect2 role="installation">
177 <title>Installation of Inkscape</title>
178
179 <!-- Not needed with 1.0, but let's keep the template.
180
181 <para>
182 Now fix Inkscape to build with poppler-0.83.0:
183 </para>
184
185<screen><userinput remap="pre">patch -Np1 -i ../inkscape-&inkscape-version;-poppler_0_83_0_fixes-1.patch</userinput></screen>
186 -->
187
188<!-- If there is no test suite, then this is not needed.
189 There is none if the command below is not run.
190 With 1.0, this support is broken, so let's comment it out for now to
191 prevent confusion.
192 <para>
193 If you wish to run the testsuite, download the required versions of
194 <application>googletest</application> and
195 <application>googlemock</application> by running:
196 </para>
197
198<screen remap="test"><userinput>bash download-gtest.sh</userinput></screen>
199 -->
200
201 <para>
202 First, fix build failure with glibc-2.32:
203 </para>
204
205<screen><userinput remap="pre">sed -i '/#include &lt;iostream&gt;/a #include &lt;atomic&gt;' src/ui/tool/node.cpp</userinput></screen>
206
207 <para>
208 Install <application>Inkscape</application> by running the following
209 commands:
210 </para>
211
212<screen><userinput>mkdir build &amp;&amp;
213cd build &amp;&amp;
214
215cmake -DCMAKE_INSTALL_PREFIX=/usr \
216 -DCMAKE_BUILD_TYPE=Release \
217 .. &amp;&amp;
218make</userinput></screen>
219
220<!--
221 <para>
222 To test the results, issue: <command>make check</command>.<!- - Ken or
223 other devs, there is no test suite in this package. -renodr
224 A small test suite is built if you download the necessary programs
225 with the command above (bash download-gtest.sh) -pierre
226 This package does not come with a test suite. - ->
227
228 At the moment, the test suite does not function with the
229 "bash download-gtest.sh". CMake is unable to find gtest.
230 </para>
231-->
232
233 <para>
234 This package does not come with a working test suite.
235 </para>
236
237 <para>
238 Now, as the <systemitem class="username">root</systemitem> user:
239 </para>
240
241<screen role="root"><userinput>make install</userinput></screen>
242
243 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
244 href="../../xincludes/update-icons-and-desktop.xml"/>
245
246 </sect2>
247
248 <sect2 role="commands">
249 <title>Command Explanations</title>
250
251 <para>
252 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
253 build the release library without any debug `assert` in the code.
254 </para>
255
256 <para>
257 <option>-DWITH_DBUS=ON</option>: use this if you wish to use
258 <command>inkscape</command> in interactive scripts which manipulate
259 images.
260 </para>
261
262 </sect2>
263
264 <sect2 role="content">
265 <title>Contents</title>
266
267 <segmentedlist>
268 <segtitle>Installed Programs</segtitle>
269 <segtitle>Installed Library</segtitle>
270 <segtitle>Installed Directories</segtitle>
271
272 <seglistitem>
273 <seg>
274 inkscape and inkview
275 </seg>
276 <seg>
277 libinkscape_base.so
278 </seg>
279 <seg>
280 /usr/lib/inkscape and /usr/share/inkscape
281 </seg>
282 </seglistitem>
283 </segmentedlist>
284
285 <variablelist>
286 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
287 <?dbfo list-presentation="list"?>
288 <?dbhtml list-presentation="table"?>
289
290 <varlistentry id="inkscape-prog">
291 <term><command>inkscape</command></term>
292 <listitem>
293 <para>
294 is a SVG (Scalable Vector Graphics) editing program.
295 </para>
296 <indexterm zone="inkscape inkscape-prog">
297 <primary sortas="b-inkscape">inkscape</primary>
298 </indexterm>
299 </listitem>
300 </varlistentry>
301
302 <varlistentry id="inkview">
303 <term><command>inkview</command></term>
304 <listitem>
305 <para>
306 is a simple program for displaying SVG files.
307 </para>
308 <indexterm zone="inkscape inkview">
309 <primary sortas="b-inkview">inkview</primary>
310 </indexterm>
311 </listitem>
312 </varlistentry>
313
314 <varlistentry id="libinkscape_base">
315 <term><filename class="libraryfile">libinkscape_base.so</filename></term>
316 <listitem>
317 <para>
318 provides the routines used by inkscape and inkview.
319 </para>
320 <indexterm zone="inkscape libinkscape_base">
321 <primary sortas="c-libinkscape_base">libinkscape_base.so</primary>
322 </indexterm>
323 </listitem>
324 </varlistentry>
325
326 </variablelist>
327
328 </sect2>
329
330</sect1>
Note: See TracBrowser for help on using the repository browser.