source: postlfs/editors/emacs.xml@ 1fa9c74

11.0 11.1 11.2 11.3 12.0 12.1 12.2 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1fa9c74 was 8404399, checked in by Douglas R. Reno <renodr@…>, 4 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
RevLine 
[b5951ec]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[b5951ec]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[8dfc5c3]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">
[a72cdddf]9 <!ENTITY emacs-download-ftp " ">
[8404399]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)">
[b5951ec]14]>
15
[a7a755a]16<sect1 id="emacs" xreflabel="Emacs-&emacs-version;">
[ed59474e]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
[f716ef4]33 <para>
34 The <application>Emacs</application> package contains an extensible,
35 customizable, self-documenting real-time display editor.
36 </para>
[ed59474e]37
[f3d413ca]38 &lfs101_checked;
[e237c169]39
[ed59474e]40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
[f716ef4]43 <para>
44 Download (HTTP): <ulink url="&emacs-download-http;"/>
45 </para>
[ed59474e]46 </listitem>
47 <listitem>
[f716ef4]48 <para>
49 Download (FTP): <ulink url="&emacs-download-ftp;"/>
50 </para>
[ed59474e]51 </listitem>
52 <listitem>
[f716ef4]53 <para>
54 Download MD5 sum: &emacs-md5sum;
55 </para>
[ed59474e]56 </listitem>
57 <listitem>
[f716ef4]58 <para>
59 Download size: &emacs-size;
60 </para>
[ed59474e]61 </listitem>
62 <listitem>
[f716ef4]63 <para>
64 Estimated disk space required: &emacs-buildsize;
65 </para>
[ed59474e]66 </listitem>
67 <listitem>
[f716ef4]68 <para>
69 Estimated build time: &emacs-time;
70 </para>
[ed59474e]71 </listitem>
72 </itemizedlist>
73
[c0a34eb]74 <bridgehead renderas="sect3">Emacs Dependencies</bridgehead>
[ed59474e]75
[043a3842]76 <bridgehead renderas="sect4">Recommended</bridgehead>
77 <para role="recommended">
[8404399]78 <xref linkend="harfbuzz"/>,
[96fcf51]79 <xref linkend="giflib"/>,
[8404399]80 <xref linkend="gnutls"/>,
81 <xref linkend="jansson"/>, and
[96fcf51]82 <xref linkend="libtiff"/>
[043a3842]83 </para>
84
[ed59474e]85 <bridgehead renderas="sect4">Optional</bridgehead>
[54666831]86 <para role="optional">
87 <xref linkend="x-window-system"/>,
88 <xref linkend="alsa-lib"/>,
[8404399]89 <xref linkend="cairo"/>,
[54666831]90 <xref linkend="dbus"/>,
[6608c8f]91 <xref linkend="GConf"/>,
[54666831]92 <xref linkend="gobject-introspection"/>,
[6608c8f]93 <xref linkend="gsettings-desktop-schemas"/>,
[54666831]94 <xref linkend="gpm"/>,
[cac7f93]95 <xref role="nodep" linkend="gtk2"/> or <xref linkend="gtk3"/>,
[918c149]96 <xref linkend="imagemagick"/>,
[8404399]97 <xref linkend="lcms2"/>,
[54666831]98 <xref linkend="libjpeg"/>,
99 <xref linkend="libpng"/>,
100 <xref linkend="librsvg"/>,
[b9f3ff5c]101 <xref linkend="libxml2"/>,
[6608c8f]102 <xref linkend="mitkrb"/>,
[b9f3ff5c]103 <xref linkend="valgrind"/>,
[8dfc5c3]104 <ulink url="&gnu-http;/intlfonts/">intlfonts</ulink>,
[6608c8f]105 <ulink url="http://directory.fsf.org/wiki/Libungif">libungif</ulink>,
[8404399]106 <ulink url="http://www.nongnu.org/m17n/">libotf</ulink>, and
[6608c8f]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
[8404399]109 that require Arabic shaping support (Arabic and Farsi),
110 <ulink url="https://mailutils.org/">mailutils</ulink>, and
[e622c0b]111 <ulink url="&xorg-download-http;/lib/">libXaw3d</ulink>
[54666831]112 </para>
[ed59474e]113
[3597eb6]114 <para condition="html" role="usernotes">User Notes:
115 <ulink url="&blfs-wiki;/emacs"/></para>
116
[ed59474e]117 </sect2>
118
119 <sect2 role="installation">
120 <title>Installation of Emacs</title>
121
[f716ef4]122 <para>
123 Install <application>Emacs</application> by running the following
124 commands:
125 </para>
[ed59474e]126
[8404399]127<screen><userinput>./configure --prefix=/usr &amp;&amp;
[ca8bcae9]128make</userinput></screen>
129<!-- make bootstrap only necessary for development versions obtained with git
130-->
[ed59474e]131
[6608c8f]132 <para>
133 This package does not come with a test suite. If make succeeds, you can
[5d5234b]134 test the result by running <command>src/emacs -Q</command>, which is the
[6608c8f]135 program that will be installed, with its auxiliary files. This should
136 start and display the application opening screen.
137 </para>
[c1ac942]138
[f716ef4]139 <para>
140 Now, as the <systemitem class="username">root</systemitem> user:
141 </para>
[ed59474e]142
[2ab28c8]143<screen role="root" revision="systemd"><userinput>make install &amp;&amp;
[755379cb]144chown -v -R root:root /usr/share/emacs/&emacs-version;</userinput></screen>
[ed59474e]145
[2ab28c8]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
[00d040d]150 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
151 href="../../xincludes/gtk-update-icon-cache.xml"/>
[cdabd810]152
[ed59474e]153 </sect2>
154
[32ccdf34]155 <sect2 role="commands">
156 <title>Command Explanations</title>
157
[8404399]158 <!-- With 27.2, it writes scores to ~/.emacs.d/games
[f716ef4]159 <para>
[8404399]160 <parameter>- -localstatedir=/var</parameter>: Create game score files
[f716ef4]161 in <filename class='directory'>/var/games/emacs</filename> instead
162 of <filename class='directory'>/usr/var/games/emacs</filename>.
163 </para>
[8404399]164 -->
[755379cb]165
[f716ef4]166 <para>
[918c149]167 <option>--with-imagemagick</option>: Use this if you have installed
168 <xref linkend="imagemagick"/> and wish to link against it.
[f716ef4]169 </para>
[d113301]170
[f716ef4]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>
[043a3842]176
[f716ef4]177 <para>
178 <option>--with-tiff=no</option>: Use this if you have not installed
179 <xref linkend="libtiff"/>.
180 </para>
[96fcf51]181
[f716ef4]182 <para>
183 <option>--with-gnutls=no</option>: Use this if you have not installed
184 <xref linkend="gnutls"/>.
185 </para>
[96fcf51]186
[8404399]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
[32ccdf34]197 </sect2>
198
[ed59474e]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>
[f3429309]208 <seg>ctags,
209 ebrowse,
210 emacs (symlink),
[473f4358]211 emacs-&emacs-version;,
[8404399]212 emacsclient, and
213 etags</seg>
[ed59474e]214 <seg>None</seg>
[8404399]215 <seg>/usr/libexec/emacs and
216 /usr/share/emacs</seg>
[ed59474e]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">
[550ca80]226 <term><command>ctags</command></term>
[ed59474e]227 <listitem>
[f716ef4]228 <para>
229 creates cross-reference tagfile database files
[4c24eb0a]230 for source code
[f716ef4]231 </para>
[ed59474e]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>
[f716ef4]241 <para>
242 permits browsing of C++ class hierarchies from
[4c24eb0a]243 within <command>emacs</command>
[f716ef4]244 </para>
[ed59474e]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>
[f716ef4]254 <para>
[4c24eb0a]255 is an editor
[f716ef4]256 </para>
[ed59474e]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>
[f716ef4]266 <para>
267 attaches an <command>emacs</command> session to an already
[4c24eb0a]268 running <command>emacsserver</command> instance
[f716ef4]269 </para>
[ed59474e]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>
[f716ef4]279 <para>
280 is another program to generate source code
[4c24eb0a]281 cross-reference tagfiles
[f716ef4]282 </para>
[ed59474e]283 <indexterm zone="emacs etags">
284 <primary sortas="b-etags">etags</primary>
285 </indexterm>
286 </listitem>
287 </varlistentry>
288
[8404399]289<!-- Not seen with 27.2
[ed59474e]290 <varlistentry id="grep-changelog">
291 <term><command>grep-changelog</command></term>
292 <listitem>
[f716ef4]293 <para>
294 prints entries in Change Logs matching
[4c24eb0a]295 various criteria
[f716ef4]296 </para>
[ed59474e]297 <indexterm zone="emacs grep-changelog">
298 <primary sortas="b-grep-changelog">grep-changelog</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
[8404399]302-->
[2bf87d8]303<!--
[ed59474e]304 <varlistentry id="rcs-checkin">
305 <term><command>rcs-checkin</command></term>
306 <listitem>
[f716ef4]307 <para>
308 is a shell script used to check files into RCS.
309 </para>
[ed59474e]310 <indexterm zone="emacs rcs-checkin">
311 <primary sortas="b-rcs-checkin">rcs-checkin</primary>
312 </indexterm>
313 </listitem>
[2bf87d8]314 </varlistentry>-->
[a7a755a]315
[ed59474e]316 </variablelist>
[b5951ec]317
[ed59474e]318 </sect2>
[f45b1953]319
320</sect1>
Note: See TracBrowser for help on using the repository browser.