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