1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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">
|
---|
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)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gedit" xreflabel="gedit-&gedit-version;">
|
---|
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>
|
---|
60 | <para role="required"><xref linkend="libgnomeui"/>,
|
---|
61 | <xref linkend="libgnomeprintui"/>,
|
---|
62 | <xref linkend="gnome-doc-utils"/>,
|
---|
63 | <xref linkend="gtksourceview"/>, and
|
---|
64 | <xref linkend="which"/></para>
|
---|
65 |
|
---|
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 |
|
---|
70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
71 | <para role="optional"><xref linkend="intltool"/>,
|
---|
72 | <xref linkend="gtk-doc"/>,
|
---|
73 | <ulink url="ftp://oss.sgi.com/projects/xfs/cmd_tars/">libattr</ulink>, and
|
---|
74 | <ulink url="&gnome-download-http;/gnome-python-desktop">gnome-python-desktop</ulink>
|
---|
75 | (requires <ulink url="http://www.pygtk.org/">PyGTK</ulink> and can use
|
---|
76 | <ulink url="&gnome-download-http;/gnome-python/">GNOME-Python</ulink> and
|
---|
77 | <ulink url="&gnome-download-http;/pyorbit/">PyORBit</ulink>)</para>
|
---|
78 |
|
---|
79 | <para>* <xref linkend="aspell"/> is just one of many backend spell libraries
|
---|
80 | <application>Enchant</application> can use. See the
|
---|
81 | <application>Enchant</application> project page (URL above) for additional
|
---|
82 | information about the available backends.</para>
|
---|
83 |
|
---|
84 | <para condition="html" role="usernotes">User Notes:
|
---|
85 | <ulink url="&blfs-wiki;/gedit"/></para>
|
---|
86 |
|
---|
87 | </sect2>
|
---|
88 |
|
---|
89 | <sect2 role="installation">
|
---|
90 | <title>Installation of gedit</title>
|
---|
91 |
|
---|
92 | <para>Install <application>gedit</application> by running the following
|
---|
93 | commands:</para>
|
---|
94 |
|
---|
95 | <screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
|
---|
96 | --sysconfdir=&gnome-etc-dir; \
|
---|
97 | --localstatedir=/var/lib \
|
---|
98 | --disable-spell &&
|
---|
99 | make</userinput></screen>
|
---|
100 |
|
---|
101 | <para>This package does not come with a test suite.</para>
|
---|
102 |
|
---|
103 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
104 |
|
---|
105 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
106 |
|
---|
107 | </sect2>
|
---|
108 |
|
---|
109 | <sect2 role="commands">
|
---|
110 | <title>Command Explanations</title>
|
---|
111 |
|
---|
112 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
113 | href="../../xincludes/gnome-prefix.xml"/>
|
---|
114 |
|
---|
115 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
116 | href="../../xincludes/gnome-sysconfdir.xml"/>
|
---|
117 |
|
---|
118 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
119 | href="../../xincludes/scrollkeeper-dir.xml"/>
|
---|
120 |
|
---|
121 | <para><parameter>--disable-spell</parameter>: This parameter disables
|
---|
122 | spell-checking capability and is required if
|
---|
123 | <application>Enchant</application> is not installed. Remove the
|
---|
124 | parameter if <application>Enchant</application> is installed.</para>
|
---|
125 |
|
---|
126 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
127 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
128 |
|
---|
129 | </sect2>
|
---|
130 |
|
---|
131 | <!-- <sect2 role="configuration">
|
---|
132 | <title>Configuring gedit</title>
|
---|
133 |
|
---|
134 | <sect3>
|
---|
135 | <title>Configuration Information</title>
|
---|
136 |
|
---|
137 | <para>There is no way in the preferences to change the color of
|
---|
138 | highlighted (such as when you search for text and it is found) text.
|
---|
139 | If you wish to change the color, issue the following command as the
|
---|
140 | <systemitem class="username">root</systemitem> user (substitute your
|
---|
141 | color of choice):</para>
|
---|
142 |
|
---|
143 | <screen role="root"><userinput>sed -i 's/FFFF78/<replaceable><some-color-you-like></replaceable>/' gedit/gedit-document.c</userinput></screen>
|
---|
144 |
|
---|
145 | </sect3>
|
---|
146 |
|
---|
147 | </sect2> -->
|
---|
148 |
|
---|
149 | <sect2 role="content">
|
---|
150 | <title>Contents</title>
|
---|
151 |
|
---|
152 | <segmentedlist>
|
---|
153 | <segtitle>Installed Programs</segtitle>
|
---|
154 | <segtitle>Installed Libraries</segtitle>
|
---|
155 | <segtitle>Installed Directories</segtitle>
|
---|
156 |
|
---|
157 | <seglistitem>
|
---|
158 | <seg>gedit and gnome-text-editor</seg>
|
---|
159 | <seg><application>gedit</application> plugin modules</seg>
|
---|
160 | <seg>The following subdirectories of <envar>$GNOME_PREFIX</envar>/:
|
---|
161 | include/gedit-2.16,
|
---|
162 | lib/gedit-2,
|
---|
163 | share/{gedit-2, {gnome/help, omf}/gedit}</seg>
|
---|
164 | </seglistitem>
|
---|
165 | </segmentedlist>
|
---|
166 |
|
---|
167 | <variablelist>
|
---|
168 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
169 | <?dbfo list-presentation="list"?>
|
---|
170 | <?dbhtml list-presentation="table"?>
|
---|
171 |
|
---|
172 | <varlistentry id="gedit-prog">
|
---|
173 | <term><command>gedit</command></term>
|
---|
174 | <listitem>
|
---|
175 | <para>is a lightweight text editor integrated with the
|
---|
176 | GNOME desktop.</para>
|
---|
177 | <indexterm zone="gedit gedit-prog">
|
---|
178 | <primary sortas="b-gedit">gedit</primary>
|
---|
179 | </indexterm>
|
---|
180 | </listitem>
|
---|
181 | </varlistentry>
|
---|
182 |
|
---|
183 | <varlistentry id="gnome-text-editor">
|
---|
184 | <term><command>gnome-text-editor</command></term>
|
---|
185 | <listitem>
|
---|
186 | <para>is a symlink to <command>gedit</command>.</para>
|
---|
187 | <indexterm zone="gedit gnome-text-editor">
|
---|
188 | <primary sortas="g-gnome-text-editor">gnome-text-editor</primary>
|
---|
189 | </indexterm>
|
---|
190 | </listitem>
|
---|
191 | </varlistentry>
|
---|
192 |
|
---|
193 | </variablelist>
|
---|
194 |
|
---|
195 | </sect2>
|
---|
196 |
|
---|
197 | </sect1>
|
---|