The Gedit package contains a lightweight UTF-8 text editor for the GNOME Desktop.
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/48/gedit-48.0.tar.xz
Download MD5 sum: dd651a387f3e845a1ed937b3d066fc60
Download size: 2.8 MB
Estimated disk space required: 63 MB (with tests)
Estimated build time: 0.2 SBU (using parallelism=4; with tests)
Download (HTTP): https://gitlab.gnome.org/World/gedit/libgedit-tepl/-/archive/6.11.0/libgedit-tepl-6.11.0.tar.bz2
Download MD5 sum: 548e545aa9b6e54ce0669c354e3c94f3
Download size: 172 KB
Estimated disk space required: 10 MB (with tests)
Estimated build time: 0.3 SBU (with tests)
Download (HTTP): https://gitlab.gnome.org/World/gedit/libgedit-gfls/-/archive/0.2.0/libgedit-gfls-0.2.0.tar.bz2
Download MD5 sum: 94e4ad510a882557f0b5f69425258a64
Download size: 24 KB
Estimated disk space required: 1.0 MB (with tests)
Estimated build time: less than 0.1 SBU (with tests)
gsettings-desktop-schemas-47.1, itstool-2.0.7, libgedit-amtk-5.9.0, libgeditsourceview-299.3.0 libhandy-1.8.3, and libpeas-1.36.0
gspell-1.14.0, Gvfs-1.56.1 (runtime), ISO Codes-4.17.0, and PyGObject-3.50.0 (Python3 module)
First, build the gfls library:
tar -xf ../libgedit-gfls-0.2.0.tar.xz && pushd libgedit-gfls-0.2.0 && mkdir gfls-build && cd gfls-build && meson setup --prefix=/usr \ --buildtype=release \ -D gtk_doc=false \ .. && ninja
To test the results, run: ninja test.
Now, as the root
user:
ninja install && popd
Second, build the tepl library:
tar -xf ../libgedit-tepl-6.11.0.tar.xz && pushd libgedit-tepl-6.11.0 && mkdir tepl-build && cd tepl-build && meson setup --prefix=/usr \ --buildtype=release \ -D gtk_doc=false \ .. && ninja
To test the results, run: ninja test.
Now, as the root
user:
ninja install && popd
Finally, install Gedit by running the following commands:
mkdir gedit-build && cd gedit-build && 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
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
-D gtk_doc=false
: This
switch disables generating the API documentation. Omit this switch
if you have GTK-Doc-1.34.0 installed and wish to generate
the API documentation.