[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;
|
---|
[51d044f] | 6 | <!-- inkscape.org appears to point to launchpad, sf is out of date -->
|
---|
| 7 | <!ENTITY inkscape-download-http "https://launchpad.net/inkscape/0.91.x/0.91/+download/inkscape-&inkscape-version;.tar.bz2">
|
---|
[9945e31] | 8 | <!ENTITY inkscape-download-ftp " ">
|
---|
[51d044f] | 9 | <!ENTITY inkscape-md5sum "278dfa4514adcde23546370ec2c84581">
|
---|
| 10 | <!ENTITY inkscape-size "25 MB">
|
---|
| 11 | <!ENTITY inkscape-buildsize "1.9 GB">
|
---|
| 12 | <!ENTITY inkscape-time "16 SBU">
|
---|
[9945e31] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="inkscape" xreflabel="Inkscape-&inkscape-version;">
|
---|
| 16 | <?dbhtml filename="inkscape.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
[3acf108] | 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[9945e31] | 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Inkscape-&inkscape-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="inkscape">
|
---|
[bc6e56d] | 26 | <primary sortas="a-Inkscape">Inkscape</primary>
|
---|
[9945e31] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Inkscape</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | <application>Inkscape</application> is a what you see is what you get
|
---|
| 34 | Scalable Vector Graphics editor. It is useful for creating, viewing and
|
---|
| 35 | changing SVG images.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
[5e94b6c3] | 38 | &lfs78_checked;
|
---|
[9945e31] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&inkscape-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&inkscape-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &inkscape-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &inkscape-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &inkscape-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &inkscape-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
[45c7f7b] | 74 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 75 | <itemizedlist spacing="compact">
|
---|
| 76 | <listitem>
|
---|
| 77 | <para>
|
---|
[5e94b6c3] | 78 | Optional patch:
|
---|
[51d044f] | 79 | <ulink url="&patch-root;/inkscape-&inkscape-version;-testfiles-1.patch"/>
|
---|
[5e94b6c3] | 80 | for full test coverage.
|
---|
[45c7f7b] | 81 | </para>
|
---|
| 82 | </listitem>
|
---|
| 83 | </itemizedlist>
|
---|
| 84 |
|
---|
[9945e31] | 85 | <bridgehead renderas="sect3">Inkscape Dependencies</bridgehead>
|
---|
| 86 |
|
---|
| 87 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 88 | <para role="required">
|
---|
| 89 | <xref linkend="boost"/>,
|
---|
[bc6e56d] | 90 | <xref linkend="gc"/>,
|
---|
[c378e51] | 91 | <xref linkend="gsl"/>,
|
---|
[51d044f] | 92 | <xref linkend="gtkmm2"/>
|
---|
| 93 | (or <xref linkend="gtkmm3"/> and
|
---|
[5e94b6c3] | 94 | <ulink url="http://ftp.gnome.org/pub/gnome/sources/gdl/">gnome docking library</ulink>
|
---|
| 95 | for the experimental gtk+-3 build),
|
---|
[51d044f] | 96 | <xref linkend="libxslt"/> and
|
---|
| 97 | <xref linkend="popt"/>
|
---|
[bc6e56d] | 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 101 | <para role="recommended">
|
---|
[51d044f] | 102 | <xref linkend="lcms2"/> or
|
---|
[bc6e56d] | 103 | <xref linkend="lcms"/>
|
---|
[9945e31] | 104 | </para>
|
---|
| 105 |
|
---|
| 106 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 107 | <para role="optional">
|
---|
[bc6e56d] | 108 | <xref linkend="aspell"/>,
|
---|
[51d044f] | 109 | <xref linkend="dbus"/>,
|
---|
[bc6e56d] | 110 | <xref linkend="doxygen"/>,
|
---|
[9945e31] | 111 | <xref linkend="imagemagick"/>,
|
---|
[51d044f] | 112 | <xref linkend="poppler"/>,
|
---|
[5e94b6c3] | 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 / -->
|
---|
| 118 |
|
---|
[51d044f] | 119 | <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
|
---|
| 120 | <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,
|
---|
| 121 | <ulink url="https://github.com/LibreOffice/libcdr">libcdr</ulink>,
|
---|
| 122 | <ulink url="https://github.com/LibreOffice/libvisio">libvisio</ulink>,
|
---|
[bc6e56d] | 123 | <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink>,
|
---|
[5e94b6c3] | 124 | <ulink url="https://sourceforge.net/projects/NumPy/files/">NumPy</ulink>
|
---|
[51d044f] | 125 | (for the testsuite and at runtime for some extensions) and
|
---|
[5e94b6c3] | 126 | <ulink url="http://cheeseshop.python.org/pypi/lxml/">python-lxml</ulink>
|
---|
[51d044f] | 127 | (for the testsuite, and at runtime for some of the extensions)
|
---|
[9945e31] | 128 | </para>
|
---|
| 129 |
|
---|
[dc6bfb82] | 130 | <bridgehead renderas="sect4">Optional Runtime Dependencies
|
---|
| 131 | (for some of the Inkscape extensions)</bridgehead>
|
---|
| 132 | <para role="optional">
|
---|
[5e94b6c3] | 133 | <ulink url="http://search.cpan.org/~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>
|
---|
| 143 |
|
---|
[5e94b6c3] | 144 | <!--
|
---|
| 145 | <para>If <application>Xorg</application> is installed in a prefix other
|
---|
| 146 | than <filename class='directory'>/usr</filename>, the build will fail. Fix
|
---|
| 147 | this by issuing the following command:</para>
|
---|
| 148 |
|
---|
| 149 | <screen><userinput>export LIBRARY_PATH=$XORG_PREFIX/lib</userinput></screen>
|
---|
| 150 | -->
|
---|
| 151 |
|
---|
[9945e31] | 152 | <para>
|
---|
| 153 | Install <application>Inkscape</application> by running the following
|
---|
| 154 | commands:
|
---|
| 155 | </para>
|
---|
| 156 |
|
---|
[51d044f] | 157 | <screen><userinput>patch -Np1 -i ../inkscape-&inkscape-version;-testfiles-1.patch &&
|
---|
[91cbb22c] | 158 |
|
---|
[5e94b6c3] | 159 | CXXFLAGS="-g -O2 -std=c++11" ./configure --prefix=/usr &&
|
---|
[8874b6f] | 160 | make</userinput></screen>
|
---|
[9945e31] | 161 |
|
---|
| 162 | <para>
|
---|
| 163 | To test the results, issue: <command>make check</command>.
|
---|
| 164 | </para>
|
---|
| 165 | <para>
|
---|
| 166 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 167 | </para>
|
---|
| 168 |
|
---|
| 169 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 170 |
|
---|
[dc6bfb82] | 171 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 172 | href="../../xincludes/update-icons-and-desktop.xml"/>
|
---|
[87dfe6b] | 173 |
|
---|
| 174 | </sect2>
|
---|
[91cbb22c] | 175 |
|
---|
[5e94b6c3] | 176 | <sect2 role="commands">
|
---|
| 177 | <title>Command Explanations</title>
|
---|
| 178 |
|
---|
| 179 | <para>
|
---|
| 180 | <command>CXXFLAGS="-g -O2 -std=c++11" ./configure...</command>: Inkscape
|
---|
| 181 | has not yet been ported to the 2011 ISO C++ standard, one of its
|
---|
| 182 | dependencies is compiled with this standard.
|
---|
| 183 | <command>-std=c++11</command> has
|
---|
| 184 | to be used as an option to <command>g++</command>. We pass it into
|
---|
| 185 | <envar>CXXFLAGS</envar> together with the default options.
|
---|
| 186 | </para>
|
---|
| 187 |
|
---|
| 188 | <para>
|
---|
| 189 | <command>sed -ri ... configure</command>:
|
---|
| 190 | This <command>sed</command> fixes building problems starting
|
---|
| 191 | with gc-7.4.2.
|
---|
| 192 | </para>
|
---|
| 193 |
|
---|
| 194 | </sect2>
|
---|
| 195 |
|
---|
[9945e31] | 196 | <sect2 role="content">
|
---|
| 197 | <title>Contents</title>
|
---|
| 198 |
|
---|
| 199 | <segmentedlist>
|
---|
| 200 | <segtitle>Installed Programs</segtitle>
|
---|
[c3c56b2] | 201 | <segtitle>Installed Libraries</segtitle>
|
---|
[9945e31] | 202 | <segtitle>Installed Directory</segtitle>
|
---|
| 203 |
|
---|
| 204 | <seglistitem>
|
---|
[bc6e56d] | 205 | <seg>
|
---|
| 206 | inkscape and inkview
|
---|
| 207 | </seg>
|
---|
[c3c56b2] | 208 | <seg>
|
---|
| 209 | None
|
---|
| 210 | </seg>
|
---|
[bc6e56d] | 211 | <seg>
|
---|
| 212 | /usr/share/inkscape
|
---|
| 213 | </seg>
|
---|
[9945e31] | 214 | </seglistitem>
|
---|
| 215 | </segmentedlist>
|
---|
| 216 |
|
---|
| 217 | <variablelist>
|
---|
| 218 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 219 | <?dbfo list-presentation="list"?>
|
---|
| 220 | <?dbhtml list-presentation="table"?>
|
---|
| 221 |
|
---|
| 222 | <varlistentry id="inkscape-prog">
|
---|
| 223 | <term><command>inkscape</command></term>
|
---|
| 224 | <listitem>
|
---|
| 225 | <para>
|
---|
| 226 | an SVG (Scalable Vector Graphics) editing program.
|
---|
| 227 | </para>
|
---|
| 228 | <indexterm zone="inkscape inkscape-prog">
|
---|
| 229 | <primary sortas="b-inkscape">inkscape</primary>
|
---|
| 230 | </indexterm>
|
---|
| 231 | </listitem>
|
---|
| 232 | </varlistentry>
|
---|
| 233 |
|
---|
| 234 | <varlistentry id="inkview">
|
---|
| 235 | <term><command>inkview</command></term>
|
---|
| 236 | <listitem>
|
---|
| 237 | <para>
|
---|
| 238 | is a simple program for displaying SVG files.
|
---|
| 239 | </para>
|
---|
| 240 | <indexterm zone="inkscape inkview">
|
---|
| 241 | <primary sortas="b-inkview">inkview</primary>
|
---|
| 242 | </indexterm>
|
---|
| 243 | </listitem>
|
---|
| 244 | </varlistentry>
|
---|
[bc6e56d] | 245 |
|
---|
[9945e31] | 246 | </variablelist>
|
---|
[bc6e56d] | 247 |
|
---|
[9945e31] | 248 | </sect2>
|
---|
[bc6e56d] | 249 |
|
---|
[9945e31] | 250 | </sect1>
|
---|