source: postlfs/editors/emacs.xml@ 473f435

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 473f435 was 473f435, checked in by Fernando de Oliveira <fernando@…>, 8 years ago
  • libarchive-3.1.2: minor reformat.
  • emacs-24.5: works with GnuTLS-3.4.7; new statistics; some other minor fixes.

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

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