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-10.1 platform.
Download (HTTP): https://download.gnome.org/sources/gtksourceview/4.8/gtksourceview-4.8.1.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/gtksourceview/4.8/gtksourceview-4.8.1.tar.xz
Download MD5 sum: d10c624feb48412542f9e3447e75d6bc
Download size: 1.1 MB
Estimated disk space required: 81 MB (with tests)
Estimated build time: 0.1 SBU (with tests; both using parallelism=4)
gobject-introspection-1.68.0 and libxml2-2.9.10
Vala-0.52.0, Valgrind-3.17.0, GTK-Doc-1.33.2, itstool-2.0.6, fop-2.6 (or dblatex), and Glade
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gtksourceview4
First, apply a patch to prevent a race condition:
patch -Np1 -i ../gtksourceview4-4.8.1-buildfix-1.patch
Install GtkSourceView by running the following commands:
mkdir build && cd build && meson --prefix=/usr .. && 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
-Dgtk_doc=true
: This option is normally
used if GTK-Doc is installed and
you wish to rebuild and install the API documentation.
Last updated on 2021-04-05 07:36:04 -0500