[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;
|
---|
[e1bfbee7] | 6 | <!ENTITY inkscape-download-http "https://inkscape.org/gallery/item/33449/inkscape-&inkscape-minor-version;.tar.xz">
|
---|
[c5a5f11] | 7 |
|
---|
| 8 | <!-- When updating, remember to change the numeric part of the URL -->
|
---|
| 9 |
|
---|
[9945e31] | 10 | <!ENTITY inkscape-download-ftp " ">
|
---|
[c5bffa64] | 11 | <!ENTITY inkscape-md5sum "fb40ac4635b9ea5608e1706584cd0665">
|
---|
| 12 | <!ENTITY inkscape-size "37 MB">
|
---|
| 13 | <!ENTITY inkscape-buildsize "713 MB (181 MB installed)">
|
---|
| 14 | <!ENTITY inkscape-time "6.1 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 |
|
---|
[e1bfbee7] | 21 | <sect1 id="inkscape" xreflabel="Inkscape-&inkscape-minor-version;">
|
---|
[9945e31] | 22 | <?dbhtml filename="inkscape.html"?>
|
---|
| 23 |
|
---|
| 24 | <sect1info>
|
---|
| 25 | <date>$Date$</date>
|
---|
| 26 | </sect1info>
|
---|
| 27 |
|
---|
[e1bfbee7] | 28 | <title>Inkscape-&inkscape-minor-version;</title>
|
---|
[9945e31] | 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>
|
---|
[c5bffa64] | 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>
|
---|
[c5bffa64] | 88 | -->
|
---|
[b8ff9ea] | 89 | <note>
|
---|
| 90 | <para>
|
---|
[e1bfbee7] | 91 | The tarball <emphasis>inkscape-&inkscape-minor-version;.tar.xz</emphasis>
|
---|
| 92 | will extract to the directory <emphasis>inkscape-&inkscape-version;/</emphasis>.
|
---|
[b8ff9ea] | 93 | </para>
|
---|
| 94 | </note>
|
---|
[7d35ee59] | 95 |
|
---|
[9945e31] | 96 | <bridgehead renderas="sect3">Inkscape Dependencies</bridgehead>
|
---|
| 97 |
|
---|
| 98 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 99 | <para role="required">
|
---|
| 100 | <xref linkend="boost"/>,
|
---|
[b8ff9ea] | 101 | <xref linkend="double-conversion"/>,
|
---|
[bc6e56d] | 102 | <xref linkend="gc"/>,
|
---|
[b8ff9ea] | 103 | <xref linkend="gdl"/>,
|
---|
[81e3aeaa] | 104 | <xref linkend="gsl"/>,
|
---|
[b8ff9ea] | 105 | <xref linkend="gtkmm3"/>,
|
---|
| 106 | <xref linkend="libsoup"/>,
|
---|
[7d35ee59] | 107 | <xref linkend="libxslt"/>,
|
---|
[0fa27361] | 108 | <xref linkend="poppler"/>,
|
---|
[7d35ee59] | 109 | <xref linkend="popt"/> and
|
---|
| 110 | <xref linkend="wget"/> (to download the test dependencies)
|
---|
[bc6e56d] | 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 114 | <para role="recommended">
|
---|
[b8ff9ea] | 115 | <xref linkend="imagemagick"/>,
|
---|
[8e5b57e] | 116 | <xref linkend="lcms2"/> or
|
---|
[cac7f93] | 117 | <xref role="nodep" linkend="lcms"/>,
|
---|
[2abdf08b] | 118 | <xref linkend="libcanberra"/> (to eliminate plugin warnings),
|
---|
[7d35ee59] | 119 | <xref linkend="potrace"/> (for the bucket-fill tool),
|
---|
[57c1a7f] | 120 | <xref role="runtime" linkend="lxml"/> and
|
---|
| 121 | <xref role="runtime" linkend="scour"/> (both at runtime, for Save As
|
---|
| 122 | Optimized SVG).
|
---|
[9945e31] | 123 | </para>
|
---|
| 124 |
|
---|
| 125 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 126 | <para role="optional">
|
---|
[bc6e56d] | 127 | <xref linkend="aspell"/>,
|
---|
[7d35ee59] | 128 | <xref linkend="dbus"/> (to run inkscape from scripts),
|
---|
[bc6e56d] | 129 | <xref linkend="doxygen"/>,
|
---|
[e47938a] | 130 |
|
---|
| 131 | <!-- these document foundation links work from firefox's address bar, or
|
---|
| 132 | from google (pages telling you how to get it from git), but when I link
|
---|
| 133 | them here I get "There is currently no text in this page...". Ken or
|
---|
| 134 | developer: wiki.documentfoundation.org pages don't like trailing / -->
|
---|
[0134954] | 135 | <!--<ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
|
---|
| 136 | <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,-->
|
---|
[b8ff9ea] | 137 | <ulink url="http://gtkspell.sourceforge.net">gtkspell</ulink>,
|
---|
[8e5b57e] | 138 | <ulink url="https://github.com/LibreOffice/libcdr">libcdr</ulink>,
|
---|
| 139 | <ulink url="https://github.com/LibreOffice/libvisio">libvisio</ulink>,
|
---|
[7d35ee59] | 140 | <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink> (or
|
---|
| 141 | <ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>) and
|
---|
[c8b93dfd] | 142 | <ulink role="runtime"
|
---|
| 143 | url="https://sourceforge.net/projects/NumPy/files/">NumPy</ulink>
|
---|
[7d35ee59] | 144 | (at runtime for some extensions)
|
---|
[9945e31] | 145 | </para>
|
---|
| 146 |
|
---|
[dc6bfb82] | 147 | <bridgehead renderas="sect4">Optional Runtime Dependencies
|
---|
| 148 | (for some of the Inkscape extensions)</bridgehead>
|
---|
| 149 | <para role="optional">
|
---|
[c8b93dfd] | 150 | <ulink role="runtime"
|
---|
[b69e5dc] | 151 | url="https://metacpan.org/pod/release/TJMATHER/XML-XQL-0.68/lib/XML/XQL.pm">XML::XQL</ulink>
|
---|
[dc6bfb82] | 152 | </para>
|
---|
| 153 |
|
---|
[9945e31] | 154 | <para condition="html" role="usernotes">
|
---|
| 155 | User Notes: <ulink url="&blfs-wiki;/inkscape"/>
|
---|
| 156 | </para>
|
---|
| 157 | </sect2>
|
---|
| 158 |
|
---|
| 159 | <sect2 role="installation">
|
---|
| 160 | <title>Installation of Inkscape</title>
|
---|
[c5bffa64] | 161 | <!--
|
---|
[e146aca] | 162 | <para>
|
---|
[a0bba47a] | 163 | First, fix Inkscape to build with poppler-22.04.0:
|
---|
[e146aca] | 164 | </para>
|
---|
| 165 |
|
---|
[a0bba47a] | 166 | <screen><userinput remap="pre">patch -Np1 -i ../inkscape-&inkscape-version;-poppler_22_04_fixes-1.patch</userinput></screen>
|
---|
[c5bffa64] | 167 | -->
|
---|
[a353c3a] | 168 |
|
---|
[57c1a7f] | 169 | <!-- If there is no test suite, then this is not needed.
|
---|
[b8ff9ea] | 170 | There is none if the command below is not run.
|
---|
| 171 | With 1.0, this support is broken, so let's comment it out for now to
|
---|
| 172 | prevent confusion.
|
---|
[7d35ee59] | 173 | <para>
|
---|
| 174 | If you wish to run the testsuite, download the required versions of
|
---|
| 175 | <application>googletest</application> and
|
---|
| 176 | <application>googlemock</application> by running:
|
---|
| 177 | </para>
|
---|
| 178 |
|
---|
[e7d4e823] | 179 | <screen remap="test"><userinput>bash download-gtest.sh</userinput></screen>
|
---|
[ba768b1] | 180 | -->
|
---|
[7ebcf19] | 181 |
|
---|
[9945e31] | 182 | <para>
|
---|
| 183 | Install <application>Inkscape</application> by running the following
|
---|
| 184 | commands:
|
---|
| 185 | </para>
|
---|
[9fc3125] | 186 | <!--
|
---|
[c30de44] | 187 | <screen><userinput remap="pre">patch -Np1 -i ../inkscape-&inkscape-version;-poppler_21.11.0-1.patch &&
|
---|
[9fc3125] | 188 | -->
|
---|
| 189 | <screen><userinput>mkdir build &&
|
---|
[50ab38f] | 190 | cd build &&
|
---|
[81d8cac] | 191 |
|
---|
[7d35ee59] | 192 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 193 | -DCMAKE_BUILD_TYPE=Release \
|
---|
[50ab38f] | 194 | .. &&
|
---|
[8874b6f] | 195 | make</userinput></screen>
|
---|
[9945e31] | 196 |
|
---|
[b8ff9ea] | 197 | <!--
|
---|
[9945e31] | 198 | <para>
|
---|
[b8ff9ea] | 199 | To test the results, issue: <command>make check</command>.<!- - Ken or
|
---|
[57c1a7f] | 200 | other devs, there is no test suite in this package. -renodr
|
---|
| 201 | A small test suite is built if you download the necessary programs
|
---|
| 202 | with the command above (bash download-gtest.sh) -pierre
|
---|
[b8ff9ea] | 203 | This package does not come with a test suite. - ->
|
---|
| 204 |
|
---|
| 205 | At the moment, the test suite does not function with the
|
---|
| 206 | "bash download-gtest.sh". CMake is unable to find gtest.
|
---|
[9945e31] | 207 | </para>
|
---|
[b8ff9ea] | 208 | -->
|
---|
[0fa27361] | 209 |
|
---|
[270505a] | 210 | <para>
|
---|
| 211 | This package does not come with a working test suite.
|
---|
| 212 | </para>
|
---|
| 213 |
|
---|
[9945e31] | 214 | <para>
|
---|
| 215 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 216 | </para>
|
---|
| 217 |
|
---|
[b8ff9ea] | 218 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[9945e31] | 219 |
|
---|
[dc6bfb82] | 220 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 221 | href="../../xincludes/update-icons-and-desktop.xml"/>
|
---|
[87dfe6b] | 222 |
|
---|
| 223 | </sect2>
|
---|
[0f23f29] | 224 |
|
---|
[87dfe6b] | 225 | <sect2 role="commands">
|
---|
| 226 | <title>Command Explanations</title>
|
---|
| 227 |
|
---|
[19bcba7d] | 228 | <para>
|
---|
[7d35ee59] | 229 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
|
---|
| 230 | build the release library without any debug `assert` in the code.
|
---|
| 231 | </para>
|
---|
| 232 |
|
---|
| 233 | <para>
|
---|
| 234 | <option>-DWITH_DBUS=ON</option>: use this if you wish to use
|
---|
| 235 | <command>inkscape</command> in interactive scripts which manipulate
|
---|
| 236 | images.
|
---|
[80cfbfb] | 237 | </para>
|
---|
| 238 |
|
---|
[0f23f29] | 239 | </sect2>
|
---|
[9945e31] | 240 |
|
---|
| 241 | <sect2 role="content">
|
---|
| 242 | <title>Contents</title>
|
---|
| 243 |
|
---|
| 244 | <segmentedlist>
|
---|
| 245 | <segtitle>Installed Programs</segtitle>
|
---|
[7d35ee59] | 246 | <segtitle>Installed Library</segtitle>
|
---|
| 247 | <segtitle>Installed Directories</segtitle>
|
---|
[9945e31] | 248 |
|
---|
| 249 | <seglistitem>
|
---|
[bc6e56d] | 250 | <seg>
|
---|
| 251 | inkscape and inkview
|
---|
| 252 | </seg>
|
---|
[c3c56b2] | 253 | <seg>
|
---|
[7d35ee59] | 254 | libinkscape_base.so
|
---|
[c3c56b2] | 255 | </seg>
|
---|
[bc6e56d] | 256 | <seg>
|
---|
[7d35ee59] | 257 | /usr/lib/inkscape and /usr/share/inkscape
|
---|
[bc6e56d] | 258 | </seg>
|
---|
[9945e31] | 259 | </seglistitem>
|
---|
| 260 | </segmentedlist>
|
---|
| 261 |
|
---|
| 262 | <variablelist>
|
---|
| 263 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 264 | <?dbfo list-presentation="list"?>
|
---|
| 265 | <?dbhtml list-presentation="table"?>
|
---|
| 266 |
|
---|
| 267 | <varlistentry id="inkscape-prog">
|
---|
| 268 | <term><command>inkscape</command></term>
|
---|
| 269 | <listitem>
|
---|
| 270 | <para>
|
---|
[4c24eb0a] | 271 | is a SVG (Scalable Vector Graphics) editing program
|
---|
[9945e31] | 272 | </para>
|
---|
| 273 | <indexterm zone="inkscape inkscape-prog">
|
---|
| 274 | <primary sortas="b-inkscape">inkscape</primary>
|
---|
| 275 | </indexterm>
|
---|
| 276 | </listitem>
|
---|
| 277 | </varlistentry>
|
---|
| 278 |
|
---|
| 279 | <varlistentry id="inkview">
|
---|
| 280 | <term><command>inkview</command></term>
|
---|
| 281 | <listitem>
|
---|
| 282 | <para>
|
---|
[4c24eb0a] | 283 | is a simple program for displaying SVG files
|
---|
[9945e31] | 284 | </para>
|
---|
| 285 | <indexterm zone="inkscape inkview">
|
---|
| 286 | <primary sortas="b-inkview">inkview</primary>
|
---|
| 287 | </indexterm>
|
---|
| 288 | </listitem>
|
---|
| 289 | </varlistentry>
|
---|
[bc6e56d] | 290 |
|
---|
[7d35ee59] | 291 | <varlistentry id="libinkscape_base">
|
---|
| 292 | <term><filename class="libraryfile">libinkscape_base.so</filename></term>
|
---|
| 293 | <listitem>
|
---|
| 294 | <para>
|
---|
[4c24eb0a] | 295 | provides the routines used by inkscape and inkview
|
---|
[7d35ee59] | 296 | </para>
|
---|
| 297 | <indexterm zone="inkscape libinkscape_base">
|
---|
| 298 | <primary sortas="c-libinkscape_base">libinkscape_base.so</primary>
|
---|
| 299 | </indexterm>
|
---|
| 300 | </listitem>
|
---|
| 301 | </varlistentry>
|
---|
| 302 |
|
---|
[9945e31] | 303 | </variablelist>
|
---|
[bc6e56d] | 304 |
|
---|
[9945e31] | 305 | </sect2>
|
---|
[bc6e56d] | 306 |
|
---|
[9945e31] | 307 | </sect1>
|
---|