source: xsoft/other/inkscape.xml@ a0fd2f2c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 8.4 9.0 9.1 bdubbs/svn 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 a0fd2f2c was a0fd2f2c, checked in by Douglas R. Reno <renodr@…>, 6 years ago

Create consolidated patch for inkscape with latest poppler fixes. One of several problems discovered on this build

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

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