The libgedit-gtksourceview package provides a library that extends GtkTextView. This library adds support for syntax highlighting, undo/redo, file loading and saving, search and replace, a completion system, printing, displaying line numbers, and other features typical of a source code editor.
This package is known to build and work properly using an LFS 12.3 platform.
Download (HTTP): https://gitlab.gnome.org/World/gedit/libgedit-gtksourceview/-/archive/299.4.0/libgedit-gtksourceview-299.4.0.tar.bz2
Download MD5 sum: 375fbe51c69ee982fb37ceffd50be6b4
Download size: 664 KB
Estimated disk space required: 23 MB (with tests)
Estimated build time: 0.1 SBU (with tests)
GTK-3.24.48 and libxml2-2.13.5
Install libgedit-gtksourceview by running the following commands:
mkdir build-libgedit && cd build-libgedit && meson setup --prefix=/usr \ --buildtype=release \ -D gtk_doc=false \ .. && ninja
To test the results, issue: ninja test.
Now, as the root
user:
ninja install
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-D gtk_doc=false
: Disables
building the API documentation. Remove if you have GTK-Doc-1.34.0 installed and wish to build the
API documentation.