glfs/postlfs/editors/emacs.xml
Bruce Dubbs e54771c048 Update to ImageMagick-7.0.1-1.
Fix/Mark several packages for gcc6.



git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17325 af4574ff-66df-0310-9fd7-8a98e5e911e0
2016-05-06 21:08:59 +00:00

259 lines
8.7 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY emacs-download-http "https://ftp.gnu.org/pub/gnu/emacs/emacs-&emacs-version;.tar.xz">
<!ENTITY emacs-download-ftp "ftp://ftp.gnu.org/pub/gnu/emacs/emacs-&emacs-version;.tar.xz">
<!ENTITY emacs-md5sum "50560ee00bac9bb9cf0e822764cd0832">
<!ENTITY emacs-size "38 MB">
<!ENTITY emacs-buildsize "474 MB">
<!ENTITY emacs-time "1.2 SBU">
]>
<sect1 id="emacs" xreflabel="Emacs-&emacs-version;">
<?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>
<para>The <application>Emacs</application> package contains an extensible,
customizable, self-documenting real-time display editor.</para>
&lfs79_checked;
&gcc6_checked;
<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>
<bridgehead renderas="sect3">Emacs Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="x-window-system"/>,
<xref linkend="alsa-lib"/>,
<xref linkend="dbus"/>,
<xref linkend="GConf"/>,
<xref linkend="giflib"/>,
<xref linkend="gnutls"/>,
<xref linkend="gobject-introspection"/>,
<xref linkend="gsettings-desktop-schemas"/>,
<xref linkend="gpm"/>,
<xref linkend="gtk2"/> or <xref linkend="gtk3"/>,
<xref linkend="imagemagick"/>,
<xref linkend="libjpeg"/>,
<xref linkend="libpng"/>,
<xref linkend="librsvg"/>,
<xref linkend="libtiff"/>,
<xref linkend="libxml2"/>,
<xref linkend="mitkrb"/>,
<xref linkend="valgrind"/>,
<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>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/emacs"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of Emacs</title>
<para>Install <application>Emacs</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr --localstatedir=/var &amp;&amp;
make</userinput></screen>
<!-- make bootstrap only necessary for development versions obtained with git
-->
<para>
This package does not come with a test suite. If make succeeds, you can
test the result by running <command>src/emacs -Q</command>, which is the
program that will be installed, with its auxiliary files. This should
start and display the application opening screen.
</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install &amp;&amp;
chown -v -R root:root /usr/share/emacs/&emacs-version;</userinput></screen>
<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>
<screen role="root"><userinput>gtk-update-icon-cache -t -f --include-image-data /usr/share/icons/hicolor &amp;&amp;
update-desktop-database</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><parameter>--localstatedir=/var</parameter>: Create game score files
in <filename class='directory'>/var/games/emacs</filename> instead
of <filename class='directory'>/usr/var/games/emacs</filename>.</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>ctags,
ebrowse,
emacs (symlink),
emacs-&emacs-version;,
emacsclient,
etags, and
grep-changelog</seg>
<seg>None</seg>
<seg>/usr/libexec/emacs,
/usr/share/emacs, and
/var/games/emacs</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="ctags">
<term><command>ctags</command></term>
<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>
<para>attaches an <command>emacs</command> session to an already
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>
<!--
<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>
</varlistentry>-->
</variablelist>
</sect2>
</sect1>