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.9 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.9/inkscape-0.91-testfiles-1.patch for full test coverage.
Boost-1.60.0, GC-7.4.2, Gsl-2.1, Gtkmm-2.24.4 (or Gtkmm-3.18.0 and gnome docking library for the experimental gtk+-3 build), libxslt-1.1.28 and popt-1.16
Little CMS-2.7 or Little CMS-1.19
Aspell-0.60.6.1, D-Bus-1.10.6, Doxygen-1.8.11, ImageMagick-6.9.3-5, Poppler-0.41.0, libcdr, libvisio, 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 && 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.29 or
GTK+-3.18.7 installed (for the icon cache) and
desktop-file-utils-0.22 (for the
desktop cache) and issue the following commands as the
root
user:
gtk-update-icon-cache && update-desktop-database
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.
sed -ri ... configure: This sed fixes building problems starting with gc-7.4.2.
Last updated on 2016-02-27 08:37:24 -0800