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/46/gedit-&gedit-version;.tar.xz">
|
---|
8 | <!ENTITY gedit-download-ftp "&gnome-download-ftp;/gedit/46/gedit-&gedit-version;.tar.xz">
|
---|
9 | <!ENTITY gedit-md5sum "74cc927f8c41e7ccd2352c90d1086974">
|
---|
10 | <!ENTITY gedit-size "2.6 MB">
|
---|
11 | <!ENTITY gedit-buildsize "50 MB (with tests)">
|
---|
12 | <!ENTITY gedit-time "0.2 SBU (using parallelism=4; with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gedit" xreflabel="Gedit-&gedit-version;">
|
---|
16 | <?dbhtml filename="gedit.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>Gedit-&gedit-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="gedit">
|
---|
22 | <primary sortas="a-Gedit">Gedit</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to Gedit</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | The <application>Gedit</application> package contains a lightweight
|
---|
30 | UTF-8 text editor for the <application>GNOME</application> Desktop.
|
---|
31 | </para>
|
---|
32 |
|
---|
33 | &lfs120_checked;
|
---|
34 |
|
---|
35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
36 | <itemizedlist spacing="compact">
|
---|
37 | <listitem>
|
---|
38 | <para>
|
---|
39 | Download (HTTP): <ulink url="&gedit-download-http;"/>
|
---|
40 | </para>
|
---|
41 | </listitem>
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (FTP): <ulink url="&gedit-download-ftp;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download MD5 sum: &gedit-md5sum;
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download size: &gedit-size;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Estimated disk space required: &gedit-buildsize;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated build time: &gedit-time;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | </itemizedlist>
|
---|
68 |
|
---|
69 | <bridgehead renderas="sect3">Gedit Dependencies</bridgehead>
|
---|
70 |
|
---|
71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
72 | <para role="required">
|
---|
73 | <!--<xref linkend="git"/>, unneeded -->
|
---|
74 | <xref linkend="gsettings-desktop-schemas"/>,
|
---|
75 | <xref linkend="itstool"/>,
|
---|
76 | <xref linkend="libpeas"/>,
|
---|
77 | <xref linkend="libgedit"/>, and
|
---|
78 | <xref linkend="tepl"/>
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
82 | <para role="recommended">
|
---|
83 | <xref linkend="gspell"/>,
|
---|
84 | <xref role="runtime" linkend="gvfs"/> (runtime),
|
---|
85 | <xref linkend="iso-codes"/>, and
|
---|
86 | <xref linkend="pygobject3"/>
|
---|
87 | (<application>Python</application> 3 module)
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
91 | <para role="optional">
|
---|
92 | <xref linkend="gtk-doc"/>,
|
---|
93 | <xref linkend="vala"/>, and
|
---|
94 | <ulink url="https://launchpad.net/zeitgeist">zeitgeist</ulink>
|
---|
95 | </para>
|
---|
96 |
|
---|
97 | </sect2>
|
---|
98 |
|
---|
99 | <sect2 role="installation">
|
---|
100 | <title>Installation of Gedit</title>
|
---|
101 |
|
---|
102 | <para>
|
---|
103 | First change the <filename>meson.build</filename> script so that
|
---|
104 | it can accept a <option>release</option> build.
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <screen><userinput>sed -i s/plain/release/ meson.build</userinput></screen>
|
---|
108 |
|
---|
109 | <para>
|
---|
110 | Install <application>Gedit</application> by running the following
|
---|
111 | commands:
|
---|
112 | </para>
|
---|
113 |
|
---|
114 | <screen><userinput>mkdir gedit-build &&
|
---|
115 | cd gedit-build &&
|
---|
116 |
|
---|
117 | meson setup --prefix=/usr \
|
---|
118 | --buildtype=release \
|
---|
119 | -Dgtk_doc=false \
|
---|
120 | .. &&
|
---|
121 | ninja</userinput></screen>
|
---|
122 |
|
---|
123 | <para>
|
---|
124 | To test the results, issue: <command>ninja test</command>.
|
---|
125 | </para>
|
---|
126 |
|
---|
127 | <para>
|
---|
128 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
129 | </para>
|
---|
130 |
|
---|
131 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
132 |
|
---|
133 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
134 | href="../../xincludes/gsettings-destdir.xml"/>
|
---|
135 |
|
---|
136 | </sect2>
|
---|
137 |
|
---|
138 | <sect2 role="commands">
|
---|
139 | <title>Command Explanations</title>
|
---|
140 | <!--
|
---|
141 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
142 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
143 | -->
|
---|
144 | <para>
|
---|
145 | <parameter>-Dgtk_doc=false</parameter>: This switch disables
|
---|
146 | generating the API documentation. Omit this switch if you have
|
---|
147 | <xref linkend="gtk-doc"/> installed and wish to generate the API
|
---|
148 | documentation.
|
---|
149 | </para>
|
---|
150 |
|
---|
151 | </sect2>
|
---|
152 |
|
---|
153 | <sect2 role="content">
|
---|
154 | <title>Contents</title>
|
---|
155 |
|
---|
156 | <segmentedlist>
|
---|
157 | <segtitle>Installed Program</segtitle>
|
---|
158 | <segtitle>Installed Libraries</segtitle>
|
---|
159 | <segtitle>Installed Directories</segtitle>
|
---|
160 |
|
---|
161 | <seglistitem>
|
---|
162 | <seg>
|
---|
163 | gedit
|
---|
164 | </seg>
|
---|
165 | <seg>
|
---|
166 | libgedit-46.so
|
---|
167 | </seg>
|
---|
168 | <seg>
|
---|
169 | /usr/include/gedit-46 and
|
---|
170 | /usr/{lib,share,share/help/*}/gedit
|
---|
171 | </seg>
|
---|
172 | </seglistitem>
|
---|
173 | </segmentedlist>
|
---|
174 |
|
---|
175 | <variablelist>
|
---|
176 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
177 | <?dbfo list-presentation="list"?>
|
---|
178 | <?dbhtml list-presentation="table"?>
|
---|
179 |
|
---|
180 | <varlistentry id="gedit-prog">
|
---|
181 | <term><command>gedit</command></term>
|
---|
182 | <listitem>
|
---|
183 | <para>
|
---|
184 | is a lightweight text editor integrated with the
|
---|
185 | <application>GNOME</application> Desktop
|
---|
186 | </para>
|
---|
187 | <indexterm zone="gedit gedit-prog">
|
---|
188 | <primary sortas="b-gedit">gedit</primary>
|
---|
189 | </indexterm>
|
---|
190 | </listitem>
|
---|
191 | </varlistentry>
|
---|
192 |
|
---|
193 | </variablelist>
|
---|
194 |
|
---|
195 | </sect2>
|
---|
196 |
|
---|
197 | </sect1>
|
---|