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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 1d76821 was 1d76821, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

More tags

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

  • Property mode set to 100644
File size: 9.3 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 "https://ftp.gnu.org/pub/gnu/emacs/emacs-&emacs-version;.tar.xz">
8 <!ENTITY emacs-download-ftp "ftp://ftp.gnu.org/pub/gnu/emacs/emacs-&emacs-version;.tar.xz">
9 <!ENTITY emacs-download-ftp " ">
10 <!ENTITY emacs-md5sum "4f3d42fb22823a659e16bfa89078a74c">
11 <!ENTITY emacs-size "41 MB">
12 <!ENTITY emacs-buildsize "352 MB">
13 <!ENTITY emacs-time "1.2 SBU">
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>The <application>Emacs</application> package contains an extensible,
34 customizable, self-documenting real-time display editor.</para>
35
36 &lfs80_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&emacs-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&emacs-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &emacs-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &emacs-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &emacs-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &emacs-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">Emacs Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Optional</bridgehead>
63 <para role="optional">
64 <xref linkend="x-window-system"/>,
65 <xref linkend="alsa-lib"/>,
66 <xref linkend="dbus"/>,
67 <xref linkend="GConf"/>,
68 <xref linkend="giflib"/>,
69 <xref linkend="gnutls"/>,
70 <xref linkend="gobject-introspection"/>,
71 <xref linkend="gsettings-desktop-schemas"/>,
72 <xref linkend="gpm"/>,
73 <xref linkend="gtk2"/> or <xref linkend="gtk3"/>,
74 <xref linkend="imagemagick6"/> (see command explanations),
75 <xref linkend="libjpeg"/>,
76 <xref linkend="libpng"/>,
77 <xref linkend="librsvg"/>,
78 <xref linkend="libtiff"/>,
79 <xref linkend="libxml2"/>,
80 <xref linkend="mitkrb"/>,
81 <xref linkend="valgrind"/>,
82 <ulink url="https://ftp.gnu.org/gnu/intlfonts/">intlfonts</ulink>,
83 <ulink url="http://directory.fsf.org/wiki/Libungif">libungif</ulink>,
84 <ulink url="http://www.nongnu.org/m17n/">libotf</ulink> and
85 <ulink url="http://www.nongnu.org/m17n/">m17n-lib</ulink> - to correctly
86 display such complex scripts as Indic and Khmer, and also for scripts
87 that require Arabic shaping support (Arabic and Farsi), and
88 <ulink url="http://ftp.x.org/pub/individual/lib/">libXaw3d</ulink>
89 </para>
90
91 <para condition="html" role="usernotes">User Notes:
92 <ulink url="&blfs-wiki;/emacs"/></para>
93
94 </sect2>
95
96 <sect2 role="installation">
97 <title>Installation of Emacs</title>
98
99 <para>Install <application>Emacs</application> by running the following
100 commands:</para>
101
102<screen><userinput>./autogen.sh &amp;&amp;
103./configure --prefix=/usr --localstatedir=/var &amp;&amp;
104make</userinput></screen>
105<!-- make bootstrap only necessary for development versions obtained with git
106-->
107
108 <para>
109 This package does not come with a test suite. If make succeeds, you can
110 test the result by running <command>src/emacs -Q</command>, which is the
111 program that will be installed, with its auxiliary files. This should
112 start and display the application opening screen.
113 </para>
114
115 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
116
117<screen role="root"><userinput>make install &amp;&amp;
118chown -v -R root:root /usr/share/emacs/25.1</userinput></screen>
119<!--
120
121Change back to this wiht the stable release is made
122
123chown -v -R root:root /usr/share/emacs/&emacs-version;</userinput></screen>
124-->
125
126 <para>
127
128 This package installs icon files into the <filename
129 class="directory">/usr/share/icons/hicolor</filename> hierarchy and
130 desktop files into the <filename
131 class="directory">/usr/share/applications</filename> hierarchy. You
132 can improve system performance and memory usage by updating
133 <filename>/usr/share/icons/hicolor/icon-theme.cache</filename> and
134 <filename>/usr/share/applications/mimeinfo.cache</filename>. To
135 perform the update you must have <xref linkend="gtk2"/> or <xref
136 linkend="gtk3"/> installed (for the icon cache) and <xref
137 linkend="desktop-file-utils"/> (for the desktop cache) and issue
138 the following commands as the <systemitem
139 class="username">root</systemitem> user:
140
141 </para>
142
143<screen role="root"><userinput>gtk-update-icon-cache -t -f --include-image-data /usr/share/icons/hicolor &amp;&amp;
144update-desktop-database</userinput></screen>
145
146 </sect2>
147
148 <sect2 role="commands">
149 <title>Command Explanations</title>
150
151 <para><parameter>--localstatedir=/var</parameter>: Create game score files
152 in <filename class='directory'>/var/games/emacs</filename> instead
153 of <filename class='directory'>/usr/var/games/emacs</filename>.</para>
154
155 <para><option>IMAGEMAGICK_CFLAGS=-I/usr/include/ImageMagick-6
156 IMAGEMAGICK_LIBS="-lMagickCore-6.Q16HDRI -lMagick++-6.Q16HDRI
157 -lMagickWand-6.Q16HDRI" </option>:
158 use these when you invoke configure if you have installe <xref
159 linkend="imagemagick6"/> and wish to link to them (the normal unversioned
160 pkgconfig files collide with <xref linkend="imagemagick"/> which this
161 package cannot use).</para>
162
163 </sect2>
164
165 <sect2 role="content">
166 <title>Contents</title>
167
168 <segmentedlist>
169 <segtitle>Installed Programs</segtitle>
170 <segtitle>Installed Libraries</segtitle>
171 <segtitle>Installed Directories</segtitle>
172
173 <seglistitem>
174 <seg>ctags,
175 ebrowse,
176 emacs (symlink),
177 emacs-&emacs-version;,
178 emacsclient,
179 etags, and
180 grep-changelog</seg>
181 <seg>None</seg>
182 <seg>/usr/libexec/emacs,
183 /usr/share/emacs, and
184 /var/games/emacs</seg>
185 </seglistitem>
186 </segmentedlist>
187
188 <variablelist>
189 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
190 <?dbfo list-presentation="list"?>
191 <?dbhtml list-presentation="table"?>
192
193 <varlistentry id="ctags">
194 <term><command>ctags</command></term>
195 <listitem>
196 <para>creates cross-reference tagfile database files
197 for source code.</para>
198 <indexterm zone="emacs ctags">
199 <primary sortas="b-ctags">ctags</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="ebrowse">
205 <term><command>ebrowse</command></term>
206 <listitem>
207 <para>permits browsing of C++ class hierarchies from
208 within <command>emacs</command>.</para>
209 <indexterm zone="emacs ebrowse">
210 <primary sortas="b-ebrowse">ebrowse</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="emacs-prog">
216 <term><command>emacs</command></term>
217 <listitem>
218 <para>is an editor.</para>
219 <indexterm zone="emacs emacs-prog">
220 <primary sortas="b-emacs">emacs</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 <varlistentry id="emacsclient">
226 <term><command>emacsclient</command></term>
227 <listitem>
228 <para>attaches an <command>emacs</command> session to an already
229 running <command>emacsserver</command> instance.</para>
230 <indexterm zone="emacs emacsclient">
231 <primary sortas="b-emacsclient">emacsclient</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 <varlistentry id="etags">
237 <term><command>etags</command></term>
238 <listitem>
239 <para>is another program to generate source code
240 cross-reference tagfiles.</para>
241 <indexterm zone="emacs etags">
242 <primary sortas="b-etags">etags</primary>
243 </indexterm>
244 </listitem>
245 </varlistentry>
246
247 <varlistentry id="grep-changelog">
248 <term><command>grep-changelog</command></term>
249 <listitem>
250 <para>prints entries in Change Logs matching
251 various criteria.</para>
252 <indexterm zone="emacs grep-changelog">
253 <primary sortas="b-grep-changelog">grep-changelog</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257<!--
258 <varlistentry id="rcs-checkin">
259 <term><command>rcs-checkin</command></term>
260 <listitem>
261 <para>is a shell script used to check files into RCS.</para>
262 <indexterm zone="emacs rcs-checkin">
263 <primary sortas="b-rcs-checkin">rcs-checkin</primary>
264 </indexterm>
265 </listitem>
266 </varlistentry>-->
267
268 </variablelist>
269
270 </sect2>
271
272</sect1>
Note: See TracBrowser for help on using the repository browser.