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