[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;
|
---|
[c5a5f11] | 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 |
|
---|
[9945e31] | 10 | <!ENTITY inkscape-download-ftp " ">
|
---|
[9fc3125] | 11 | <!ENTITY inkscape-md5sum "a486807ffdf89a1d7ce9425dd60555ec">
|
---|
[50ab38f] | 12 | <!ENTITY inkscape-size "33 MB">
|
---|
[9fc3125] | 13 | <!ENTITY inkscape-buildsize "645 MB (169 MB installed)">
|
---|
| 14 | <!ENTITY inkscape-time "6.6 SBU (with parallelism=4)">
|
---|
[df35651] | 15 |
|
---|
| 16 | <!-- To find newer tarballs, look here:
|
---|
| 17 | https://inkscape.org/release/all/source/archive/?pre=0
|
---|
| 18 | -->
|
---|
[9945e31] | 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">
|
---|
[bc6e56d] | 31 | <primary sortas="a-Inkscape">Inkscape</primary>
|
---|
[9945e31] | 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 |
|
---|
[98fd8b9] | 43 | &lfs111_checked;
|
---|
[9945e31] | 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>
|
---|
[a0bba47a] | 78 |
|
---|
[7d35ee59] | 79 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 80 | <itemizedlist spacing="compact">
|
---|
[a353c3a] | 81 | <listitem>
|
---|
[622c1021] | 82 | <para>
|
---|
| 83 | Required patch: <ulink
|
---|
[a0bba47a] | 84 | url="&patch-root;/inkscape-&inkscape-version;-poppler_22_04_fixes-1.patch"/>
|
---|
[622c1021] | 85 | </para>
|
---|
[e146aca] | 86 | </listitem>
|
---|
[7d35ee59] | 87 | </itemizedlist>
|
---|
[a0bba47a] | 88 |
|
---|
[b8ff9ea] | 89 | <note>
|
---|
| 90 | <para>
|
---|
| 91 | The tarball <emphasis>inkscape-&inkscape-version;.tar.xz</emphasis>
|
---|
| 92 | will extract to
|
---|
[9fc3125] | 93 | <emphasis>inkscape-&inkscape-version;_2022-02-04_0a00cf5339</emphasis>.
|
---|
[b8ff9ea] | 94 | </para>
|
---|
| 95 | </note>
|
---|
[7d35ee59] | 96 |
|
---|
[9945e31] | 97 | <bridgehead renderas="sect3">Inkscape Dependencies</bridgehead>
|
---|
| 98 |
|
---|
| 99 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 100 | <para role="required">
|
---|
| 101 | <xref linkend="boost"/>,
|
---|
[b8ff9ea] | 102 | <xref linkend="double-conversion"/>,
|
---|
[bc6e56d] | 103 | <xref linkend="gc"/>,
|
---|
[b8ff9ea] | 104 | <xref linkend="gdl"/>,
|
---|
[81e3aeaa] | 105 | <xref linkend="gsl"/>,
|
---|
[b8ff9ea] | 106 | <xref linkend="gtkmm3"/>,
|
---|
| 107 | <xref linkend="libsoup"/>,
|
---|
[7d35ee59] | 108 | <xref linkend="libxslt"/>,
|
---|
[0fa27361] | 109 | <xref linkend="poppler"/>,
|
---|
[7d35ee59] | 110 | <xref linkend="popt"/> and
|
---|
| 111 | <xref linkend="wget"/> (to download the test dependencies)
|
---|
[bc6e56d] | 112 | </para>
|
---|
| 113 |
|
---|
| 114 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 115 | <para role="recommended">
|
---|
[b8ff9ea] | 116 | <xref linkend="imagemagick"/>,
|
---|
[8e5b57e] | 117 | <xref linkend="lcms2"/> or
|
---|
[cac7f93] | 118 | <xref role="nodep" linkend="lcms"/>,
|
---|
[2abdf08b] | 119 | <xref linkend="libcanberra"/> (to eliminate plugin warnings),
|
---|
[7d35ee59] | 120 | <xref linkend="potrace"/> (for the bucket-fill tool),
|
---|
[57c1a7f] | 121 | <xref role="runtime" linkend="lxml"/> and
|
---|
| 122 | <xref role="runtime" linkend="scour"/> (both at runtime, for Save As
|
---|
| 123 | Optimized SVG).
|
---|
[9945e31] | 124 | </para>
|
---|
| 125 |
|
---|
| 126 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 127 | <para role="optional">
|
---|
[bc6e56d] | 128 | <xref linkend="aspell"/>,
|
---|
[7d35ee59] | 129 | <xref linkend="dbus"/> (to run inkscape from scripts),
|
---|
[bc6e56d] | 130 | <xref linkend="doxygen"/>,
|
---|
[e47938a] | 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 / -->
|
---|
[0134954] | 136 | <!--<ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
|
---|
| 137 | <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,-->
|
---|
[b8ff9ea] | 138 | <ulink url="http://gtkspell.sourceforge.net">gtkspell</ulink>,
|
---|
[8e5b57e] | 139 | <ulink url="https://github.com/LibreOffice/libcdr">libcdr</ulink>,
|
---|
| 140 | <ulink url="https://github.com/LibreOffice/libvisio">libvisio</ulink>,
|
---|
[7d35ee59] | 141 | <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink> (or
|
---|
| 142 | <ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>) and
|
---|
[c8b93dfd] | 143 | <ulink role="runtime"
|
---|
| 144 | url="https://sourceforge.net/projects/NumPy/files/">NumPy</ulink>
|
---|
[7d35ee59] | 145 | (at runtime for some extensions)
|
---|
[9945e31] | 146 | </para>
|
---|
| 147 |
|
---|
[dc6bfb82] | 148 | <bridgehead renderas="sect4">Optional Runtime Dependencies
|
---|
| 149 | (for some of the Inkscape extensions)</bridgehead>
|
---|
| 150 | <para role="optional">
|
---|
[c8b93dfd] | 151 | <ulink role="runtime"
|
---|
[b69e5dc] | 152 | url="https://metacpan.org/pod/release/TJMATHER/XML-XQL-0.68/lib/XML/XQL.pm">XML::XQL</ulink>
|
---|
[dc6bfb82] | 153 | </para>
|
---|
| 154 |
|
---|
[9945e31] | 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>
|
---|
[096730a] | 162 |
|
---|
[e146aca] | 163 | <para>
|
---|
[a0bba47a] | 164 | First, fix Inkscape to build with poppler-22.04.0:
|
---|
[e146aca] | 165 | </para>
|
---|
| 166 |
|
---|
[a0bba47a] | 167 | <screen><userinput remap="pre">patch -Np1 -i ../inkscape-&inkscape-version;-poppler_22_04_fixes-1.patch</userinput></screen>
|
---|
| 168 |
|
---|
[a353c3a] | 169 |
|
---|
[57c1a7f] | 170 | <!-- If there is no test suite, then this is not needed.
|
---|
[b8ff9ea] | 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.
|
---|
[7d35ee59] | 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 |
|
---|
[e7d4e823] | 180 | <screen remap="test"><userinput>bash download-gtest.sh</userinput></screen>
|
---|
[ba768b1] | 181 | -->
|
---|
[7ebcf19] | 182 |
|
---|
[0fc5bfd7] | 183 | <para>
|
---|
[a0bba47a] | 184 | Next, fix the build with poppler-22.03.0:
|
---|
[0fc5bfd7] | 185 | </para>
|
---|
| 186 |
|
---|
| 187 | <screen><userinput remap="pre">sed -i '/filename_goo,/s/filename_goo.*/std::make_unique<GooString>(uri));/' \
|
---|
| 188 | src/extension/internal/pdfinput/pdf-input.cpp</userinput></screen>
|
---|
| 189 |
|
---|
[9945e31] | 190 | <para>
|
---|
| 191 | Install <application>Inkscape</application> by running the following
|
---|
| 192 | commands:
|
---|
| 193 | </para>
|
---|
[9fc3125] | 194 | <!--
|
---|
[c30de44] | 195 | <screen><userinput remap="pre">patch -Np1 -i ../inkscape-&inkscape-version;-poppler_21.11.0-1.patch &&
|
---|
[9fc3125] | 196 | -->
|
---|
| 197 | <screen><userinput>mkdir build &&
|
---|
[50ab38f] | 198 | cd build &&
|
---|
[81d8cac] | 199 |
|
---|
[7d35ee59] | 200 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 201 | -DCMAKE_BUILD_TYPE=Release \
|
---|
[50ab38f] | 202 | .. &&
|
---|
[8874b6f] | 203 | make</userinput></screen>
|
---|
[9945e31] | 204 |
|
---|
[b8ff9ea] | 205 | <!--
|
---|
[9945e31] | 206 | <para>
|
---|
[b8ff9ea] | 207 | To test the results, issue: <command>make check</command>.<!- - Ken or
|
---|
[57c1a7f] | 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
|
---|
[b8ff9ea] | 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.
|
---|
[9945e31] | 215 | </para>
|
---|
[b8ff9ea] | 216 | -->
|
---|
[0fa27361] | 217 |
|
---|
[270505a] | 218 | <para>
|
---|
| 219 | This package does not come with a working test suite.
|
---|
| 220 | </para>
|
---|
| 221 |
|
---|
[9945e31] | 222 | <para>
|
---|
| 223 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 224 | </para>
|
---|
| 225 |
|
---|
[b8ff9ea] | 226 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[9945e31] | 227 |
|
---|
[dc6bfb82] | 228 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 229 | href="../../xincludes/update-icons-and-desktop.xml"/>
|
---|
[87dfe6b] | 230 |
|
---|
| 231 | </sect2>
|
---|
[0f23f29] | 232 |
|
---|
[87dfe6b] | 233 | <sect2 role="commands">
|
---|
| 234 | <title>Command Explanations</title>
|
---|
| 235 |
|
---|
[19bcba7d] | 236 | <para>
|
---|
[7d35ee59] | 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.
|
---|
[80cfbfb] | 245 | </para>
|
---|
| 246 |
|
---|
[0f23f29] | 247 | </sect2>
|
---|
[9945e31] | 248 |
|
---|
| 249 | <sect2 role="content">
|
---|
| 250 | <title>Contents</title>
|
---|
| 251 |
|
---|
| 252 | <segmentedlist>
|
---|
| 253 | <segtitle>Installed Programs</segtitle>
|
---|
[7d35ee59] | 254 | <segtitle>Installed Library</segtitle>
|
---|
| 255 | <segtitle>Installed Directories</segtitle>
|
---|
[9945e31] | 256 |
|
---|
| 257 | <seglistitem>
|
---|
[bc6e56d] | 258 | <seg>
|
---|
| 259 | inkscape and inkview
|
---|
| 260 | </seg>
|
---|
[c3c56b2] | 261 | <seg>
|
---|
[7d35ee59] | 262 | libinkscape_base.so
|
---|
[c3c56b2] | 263 | </seg>
|
---|
[bc6e56d] | 264 | <seg>
|
---|
[7d35ee59] | 265 | /usr/lib/inkscape and /usr/share/inkscape
|
---|
[bc6e56d] | 266 | </seg>
|
---|
[9945e31] | 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>
|
---|
[4c24eb0a] | 279 | is a SVG (Scalable Vector Graphics) editing program
|
---|
[9945e31] | 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>
|
---|
[4c24eb0a] | 291 | is a simple program for displaying SVG files
|
---|
[9945e31] | 292 | </para>
|
---|
| 293 | <indexterm zone="inkscape inkview">
|
---|
| 294 | <primary sortas="b-inkview">inkview</primary>
|
---|
| 295 | </indexterm>
|
---|
| 296 | </listitem>
|
---|
| 297 | </varlistentry>
|
---|
[bc6e56d] | 298 |
|
---|
[7d35ee59] | 299 | <varlistentry id="libinkscape_base">
|
---|
| 300 | <term><filename class="libraryfile">libinkscape_base.so</filename></term>
|
---|
| 301 | <listitem>
|
---|
| 302 | <para>
|
---|
[4c24eb0a] | 303 | provides the routines used by inkscape and inkview
|
---|
[7d35ee59] | 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 |
|
---|
[9945e31] | 311 | </variablelist>
|
---|
[bc6e56d] | 312 |
|
---|
[9945e31] | 313 | </sect2>
|
---|
[bc6e56d] | 314 |
|
---|
[9945e31] | 315 | </sect1>
|
---|