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 |
|
---|
7 | <!ENTITY inkscape-download-http "&sourceforge-repo;/inkscape/inkscape-&inkscape-version;.tar.bz2">
|
---|
8 | <!ENTITY inkscape-download-ftp " ">
|
---|
9 | <!ENTITY inkscape-md5sum "f60b98013bd1121b2cc301f3485076ba">
|
---|
10 | <!ENTITY inkscape-size "18.7 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 | &lfs71_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 | Required patch:
|
---|
79 | <ulink url="&patch-root;/inkscape-&inkscape-version;_gcc-4.7-1.patch"/>
|
---|
80 | </para>
|
---|
81 | </listitem>
|
---|
82 | </itemizedlist>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect3">Inkscape Dependencies</bridgehead>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
87 | <para role="required">
|
---|
88 | <xref linkend="gtkmm2"/>,
|
---|
89 | <xref linkend="gc"/>,
|
---|
90 | <xref linkend="gsl"/>,
|
---|
91 | <xref linkend="boost"/>,
|
---|
92 | <xref linkend="libpng"/> and
|
---|
93 | <xref linkend="intltool"/>.
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
97 | <para role="optional">
|
---|
98 | <xref linkend="lcms"/>,
|
---|
99 | <xref linkend="poppler"/>,
|
---|
100 | <xref linkend="gnome-vfs"/>,
|
---|
101 | <xref linkend="imagemagick"/>,
|
---|
102 | <xref linkend="popt"/>,
|
---|
103 | <xref linkend="doxygen"/>,
|
---|
104 | <xref linkend="aspell"/> and
|
---|
105 | <ulink url="http://libwpg.sourceforge.net/">Libwpg</ulink>.
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | <para condition="html" role="usernotes">
|
---|
109 | User Notes: <ulink url="&blfs-wiki;/inkscape"/>
|
---|
110 | </para>
|
---|
111 | </sect2>
|
---|
112 |
|
---|
113 | <sect2 role="installation">
|
---|
114 | <title>Installation of Inkscape</title>
|
---|
115 |
|
---|
116 | <para>
|
---|
117 | Fix a bug that would otherwise prevent compiling with
|
---|
118 | <application>Libpng 1.5</application>:
|
---|
119 | </para>
|
---|
120 |
|
---|
121 | <screen><userinput>sed -i 's/ptr->jmpbuf/jmpbuf(png_ptr)/' \
|
---|
122 | src/{extension/internal/pdfinput/svg-builder,helper/png-write}.cpp</userinput></screen>
|
---|
123 |
|
---|
124 | <para>
|
---|
125 | Fix a bug that would otherwise prevent compiling with
|
---|
126 | <application>Libpng 1.5.7</application> or greater:
|
---|
127 | </para>
|
---|
128 |
|
---|
129 | <screen><userinput>sed -i 's#if ( png_get_iCCP.*#if (0) {#' src/sp-image.cpp</userinput></screen>
|
---|
130 |
|
---|
131 | <para>
|
---|
132 | If you have <emphasis>not</emphasis> installed <xref linkend="lcms"/> fix
|
---|
133 | a bug that will otherwise break the build:
|
---|
134 | </para>
|
---|
135 |
|
---|
136 | <screen><userinput>sed -i '/<io\/sys.h>/d
|
---|
137 | /preferences.h/a#include "io/sys.h"' src/color-profile.cpp</userinput></screen>
|
---|
138 |
|
---|
139 | <para>
|
---|
140 | Fix a bug that would otherwise prevent compiling with
|
---|
141 | <application>Gcc 4.7</application>:
|
---|
142 | </para>
|
---|
143 |
|
---|
144 | <screen><userinput>patch -p1 < ../inkscape-&inkscape-version;_gcc-4.7-1.patch</userinput></screen>
|
---|
145 |
|
---|
146 | <para>
|
---|
147 | Fix many bugs that would otherwise prevent compiling with
|
---|
148 | <application>Glib 3.2</application> or greater:
|
---|
149 | </para>
|
---|
150 |
|
---|
151 | <screen><userinput>for thing in array convert dir error fileutils hash list macros main mem \
|
---|
152 | messages quark slist strfuncs string types urifuncs utils
|
---|
153 | do sed -i "/^#include /s#/g${thing}##" $(grep -rl "include .glib/g${thing}" .)
|
---|
154 | done</userinput></screen>
|
---|
155 |
|
---|
156 | <para>
|
---|
157 | Install <application>Inkscape</application> by running the following
|
---|
158 | commands:
|
---|
159 | </para>
|
---|
160 |
|
---|
161 | <screen><userinput>./configure --prefix=/usr --disable-lcms &&
|
---|
162 | make</userinput></screen>
|
---|
163 |
|
---|
164 | <para>
|
---|
165 | To test the results, issue: <command>make check</command>.
|
---|
166 | </para>
|
---|
167 |
|
---|
168 | <para>
|
---|
169 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
170 | </para>
|
---|
171 |
|
---|
172 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
173 | </sect2>
|
---|
174 |
|
---|
175 | <sect2 role="commands">
|
---|
176 | <title>Command Explanations</title>
|
---|
177 |
|
---|
178 | <para>
|
---|
179 | <option>--disable-lcms</option>: This is required if you've not installed
|
---|
180 | <xref linkend="lcms"/>. If you have installed
|
---|
181 | <application>Lcms</application> remove this option.
|
---|
182 | </para>
|
---|
183 | </sect2>
|
---|
184 |
|
---|
185 | <sect2 role="content">
|
---|
186 | <title>Contents</title>
|
---|
187 |
|
---|
188 | <segmentedlist>
|
---|
189 | <segtitle>Installed Programs</segtitle>
|
---|
190 | <segtitle>Installed Directory</segtitle>
|
---|
191 |
|
---|
192 | <seglistitem>
|
---|
193 | <seg>inkscape and inkview.</seg>
|
---|
194 | <seg>/usr/share/inkscape.</seg>
|
---|
195 | </seglistitem>
|
---|
196 | </segmentedlist>
|
---|
197 |
|
---|
198 | <variablelist>
|
---|
199 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
200 | <?dbfo list-presentation="list"?>
|
---|
201 | <?dbhtml list-presentation="table"?>
|
---|
202 |
|
---|
203 | <varlistentry id="inkscape-prog">
|
---|
204 | <term><command>inkscape</command></term>
|
---|
205 | <listitem>
|
---|
206 | <para>
|
---|
207 | an SVG (Scalable Vector Graphics) editing program.
|
---|
208 | </para>
|
---|
209 | <indexterm zone="inkscape inkscape-prog">
|
---|
210 | <primary sortas="b-inkscape">inkscape</primary>
|
---|
211 | </indexterm>
|
---|
212 | </listitem>
|
---|
213 | </varlistentry>
|
---|
214 |
|
---|
215 | <varlistentry id="inkview">
|
---|
216 | <term><command>inkview</command></term>
|
---|
217 | <listitem>
|
---|
218 | <para>
|
---|
219 | is a simple program for displaying SVG files.
|
---|
220 | </para>
|
---|
221 | <indexterm zone="inkscape inkview">
|
---|
222 | <primary sortas="b-inkview">inkview</primary>
|
---|
223 | </indexterm>
|
---|
224 | </listitem>
|
---|
225 | </varlistentry>
|
---|
226 | </variablelist>
|
---|
227 | </sect2>
|
---|
228 | </sect1>
|
---|