This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Project:XEmacs/XEmacs on Gentoo

From Gentoo Wiki (test)
Jump to:navigation Jump to:search
Summary
This document describes how XEmacs is made available in Gentoo and how it differs from a vanilla XEmacs installation.

Introduction

A Brief Overview

XEmacs is a highly customizable open source text editor and application development system.

Differences for a Gentoo XEmacs installation

Overview

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 app-xemacs/* category.

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 gnome and gtk USE flags for XEmacs.

Future plans

XEmacs 21.5

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.

root #layman -a emacs

Developer information

Introduction

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

The 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.