source: postlfs/editors/emacs.xml@ 8404399

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8404399 was 8404399, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Update to pango-1.48.4
Update to xterm-367
Update to cups-filters-1.28.8
Update to emacs-27.2
Update to python-dbusmock-0.23.0

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24415 af4574ff-66df-0310-9fd7-8a98e5e911e0

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