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 | &lfs7a_checked;
|
---|
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 |
|
---|
74 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
75 | <itemizedlist spacing="compact">
|
---|
76 | <listitem>
|
---|
77 | <para>
|
---|
78 | Optional patch:
|
---|
79 | <ulink url="&patch-root;/inkscape-&inkscape-version;-testfiles-1.patch"/>
|
---|
80 | for full test coverage.
|
---|
81 | </para>
|
---|
82 | </listitem>
|
---|
83 | </itemizedlist>
|
---|
84 |
|
---|
85 | <bridgehead renderas="sect3">Inkscape Dependencies</bridgehead>
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
88 | <para role="required">
|
---|
89 | <xref linkend="boost"/>,
|
---|
90 | <xref linkend="gc"/>,
|
---|
91 | <xref linkend="gsl"/>,
|
---|
92 | <xref linkend="gtkmm2"/>
|
---|
93 | (or <xref linkend="gtkmm3"/> and
|
---|
94 | <ulink url="http://ftp.gnome.org/pub/gnome/sources/gdl/">gnome docking library</ulink>
|
---|
95 | for the experimental gtk+-3 build),
|
---|
96 | <xref linkend="libxslt"/> and
|
---|
97 | <xref linkend="popt"/>
|
---|
98 | </para>
|
---|
99 |
|
---|
100 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
101 | <para role="recommended">
|
---|
102 | <!-- <xref linkend="imagemagick6"/>, Comment out until file gets committed -->
|
---|
103 | <!-- Ken, please commit. -->
|
---|
104 | <xref linkend="lcms2"/> or
|
---|
105 | <xref linkend="lcms"/>
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
109 | <para role="optional">
|
---|
110 | <xref linkend="aspell"/>,
|
---|
111 | <xref linkend="dbus"/>,
|
---|
112 | <xref linkend="doxygen"/>,
|
---|
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 | <phrase revision="sysv"><ulink url="http://cheeseshop.python.org/pypi/lxml/">python-lxml</ulink></phrase>
|
---|
128 | <phrase revision="systemd"><xref linkend="lxml"/></phrase>
|
---|
129 | (for the testsuite, and at runtime for some of the extensions)
|
---|
130 | </para>
|
---|
131 |
|
---|
132 | <bridgehead renderas="sect4">Optional Runtime Dependencies
|
---|
133 | (for some of the Inkscape extensions)</bridgehead>
|
---|
134 | <para role="optional">
|
---|
135 | <ulink url="http://search.cpan.org/~tjmather/XML-XQL-0.68/lib/XML/XQL.pm">XML::XQL</ulink>
|
---|
136 | </para>
|
---|
137 |
|
---|
138 | <para condition="html" role="usernotes">
|
---|
139 | User Notes: <ulink url="&blfs-wiki;/inkscape"/>
|
---|
140 | </para>
|
---|
141 | </sect2>
|
---|
142 |
|
---|
143 | <sect2 role="installation">
|
---|
144 | <title>Installation of Inkscape</title>
|
---|
145 |
|
---|
146 | <!--
|
---|
147 | <para>If <application>Xorg</application> is installed in a prefix other
|
---|
148 | than <filename class='directory'>/usr</filename>, the build will fail. Fix
|
---|
149 | this by issuing the following command:</para>
|
---|
150 |
|
---|
151 | <screen><userinput>export LIBRARY_PATH=$XORG_PREFIX/lib</userinput></screen>
|
---|
152 | -->
|
---|
153 |
|
---|
154 | <para>
|
---|
155 | Install <application>Inkscape</application> by running the following
|
---|
156 | commands:
|
---|
157 | </para>
|
---|
158 |
|
---|
159 | <screen><userinput>patch -Np1 -i ../inkscape-&inkscape-version;-testfiles-1.patch &&
|
---|
160 |
|
---|
161 | sed -e 's/ScopedPtr<char>/make_unique_ptr_gfree/' \
|
---|
162 | -i src/ui/clipboard.cpp &&
|
---|
163 |
|
---|
164 | CXXFLAGS="-g -O2 -std=c++11" \
|
---|
165 | IMAGEMAGICK_CFLAGS=-I/usr/include/ImageMagick-6 \
|
---|
166 | IMAGEMAGICK_LIBS="-lMagickCore-6.Q16HDRI -lMagick++-6.Q16HDRI -lMagickWand-6.Q16HDRI" \
|
---|
167 | ./configure --prefix=/usr &&
|
---|
168 |
|
---|
169 | make</userinput></screen>
|
---|
170 |
|
---|
171 | <para>
|
---|
172 | To test the results, issue: <command>make check</command>.
|
---|
173 | </para>
|
---|
174 | <para>
|
---|
175 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
176 | </para>
|
---|
177 |
|
---|
178 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
179 |
|
---|
180 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
181 | href="../../xincludes/update-icons-and-desktop.xml"/>
|
---|
182 |
|
---|
183 | </sect2>
|
---|
184 |
|
---|
185 | <sect2 role="commands">
|
---|
186 | <title>Command Explanations</title>
|
---|
187 |
|
---|
188 | <para>
|
---|
189 | <command>sed ... </command>: This <command>sed</command> fixes a
|
---|
190 | build problem identified upstream.
|
---|
191 | </para>
|
---|
192 |
|
---|
193 | <para>
|
---|
194 | <command>IMAGE_MAGICK_CFLAGS= ... IMAGE_MAGICK_LIBS= ...</command>:
|
---|
195 | The configure script looks for ImageMagick-6 using the normal
|
---|
196 | unversioned pkgconfig file names which are also used by the newer
|
---|
197 | ImageMAgick-7 - in BLFS we patched it to rename those files, so
|
---|
198 | these variables will allow <command>configure</command> to find
|
---|
199 | the things it needs.
|
---|
200 | </para>
|
---|
201 |
|
---|
202 | <para>
|
---|
203 | <command>CXXFLAGS="-g -O2 -std=c++11" </command>: Inkscape
|
---|
204 | has not yet been ported to the 2011 ISO C++ standard, one of its
|
---|
205 | dependencies is compiled with this standard.
|
---|
206 | <command>-std=c++11</command> has
|
---|
207 | to be used as an option to <command>g++</command>. We pass it into
|
---|
208 | <envar>CXXFLAGS</envar> together with the default options.
|
---|
209 | </para>
|
---|
210 |
|
---|
211 | </sect2>
|
---|
212 |
|
---|
213 | <sect2 role="content">
|
---|
214 | <title>Contents</title>
|
---|
215 |
|
---|
216 | <segmentedlist>
|
---|
217 | <segtitle>Installed Programs</segtitle>
|
---|
218 | <segtitle>Installed Libraries</segtitle>
|
---|
219 | <segtitle>Installed Directory</segtitle>
|
---|
220 |
|
---|
221 | <seglistitem>
|
---|
222 | <seg>
|
---|
223 | inkscape and inkview
|
---|
224 | </seg>
|
---|
225 | <seg>
|
---|
226 | None
|
---|
227 | </seg>
|
---|
228 | <seg>
|
---|
229 | /usr/share/inkscape
|
---|
230 | </seg>
|
---|
231 | </seglistitem>
|
---|
232 | </segmentedlist>
|
---|
233 |
|
---|
234 | <variablelist>
|
---|
235 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
236 | <?dbfo list-presentation="list"?>
|
---|
237 | <?dbhtml list-presentation="table"?>
|
---|
238 |
|
---|
239 | <varlistentry id="inkscape-prog">
|
---|
240 | <term><command>inkscape</command></term>
|
---|
241 | <listitem>
|
---|
242 | <para>
|
---|
243 | an SVG (Scalable Vector Graphics) editing program.
|
---|
244 | </para>
|
---|
245 | <indexterm zone="inkscape inkscape-prog">
|
---|
246 | <primary sortas="b-inkscape">inkscape</primary>
|
---|
247 | </indexterm>
|
---|
248 | </listitem>
|
---|
249 | </varlistentry>
|
---|
250 |
|
---|
251 | <varlistentry id="inkview">
|
---|
252 | <term><command>inkview</command></term>
|
---|
253 | <listitem>
|
---|
254 | <para>
|
---|
255 | is a simple program for displaying SVG files.
|
---|
256 | </para>
|
---|
257 | <indexterm zone="inkscape inkview">
|
---|
258 | <primary sortas="b-inkview">inkview</primary>
|
---|
259 | </indexterm>
|
---|
260 | </listitem>
|
---|
261 | </varlistentry>
|
---|
262 |
|
---|
263 | </variablelist>
|
---|
264 |
|
---|
265 | </sect2>
|
---|
266 |
|
---|
267 | </sect1>
|
---|