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 12.4 platform.
Download (HTTP): https://download.gnome.org/sources/gtksourceview/5.16/gtksourceview-5.16.0.tar.xz
Download MD5 sum: e86f3d4b9be241e81625b1f8d9aa3ff4
Download size: 1.2 MB
Estimated disk space required: 161 MB
Estimated build time: 0.1 SBU (with tests; both using parallelism=4)
GLib-2.84.4 (with GObject Introspection) and libxml2-2.14.5
Gi-DocGen-2025.4, Vala-0.56.18, Valgrind-3.25.1, Vulkan-Loader-1.4.321, and sysprof
Install GtkSourceView by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr --buildtype=release .. && ninja
To test the results, issue: ninja test.
          Now, as the root user:
        
ninja install
          -D documentation=true: Use this switch
          if you have Gi-DocGen-2025.4 installed and wish to
          generate the API documentation.
        
          -D sysprof=true: Use this switch if you
          have sysprof installed and
          wish to build with sysprof profiler support.