source: postlfs/editors/emacs.xml@ da008f7

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 da008f7 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
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 " ">
[14d1bd9]10 <!ENTITY emacs-md5sum "f1f25356b68ec69caccd41d95988d23d">
[7fe2fc8]11 <!ENTITY emacs-size "42 MB">
[14d1bd9]12 <!ENTITY emacs-buildsize "480 MB">
13 <!ENTITY emacs-time "0.7 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
[34fe2633]38 &lfs91_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">
[96fcf51]78 <xref linkend="giflib"/>,
79 <xref linkend="gnutls"/>, and
80 <xref linkend="libtiff"/>
[043a3842]81 </para>
82
[ed59474e]83 <bridgehead renderas="sect4">Optional</bridgehead>
[54666831]84 <para role="optional">
85 <xref linkend="x-window-system"/>,
86 <xref linkend="alsa-lib"/>,
87 <xref linkend="dbus"/>,
[6608c8f]88 <xref linkend="GConf"/>,
[54666831]89 <xref linkend="gobject-introspection"/>,
[6608c8f]90 <xref linkend="gsettings-desktop-schemas"/>,
[54666831]91 <xref linkend="gpm"/>,
[cac7f93]92 <xref role="nodep" linkend="gtk2"/> or <xref linkend="gtk3"/>,
[d113301]93 <xref linkend="imagemagick6"/> (see command explanations),
[54666831]94 <xref linkend="libjpeg"/>,
95 <xref linkend="libpng"/>,
96 <xref linkend="librsvg"/>,
[b9f3ff5c]97 <xref linkend="libxml2"/>,
[6608c8f]98 <xref linkend="mitkrb"/>,
[b9f3ff5c]99 <xref linkend="valgrind"/>,
[8dfc5c3]100 <ulink url="&gnu-http;/intlfonts/">intlfonts</ulink>,
[6608c8f]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
[e622c0b]106 <ulink url="&xorg-download-http;/lib/">libXaw3d</ulink>
[54666831]107 </para>
[ed59474e]108
[3597eb6]109 <para condition="html" role="usernotes">User Notes:
110 <ulink url="&blfs-wiki;/emacs"/></para>
111
[ed59474e]112 </sect2>
113
114 <sect2 role="installation">
115 <title>Installation of Emacs</title>
116
[f716ef4]117 <para>
118 Install <application>Emacs</application> by running the following
119 commands:
120 </para>
[ed59474e]121
[9831a90]122<screen><userinput>./configure --prefix=/usr --localstatedir=/var &amp;&amp;
[ca8bcae9]123make</userinput></screen>
124<!-- make bootstrap only necessary for development versions obtained with git
125-->
[ed59474e]126
[6608c8f]127 <para>
128 This package does not come with a test suite. If make succeeds, you can
[5d5234b]129 test the result by running <command>src/emacs -Q</command>, which is the
[6608c8f]130 program that will be installed, with its auxiliary files. This should
131 start and display the application opening screen.
132 </para>
[c1ac942]133
[f716ef4]134 <para>
135 Now, as the <systemitem class="username">root</systemitem> user:
136 </para>
[ed59474e]137
[2ab28c8]138<screen role="root" revision="systemd"><userinput>make install &amp;&amp;
[755379cb]139chown -v -R root:root /usr/share/emacs/&emacs-version;</userinput></screen>
[ed59474e]140
[2ab28c8]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
[00d040d]145 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
146 href="../../xincludes/gtk-update-icon-cache.xml"/>
[cdabd810]147
[ed59474e]148 </sect2>
149
[32ccdf34]150 <sect2 role="commands">
151 <title>Command Explanations</title>
152
[f716ef4]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>
[755379cb]158
[f716ef4]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>
[d113301]168
[f716ef4]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>
[043a3842]174
[f716ef4]175 <para>
176 <option>--with-tiff=no</option>: Use this if you have not installed
177 <xref linkend="libtiff"/>.
178 </para>
[96fcf51]179
[f716ef4]180 <para>
181 <option>--with-gnutls=no</option>: Use this if you have not installed
182 <xref linkend="gnutls"/>.
183 </para>
[96fcf51]184
[32ccdf34]185 </sect2>
186
[ed59474e]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>
[f3429309]196 <seg>ctags,
197 ebrowse,
198 emacs (symlink),
[473f435]199 emacs-&emacs-version;,
[f3429309]200 emacsclient,
201 etags, and
[66cb475]202 grep-changelog</seg>
[ed59474e]203 <seg>None</seg>
[34fb49a7]204 <seg>/usr/libexec/emacs,
[f3429309]205 /usr/share/emacs, and
[8607f108]206 /var/games/emacs</seg>
[ed59474e]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">
[550ca80]216 <term><command>ctags</command></term>
[ed59474e]217 <listitem>
[f716ef4]218 <para>
219 creates cross-reference tagfile database files
220 for source code.
221 </para>
[ed59474e]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>
[f716ef4]231 <para>
232 permits browsing of C++ class hierarchies from
233 within <command>emacs</command>.
234 </para>
[ed59474e]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>
[f716ef4]244 <para>
245 is an editor.
246 </para>
[ed59474e]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>
[f716ef4]256 <para>
257 attaches an <command>emacs</command> session to an already
258 running <command>emacsserver</command> instance.
259 </para>
[ed59474e]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>
[f716ef4]269 <para>
270 is another program to generate source code
271 cross-reference tagfiles.
272 </para>
[ed59474e]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>
[f716ef4]282 <para>
283 prints entries in Change Logs matching
284 various criteria.
285 </para>
[ed59474e]286 <indexterm zone="emacs grep-changelog">
287 <primary sortas="b-grep-changelog">grep-changelog</primary>
288 </indexterm>
289 </listitem>
290 </varlistentry>
[2bf87d8]291<!--
[ed59474e]292 <varlistentry id="rcs-checkin">
293 <term><command>rcs-checkin</command></term>
294 <listitem>
[f716ef4]295 <para>
296 is a shell script used to check files into RCS.
297 </para>
[ed59474e]298 <indexterm zone="emacs rcs-checkin">
299 <primary sortas="b-rcs-checkin">rcs-checkin</primary>
300 </indexterm>
301 </listitem>
[2bf87d8]302 </varlistentry>-->
[a7a755a]303
[ed59474e]304 </variablelist>
[b5951ec]305
[ed59474e]306 </sect2>
[f45b1953]307
308</sect1>
Note: See TracBrowser for help on using the repository browser.