The GtkSourceView package contains a library 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/5.4/gtksourceview-5.4.2.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/gtksourceview/5.4/gtksourceview-5.4.2.tar.xz
Download MD5 sum: f0cba1f8f0552cb98f0b247bea3b1651
Download size: 1.2 MB
Estimated disk space required: 37 MB
Estimated build time: 0.2 SBU (with tests; both using parallelism=4)
GTK-4.6.7 and pcre2-10.40
gobject-introspection-1.72.0 and libxml2-2.10.0
GTK-Doc-1.33.2, sysprof-3.44.0, Vala-0.56.2, and Valgrind-3.19.0
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/gtksourceview5
Install GtkSourceView by running the following commands:
mkdir build && cd build && meson --prefix=/usr --buildtype=release .. && ninja
To test the results, issue: ninja test.
Now, as the root
user:
ninja install
-Dgtk_doc=true
: Use this switch if you
have GTK-Doc-1.33.2 installed and wish to generate
the API documentation.
-Dsysprof=true
: Use this switch if you
have sysprof-3.44.0 installed and wish to build
with sysprof profiler support.