Gedit-48.1

Introduction to Gedit

The Gedit package contains a lightweight UTF-8 text editor for the GNOME Desktop.

[Note]

Note

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.

Package Information

Additional Downloads

Gedit Dependencies

Required

gsettings-desktop-schemas-47.1, itstool-2.0.7, libgedit-amtk-5.9.0, libgeditsourceview-299.4.0 libhandy-1.8.3, and libpeas-1.36.0

Recommended

Optional

GTK-Doc-1.34.0, Vala-0.56.17, and zeitgeist

Installation of Gedit

First, build the gfls library:

tar -xf ../libgedit-gfls-0.2.1.tar.bz2 &&
pushd libgedit-gfls-0.2.1             &&

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

Change back to the top build directory:

popd

Second, build the tepl library:

tar -xf ../libgedit-tepl-6.12.0.tar.bz2 &&
pushd libgedit-tepl-6.12.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

Again, change back to the top build directory:

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
[Note]

Note

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

Command Explanations

-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.

Contents

Installed Program: gedit
Installed Libraries: libgedit-gfls-1.so, libgedit-tepl-6.so, and libgedit-48.so
Installed Directories: /usr/include/libgedit-gfls-1, /usr/include/libgedit-tepl-6, /usr/include/gedit-48, and /usr/{lib,share,share/help/*}/gedit

Short Descriptions

gedit

is a lightweight text editor integrated with the GNOME Desktop