Introduction to GtkSourceView

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.0 platform.

Package Information

GtkSourceView Dependencies


GTK-4.4.0 and pcre2-10.37



GTK-Doc-1.33.2, sysprof-3.40.1, Vala-0.52.5, and Valgrind-3.17.0

User Notes:

Installation of GtkSourceView

Install GtkSourceView by running the following commands:

mkdir build &&
cd    build &&

meson --prefix=/usr --buildtype=release .. &&

To test the results, issue: ninja test.

Now, as the root user:

ninja install

Command Explanations

-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.40.1 installed and wish to build with sysprof profiler support.


Installed Programs: None
Installed Libraries:
Installed Directories: /usr/include/gtksourceview-5 and /usr/share/gtksourceview-5

Short Descriptions

contains function extensions for the GtkTextView widget

Last updated on