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.
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://gitlab.gnome.org/World/gedit/libgedit-gtksourceview/-/archive/299.3.0/libgedit-gtksourceview-299.3.0.tar.bz2
Download MD5 sum: 4c20375f3e96f88fbc087d67cae3116a
Download size: 664 KB
Estimated disk space required: 23 MB (with tests)
Estimated build time: 0.1 SBU (with tests)
GTK+-3.24.43 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.