[b5951ec] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[b5951ec] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[ac38e9dc] | 7 | <!ENTITY emacs-download-http "https://ftp.gnu.org/pub/gnu/emacs/emacs-&emacs-version;.tar.xz">
|
---|
[8607f108] | 8 | <!ENTITY emacs-download-ftp "ftp://ftp.gnu.org/pub/gnu/emacs/emacs-&emacs-version;.tar.xz">
|
---|
[ac38e9dc] | 9 | <!ENTITY emacs-md5sum "50560ee00bac9bb9cf0e822764cd0832">
|
---|
[703ac75] | 10 | <!ENTITY emacs-size "38 MB">
|
---|
[ac38e9dc] | 11 | <!ENTITY emacs-buildsize "482 MB">
|
---|
| 12 | <!ENTITY emacs-time "4.6 SBU">
|
---|
[b5951ec] | 13 | ]>
|
---|
| 14 |
|
---|
[a7a755a] | 15 | <sect1 id="emacs" xreflabel="Emacs-&emacs-version;">
|
---|
[ed59474e] | 16 | <?dbhtml filename="emacs.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Emacs-&emacs-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="emacs">
|
---|
| 26 | <primary sortas="a-Emacs">Emacs</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Emacs</title>
|
---|
| 31 |
|
---|
[13679edb] | 32 | <para>The <application>Emacs</application> package contains an extensible,
|
---|
[ed59474e] | 33 | customizable, self-documenting real-time display editor.</para>
|
---|
| 34 |
|
---|
[ac38e9dc] | 35 | &lfs77_checked;
|
---|
[e237c169] | 36 |
|
---|
[ed59474e] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&emacs-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&emacs-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &emacs-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &emacs-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &emacs-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &emacs-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
[c0a34eb] | 59 | <bridgehead renderas="sect3">Emacs Dependencies</bridgehead>
|
---|
[ed59474e] | 60 |
|
---|
| 61 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[54666831] | 62 | <para role="optional">
|
---|
| 63 | <xref linkend="x-window-system"/>,
|
---|
| 64 | <xref linkend="alsa-lib"/>,
|
---|
| 65 | <xref linkend="dbus"/>,
|
---|
[ac38e9dc] | 66 | <xref linkend="GConf"/>,
|
---|
| 67 | <xref linkend="giflib"/>,
|
---|
| 68 | <xref linkend="gnutls"/> (currently broken),
|
---|
[54666831] | 69 | <xref linkend="gobject-introspection"/>,
|
---|
[ac38e9dc] | 70 | <xref linkend="gsettings-desktop-schemas"/>,
|
---|
[54666831] | 71 | <xref linkend="gpm"/>,
|
---|
| 72 | <xref linkend="gtk2"/> or <xref linkend="gtk3"/>,
|
---|
| 73 | <xref linkend="imagemagick"/>,
|
---|
| 74 | <xref linkend="libjpeg"/>,
|
---|
| 75 | <xref linkend="libpng"/>,
|
---|
| 76 | <xref linkend="librsvg"/>,
|
---|
[ac38e9dc] | 77 | <xref linkend="libtiff"/>,
|
---|
| 78 | <xref linkend="libxml2"/>,
|
---|
| 79 | <xref linkend="mitkrb"/>,
|
---|
| 80 | <xref linkend="valgrind"/>,
|
---|
| 81 | <ulink url="https://ftp.gnu.org/gnu/intlfonts/">intlfonts</ulink>,
|
---|
| 82 | <ulink url="http://directory.fsf.org/wiki/Libungif">libungif</ulink>,
|
---|
| 83 | <ulink url="http://www.nongnu.org/m17n/">libotf</ulink> and
|
---|
| 84 | <ulink url="http://www.nongnu.org/m17n/">m17n-lib</ulink> - to correctly
|
---|
| 85 | display such complex scripts as Indic and Khmer, and also for scripts
|
---|
| 86 | that require Arabic shaping support (Arabic and Farsi), and
|
---|
| 87 | <ulink url="http://ftp.x.org/pub/individual/lib/">libXaw3d</ulink>
|
---|
[54666831] | 88 | </para>
|
---|
[ed59474e] | 89 |
|
---|
[3597eb6] | 90 | <para condition="html" role="usernotes">User Notes:
|
---|
| 91 | <ulink url="&blfs-wiki;/emacs"/></para>
|
---|
| 92 |
|
---|
[ed59474e] | 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="installation">
|
---|
| 96 | <title>Installation of Emacs</title>
|
---|
| 97 |
|
---|
[3aa07d1] | 98 | <para>Install <application>Emacs</application> by running the following
|
---|
[ed59474e] | 99 | commands:</para>
|
---|
| 100 |
|
---|
[ac38e9dc] | 101 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 102 | --without-gnutls \
|
---|
| 103 | --localstatedir=/var &&
|
---|
| 104 | make</userinput></screen>
|
---|
[ed59474e] | 105 |
|
---|
[ac38e9dc] | 106 | <para>
|
---|
| 107 | This package does not come with a test suite.
|
---|
| 108 | </para>
|
---|
[c1ac942] | 109 |
|
---|
[ed59474e] | 110 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 111 |
|
---|
[755379cb] | 112 | <screen role="root"><userinput>make install &&
|
---|
| 113 | chown -v -R root:root /usr/share/emacs/&emacs-version;</userinput></screen>
|
---|
[ed59474e] | 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
[32ccdf34] | 117 | <sect2 role="commands">
|
---|
| 118 | <title>Command Explanations</title>
|
---|
| 119 |
|
---|
[ac38e9dc] | 120 | <para><parameter>--without-gnutls</parameter>: This switch disables
|
---|
| 121 | <application>GnuTLS</application> support because building is broken
|
---|
| 122 | with <application>GnuTLS</application> 3.4.0 and later.</para>
|
---|
[32ccdf34] | 123 |
|
---|
[755379cb] | 124 | <para><option>--localstatedir=/var</option>: Create game score files
|
---|
| 125 | in <filename class='directory'>/var/games/emacs</filename> instead
|
---|
| 126 | of <filename class='directory'>/usr/var/games/emacs</filename>.</para>
|
---|
| 127 |
|
---|
[32ccdf34] | 128 | </sect2>
|
---|
| 129 |
|
---|
[ed59474e] | 130 | <sect2 role="content">
|
---|
| 131 | <title>Contents</title>
|
---|
| 132 |
|
---|
| 133 | <segmentedlist>
|
---|
| 134 | <segtitle>Installed Programs</segtitle>
|
---|
| 135 | <segtitle>Installed Libraries</segtitle>
|
---|
| 136 | <segtitle>Installed Directories</segtitle>
|
---|
| 137 |
|
---|
| 138 | <seglistitem>
|
---|
[8607f108] | 139 | <seg>ctags,
|
---|
| 140 | ebrowse,
|
---|
| 141 | emacs,
|
---|
[703ac75] | 142 | emacs&emacs-version;,
|
---|
[8607f108] | 143 | emacsclient,
|
---|
[703ac75] | 144 | etags, and
|
---|
| 145 | grep-changelog</seg>
|
---|
[ed59474e] | 146 | <seg>None</seg>
|
---|
[34fb49a7] | 147 | <seg>/usr/libexec/emacs,
|
---|
[8607f108] | 148 | /usr/share/emacs, and
|
---|
| 149 | /var/games/emacs</seg>
|
---|
[ed59474e] | 150 | </seglistitem>
|
---|
| 151 | </segmentedlist>
|
---|
| 152 |
|
---|
| 153 | <variablelist>
|
---|
| 154 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 155 | <?dbfo list-presentation="list"?>
|
---|
| 156 | <?dbhtml list-presentation="table"?>
|
---|
| 157 |
|
---|
| 158 | <varlistentry id="ctags">
|
---|
[550ca80] | 159 | <term><command>ctags</command></term>
|
---|
[ed59474e] | 160 | <listitem>
|
---|
| 161 | <para>creates cross-reference tagfile database files
|
---|
| 162 | for source code.</para>
|
---|
| 163 | <indexterm zone="emacs ctags">
|
---|
| 164 | <primary sortas="b-ctags">ctags</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 |
|
---|
| 169 | <varlistentry id="ebrowse">
|
---|
| 170 | <term><command>ebrowse</command></term>
|
---|
| 171 | <listitem>
|
---|
| 172 | <para>permits browsing of C++ class hierarchies from
|
---|
| 173 | within <command>emacs</command>.</para>
|
---|
| 174 | <indexterm zone="emacs ebrowse">
|
---|
| 175 | <primary sortas="b-ebrowse">ebrowse</primary>
|
---|
| 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
| 179 |
|
---|
| 180 | <varlistentry id="emacs-prog">
|
---|
| 181 | <term><command>emacs</command></term>
|
---|
| 182 | <listitem>
|
---|
| 183 | <para>is an editor.</para>
|
---|
| 184 | <indexterm zone="emacs emacs-prog">
|
---|
| 185 | <primary sortas="b-emacs">emacs</primary>
|
---|
| 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | <varlistentry id="emacsclient">
|
---|
| 191 | <term><command>emacsclient</command></term>
|
---|
| 192 | <listitem>
|
---|
[13679edb] | 193 | <para>attaches an <command>emacs</command> session to an already
|
---|
[ed59474e] | 194 | running <command>emacsserver</command> instance.</para>
|
---|
| 195 | <indexterm zone="emacs emacsclient">
|
---|
| 196 | <primary sortas="b-emacsclient">emacsclient</primary>
|
---|
| 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
| 201 | <varlistentry id="etags">
|
---|
| 202 | <term><command>etags</command></term>
|
---|
| 203 | <listitem>
|
---|
| 204 | <para>is another program to generate source code
|
---|
| 205 | cross-reference tagfiles.</para>
|
---|
| 206 | <indexterm zone="emacs etags">
|
---|
| 207 | <primary sortas="b-etags">etags</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | <varlistentry id="grep-changelog">
|
---|
| 213 | <term><command>grep-changelog</command></term>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para>prints entries in Change Logs matching
|
---|
| 216 | various criteria.</para>
|
---|
| 217 | <indexterm zone="emacs grep-changelog">
|
---|
| 218 | <primary sortas="b-grep-changelog">grep-changelog</primary>
|
---|
| 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
[ac38e9dc] | 222 | <!--
|
---|
[ed59474e] | 223 | <varlistentry id="rcs-checkin">
|
---|
| 224 | <term><command>rcs-checkin</command></term>
|
---|
| 225 | <listitem>
|
---|
| 226 | <para>is a shell script used to check files into RCS.</para>
|
---|
| 227 | <indexterm zone="emacs rcs-checkin">
|
---|
| 228 | <primary sortas="b-rcs-checkin">rcs-checkin</primary>
|
---|
| 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
[ac38e9dc] | 231 | </varlistentry>-->
|
---|
[a7a755a] | 232 |
|
---|
[ed59474e] | 233 | </variablelist>
|
---|
[b5951ec] | 234 |
|
---|
[ed59474e] | 235 | </sect2>
|
---|
[f45b1953] | 236 |
|
---|
| 237 | </sect1>
|
---|