[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;
|
---|
[7d35ee59] | 6 | <!ENTITY inkscape-download-http "https://media.inkscape.org/dl/resources/file/inkscape-&inkscape-version;.tar.bz2">
|
---|
[9945e31] | 7 | <!ENTITY inkscape-download-ftp " ">
|
---|
[18b9eae] | 8 | <!ENTITY inkscape-md5sum "ac30f6d5747fd9c620c00dad500f414f">
|
---|
| 9 | <!ENTITY inkscape-size "30 MB">
|
---|
[e20c93bd] | 10 | <!ENTITY inkscape-buildsize "534 MB (134 MB installed, add 8 MB for tests)">
|
---|
| 11 | <!ENTITY inkscape-time "4.8 SBU (add 0.2 SBU for tests, both with parallelism=4)">
|
---|
[9945e31] | 12 | ]>
|
---|
| 13 |
|
---|
| 14 | <sect1 id="inkscape" xreflabel="Inkscape-&inkscape-version;">
|
---|
| 15 | <?dbhtml filename="inkscape.html"?>
|
---|
| 16 |
|
---|
| 17 | <sect1info>
|
---|
| 18 | <othername>$LastChangedBy$</othername>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>Inkscape-&inkscape-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="inkscape">
|
---|
[bc6e56d] | 25 | <primary sortas="a-Inkscape">Inkscape</primary>
|
---|
[9945e31] | 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to Inkscape</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | <application>Inkscape</application> is a what you see is what you get
|
---|
| 33 | Scalable Vector Graphics editor. It is useful for creating, viewing and
|
---|
| 34 | changing SVG images.
|
---|
| 35 | </para>
|
---|
| 36 |
|
---|
[2abdf08b] | 37 | &lfs90_checked;
|
---|
[9945e31] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&inkscape-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&inkscape-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: &inkscape-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: &inkscape-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: &inkscape-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: &inkscape-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
[7d35ee59] | 73 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 74 | <itemizedlist spacing="compact">
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>Required patch: <ulink url="&patch-root;/inkscape-&inkscape-version;-use_versioned_ImageMagick6-1.patch"/></para>
|
---|
| 77 | </listitem>
|
---|
[e20c93bd] | 78 | <listitem>
|
---|
| 79 | <para>Required patch: <ulink url="&patch-root;/inkscape-&inkscape-version;-upstream_fixes-1.patch"/></para>
|
---|
| 80 | </listitem>
|
---|
[7d35ee59] | 81 | </itemizedlist>
|
---|
| 82 |
|
---|
[9945e31] | 83 | <bridgehead renderas="sect3">Inkscape Dependencies</bridgehead>
|
---|
| 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 86 | <para role="required">
|
---|
| 87 | <xref linkend="boost"/>,
|
---|
[bc6e56d] | 88 | <xref linkend="gc"/>,
|
---|
[81e3aeaa] | 89 | <xref linkend="gsl"/>,
|
---|
[8e5b57e] | 90 | <xref linkend="gtkmm2"/>
|
---|
| 91 | (or <xref linkend="gtkmm3"/> and
|
---|
| 92 | <ulink url="http://ftp.gnome.org/pub/gnome/sources/gdl/">gnome docking library</ulink>
|
---|
| 93 | for the experimental gtk+-3 build),
|
---|
[7d35ee59] | 94 | <xref linkend="libxslt"/>,
|
---|
[0fa27361] | 95 | <xref linkend="poppler"/>,
|
---|
[7d35ee59] | 96 | <xref linkend="popt"/> and
|
---|
| 97 | <xref linkend="wget"/> (to download the test dependencies)
|
---|
[bc6e56d] | 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 101 | <para role="recommended">
|
---|
[d113301] | 102 | <xref linkend="imagemagick6"/>,
|
---|
[8e5b57e] | 103 | <xref linkend="lcms2"/> or
|
---|
[7d35ee59] | 104 | <xref linkend="lcms"/>,
|
---|
[2abdf08b] | 105 | <xref linkend="libcanberra"/> (to eliminate plugin warnings),
|
---|
[7d35ee59] | 106 | <xref linkend="potrace"/> (for the bucket-fill tool),
|
---|
[57c1a7f] | 107 | <xref role="runtime" linkend="lxml"/> and
|
---|
| 108 | <xref role="runtime" linkend="scour"/> (both at runtime, for Save As
|
---|
| 109 | Optimized SVG).
|
---|
[9945e31] | 110 | </para>
|
---|
| 111 |
|
---|
| 112 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 113 | <para role="optional">
|
---|
[bc6e56d] | 114 | <xref linkend="aspell"/>,
|
---|
[7d35ee59] | 115 | <xref linkend="dbus"/> (to run inkscape from scripts),
|
---|
[bc6e56d] | 116 | <xref linkend="doxygen"/>,
|
---|
[e47938a] | 117 |
|
---|
| 118 | <!-- these document foundation links work from firefox's address bar, or
|
---|
| 119 | from google (pages telling you how to get it from git), but when I link
|
---|
| 120 | them here I get "There is currently no text in this page...". Ken or
|
---|
| 121 | developer: wiki.documentfoundation.org pages don't like trailing / -->
|
---|
[0134954] | 122 | <!--<ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
|
---|
| 123 | <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,-->
|
---|
[8e5b57e] | 124 | <ulink url="https://github.com/LibreOffice/libcdr">libcdr</ulink>,
|
---|
| 125 | <ulink url="https://github.com/LibreOffice/libvisio">libvisio</ulink>,
|
---|
[7d35ee59] | 126 | <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink> (or
|
---|
| 127 | <ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>) and
|
---|
[c8b93dfd] | 128 | <ulink role="runtime"
|
---|
| 129 | url="https://sourceforge.net/projects/NumPy/files/">NumPy</ulink>
|
---|
[7d35ee59] | 130 | (at runtime for some extensions)
|
---|
[9945e31] | 131 | </para>
|
---|
| 132 |
|
---|
[dc6bfb82] | 133 | <bridgehead renderas="sect4">Optional Runtime Dependencies
|
---|
| 134 | (for some of the Inkscape extensions)</bridgehead>
|
---|
| 135 | <para role="optional">
|
---|
[c8b93dfd] | 136 | <ulink role="runtime"
|
---|
[b69e5dc] | 137 | url="https://metacpan.org/pod/release/TJMATHER/XML-XQL-0.68/lib/XML/XQL.pm">XML::XQL</ulink>
|
---|
[dc6bfb82] | 138 | </para>
|
---|
| 139 |
|
---|
[9945e31] | 140 | <para condition="html" role="usernotes">
|
---|
| 141 | User Notes: <ulink url="&blfs-wiki;/inkscape"/>
|
---|
| 142 | </para>
|
---|
| 143 | </sect2>
|
---|
| 144 |
|
---|
| 145 | <sect2 role="installation">
|
---|
| 146 | <title>Installation of Inkscape</title>
|
---|
[096730a] | 147 |
|
---|
| 148 | <para>
|
---|
| 149 | First, fix a problem introduced by Poppler-0.76.1.
|
---|
| 150 | </para>
|
---|
| 151 |
|
---|
[77c3644] | 152 | <screen><userinput remap="pre">sed -e 's|new Lexer(xref, obj)|obj|g' -i src/extension/internal/pdfinput/pdf-parser.cpp</userinput></screen>
|
---|
[096730a] | 153 |
|
---|
[ac67709] | 154 | <para>
|
---|
[18b9eae] | 155 | Ensure that the libraries from <xref linkend="imagemagick6"/> can be used:
|
---|
[ac67709] | 156 | </para>
|
---|
| 157 |
|
---|
[18b9eae] | 158 | <screen><userinput>patch -Np1 -i ../inkscape-&inkscape-version;-use_versioned_ImageMagick6-1.patch</userinput></screen>
|
---|
[ac67709] | 159 |
|
---|
[e20c93bd] | 160 | <para>
|
---|
| 161 | Apply a patch to prevent out-of-bounds writes in the text and fill-bucket
|
---|
| 162 | tools:
|
---|
| 163 | </para>
|
---|
| 164 |
|
---|
| 165 | <screen><userinput>patch -Np1 -i ../inkscape-&inkscape-version;-upstream_fixes-1.patch</userinput></screen>
|
---|
| 166 |
|
---|
[57c1a7f] | 167 | <!-- If there is no test suite, then this is not needed.
|
---|
| 168 | There is none if the command below is not run. -->
|
---|
[7d35ee59] | 169 | <para>
|
---|
| 170 | If you wish to run the testsuite, download the required versions of
|
---|
| 171 | <application>googletest</application> and
|
---|
| 172 | <application>googlemock</application> by running:
|
---|
| 173 | </para>
|
---|
| 174 |
|
---|
[e7d4e823] | 175 | <screen remap="test"><userinput>bash download-gtest.sh</userinput></screen>
|
---|
[7d35ee59] | 176 |
|
---|
[9945e31] | 177 | <para>
|
---|
| 178 | Install <application>Inkscape</application> by running the following
|
---|
| 179 | commands:
|
---|
| 180 | </para>
|
---|
| 181 |
|
---|
[0fa27361] | 182 | <screen><userinput>mkdir build &&
|
---|
[f1e50963] | 183 | cd build &&
|
---|
[81d8cac] | 184 |
|
---|
[7d35ee59] | 185 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 186 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 187 | .. &&
|
---|
[8874b6f] | 188 | make</userinput></screen>
|
---|
[9945e31] | 189 |
|
---|
| 190 | <para>
|
---|
[57c1a7f] | 191 | To test the results, issue: <command>make check</command>.<!-- Ken or
|
---|
| 192 | other devs, there is no test suite in this package. -renodr
|
---|
| 193 | A small test suite is built if you download the necessary programs
|
---|
| 194 | with the command above (bash download-gtest.sh) -pierre
|
---|
| 195 | This package does not come with a test suite. -->
|
---|
[9945e31] | 196 | </para>
|
---|
[0fa27361] | 197 |
|
---|
[9945e31] | 198 | <para>
|
---|
| 199 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 200 | </para>
|
---|
| 201 |
|
---|
[7d35ee59] | 202 | <screen role="root"><userinput>make install &&
|
---|
| 203 | rm -v /usr/lib/inkscape/lib*_LIB.a</userinput></screen>
|
---|
[9945e31] | 204 |
|
---|
[dc6bfb82] | 205 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 206 | href="../../xincludes/update-icons-and-desktop.xml"/>
|
---|
[87dfe6b] | 207 |
|
---|
| 208 | </sect2>
|
---|
[0f23f29] | 209 |
|
---|
[87dfe6b] | 210 | <sect2 role="commands">
|
---|
| 211 | <title>Command Explanations</title>
|
---|
| 212 |
|
---|
[19bcba7d] | 213 | <para>
|
---|
[7d35ee59] | 214 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
|
---|
| 215 | build the release library without any debug `assert` in the code.
|
---|
| 216 | </para>
|
---|
| 217 |
|
---|
| 218 | <para>
|
---|
| 219 | <parameter>rm -v /usr/lib/inkscape/lib*_LIB.a</parameter>: The conversion
|
---|
| 220 | of the package to use <command>cmake</command> has led to these libraries
|
---|
| 221 | getting installed, but they are not usable (there are no header files to
|
---|
| 222 | let a program know what they contain). So remove them.
|
---|
| 223 | </para>
|
---|
| 224 |
|
---|
| 225 | <para>
|
---|
| 226 | <option>-DWITH_DBUS=ON</option>: use this if you wish to use
|
---|
| 227 | <command>inkscape</command> in interactive scripts which manipulate
|
---|
| 228 | images.
|
---|
[80cfbfb] | 229 | </para>
|
---|
| 230 |
|
---|
[0f23f29] | 231 | </sect2>
|
---|
[9945e31] | 232 |
|
---|
| 233 | <sect2 role="content">
|
---|
| 234 | <title>Contents</title>
|
---|
| 235 |
|
---|
| 236 | <segmentedlist>
|
---|
| 237 | <segtitle>Installed Programs</segtitle>
|
---|
[7d35ee59] | 238 | <segtitle>Installed Library</segtitle>
|
---|
| 239 | <segtitle>Installed Directories</segtitle>
|
---|
[9945e31] | 240 |
|
---|
| 241 | <seglistitem>
|
---|
[bc6e56d] | 242 | <seg>
|
---|
| 243 | inkscape and inkview
|
---|
| 244 | </seg>
|
---|
[c3c56b2] | 245 | <seg>
|
---|
[7d35ee59] | 246 | libinkscape_base.so
|
---|
[c3c56b2] | 247 | </seg>
|
---|
[bc6e56d] | 248 | <seg>
|
---|
[7d35ee59] | 249 | /usr/lib/inkscape and /usr/share/inkscape
|
---|
[bc6e56d] | 250 | </seg>
|
---|
[9945e31] | 251 | </seglistitem>
|
---|
| 252 | </segmentedlist>
|
---|
| 253 |
|
---|
| 254 | <variablelist>
|
---|
| 255 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 256 | <?dbfo list-presentation="list"?>
|
---|
| 257 | <?dbhtml list-presentation="table"?>
|
---|
| 258 |
|
---|
| 259 | <varlistentry id="inkscape-prog">
|
---|
| 260 | <term><command>inkscape</command></term>
|
---|
| 261 | <listitem>
|
---|
| 262 | <para>
|
---|
| 263 | an SVG (Scalable Vector Graphics) editing program.
|
---|
| 264 | </para>
|
---|
| 265 | <indexterm zone="inkscape inkscape-prog">
|
---|
| 266 | <primary sortas="b-inkscape">inkscape</primary>
|
---|
| 267 | </indexterm>
|
---|
| 268 | </listitem>
|
---|
| 269 | </varlistentry>
|
---|
| 270 |
|
---|
| 271 | <varlistentry id="inkview">
|
---|
| 272 | <term><command>inkview</command></term>
|
---|
| 273 | <listitem>
|
---|
| 274 | <para>
|
---|
| 275 | is a simple program for displaying SVG files.
|
---|
| 276 | </para>
|
---|
| 277 | <indexterm zone="inkscape inkview">
|
---|
| 278 | <primary sortas="b-inkview">inkview</primary>
|
---|
| 279 | </indexterm>
|
---|
| 280 | </listitem>
|
---|
| 281 | </varlistentry>
|
---|
[bc6e56d] | 282 |
|
---|
[7d35ee59] | 283 | <varlistentry id="libinkscape_base">
|
---|
| 284 | <term><filename class="libraryfile">libinkscape_base.so</filename></term>
|
---|
| 285 | <listitem>
|
---|
| 286 | <para>
|
---|
| 287 | provides the routines used by inkscape and inkview.
|
---|
| 288 | </para>
|
---|
| 289 | <indexterm zone="inkscape libinkscape_base">
|
---|
| 290 | <primary sortas="c-libinkscape_base">libinkscape_base.so</primary>
|
---|
| 291 | </indexterm>
|
---|
| 292 | </listitem>
|
---|
| 293 | </varlistentry>
|
---|
| 294 |
|
---|
[9945e31] | 295 | </variablelist>
|
---|
[bc6e56d] | 296 |
|
---|
[9945e31] | 297 | </sect2>
|
---|
[bc6e56d] | 298 |
|
---|
[9945e31] | 299 | </sect1>
|
---|