2012-03-31 20:45:19 +08:00
|
|
|
<?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;
|
2017-08-14 10:06:29 +08:00
|
|
|
<!ENTITY inkscape-download-http "https://media.inkscape.org/dl/resources/file/inkscape-&inkscape-version;.tar.bz2">
|
2012-03-31 20:45:19 +08:00
|
|
|
<!ENTITY inkscape-download-ftp " ">
|
2019-01-19 04:36:19 +08:00
|
|
|
<!ENTITY inkscape-md5sum "ac30f6d5747fd9c620c00dad500f414f">
|
|
|
|
<!ENTITY inkscape-size "30 MB">
|
2019-06-28 20:03:13 +08:00
|
|
|
<!ENTITY inkscape-buildsize "534 MB (134 MB installed, add 8 MB for tests)">
|
|
|
|
<!ENTITY inkscape-time "4.8 SBU (add 0.2 SBU for tests, both with parallelism=4)">
|
2012-03-31 20:45:19 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<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">
|
2012-08-01 20:04:22 +08:00
|
|
|
<primary sortas="a-Inkscape">Inkscape</primary>
|
2012-03-31 20:45:19 +08:00
|
|
|
</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>
|
|
|
|
|
2019-08-21 02:51:59 +08:00
|
|
|
&lfs90_checked;
|
2012-03-31 20:45:19 +08:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2017-08-14 10:06:29 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Required patch: <ulink url="&patch-root;/inkscape-&inkscape-version;-use_versioned_ImageMagick6-1.patch"/></para>
|
|
|
|
</listitem>
|
2019-06-28 20:03:13 +08:00
|
|
|
<listitem>
|
|
|
|
<para>Required patch: <ulink url="&patch-root;/inkscape-&inkscape-version;-upstream_fixes-1.patch"/></para>
|
|
|
|
</listitem>
|
2017-08-14 10:06:29 +08:00
|
|
|
</itemizedlist>
|
|
|
|
|
2012-03-31 20:45:19 +08:00
|
|
|
<bridgehead renderas="sect3">Inkscape Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
|
|
|
<xref linkend="boost"/>,
|
2012-08-01 20:04:22 +08:00
|
|
|
<xref linkend="gc"/>,
|
2014-07-27 10:17:12 +08:00
|
|
|
<xref linkend="gsl"/>,
|
2015-02-08 10:34:44 +08:00
|
|
|
<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),
|
2017-08-14 10:06:29 +08:00
|
|
|
<xref linkend="libxslt"/>,
|
2017-08-27 02:15:05 +08:00
|
|
|
<xref linkend="poppler"/>,
|
2017-08-14 10:06:29 +08:00
|
|
|
<xref linkend="popt"/> and
|
|
|
|
<xref linkend="wget"/> (to download the test dependencies)
|
2012-08-01 20:04:22 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
2017-01-10 03:49:42 +08:00
|
|
|
<xref linkend="imagemagick6"/>,
|
2015-02-08 10:34:44 +08:00
|
|
|
<xref linkend="lcms2"/> or
|
2017-08-14 10:06:29 +08:00
|
|
|
<xref linkend="lcms"/>,
|
2019-08-21 02:51:59 +08:00
|
|
|
<xref linkend="libcanberra"/> (to eliminate plugin warnings),
|
2017-08-14 10:06:29 +08:00
|
|
|
<xref linkend="potrace"/> (for the bucket-fill tool),
|
2017-09-15 23:37:56 +08:00
|
|
|
<xref role="runtime" linkend="lxml"/> and
|
|
|
|
<xref role="runtime" linkend="scour"/> (both at runtime, for Save As
|
|
|
|
Optimized SVG).
|
2012-03-31 20:45:19 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
2012-08-01 20:04:22 +08:00
|
|
|
<xref linkend="aspell"/>,
|
2017-08-14 10:06:29 +08:00
|
|
|
<xref linkend="dbus"/> (to run inkscape from scripts),
|
2012-08-01 20:04:22 +08:00
|
|
|
<xref linkend="doxygen"/>,
|
2015-02-08 18:30:45 +08:00
|
|
|
|
|
|
|
<!-- 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 / -->
|
2016-08-25 09:13:01 +08:00
|
|
|
<!--<ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
|
|
|
|
<ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,-->
|
2015-02-08 10:34:44 +08:00
|
|
|
<ulink url="https://github.com/LibreOffice/libcdr">libcdr</ulink>,
|
|
|
|
<ulink url="https://github.com/LibreOffice/libvisio">libvisio</ulink>,
|
2017-08-14 10:06:29 +08:00
|
|
|
<ulink url="http://libwpg.sourceforge.net/">libwpg</ulink> (or
|
|
|
|
<ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>) and
|
2017-09-16 16:20:54 +08:00
|
|
|
<ulink role="runtime"
|
|
|
|
url="https://sourceforge.net/projects/NumPy/files/">NumPy</ulink>
|
2017-08-14 10:06:29 +08:00
|
|
|
(at runtime for some extensions)
|
2012-03-31 20:45:19 +08:00
|
|
|
</para>
|
|
|
|
|
2013-02-11 02:12:25 +08:00
|
|
|
<bridgehead renderas="sect4">Optional Runtime Dependencies
|
|
|
|
(for some of the Inkscape extensions)</bridgehead>
|
|
|
|
<para role="optional">
|
2017-09-16 16:20:54 +08:00
|
|
|
<ulink role="runtime"
|
2018-08-15 08:28:41 +08:00
|
|
|
url="https://metacpan.org/pod/release/TJMATHER/XML-XQL-0.68/lib/XML/XQL.pm">XML::XQL</ulink>
|
2013-02-11 02:12:25 +08:00
|
|
|
</para>
|
|
|
|
|
2012-03-31 20:45:19 +08:00
|
|
|
<para condition="html" role="usernotes">
|
|
|
|
User Notes: <ulink url="&blfs-wiki;/inkscape"/>
|
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Inkscape</title>
|
2019-05-04 22:15:12 +08:00
|
|
|
|
|
|
|
<para>
|
|
|
|
First, fix a problem introduced by Poppler-0.76.1.
|
|
|
|
</para>
|
|
|
|
|
2019-05-09 09:44:31 +08:00
|
|
|
<screen><userinput remap="pre">sed -e 's|new Lexer(xref, obj)|obj|g' -i src/extension/internal/pdfinput/pdf-parser.cpp</userinput></screen>
|
2019-05-04 22:15:12 +08:00
|
|
|
|
2017-07-01 07:50:18 +08:00
|
|
|
<para>
|
2019-01-19 04:36:19 +08:00
|
|
|
Ensure that the libraries from <xref linkend="imagemagick6"/> can be used:
|
2017-07-01 07:50:18 +08:00
|
|
|
</para>
|
|
|
|
|
2019-01-19 04:36:19 +08:00
|
|
|
<screen><userinput>patch -Np1 -i ../inkscape-&inkscape-version;-use_versioned_ImageMagick6-1.patch</userinput></screen>
|
2017-07-01 07:50:18 +08:00
|
|
|
|
2019-06-28 20:03:13 +08:00
|
|
|
<para>
|
|
|
|
Apply a patch to prevent out-of-bounds writes in the text and fill-bucket
|
|
|
|
tools:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><userinput>patch -Np1 -i ../inkscape-&inkscape-version;-upstream_fixes-1.patch</userinput></screen>
|
|
|
|
|
2017-09-15 23:37:56 +08:00
|
|
|
<!-- If there is no test suite, then this is not needed.
|
|
|
|
There is none if the command below is not run. -->
|
2017-08-14 10:06:29 +08:00
|
|
|
<para>
|
|
|
|
If you wish to run the testsuite, download the required versions of
|
|
|
|
<application>googletest</application> and
|
|
|
|
<application>googlemock</application> by running:
|
|
|
|
</para>
|
|
|
|
|
2019-08-12 18:23:47 +08:00
|
|
|
<screen remap="test"><userinput>bash download-gtest.sh</userinput></screen>
|
2017-08-14 10:06:29 +08:00
|
|
|
|
2012-03-31 20:45:19 +08:00
|
|
|
<para>
|
|
|
|
Install <application>Inkscape</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
|
|
|
|
2017-08-27 02:15:05 +08:00
|
|
|
<screen><userinput>mkdir build &&
|
2017-09-11 04:20:18 +08:00
|
|
|
cd build &&
|
2017-01-16 10:39:15 +08:00
|
|
|
|
2017-08-14 10:06:29 +08:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
.. &&
|
2014-02-24 07:41:45 +08:00
|
|
|
make</userinput></screen>
|
2012-03-31 20:45:19 +08:00
|
|
|
|
|
|
|
<para>
|
2017-09-15 23:37:56 +08:00
|
|
|
To test the results, issue: <command>make check</command>.<!-- Ken or
|
|
|
|
other devs, there is no test suite in this package. -renodr
|
|
|
|
A small test suite is built if you download the necessary programs
|
|
|
|
with the command above (bash download-gtest.sh) -pierre
|
|
|
|
This package does not come with a test suite. -->
|
2012-03-31 20:45:19 +08:00
|
|
|
</para>
|
2017-08-27 02:15:05 +08:00
|
|
|
|
2012-03-31 20:45:19 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
2017-08-14 10:06:29 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
|
|
|
rm -v /usr/lib/inkscape/lib*_LIB.a</userinput></screen>
|
2012-03-31 20:45:19 +08:00
|
|
|
|
2013-02-11 02:12:25 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/update-icons-and-desktop.xml"/>
|
2013-04-04 04:21:38 +08:00
|
|
|
|
|
|
|
</sect2>
|
2014-12-22 02:45:33 +08:00
|
|
|
|
2013-04-04 04:21:38 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
Update to libsic++-2.6.1, poppler-0.36.0, gtk+-3.18.1, glimm-2.46.1,
gobject-introspection-1.46.0, at-spi2-atk-2.18.0, at-spi2-core-2.18.0,
atk-2.18.0, atkmm-2.24.1, cairomm-1.12.0, gdk-pixbuf-2.32.1, gtkmm-3.18.0,
pango-1.38.0, pangomm-2.38.1, glib-2.46? and fix intructions for gtkmm2,
gparted, and inkscape. A big thank to Armin for help with all that.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16515 af4574ff-66df-0310-9fd7-8a98e5e911e0
2015-10-09 03:09:42 +08:00
|
|
|
<para>
|
2017-08-14 10:06:29 +08:00
|
|
|
<parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
|
|
|
|
build the release library without any debug `assert` in the code.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<parameter>rm -v /usr/lib/inkscape/lib*_LIB.a</parameter>: The conversion
|
|
|
|
of the package to use <command>cmake</command> has led to these libraries
|
|
|
|
getting installed, but they are not usable (there are no header files to
|
|
|
|
let a program know what they contain). So remove them.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<option>-DWITH_DBUS=ON</option>: use this if you wish to use
|
|
|
|
<command>inkscape</command> in interactive scripts which manipulate
|
|
|
|
images.
|
2017-01-09 12:46:11 +08:00
|
|
|
</para>
|
|
|
|
|
2014-12-22 02:45:33 +08:00
|
|
|
</sect2>
|
2012-03-31 20:45:19 +08:00
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
2017-08-14 10:06:29 +08:00
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
2012-03-31 20:45:19 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
2012-08-01 20:04:22 +08:00
|
|
|
<seg>
|
|
|
|
inkscape and inkview
|
|
|
|
</seg>
|
2013-01-26 00:32:25 +08:00
|
|
|
<seg>
|
2017-08-14 10:06:29 +08:00
|
|
|
libinkscape_base.so
|
2013-01-26 00:32:25 +08:00
|
|
|
</seg>
|
2012-08-01 20:04:22 +08:00
|
|
|
<seg>
|
2017-08-14 10:06:29 +08:00
|
|
|
/usr/lib/inkscape and /usr/share/inkscape
|
2012-08-01 20:04:22 +08:00
|
|
|
</seg>
|
2012-03-31 20:45:19 +08:00
|
|
|
</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>
|
2012-08-01 20:04:22 +08:00
|
|
|
|
2017-08-14 10:06:29 +08:00
|
|
|
<varlistentry id="libinkscape_base">
|
|
|
|
<term><filename class="libraryfile">libinkscape_base.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
provides the routines used by inkscape and inkview.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="inkscape libinkscape_base">
|
|
|
|
<primary sortas="c-libinkscape_base">libinkscape_base.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2012-03-31 20:45:19 +08:00
|
|
|
</variablelist>
|
2012-08-01 20:04:22 +08:00
|
|
|
|
2012-03-31 20:45:19 +08:00
|
|
|
</sect2>
|
2012-08-01 20:04:22 +08:00
|
|
|
|
2012-03-31 20:45:19 +08:00
|
|
|
</sect1>
|