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