mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-31 12:32:13 +08:00
cac7f93e44
the rendered book, but allows to simplify the dependency chain for jhalfs git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22169 af4574ff-66df-0310-9fd7-8a98e5e911e0
267 lines
9.0 KiB
XML
267 lines
9.0 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 "&gnu-http;/emacs/emacs-&emacs-version;.tar.xz">
|
|
<!ENTITY emacs-download-ftp "&gnu-ftp;/emacs/emacs-&emacs-version;.tar.xz">
|
|
<!ENTITY emacs-download-ftp " ">
|
|
<!ENTITY emacs-md5sum "0a2e4b965d31a7cb1930eae3b79df793">
|
|
<!ENTITY emacs-size "42 MB">
|
|
<!ENTITY emacs-buildsize "434 MB">
|
|
<!ENTITY emacs-time "0.6 SBU (Using parallelism=4)">
|
|
]>
|
|
|
|
<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>
|
|
|
|
&lfs90_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">Recommended</bridgehead>
|
|
<para role="recommended">
|
|
<xref linkend="giflib"/>,
|
|
<xref linkend="gnutls"/>, and
|
|
<xref linkend="libtiff"/>
|
|
</para>
|
|
|
|
<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="gobject-introspection"/>,
|
|
<xref linkend="gsettings-desktop-schemas"/>,
|
|
<xref linkend="gpm"/>,
|
|
<xref role="nodep" linkend="gtk2"/> or <xref linkend="gtk3"/>,
|
|
<xref linkend="imagemagick6"/> (see command explanations),
|
|
<xref linkend="libjpeg"/>,
|
|
<xref linkend="libpng"/>,
|
|
<xref linkend="librsvg"/>,
|
|
<xref linkend="libxml2"/>,
|
|
<xref linkend="mitkrb"/>,
|
|
<xref linkend="valgrind"/>,
|
|
<ulink url="&gnu-http;/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="&xorg-download-http;/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 &&
|
|
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" revision="systemd"><userinput>make install &&
|
|
chown -v -R root:root /usr/share/emacs/&emacs-version;</userinput></screen>
|
|
|
|
<screen role="root" revision="sysv"><userinput>make install &&
|
|
chown -v -R root:root /usr/share/emacs/&emacs-version; &&
|
|
rm -vf /usr/lib/systemd/user/emacs.service</userinput></screen>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
href="../../xincludes/gtk-update-icon-cache.xml"/>
|
|
|
|
</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>
|
|
|
|
<para><option>IMAGEMAGICK_CFLAGS=-I/usr/include/ImageMagick-6
|
|
IMAGEMAGICK_LIBS="-lMagickCore-6.Q16HDRI -lMagick++-6.Q16HDRI
|
|
-lMagickWand-6.Q16HDRI" </option>:
|
|
use these when you invoke configure if you have installed <xref
|
|
linkend="imagemagick6"/> and wish to link to them (the normal unversioned
|
|
pkgconfig files collide with <xref linkend="imagemagick"/> which this
|
|
package cannot use).</para>
|
|
|
|
<para><option>--with-gif=no</option>: Use this if you have not installed
|
|
<xref linkend="giflib"/> or
|
|
<ulink url="http://directory.fsf.org/wiki/Libungif">libungif</ulink>.</para>
|
|
|
|
<para><option>--with-tiff=no</option>: Use this if you have not installed
|
|
<xref linkend="libtiff"/>.</para>
|
|
|
|
<para><option>--with-gnutls=no</option>: Use this if you have not installed
|
|
<xref linkend="gnutls"/>.</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>
|