The Gedit package contains a lightweight UTF-8 text editor for the GNOME Desktop.
![[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://download.gnome.org/sources/gedit/46/gedit-46.1.tar.xz
Download MD5 sum: 74cc927f8c41e7ccd2352c90d1086974
Download size: 2.6 MB
Estimated disk space required: 50 MB (with tests)
Estimated build time: 0.2 SBU (using parallelism=4; with tests)
gsettings-desktop-schemas-45.0, itstool-2.0.7, libpeas-1.36.0, libgeditsourceview-299.0.4, and tepl-6.8.0
gspell-1.12.2, Gvfs-1.52.1 (runtime), ISO Codes-4.15.0, and PyGObject-3.46.0 (Python 3 module)
First change the meson.build script so that
it can accept a release build.
sed -i s/plain/release/ meson.build
Install Gedit by running the following commands:
mkdir gedit-build &&
cd gedit-build &&
meson setup --prefix=/usr \
--buildtype=release \
-Dgtk_doc=false \
.. &&
ninjaTo test the results, issue: ninja test.
Now, as the root user:
ninja install
![[Note]](../images/note.png)
If you installed the package to your system using a
“DESTDIR” method,
/usr/share/glib-2.0/schemas/gschemas.compiled
was not updated/created. Create (or update) the file using the following
command as the root user:
glib-compile-schemas /usr/share/glib-2.0/schemas
-Dgtk_doc=false: This switch disables
generating the API documentation. Omit this switch if you have
GTK-Doc-1.33.2 installed and wish to generate the API
documentation.