source: postlfs/editors/emacs.xml@ 14d1bd9

10.0 10.1 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 14d1bd9 was 14d1bd9, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Update to gtk+3.24.22.
Update to emacs-27.1.
Update to pango-1.46.0.
Update to vala-0.48.9.

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

  • Property mode set to 100644
File size: 9.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 "&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 "f1f25356b68ec69caccd41d95988d23d">
11 <!ENTITY emacs-size "42 MB">
12 <!ENTITY emacs-buildsize "480 MB">
13 <!ENTITY emacs-time "0.7 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 &lfs91_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="giflib"/>,
79 <xref linkend="gnutls"/>, and
80 <xref linkend="libtiff"/>
81 </para>
82
83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
85 <xref linkend="x-window-system"/>,
86 <xref linkend="alsa-lib"/>,
87 <xref linkend="dbus"/>,
88 <xref linkend="GConf"/>,
89 <xref linkend="gobject-introspection"/>,
90 <xref linkend="gsettings-desktop-schemas"/>,
91 <xref linkend="gpm"/>,
92 <xref role="nodep" linkend="gtk2"/> or <xref linkend="gtk3"/>,
93 <xref linkend="imagemagick6"/> (see command explanations),
94 <xref linkend="libjpeg"/>,
95 <xref linkend="libpng"/>,
96 <xref linkend="librsvg"/>,
97 <xref linkend="libxml2"/>,
98 <xref linkend="mitkrb"/>,
99 <xref linkend="valgrind"/>,
100 <ulink url="&gnu-http;/intlfonts/">intlfonts</ulink>,
101 <ulink url="http://directory.fsf.org/wiki/Libungif">libungif</ulink>,
102 <ulink url="http://www.nongnu.org/m17n/">libotf</ulink> and
103 <ulink url="http://www.nongnu.org/m17n/">m17n-lib</ulink> - to correctly
104 display such complex scripts as Indic and Khmer, and also for scripts
105 that require Arabic shaping support (Arabic and Farsi), and
106 <ulink url="&xorg-download-http;/lib/">libXaw3d</ulink>
107 </para>
108
109 <para condition="html" role="usernotes">User Notes:
110 <ulink url="&blfs-wiki;/emacs"/></para>
111
112 </sect2>
113
114 <sect2 role="installation">
115 <title>Installation of Emacs</title>
116
117 <para>
118 Install <application>Emacs</application> by running the following
119 commands:
120 </para>
121
122<screen><userinput>./configure --prefix=/usr --localstatedir=/var &amp;&amp;
123make</userinput></screen>
124<!-- make bootstrap only necessary for development versions obtained with git
125-->
126
127 <para>
128 This package does not come with a test suite. If make succeeds, you can
129 test the result by running <command>src/emacs -Q</command>, which is the
130 program that will be installed, with its auxiliary files. This should
131 start and display the application opening screen.
132 </para>
133
134 <para>
135 Now, as the <systemitem class="username">root</systemitem> user:
136 </para>
137
138<screen role="root" revision="systemd"><userinput>make install &amp;&amp;
139chown -v -R root:root /usr/share/emacs/&emacs-version;</userinput></screen>
140
141<screen role="root" revision="sysv"><userinput>make install &amp;&amp;
142chown -v -R root:root /usr/share/emacs/&emacs-version; &amp;&amp;
143rm -vf /usr/lib/systemd/user/emacs.service</userinput></screen>
144
145 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
146 href="../../xincludes/gtk-update-icon-cache.xml"/>
147
148 </sect2>
149
150 <sect2 role="commands">
151 <title>Command Explanations</title>
152
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 <para>
160 <option>IMAGEMAGICK_CFLAGS=-I/usr/include/ImageMagick-6
161 IMAGEMAGICK_LIBS="-lMagickCore-6.Q16HDRI -lMagick++-6.Q16HDRI
162 -lMagickWand-6.Q16HDRI" </option>:
163 use these when you invoke configure if you have installed <xref
164 linkend="imagemagick6"/> and wish to link to them (the normal unversioned
165 pkgconfig files collide with <xref linkend="imagemagick"/> which this
166 package cannot use).
167 </para>
168
169 <para>
170 <option>--with-gif=no</option>: Use this if you have not installed
171 <xref linkend="giflib"/> or
172 <ulink url="http://directory.fsf.org/wiki/Libungif">libungif</ulink>.
173 </para>
174
175 <para>
176 <option>--with-tiff=no</option>: Use this if you have not installed
177 <xref linkend="libtiff"/>.
178 </para>
179
180 <para>
181 <option>--with-gnutls=no</option>: Use this if you have not installed
182 <xref linkend="gnutls"/>.
183 </para>
184
185 </sect2>
186
187 <sect2 role="content">
188 <title>Contents</title>
189
190 <segmentedlist>
191 <segtitle>Installed Programs</segtitle>
192 <segtitle>Installed Libraries</segtitle>
193 <segtitle>Installed Directories</segtitle>
194
195 <seglistitem>
196 <seg>ctags,
197 ebrowse,
198 emacs (symlink),
199 emacs-&emacs-version;,
200 emacsclient,
201 etags, and
202 grep-changelog</seg>
203 <seg>None</seg>
204 <seg>/usr/libexec/emacs,
205 /usr/share/emacs, and
206 /var/games/emacs</seg>
207 </seglistitem>
208 </segmentedlist>
209
210 <variablelist>
211 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
212 <?dbfo list-presentation="list"?>
213 <?dbhtml list-presentation="table"?>
214
215 <varlistentry id="ctags">
216 <term><command>ctags</command></term>
217 <listitem>
218 <para>
219 creates cross-reference tagfile database files
220 for source code.
221 </para>
222 <indexterm zone="emacs ctags">
223 <primary sortas="b-ctags">ctags</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 <varlistentry id="ebrowse">
229 <term><command>ebrowse</command></term>
230 <listitem>
231 <para>
232 permits browsing of C++ class hierarchies from
233 within <command>emacs</command>.
234 </para>
235 <indexterm zone="emacs ebrowse">
236 <primary sortas="b-ebrowse">ebrowse</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
241 <varlistentry id="emacs-prog">
242 <term><command>emacs</command></term>
243 <listitem>
244 <para>
245 is an editor.
246 </para>
247 <indexterm zone="emacs emacs-prog">
248 <primary sortas="b-emacs">emacs</primary>
249 </indexterm>
250 </listitem>
251 </varlistentry>
252
253 <varlistentry id="emacsclient">
254 <term><command>emacsclient</command></term>
255 <listitem>
256 <para>
257 attaches an <command>emacs</command> session to an already
258 running <command>emacsserver</command> instance.
259 </para>
260 <indexterm zone="emacs emacsclient">
261 <primary sortas="b-emacsclient">emacsclient</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="etags">
267 <term><command>etags</command></term>
268 <listitem>
269 <para>
270 is another program to generate source code
271 cross-reference tagfiles.
272 </para>
273 <indexterm zone="emacs etags">
274 <primary sortas="b-etags">etags</primary>
275 </indexterm>
276 </listitem>
277 </varlistentry>
278
279 <varlistentry id="grep-changelog">
280 <term><command>grep-changelog</command></term>
281 <listitem>
282 <para>
283 prints entries in Change Logs matching
284 various criteria.
285 </para>
286 <indexterm zone="emacs grep-changelog">
287 <primary sortas="b-grep-changelog">grep-changelog</primary>
288 </indexterm>
289 </listitem>
290 </varlistentry>
291<!--
292 <varlistentry id="rcs-checkin">
293 <term><command>rcs-checkin</command></term>
294 <listitem>
295 <para>
296 is a shell script used to check files into RCS.
297 </para>
298 <indexterm zone="emacs rcs-checkin">
299 <primary sortas="b-rcs-checkin">rcs-checkin</primary>
300 </indexterm>
301 </listitem>
302 </varlistentry>-->
303
304 </variablelist>
305
306 </sect2>
307
308</sect1>
Note: See TracBrowser for help on using the repository browser.