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
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;
[df35651]6 <!ENTITY inkscape-download-http "https://inkscape.org/gallery/item/29255/inkscape-&inkscape-version;.tar.xz">
[9945e31]7 <!ENTITY inkscape-download-ftp " ">
[df35651]8 <!ENTITY inkscape-md5sum "1852c535a1aec7ca25eca9de110330d7">
[50ab38f]9 <!ENTITY inkscape-size "33 MB">
[df35651]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 -->
[9945e31]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">
[bc6e56d]28 <primary sortas="a-Inkscape">Inkscape</primary>
[9945e31]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
[85a581fd]40 &lfs110a_checked;
[9945e31]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>
[c30de44]75
[7d35ee59]76 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
77 <itemizedlist spacing="compact">
[c30de44]78<!--
[7d35ee59]79 <listitem>
[622c1021]80 <para>
81 Required patch: <ulink
[3ed1498c]82 url="&patch-root;/inkscape-&inkscape-version;-glib_2.68-1.patch"/>
[622c1021]83 </para>
[7d35ee59]84 </listitem>
[3ed1498c]85 </itemizedlist>
[c30de44]86 <!\-\- These are not needed right now. Inkscape builds/runs fine with the
[9851978]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.
[c30de44]91 Needed for 1.1.1 and poppler-2011.1, please keep above comment and comment
92 the link when no longer required
[e20c93bd]93 <listitem>
[622c1021]94 <para>
95 Required patch: <ulink
96 url="&patch-root;/inkscape-&inkscape-version;-upstream_fixes-1.patch"/>
97 </para>
[e20c93bd]98 </listitem>
[c30de44]99-->
[a353c3a]100 <listitem>
[622c1021]101 <para>
102 Required patch: <ulink
[c30de44]103 url="&patch-root;/inkscape-&inkscape-version;-poppler_21.11.0-1.patch"/>
[622c1021]104 </para>
[e146aca]105 </listitem>
[7d35ee59]106 </itemizedlist>
[b8ff9ea]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
[df35651]113 <emphasis>inkscape-&inkscape-version;_2021-09-20_3bf5ae0d25</emphasis>.
[b8ff9ea]114 </para>
115 </note>
[7d35ee59]116
[9945e31]117 <bridgehead renderas="sect3">Inkscape Dependencies</bridgehead>
118
119 <bridgehead renderas="sect4">Required</bridgehead>
120 <para role="required">
121 <xref linkend="boost"/>,
[b8ff9ea]122 <xref linkend="double-conversion"/>,
[bc6e56d]123 <xref linkend="gc"/>,
[b8ff9ea]124 <xref linkend="gdl"/>,
[81e3aeaa]125 <xref linkend="gsl"/>,
[b8ff9ea]126 <xref linkend="gtkmm3"/>,
127 <xref linkend="libsoup"/>,
[7d35ee59]128 <xref linkend="libxslt"/>,
[0fa27361]129 <xref linkend="poppler"/>,
[7d35ee59]130 <xref linkend="popt"/> and
131 <xref linkend="wget"/> (to download the test dependencies)
[bc6e56d]132 </para>
133
134 <bridgehead renderas="sect4">Recommended</bridgehead>
135 <para role="recommended">
[b8ff9ea]136 <xref linkend="imagemagick"/>,
[8e5b57e]137 <xref linkend="lcms2"/> or
[cac7f93]138 <xref role="nodep" linkend="lcms"/>,
[2abdf08b]139 <xref linkend="libcanberra"/> (to eliminate plugin warnings),
[7d35ee59]140 <xref linkend="potrace"/> (for the bucket-fill tool),
[57c1a7f]141 <xref role="runtime" linkend="lxml"/> and
142 <xref role="runtime" linkend="scour"/> (both at runtime, for Save As
143 Optimized SVG).
[9945e31]144 </para>
145
146 <bridgehead renderas="sect4">Optional</bridgehead>
147 <para role="optional">
[bc6e56d]148 <xref linkend="aspell"/>,
[7d35ee59]149 <xref linkend="dbus"/> (to run inkscape from scripts),
[bc6e56d]150 <xref linkend="doxygen"/>,
[e47938a]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 / -->
[0134954]156 <!--<ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
157 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,-->
[b8ff9ea]158 <ulink url="http://gtkspell.sourceforge.net">gtkspell</ulink>,
[8e5b57e]159 <ulink url="https://github.com/LibreOffice/libcdr">libcdr</ulink>,
160 <ulink url="https://github.com/LibreOffice/libvisio">libvisio</ulink>,
[7d35ee59]161 <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink> (or
162 <ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>) and
[c8b93dfd]163 <ulink role="runtime"
164 url="https://sourceforge.net/projects/NumPy/files/">NumPy</ulink>
[7d35ee59]165 (at runtime for some extensions)
[9945e31]166 </para>
167
[dc6bfb82]168 <bridgehead renderas="sect4">Optional Runtime Dependencies
169 (for some of the Inkscape extensions)</bridgehead>
170 <para role="optional">
[c8b93dfd]171 <ulink role="runtime"
[b69e5dc]172 url="https://metacpan.org/pod/release/TJMATHER/XML-XQL-0.68/lib/XML/XQL.pm">XML::XQL</ulink>
[dc6bfb82]173 </para>
174
[9945e31]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>
[096730a]182
[7ebcf19]183 <!-- Not needed with 1.0, but let's keep the template.
[e146aca]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>
[9851978]190 -->
[a353c3a]191
[57c1a7f]192<!-- If there is no test suite, then this is not needed.
[b8ff9ea]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.
[7d35ee59]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
[e7d4e823]202<screen remap="test"><userinput>bash download-gtest.sh</userinput></screen>
[b8ff9ea]203 -->
[7d35ee59]204
[ba768b1]205<!--
[7ebcf19]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>
[ba768b1]211-->
[7ebcf19]212
[9945e31]213 <para>
214 Install <application>Inkscape</application> by running the following
215 commands:
216 </para>
[50ab38f]217
[c30de44]218<screen><userinput remap="pre">patch -Np1 -i ../inkscape-&inkscape-version;-poppler_21.11.0-1.patch &amp;&amp;
219
220mkdir build &amp;&amp;
[50ab38f]221cd build &amp;&amp;
[81d8cac]222
[7d35ee59]223cmake -DCMAKE_INSTALL_PREFIX=/usr \
224 -DCMAKE_BUILD_TYPE=Release \
[50ab38f]225 .. &amp;&amp;
[8874b6f]226make</userinput></screen>
[9945e31]227
[b8ff9ea]228<!--
[9945e31]229 <para>
[b8ff9ea]230 To test the results, issue: <command>make check</command>.<!- - Ken or
[57c1a7f]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
[b8ff9ea]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.
[9945e31]238 </para>
[b8ff9ea]239-->
[0fa27361]240
[270505a]241 <para>
242 This package does not come with a working test suite.
243 </para>
244
[9945e31]245 <para>
246 Now, as the <systemitem class="username">root</systemitem> user:
247 </para>
248
[b8ff9ea]249<screen role="root"><userinput>make install</userinput></screen>
[9945e31]250
[dc6bfb82]251 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
252 href="../../xincludes/update-icons-and-desktop.xml"/>
[87dfe6b]253
254 </sect2>
[0f23f29]255
[87dfe6b]256 <sect2 role="commands">
257 <title>Command Explanations</title>
258
[19bcba7d]259 <para>
[7d35ee59]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.
[80cfbfb]268 </para>
269
[0f23f29]270 </sect2>
[9945e31]271
272 <sect2 role="content">
273 <title>Contents</title>
274
275 <segmentedlist>
276 <segtitle>Installed Programs</segtitle>
[7d35ee59]277 <segtitle>Installed Library</segtitle>
278 <segtitle>Installed Directories</segtitle>
[9945e31]279
280 <seglistitem>
[bc6e56d]281 <seg>
282 inkscape and inkview
283 </seg>
[c3c56b2]284 <seg>
[7d35ee59]285 libinkscape_base.so
[c3c56b2]286 </seg>
[bc6e56d]287 <seg>
[7d35ee59]288 /usr/lib/inkscape and /usr/share/inkscape
[bc6e56d]289 </seg>
[9945e31]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>
[4c24eb0a]302 is a SVG (Scalable Vector Graphics) editing program
[9945e31]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>
[4c24eb0a]314 is a simple program for displaying SVG files
[9945e31]315 </para>
316 <indexterm zone="inkscape inkview">
317 <primary sortas="b-inkview">inkview</primary>
318 </indexterm>
319 </listitem>
320 </varlistentry>
[bc6e56d]321
[7d35ee59]322 <varlistentry id="libinkscape_base">
323 <term><filename class="libraryfile">libinkscape_base.so</filename></term>
324 <listitem>
325 <para>
[4c24eb0a]326 provides the routines used by inkscape and inkview
[7d35ee59]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
[9945e31]334 </variablelist>
[bc6e56d]335
[9945e31]336 </sect2>
[bc6e56d]337
[9945e31]338</sect1>
Note: See TracBrowser for help on using the repository browser.