[9d2dc4e2] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[9d2dc4e2] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8b158789] | 7 | <!ENTITY gedit-download-http "&gnome-download-http;/gedit/&gnome-old-version;/gedit-&gedit-version;.tar.bz2">
|
---|
| 8 | <!ENTITY gedit-download-ftp "&gnome-download-ftp;/gedit/&gnome-old-version;/gedit-&gedit-version;.tar.bz2">
|
---|
[0492ab0] | 9 | <!ENTITY gedit-md5sum "7e8bf29bd6bf0d17ceaf42d9bd5d94e6">
|
---|
| 10 | <!ENTITY gedit-size "3.4 MB">
|
---|
| 11 | <!ENTITY gedit-buildsize "80 MB">
|
---|
| 12 | <!ENTITY gedit-time "1.1 SBU (includes spell-check support and Python plugins)">
|
---|
[9d2dc4e2] | 13 | ]>
|
---|
| 14 |
|
---|
[9f3f8b4c] | 15 | <sect1 id="gedit" xreflabel="gedit-&gedit-version;">
|
---|
[f88baf3] | 16 | <?dbhtml filename="gedit.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>gedit-&gedit-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="gedit">
|
---|
| 26 | <primary sortas="a-gedit">gedit</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to gedit</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>gedit</application> package contains a lightweight
|
---|
| 33 | UTF-8 text editor for the <application>GNOME</application> desktop.</para>
|
---|
| 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>Download (HTTP): <ulink url="&gedit-download-http;"/></para>
|
---|
| 39 | </listitem>
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (FTP): <ulink url="&gedit-download-ftp;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download MD5 sum: &gedit-md5sum;</para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download size: &gedit-size;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Estimated disk space required: &gedit-buildsize;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated build time: &gedit-time;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | </itemizedlist>
|
---|
| 56 |
|
---|
| 57 | <bridgehead renderas="sect3">gedit Dependencies</bridgehead>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[352944e] | 60 | <para role="required"><xref linkend="libgnomeui"/>,
|
---|
[0492ab0] | 61 | <xref linkend="libgnomeprintui"/>,
|
---|
[352944e] | 62 | <xref linkend="gnome-doc-utils"/>,
|
---|
| 63 | <xref linkend="gtksourceview"/>, and
|
---|
| 64 | <xref linkend="which"/></para>
|
---|
[f88baf3] | 65 |
|
---|
[0492ab0] | 66 | <bridgehead renderas="sect4">Optional (to Provide Spell-Checking Capability)</bridgehead>
|
---|
| 67 | <para role="optional"><xref linkend="iso-codes"/> and
|
---|
| 68 | <ulink url="http://www.abisource.com/projects/enchant/">Enchant</ulink>*</para>
|
---|
| 69 |
|
---|
[ce892ab3] | 70 | <bridgehead renderas="sect4">Optional (to Provide Python Bindings and Plugins)</bridgehead>
|
---|
| 71 | <para role="optional"><xref linkend="pygtk"/> (including the gtk, pango
|
---|
| 72 | and gtk.libglade modules) and
|
---|
| 73 | <xref linkend="gnome-python-desktop"/> (including the gtksourceview
|
---|
| 74 | module)</para>
|
---|
| 75 |
|
---|
[f88baf3] | 76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[352944e] | 77 | <para role="optional"><xref linkend="intltool"/>,
|
---|
[0492ab0] | 78 | <xref linkend="gtk-doc"/>,
|
---|
[ce892ab3] | 79 | <ulink url="ftp://oss.sgi.com/projects/xfs/cmd_tars/">libattr</ulink></para>
|
---|
[f88baf3] | 80 |
|
---|
[0492ab0] | 81 | <para>* <xref linkend="aspell"/> is just one of many backend spell libraries
|
---|
| 82 | <application>Enchant</application> can use. See the
|
---|
| 83 | <application>Enchant</application> project page (URL above) for additional
|
---|
| 84 | information about the available backends.</para>
|
---|
| 85 |
|
---|
[0a7c3921] | 86 | <para condition="html" role="usernotes">User Notes:
|
---|
| 87 | <ulink url="&blfs-wiki;/gedit"/></para>
|
---|
| 88 |
|
---|
[f88baf3] | 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2 role="installation">
|
---|
| 92 | <title>Installation of gedit</title>
|
---|
| 93 |
|
---|
| 94 | <para>Install <application>gedit</application> by running the following
|
---|
| 95 | commands:</para>
|
---|
| 96 |
|
---|
[352944e] | 97 | <screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
|
---|
| 98 | --sysconfdir=&gnome-etc-dir; \
|
---|
[8cf3617d] | 99 | --localstatedir=/var/lib \
|
---|
[0492ab0] | 100 | --disable-spell &&
|
---|
[f88baf3] | 101 | make</userinput></screen>
|
---|
| 102 |
|
---|
| 103 | <para>This package does not come with a test suite.</para>
|
---|
| 104 |
|
---|
| 105 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 106 |
|
---|
| 107 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="commands">
|
---|
| 112 | <title>Command Explanations</title>
|
---|
| 113 |
|
---|
[352944e] | 114 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 115 | href="../../xincludes/gnome-prefix.xml"/>
|
---|
[f88baf3] | 116 |
|
---|
[352944e] | 117 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 118 | href="../../xincludes/gnome-sysconfdir.xml"/>
|
---|
| 119 |
|
---|
| 120 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 121 | href="../../xincludes/scrollkeeper-dir.xml"/>
|
---|
| 122 |
|
---|
[0492ab0] | 123 | <para><parameter>--disable-spell</parameter>: This parameter disables
|
---|
| 124 | spell-checking capability and is required if
|
---|
| 125 | <application>Enchant</application> is not installed. Remove the
|
---|
| 126 | parameter if <application>Enchant</application> is installed.</para>
|
---|
| 127 |
|
---|
[352944e] | 128 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[0492ab0] | 129 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[f88baf3] | 130 |
|
---|
| 131 | </sect2>
|
---|
| 132 |
|
---|
[0492ab0] | 133 | <!-- <sect2 role="configuration">
|
---|
[92dec691] | 134 | <title>Configuring gedit</title>
|
---|
| 135 |
|
---|
| 136 | <sect3>
|
---|
| 137 | <title>Configuration Information</title>
|
---|
| 138 |
|
---|
| 139 | <para>There is no way in the preferences to change the color of
|
---|
| 140 | highlighted (such as when you search for text and it is found) text.
|
---|
| 141 | If you wish to change the color, issue the following command as the
|
---|
| 142 | <systemitem class="username">root</systemitem> user (substitute your
|
---|
| 143 | color of choice):</para>
|
---|
| 144 |
|
---|
| 145 | <screen role="root"><userinput>sed -i 's/FFFF78/<replaceable><some-color-you-like></replaceable>/' gedit/gedit-document.c</userinput></screen>
|
---|
| 146 |
|
---|
| 147 | </sect3>
|
---|
| 148 |
|
---|
[0492ab0] | 149 | </sect2> -->
|
---|
[92dec691] | 150 |
|
---|
[f88baf3] | 151 | <sect2 role="content">
|
---|
| 152 | <title>Contents</title>
|
---|
| 153 |
|
---|
| 154 | <segmentedlist>
|
---|
| 155 | <segtitle>Installed Programs</segtitle>
|
---|
| 156 | <segtitle>Installed Libraries</segtitle>
|
---|
| 157 | <segtitle>Installed Directories</segtitle>
|
---|
| 158 |
|
---|
| 159 | <seglistitem>
|
---|
| 160 | <seg>gedit and gnome-text-editor</seg>
|
---|
[c2953cd] | 161 | <seg><application>gedit</application> plugin modules</seg>
|
---|
[352944e] | 162 | <seg>The following subdirectories of <envar>$GNOME_PREFIX</envar>/:
|
---|
[0492ab0] | 163 | include/gedit-2.16,
|
---|
[8cf3617d] | 164 | lib/gedit-2,
|
---|
[0a7c3921] | 165 | share/{gedit-2, {gnome/help, omf}/gedit}</seg>
|
---|
[f88baf3] | 166 | </seglistitem>
|
---|
| 167 | </segmentedlist>
|
---|
| 168 |
|
---|
| 169 | <variablelist>
|
---|
| 170 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 171 | <?dbfo list-presentation="list"?>
|
---|
| 172 | <?dbhtml list-presentation="table"?>
|
---|
| 173 |
|
---|
| 174 | <varlistentry id="gedit-prog">
|
---|
| 175 | <term><command>gedit</command></term>
|
---|
| 176 | <listitem>
|
---|
[0492ab0] | 177 | <para>is a lightweight text editor integrated with the
|
---|
| 178 | GNOME desktop.</para>
|
---|
[f88baf3] | 179 | <indexterm zone="gedit gedit-prog">
|
---|
| 180 | <primary sortas="b-gedit">gedit</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="gnome-text-editor">
|
---|
| 186 | <term><command>gnome-text-editor</command></term>
|
---|
| 187 | <listitem>
|
---|
| 188 | <para>is a symlink to <command>gedit</command>.</para>
|
---|
| 189 | <indexterm zone="gedit gnome-text-editor">
|
---|
| 190 | <primary sortas="g-gnome-text-editor">gnome-text-editor</primary>
|
---|
| 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
| 195 | </variablelist>
|
---|
| 196 |
|
---|
| 197 | </sect2>
|
---|
[9f3f8b4c] | 198 |
|
---|
| 199 | </sect1>
|
---|