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