source: xsoft/other/inkscape.xml@ d44f893

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d44f893 was c14025f4, checked in by Pierre Labastie <pieere@…>, 4 years ago

Tag editors and a few others

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

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