gtksourceview4-4.8.1

Introduction to GtkSourceView

The GtkSourceView package contains libraries 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

Additional Downloads

GtkSourceView Dependencies

Required

GTK+-3.24.30

Recommended

Optional

Vala-0.52.5, Valgrind-3.17.0, GTK-Doc-1.33.2, itstool-2.0.6, fop-2.6 (or dblatex), and Glade

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

Installation of GtkSourceView

First, apply a patch to prevent a race condition:

patch -Np1 -i ../gtksourceview4-4.8.1-buildfix-1.patch

Install GtkSourceView by running the following commands:

mkdir build &&
cd    build &&

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

To test the results, issue ninja test. The tests need to be run in a graphical environment.

Now, as the root user:

ninja install

Command Explanations

-Dgtk_doc=true: This option is normally used if GTK-Doc is installed and you wish to rebuild and install the API documentation.

Contents

Installed Programs: None
Installed Library: libgtksourceview-4.so
Installed Directories: /usr/{include,share,share/gtk-doc/html}/gtksourceview-4

Short Descriptions

libgtksourceview-4.so

contains function extensions for the GtkTextView widget

Last updated on