[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 |
|
---|
[299845f] | 7 | <!ENTITY emacs-download-http "https://ftp.gnu.org/pub/gnu/emacs/emacs-&emacs-version;.tar.xz">
|
---|
| 8 | <!ENTITY emacs-download-ftp "ftp://ftp.gnu.org/pub/gnu/emacs/emacs-&emacs-version;.tar.xz">
|
---|
[a72cdddf] | 9 | <!ENTITY emacs-download-ftp " ">
|
---|
[299845f] | 10 | <!ENTITY emacs-md5sum "4f3d42fb22823a659e16bfa89078a74c">
|
---|
| 11 | <!ENTITY emacs-size "41 MB">
|
---|
| 12 | <!ENTITY emacs-buildsize "352 MB">
|
---|
| 13 | <!ENTITY emacs-time "1.2 SBU">
|
---|
[b5951ec] | 14 | ]>
|
---|
| 15 |
|
---|
[a7a755a] | 16 | <sect1 id="emacs" xreflabel="Emacs-&emacs-version;">
|
---|
[ed59474e] | 17 | <?dbhtml filename="emacs.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>Emacs-&emacs-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="emacs">
|
---|
| 27 | <primary sortas="a-Emacs">Emacs</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to Emacs</title>
|
---|
| 32 |
|
---|
[13679edb] | 33 | <para>The <application>Emacs</application> package contains an extensible,
|
---|
[ed59474e] | 34 | customizable, self-documenting real-time display editor.</para>
|
---|
| 35 |
|
---|
[a72cdddf] | 36 | &lfs7a_checked;
|
---|
[e237c169] | 37 |
|
---|
[ed59474e] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&emacs-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&emacs-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &emacs-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &emacs-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &emacs-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &emacs-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
[c0a34eb] | 60 | <bridgehead renderas="sect3">Emacs Dependencies</bridgehead>
|
---|
[ed59474e] | 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[54666831] | 63 | <para role="optional">
|
---|
| 64 | <xref linkend="x-window-system"/>,
|
---|
| 65 | <xref linkend="alsa-lib"/>,
|
---|
| 66 | <xref linkend="dbus"/>,
|
---|
[6608c8f] | 67 | <xref linkend="GConf"/>,
|
---|
| 68 | <xref linkend="giflib"/>,
|
---|
[473f4358] | 69 | <xref linkend="gnutls"/>,
|
---|
[54666831] | 70 | <xref linkend="gobject-introspection"/>,
|
---|
[6608c8f] | 71 | <xref linkend="gsettings-desktop-schemas"/>,
|
---|
[54666831] | 72 | <xref linkend="gpm"/>,
|
---|
| 73 | <xref linkend="gtk2"/> or <xref linkend="gtk3"/>,
|
---|
| 74 | <xref linkend="imagemagick"/>,
|
---|
| 75 | <xref linkend="libjpeg"/>,
|
---|
| 76 | <xref linkend="libpng"/>,
|
---|
| 77 | <xref linkend="librsvg"/>,
|
---|
[6608c8f] | 78 | <xref linkend="libtiff"/>,
|
---|
[b9f3ff5c] | 79 | <xref linkend="libxml2"/>,
|
---|
[6608c8f] | 80 | <xref linkend="mitkrb"/>,
|
---|
[b9f3ff5c] | 81 | <xref linkend="valgrind"/>,
|
---|
[6608c8f] | 82 | <ulink url="https://ftp.gnu.org/gnu/intlfonts/">intlfonts</ulink>,
|
---|
| 83 | <ulink url="http://directory.fsf.org/wiki/Libungif">libungif</ulink>,
|
---|
| 84 | <ulink url="http://www.nongnu.org/m17n/">libotf</ulink> and
|
---|
| 85 | <ulink url="http://www.nongnu.org/m17n/">m17n-lib</ulink> - to correctly
|
---|
| 86 | display such complex scripts as Indic and Khmer, and also for scripts
|
---|
| 87 | that require Arabic shaping support (Arabic and Farsi), and
|
---|
| 88 | <ulink url="http://ftp.x.org/pub/individual/lib/">libXaw3d</ulink>
|
---|
[54666831] | 89 | </para>
|
---|
[ed59474e] | 90 |
|
---|
[3597eb6] | 91 | <para condition="html" role="usernotes">User Notes:
|
---|
| 92 | <ulink url="&blfs-wiki;/emacs"/></para>
|
---|
| 93 |
|
---|
[ed59474e] | 94 | </sect2>
|
---|
| 95 |
|
---|
| 96 | <sect2 role="installation">
|
---|
| 97 | <title>Installation of Emacs</title>
|
---|
| 98 |
|
---|
[3aa07d1] | 99 | <para>Install <application>Emacs</application> by running the following
|
---|
[ed59474e] | 100 | commands:</para>
|
---|
| 101 |
|
---|
[a218c51] | 102 | <screen><userinput>./autogen.sh &&
|
---|
| 103 | ./configure --prefix=/usr --localstatedir=/var &&
|
---|
[ca8bcae9] | 104 | make</userinput></screen>
|
---|
| 105 | <!-- make bootstrap only necessary for development versions obtained with git
|
---|
| 106 | -->
|
---|
[ed59474e] | 107 |
|
---|
[6608c8f] | 108 | <para>
|
---|
| 109 | This package does not come with a test suite. If make succeeds, you can
|
---|
[5d5234b] | 110 | test the result by running <command>src/emacs -Q</command>, which is the
|
---|
[6608c8f] | 111 | program that will be installed, with its auxiliary files. This should
|
---|
| 112 | start and display the application opening screen.
|
---|
| 113 | </para>
|
---|
[c1ac942] | 114 |
|
---|
[ed59474e] | 115 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 116 |
|
---|
[755379cb] | 117 | <screen role="root"><userinput>make install &&
|
---|
[a218c51] | 118 | chown -v -R root:root /usr/share/emacs/25.1</userinput></screen>
|
---|
| 119 | <!--
|
---|
| 120 |
|
---|
| 121 | Change back to this wiht the stable release is made
|
---|
| 122 |
|
---|
[755379cb] | 123 | chown -v -R root:root /usr/share/emacs/&emacs-version;</userinput></screen>
|
---|
[a218c51] | 124 | -->
|
---|
[ed59474e] | 125 |
|
---|
[6608c8f] | 126 | <para>
|
---|
| 127 |
|
---|
| 128 | This package installs icon files into the <filename
|
---|
| 129 | class="directory">/usr/share/icons/hicolor</filename> hierarchy and
|
---|
| 130 | desktop files into the <filename
|
---|
| 131 | class="directory">/usr/share/applications</filename> hierarchy. You
|
---|
| 132 | can improve system performance and memory usage by updating
|
---|
| 133 | <filename>/usr/share/icons/hicolor/icon-theme.cache</filename> and
|
---|
| 134 | <filename>/usr/share/applications/mimeinfo.cache</filename>. To
|
---|
| 135 | perform the update you must have <xref linkend="gtk2"/> or <xref
|
---|
| 136 | linkend="gtk3"/> installed (for the icon cache) and <xref
|
---|
| 137 | linkend="desktop-file-utils"/> (for the desktop cache) and issue
|
---|
| 138 | the following commands as the <systemitem
|
---|
| 139 | class="username">root</systemitem> user:
|
---|
| 140 |
|
---|
| 141 | </para>
|
---|
[cdabd810] | 142 |
|
---|
[6608c8f] | 143 | <screen role="root"><userinput>gtk-update-icon-cache -t -f --include-image-data /usr/share/icons/hicolor &&
|
---|
| 144 | update-desktop-database</userinput></screen>
|
---|
[cdabd810] | 145 |
|
---|
[ed59474e] | 146 | </sect2>
|
---|
| 147 |
|
---|
[32ccdf34] | 148 | <sect2 role="commands">
|
---|
| 149 | <title>Command Explanations</title>
|
---|
| 150 |
|
---|
[473f4358] | 151 | <para><parameter>--localstatedir=/var</parameter>: Create game score files
|
---|
[755379cb] | 152 | in <filename class='directory'>/var/games/emacs</filename> instead
|
---|
| 153 | of <filename class='directory'>/usr/var/games/emacs</filename>.</para>
|
---|
| 154 |
|
---|
[32ccdf34] | 155 | </sect2>
|
---|
| 156 |
|
---|
[ed59474e] | 157 | <sect2 role="content">
|
---|
| 158 | <title>Contents</title>
|
---|
| 159 |
|
---|
| 160 | <segmentedlist>
|
---|
| 161 | <segtitle>Installed Programs</segtitle>
|
---|
| 162 | <segtitle>Installed Libraries</segtitle>
|
---|
| 163 | <segtitle>Installed Directories</segtitle>
|
---|
| 164 |
|
---|
| 165 | <seglistitem>
|
---|
[f3429309] | 166 | <seg>ctags,
|
---|
| 167 | ebrowse,
|
---|
| 168 | emacs (symlink),
|
---|
[473f4358] | 169 | emacs-&emacs-version;,
|
---|
[f3429309] | 170 | emacsclient,
|
---|
| 171 | etags, and
|
---|
[66cb475] | 172 | grep-changelog</seg>
|
---|
[ed59474e] | 173 | <seg>None</seg>
|
---|
[34fb49a7] | 174 | <seg>/usr/libexec/emacs,
|
---|
[f3429309] | 175 | /usr/share/emacs, and
|
---|
[8607f108] | 176 | /var/games/emacs</seg>
|
---|
[ed59474e] | 177 | </seglistitem>
|
---|
| 178 | </segmentedlist>
|
---|
| 179 |
|
---|
| 180 | <variablelist>
|
---|
| 181 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 182 | <?dbfo list-presentation="list"?>
|
---|
| 183 | <?dbhtml list-presentation="table"?>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="ctags">
|
---|
[550ca80] | 186 | <term><command>ctags</command></term>
|
---|
[ed59474e] | 187 | <listitem>
|
---|
| 188 | <para>creates cross-reference tagfile database files
|
---|
| 189 | for source code.</para>
|
---|
| 190 | <indexterm zone="emacs ctags">
|
---|
| 191 | <primary sortas="b-ctags">ctags</primary>
|
---|
| 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
| 195 |
|
---|
| 196 | <varlistentry id="ebrowse">
|
---|
| 197 | <term><command>ebrowse</command></term>
|
---|
| 198 | <listitem>
|
---|
| 199 | <para>permits browsing of C++ class hierarchies from
|
---|
| 200 | within <command>emacs</command>.</para>
|
---|
| 201 | <indexterm zone="emacs ebrowse">
|
---|
| 202 | <primary sortas="b-ebrowse">ebrowse</primary>
|
---|
| 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 |
|
---|
| 207 | <varlistentry id="emacs-prog">
|
---|
| 208 | <term><command>emacs</command></term>
|
---|
| 209 | <listitem>
|
---|
| 210 | <para>is an editor.</para>
|
---|
| 211 | <indexterm zone="emacs emacs-prog">
|
---|
| 212 | <primary sortas="b-emacs">emacs</primary>
|
---|
| 213 | </indexterm>
|
---|
| 214 | </listitem>
|
---|
| 215 | </varlistentry>
|
---|
| 216 |
|
---|
| 217 | <varlistentry id="emacsclient">
|
---|
| 218 | <term><command>emacsclient</command></term>
|
---|
| 219 | <listitem>
|
---|
[13679edb] | 220 | <para>attaches an <command>emacs</command> session to an already
|
---|
[ed59474e] | 221 | running <command>emacsserver</command> instance.</para>
|
---|
| 222 | <indexterm zone="emacs emacsclient">
|
---|
| 223 | <primary sortas="b-emacsclient">emacsclient</primary>
|
---|
| 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
| 228 | <varlistentry id="etags">
|
---|
| 229 | <term><command>etags</command></term>
|
---|
| 230 | <listitem>
|
---|
| 231 | <para>is another program to generate source code
|
---|
| 232 | cross-reference tagfiles.</para>
|
---|
| 233 | <indexterm zone="emacs etags">
|
---|
| 234 | <primary sortas="b-etags">etags</primary>
|
---|
| 235 | </indexterm>
|
---|
| 236 | </listitem>
|
---|
| 237 | </varlistentry>
|
---|
| 238 |
|
---|
| 239 | <varlistentry id="grep-changelog">
|
---|
| 240 | <term><command>grep-changelog</command></term>
|
---|
| 241 | <listitem>
|
---|
| 242 | <para>prints entries in Change Logs matching
|
---|
| 243 | various criteria.</para>
|
---|
| 244 | <indexterm zone="emacs grep-changelog">
|
---|
| 245 | <primary sortas="b-grep-changelog">grep-changelog</primary>
|
---|
| 246 | </indexterm>
|
---|
| 247 | </listitem>
|
---|
| 248 | </varlistentry>
|
---|
[2bf87d8] | 249 | <!--
|
---|
[ed59474e] | 250 | <varlistentry id="rcs-checkin">
|
---|
| 251 | <term><command>rcs-checkin</command></term>
|
---|
| 252 | <listitem>
|
---|
| 253 | <para>is a shell script used to check files into RCS.</para>
|
---|
| 254 | <indexterm zone="emacs rcs-checkin">
|
---|
| 255 | <primary sortas="b-rcs-checkin">rcs-checkin</primary>
|
---|
| 256 | </indexterm>
|
---|
| 257 | </listitem>
|
---|
[2bf87d8] | 258 | </varlistentry>-->
|
---|
[a7a755a] | 259 |
|
---|
[ed59474e] | 260 | </variablelist>
|
---|
[b5951ec] | 261 |
|
---|
[ed59474e] | 262 | </sect2>
|
---|
[f45b1953] | 263 |
|
---|
| 264 | </sect1>
|
---|