source: postlfs/editors/emacs.xml@ 06cc0fc

12.1 12.2 gimp3 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128
Last change on this file since 06cc0fc was e1e58be, checked in by Pierre Labastie <pierre.labastie@…>, 11 months ago

Remove all ftp urls

neither firefox nor epiphany can download them, and they are not
well maintained, because rarely tested.
This is WIP because the "(HTTP)" part of "Download (HTTP)" will
need to be removed too.
But let's see what users think first...

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