source: xsoft/other/inkscape.xml@ 9d66e9a2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9d66e9a2 was d6c6562, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Remove gcc7 entity

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

  • Property mode set to 100644
File size: 8.9 KB
RevLine 
[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;
[7d35ee59]6 <!ENTITY inkscape-download-http "https://media.inkscape.org/dl/resources/file/inkscape-&inkscape-version;.tar.bz2">
[9945e31]7 <!ENTITY inkscape-download-ftp " ">
[7d35ee59]8 <!ENTITY inkscape-md5sum "6f6bcbd0237ecd064460315465467b04">
[83d18450]9 <!ENTITY inkscape-size "30 MB">
[7d35ee59]10 <!ENTITY inkscape-buildsize "526 MB (add 8 MB for tests)">
11 <!ENTITY inkscape-time "4.9 SBU (add 0.2 SBU for tests, both with parallelism=4)">
[9945e31]12]>
13
14<sect1 id="inkscape" xreflabel="Inkscape-&inkscape-version;">
15 <?dbhtml filename="inkscape.html"?>
16
17 <sect1info>
18 <othername>$LastChangedBy$</othername>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>Inkscape-&inkscape-version;</title>
23
24 <indexterm zone="inkscape">
[bc6e56d]25 <primary sortas="a-Inkscape">Inkscape</primary>
[9945e31]26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to Inkscape</title>
30
31 <para>
32 <application>Inkscape</application> is a what you see is what you get
33 Scalable Vector Graphics editor. It is useful for creating, viewing and
34 changing SVG images.
35 </para>
36
[75c3086]37 &lfs80_checked;
[9945e31]38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&inkscape-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&inkscape-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &inkscape-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &inkscape-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &inkscape-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &inkscape-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
[7d35ee59]73 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing="compact">
75 <listitem>
76 <para>Required patch: <ulink url="&patch-root;/inkscape-&inkscape-version;-use_versioned_ImageMagick6-1.patch"/></para>
77 </listitem>
78 </itemizedlist>
79
[9945e31]80 <bridgehead renderas="sect3">Inkscape Dependencies</bridgehead>
81
82 <bridgehead renderas="sect4">Required</bridgehead>
83 <para role="required">
84 <xref linkend="boost"/>,
[bc6e56d]85 <xref linkend="gc"/>,
[81e3aeaa]86 <xref linkend="gsl"/>,
[8e5b57e]87 <xref linkend="gtkmm2"/>
88 (or <xref linkend="gtkmm3"/> and
89 <ulink url="http://ftp.gnome.org/pub/gnome/sources/gdl/">gnome docking library</ulink>
90 for the experimental gtk+-3 build),
[7d35ee59]91 <xref linkend="libxslt"/>,
92 <xref linkend="popt"/> and
93 <xref linkend="wget"/> (to download the test dependencies)
[bc6e56d]94 </para>
95
96 <bridgehead renderas="sect4">Recommended</bridgehead>
97 <para role="recommended">
[d113301]98 <xref linkend="imagemagick6"/>,
[8e5b57e]99 <xref linkend="lcms2"/> or
[7d35ee59]100 <xref linkend="lcms"/>,
101 <xref linkend="potrace"/> (for the bucket-fill tool),
102 <xref linkend="lxml"/> and
103 <xref linkend="scour"/> (both at runtime, for Save As Optimized SVG).
[9945e31]104 </para>
105
106 <bridgehead renderas="sect4">Optional</bridgehead>
107 <para role="optional">
[bc6e56d]108 <xref linkend="aspell"/>,
[7d35ee59]109 <xref linkend="dbus"/> (to run inkscape from scripts),
[bc6e56d]110 <xref linkend="doxygen"/>,
[e47938a]111 <xref linkend="poppler"/>,
112
113 <!-- these document foundation links work from firefox's address bar, or
114 from google (pages telling you how to get it from git), but when I link
115 them here I get "There is currently no text in this page...". Ken or
116 developer: wiki.documentfoundation.org pages don't like trailing / -->
[0134954]117 <!--<ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
118 <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,-->
[8e5b57e]119 <ulink url="https://github.com/LibreOffice/libcdr">libcdr</ulink>,
120 <ulink url="https://github.com/LibreOffice/libvisio">libvisio</ulink>,
[7d35ee59]121 <ulink url="http://libwpg.sourceforge.net/">libwpg</ulink> (or
122 <ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>) and
[8e5b57e]123 <ulink url="https://sourceforge.net/projects/NumPy/files/">NumPy</ulink>
[7d35ee59]124 (at runtime for some extensions)
[9945e31]125 </para>
126
[dc6bfb82]127 <bridgehead renderas="sect4">Optional Runtime Dependencies
128 (for some of the Inkscape extensions)</bridgehead>
129 <para role="optional">
130 <ulink url="http://search.cpan.org/~tjmather/XML-XQL-0.68/lib/XML/XQL.pm">XML::XQL</ulink>
131 </para>
132
[9945e31]133 <para condition="html" role="usernotes">
134 User Notes: <ulink url="&blfs-wiki;/inkscape"/>
135 </para>
136 </sect2>
137
138 <sect2 role="installation">
139 <title>Installation of Inkscape</title>
140
[7d35ee59]141 <para>Ensure that the libraries from <xref linkend="imagemagick6"/> can be used:</para>
142
143<screen><userinput>patch -Np1 -i ../inkscape-&inkscape-version;-use_versioned_ImageMagick6-1.patch</userinput></screen>
144
[ac67709]145 <para>
146 Fix a build issue with <application>GCC-7.1</application>:
147 </para>
148
149<screen><userinput>sed -i 's| abs(| std::fabs(|g' src/ui/tools/flood-tool.cpp</userinput></screen>
150
[7d35ee59]151 <para>
152 If you wish to run the testsuite, download the required versions of
153 <application>googletest</application> and
154 <application>googlemock</application> by running:
155 </para>
156
157<screen><userinput>bash download-gtest.sh</userinput></screen>
158
[9945e31]159 <para>
160 Install <application>Inkscape</application> by running the following
161 commands:
162 </para>
163
[7d35ee59]164<screen><userinput>
165mkdir build &amp;&amp;
166cd build &amp;&amp;
[81d8cac]167
[7d35ee59]168cmake -DCMAKE_INSTALL_PREFIX=/usr \
169 -DCMAKE_BUILD_TYPE=Release \
170 .. &amp;&amp;
[80cfbfb]171
[8874b6f]172make</userinput></screen>
[9945e31]173
174 <para>
175 To test the results, issue: <command>make check</command>.
176 </para>
177 <para>
178 Now, as the <systemitem class="username">root</systemitem> user:
179 </para>
180
[7d35ee59]181<screen role="root"><userinput>make install &amp;&amp;
182rm -v /usr/lib/inkscape/lib*_LIB.a</userinput></screen>
[9945e31]183
[dc6bfb82]184 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
185 href="../../xincludes/update-icons-and-desktop.xml"/>
[87dfe6b]186
187 </sect2>
[0f23f29]188
[87dfe6b]189 <sect2 role="commands">
190 <title>Command Explanations</title>
191
[19bcba7d]192 <para>
[7d35ee59]193 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
194 build the release library without any debug `assert` in the code.
195 </para>
196
197 <para>
198 <parameter>rm -v /usr/lib/inkscape/lib*_LIB.a</parameter>: The conversion
199 of the package to use <command>cmake</command> has led to these libraries
200 getting installed, but they are not usable (there are no header files to
201 let a program know what they contain). So remove them.
202 </para>
203
204 <para>
205 <option>-DWITH_DBUS=ON</option>: use this if you wish to use
206 <command>inkscape</command> in interactive scripts which manipulate
207 images.
[80cfbfb]208 </para>
209
[0f23f29]210 </sect2>
[9945e31]211
212 <sect2 role="content">
213 <title>Contents</title>
214
215 <segmentedlist>
216 <segtitle>Installed Programs</segtitle>
[7d35ee59]217 <segtitle>Installed Library</segtitle>
218 <segtitle>Installed Directories</segtitle>
[9945e31]219
220 <seglistitem>
[bc6e56d]221 <seg>
222 inkscape and inkview
223 </seg>
[c3c56b2]224 <seg>
[7d35ee59]225 libinkscape_base.so
[c3c56b2]226 </seg>
[bc6e56d]227 <seg>
[7d35ee59]228 /usr/lib/inkscape and /usr/share/inkscape
[bc6e56d]229 </seg>
[9945e31]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>
[bc6e56d]261
[7d35ee59]262 <varlistentry id="libinkscape_base">
263 <term><filename class="libraryfile">libinkscape_base.so</filename></term>
264 <listitem>
265 <para>
266 provides the routines used by inkscape and inkview.
267 </para>
268 <indexterm zone="inkscape libinkscape_base">
269 <primary sortas="c-libinkscape_base">libinkscape_base.so</primary>
270 </indexterm>
271 </listitem>
272 </varlistentry>
273
[9945e31]274 </variablelist>
[bc6e56d]275
[9945e31]276 </sect2>
[bc6e56d]277
[9945e31]278</sect1>
Note: See TracBrowser for help on using the repository browser.