source: postlfs/editors/emacs.xml@ 920e139

12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since 920e139 was 990dbf0, checked in by Bruce Dubbs <bdubbs@…>, 10 months ago

Remove obsolete references to gtk2

  • Property mode set to 100644
File size: 8.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">
[8558044]8 <!ENTITY emacs-download-ftp "&gnu-ftp;/emacs/emacs-&emacs-version;.tar.xz">
9 <!ENTITY emacs-download-ftp " ">
[f590513]10 <!ENTITY emacs-md5sum "e0631d868a13b503a5feef042435b67c">
11 <!ENTITY emacs-size "50 MB">
12 <!ENTITY emacs-buildsize "732 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
20 <title>Emacs-&emacs-version;</title>
21
22 <indexterm zone="emacs">
23 <primary sortas="a-Emacs">Emacs</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to Emacs</title>
28
[f716ef4]29 <para>
30 The <application>Emacs</application> package contains an extensible,
31 customizable, self-documenting real-time display editor.
32 </para>
[ed59474e]33
[fbd04125]34 &lfs120_checked;
[e237c169]35
[ed59474e]36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
[f716ef4]39 <para>
40 Download (HTTP): <ulink url="&emacs-download-http;"/>
41 </para>
[ed59474e]42 </listitem>
43 <listitem>
[f716ef4]44 <para>
45 Download (FTP): <ulink url="&emacs-download-ftp;"/>
46 </para>
[ed59474e]47 </listitem>
48 <listitem>
[f716ef4]49 <para>
50 Download MD5 sum: &emacs-md5sum;
51 </para>
[ed59474e]52 </listitem>
53 <listitem>
[f716ef4]54 <para>
55 Download size: &emacs-size;
56 </para>
[ed59474e]57 </listitem>
58 <listitem>
[f716ef4]59 <para>
60 Estimated disk space required: &emacs-buildsize;
61 </para>
[ed59474e]62 </listitem>
63 <listitem>
[f716ef4]64 <para>
65 Estimated build time: &emacs-time;
66 </para>
[ed59474e]67 </listitem>
68 </itemizedlist>
69
[c0a34eb]70 <bridgehead renderas="sect3">Emacs Dependencies</bridgehead>
[ed59474e]71
[043a3842]72 <bridgehead renderas="sect4">Recommended</bridgehead>
73 <para role="recommended">
[8404399]74 <xref linkend="harfbuzz"/>,
[96fcf51]75 <xref linkend="giflib"/>,
[8404399]76 <xref linkend="gnutls"/>,
77 <xref linkend="jansson"/>, and
[96fcf51]78 <xref linkend="libtiff"/>
[043a3842]79 </para>
80
[ed59474e]81 <bridgehead renderas="sect4">Optional</bridgehead>
[54666831]82 <para role="optional">
83 <xref linkend="x-window-system"/>,
84 <xref linkend="alsa-lib"/>,
[8404399]85 <xref linkend="cairo"/>,
[54666831]86 <xref linkend="dbus"/>,
[6608c8f]87 <xref linkend="GConf"/>,
[54666831]88 <xref linkend="gobject-introspection"/>,
[6608c8f]89 <xref linkend="gsettings-desktop-schemas"/>,
[54666831]90 <xref linkend="gpm"/>,
[990dbf0]91 <xref linkend="gtk3"/>,
[918c149]92 <xref linkend="imagemagick"/>,
[8404399]93 <xref linkend="lcms2"/>,
[54666831]94 <xref linkend="libjpeg"/>,
95 <xref linkend="libpng"/>,
96 <xref linkend="librsvg"/>,
[f590513]97 <xref linkend="libseccomp"/>,
98 <xref linkend="libwebp"/>,
[b9f3ff5c]99 <xref linkend="libxml2"/>,
[6608c8f]100 <xref linkend="mitkrb"/>,
[f590513]101 <xref linkend="sqlite"/>,
[b9f3ff5c]102 <xref linkend="valgrind"/>,
[8dfc5c3]103 <ulink url="&gnu-http;/intlfonts/">intlfonts</ulink>,
[cd29bc9]104 <ulink url="https://directory.fsf.org/wiki/Libungif">libungif</ulink>,
105 <ulink url="https://www.nongnu.org/m17n/">libotf</ulink>, and
106 <ulink url="https://www.nongnu.org/m17n/">m17n-lib</ulink> - to correctly
[6608c8f]107 display such complex scripts as Indic and Khmer, and also for scripts
[8404399]108 that require Arabic shaping support (Arabic and Farsi),
109 <ulink url="https://mailutils.org/">mailutils</ulink>, and
[e622c0b]110 <ulink url="&xorg-download-http;/lib/">libXaw3d</ulink>
[54666831]111 </para>
[ed59474e]112
113 </sect2>
114
115 <sect2 role="installation">
116 <title>Installation of Emacs</title>
117
[f716ef4]118 <para>
119 Install <application>Emacs</application> by running the following
120 commands:
121 </para>
[ed59474e]122
[8404399]123<screen><userinput>./configure --prefix=/usr &amp;&amp;
[ca8bcae9]124make</userinput></screen>
[ed59474e]125
[6608c8f]126 <para>
127 This package does not come with a test suite. If make succeeds, you can
[5d5234b]128 test the result by running <command>src/emacs -Q</command>, which is the
[6608c8f]129 program that will be installed, with its auxiliary files. This should
130 start and display the application opening screen.
131 </para>
[c1ac942]132
[f716ef4]133 <para>
134 Now, as the <systemitem class="username">root</systemitem> user:
135 </para>
[ed59474e]136
[2ab28c8]137<screen role="root" revision="systemd"><userinput>make install &amp;&amp;
[755379cb]138chown -v -R root:root /usr/share/emacs/&emacs-version;</userinput></screen>
[ed59474e]139
[2ab28c8]140<screen role="root" revision="sysv"><userinput>make install &amp;&amp;
141chown -v -R root:root /usr/share/emacs/&emacs-version; &amp;&amp;
142rm -vf /usr/lib/systemd/user/emacs.service</userinput></screen>
143
[00d040d]144 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
145 href="../../xincludes/gtk-update-icon-cache.xml"/>
[cdabd810]146
[ed59474e]147 </sect2>
148
[32ccdf34]149 <sect2 role="commands">
150 <title>Command Explanations</title>
151
[8558044]152 <!-- With 27.2, it writes scores to ~/.emacs.d/games
[f716ef4]153 <para>
[8404399]154 <parameter>- -localstatedir=/var</parameter>: Create game score files
[f716ef4]155 in <filename class='directory'>/var/games/emacs</filename> instead
156 of <filename class='directory'>/usr/var/games/emacs</filename>.
157 </para>
[8404399]158 -->
[755379cb]159
[f716ef4]160 <para>
[918c149]161 <option>--with-imagemagick</option>: Use this if you have installed
162 <xref linkend="imagemagick"/> and wish to link against it.
[f716ef4]163 </para>
[d113301]164
[f716ef4]165 <para>
166 <option>--with-gif=no</option>: Use this if you have not installed
[8558044]167 <xref linkend="giflib"/> or
[cd29bc9]168 <ulink url="https://directory.fsf.org/wiki/Libungif">libungif</ulink>.
[f716ef4]169 </para>
[043a3842]170
[f716ef4]171 <para>
172 <option>--with-tiff=no</option>: Use this if you have not installed
173 <xref linkend="libtiff"/>.
174 </para>
[96fcf51]175
[f716ef4]176 <para>
177 <option>--with-gnutls=no</option>: Use this if you have not installed
178 <xref linkend="gnutls"/>.
179 </para>
[96fcf51]180
[8404399]181 <para>
182 <option>--without-harfbuzz</option>: Use this if you have not installed
183 <xref linkend="harfbuzz"/>.
184 </para>
185
186 <para>
187 <option>--with-json=no</option>: Use this if you have not installed
188 <xref linkend="jansson"/>.
189 </para>
190
[32ccdf34]191 </sect2>
192
[ed59474e]193 <sect2 role="content">
194 <title>Contents</title>
195
196 <segmentedlist>
197 <segtitle>Installed Programs</segtitle>
198 <segtitle>Installed Libraries</segtitle>
199 <segtitle>Installed Directories</segtitle>
200
201 <seglistitem>
[f3429309]202 <seg>ctags,
203 ebrowse,
204 emacs (symlink),
[473f4358]205 emacs-&emacs-version;,
[8404399]206 emacsclient, and
207 etags</seg>
[ed59474e]208 <seg>None</seg>
[8404399]209 <seg>/usr/libexec/emacs and
210 /usr/share/emacs</seg>
[ed59474e]211 </seglistitem>
212 </segmentedlist>
213
214 <variablelist>
215 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
216 <?dbfo list-presentation="list"?>
217 <?dbhtml list-presentation="table"?>
218
219 <varlistentry id="ctags">
[550ca80]220 <term><command>ctags</command></term>
[ed59474e]221 <listitem>
[f716ef4]222 <para>
223 creates cross-reference tagfile database files
[4c24eb0a]224 for source code
[f716ef4]225 </para>
[ed59474e]226 <indexterm zone="emacs ctags">
227 <primary sortas="b-ctags">ctags</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="ebrowse">
233 <term><command>ebrowse</command></term>
234 <listitem>
[f716ef4]235 <para>
236 permits browsing of C++ class hierarchies from
[4c24eb0a]237 within <command>emacs</command>
[f716ef4]238 </para>
[ed59474e]239 <indexterm zone="emacs ebrowse">
240 <primary sortas="b-ebrowse">ebrowse</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
245 <varlistentry id="emacs-prog">
246 <term><command>emacs</command></term>
247 <listitem>
[f716ef4]248 <para>
[4c24eb0a]249 is an editor
[f716ef4]250 </para>
[ed59474e]251 <indexterm zone="emacs emacs-prog">
252 <primary sortas="b-emacs">emacs</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
256
257 <varlistentry id="emacsclient">
258 <term><command>emacsclient</command></term>
259 <listitem>
[f716ef4]260 <para>
261 attaches an <command>emacs</command> session to an already
[4c24eb0a]262 running <command>emacsserver</command> instance
[f716ef4]263 </para>
[ed59474e]264 <indexterm zone="emacs emacsclient">
265 <primary sortas="b-emacsclient">emacsclient</primary>
266 </indexterm>
267 </listitem>
268 </varlistentry>
269
270 <varlistentry id="etags">
271 <term><command>etags</command></term>
272 <listitem>
[f716ef4]273 <para>
274 is another program to generate source code
[4c24eb0a]275 cross-reference tagfiles
[f716ef4]276 </para>
[ed59474e]277 <indexterm zone="emacs etags">
278 <primary sortas="b-etags">etags</primary>
279 </indexterm>
280 </listitem>
281 </varlistentry>
282
283 </variablelist>
[b5951ec]284
[ed59474e]285 </sect2>
[f45b1953]286
287</sect1>
Note: See TracBrowser for help on using the repository browser.