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/45/gedit-45.0.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/gedit/45/gedit-45.0.tar.xz
Download MD5 sum: dca62f35c6364e1fc4f16c271af687ab
Download size: 2.6 MB
Estimated disk space required: 49 MB (with tests)
Estimated build time: 0.1 SBU (using parallelism=4; with tests)
gsettings-desktop-schemas-44.0, itstool-2.0.7, libpeas-1.36.0, libgeditsourceview-299.0.3, and tepl-6.6.0
gspell-1.12.1, Gvfs-1.50.5 (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.