[9d2dc4e2] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[9d2dc4e2] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8cf3617d] | 7 | <!ENTITY gedit-download-http "&gnome-download-http;/gedit/&gnome-version;/gedit-&gedit-version;.tar.bz2">
|
---|
| 8 | <!ENTITY gedit-download-ftp "&gnome-download-ftp;/gedit/&gnome-version;/gedit-&gedit-version;.tar.bz2">
|
---|
[b0db915] | 9 | <!ENTITY gedit-md5sum "189d4d9128eca1162a782744cb324aea">
|
---|
[352944e] | 10 | <!ENTITY gedit-size "2.3 MB">
|
---|
[b0db915] | 11 | <!ENTITY gedit-buildsize "64.9 MB">
|
---|
| 12 | <!ENTITY gedit-time "0.7 SBU">
|
---|
[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"/>,
|
---|
| 61 | <xref linkend="gnome-doc-utils"/>,
|
---|
| 62 | <xref linkend="gtksourceview"/>, and
|
---|
| 63 | <xref linkend="which"/></para>
|
---|
[f88baf3] | 64 |
|
---|
| 65 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[352944e] | 66 | <para role="optional"><xref linkend="intltool"/>,
|
---|
| 67 | <xref linkend="aspell"/>,
|
---|
| 68 | <xref linkend="pyxml"/>, and
|
---|
| 69 | <ulink url="&gnome-download-http;/gnome-python-desktop/2.14/">gnome-python-desktop</ulink>
|
---|
| 70 | (requires <ulink url="http://www.pygtk.org/">PyGTK</ulink> and can use
|
---|
| 71 | <ulink url="&gnome-download-http;/gnome-python/">GNOME-Python</ulink> and
|
---|
| 72 | <ulink url="&gnome-download-http;/pyorbit/">PyORBit</ulink>)</para>
|
---|
[f88baf3] | 73 |
|
---|
[0a7c3921] | 74 | <para condition="html" role="usernotes">User Notes:
|
---|
| 75 | <ulink url="&blfs-wiki;/gedit"/></para>
|
---|
| 76 |
|
---|
[f88baf3] | 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2 role="installation">
|
---|
| 80 | <title>Installation of gedit</title>
|
---|
| 81 |
|
---|
| 82 | <para>Install <application>gedit</application> by running the following
|
---|
| 83 | commands:</para>
|
---|
| 84 |
|
---|
[352944e] | 85 | <screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
|
---|
| 86 | --sysconfdir=&gnome-etc-dir; \
|
---|
[8cf3617d] | 87 | --localstatedir=/var/lib \
|
---|
[352944e] | 88 | --mandir=$(pkg-config \
|
---|
| 89 | --variable=prefix ORBit-2.0)/share/man &&
|
---|
[f88baf3] | 90 | make</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | <para>This package does not come with a test suite.</para>
|
---|
| 93 |
|
---|
| 94 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 95 |
|
---|
| 96 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 97 |
|
---|
| 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="commands">
|
---|
| 101 | <title>Command Explanations</title>
|
---|
| 102 |
|
---|
[352944e] | 103 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 104 | href="../../xincludes/gnome-prefix.xml"/>
|
---|
[f88baf3] | 105 |
|
---|
[352944e] | 106 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 107 | href="../../xincludes/gnome-sysconfdir.xml"/>
|
---|
| 108 |
|
---|
| 109 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 110 | href="../../xincludes/scrollkeeper-dir.xml"/>
|
---|
| 111 |
|
---|
| 112 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 113 | href="../../xincludes/gnome-mandir.xml"/>
|
---|
[f88baf3] | 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
[864b24de] | 117 | <sect2 role="configuration">
|
---|
[92dec691] | 118 | <title>Configuring gedit</title>
|
---|
| 119 |
|
---|
| 120 | <sect3>
|
---|
| 121 | <title>Configuration Information</title>
|
---|
| 122 |
|
---|
| 123 | <para>There is no way in the preferences to change the color of
|
---|
| 124 | highlighted (such as when you search for text and it is found) text.
|
---|
| 125 | If you wish to change the color, issue the following command as the
|
---|
| 126 | <systemitem class="username">root</systemitem> user (substitute your
|
---|
| 127 | color of choice):</para>
|
---|
| 128 |
|
---|
| 129 | <screen role="root"><userinput>sed -i 's/FFFF78/<replaceable><some-color-you-like></replaceable>/' gedit/gedit-document.c</userinput></screen>
|
---|
| 130 |
|
---|
| 131 | </sect3>
|
---|
| 132 |
|
---|
| 133 | </sect2>
|
---|
| 134 |
|
---|
[f88baf3] | 135 | <sect2 role="content">
|
---|
| 136 | <title>Contents</title>
|
---|
| 137 |
|
---|
| 138 | <segmentedlist>
|
---|
| 139 | <segtitle>Installed Programs</segtitle>
|
---|
| 140 | <segtitle>Installed Libraries</segtitle>
|
---|
| 141 | <segtitle>Installed Directories</segtitle>
|
---|
| 142 |
|
---|
| 143 | <seglistitem>
|
---|
| 144 | <seg>gedit and gnome-text-editor</seg>
|
---|
[c2953cd] | 145 | <seg><application>gedit</application> plugin modules</seg>
|
---|
[352944e] | 146 | <seg>The following subdirectories of <envar>$GNOME_PREFIX</envar>/:
|
---|
[8cf3617d] | 147 | include/gedit-&gnome-version;,
|
---|
| 148 | lib/gedit-2,
|
---|
[0a7c3921] | 149 | share/{gedit-2, {gnome/help, omf}/gedit}</seg>
|
---|
[f88baf3] | 150 | </seglistitem>
|
---|
| 151 | </segmentedlist>
|
---|
| 152 |
|
---|
| 153 | <variablelist>
|
---|
| 154 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 155 | <?dbfo list-presentation="list"?>
|
---|
| 156 | <?dbhtml list-presentation="table"?>
|
---|
| 157 |
|
---|
| 158 | <varlistentry id="gedit-prog">
|
---|
| 159 | <term><command>gedit</command></term>
|
---|
| 160 | <listitem>
|
---|
| 161 | <para>is a lightweight text editor.</para>
|
---|
| 162 | <indexterm zone="gedit gedit-prog">
|
---|
| 163 | <primary sortas="b-gedit">gedit</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
| 168 | <varlistentry id="gnome-text-editor">
|
---|
| 169 | <term><command>gnome-text-editor</command></term>
|
---|
| 170 | <listitem>
|
---|
| 171 | <para>is a symlink to <command>gedit</command>.</para>
|
---|
| 172 | <indexterm zone="gedit gnome-text-editor">
|
---|
| 173 | <primary sortas="g-gnome-text-editor">gnome-text-editor</primary>
|
---|
| 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
| 176 | </varlistentry>
|
---|
| 177 |
|
---|
| 178 | </variablelist>
|
---|
| 179 |
|
---|
| 180 | </sect2>
|
---|
[9f3f8b4c] | 181 |
|
---|
| 182 | </sect1>
|
---|