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/47/gedit-47.0.tar.xz
Download MD5 sum: 88aa416009439007815a3c01ce45e4fe
Download size: 2.7 MB
Estimated disk space required: 66 MB (with tests)
Estimated build time: 0.2 SBU (using parallelism=4; with tests)
Download (HTTP): https://github.com/gedit-technology/libgedit-tepl/releases/download/6.10.0/libgedit-tepl-6.10.0.tar.xz
Download MD5 sum: 0bc684817b93abbcba290094bc94abdb
Download size: 168 KB
Estimated disk space required: 10 MB (with tests)
Estimated build time: 0.3 SBU (with tests)
Download (HTTP): https://github.com/gedit-technology/libgedit-gfls/releases/download/0.1.0/libgedit-gfls-0.1.0.tar.xz
Download MD5 sum: fa465c84be20de668b00deb2723334f3
Download size: 20 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.2.1 libhandy-1.8.3, and libpeas-1.36.0
gspell-1.14.0, Gvfs-1.54.2 (runtime), ISO Codes-4.17.0, and PyGObject-3.50.0 (Python3 module)
First, build the gfls library:
tar -xf ../libgedit-gfls-0.1.0.tar.xz && pushd libgedit-gfls-0.1.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.10.0.tar.xz && pushd libgedit-tepl-6.10.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.