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.3 platform.
Download (HTTP): https://download.gnome.org/sources/gtksourceview/5.6/gtksourceview-5.6.2.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/gtksourceview/5.6/gtksourceview-5.6.2.tar.xz
Download MD5 sum: 7ed8742eae6c1932b478014f891a2b97
Download size: 1.2 MB
Estimated disk space required: 46 MB
Estimated build time: 0.2 SBU (with tests; both using parallelism=4)
GTK-4.8.3 and pcre2-10.42
gobject-introspection-1.74.0 and libxml2-2.10.3
GTK-Doc-1.33.2, sysprof-3.46.0, Vala-0.56.4, and Valgrind-3.20.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.46.0 installed and wish to build
with sysprof profiler support.