The GtkSourceView package contains libraries used for extending the GTK+ text functions to include syntax highlighting.
This package is known to build and work properly using an LFS-11.2 platform.
Download (HTTP): https://download.gnome.org/sources/gtksourceview/4.8/gtksourceview-4.8.3.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/gtksourceview/4.8/gtksourceview-4.8.3.tar.xz
Download MD5 sum: e30224c016f1a1ebd931fd44911b5bbc
Download size: 1.1 MB
Estimated disk space required: 32 MB (with tests)
Estimated build time: 0.1 SBU (with tests; both using parallelism=4)
gobject-introspection-1.72.0 and libxml2-2.10.0
Vala-0.56.2, Valgrind-3.19.0, GTK-Doc-1.33.2, itstool-2.0.7, fop-2.7 (or dblatex), and Glade
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/gtksourceview4
Install GtkSourceView by running the following commands:
mkdir build && cd build && meson --prefix=/usr --buildtype=release .. && ninja
To test the results, issue ninja test. The tests need to be run in a graphical environment.
Now, as the root
user:
ninja install
-Dgtk_doc=true
: This option is normally
used if GTK-Doc is installed and
you wish to rebuild and install the API documentation.