source: xsoft/other/inkscape.xml@ 37bea21

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 37bea21 was 37bea21, checked in by Andrew Benton <andy@…>, 12 years ago

Added Gsl 1.15

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

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