source: xsoft/other/inkscape.xml@ a0bba47a

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 xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since a0bba47a was a0bba47a, checked in by Douglas R. Reno <renodr@…>, 2 years ago

Fix building Inkscape with poppler-22.04.0.

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