<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;

  <!ENTITY gedit-download-http "&gnome-download-http;/gedit/&gnome-minor-14;/gedit-&gedit-version;.tar.xz">
  <!ENTITY gedit-download-ftp  "&gnome-download-ftp;/gedit/&gnome-minor-14;/gedit-&gedit-version;.tar.xz">
  <!ENTITY gedit-md5sum        "267beb4476f48a106fb693bb55819caf">
  <!ENTITY gedit-size          "2.8 MB">
  <!ENTITY gedit-buildsize     "87 MB">
  <!ENTITY gedit-time          "1.1 SBU">
]>

<sect1 id="gedit" xreflabel="Gedit-&gedit-version;">
  <?dbhtml filename="gedit.html"?>

  <sect1info>
    <othername>$LastChangedBy: bdubbs $</othername>
    <date>$Date: 2015-03-03 19:19:21 -0500 (Tue, 03 Mar 2015) $</date>
  </sect1info>

  <title>Gedit-&gedit-version;</title>

  <indexterm zone="gedit">
    <primary sortas="a-Gedit">Gedit</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to Gedit</title>

    <para>
      The <application>Gedit</application> package contains a lightweight
      UTF-8 text editor for the <application>GNOME</application> Desktop.
    </para>

    &lfs77_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>
          Download (HTTP): <ulink url="&gedit-download-http;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download (FTP): <ulink url="&gedit-download-ftp;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download MD5 sum: &gedit-md5sum;
        </para>
      </listitem>
      <listitem>
        <para>
          Download size: &gedit-size;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated disk space required: &gedit-buildsize;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated build time: &gedit-time;
        </para>
      </listitem>
    </itemizedlist>

    <bridgehead renderas="sect3">Gedit Dependencies</bridgehead>

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required">
      <xref linkend="gsettings-desktop-schemas"/>,
      <xref linkend="gtksourceview"/>,
      <xref linkend="itstool"/>, and
      <xref linkend="libpeas"/>
    </para>

    <bridgehead renderas="sect4">Recommended</bridgehead>
    <para role="recommended">
      <xref linkend="enchant"/>,
      <xref linkend="gvfs"/> (runtime),
      <xref linkend="iso-codes"/>,
      <xref linkend="libsoup"/>, and
      <xref linkend="pygobject3"/>
      (<application>Python</application> 3 module)
    </para>

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional">
      <xref linkend="gtk-doc"/>,
      <xref linkend="vala"/>, and
      <ulink url="http://launchpad.net/zeitgeist">zeitgeist</ulink>
    </para>

    <para condition="html" role="usernotes">User Notes:
      <ulink url="&blfs-wiki;/gedit"/>
    </para>
  </sect2>

  <sect2 role="installation">
    <title>Installation of Gedit</title>

    <para>
      Install <application>Gedit</application> by running the following
      commands:
    </para>

<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>

    <para>
      This package does not come with a test suite.
    </para>

    <para>
      Now, as the <systemitem class="username">root</systemitem> user:
    </para>

<screen role="root"><userinput>make install</userinput></screen>

  </sect2>

  <sect2 role="commands">
    <title>Command Explanations</title>

    <para>
      <option>--disable-spell</option>: Use this switch to disable
      spell-checking capability. It is required if
      <application>Enchant</application> is not installed.
    </para>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
      href="../../xincludes/gtk-doc-rebuild.xml"/>

  </sect2>

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Program</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>
          gedit and
          gnome-text-editor (symlink to gedit)
        </seg>
        <seg>
          /usr/lib/gedit/libgedit.so
        </seg>
        <seg>
          /usr/include/gedit-3.12,
          /usr/lib/gedit,
          /usr/libexec/gedit,
          /usr/share/gedit,
          /usr/share/gtk-doc/html/gedit, and
          /usr/share/help/*/gedit
        </seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="gedit-prog">
        <term><command>gedit</command></term>
        <listitem>
          <para>
            is a lightweight text editor integrated with the
            <application>GNOME</application> Desktop.
          </para>
          <indexterm zone="gedit gedit-prog">
            <primary sortas="b-gedit">gedit</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
