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.
![[Note]](../images/note.png)
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://gedit-technology.net/tarballs/libgedit-gtksourceview/libgedit-gtksourceview-299.0.4.tar.xz
Download MD5 sum: 3f96094715a897567e3df7f72ec6c9f0
Download size: 632 KB
Estimated disk space required: 22 MB (with tests)
Estimated build time: 0.3 SBU (with tests)
GTK+-3.24.38 and libxml2-2.12.1
Install libgedit-gtksourceview by running the following commands:
mkdir build-libgedit &&
cd build-libgedit &&
meson setup --prefix=/usr \
--buildtype=release \
-Dgtk_doc=false \
.. &&
ninjaTo 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.
-Dgtk_doc=false: Disables building the API
documentation. Remove if you have GTK-Doc-1.33.2 installed
and wish to build the API documentation.