source: postlfs/editors/emacs.xml@ 2ab28c8

10.0 10.1 11.0 9.0 9.1 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 2ab28c8 was 2ab28c8, checked in by Douglas R. Reno <renodr@…>, 2 years ago

sysv: Remove systemd user unit in Emacs

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

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