source: xsoft/other/inkscape.xml@ 353615d

10.0 10.1 11.0 11.1 8.4 9.0 9.1 lazarus qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 353615d was 353615d, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Tags (taking a break for a few hours)

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

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