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-8.3 platform.
Download (HTTP): https://media.inkscape.org/dl/resources/file/inkscape-0.92.3.tar.bz2
Download MD5 sum: 4ef7171cc1de9e1608d8c49b77fed99e
Download size: 31 MB
Estimated disk space required: 395 MB (add 8 MB for tests)
Estimated build time: 4.9 SBU (add 0.2 SBU for tests, both with parallelism=4)
Boost-1.68.0, GC-7.6.4, Gsl-2.5, Gtkmm-2.24.5 (or Gtkmm-3.22.2 and gnome docking library for the experimental gtk+-3 build), libxslt-1.1.32, Poppler-0.67.0, popt-1.16 and Wget-1.19.5 (to download the test dependencies)
ImageMagick-6.9.10-10 libraries, Little CMS-2.9 or Little CMS-1.19, Potrace-1.15 (for the bucket-fill tool), lxml-4.2.4 and Scour-0.37 (both at runtime, for Save As Optimized SVG).
Aspell-0.60.6.1, dbus-1.12.10 (to run inkscape from scripts), Doxygen-1.8.14, libcdr, libvisio, libwpg (or libwpd) and NumPy (at runtime for some extensions)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/inkscape
Ensure that the libraries from ImageMagick-6.9.10-10 libraries can be
used, and fix the build for the changes in poppler-0.65.0
:
patch -Np1 -i ../inkscape-0.92.3-use_versioned_ImageMagick6-1.patch && patch -Np1 -i ../inkscape-0.92.3-poppler65-1.patch
Fix a build issue with GCC-7.1:
sed -i 's| abs(| std::fabs(|g' src/ui/tools/flood-tool.cpp
If you wish to run the testsuite, download the required versions of googletest and googlemock by running:
bash download-gtest.sh
Install Inkscape by running the following commands:
mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ .. && make
To test the results, issue: make check.
Now, as the root
user:
make install && rm -v /usr/lib/inkscape/lib*_LIB.a
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.32 or
GTK+-3.22.30 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
-DCMAKE_BUILD_TYPE=Release
:
This switch is used to build the release library without any debug
`assert` in the code.
rm -v
/usr/lib/inkscape/lib*_LIB.a
: The conversion of the
package to use cmake
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.
-DWITH_DBUS=ON
: use this if you wish to
use inkscape in
interactive scripts which manipulate images.
Last updated on 2018-08-27 14:18:12 -0700