source: postlfs/editors/emacs.xml@ 920e139

12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since 920e139 was 990dbf0, checked in by Bruce Dubbs <bdubbs@…>, 10 months ago

Remove obsolete references to gtk2

  • Property mode set to 100644
File size: 8.6 KB
Line 
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 emacs-download-http "&gnu-http;/emacs/emacs-&emacs-version;.tar.xz">
8 <!ENTITY emacs-download-ftp "&gnu-ftp;/emacs/emacs-&emacs-version;.tar.xz">
9 <!ENTITY emacs-download-ftp " ">
10 <!ENTITY emacs-md5sum "e0631d868a13b503a5feef042435b67c">
11 <!ENTITY emacs-size "50 MB">
12 <!ENTITY emacs-buildsize "732 MB">
13 <!ENTITY emacs-time "0.6 SBU (Using parallelism=4)">
14]>
15
16<sect1 id="emacs" xreflabel="Emacs-&emacs-version;">
17 <?dbhtml filename="emacs.html"?>
18
19
20 <title>Emacs-&emacs-version;</title>
21
22 <indexterm zone="emacs">
23 <primary sortas="a-Emacs">Emacs</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to Emacs</title>
28
29 <para>
30 The <application>Emacs</application> package contains an extensible,
31 customizable, self-documenting real-time display editor.
32 </para>
33
34 &lfs120_checked;
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&emacs-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&emacs-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &emacs-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &emacs-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &emacs-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &emacs-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">Emacs Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Recommended</bridgehead>
73 <para role="recommended">
74 <xref linkend="harfbuzz"/>,
75 <xref linkend="giflib"/>,
76 <xref linkend="gnutls"/>,
77 <xref linkend="jansson"/>, and
78 <xref linkend="libtiff"/>
79 </para>
80
81 <bridgehead renderas="sect4">Optional</bridgehead>
82 <para role="optional">
83 <xref linkend="x-window-system"/>,
84 <xref linkend="alsa-lib"/>,
85 <xref linkend="cairo"/>,
86 <xref linkend="dbus"/>,
87 <xref linkend="GConf"/>,
88 <xref linkend="gobject-introspection"/>,
89 <xref linkend="gsettings-desktop-schemas"/>,
90 <xref linkend="gpm"/>,
91 <xref linkend="gtk3"/>,
92 <xref linkend="imagemagick"/>,
93 <xref linkend="lcms2"/>,
94 <xref linkend="libjpeg"/>,
95 <xref linkend="libpng"/>,
96 <xref linkend="librsvg"/>,
97 <xref linkend="libseccomp"/>,
98 <xref linkend="libwebp"/>,
99 <xref linkend="libxml2"/>,
100 <xref linkend="mitkrb"/>,
101 <xref linkend="sqlite"/>,
102 <xref linkend="valgrind"/>,
103 <ulink url="&gnu-http;/intlfonts/">intlfonts</ulink>,
104 <ulink url="https://directory.fsf.org/wiki/Libungif">libungif</ulink>,
105 <ulink url="https://www.nongnu.org/m17n/">libotf</ulink>, and
106 <ulink url="https://www.nongnu.org/m17n/">m17n-lib</ulink> - to correctly
107 display such complex scripts as Indic and Khmer, and also for scripts
108 that require Arabic shaping support (Arabic and Farsi),
109 <ulink url="https://mailutils.org/">mailutils</ulink>, and
110 <ulink url="&xorg-download-http;/lib/">libXaw3d</ulink>
111 </para>
112
113 </sect2>
114
115 <sect2 role="installation">
116 <title>Installation of Emacs</title>
117
118 <para>
119 Install <application>Emacs</application> by running the following
120 commands:
121 </para>
122
123<screen><userinput>./configure --prefix=/usr &amp;&amp;
124make</userinput></screen>
125
126 <para>
127 This package does not come with a test suite. If make succeeds, you can
128 test the result by running <command>src/emacs -Q</command>, which is the
129 program that will be installed, with its auxiliary files. This should
130 start and display the application opening screen.
131 </para>
132
133 <para>
134 Now, as the <systemitem class="username">root</systemitem> user:
135 </para>
136
137<screen role="root" revision="systemd"><userinput>make install &amp;&amp;
138chown -v -R root:root /usr/share/emacs/&emacs-version;</userinput></screen>
139
140<screen role="root" revision="sysv"><userinput>make install &amp;&amp;
141chown -v -R root:root /usr/share/emacs/&emacs-version; &amp;&amp;
142rm -vf /usr/lib/systemd/user/emacs.service</userinput></screen>
143
144 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
145 href="../../xincludes/gtk-update-icon-cache.xml"/>
146
147 </sect2>
148
149 <sect2 role="commands">
150 <title>Command Explanations</title>
151
152 <!-- With 27.2, it writes scores to ~/.emacs.d/games
153 <para>
154 <parameter>- -localstatedir=/var</parameter>: Create game score files
155 in <filename class='directory'>/var/games/emacs</filename> instead
156 of <filename class='directory'>/usr/var/games/emacs</filename>.
157 </para>
158 -->
159
160 <para>
161 <option>--with-imagemagick</option>: Use this if you have installed
162 <xref linkend="imagemagick"/> and wish to link against it.
163 </para>
164
165 <para>
166 <option>--with-gif=no</option>: Use this if you have not installed
167 <xref linkend="giflib"/> or
168 <ulink url="https://directory.fsf.org/wiki/Libungif">libungif</ulink>.
169 </para>
170
171 <para>
172 <option>--with-tiff=no</option>: Use this if you have not installed
173 <xref linkend="libtiff"/>.
174 </para>
175
176 <para>
177 <option>--with-gnutls=no</option>: Use this if you have not installed
178 <xref linkend="gnutls"/>.
179 </para>
180
181 <para>
182 <option>--without-harfbuzz</option>: Use this if you have not installed
183 <xref linkend="harfbuzz"/>.
184 </para>
185
186 <para>
187 <option>--with-json=no</option>: Use this if you have not installed
188 <xref linkend="jansson"/>.
189 </para>
190
191 </sect2>
192
193 <sect2 role="content">
194 <title>Contents</title>
195
196 <segmentedlist>
197 <segtitle>Installed Programs</segtitle>
198 <segtitle>Installed Libraries</segtitle>
199 <segtitle>Installed Directories</segtitle>
200
201 <seglistitem>
202 <seg>ctags,
203 ebrowse,
204 emacs (symlink),
205 emacs-&emacs-version;,
206 emacsclient, and
207 etags</seg>
208 <seg>None</seg>
209 <seg>/usr/libexec/emacs and
210 /usr/share/emacs</seg>
211 </seglistitem>
212 </segmentedlist>
213
214 <variablelist>
215 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
216 <?dbfo list-presentation="list"?>
217 <?dbhtml list-presentation="table"?>
218
219 <varlistentry id="ctags">
220 <term><command>ctags</command></term>
221 <listitem>
222 <para>
223 creates cross-reference tagfile database files
224 for source code
225 </para>
226 <indexterm zone="emacs ctags">
227 <primary sortas="b-ctags">ctags</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="ebrowse">
233 <term><command>ebrowse</command></term>
234 <listitem>
235 <para>
236 permits browsing of C++ class hierarchies from
237 within <command>emacs</command>
238 </para>
239 <indexterm zone="emacs ebrowse">
240 <primary sortas="b-ebrowse">ebrowse</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
245 <varlistentry id="emacs-prog">
246 <term><command>emacs</command></term>
247 <listitem>
248 <para>
249 is an editor
250 </para>
251 <indexterm zone="emacs emacs-prog">
252 <primary sortas="b-emacs">emacs</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
256
257 <varlistentry id="emacsclient">
258 <term><command>emacsclient</command></term>
259 <listitem>
260 <para>
261 attaches an <command>emacs</command> session to an already
262 running <command>emacsserver</command> instance
263 </para>
264 <indexterm zone="emacs emacsclient">
265 <primary sortas="b-emacsclient">emacsclient</primary>
266 </indexterm>
267 </listitem>
268 </varlistentry>
269
270 <varlistentry id="etags">
271 <term><command>etags</command></term>
272 <listitem>
273 <para>
274 is another program to generate source code
275 cross-reference tagfiles
276 </para>
277 <indexterm zone="emacs etags">
278 <primary sortas="b-etags">etags</primary>
279 </indexterm>
280 </listitem>
281 </varlistentry>
282
283 </variablelist>
284
285 </sect2>
286
287</sect1>
Note: See TracBrowser for help on using the repository browser.