Inkscape-0.91

Introduction to Inkscape

Inkscape is a what you see is what you get Scalable Vector Graphics editor. It is useful for creating, viewing and changing SVG images.

This package is known to build and work properly using an LFS-7.10 platform.

Package Information

Additional Downloads

Inkscape Dependencies

Required

Boost-1.61.0, GC-7.6.0, Gsl-2.1, Gtkmm-2.24.4 (or Gtkmm-3.20.1 and gnome docking library for the experimental gtk+-3 build), libxslt-1.1.29 and popt-1.16

Recommended

Optional

Aspell-0.60.6.1, D-Bus-1.10.10, Doxygen-1.8.11, ImageMagick-6.9.5-8, Poppler-0.47.0, libcdr, libvisio, libwpg, NumPy (for the testsuite and at runtime for some extensions) and python-lxml (for the testsuite, and at runtime for some of the extensions)

Optional Runtime Dependencies (for some of the Inkscape extensions)

XML::XQL

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/inkscape

Installation of Inkscape

Install Inkscape by running the following commands:

patch -Np1 -i ../inkscape-0.91-testfiles-1.patch &&

sed -e 's/ScopedPtr<char>/make_unique_ptr_gfree/' \
    -i src/ui/clipboard.cpp  &&

CXXFLAGS="-g -O2 -std=c++11" ./configure --prefix=/usr &&
make

To test the results, issue: make check.

Now, as the root user:

make install
[Note]

Note

This package installs icon files into the /usr/share/icons/hicolor hierarchy and desktop files into the /usr/share/applications hierarchy. You can improve system performance and memory usage by updating /usr/share/icons/hicolor/index.theme and /usr/share/applications/mimeinfo.cache. To perform the update you must have GTK+-2.24.30 or GTK+-3.20.9 installed (for the icon cache) and desktop-file-utils-0.23 (for the desktop cache) and issue the following commands as the root user:

gtk-update-icon-cache &&
update-desktop-database

Command Explanations

sed ... : This sed fixes a build problem identified upstream.

CXXFLAGS="-g -O2 -std=c++11" ./configure...: Inkscape has not yet been ported to the 2011 ISO C++ standard, one of its dependencies is compiled with this standard. -std=c++11 has to be used as an option to g++. We pass it into CXXFLAGS together with the default options.

Contents

Installed Programs: inkscape and inkview
Installed Libraries: None
Installed Directory: /usr/share/inkscape

Short Descriptions

inkscape

an SVG (Scalable Vector Graphics) editing program.

inkview

is a simple program for displaying SVG files.

Last updated on 2016-09-02 13:26:42 -0700