The Gedit package contains a lightweight UTF-8 text editor for the GNOME Desktop.
This package is known to build and work properly using an LFS 12.0 platform.
Download (HTTP): https://download.gnome.org/sources/gedit/46/gedit-46.1.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/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-44.0, itstool-2.0.7, libpeas-1.36.0, libgeditsourceview-299.0.4, and tepl-6.8.0
gspell-1.12.2, Gvfs-1.50.6 (runtime), ISO Codes-4.15.0, and PyGObject-3.44.1 (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 \ .. && 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
-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.