source: postlfs/editors/emacs.xml@ 6973d03

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 6973d03 was 6973d03, checked in by Fernando de Oliveira <fernando@…>, 9 years ago

emacs-24.5: statistics in previous commit obtained not using bootstrap. Fixing now.

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

  • Property mode set to 100644
File size: 8.5 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"/>,
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="mitkrb"/>,
79 <ulink url="https://ftp.gnu.org/gnu/intlfonts/">intlfonts</ulink>,
80 <ulink url="http://directory.fsf.org/wiki/Libungif">libungif</ulink>,
81 <ulink url="http://www.nongnu.org/m17n/">libotf</ulink> and
82 <ulink url="http://www.nongnu.org/m17n/">m17n-lib</ulink> - to correctly
83 display such complex scripts as Indic and Khmer, and also for scripts
84 that require Arabic shaping support (Arabic and Farsi), and
85 <ulink url="http://ftp.x.org/pub/individual/lib/">libXaw3d</ulink>
86 </para>
87
88 <para condition="html" role="usernotes">User Notes:
89 <ulink url="&blfs-wiki;/emacs"/></para>
90
91 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of Emacs</title>
95
96 <para>Install <application>Emacs</application> by running the following
97 commands:</para>
98
99<screen><userinput>./configure --prefix=/usr \
100 --localstatedir=/var &amp;&amp;
101make bootstrap</userinput></screen>
102
103 <para>
104 This package does not come with a test suite. If make succeeds, you can
105 test the result running <command>src/emacs -Q</command>, which is the
106 program that will be installed, with its auxiliary files. This should
107 start and display the application opening screen.
108 </para>
109
110 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
111
112<screen role="root"><userinput>make install &amp;&amp;
113chown -v -R root:root /usr/share/emacs/&emacs-version;</userinput></screen>
114
115 <para>
116
117 This package installs icon files into the <filename
118 class="directory">/usr/share/icons/hicolor</filename> hierarchy and
119 desktop files into the <filename
120 class="directory">/usr/share/applications</filename> hierarchy. You
121 can improve system performance and memory usage by updating
122 <filename>/usr/share/icons/hicolor/icon-theme.cache</filename> and
123 <filename>/usr/share/applications/mimeinfo.cache</filename>. To
124 perform the update you must have <xref linkend="gtk2"/> or <xref
125 linkend="gtk3"/> installed (for the icon cache) and <xref
126 linkend="desktop-file-utils"/> (for the desktop cache) and issue
127 the following commands as the <systemitem
128 class="username">root</systemitem> user:
129
130 </para>
131
132<screen role="root"><userinput>gtk-update-icon-cache -t -f --include-image-data /usr/share/icons/hicolor &amp;&amp;
133update-desktop-database</userinput></screen>
134
135 </sect2>
136
137 <sect2 role="commands">
138 <title>Command Explanations</title>
139
140 <para><option>--localstatedir=/var</option>: Create game score files
141 in <filename class='directory'>/var/games/emacs</filename> instead
142 of <filename class='directory'>/usr/var/games/emacs</filename>.</para>
143
144 </sect2>
145
146 <sect2 role="content">
147 <title>Contents</title>
148
149 <segmentedlist>
150 <segtitle>Installed Programs</segtitle>
151 <segtitle>Installed Libraries</segtitle>
152 <segtitle>Installed Directories</segtitle>
153
154 <seglistitem>
155 <seg>ctags,
156 ebrowse,
157 emacs (symlink),
158 emacs&emacs-version;,
159 emacsclient,
160 etags, and
161 grep-changelog</seg>
162 <seg>None</seg>
163 <seg>/usr/libexec/emacs,
164 /usr/share/emacs, and
165 /var/games/emacs</seg>
166 </seglistitem>
167 </segmentedlist>
168
169 <variablelist>
170 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
171 <?dbfo list-presentation="list"?>
172 <?dbhtml list-presentation="table"?>
173
174 <varlistentry id="ctags">
175 <term><command>ctags</command></term>
176 <listitem>
177 <para>creates cross-reference tagfile database files
178 for source code.</para>
179 <indexterm zone="emacs ctags">
180 <primary sortas="b-ctags">ctags</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="ebrowse">
186 <term><command>ebrowse</command></term>
187 <listitem>
188 <para>permits browsing of C++ class hierarchies from
189 within <command>emacs</command>.</para>
190 <indexterm zone="emacs ebrowse">
191 <primary sortas="b-ebrowse">ebrowse</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 <varlistentry id="emacs-prog">
197 <term><command>emacs</command></term>
198 <listitem>
199 <para>is an editor.</para>
200 <indexterm zone="emacs emacs-prog">
201 <primary sortas="b-emacs">emacs</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="emacsclient">
207 <term><command>emacsclient</command></term>
208 <listitem>
209 <para>attaches an <command>emacs</command> session to an already
210 running <command>emacsserver</command> instance.</para>
211 <indexterm zone="emacs emacsclient">
212 <primary sortas="b-emacsclient">emacsclient</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 <varlistentry id="etags">
218 <term><command>etags</command></term>
219 <listitem>
220 <para>is another program to generate source code
221 cross-reference tagfiles.</para>
222 <indexterm zone="emacs etags">
223 <primary sortas="b-etags">etags</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 <varlistentry id="grep-changelog">
229 <term><command>grep-changelog</command></term>
230 <listitem>
231 <para>prints entries in Change Logs matching
232 various criteria.</para>
233 <indexterm zone="emacs grep-changelog">
234 <primary sortas="b-grep-changelog">grep-changelog</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238<!--
239 <varlistentry id="rcs-checkin">
240 <term><command>rcs-checkin</command></term>
241 <listitem>
242 <para>is a shell script used to check files into RCS.</para>
243 <indexterm zone="emacs rcs-checkin">
244 <primary sortas="b-rcs-checkin">rcs-checkin</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>-->
248
249 </variablelist>
250
251 </sect2>
252
253</sect1>
Note: See TracBrowser for help on using the repository browser.