[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 |
|
---|
[6608c8f] | 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">
|
---|
[6608c8f] | 9 | <!ENTITY emacs-md5sum "50560ee00bac9bb9cf0e822764cd0832">
|
---|
[66cb475] | 10 | <!ENTITY emacs-size "38 MB">
|
---|
[473f4358] | 11 | <!ENTITY emacs-buildsize "474 MB">
|
---|
| 12 | <!ENTITY emacs-time "1.2 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 |
|
---|
[90cb5d6] | 35 | &lfs78_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"/>,
|
---|
[6608c8f] | 66 | <xref linkend="GConf"/>,
|
---|
| 67 | <xref linkend="giflib"/>,
|
---|
[473f4358] | 68 | <xref linkend="gnutls"/>,
|
---|
[54666831] | 69 | <xref linkend="gobject-introspection"/>,
|
---|
[6608c8f] | 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"/>,
|
---|
[6608c8f] | 77 | <xref linkend="libtiff"/>,
|
---|
[b9f3ff5c] | 78 | <xref linkend="libxml2"/>,
|
---|
[6608c8f] | 79 | <xref linkend="mitkrb"/>,
|
---|
[b9f3ff5c] | 80 | <xref linkend="valgrind"/>,
|
---|
[6608c8f] | 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 |
|
---|
[473f4358] | 101 | <screen><userinput>./configure --prefix=/usr --localstatedir=/var &&
|
---|
| 102 |
|
---|
[ca8bcae9] | 103 | make</userinput></screen>
|
---|
| 104 | <!-- make bootstrap only necessary for development versions obtained with git
|
---|
| 105 | -->
|
---|
[ed59474e] | 106 |
|
---|
[6608c8f] | 107 | <para>
|
---|
| 108 | This package does not come with a test suite. If make succeeds, you can
|
---|
[5d5234b] | 109 | test the result by running <command>src/emacs -Q</command>, which is the
|
---|
[6608c8f] | 110 | program that will be installed, with its auxiliary files. This should
|
---|
| 111 | start and display the application opening screen.
|
---|
| 112 | </para>
|
---|
[c1ac942] | 113 |
|
---|
[ed59474e] | 114 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 115 |
|
---|
[755379cb] | 116 | <screen role="root"><userinput>make install &&
|
---|
| 117 | chown -v -R root:root /usr/share/emacs/&emacs-version;</userinput></screen>
|
---|
[ed59474e] | 118 |
|
---|
[6608c8f] | 119 | <para>
|
---|
| 120 |
|
---|
| 121 | This package installs icon files into the <filename
|
---|
| 122 | class="directory">/usr/share/icons/hicolor</filename> hierarchy and
|
---|
| 123 | desktop files into the <filename
|
---|
| 124 | class="directory">/usr/share/applications</filename> hierarchy. You
|
---|
| 125 | can improve system performance and memory usage by updating
|
---|
| 126 | <filename>/usr/share/icons/hicolor/icon-theme.cache</filename> and
|
---|
| 127 | <filename>/usr/share/applications/mimeinfo.cache</filename>. To
|
---|
| 128 | perform the update you must have <xref linkend="gtk2"/> or <xref
|
---|
| 129 | linkend="gtk3"/> installed (for the icon cache) and <xref
|
---|
| 130 | linkend="desktop-file-utils"/> (for the desktop cache) and issue
|
---|
| 131 | the following commands as the <systemitem
|
---|
| 132 | class="username">root</systemitem> user:
|
---|
| 133 |
|
---|
| 134 | </para>
|
---|
[cdabd810] | 135 |
|
---|
[6608c8f] | 136 | <screen role="root"><userinput>gtk-update-icon-cache -t -f --include-image-data /usr/share/icons/hicolor &&
|
---|
| 137 | update-desktop-database</userinput></screen>
|
---|
[cdabd810] | 138 |
|
---|
[ed59474e] | 139 | </sect2>
|
---|
| 140 |
|
---|
[32ccdf34] | 141 | <sect2 role="commands">
|
---|
| 142 | <title>Command Explanations</title>
|
---|
| 143 |
|
---|
[473f4358] | 144 | <para><parameter>--localstatedir=/var</parameter>: Create game score files
|
---|
[755379cb] | 145 | in <filename class='directory'>/var/games/emacs</filename> instead
|
---|
| 146 | of <filename class='directory'>/usr/var/games/emacs</filename>.</para>
|
---|
| 147 |
|
---|
[32ccdf34] | 148 | </sect2>
|
---|
| 149 |
|
---|
[ed59474e] | 150 | <sect2 role="content">
|
---|
| 151 | <title>Contents</title>
|
---|
| 152 |
|
---|
| 153 | <segmentedlist>
|
---|
| 154 | <segtitle>Installed Programs</segtitle>
|
---|
| 155 | <segtitle>Installed Libraries</segtitle>
|
---|
| 156 | <segtitle>Installed Directories</segtitle>
|
---|
| 157 |
|
---|
| 158 | <seglistitem>
|
---|
[f3429309] | 159 | <seg>ctags,
|
---|
| 160 | ebrowse,
|
---|
| 161 | emacs (symlink),
|
---|
[473f4358] | 162 | emacs-&emacs-version;,
|
---|
[f3429309] | 163 | emacsclient,
|
---|
| 164 | etags, and
|
---|
[66cb475] | 165 | grep-changelog</seg>
|
---|
[ed59474e] | 166 | <seg>None</seg>
|
---|
[34fb49a7] | 167 | <seg>/usr/libexec/emacs,
|
---|
[f3429309] | 168 | /usr/share/emacs, and
|
---|
[8607f108] | 169 | /var/games/emacs</seg>
|
---|
[ed59474e] | 170 | </seglistitem>
|
---|
| 171 | </segmentedlist>
|
---|
| 172 |
|
---|
| 173 | <variablelist>
|
---|
| 174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 175 | <?dbfo list-presentation="list"?>
|
---|
| 176 | <?dbhtml list-presentation="table"?>
|
---|
| 177 |
|
---|
| 178 | <varlistentry id="ctags">
|
---|
[550ca80] | 179 | <term><command>ctags</command></term>
|
---|
[ed59474e] | 180 | <listitem>
|
---|
| 181 | <para>creates cross-reference tagfile database files
|
---|
| 182 | for source code.</para>
|
---|
| 183 | <indexterm zone="emacs ctags">
|
---|
| 184 | <primary sortas="b-ctags">ctags</primary>
|
---|
| 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
| 188 |
|
---|
| 189 | <varlistentry id="ebrowse">
|
---|
| 190 | <term><command>ebrowse</command></term>
|
---|
| 191 | <listitem>
|
---|
| 192 | <para>permits browsing of C++ class hierarchies from
|
---|
| 193 | within <command>emacs</command>.</para>
|
---|
| 194 | <indexterm zone="emacs ebrowse">
|
---|
| 195 | <primary sortas="b-ebrowse">ebrowse</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
| 200 | <varlistentry id="emacs-prog">
|
---|
| 201 | <term><command>emacs</command></term>
|
---|
| 202 | <listitem>
|
---|
| 203 | <para>is an editor.</para>
|
---|
| 204 | <indexterm zone="emacs emacs-prog">
|
---|
| 205 | <primary sortas="b-emacs">emacs</primary>
|
---|
| 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 |
|
---|
| 210 | <varlistentry id="emacsclient">
|
---|
| 211 | <term><command>emacsclient</command></term>
|
---|
| 212 | <listitem>
|
---|
[13679edb] | 213 | <para>attaches an <command>emacs</command> session to an already
|
---|
[ed59474e] | 214 | running <command>emacsserver</command> instance.</para>
|
---|
| 215 | <indexterm zone="emacs emacsclient">
|
---|
| 216 | <primary sortas="b-emacsclient">emacsclient</primary>
|
---|
| 217 | </indexterm>
|
---|
| 218 | </listitem>
|
---|
| 219 | </varlistentry>
|
---|
| 220 |
|
---|
| 221 | <varlistentry id="etags">
|
---|
| 222 | <term><command>etags</command></term>
|
---|
| 223 | <listitem>
|
---|
| 224 | <para>is another program to generate source code
|
---|
| 225 | cross-reference tagfiles.</para>
|
---|
| 226 | <indexterm zone="emacs etags">
|
---|
| 227 | <primary sortas="b-etags">etags</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
| 232 | <varlistentry id="grep-changelog">
|
---|
| 233 | <term><command>grep-changelog</command></term>
|
---|
| 234 | <listitem>
|
---|
| 235 | <para>prints entries in Change Logs matching
|
---|
| 236 | various criteria.</para>
|
---|
| 237 | <indexterm zone="emacs grep-changelog">
|
---|
| 238 | <primary sortas="b-grep-changelog">grep-changelog</primary>
|
---|
| 239 | </indexterm>
|
---|
| 240 | </listitem>
|
---|
| 241 | </varlistentry>
|
---|
[2bf87d8] | 242 | <!--
|
---|
[ed59474e] | 243 | <varlistentry id="rcs-checkin">
|
---|
| 244 | <term><command>rcs-checkin</command></term>
|
---|
| 245 | <listitem>
|
---|
| 246 | <para>is a shell script used to check files into RCS.</para>
|
---|
| 247 | <indexterm zone="emacs rcs-checkin">
|
---|
| 248 | <primary sortas="b-rcs-checkin">rcs-checkin</primary>
|
---|
| 249 | </indexterm>
|
---|
| 250 | </listitem>
|
---|
[2bf87d8] | 251 | </varlistentry>-->
|
---|
[a7a755a] | 252 |
|
---|
[ed59474e] | 253 | </variablelist>
|
---|
[b5951ec] | 254 |
|
---|
[ed59474e] | 255 | </sect2>
|
---|
[f45b1953] | 256 |
|
---|
| 257 | </sect1>
|
---|