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.
Download (HTTP): https://launchpad.net/inkscape/0.91.x/0.91/+download/inkscape-0.91.tar.bz2
Download MD5 sum: 278dfa4514adcde23546370ec2c84581
Download size: 25 MB
Estimated disk space required: 1.9 GB
Estimated build time: 16 SBU
Optional patch: http://www.linuxfromscratch.org/patches/blfs/7.10/inkscape-0.91-testfiles-1.patch for full test coverage.
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
Little CMS-2.8 or Little CMS-1.19
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)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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
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
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.
Last updated on 2016-09-02 13:26:42 -0700