source: xsoft/other/inkscape.xml@ c30de44

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 c30de44 was c30de44, checked in by Ken Moffat <ken@…>, 2 years ago

Update to poppler-21.11.0 and patch inkscape for that.

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