Portage is a package management system used by Gentoo Linux
# ChangeLog for app-editors/xemacs
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/ChangeLog,v 1.114 2008/06/14 08:32:40 ulm Exp $
14 Jun 2008; Ulrich Mueller
xemacs-21.4.21-r1.ebuild:
Change to new syntax of eselect-emacs and update dependency.
01 Jun 2008; Hans de Graaff
Remove broken and insecure 21.5.28 version. If you must use 21.5 now then
please use the version from the xemacs overlay or have a bit of patience as I
intend to add that version here shortly.
21 May 2008; Tiziano Müller
xemacs-21.4.21-r1.ebuild, xemacs-21.5.28.ebuild:
Changed dependency for postgresql from dev-db/postgresql to
virtual/postgresql-server
*xemacs-21.5.28 (03 May 2008)
03 May 2008; Josh Glover
Version bump
11 Apr 2008; Hans de Graaff
Bump to stable since the bug fix in -r1 only affects a shell script that
needs to be used with SCCS.
*xemacs-21.4.21-r1 (11 Apr 2008)
11 Apr 2008; Hans de Graaff
+files/xemacs-21.4.21-vcdiff.patch, +xemacs-21.4.21-r1.ebuild:
Fix security bug #216880.
09 Apr 2008; Hans de Graaff
-files/xemacs-21.4.20-linuxplay.patch, -files/font-lock-keywords.patch,
-files/font-lock-warning-face.patch, -xemacs-21.4.20-r4.ebuild,
-xemacs-21.4.20-r5.ebuild:
Remove old versions
02 Feb 2008; Hans de Graaff
Stable on amd64 wrt bug 203245
02 Jan 2008; Jeroen Roovers
Stable for HPPA (bug #203245).
26 Dec 2007; Raúl Porcel
alpha/sparc stable wrt #203245
25 Dec 2007; Dawid Węgliński
Stable on x86 (bug #203245)
24 Dec 2007; Brent Baude
Marking xemacs-21.4.21 ppc and ppc64 stable per bug 203245
24 Dec 2007; Hans de Graaff
Fix built on ia64 at the loss of some functionality.
*xemacs-21.4.21 (11 Nov 2007)
11 Nov 2007; Hans de Graaff
Version bump with bug fixes for a number of crashes and a few new features
aimed at improved compatibility with GNU Emacs.
21 Oct 2007; Hans de Graaff
-xemacs-21.4.20-r2.ebuild, -xemacs-21.4.20-r3.ebuild:
Remove old versions
10 Oct 2007; Ulrich Mueller
xemacs-21.4.20-r2.ebuild, xemacs-21.4.20-r3.ebuild,
xemacs-21.4.20-r4.ebuild, xemacs-21.4.20-r5.ebuild:
Don't PROVIDE=virtual/editor as it is a new-style virtual now.
31 Aug 2007; Christoph Mende
xemacs-21.4.20-r4.ebuild:
Stable on amd64 wrt bug #187710
17 Aug 2007; Jeroen Roovers
Stable for HPPA (bug #187710).
15 Aug 2007; Tobias Scherbaum
xemacs-21.4.20-r4.ebuild:
ppc stable, bug #187710
07 Aug 2007; Markus Rothe
Stable on ppc64; bug #187710
06 Aug 2007; Raúl Porcel
alpha/x86 stable wrt #187710
06 Aug 2007; Gustavo Zacarias
xemacs-21.4.20-r4.ebuild:
Stable on sparc wrt #187710
*xemacs-21.4.20-r5 (04 Aug 2007)
04 Aug 2007; Hans de Graaff
+files/font-lock-keywords.patch, +xemacs-21.4.20-r5.ebuild:
Add support for GNU Emacs font-lock-add-keywords and related code. This code
will also be in the next xemacs 21.4.x release and is needed for
gentoo-syntax.
*xemacs-21.4.20-r4 (23 Jun 2007)
23 Jun 2007; Hans de Graaff
+files/font-lock-warning-face.patch, +xemacs-21.4.20-r4.ebuild:
Add patch to make font-lock-warning-face available, needed for gentoo-syntax.
Has been reported to upstream.
09 Jun 2007; Hans de Graaff
Fix silly typo that may affect esd sound configuration.
02 Jun 2007; Hans de Graaff
Remove Application category from .desktop file as it is not a valid category.
24 May 2007; Christian Faulhammer
corrected ChangeLog, so it conforms to our standards
30 Apr 2007; Ulrich Mueller
Added previously removed ~ppc keyword again, reflecting keywording of the
eselect-emacs dependency, #174882.
21 Apr 2007; Markus Rothe
Added ~ppc64; bug #174882
19 Apr 2007; Bryan Østergaard
xemacs-21.4.20-r3.ebuild:
Add ~alpha keyword.
*xemacs-21.4.20-r3 (18 Apr 2007)
18 Apr 2007; Ulrich Mueller
Install ctags.1 and etags.1 man pages under different names to avoid file
collisions with GNU Emacs; use emacs eselect module for updating of the
corresponding symlinks; fixes #167883.
06 Mar 2007; Hans de Graaff
-files/emodules.info-21.4.8-gentoo.patch,
-files/xemacs-21.4.17-gdbm.patch, -xemacs-21.4.17.ebuild,
-xemacs-21.4.19-r2.ebuild:
Remove old versions and associated patches.
*xemacs-21.4.20-r2 (11 Feb 2007)
11 Feb 2007; Hans de Graaff
-xemacs-21.4.19-r1.ebuild, -xemacs-21.4.20.ebuild,
+xemacs-21.4.20-r2.ebuild:
Add xim USE flag to enable XiM input method, default to off as is not needed
for many people and may cause instability in some cases, thanks to Mats Lidell
for the suggestion. Also add a comment about hardened incompatibility #75028
and make sure ia64 compiles with the system malloc #21264. Remove several old
versions.
06 Feb 2007; Chris Gianelloni
xemacs-21.4.20-r1.ebuild:
Stable on amd64 wrt bug #162039.
05 Feb 2007; Chris Gianelloni
xemacs-21.4.20-r1.ebuild:
Stable on ppc wrt bug #162039.
19 Jan 2007; Markus Rothe
Stable on ppc64; bug #162039
18 Jan 2007; Jeroen Roovers
Stable for HPPA (bug #162039).
18 Jan 2007; Bryan Østergaard
xemacs-21.4.20-r1.ebuild:
Stable on Alpha, bug 162039.
18 Jan 2007; Jason Wever
Stable on SPARC wrt bug #162039.
17 Jan 2007; Christian Faulhammer
xemacs-21.4.20-r1.ebuild:
stable x86, bug #162039
22 Dec 2006; Hans de Graaff
files/xemacs-21.4.20-linuxplay.patch:
Fix the file path in the patch.
*xemacs-21.4.20-r1 (22 Dec 2006)
22 Dec 2006; Hans de Graaff
+files/xemacs-21.4.20-linuxplay.patch, +xemacs-21.4.20-r1.ebuild:
Add patch for crashes when playing WAVs on AMD64 with Linux native sound;
enable esd USE flag, fix X and Xaw dependencies #148303.
*xemacs-21.4.20 (11 Dec 2006)
11 Dec 2006; Hans de Graaff
Version bump.
*xemacs-21.4.19-r2 (10 Dec 2006)
10 Dec 2006; Hans de Graaff
+files/xemacs-21.4.19-db.patch, +xemacs-21.4.19-r2.ebuild:
Fix database detection and USE flags. Now gdbm and berkdb can be used
individually or together. Fixes #97786, #102540, #143580.
09 Dec 2006; Hans de Graaff
Rewrite UI configuration options; fixes #23852.
09 Dec 2006; Hans de Graaff
-files/xemacs-21.4.15-gdbm.patch, +files/xemacs-21.4.19-texi.patch,
xemacs-21.4.19-r1.ebuild:
Documentation fixes; part of #97786. Install some binaries with package name
and symlinks to better handle clashes with emacs. Fixes #62991. Remove unused
patch.
*xemacs-21.4.19-r1 (02 Dec 2006)
02 Dec 2006; Hans de Graaff
+xemacs-21.4.19-r1.ebuild:
Only unpack NeXT icons when needed. Add pop and gif USE flags. Add eolconv USE
flag; closes #64734. Modernize handling of some configuration options. Remove
unneeded info files; closes #109945. Add a desktop file and icon; closes
#152968.
26 Nov 2006; Hans de Graaff
Use autotools class to handle support for correct version of autoconf. Support
EXTRA_ECONF, fixing #145205. Use emake again as parallel builds have been
fixed upstream. Add x11-misc/xbitmaps to X dependencies. Quote variables that
may contain spaces.
04 Sep 2006; Michael Sterrett
-files/xemacs-21.4.8-ppc.diff, -files/xemacs-21.4.9-ppc.diff,
-files/xemacs-21.4.9-ppc-glibc-2.3.x.diff, -files/xemacs-21.4.12-ppc.diff,
-files/emodules.info-gentoo.patch, -files/quick-fix.patch,
-files/xemacs21-movemail-popfmt.diff, -xemacs-21.4.15-r3.ebuild:
clean out old, non-modX ebuild and old files
24 Aug 2006; Markus Rothe
Stable on ppc64
21 Aug 2006; Chris Gianelloni
Brought back 21.4.17 since it was not affected by the security problems of
previous versions and was accidentally removed. Also, marking this version
in line with the release.
05 Aug 2006; Chris White
-xemacs-21.4.12.ebuild, -xemacs-21.4.15.ebuild, -xemacs-21.4.15-r1.ebuild,
-xemacs-21.4.15-r2.ebuild, -xemacs-21.4.17.ebuild:
Security punts for bug #140484.
*xemacs-21.4.19 (21 Jun 2006)
21 Jun 2006; Matthew Kennedy
New upstream version.
26 Jan 2006; Robin H. Johnson
Fix modular-X deps properly. "use? || (...)" is not valid, it should be
"use? ( || (...) )".
*xemacs-21.4.17 (26 Jan 2006)
26 Jan 2006; Matthew Kennedy
+files/xemacs-21.4.17-gdbm.patch, +xemacs-21.4.17.ebuild:
Only install the NeXT icon set if neXt is in USE; New upstream version; Port
to modular X dependencies.
*xemacs-21.4.15-r3 (15 Feb 2005)
15 Feb 2005; Matthew Kennedy
+files/xemacs21-movemail-popfmt.diff, +xemacs-21.4.15-r3.ebuild:
Resolves Bug #79686 movemail arbitrary code execution (CAN-2005-0100)
09 Jan 2005; Sven Wegener
xemacs-21.4.15-r1.ebuild, xemacs-21.4.15-r2.ebuild:
Added missing parentheses in SRC_URI/*DEPEND/LICENSE.
24 Nov 2004; Sven Wegener
Added missing digest entries.
20 Nov 2004; Robert Coie
keyword x86
31 Oct 2004; Jason Wever
Stable on sparc.
05 Oct 2004; Pieter Van den Abeele
xemacs-21.4.15-r2.ebuild:
Masked xemacs-21.4.15-r2.ebuild stable for ppc
10 Sep 2004; Robert Coie
modify gdbm patch so it will build against either 1.8.0 or 1.8.3
03 Sep 2004; Robert Coie
keywording amd64 and alpha to match gdbm 1.8.3
28 Aug 2004; Tom Gall
stable on ppc64, bug #58350, 61099 (functional xemacs on ppc64 again)
*xemacs-21.4.15-r2 (27 Aug 2004)
27 Aug 2004; Robert Coie
+xemacs-21.4.15-r2.ebuild:
gdbm 1.8.3 - bug 58350
20 Aug 2004; Pieter Van den Abeele
ppc keyworded.
11 Aug 2004; Luca Barbato
Removed an unnecessary patch
09 Aug 2004; Tom Gall
stable on ppc64, bug #57174
01 Jun 2004; Aron Griffis
xemacs-21.4.15.ebuild:
Fix use invocation
*xemacs-21.4.15-r1 (20 Aug 2004)
I accidentally committed a local file based on an older revision. This screwed up the keywords.
I corrected the mistake by creating a new revision.
*xemacs-21.4.15 (21 May 2004)
21 May 2004; Robert Coie
xemacs-21.4.15.ebuild:
New upstream version, abstract berkeley db support into USE=berkdb, make it
bring in db-1 to get ndbm.h if needed, take efs out of PDEPEND to make minimal
xemacs installations possible.
10 Apr 2004; Michael Sterrett
xemacs-21.4.10-r1.ebuild, xemacs-21.4.10-r2.ebuild, xemacs-21.4.10.ebuild,
xemacs-21.4.11.ebuild:
thin ebuilds
06 Apr 2004;
keyword ppc
29 Mar 2004; Michael Sterrett
xemacs-21.4.10-r1.ebuild, xemacs-21.4.10-r2.ebuild, xemacs-21.4.10.ebuild,
xemacs-21.4.9.ebuild:
don't assign default to S
26 Jan 2004; Jason Wever
Marked stable on sparc.
05 Jan 2004; Robin H. Johnson
xemacs-21.4.10-r2.ebuild, xemacs-21.4.10.ebuild, xemacs-21.4.11.ebuild,
xemacs-21.4.12.ebuild, xemacs-21.4.9.ebuild:
fix tail -1 issue and copyright headers
08 Jul 2003;
xemacs-21.4.10-r2.ebuild, xemacs-21.4.10.ebuild, xemacs-21.4.11.ebuild,
xemacs-21.4.12.ebuild, xemacs-21.4.9.ebuild:
Fix mconf typo in the png configuration. Thanks to Derek Dolney
29 Jun 2003; Luca Barbato
Fixed ppc problems and masked ~ppc
10 Jun 2003;
Remove unused lucid variable from IUSE
22 May 2003; Tavis Ormandy
#21264 xemacs needs --with-system-malloc on Alpha.
*xemacs-21.4.12 (16 Jan 2003)
16 Jan 2003: Rendhalver
new stable version of XEmacs
added NeXT_XEmacs toolbar icons
*xemacs-21.4.11 (03 Jan 2003)
03 Jan 2003: Rendhalver
new ebuild without sandbox disabling
03 Jan 2003: Rendhalver
added virtual/editor to PROVIDE for all xemacs ebuilds
*xemacs-21.4.10-r2 (01 Jan 2003)
01 Jan 2003: Rendhalver
*xemacs-21.4.10-r1 (01 Jan 2003)
01 Jan 2003: Rendhalver
removed ~arch mask
*xemacs-21.4.10-r2 (24 Dec 2002)
24 Dec 2002: Jared Hudson
line, since the --pdump option for configure configs xemacs in a way that
makes this unnecessary.
*xemacs-21.4.10-r1 (16 Dec 2002)
16 Dec 2002: Rendhalver [Peter Brown]
changed wnn USE var to freewnn
16 Dec 2002; Rendhalver [Peter Brown]
Added new USE flags wnn dnd athena next xaw3d lucid
Removed esd USE flag as it is known to cause problems
Added support for freewnn
Added support for Drag aNd Drop using Offix
Added options for compiling with athena widget set using next xaw3d or 3d
updated xemacs-base version to latest stable
fixed packages path resolving bugs #11933 and #11628
06 Dec 2002; Rodney Rees
*xemacs-21.4.10 (03 Nov 2002)
05 Nov 2002; Stuart Bouyer
Added support for Canna (Kanji <--> Kana conversion engine) for people
with canna in USE.
03 Nov 2002; Arcady Genkin
Minor version bump.
Made openmotif dependency optional for people with motif in USE.
*xemacs-21.4.9 (26 Sep 2002)
26 Jan 2003; Jon Nall
xemacs-21.4.9.ebuild :
added a patch that fixes bug #14458
http://sources.redhat.com/ml/bug-glibc/2002-11/msg00066.html
16 Oct 2002; Mark Guertin
copied this to the new version, it is still needed for this build. closes
bug #9172
26 Sep 2002; Matthew Kennedy
xemacs-21.4.9.ebuild :
Minor version bump. USE flag fix. Resolves bug #6177.
Updated xemacs-base (resolves bug #8440)
*xemacs-21.4.8-r3 (28 Jul 2002)
07 Aug 2002; Matthew Kennedy
xemacs-21.4.8-r3.ebuild :
Sandbox.
05 Aug 2002; Matthew Kennedy
xemacs-21.4.8-r3.ebuild :
Restored DISABLE_SANDBOX. (the right one this time)
05 Aug 2002; Matthew Kennedy
xemacs-21.4.8-r3.ebuild :
Restored DISABLE_SANDBOX.
04 Aug 2002; Martin Schlemmer
Disable emake, as it cause it to fail everytime this side.
28 Jul 2002; Matthew Kennedy
xemacs-21.4.8-r3.ebuild :
Updated EFS, MULE and BASE versions.
*xemacs-21.4.8-r2 (14 Jul 2002)
14 Jul 2002; Matthew Kennedy
xemacs-21.4.8-r2.ebuild :
Made SRC_URI static, added KEYWORDS, fixed empty mule flag, updated
efs, xemacs-base and mule-base subpackage versions.
*xemacs-21.4.8-r1 (26 Jun 2002)
26 June 2002; Mark Guertin
files/xemacs-21.4.8-ppc.diff
Added ppc patch to fix configure and configure.in scripts and tested
ok on x86 + PPC. No revision bump as it only affects PPC and no need
for x86 users to rebuild (didn't work on ppc to date).
Thanks to rac@intrigue.com (Robert Coie) for the patch.
*xemacs-21.4.8-r1 (31 May 2002)
31 May 2002; Matthew Kennedy
files/digest-xemacs-21.4.8-r1, ChangeLog :
Back to gpm-1.19.6.
*xemacs-21.4.8 (19 May 2002)
19 May 2002; Matthew Kennedy
files/README.Gentoo, files/digest-xemacs-21.4.8,
files/emodules.info-21.4.8-gentoo.patch :
New xemacs-21.4.8 (gamma). Adds missing gpm dependency. General overhaul.
*xemacs-21.4.6-r4 (16 Apr 2002)
16 Apr 2002: Matthew Kennedy
xemacs-21.4.6-r4.ebuild, files/digest-xemacs-21.4.6-r4, ChanegLog :
Includes SANDBOX_DISABLED="1" (quick and dirty fix) to prevent
xemacs segfaults.
*xemacs-21.4.6-r3 (15 Apr 2002)
15 Apr 2002: Matthew Kennedy
xemacs-21.4.6-r3.ebuild, ChangeLog files/digest-xemacs-21.4.6-r3,
files/emodules.info-gentoo.patch :
Fixes annoying emodules.info not having a place in the info dir
(resolves bug #1792).
*xemacs-21.4.6-r2 (15 Apr 2002)
15 Apr 2002; Matthew Kennedy
xemacs-21.4.6-r2.ebuild, files/digest-xemacs-21.4.6-r2 :
Fixes the ESD/NAS/Wine issue mentioned in bug #1501, but not the
xemacs segfaulting/sandbox issues.
*xemacs-21.4.6-r2 (12 Apr 2002)
12 Apr 2002; Seemant Kulleen
Compile against newest libpng
*xemacs-21.4.6-r1; (28 Mar 2002)
28 Mar 2002; Tod Neidt
Added PROVIDE="virtual/emacs".
*xemacs-21.4.5-r1; (28 Mar 2002)
28 Mar 2002; Tod Neidt
Added PROVIDE="virtual/emacs".
*xemacs-21.4.6; (14 Feb 2002)
14 Feb 2002; Arcady Genkin
- Created ebuild for 21.4.6 (gamma version).
- Updated versions of efs and base elisp packages.
- Changed default download URL to "http://ftp.us.xemacs.org/..."
because ftp://ftp.xemacs.org is always overloaded and slow.
- Added media-libs/compface as a dependency and added
--with-x-face to configure options.
*xemacs-21.1.14 (1 Feb 2002)
1 Feb 2002; G.Bevin
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX README.Gentoo 1426 RMD160 2aee174f6eaa410ac036ad316fb860be340b17a7 SHA1 0f10e8c6907e6f4c33e284ef37ffee9f6467c84c SHA256 9fa4fa31fc4deb0742dd220c8a1cf41af2bb4f4651e4f995589389afcc9f5f92
AUX xemacs-21.4.19-db.patch 3157 RMD160 354d4b70dce5313ecd8732336b2562f66153c351 SHA1 f83a0870a07a10ec5f177c0e0292607463ff095a SHA256 c0c0cf18ccd01ee0e34e913c4f275977f4f61aa7343fef9fdff1f3ba84096022
AUX xemacs-21.4.19-texi.patch 1107 RMD160 2cedf0e0dfe50fdb2eb578fd7605629ea28a6f61 SHA1 4858d4297fc9c4a2db2b53b718618a23441b48c9 SHA256 9f7af4de522d03c9e78076c4801db775ce919d30b27f4f84c8b055d17f476ae5
AUX xemacs-21.4.21-vcdiff.patch 476 RMD160 1298334c8d309f9054d98ec98bdda6dba494b653 SHA1 63bedf52451d64907f410b6a6534d82371a42e3e SHA256 adf0bb95ef289187027203f28fb0055be817c6b54211912bc33c16a9ff9cfb2c
AUX xemacs.desktop 1080 RMD160 9ddca2747abcc4e7a8bb305740942f62daa73ba6 SHA1 6a3a88ea334b510951a15efb126c4fb71a3b8c38 SHA256 a97f2b5f1b85fde16eaf6b00cd3889a0c2777a0e2c1d7d3d2814f752a976b060
DIST NeXT_XEmacs.tar.gz 39571 RMD160 3c2cedf75e4ece412031b20a15614a78367393f4 SHA1 619912734b1a1fae5115941b904d41beb4765b47 SHA256 35a0d988fd4ee801572639a99798571aa9fad140ddbed1455565ae9d5e0086c7
DIST xemacs-21.4.21.tar.gz 8333619 RMD160 6dd212dd926cd7a8cb5ac905fb41ef787065bef5 SHA1 fe9216148ae90c9f4c8b904a987319026676c535 SHA256 7594721cc5fa66cfabfb18446e51970eebae517f024856a7d6e6e0a79adbfcb0
EBUILD xemacs-21.4.21-r1.ebuild 6543 RMD160 cf6c17300df468d3331aab0c018d2709c24f7da3 SHA1 1595489ffba59b4c9d6a54d713826e685a6395a4 SHA256 2e7bae48c91ed50ba89b338e818eb634305e69de9939a6b189b32ff286a7d82f
EBUILD xemacs-21.4.21.ebuild 6465 RMD160 234a2b4226a45d6d47f9fda458aa14171bdf6184 SHA1 767d1b67a8c57390a75fa4f64169aaf5ee79ff4f SHA256 6bcaf480d86e0fcb9587226c2623f493c1172fbd9581bf2d81069385c0715e0b
MISC ChangeLog 20220 RMD160 7b783746550ea3ae10c1515cb8c542372f25a406 SHA1 28dd1f14bbd0a2ef9bf3834853985b3145d547cb SHA256 b01c474e1db5d6abc1d43eb0294cd07024579b389b1c02fc9b9327a6a440a97e
MISC metadata.xml 365 RMD160 21028f8736b367db1d2cf1d46baedc881ded15da SHA1 a9900a09ce68ac0ae674b5913d033c7afaa85272 SHA256 cbe62b1685c4809f53fc7b8243f0662f6a57bcfe7fd49ac7138f970a3f94f6ea
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkhTglcACgkQOeoy/oIi7uyP7wCeIEIsfV9Evpa4MsESV1w/QgLf
31oAoJfLXS7hFidXvxjLPULrv/FDlDIN
=VppT
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.4.21-r1.ebuild,v 1.4 2008/06/14 08:32:40 ulm Exp $
# Note: xemacs currently does not work with a hardened profile. If you
# want to use xemacs on a hardened profile then compile with the
# -nopie flag in CFLAGS or help fix bug #75028.
export WANT_AUTOCONF="2.1"
inherit autotools eutils
DESCRIPTION="highly customizable open source text editor and application development system"
HOMEPAGE="http://www.xemacs.org/"
SRC_URI="http://ftp.xemacs.org/xemacs-21.4/${P}.tar.gz
http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
IUSE="eolconv esd gif gpm pop postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna xim athena neXt Xaw3d gdbm berkdb"
X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps"
DEPEND="virtual/libc
!virtual/xemacs
berkdb? ( sys-libs/db )
gdbm? ( >=sys-libs/gdbm-1.8.3 )
>=sys-libs/zlib-1.1.4
>=dev-libs/openssl-0.9.6
>=media-libs/audiofile-0.2.3
gpm? ( >=sys-libs/gpm-1.19.6 )
postgres? ( >=virtual/postgresql-server-7.2 )
ldap? ( net-nds/openldap )
esd? ( media-sound/esound )
nas? ( media-libs/nas )
X? ( $X_DEPEND !Xaw3d? ( !neXt? ( x11-libs/libXaw ) ) )
dnd? ( x11-libs/dnd )
motif? ( >=x11-libs/openmotif-2.1.30 )
athena? ( x11-libs/libXaw )
Xaw3d? ( x11-libs/Xaw3d )
neXt? ( x11-libs/neXtaw )
xface? ( media-libs/compface )
tiff? ( media-libs/tiff )
png? ( =media-libs/libpng-1.2* )
jpeg? ( media-libs/jpeg )
canna? ( app-i18n/canna )
!amd64? ( freewnn? ( app-i18n/freewnn ) )
>=sys-libs/ncurses-5.2
>=app-admin/eselect-emacs-1.2"
PDEPEND="app-xemacs/xemacs-base
mule? ( app-xemacs/mule-base )"
PROVIDE="virtual/xemacs"
src_unpack() {
unpack ${P}.tar.gz
use neXt && unpack NeXT_XEmacs.tar.gz
cd "${S}"
epatch "${FILESDIR}"/xemacs-21.4.19-texi.patch
# see bug 58350, 102540 and 143580
epatch "${FILESDIR}"/xemacs-21.4.19-db.patch
# Security bug #216880
epatch "${FILESDIR}"/xemacs-21.4.21-vcdiff.patch
# Run autoconf. XEmacs tries to be smart by providing a stub
# configure.ac file for autoconf 2.59 but this throws our
# autotools eclass so it must be removed first.
rm "${S}"/configure.ac
eautoconf
use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/
}
src_compile() {
local myconf=""
if use X; then
myconf="${myconf} --with-widgets=athena"
myconf="${myconf} --with-dialogs=athena"
myconf="${myconf} --with-menubars=lucid"
myconf="${myconf} --with-scrollbars=lucid"
if use motif ; then
myconf="--with-widgets=motif"
myconf="${myconf} --with-dialogs=motif"
myconf="${myconf} --with-scrollbars=motif"
myconf="${myconf} --with-menubars=lucid"
fi
if use athena ; then
myconf="--with-scrollbars=athena"
fi
if use Xaw3d; then
myconf="${myconf} --with-athena=3d"
elif use neXt; then
myconf="${myconf} --with-athena=next"
else
myconf="${myconf} --with-athena=xaw"
fi
use dnd && myconf="${myconf} --with-dragndrop --with-offix"
myconf="${myconf} $(use_with tiff ) $(use_with png )"
myconf="${myconf} $(use_with jpeg ) $(use_with xface )"
else
myconf="${myconf}
--without-x
--without-xpm
--without-dragndrop
--with-gif=no"
fi
if use mule ; then
myconf="${myconf} --with-mule"
if use xim ; then
if use motif ; then
myconf="${myconf} --with-xim=motif"
else
myconf="${myconf} --with-xim=xlib"
fi
else
myconf="${myconf} --with-xim=no"
fi
myconf="${myconf} $(use_with canna ) $(use_with freewnn wnn )"
fi
# This determines the type of sounds we are playing
local soundconf="native"
# This determines how these sounds should be played
use nas && soundconf="${soundconf},nas"
use esd && soundconf="${soundconf},esd"
myconf="${myconf} --with-sound=${soundconf}"
if use gdbm || use berkdb ; then
use gdbm && mydb="gdbm"
use berkdb && mydb="${mydb},berkdb"
myconf="${myconf} --with-database=${mydb}"
else
myconf="${myconf} --without-database"
fi
# fixes #21264, this should be fixed in 21.4.21 and has been fixed
# in 21.5 for sure. Now that 21.4.21 is out there is no real
# evidence that this indeed got fixed, so keep these exceptions
# for now.
use alpha && myconf="${myconf} --with-system-malloc"
use ppc64 && myconf="${myconf} --with-system-malloc"
use ia64 && myconf="${myconf} --with-system-malloc"
# Enabling modules will cause segfaults outside the XEmacs build directory
use ia64 && myconf="${myconf} --without-modules"
einfo "${myconf}"
# Don't use econf because it uses options which this configure
# script does not understand (like --host).
./configure ${myconf} ${EXTRA_ECONF} \
$(use_with gif ) \
$(use_with gpm ) \
$(use_with postgres postgresql ) \
$(use_with ldap ) \
$(use_with eolconv file-coding ) \
$(use_with pop ) \
--prefix=/usr \
--with-ncurses \
--with-msw=no \
--mail-locking=flock \
--with-site-lisp=yes \
--with-site-modules=yes \
|| die "The configure script failed to run properly"
emake || die "emake failed"
}
src_install() {
emake prefix="${D}"/usr \
mandir="${D}"/usr/share/man/man1 \
infodir="${D}"/usr/share/info \
install gzip-el || die "emake install failed"
# Rename some applications installed in bin so that it is clear
# which application installed them and so that conflicting
# packages (emacs) can't clobber the actual applications.
# Addresses bug #62991.
for i in b2m ctags etags rcs-checkin ; do
mv "${D}"/usr/bin/${i} "${D}"/usr/bin/${i}-xemacs || die "mv ${i} failed"
done
# rename man pages
for i in ctags etags; do
mv "${D}"/usr/share/man/man1/${i}{,-xemacs}.1 || die "mv ${i}.1 failed"
done
# install base packages directories
dodir /usr/lib/xemacs/xemacs-packages/
dodir /usr/lib/xemacs/site-packages/
dodir /usr/lib/xemacs/site-modules/
dodir /usr/lib/xemacs/site-lisp/
if use mule;
then
dodir /usr/lib/xemacs/mule-packages
fi
# remove extraneous info files
cd "${D}"/usr/share/info
rm -f dir info.info texinfo* termcap* standards*
cd "${S}"
dodoc BUGS CHANGES-* ChangeLog GETTING* INSTALL PROBLEMS README*
dodoc "${FILESDIR}"/README.Gentoo
insinto /usr/share/pixmaps
newins "${S}"/etc/${PN}-icon.xpm ${PN}.xpm
insinto /usr/share/applications
doins "${FILESDIR}"/${PN}.desktop
}
pkg_postinst() {
eselect emacs update ifunset
}
pkg_postrm() {
eselect emacs update ifunset
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.4.21.ebuild,v 1.9 2008/06/14 08:32:40 ulm Exp $
# Note: xemacs currently does not work with a hardened profile. If you
# want to use xemacs on a hardened profile then compile with the
# -nopie flag in CFLAGS or help fix bug #75028.
export WANT_AUTOCONF="2.1"
inherit autotools eutils
DESCRIPTION="highly customizable open source text editor and application development system"
HOMEPAGE="http://www.xemacs.org/"
SRC_URI="http://ftp.xemacs.org/xemacs-21.4/${P}.tar.gz
http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
IUSE="eolconv esd gif gpm pop postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna xim athena neXt Xaw3d gdbm berkdb"
X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps"
DEPEND="virtual/libc
!virtual/xemacs
berkdb? ( sys-libs/db )
gdbm? ( >=sys-libs/gdbm-1.8.3 )
>=sys-libs/zlib-1.1.4
>=dev-libs/openssl-0.9.6
>=media-libs/audiofile-0.2.3
gpm? ( >=sys-libs/gpm-1.19.6 )
postgres? ( >=virtual/postgresql-server-7.2 )
ldap? ( net-nds/openldap )
esd? ( media-sound/esound )
nas? ( media-libs/nas )
X? ( $X_DEPEND !Xaw3d? ( !neXt? ( x11-libs/libXaw ) ) )
dnd? ( x11-libs/dnd )
motif? ( >=x11-libs/openmotif-2.1.30 )
athena? ( x11-libs/libXaw )
Xaw3d? ( x11-libs/Xaw3d )
neXt? ( x11-libs/neXtaw )
xface? ( media-libs/compface )
tiff? ( media-libs/tiff )
png? ( =media-libs/libpng-1.2* )
jpeg? ( media-libs/jpeg )
canna? ( app-i18n/canna )
!amd64? ( freewnn? ( app-i18n/freewnn ) )
>=sys-libs/ncurses-5.2
>=app-admin/eselect-emacs-1.2"
PDEPEND="app-xemacs/xemacs-base
mule? ( app-xemacs/mule-base )"
PROVIDE="virtual/xemacs"
src_unpack() {
unpack ${P}.tar.gz
use neXt && unpack NeXT_XEmacs.tar.gz
cd "${S}"
epatch "${FILESDIR}"/xemacs-21.4.19-texi.patch
# see bug 58350, 102540 and 143580
epatch "${FILESDIR}"/xemacs-21.4.19-db.patch
# Run autoconf. XEmacs tries to be smart by providing a stub
# configure.ac file for autoconf 2.59 but this throws our
# autotools eclass so it must be removed first.
rm "${S}"/configure.ac
eautoconf
use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/
}
src_compile() {
local myconf=""
if use X; then
myconf="${myconf} --with-widgets=athena"
myconf="${myconf} --with-dialogs=athena"
myconf="${myconf} --with-menubars=lucid"
myconf="${myconf} --with-scrollbars=lucid"
if use motif ; then
myconf="--with-widgets=motif"
myconf="${myconf} --with-dialogs=motif"
myconf="${myconf} --with-scrollbars=motif"
myconf="${myconf} --with-menubars=lucid"
fi
if use athena ; then
myconf="--with-scrollbars=athena"
fi
if use Xaw3d; then
myconf="${myconf} --with-athena=3d"
elif use neXt; then
myconf="${myconf} --with-athena=next"
else
myconf="${myconf} --with-athena=xaw"
fi
use dnd && myconf="${myconf} --with-dragndrop --with-offix"
myconf="${myconf} $(use_with tiff ) $(use_with png )"
myconf="${myconf} $(use_with jpeg ) $(use_with xface )"
else
myconf="${myconf}
--without-x
--without-xpm
--without-dragndrop
--with-gif=no"
fi
if use mule ; then
myconf="${myconf} --with-mule"
if use xim ; then
if use motif ; then
myconf="${myconf} --with-xim=motif"
else
myconf="${myconf} --with-xim=xlib"
fi
else
myconf="${myconf} --with-xim=no"
fi
myconf="${myconf} $(use_with canna ) $(use_with freewnn wnn )"
fi
# This determines the type of sounds we are playing
local soundconf="native"
# This determines how these sounds should be played
use nas && soundconf="${soundconf},nas"
use esd && soundconf="${soundconf},esd"
myconf="${myconf} --with-sound=${soundconf}"
if use gdbm || use berkdb ; then
use gdbm && mydb="gdbm"
use berkdb && mydb="${mydb},berkdb"
myconf="${myconf} --with-database=${mydb}"
else
myconf="${myconf} --without-database"
fi
# fixes #21264, this should be fixed in 21.4.21 and has been fixed
# in 21.5 for sure. Now that 21.4.21 is out there is no real
# evidence that this indeed got fixed, so keep these exceptions
# for now.
use alpha && myconf="${myconf} --with-system-malloc"
use ppc64 && myconf="${myconf} --with-system-malloc"
use ia64 && myconf="${myconf} --with-system-malloc"
# Enabling modules will cause segfaults outside the XEmacs build directory
use ia64 && myconf="${myconf} --without-modules"
einfo "${myconf}"
# Don't use econf because it uses options which this configure
# script does not understand (like --host).
./configure ${myconf} ${EXTRA_ECONF} \
$(use_with gif ) \
$(use_with gpm ) \
$(use_with postgres postgresql ) \
$(use_with ldap ) \
$(use_with eolconv file-coding ) \
$(use_with pop ) \
--prefix=/usr \
--with-ncurses \
--with-msw=no \
--mail-locking=flock \
--with-site-lisp=yes \
--with-site-modules=yes \
|| die "The configure script failed to run properly"
emake || die "emake failed"
}
src_install() {
emake prefix="${D}"/usr \
mandir="${D}"/usr/share/man/man1 \
infodir="${D}"/usr/share/info \
install gzip-el || die "emake install failed"
# Rename some applications installed in bin so that it is clear
# which application installed them and so that conflicting
# packages (emacs) can't clobber the actual applications.
# Addresses bug #62991.
for i in b2m ctags etags rcs-checkin ; do
mv "${D}"/usr/bin/${i} "${D}"/usr/bin/${i}-xemacs || die "mv ${i} failed"
done
# rename man pages
for i in ctags etags; do
mv "${D}"/usr/share/man/man1/${i}{,-xemacs}.1 || die "mv ${i}.1 failed"
done
# install base packages directories
dodir /usr/lib/xemacs/xemacs-packages/
dodir /usr/lib/xemacs/site-packages/
dodir /usr/lib/xemacs/site-modules/
dodir /usr/lib/xemacs/site-lisp/
if use mule;
then
dodir /usr/lib/xemacs/mule-packages
fi
# remove extraneous info files
cd "${D}"/usr/share/info
rm -f dir info.info texinfo* termcap* standards*
cd "${S}"
dodoc BUGS CHANGES-* ChangeLog GETTING* INSTALL PROBLEMS README*
dodoc "${FILESDIR}"/README.Gentoo
insinto /usr/share/pixmaps
newins "${S}"/etc/${PN}-icon.xpm ${PN}.xpm
insinto /usr/share/applications
doins "${FILESDIR}"/${PN}.desktop
}
pkg_postinst() {
eselect emacs update ifunset
}
pkg_postrm() {
eselect emacs update ifunset
}