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