gtksourceview-3.24.11

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

### Chapter 25. Graphical Environment Libraries

- Prev

  gtk-vnc-1.5.0

- Next

  gtksourceview4-4.8.4

- Up
- Home

# gtksourceview-3.24.11

## Introduction to GtkSourceView

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

### Note

This package is known to build and work properly using an LFS 13.1 platform.

### Package Information

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

- Download MD5 sum: b748da426a7d64e1304f0c532b0f2a67

- Download size: 1.4 MB

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

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

### GtkSourceView Dependencies

#### Required

GTK-3.24.52

#### Recommended

GLib-2.88.3 (with GObject Introspection)

#### Optional

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

## Installation of GtkSourceView

First, fix building this package with gcc-14 and later:

    sed -e 's/g_object_ref (buffer)/g_object_ref (GTK_SOURCE_BUFFER (buffer))/' \
        -i gtksourceview/gtksourceview.c

Install GtkSourceView by running the following commands:

    ./configure --prefix=/usr &&
    make

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

Now, as the `root` user:

    make install

## Command Explanations

`--enable-gtk-doc`: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

## Contents

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

### Short Descriptions

`libgtksourceview-3.0.so` | contains function extensions for the GtkTextView widget

- Prev

  gtk-vnc-1.5.0

- Next

  gtksourceview4-4.8.4

- Up
- Home