The GtkSourceView package contains libraries used for extending the GTK+ text functions to include syntax highlighting.
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.
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.82.2 (with GObject Introspection)
Vala-0.56.17, Valgrind-3.24.0, GTK-Doc-1.34.0, itstool-2.0.7, fop-2.10 (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.