Project:Emacs/XEmacs on Gentoo
A Brief Overview
XEmacs is a highly customizable open source text editor and application development system.
Differences for a Gentoo XEmacs installation
Many elisp extensions for XEmacs are distributed as XEmacs packages. Some of these packages are needed for proper operation of XEmacs, such as the app-xemacs/xemacs-base package. Others are XEmacs-specific packages of applications that are also otherwise distributed. The packaged versions are known to work with XEmacs and may contain XEmacs-specific enhancements. In a normal XEmacs installation these packages can be installed using the built-in XEmacs package manager. In Gentoo the packages are provided as ebuilds, making updating and maintenance easier by using portage. An added benefit is that the
xemacs USE flag can be used to pull in relevant XEmacs packages. For example, when emerging dev-lang/ruby with the
xemacs USE flag you will also emerge the app-xemacs/ruby-modes packages, enabling ruby support in XEmacs. You can find the list of all packages in the
You may find it cumbersome to install each XEmacs package individually. The upstream solution to that is the distribution of the SUMO archive, which contains all packages in a single archive. Gentoo takes a different approach and provides app-xemacs/xemacs-packages-all that install all the XEmacs packages that are also distributed in the SUMO archive.
Gnome and GTK+ support in XEmacs currently only supports GTK 1.2 and GNOME 1.x. GNOME 1.x is no longer available through portage and GTK 1.2 is deprecated and will be removed some time in the future. For this reason there are no
gtk USE flags for XEmacs.
Upstream development is currently focused on XEmacs 21.5, but this version is currently not yet stable enough for release or day-to-day use. Unfortunately only the 21.5 versions provide proper support for UTF-8, which is becoming more and more a requirement, so we expect to add a 21.5 release to the main tree. Until then the 21.5 version is in the package tree but keyworded for testing.
Experimental XEmacs 21.5 ebuilds and experimental packages are available from the official emacs overlay. The overlay will be updated with experimental builds and packages in the rate they are released by upstream. You can add this overlay to your system using layman.
The following information is only relevant to Gentoo developers or other people who want to update or create ebuilds related to XEmacs.
Package to ebuild script
app-xemacs/* ebuilds in portage are kept up-to-date with the released set of packages using a python script called pebuild originally written by Mats Lidell.