gtksourceview5-5.18.0

Introduction to GtkSourceView

The GtkSourceView package contains a library used for extending the GTK text functions to include syntax highlighting.

[Note]

Note

This version of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable version of the System V books.

Package Information

GtkSourceView Dependencies

Required

GTK-4.20.3

Recommended

Optional

Gi-DocGen-2026.1, Vala-0.56.18, Valgrind-3.26.0, Vulkan-Loader-1.4.341.0, and sysprof

Installation of GtkSourceView

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

Command Explanations

-D documentation=true: Use this switch if you have Gi-DocGen-2026.1 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.

Contents

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

Short Descriptions

libgtksourceview-5.so

contains function extensions for the GtkTextView widget