gtksourceview5-5.4.2

Introduction to GtkSourceView

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

[Note]

Note

Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.

Package Information

GtkSourceView Dependencies

Required

GTK-4.8.2 and pcre2-10.40

Recommended

Optional

GTK-Doc-1.33.2, sysprof-3.44.0, Vala-0.56.3, and Valgrind-3.20.0

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/gtksourceview5

Installation of GtkSourceView

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

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.44.0 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