The GtkSourceView package contains a library used for extending the GTK text functions to include syntax highlighting.
![[Note]](../images/note.png) 
          Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://download.gnome.org/sources/gtksourceview/5.18/gtksourceview-5.18.0.tar.xz
Download MD5 sum: 8f670fd0680ec6647c7bef4d13e6e031
Download size: 1.2 MB
Estimated disk space required: 155 MB
Estimated build time: 0.2 SBU (with tests; both using parallelism=4)
GLib-2.86.1 (with GObject Introspection) and libxml2-2.15.1
Gi-DocGen-2025.5, Vala-0.56.18, Valgrind-3.26.0, Vulkan-Loader-1.4.328.1, 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.5 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.