2004-06-11 14:33:09 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-11 14:33:09 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2015-04-12 02:04:17 +08:00
|
|
|
<!ENTITY emacs-download-http "https://ftp.gnu.org/pub/gnu/emacs/emacs-&emacs-version;.tar.xz">
|
2013-07-13 09:29:51 +08:00
|
|
|
<!ENTITY emacs-download-ftp "ftp://ftp.gnu.org/pub/gnu/emacs/emacs-&emacs-version;.tar.xz">
|
2015-04-12 02:04:17 +08:00
|
|
|
<!ENTITY emacs-md5sum "50560ee00bac9bb9cf0e822764cd0832">
|
2014-10-22 07:07:16 +08:00
|
|
|
<!ENTITY emacs-size "38 MB">
|
2015-12-22 01:33:41 +08:00
|
|
|
<!ENTITY emacs-buildsize "474 MB">
|
|
|
|
<!ENTITY emacs-time "1.2 SBU">
|
2004-06-11 14:33:09 +08:00
|
|
|
]>
|
|
|
|
|
2005-02-11 09:40:36 +08:00
|
|
|
<sect1 id="emacs" xreflabel="Emacs-&emacs-version;">
|
2005-05-14 01:30:44 +08:00
|
|
|
<?dbhtml filename="emacs.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>Emacs-&emacs-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="emacs">
|
|
|
|
<primary sortas="a-Emacs">Emacs</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Emacs</title>
|
|
|
|
|
2005-07-27 10:00:09 +08:00
|
|
|
<para>The <application>Emacs</application> package contains an extensible,
|
2005-05-14 01:30:44 +08:00
|
|
|
customizable, self-documenting real-time display editor.</para>
|
|
|
|
|
2016-03-03 10:22:08 +08:00
|
|
|
&lfs79_checked;
|
2016-05-07 05:08:59 +08:00
|
|
|
&gcc6_checked;
|
2012-02-11 06:23:24 +08:00
|
|
|
|
2005-05-14 01:30:44 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&emacs-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&emacs-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &emacs-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &emacs-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &emacs-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &emacs-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2005-05-14 01:43:03 +08:00
|
|
|
<bridgehead renderas="sect3">Emacs Dependencies</bridgehead>
|
2005-05-14 01:30:44 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2014-05-13 04:37:37 +08:00
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="x-window-system"/>,
|
|
|
|
<xref linkend="alsa-lib"/>,
|
|
|
|
<xref linkend="dbus"/>,
|
2015-04-12 02:04:17 +08:00
|
|
|
<xref linkend="GConf"/>,
|
|
|
|
<xref linkend="giflib"/>,
|
2015-12-22 01:33:41 +08:00
|
|
|
<xref linkend="gnutls"/>,
|
2014-05-13 04:37:37 +08:00
|
|
|
<xref linkend="gobject-introspection"/>,
|
2015-04-12 02:04:17 +08:00
|
|
|
<xref linkend="gsettings-desktop-schemas"/>,
|
2014-05-13 04:37:37 +08:00
|
|
|
<xref linkend="gpm"/>,
|
|
|
|
<xref linkend="gtk2"/> or <xref linkend="gtk3"/>,
|
|
|
|
<xref linkend="imagemagick"/>,
|
|
|
|
<xref linkend="libjpeg"/>,
|
|
|
|
<xref linkend="libpng"/>,
|
|
|
|
<xref linkend="librsvg"/>,
|
2015-04-12 02:04:17 +08:00
|
|
|
<xref linkend="libtiff"/>,
|
2015-04-12 20:12:55 +08:00
|
|
|
<xref linkend="libxml2"/>,
|
2015-04-12 02:04:17 +08:00
|
|
|
<xref linkend="mitkrb"/>,
|
2015-04-12 20:12:55 +08:00
|
|
|
<xref linkend="valgrind"/>,
|
2015-04-12 02:04:17 +08:00
|
|
|
<ulink url="https://ftp.gnu.org/gnu/intlfonts/">intlfonts</ulink>,
|
|
|
|
<ulink url="http://directory.fsf.org/wiki/Libungif">libungif</ulink>,
|
|
|
|
<ulink url="http://www.nongnu.org/m17n/">libotf</ulink> and
|
|
|
|
<ulink url="http://www.nongnu.org/m17n/">m17n-lib</ulink> - to correctly
|
|
|
|
display such complex scripts as Indic and Khmer, and also for scripts
|
|
|
|
that require Arabic shaping support (Arabic and Farsi), and
|
|
|
|
<ulink url="http://ftp.x.org/pub/individual/lib/">libXaw3d</ulink>
|
2014-05-13 04:37:37 +08:00
|
|
|
</para>
|
2005-05-14 01:30:44 +08:00
|
|
|
|
2006-04-11 02:38:22 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/emacs"/></para>
|
|
|
|
|
2005-05-14 01:30:44 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Emacs</title>
|
|
|
|
|
2005-05-31 05:56:54 +08:00
|
|
|
<para>Install <application>Emacs</application> by running the following
|
2005-05-14 01:30:44 +08:00
|
|
|
commands:</para>
|
|
|
|
|
2015-12-22 01:33:41 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr --localstatedir=/var &&
|
|
|
|
|
2015-05-06 21:24:18 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
<!-- make bootstrap only necessary for development versions obtained with git
|
|
|
|
-->
|
2005-05-14 01:30:44 +08:00
|
|
|
|
2015-04-12 02:04:17 +08:00
|
|
|
<para>
|
|
|
|
This package does not come with a test suite. If make succeeds, you can
|
2015-04-27 19:55:50 +08:00
|
|
|
test the result by running <command>src/emacs -Q</command>, which is the
|
2015-04-12 02:04:17 +08:00
|
|
|
program that will be installed, with its auxiliary files. This should
|
|
|
|
start and display the application opening screen.
|
|
|
|
</para>
|
2006-10-12 12:46:44 +08:00
|
|
|
|
2005-05-14 01:30:44 +08:00
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
2007-08-18 03:03:17 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
|
|
|
chown -v -R root:root /usr/share/emacs/&emacs-version;</userinput></screen>
|
2005-05-14 01:30:44 +08:00
|
|
|
|
2015-04-12 02:04:17 +08:00
|
|
|
<para>
|
|
|
|
|
|
|
|
This package installs icon files into the <filename
|
|
|
|
class="directory">/usr/share/icons/hicolor</filename> hierarchy and
|
|
|
|
desktop files into the <filename
|
|
|
|
class="directory">/usr/share/applications</filename> hierarchy. You
|
|
|
|
can improve system performance and memory usage by updating
|
|
|
|
<filename>/usr/share/icons/hicolor/icon-theme.cache</filename> and
|
|
|
|
<filename>/usr/share/applications/mimeinfo.cache</filename>. To
|
|
|
|
perform the update you must have <xref linkend="gtk2"/> or <xref
|
|
|
|
linkend="gtk3"/> installed (for the icon cache) and <xref
|
|
|
|
linkend="desktop-file-utils"/> (for the desktop cache) and issue
|
|
|
|
the following commands as the <systemitem
|
|
|
|
class="username">root</systemitem> user:
|
|
|
|
|
|
|
|
</para>
|
2014-02-22 21:34:10 +08:00
|
|
|
|
2015-04-12 02:04:17 +08:00
|
|
|
<screen role="root"><userinput>gtk-update-icon-cache -t -f --include-image-data /usr/share/icons/hicolor &&
|
|
|
|
update-desktop-database</userinput></screen>
|
2014-02-22 21:34:10 +08:00
|
|
|
|
2005-05-14 01:30:44 +08:00
|
|
|
</sect2>
|
|
|
|
|
2006-04-27 12:28:51 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2015-12-22 01:33:41 +08:00
|
|
|
<para><parameter>--localstatedir=/var</parameter>: Create game score files
|
2007-08-18 03:03:17 +08:00
|
|
|
in <filename class='directory'>/var/games/emacs</filename> instead
|
|
|
|
of <filename class='directory'>/usr/var/games/emacs</filename>.</para>
|
|
|
|
|
2006-04-27 12:28:51 +08:00
|
|
|
</sect2>
|
|
|
|
|
2005-05-14 01:30:44 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2015-11-13 22:24:57 +08:00
|
|
|
<seg>ctags,
|
|
|
|
ebrowse,
|
|
|
|
emacs (symlink),
|
2015-12-22 01:33:41 +08:00
|
|
|
emacs-&emacs-version;,
|
2015-11-13 22:24:57 +08:00
|
|
|
emacsclient,
|
|
|
|
etags, and
|
2014-10-22 07:07:16 +08:00
|
|
|
grep-changelog</seg>
|
2005-05-14 01:30:44 +08:00
|
|
|
<seg>None</seg>
|
2014-02-22 11:47:03 +08:00
|
|
|
<seg>/usr/libexec/emacs,
|
2015-11-13 22:24:57 +08:00
|
|
|
/usr/share/emacs, and
|
2013-07-13 09:29:51 +08:00
|
|
|
/var/games/emacs</seg>
|
2005-05-14 01:30:44 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="ctags">
|
2005-07-07 22:29:34 +08:00
|
|
|
<term><command>ctags</command></term>
|
2005-05-14 01:30:44 +08:00
|
|
|
<listitem>
|
|
|
|
<para>creates cross-reference tagfile database files
|
|
|
|
for source code.</para>
|
|
|
|
<indexterm zone="emacs ctags">
|
|
|
|
<primary sortas="b-ctags">ctags</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="ebrowse">
|
|
|
|
<term><command>ebrowse</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>permits browsing of C++ class hierarchies from
|
|
|
|
within <command>emacs</command>.</para>
|
|
|
|
<indexterm zone="emacs ebrowse">
|
|
|
|
<primary sortas="b-ebrowse">ebrowse</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="emacs-prog">
|
|
|
|
<term><command>emacs</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is an editor.</para>
|
|
|
|
<indexterm zone="emacs emacs-prog">
|
|
|
|
<primary sortas="b-emacs">emacs</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="emacsclient">
|
|
|
|
<term><command>emacsclient</command></term>
|
|
|
|
<listitem>
|
2005-07-27 10:00:09 +08:00
|
|
|
<para>attaches an <command>emacs</command> session to an already
|
2005-05-14 01:30:44 +08:00
|
|
|
running <command>emacsserver</command> instance.</para>
|
|
|
|
<indexterm zone="emacs emacsclient">
|
|
|
|
<primary sortas="b-emacsclient">emacsclient</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="etags">
|
|
|
|
<term><command>etags</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is another program to generate source code
|
|
|
|
cross-reference tagfiles.</para>
|
|
|
|
<indexterm zone="emacs etags">
|
|
|
|
<primary sortas="b-etags">etags</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="grep-changelog">
|
|
|
|
<term><command>grep-changelog</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>prints entries in Change Logs matching
|
|
|
|
various criteria.</para>
|
|
|
|
<indexterm zone="emacs grep-changelog">
|
|
|
|
<primary sortas="b-grep-changelog">grep-changelog</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2014-10-22 22:27:57 +08:00
|
|
|
<!--
|
2005-05-14 01:30:44 +08:00
|
|
|
<varlistentry id="rcs-checkin">
|
|
|
|
<term><command>rcs-checkin</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a shell script used to check files into RCS.</para>
|
|
|
|
<indexterm zone="emacs rcs-checkin">
|
|
|
|
<primary sortas="b-rcs-checkin">rcs-checkin</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
2014-10-22 22:27:57 +08:00
|
|
|
</varlistentry>-->
|
2005-02-11 09:40:36 +08:00
|
|
|
|
2005-05-14 01:30:44 +08:00
|
|
|
</variablelist>
|
2004-06-11 14:33:09 +08:00
|
|
|
|
2005-05-14 01:30:44 +08:00
|
|
|
</sect2>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect1>
|