glfs/xsoft/other/inkscape.xml
Fernando de Oliveira 78b797d8c3 inkscape-0.48.5: use sed by Armin to replace sed by Fernando based on patch by Armin, used to replace patch by Armin.
mplayer-2014-12-19: use semi-colon to separate the 'Optional Miscellaneous Dependencies' and clarify.
Update to ntp-4.2.8.
Update to libvdpau-0.9.
Update to libxklavier-5.4.
Update to libreoffice-4.3.5.2.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15247 af4574ff-66df-0310-9fd7-8a98e5e911e0
2014-12-23 03:37:25 +00:00

228 lines
6.3 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY inkscape-download-http "&sourceforge-repo;/inkscape/inkscape-&inkscape-version;.tar.bz2">
<!ENTITY inkscape-download-ftp " ">
<!ENTITY inkscape-md5sum "431cda5cd40cd4fdf2b89db1bdcce61f">
<!ENTITY inkscape-size "19 MB">
<!ENTITY inkscape-buildsize "1.4 GB">
<!ENTITY inkscape-time "12 SBU">
]>
<sect1 id="inkscape" xreflabel="Inkscape-&inkscape-version;">
<?dbhtml filename="inkscape.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Inkscape-&inkscape-version;</title>
<indexterm zone="inkscape">
<primary sortas="a-Inkscape">Inkscape</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Inkscape</title>
<para>
<application>Inkscape</application> is a what you see is what you get
Scalable Vector Graphics editor. It is useful for creating, viewing and
changing SVG images.
</para>
&lfs76_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&inkscape-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&inkscape-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &inkscape-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &inkscape-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &inkscape-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &inkscape-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Required patch:
<ulink url="&patch-root;/inkscape-&inkscape-version;-poppler-1.patch"/>
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Inkscape Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="boost"/>,
<xref linkend="gc"/>,
<xref linkend="gsl"/>,
<xref linkend="gtkmm2"/> and
<xref linkend="libxslt"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="lcms"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="aspell"/>,
<xref linkend="doxygen"/>,
<xref linkend="imagemagick"/>,
<ulink url="http://libwpg.sourceforge.net/">libwpg</ulink>,
<xref linkend="poppler"/> and
<xref linkend="popt"/>
</para>
<bridgehead renderas="sect4">Optional Runtime Dependencies
(for some of the Inkscape extensions)</bridgehead>
<para role="optional">
<ulink url="http://search.cpan.org/~tjmather/XML-XQL-0.68/lib/XML/XQL.pm">XML::XQL</ulink>
and <ulink url="http://cheeseshop.python.org/pypi/lxml/">python-lxml</ulink>
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/inkscape"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Inkscape</title>
<!--
<para>If <application>Xorg</application> is installed in a prefix other
than <filename class='directory'>/usr</filename>, the build will fail. Fix
this by issuing the following command:</para>
<screen><userinput>export LIBRARY_PATH=$XORG_PREFIX/lib</userinput></screen>
-->
<para>
Install <application>Inkscape</application> by running the following
commands:
</para>
<screen><userinput>patch -Np1 -i ../inkscape-&inkscape-version;-poppler-1.patch &amp;&amp;
autoreconf -vi &amp;&amp;
sed -ri "s:.*(unsigned GC_version).*:\1 = GC_get_version()\;:" configure &amp;&amp;
./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<!-- Test suite is broken as of inkscape-0.48.5
<para>
To test the results, issue: <command>make check</command>.
</para>
-->
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/update-icons-and-desktop.xml"/>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<command>sed -ri ... configure</command>:
This <command>sed</command> fixes building problems starting
with gc-7.4.2.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
inkscape and inkview
</seg>
<seg>
None
</seg>
<seg>
/usr/share/inkscape
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="inkscape-prog">
<term><command>inkscape</command></term>
<listitem>
<para>
an SVG (Scalable Vector Graphics) editing program.
</para>
<indexterm zone="inkscape inkscape-prog">
<primary sortas="b-inkscape">inkscape</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="inkview">
<term><command>inkview</command></term>
<listitem>
<para>
is a simple program for displaying SVG files.
</para>
<indexterm zone="inkscape inkview">
<primary sortas="b-inkview">inkview</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>