source: postlfs/editors/emacs.xml@ 043a3842

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 043a3842 was 043a3842, checked in by Pierre Labastie <pieere@…>, 7 years ago

Fix emacs dependencies

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

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