source: postlfs/editors/emacs.xml@ 5d5234b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules 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 5d5234b was 5d5234b, checked in by Fernando de Oliveira <fernando@…>, 9 years ago

Emacs-24.5: typo.

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

  • Property mode set to 100644
File size: 8.8 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 "https://ftp.gnu.org/pub/gnu/emacs/emacs-&emacs-version;.tar.xz">
8 <!ENTITY emacs-download-ftp "ftp://ftp.gnu.org/pub/gnu/emacs/emacs-&emacs-version;.tar.xz">
9 <!ENTITY emacs-md5sum "50560ee00bac9bb9cf0e822764cd0832">
10 <!ENTITY emacs-size "38 MB">
11 <!ENTITY emacs-buildsize "482 MB">
12 <!ENTITY emacs-time "4.6 SBU">
13]>
14
15<sect1 id="emacs" xreflabel="Emacs-&emacs-version;">
16 <?dbhtml filename="emacs.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Emacs-&emacs-version;</title>
24
25 <indexterm zone="emacs">
26 <primary sortas="a-Emacs">Emacs</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Emacs</title>
31
32 <para>The <application>Emacs</application> package contains an extensible,
33 customizable, self-documenting real-time display editor.</para>
34
35 &lfs77_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>Download (HTTP): <ulink url="&emacs-download-http;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download (FTP): <ulink url="&emacs-download-ftp;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download MD5 sum: &emacs-md5sum;</para>
47 </listitem>
48 <listitem>
49 <para>Download size: &emacs-size;</para>
50 </listitem>
51 <listitem>
52 <para>Estimated disk space required: &emacs-buildsize;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated build time: &emacs-time;</para>
56 </listitem>
57 </itemizedlist>
58
59 <bridgehead renderas="sect3">Emacs Dependencies</bridgehead>
60
61 <bridgehead renderas="sect4">Optional</bridgehead>
62 <para role="optional">
63 <xref linkend="x-window-system"/>,
64 <xref linkend="alsa-lib"/>,
65 <xref linkend="dbus"/>,
66 <xref linkend="GConf"/>,
67 <xref linkend="giflib"/>,
68 <xref linkend="gnutls"/> (currently broken),
69 <xref linkend="gobject-introspection"/>,
70 <xref linkend="gsettings-desktop-schemas"/>,
71 <xref linkend="gpm"/>,
72 <xref linkend="gtk2"/> or <xref linkend="gtk3"/>,
73 <xref linkend="imagemagick"/>,
74 <xref linkend="libjpeg"/>,
75 <xref linkend="libpng"/>,
76 <xref linkend="librsvg"/>,
77 <xref linkend="libtiff"/>,
78 <xref linkend="libxml2"/>,
79 <xref linkend="mitkrb"/>,
80 <xref linkend="valgrind"/>,
81 <ulink url="https://ftp.gnu.org/gnu/intlfonts/">intlfonts</ulink>,
82 <ulink url="http://directory.fsf.org/wiki/Libungif">libungif</ulink>,
83 <ulink url="http://www.nongnu.org/m17n/">libotf</ulink> and
84 <ulink url="http://www.nongnu.org/m17n/">m17n-lib</ulink> - to correctly
85 display such complex scripts as Indic and Khmer, and also for scripts
86 that require Arabic shaping support (Arabic and Farsi), and
87 <ulink url="http://ftp.x.org/pub/individual/lib/">libXaw3d</ulink>
88 </para>
89
90 <para condition="html" role="usernotes">User Notes:
91 <ulink url="&blfs-wiki;/emacs"/></para>
92
93 </sect2>
94
95 <sect2 role="installation">
96 <title>Installation of Emacs</title>
97
98 <para>Install <application>Emacs</application> by running the following
99 commands:</para>
100
101<screen><userinput>./configure --prefix=/usr \
102 --without-gnutls \
103 --localstatedir=/var &amp;&amp;
104make bootstrap</userinput></screen>
105
106 <para>
107 This package does not come with a test suite. If make succeeds, you can
108 test the result by running <command>src/emacs -Q</command>, which is the
109 program that will be installed, with its auxiliary files. This should
110 start and display the application opening screen.
111 </para>
112
113 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
114
115<screen role="root"><userinput>make install &amp;&amp;
116chown -v -R root:root /usr/share/emacs/&emacs-version;</userinput></screen>
117
118 <para>
119
120 This package installs icon files into the <filename
121 class="directory">/usr/share/icons/hicolor</filename> hierarchy and
122 desktop files into the <filename
123 class="directory">/usr/share/applications</filename> hierarchy. You
124 can improve system performance and memory usage by updating
125 <filename>/usr/share/icons/hicolor/icon-theme.cache</filename> and
126 <filename>/usr/share/applications/mimeinfo.cache</filename>. To
127 perform the update you must have <xref linkend="gtk2"/> or <xref
128 linkend="gtk3"/> installed (for the icon cache) and <xref
129 linkend="desktop-file-utils"/> (for the desktop cache) and issue
130 the following commands as the <systemitem
131 class="username">root</systemitem> user:
132
133 </para>
134
135<screen role="root"><userinput>gtk-update-icon-cache -t -f --include-image-data /usr/share/icons/hicolor &amp;&amp;
136update-desktop-database</userinput></screen>
137
138 </sect2>
139
140 <sect2 role="commands">
141 <title>Command Explanations</title>
142
143 <para><parameter>--without-gnutls</parameter>: Currently, build is broken
144 with gnutls-3.4 and later.</para>
145
146 <para><option>--localstatedir=/var</option>: Create game score files
147 in <filename class='directory'>/var/games/emacs</filename> instead
148 of <filename class='directory'>/usr/var/games/emacs</filename>.</para>
149
150 </sect2>
151
152 <sect2 role="content">
153 <title>Contents</title>
154
155 <segmentedlist>
156 <segtitle>Installed Programs</segtitle>
157 <segtitle>Installed Libraries</segtitle>
158 <segtitle>Installed Directories</segtitle>
159
160 <seglistitem>
161 <seg>ctags,
162 ebrowse,
163 emacs (symlink),
164 emacs&emacs-version;,
165 emacsclient,
166 etags, and
167 grep-changelog</seg>
168 <seg>None</seg>
169 <seg>/usr/libexec/emacs,
170 /usr/share/emacs, and
171 /var/games/emacs</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="ctags">
181 <term><command>ctags</command></term>
182 <listitem>
183 <para>creates cross-reference tagfile database files
184 for source code.</para>
185 <indexterm zone="emacs ctags">
186 <primary sortas="b-ctags">ctags</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="ebrowse">
192 <term><command>ebrowse</command></term>
193 <listitem>
194 <para>permits browsing of C++ class hierarchies from
195 within <command>emacs</command>.</para>
196 <indexterm zone="emacs ebrowse">
197 <primary sortas="b-ebrowse">ebrowse</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 <varlistentry id="emacs-prog">
203 <term><command>emacs</command></term>
204 <listitem>
205 <para>is an editor.</para>
206 <indexterm zone="emacs emacs-prog">
207 <primary sortas="b-emacs">emacs</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="emacsclient">
213 <term><command>emacsclient</command></term>
214 <listitem>
215 <para>attaches an <command>emacs</command> session to an already
216 running <command>emacsserver</command> instance.</para>
217 <indexterm zone="emacs emacsclient">
218 <primary sortas="b-emacsclient">emacsclient</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry id="etags">
224 <term><command>etags</command></term>
225 <listitem>
226 <para>is another program to generate source code
227 cross-reference tagfiles.</para>
228 <indexterm zone="emacs etags">
229 <primary sortas="b-etags">etags</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 <varlistentry id="grep-changelog">
235 <term><command>grep-changelog</command></term>
236 <listitem>
237 <para>prints entries in Change Logs matching
238 various criteria.</para>
239 <indexterm zone="emacs grep-changelog">
240 <primary sortas="b-grep-changelog">grep-changelog</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244<!--
245 <varlistentry id="rcs-checkin">
246 <term><command>rcs-checkin</command></term>
247 <listitem>
248 <para>is a shell script used to check files into RCS.</para>
249 <indexterm zone="emacs rcs-checkin">
250 <primary sortas="b-rcs-checkin">rcs-checkin</primary>
251 </indexterm>
252 </listitem>
253 </varlistentry>-->
254
255 </variablelist>
256
257 </sect2>
258
259</sect1>
Note: See TracBrowser for help on using the repository browser.