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 12.2 platform.
Download (HTTP): https://inkscape.org/gallery/item/44615/inkscape-1.3.2.tar.xz
Download MD5 sum: 76ed1f4b13065e80de8b2d77b6427b83
Download size: 43 MB
Estimated disk space required: 817 MB (189 MB installed)
Estimated build time: 4.6 SBU (with parallelism=8)
The tarball inkscape-1.3.2.tar.xz
will extract to the directory inkscape-1.3.2_2023-11-25_091e20ef0f/
.
Boost-1.86.0, double-conversion-3.3.0, GC-8.2.6, gsl-2.8, Gtkmm-3.24.9, libsoup-2.74.3, libxslt-1.1.42, Poppler-24.08.0, and popt-1.19
ImageMagick-7.1.1-36 (runtime), Little CMS-2.16, libcanberra-0.30 (to eliminate plugin warnings), Potrace-1.16 (for the bucket-fill tool), also various Python modules at runtime for the core extensions: CacheControl-0.14.0, cssselect-1.2.0, lxml-5.3.0, NumPy-2.1.0, pySerial-3.5, and Scour-0.38.2
Aspell-0.60.8.1, dbus-1.14.10 (to run inkscape from scripts), Doxygen-1.12.0, gspell-1.12.2, GraphicsMagick, libcdr, libvisio, libwpg (or libwpd)
First, fix Inkscape to build with poppler-24.05.0:
patch -Np1 -i ../inkscape-1.3.2-upstream_fixes-2.patch
Next, fix a build failure caused by libxml2-2.12.0:
sed -i '/uri.h/a #include <libxml/xmlmemory.h>' src/object/uri.h
Install Inkscape by running the following commands:
mkdir build && cd build && cmake -D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_BUILD_TYPE=Release \ .. && make
This package may occasionally fail when building with multiple processors. See Using Multiple Processors for more information.
This package does not come with a working test suite.
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+-3.24.43 installed
(for the icon cache) and desktop-file-utils-0.27 (for the
desktop cache) and issue the following commands as the
root
user:
gtk-update-icon-cache -qtf /usr/share/icons/hicolor && update-desktop-database -q
-D
CMAKE_BUILD_TYPE=Release
: This switch is used to build
the release library without any debug `assert` in the code.
-D WITH_DBUS=ON
: use this if you wish
to use inkscape in
interactive scripts which manipulate images.