#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-491

### Chapter 25. Graphical Environment Libraries

- Prev

  gtksourceview-3.24.11

- Next

  gtksourceview5-5.20.0

- Up
- Home

# gtksourceview4-4.8.4

## Introduction to GtkSourceView

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

### Note

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.

### Package Information

- Download (HTTP): https://download.gnome.org/sources/gtksourceview/4.8/gtksourceview-4.8.4.tar.xz

- Download MD5 sum: 2bf056caaae27654ec3a5930dd5597d3

- Download size: 1.1 MB

- Estimated disk space required: 71 MB (with tests)

- Estimated build time: 0.1 SBU (with tests; both using parallelism=4)

### GtkSourceView Dependencies

#### Required

GTK-3.24.52

#### Recommended

GLib-2.88.0 (with GObject Introspection) and libxml2-2.15.3

#### Optional

Vala-0.56.19, Valgrind-3.26.0, GTK-Doc-1.36.1, itstool-2.0.7, fop-2.11 (or dblatex), and Glade

## 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. The tests need to be run in a graphical environment.

Now, as the `root` user:

    ninja install

## Command Explanations

`-D gtk_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

- Prev

  gtksourceview-3.24.11

- Next

  gtksourceview5-5.20.0

- Up
- Home