source: xsoft/other/inkscape.xml@ 57c1a7f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 57c1a7f was 57c1a7f, checked in by Pierre Labastie <pieere@…>, 7 years ago

Add role="runtime" to runtime deps
and try to clarify the procedure for
running the testsuite

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

  • Property mode set to 100644
File size: 9.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.bz2">
7 <!ENTITY inkscape-download-ftp " ">
8 <!ENTITY inkscape-md5sum "6f6bcbd0237ecd064460315465467b04">
9 <!ENTITY inkscape-size "30 MB">
10 <!ENTITY inkscape-buildsize "526 MB (add 8 MB for tests)">
11 <!ENTITY inkscape-time "4.9 SBU (add 0.2 SBU for tests, both 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 &lfs81_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 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing="compact">
75 <listitem>
76 <para>Required patch: <ulink url="&patch-root;/inkscape-&inkscape-version;-use_versioned_ImageMagick6-1.patch"/></para>
77 </listitem>
78 <listitem>
79 <para>Required patch: <ulink url="&patch-root;/inkscape-&inkscape-version;-poppler-1.patch"/></para>
80 </listitem>
81 </itemizedlist>
82
83 <bridgehead renderas="sect3">Inkscape Dependencies</bridgehead>
84
85 <bridgehead renderas="sect4">Required</bridgehead>
86 <para role="required">
87 <xref linkend="boost"/>,
88 <xref linkend="gc"/>,
89 <xref linkend="gsl"/>,
90 <xref linkend="gtkmm2"/>
91 (or <xref linkend="gtkmm3"/> and
92 <ulink url="http://ftp.gnome.org/pub/gnome/sources/gdl/">gnome docking library</ulink>
93 for the experimental gtk+-3 build),
94 <xref linkend="libxslt"/>,
95 <xref linkend="poppler"/>,
96 <xref linkend="popt"/> and
97 <xref linkend="wget"/> (to download the test dependencies)
98 </para>
99
100 <bridgehead renderas="sect4">Recommended</bridgehead>
101 <para role="recommended">
102 <xref linkend="imagemagick6"/>,
103 <xref linkend="lcms2"/> or
104 <xref linkend="lcms"/>,
105 <xref linkend="potrace"/> (for the bucket-fill tool),
106 <xref role="runtime" linkend="lxml"/> and
107 <xref role="runtime" linkend="scour"/> (both at runtime, for Save As
108 Optimized SVG).
109 </para>
110
111 <bridgehead renderas="sect4">Optional</bridgehead>
112 <para role="optional">
113 <xref linkend="aspell"/>,
114 <xref linkend="dbus"/> (to run inkscape from scripts),
115 <xref linkend="doxygen"/>,
116
117 <!-- these document foundation links work from firefox's address bar, or
118 from google (pages telling you how to get it from git), but when I link
119 them here I get "There is currently no text in this page...". Ken or
120 developer: wiki.documentfoundation.org pages don't like trailing / -->
121 <!--<ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
122 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,-->
123 <ulink url="https://github.com/LibreOffice/libcdr">libcdr</ulink>,
124 <ulink url="https://github.com/LibreOffice/libvisio">libvisio</ulink>,
125 <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink> (or
126 <ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>) and
127 <ulink url="https://sourceforge.net/projects/NumPy/files/">NumPy</ulink>
128 (at runtime for some extensions)
129 </para>
130
131 <bridgehead renderas="sect4">Optional Runtime Dependencies
132 (for some of the Inkscape extensions)</bridgehead>
133 <para role="optional">
134 <ulink url="http://search.cpan.org/~tjmather/XML-XQL-0.68/lib/XML/XQL.pm">XML::XQL</ulink>
135 </para>
136
137 <para condition="html" role="usernotes">
138 User Notes: <ulink url="&blfs-wiki;/inkscape"/>
139 </para>
140 </sect2>
141
142 <sect2 role="installation">
143 <title>Installation of Inkscape</title>
144
145 <para>Ensure that the libraries from <xref linkend="imagemagick6"/> and
146 <xref linkend="poppler"/> can be used:</para>
147
148<screen><userinput>patch -Np1 -i ../inkscape-&inkscape-version;-use_versioned_ImageMagick6-1.patch &amp;&amp;
149patch -Np1 -i ../inkscape-&inkscape-version;-poppler-1.patch
150</userinput></screen>
151
152 <para>
153 Fix a build issue with <application>GCC-7.1</application>:
154 </para>
155
156<screen><userinput>sed -i 's| abs(| std::fabs(|g' src/ui/tools/flood-tool.cpp</userinput></screen>
157
158<!-- If there is no test suite, then this is not needed.
159 There is none if the command below is not run. -->
160 <para>
161 If you wish to run the testsuite, download the required versions of
162 <application>googletest</application> and
163 <application>googlemock</application> by running:
164 </para>
165
166<screen><userinput>bash download-gtest.sh</userinput></screen>
167
168 <para>
169 Install <application>Inkscape</application> by running the following
170 commands:
171 </para>
172
173<screen><userinput>mkdir build &amp;&amp;
174cd build &amp;&amp;
175
176cmake -DCMAKE_INSTALL_PREFIX=/usr \
177 -DCMAKE_BUILD_TYPE=Release \
178 .. &amp;&amp;
179make</userinput></screen>
180
181 <para>
182 To test the results, issue: <command>make check</command>.<!-- Ken or
183 other devs, there is no test suite in this package. -renodr
184 A small test suite is built if you download the necessary programs
185 with the command above (bash download-gtest.sh) -pierre
186 This package does not come with a test suite. -->
187 </para>
188
189 <para>
190 Now, as the <systemitem class="username">root</systemitem> user:
191 </para>
192
193<screen role="root"><userinput>make install &amp;&amp;
194rm -v /usr/lib/inkscape/lib*_LIB.a</userinput></screen>
195
196 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
197 href="../../xincludes/update-icons-and-desktop.xml"/>
198
199 </sect2>
200
201 <sect2 role="commands">
202 <title>Command Explanations</title>
203
204 <para>
205 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
206 build the release library without any debug `assert` in the code.
207 </para>
208
209 <para>
210 <parameter>rm -v /usr/lib/inkscape/lib*_LIB.a</parameter>: The conversion
211 of the package to use <command>cmake</command> has led to these libraries
212 getting installed, but they are not usable (there are no header files to
213 let a program know what they contain). So remove them.
214 </para>
215
216 <para>
217 <option>-DWITH_DBUS=ON</option>: use this if you wish to use
218 <command>inkscape</command> in interactive scripts which manipulate
219 images.
220 </para>
221
222 </sect2>
223
224 <sect2 role="content">
225 <title>Contents</title>
226
227 <segmentedlist>
228 <segtitle>Installed Programs</segtitle>
229 <segtitle>Installed Library</segtitle>
230 <segtitle>Installed Directories</segtitle>
231
232 <seglistitem>
233 <seg>
234 inkscape and inkview
235 </seg>
236 <seg>
237 libinkscape_base.so
238 </seg>
239 <seg>
240 /usr/lib/inkscape and /usr/share/inkscape
241 </seg>
242 </seglistitem>
243 </segmentedlist>
244
245 <variablelist>
246 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
247 <?dbfo list-presentation="list"?>
248 <?dbhtml list-presentation="table"?>
249
250 <varlistentry id="inkscape-prog">
251 <term><command>inkscape</command></term>
252 <listitem>
253 <para>
254 an SVG (Scalable Vector Graphics) editing program.
255 </para>
256 <indexterm zone="inkscape inkscape-prog">
257 <primary sortas="b-inkscape">inkscape</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
262 <varlistentry id="inkview">
263 <term><command>inkview</command></term>
264 <listitem>
265 <para>
266 is a simple program for displaying SVG files.
267 </para>
268 <indexterm zone="inkscape inkview">
269 <primary sortas="b-inkview">inkview</primary>
270 </indexterm>
271 </listitem>
272 </varlistentry>
273
274 <varlistentry id="libinkscape_base">
275 <term><filename class="libraryfile">libinkscape_base.so</filename></term>
276 <listitem>
277 <para>
278 provides the routines used by inkscape and inkview.
279 </para>
280 <indexterm zone="inkscape libinkscape_base">
281 <primary sortas="c-libinkscape_base">libinkscape_base.so</primary>
282 </indexterm>
283 </listitem>
284 </varlistentry>
285
286 </variablelist>
287
288 </sect2>
289
290</sect1>
Note: See TracBrowser for help on using the repository browser.