#### Beyond Linux® From Scratch (systemd Edition) - Version 11.1

### Chapter 25. Graphical Environment Libraries

- Prev

  gtksourceview4-4.8.2

- Next

  imlib2-1.8.0

- Up
- Home

# gtksourceview5-5.2.0

## 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.1 platform.

### Package Information

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

- Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/gtksourceview/5.2/gtksourceview-5.2.0.tar.xz

- Download MD5 sum: 0258374209704cc595b00000e93e3c4d

- Download size: 1.2 MB

- Estimated disk space required: 39 MB

- Estimated build time: 0.2 SBU

### GtkSourceView Dependencies

#### Required

GTK-4.6.1 and pcre2-10.39

#### Recommended

gobject-introspection-1.70.0 and libxml2-2.9.13

#### Optional

GTK-Doc-1.33.2, sysprof-3.42.1, Vala-0.54.7, and Valgrind-3.18.1

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

Last updated on

- Prev

  gtksourceview4-4.8.2

- Next

  imlib2-1.8.0

- Up
- Home