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 12.2 platform.
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)
GLib-2.80.4 (with GObject Introspection)
Vala-0.56.17, Valgrind-3.23.0, GTK-Doc-1.34.0, itstool-2.0.7, fop-2.9 (or dblatex), and Glade
First, fix building this package with gcc-14:
sed -i 's/g_object_ref (buffer)/g_object_ref (GTK_SOURCE_BUFFER (buffer))/' 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
--enable-gtk-doc
: Use this parameter if
GTK-Doc is installed and you wish
to rebuild and install the API documentation.