source: xsoft/other/inkscape.xml@ 80cfbfb

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 80cfbfb was 80cfbfb, checked in by Ken Moffat <ken@…>, 7 years ago

Move back to ImageMagick-7, with added ImageMagick-6 libs also installable for emacs and inkscape.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18159 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 8.4 KB
Line 
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"/>,
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="poppler"/>,
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
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>,
123 <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink>,
124 <ulink url="https://sourceforge.net/projects/NumPy/files/">NumPy</ulink>
125 (for the testsuite and at runtime for some extensions) and
126 <phrase revision="sysv"><ulink url="http://cheeseshop.python.org/pypi/lxml/">python-lxml</ulink></phrase>
127 <phrase revision="systemd"><xref linkend="lxml"/></phrase>
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 &amp;&amp;
159
160sed -e 's/ScopedPtr&lt;char&gt;/make_unique_ptr_gfree/' \
161 -i src/ui/clipboard.cpp &amp;&amp;
162
163CXXFLAGS="-g -O2 -std=c++11" \
164IMAGEMAGICK_CFLAGS=-I/usr/include/ImageMagick-6 \
165IMAGEMAGICK_LIBS="-lMagickCore-6.Q16HDRI -lMagick++-6.Q16HDRI -lMagickWand-6.Q16HDRI" \
166./configure --prefix=/usr &amp;&amp;
167
168make</userinput></screen>
169
170 <para>
171 To test the results, issue: <command>make check</command>.
172 </para>
173 <para>
174 Now, as the <systemitem class="username">root</systemitem> user:
175 </para>
176
177<screen role="root"><userinput>make install</userinput></screen>
178
179 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
180 href="../../xincludes/update-icons-and-desktop.xml"/>
181
182 </sect2>
183
184 <sect2 role="commands">
185 <title>Command Explanations</title>
186
187 <para>
188 <command>sed ... </command>: This <command>sed</command> fixes a
189 build problem identified upstream.
190 </para>
191
192 <para>
193 <command>IMAGE_MAGICK_CFLAGS= ... IMAGE_MAGICK_LIBS= ...</command>:
194 The configure script looks for ImageMagick-6 using the normal
195 unversioned pkgconfig file names which are also used by the newer
196 ImageMAgick-7 - in BLFS we patched it to rename those files, so
197 these variables will allow <command>configure</command> to find
198 the things it needs.
199 </para>
200
201 <para>
202 <command>CXXFLAGS="-g -O2 -std=c++11" </command>: Inkscape
203 has not yet been ported to the 2011 ISO C++ standard, one of its
204 dependencies is compiled with this standard.
205 <command>-std=c++11</command> has
206 to be used as an option to <command>g++</command>. We pass it into
207 <envar>CXXFLAGS</envar> together with the default options.
208 </para>
209
210 </sect2>
211
212 <sect2 role="content">
213 <title>Contents</title>
214
215 <segmentedlist>
216 <segtitle>Installed Programs</segtitle>
217 <segtitle>Installed Libraries</segtitle>
218 <segtitle>Installed Directory</segtitle>
219
220 <seglistitem>
221 <seg>
222 inkscape and inkview
223 </seg>
224 <seg>
225 None
226 </seg>
227 <seg>
228 /usr/share/inkscape
229 </seg>
230 </seglistitem>
231 </segmentedlist>
232
233 <variablelist>
234 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
235 <?dbfo list-presentation="list"?>
236 <?dbhtml list-presentation="table"?>
237
238 <varlistentry id="inkscape-prog">
239 <term><command>inkscape</command></term>
240 <listitem>
241 <para>
242 an SVG (Scalable Vector Graphics) editing program.
243 </para>
244 <indexterm zone="inkscape inkscape-prog">
245 <primary sortas="b-inkscape">inkscape</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249
250 <varlistentry id="inkview">
251 <term><command>inkview</command></term>
252 <listitem>
253 <para>
254 is a simple program for displaying SVG files.
255 </para>
256 <indexterm zone="inkscape inkview">
257 <primary sortas="b-inkview">inkview</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
262 </variablelist>
263
264 </sect2>
265
266</sect1>
Note: See TracBrowser for help on using the repository browser.