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;
|
---|
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">
|
---|
8 | <!ENTITY inkscape-download-ftp " ">
|
---|
9 | <!ENTITY inkscape-md5sum "278dfa4514adcde23546370ec2c84581">
|
---|
10 | <!ENTITY inkscape-size "25 MB">
|
---|
11 | <!ENTITY inkscape-buildsize "1.9 GB">
|
---|
12 | <!ENTITY inkscape-time "16 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="inkscape" xreflabel="Inkscape-&inkscape-version;">
|
---|
16 | <?dbhtml filename="inkscape.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>Inkscape-&inkscape-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="inkscape">
|
---|
26 | <primary sortas="a-Inkscape">Inkscape</primary>
|
---|
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 |
|
---|
38 | &lfs79_checked;
|
---|
39 | &gcc6_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (HTTP): <ulink url="&inkscape-download-http;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download (FTP): <ulink url="&inkscape-download-ftp;"/>
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download MD5 sum: &inkscape-md5sum;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download size: &inkscape-size;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated disk space required: &inkscape-buildsize;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Estimated build time: &inkscape-time;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
76 | <itemizedlist spacing="compact">
|
---|
77 | <listitem>
|
---|
78 | <para>
|
---|
79 | Optional patch:
|
---|
80 | <ulink url="&patch-root;/inkscape-&inkscape-version;-testfiles-1.patch"/>
|
---|
81 | for full test coverage.
|
---|
82 | </para>
|
---|
83 | </listitem>
|
---|
84 | </itemizedlist>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect3">Inkscape Dependencies</bridgehead>
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
89 | <para role="required">
|
---|
90 | <xref linkend="boost"/>,
|
---|
91 | <xref linkend="gc"/>,
|
---|
92 | <xref linkend="gsl"/>,
|
---|
93 | <xref linkend="gtkmm2"/>
|
---|
94 | (or <xref linkend="gtkmm3"/> and
|
---|
95 | <ulink url="http://ftp.gnome.org/pub/gnome/sources/gdl/">gnome docking library</ulink>
|
---|
96 | for the experimental gtk+-3 build),
|
---|
97 | <xref linkend="libxslt"/> and
|
---|
98 | <xref linkend="popt"/>
|
---|
99 | </para>
|
---|
100 |
|
---|
101 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
102 | <para role="recommended">
|
---|
103 | <xref linkend="lcms2"/> or
|
---|
104 | <xref linkend="lcms"/>
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
108 | <para role="optional">
|
---|
109 | <xref linkend="aspell"/>,
|
---|
110 | <xref linkend="dbus"/>,
|
---|
111 | <xref linkend="doxygen"/>,
|
---|
112 | <xref linkend="imagemagick"/>,
|
---|
113 | <xref linkend="poppler"/>,
|
---|
114 |
|
---|
115 | <!-- these document foundation links work from firefox's address bar, or
|
---|
116 | from google (pages telling you how to get it from git), but when I link
|
---|
117 | them here I get "There is currently no text in this page...". Ken or
|
---|
118 | developer: wiki.documentfoundation.org pages don't like trailing / -->
|
---|
119 |
|
---|
120 | <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
|
---|
121 | <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,
|
---|
122 | <ulink url="https://github.com/LibreOffice/libcdr">libcdr</ulink>,
|
---|
123 | <ulink url="https://github.com/LibreOffice/libvisio">libvisio</ulink>,
|
---|
124 | <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink>,
|
---|
125 | <ulink url="https://sourceforge.net/projects/NumPy/files/">NumPy</ulink>
|
---|
126 | (for the testsuite and at runtime for some extensions) and
|
---|
127 | <ulink url="http://cheeseshop.python.org/pypi/lxml/">python-lxml</ulink>
|
---|
128 | (for the testsuite, and at runtime for some of the extensions)
|
---|
129 | </para>
|
---|
130 |
|
---|
131 | <bridgehead renderas="sect4">Optional Runtime Dependencies
|
---|
132 | (for some of the Inkscape extensions)</bridgehead>
|
---|
133 | <para role="optional">
|
---|
134 | <ulink url="http://search.cpan.org/~tjmather/XML-XQL-0.68/lib/XML/XQL.pm">XML::XQL</ulink>
|
---|
135 | </para>
|
---|
136 |
|
---|
137 | <para condition="html" role="usernotes">
|
---|
138 | User Notes: <ulink url="&blfs-wiki;/inkscape"/>
|
---|
139 | </para>
|
---|
140 | </sect2>
|
---|
141 |
|
---|
142 | <sect2 role="installation">
|
---|
143 | <title>Installation of Inkscape</title>
|
---|
144 |
|
---|
145 | <!--
|
---|
146 | <para>If <application>Xorg</application> is installed in a prefix other
|
---|
147 | than <filename class='directory'>/usr</filename>, the build will fail. Fix
|
---|
148 | this by issuing the following command:</para>
|
---|
149 |
|
---|
150 | <screen><userinput>export LIBRARY_PATH=$XORG_PREFIX/lib</userinput></screen>
|
---|
151 | -->
|
---|
152 |
|
---|
153 | <para>
|
---|
154 | Install <application>Inkscape</application> by running the following
|
---|
155 | commands:
|
---|
156 | </para>
|
---|
157 |
|
---|
158 | <screen><userinput>patch -Np1 -i ../inkscape-&inkscape-version;-testfiles-1.patch &&
|
---|
159 |
|
---|
160 | sed -e 's/ScopedPtr<char>/make_unique_ptr_gfree/' \
|
---|
161 | -i src/ui/clipboard.cpp &&
|
---|
162 |
|
---|
163 | CXXFLAGS="-g -O2 -std=c++11" ./configure --prefix=/usr &&
|
---|
164 | make</userinput></screen>
|
---|
165 |
|
---|
166 | <para>
|
---|
167 | To test the results, issue: <command>make check</command>.
|
---|
168 | </para>
|
---|
169 | <para>
|
---|
170 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
171 | </para>
|
---|
172 |
|
---|
173 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
174 |
|
---|
175 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
176 | href="../../xincludes/update-icons-and-desktop.xml"/>
|
---|
177 |
|
---|
178 | </sect2>
|
---|
179 |
|
---|
180 | <sect2 role="commands">
|
---|
181 | <title>Command Explanations</title>
|
---|
182 |
|
---|
183 | <para>
|
---|
184 | <command>sed ... </command>: This <command>sed</command> fixes a
|
---|
185 | build problem identified upstream.
|
---|
186 | </para>
|
---|
187 |
|
---|
188 | <para>
|
---|
189 | <command>CXXFLAGS="-g -O2 -std=c++11" ./configure...</command>: Inkscape
|
---|
190 | has not yet been ported to the 2011 ISO C++ standard, one of its
|
---|
191 | dependencies is compiled with this standard.
|
---|
192 | <command>-std=c++11</command> has
|
---|
193 | to be used as an option to <command>g++</command>. We pass it into
|
---|
194 | <envar>CXXFLAGS</envar> together with the default options.
|
---|
195 | </para>
|
---|
196 |
|
---|
197 | </sect2>
|
---|
198 |
|
---|
199 | <sect2 role="content">
|
---|
200 | <title>Contents</title>
|
---|
201 |
|
---|
202 | <segmentedlist>
|
---|
203 | <segtitle>Installed Programs</segtitle>
|
---|
204 | <segtitle>Installed Libraries</segtitle>
|
---|
205 | <segtitle>Installed Directory</segtitle>
|
---|
206 |
|
---|
207 | <seglistitem>
|
---|
208 | <seg>
|
---|
209 | inkscape and inkview
|
---|
210 | </seg>
|
---|
211 | <seg>
|
---|
212 | None
|
---|
213 | </seg>
|
---|
214 | <seg>
|
---|
215 | /usr/share/inkscape
|
---|
216 | </seg>
|
---|
217 | </seglistitem>
|
---|
218 | </segmentedlist>
|
---|
219 |
|
---|
220 | <variablelist>
|
---|
221 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
222 | <?dbfo list-presentation="list"?>
|
---|
223 | <?dbhtml list-presentation="table"?>
|
---|
224 |
|
---|
225 | <varlistentry id="inkscape-prog">
|
---|
226 | <term><command>inkscape</command></term>
|
---|
227 | <listitem>
|
---|
228 | <para>
|
---|
229 | an SVG (Scalable Vector Graphics) editing program.
|
---|
230 | </para>
|
---|
231 | <indexterm zone="inkscape inkscape-prog">
|
---|
232 | <primary sortas="b-inkscape">inkscape</primary>
|
---|
233 | </indexterm>
|
---|
234 | </listitem>
|
---|
235 | </varlistentry>
|
---|
236 |
|
---|
237 | <varlistentry id="inkview">
|
---|
238 | <term><command>inkview</command></term>
|
---|
239 | <listitem>
|
---|
240 | <para>
|
---|
241 | is a simple program for displaying SVG files.
|
---|
242 | </para>
|
---|
243 | <indexterm zone="inkscape inkview">
|
---|
244 | <primary sortas="b-inkview">inkview</primary>
|
---|
245 | </indexterm>
|
---|
246 | </listitem>
|
---|
247 | </varlistentry>
|
---|
248 |
|
---|
249 | </variablelist>
|
---|
250 |
|
---|
251 | </sect2>
|
---|
252 |
|
---|
253 | </sect1>
|
---|