glfs/xsoft/other/inkscape.xml
Ken Moffat 952094577c a few tags
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17026 af4574ff-66df-0310-9fd7-8a98e5e911e0
2016-02-27 16:37:24 +00:00

251 lines
7.7 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;
<!-- inkscape.org appears to point to launchpad, sf is out of date -->
<!ENTITY inkscape-download-http "https://launchpad.net/inkscape/0.91.x/0.91/+download/inkscape-&inkscape-version;.tar.bz2">
<!ENTITY inkscape-download-ftp " ">
<!ENTITY inkscape-md5sum "278dfa4514adcde23546370ec2c84581">
<!ENTITY inkscape-size "25 MB">
<!ENTITY inkscape-buildsize "1.9 GB">
<!ENTITY inkscape-time "16 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>
&lfs79_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>
Optional patch:
<ulink url="&patch-root;/inkscape-&inkscape-version;-testfiles-1.patch"/>
for full test coverage.
</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"/>
(or <xref linkend="gtkmm3"/> and
<ulink url="http://ftp.gnome.org/pub/gnome/sources/gdl/">gnome docking library</ulink>
for the experimental gtk+-3 build),
<xref linkend="libxslt"/> and
<xref linkend="popt"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="lcms2"/> or
<xref linkend="lcms"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="aspell"/>,
<xref linkend="dbus"/>,
<xref linkend="doxygen"/>,
<xref linkend="imagemagick"/>,
<xref linkend="poppler"/>,
<!-- these document foundation links work from firefox's address bar, or
from google (pages telling you how to get it from git), but when I link
them here I get "There is currently no text in this page...". Ken or
developer: wiki.documentfoundation.org pages don't like trailing / -->
<ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
<ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,
<ulink url="https://github.com/LibreOffice/libcdr">libcdr</ulink>,
<ulink url="https://github.com/LibreOffice/libvisio">libvisio</ulink>,
<ulink url="http://libwpg.sourceforge.net/">libwpg</ulink>,
<ulink url="https://sourceforge.net/projects/NumPy/files/">NumPy</ulink>
(for the testsuite and at runtime for some extensions) and
<ulink url="http://cheeseshop.python.org/pypi/lxml/">python-lxml</ulink>
(for the testsuite, and at runtime for some of the extensions)
</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>
</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;-testfiles-1.patch &amp;&amp;
CXXFLAGS="-g -O2 -std=c++11" ./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<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>CXXFLAGS="-g -O2 -std=c++11" ./configure...</command>: Inkscape
has not yet been ported to the 2011 ISO C++ standard, one of its
dependencies is compiled with this standard.
<command>-std=c++11</command> has
to be used as an option to <command>g++</command>. We pass it into
<envar>CXXFLAGS</envar> together with the default options.
</para>
<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>