ChangeLog

# ChangeLog for app-editors/emacs
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.260 2008/06/04 12:26:51 ulm Exp $

04 Jun 2008; Ulrich Mueller emacs-21.4-r17.ebuild,
emacs-22.1-r4.ebuild, emacs-22.2-r2.ebuild:
Warn about inconsistent toolkit USE flags.

01 Jun 2008; Ulrich Mueller emacs-21.4-r15.ebuild,
emacs-21.4-r17.ebuild, emacs-22.1-r4.ebuild, emacs-22.2-r2.ebuild:
Depend on x11-libs/openmotif explicitely for USE=motif.

31 May 2008; Christian Faulhammer
-emacs-18.59-r4.ebuild:
clean up

31 May 2008; Christian Faulhammer
emacs-18.59-r5.ebuild:
stable x86, bug 221281

16 May 2008; Ulrich Mueller -emacs-22.2-r1.ebuild:
Remove intermediate version.

16 May 2008; Tobias Scherbaum
emacs-21.4-r17.ebuild, emacs-22.2-r2.ebuild:
ppc stable, bug #221197

14 May 2008; Markus Meier emacs-21.4-r17.ebuild,
emacs-22.2-r2.ebuild:
amd64 stable, bug #221197

14 May 2008; Christian Faulhammer
emacs-21.4-r17.ebuild, emacs-22.2-r2.ebuild:
stable x86, security bug 221197

14 May 2008; Markus Rothe emacs-21.4-r17.ebuild,
emacs-22.2-r2.ebuild:
Stable on ppc64; bug #221197

13 May 2008; Jeroen Roovers emacs-21.4-r17.ebuild,
emacs-22.2-r2.ebuild:
Stable for HPPA (bug #221197).

13 May 2008; Raúl Porcel emacs-21.4-r17.ebuild,
emacs-22.2-r2.ebuild:
alpha/ia64/sparc stable wrt #221197

*emacs-22.2-r2 (12 May 2008)
*emacs-21.4-r17 (12 May 2008)

12 May 2008; Ulrich Mueller
+files/emacs-22.2-fast-lock.patch, -emacs-21.4-r16.ebuild,
+emacs-21.4-r17.ebuild, +emacs-22.2-r2.ebuild:
Security fix for fast-lock cache, CVE-2008-2142, bug 221197.

*emacs-21.4-r16 (11 May 2008)
*emacs-18.59-r5 (11 May 2008)

11 May 2008; Ulrich Mueller +emacs-18.59-r5.ebuild,
+emacs-21.4-r16.ebuild:
Fix temacs segmentation fault when dumping with kernel 2.6.25, bug 221281.
Patch backported from Emacs 22.

06 May 2008; Jeroen Roovers emacs-22.2-r1.ebuild:
Stable for HPPA (bug #220535).

06 May 2008; Brent Baude emacs-22.2-r1.ebuild:
stable ppc/ppc64, bug 220535

06 May 2008; Christian Faulhammer emacs-22.2-r1.ebuild:
stable x86/amd64, bug 220535

06 May 2008; Raúl Porcel emacs-22.2-r1.ebuild:
alpha/ia64/sparc stable wrt #220535

*emacs-22.2-r1 (08 Apr 2008)
*emacs-22.1-r4 (08 Apr 2008)
*emacs-21.4-r15 (08 Apr 2008)

08 Apr 2008; Ulrich Mueller
+files/emacs-22.1-vcdiff-tmp-race.patch, -emacs-21.4-r14.ebuild,
+emacs-21.4-r15.ebuild, -emacs-22.1-r3.ebuild, +emacs-22.1-r4.ebuild,
-emacs-22.2.ebuild, +emacs-22.2-r1.ebuild:
Security fix for vcdiff insecure temporary file creation, CVE-2008-1694,
bug 216880. Straight to stable, since there is no sensible way for arch
teams to test (vcdiff was used for SCCS only). Remove vulnerable revisions.

06 Apr 2008; Ulrich Mueller
+files/emacs-22.2-heimdal-gentoo.patch, emacs-22.2.ebuild:
Add patch to support compilation with Heimdal, and change dependency back
to virtual/krb5; fixes bug 215558. Thanks to Michael Hammer (mueli)
, Honza Macháček and
Martin Mokrejš for their help.

01 Apr 2008; Ulrich Mueller emacs-22.2.ebuild:
Explicitely depend on mit-krb5 instead of virtual/krb5, bug 215558.

28 Mar 2008; Ulrich Mueller emacs-18.59-r4.ebuild,
emacs-22.1-r3.ebuild, emacs-22.2.ebuild:
Add keepdir for site-lisp dir again, bug 93329; no idea why it was removed.
Remove redundant dodir command.

*emacs-22.2 (26 Mar 2008)

26 Mar 2008; Ulrich Mueller +emacs-22.2.ebuild:
Version bump.

02 Feb 2008; Ulrich Mueller emacs-18.59-r4.ebuild,
emacs-21.4-r14.ebuild, emacs-22.1-r3.ebuild:
Change to new syntax of eselect-emacs and update dependency. Remove empty
Info directory after unmerge.

30 Jan 2008; Ulrich Mueller
-files/emacs-22.1-disable_alsa_detection.patch, emacs-21.4-r14.ebuild,
emacs-22.1-r3.ebuild:
Replace ALSA disable patch by sed magic. Add missing dependency on pkgconfig.

22 Jan 2008; Ulrich Mueller -emacs-21.4-r4.ebuild:
Remove old.

17 Jan 2008; Ulrich Mueller
files/emacs-22.1-s390x-non-multilib.patch:
Replace s390x patch by upstream fix, bug 205555.

13 Jan 2008; Ulrich Mueller
+files/emacs-22.1-s390x-non-multilib.patch, emacs-22.1-r3.ebuild:
Fix build issue on S/390x, bug 205555.

10 Jan 2008; Ulrich Mueller emacs-21.4-r14.ebuild:
Update DESCRIPTION. Re-add dropped keywords, following dependencies.

04 Jan 2008; Ulrich Mueller emacs-21.4-r14.ebuild:
Remove lesstif USE flag wrt bug #117057. Be verbose about toolkit selection.

02 Jan 2008; Ulrich Mueller emacs-22.1-r3.ebuild:
Remove explicit zlib dependency.

28 Dec 2007; Ulrich Mueller emacs-22.1-r3.ebuild:
Include net-libs/liblockfile in dependencies, fixes bug #203624.

11 Dec 2007; Ulrich Mueller -emacs-21.4-r12.ebuild:
Remove vulnerable revision wrt bug #200297.

07 Dec 2007; Christian Faulhammer
-emacs-21.4-r8.ebuild:
clean up

02 Dec 2007; Ulrich Mueller emacs-18.59-r4.ebuild,
emacs-21.4-r12.ebuild, emacs-21.4-r14.ebuild, emacs-22.1-r3.ebuild:
Declare some variables as local, add some quotes.

01 Dec 2007; Ulrich Mueller emacs-22.1-r3.ebuild:
Rename site-init file for USE=source.

28 Nov 2007; Ulrich Mueller -emacs-21.4-r13.ebuild,
-emacs-22.1-r2.ebuild:
Remove vulnerable versions wrt security bug #200297.

28 Nov 2007; emacs-21.4-r14.ebuild,
emacs-22.1-r3.ebuild:
Stable on amd64, thanks angelos.

27 Nov 2007; Raúl Porcel emacs-21.4-r14.ebuild,
emacs-22.1-r3.ebuild:
alpha/ia64/sparc stable

27 Nov 2007; Tobias Scherbaum
emacs-21.4-r14.ebuild, emacs-22.1-r3.ebuild:
ppc stable, bug #200297

27 Nov 2007; Markus Rothe emacs-21.4-r14.ebuild,
emacs-22.1-r3.ebuild:
Stable on ppc64; bug #200297

27 Nov 2007; Jeroen Roovers emacs-22.1-r3.ebuild:
Dropping compiler optimisations to -O1 for hppa (solves bug #193703).

26 Nov 2007; Christian Faulhammer
emacs-21.4-r14.ebuild, emacs-22.1-r3.ebuild:
stable x86

26 Nov 2007; Jeroen Roovers emacs-21.4-r14.ebuild,
emacs-22.1-r3.ebuild:
Stable for HPPA.

*emacs-22.1-r3 (25 Nov 2007)
*emacs-21.4-r14 (25 Nov 2007)

25 Nov 2007; Ulrich Mueller
+files/emacs-22.1-format-int.patch, +emacs-21.4-r14.ebuild,
+emacs-22.1-r3.ebuild:
Fix buffer overflow in format function, CVE-2007-6109, security bug #200297.
Patch from upstream CVS, partially backported to Emacs 21.

22 Nov 2007; Ulrich Mueller emacs-22.1-r2.ebuild:
Fix alsa dependency, thanks Flameeyes for pointing this out.

14 Nov 2007; Brent Baude emacs-21.4-r13.ebuild:
Marking emacs-21.4-r13 ppc64 stable for bug 197313

14 Nov 2007; Ulrich Mueller emacs-21.4-r13.ebuild:
Stable on amd64, bug #197313.

06 Nov 2007; Ulrich Mueller -emacs-22.1-r1.ebuild:
Remove vulnerable revision wrt bug #197958.

06 Nov 2007; Chris Gianelloni emacs-22.1-r2.ebuild:
Stable on amd64 wrt bug #197958.

05 Nov 2007; Tobias Scherbaum
emacs-22.1-r2.ebuild:
ppc stable, bug #197958

03 Nov 2007; Markus Rothe emacs-22.1-r2.ebuild:
Stable on ppc64; bug #197958

03 Nov 2007; Dawid Węgliński emacs-22.1-r2.ebuild:
Stable on x86 (bug #197958)

03 Nov 2007; Raúl Porcel emacs-22.1-r2.ebuild:
alpha/ia64/sparc stable wrt security #197958

03 Nov 2007; Ulrich Mueller emacs-18.59-r4.ebuild:
Use epatch for bulk patching.

*emacs-22.1-r2 (03 Nov 2007)

03 Nov 2007; Ulrich Mueller
+files/emacs-22.1-hack-local-variables.patch, +emacs-22.1-r2.ebuild:
Security fix for function hack-local-variables, CVE-2007-5795, bug #197958.

02 Nov 2007; Ulrich Mueller emacs-22.1-r1.ebuild:
Partial sync of emacs and emacs-cvs ebuilds.

01 Nov 2007; Raúl Porcel emacs-21.4-r13.ebuild:
alpha/ia64 stable wrt #197313

31 Oct 2007; Jeroen Roovers emacs-21.4-r13.ebuild:
Stable for HPPA (bug #197313).

30 Oct 2007; nixnut emacs-21.4-r13.ebuild:
Stable on ppc wrt bug 197313

30 Oct 2007; Ferris McCormick emacs-21.4-r13.ebuild:
Sparc stable --- Security Bug #197313

30 Oct 2007; Christian Faulhammer
emacs-21.4-r13.ebuild:
stable x86, bug 197313

*emacs-21.4-r13 (28 Oct 2007)

28 Oct 2007; Ulrich Mueller +emacs-21.4-r13.ebuild:
Security fix for crash on malformed GIF images, CVE-2007-2833, bug #197313.

24 Oct 2007; Ulrich Mueller emacs-22.1-r1.ebuild:
Add standard comment to site-init file.

23 Oct 2007; Raúl Porcel emacs-22.1-r1.ebuild:
alpha/ia64 stable

14 Oct 2007; Ulrich Mueller emacs-21.4-r4.ebuild,
emacs-21.4-r8.ebuild, emacs-21.4-r12.ebuild:
Change USE flag "nosendmail" to "sendmail". Update postinst messages.

10 Oct 2007; Christian Faulhammer
emacs-18.59-r4.ebuild, emacs-21.4-r4.ebuild, emacs-21.4-r8.ebuild,
emacs-21.4-r12.ebuild, emacs-22.1-r1.ebuild:
remove PROVIDE=virtual/editor as we have now a new-style virtual

06 Oct 2007; Ulrich Mueller emacs-21.4-r12.ebuild,
emacs-22.1-r1.ebuild:
Minor QA: quote ROOT variable.

27 Sep 2007; Ulrich Mueller -emacs-22.1.ebuild:
Remove old revision.

26 Sep 2007; Christoph Mende emacs-22.1-r1.ebuild:
Stable on amd64 wrt bug #193501

24 Sep 2007; Brent Baude emacs-22.1-r1.ebuild:
Marking emacs-22.1-r1 ppc64 stable for bug#193501

24 Sep 2007; Jeroen Roovers emacs-22.1-r1.ebuild:
Marked ~hppa (bug #180642).

24 Sep 2007; Raúl Porcel emacs-22.1-r1.ebuild:
Add ~alpha/~ia64

23 Sep 2007; Ferris McCormick emacs-22.1-r1.ebuild:
Sparc stable --- Bug #193501

23 Sep 2007; nixnut emacs-22.1-r1.ebuild:
Stable on ppc wrt bug 193501

23 Sep 2007; Christian Faulhammer emacs-22.1-r1.ebuild:
stable x86, bug 193501

18 Sep 2007; Ulrich Mueller emacs-22.1.ebuild,
emacs-22.1-r1.ebuild:
Change WANT_AUTOCONF to 2.5 following a change in autotools.eclass.
Fixes bugs #192894 and #192923.

25 Aug 2007; Christian Faulhammer
emacs-18.59-r4.ebuild, emacs-21.4-r4.ebuild, emacs-21.4-r8.ebuild,
emacs-21.4-r12.ebuild, emacs-22.1.ebuild, emacs-22.1-r1.ebuild:
add BSD license because of etags binary, which initial version has been
licensed thereunder

25 Aug 2007; Ulrich Mueller emacs-21.4-r12.ebuild,
emacs-22.1-r1.ebuild:
Do "emake versionclean" before dumping again. Add some die messages.

*emacs-22.1-r1 (24 Aug 2007)

24 Aug 2007; Ulrich Mueller
+files/emacs-22.1-backup-buffer.patch, +emacs-22.1-r1.ebuild:
Fix infinite loop if Emacs lacks permission to remove backup, bug #189627.
Thanks to Martin von Gagern .

23 Aug 2007; Ulrich Mueller -files/emacs-21.desktop,
-files/60emacs-21.envd, -files/emacs-subdirs-el-gentoo.diff,
emacs-21.4-r4.ebuild, emacs-21.4-r8.ebuild:
Put remaining files for Emacs 21 on Gentoo mirrors.

21 Aug 2007; Ulrich Mueller emacs-22.1.ebuild:
Generate score files in pkg_postinst.

01 Jul 2007; Ulrich Mueller
files/emacs-22.1-Xaw3d-headers.patch:
Properly check for Xaw3d in configure; patch backported from CVS trunk.
Thanks to Philantrop for pointing this out.

25 Jun 2007; Ulrich Mueller -files/emacs-21.2-sh.patch,
-files/emacs-21.3-amd64.patch, -files/emacs-21.3-hppa.patch,
-files/emacs-21.3-ppc64.patch, -files/emacs-21.3-xorg.patch,
-files/emacs-21.4-Xaw3d-headers.patch,
-files/emacs-21.4-autosave-tmp.patch,
-files/emacs-21.4-blessmail-build.patch,
-files/emacs-21.4-freebsd-terminfo.patch,
-files/emacs-21.4-libungif-gif-gentoo.patch,
-files/emacs-21.4-oldxmenu-malloc.patch,
-files/emacs-21.4-ppc64-fix-unexelf.patch, -files/emacs-21.4-qa.patch,
emacs-21.4-r4.ebuild, emacs-21.4-r8.ebuild, emacs-21.4-r12.ebuild:
Put patches on Gentoo mirrors.

24 Jun 2007; Ulrich Mueller emacs-22.1.ebuild:
Depend on virtual/motif and remove lesstif USE flag.

13 Jun 2007; Ulrich Mueller emacs-22.1.ebuild:
Configure now supports "use_with hesiod" properly.

12 Jun 2007; Diego Pettenò emacs-22.1.ebuild:
Add ~sparc-fbsd keyword.

05 Jun 2007; Gustavo Zacarias emacs-22.1.ebuild:
Keyworded ~sparc wrt #180642

04 Jun 2007; Ulrich Mueller
+files/emacs-22.1-oldxmenu-qa.patch, emacs-22.1.ebuild:
Quiet QA compilation warnings, patch submitted and accepted upstream.

04 Jun 2007; Brent Baude emacs-22.1.ebuild:
Marking emacs-22.1 ppc/ppc64 ~ for bug#180642

02 Jun 2007; deedra waters emacs-22.1.ebuild:
Adding ~amd64 keyword

02 Jun 2007; Diego Pettenò emacs-22.1.ebuild:
Add ~x86-fbsd keyword.

*emacs-22.1 (02 Jun 2007)

02 Jun 2007; Ulrich Mueller
+files/emacs-22.1-Xaw3d-headers.patch,
+files/emacs-22.1-disable_alsa_detection.patch,
+files/emacs-22.1-freebsd-sparc.patch, +emacs-22.1.ebuild:
Emacs 22 released. Ebuild and patchset based on emacs-cvs-22.0.990.

01 Jun 2007; nixnut emacs-21.4-r12.ebuild:
Stable on ppc wrt bug 180100

29 May 2007; Raúl Porcel emacs-21.4-r12.ebuild:
alpha/ia64 stable wrt #180100

29 May 2007; Jeroen Roovers emacs-21.4-r12.ebuild:
Stable for HPPA (bug #180100).

28 May 2007; Ulrich Mueller
+files/emacs-21.4-oldxmenu-malloc.patch, emacs-21.4-r12.ebuild:
Fix segmentation faults on ia64, bug #180142.

28 May 2007; Christian Faulhammer
emacs-18.59-r4.ebuild:
stable x86

28 May 2007; Christian Faulhammer
emacs-21.4-r12.ebuild:
x86/amd64 stable, bug 180100

28 May 2007; Brent Baude emacs-21.4-r12.ebuild:
Marking emacs-21.4-r12 ppc64 stable for 180100

28 May 2007; Gustavo Zacarias emacs-21.4-r12.ebuild:
Stable on sparc wrt #180100

24 May 2007; Christian Faulhammer ChangeLog:
corrected ChangeLog, so it conforms to our standards

15 May 2007; Ulrich Mueller emacs-21.4-r4.ebuild,
emacs-21.4-r8.ebuild, emacs-21.4-r12.ebuild:
Don't provide virtual/emacs, it is a new-style virtual now.

15 May 2007; Roy Marples
+files/emacs-21.4-freebsd-terminfo.patch, emacs-21.4-r12.ebuild:
Added ~x86-fbsd keyword, #174884

14 May 2007; Ulrich Mueller emacs-21.4-r12.ebuild:
Remove !arm inverse arch flag for Xaw3d and motif, according to jokey it is
not needed anymore.

14 May 2007; Markus Ullmann emacs-21.4-r12.ebuild:
Works on arm as well

30 Apr 2007; Tony Vroon emacs-21.4-r12.ebuild:
Add ~ppc keyword. Tested on a PowerBook 5,9 with GCC 4.1.2

30 Apr 2007; Ulrich Mueller -emacs-18.59-r1.ebuild,
emacs-21.4-r12.ebuild:
Removed dependency on sys-devel/gettext. Removed old (non-eselect) revision.

29 Apr 2007; Ulrich Mueller emacs-21.4-r12.ebuild:
Apply emacs-21.4-ppc64-fix-unexelf.patch only on ppc64 architecture.
Don't assign CPPFLAGS, use append-cppflags instead.

29 Apr 2007; Markus Rothe
+files/emacs-21.4-ppc64-fix-unexelf.patch, emacs-21.4-r12.ebuild:
Add patch for ppc64 - thanks ulm; bug #152006. Also add ~ppc64; bug #174884

26 Apr 2007; Ulrich Mueller emacs-21.4-r12.ebuild:
Fixed parameter expansion for file name of man pages.

24 Apr 2007; Ulrich Mueller emacs-18.59-r1.ebuild,
emacs-18.59-r4.ebuild:
Don't PROVIDE virtual/emacs, it makes no sense for version 18.

19 Apr 2007; Bryan Østergaard emacs-21.4-r12.ebuild:
Add ~alpha keyword, bug 174882.

19 Apr 2007; Ulrich Mueller
+files/emacs-21.4-Xaw3d-headers.patch, emacs-21.4-r12.ebuild:
Backported Emacs 22 upstream patch for proper including of Xaw3d headers;
removed build-time dependency on x11-libs/libXaw; bug #174453.

18 Apr 2007; Gustavo Zacarias emacs-21.4-r12.ebuild:
Keyworded ~sparc wrt #174884

18 Apr 2007; Jeroen Roovers emacs-21.4-r12.ebuild:
Marked ~hppa (bug #174884).

17 Apr 2007; Raúl Porcel emacs-21.4-r12.ebuild:
Add ~ia64 wrt bug 174884

17 Apr 2007; Christian Faulhammer
emacs-21.4-r12.ebuild:
keyworded ~amd64, bug 174884

*emacs-21.4-r12 (16 Apr 2007)

16 Apr 2007; Christian Faulhammer
+files/emacs-21.4-qa.patch, +emacs-21.4-r12.ebuild:
prepared for the new eselect module; qa patch to shut down QA warnings

*emacs-18.59-r4 (16 Apr 2007)

16 Apr 2007; Christian Faulhammer
+emacs-18.59-r4.ebuild:
prepared for the new eselect module

26 Mar 2007; Christian Faulhammer
-files/60emacs-22.0.50.envd, -emacs-21.4-r7.ebuild:
clean up

07 Mar 2007; Christian Faulhammer
-files/40aspell-gentoo.el, emacs-21.4-r7.ebuild, emacs-21.4-r8.ebuild:
removed not working aspell support

*emacs-21.4-r8 (07 Mar 2007)

07 Mar 2007; Christian Faulhammer
+emacs-21.4-r8.ebuild:
make subdirs patch obsolete

02 Mar 2007; Christian Faulhammer emacs-21.4-r4.ebuild,
emacs-21.4-r7.ebuild:
added elisp-site-regen to actually update the site-lisp files

02 Mar 2007; Christian Faulhammer
emacs-18.59-r1.ebuild, emacs-21.4-r4.ebuild, emacs-21.4-r7.ebuild:
removed virtual/x11 from dependencies

02 Mar 2007; Christian Faulhammer
-files/emacs-18.59-gcc4.patch, -files/emacs-18.59-gentoo.patch,
-files/emacs-18.59-unexelf.patch, emacs-18.59-r1.ebuild:
patches are now on Gentoo mirrors as they were too big

02 Mar 2007; Christian Faulhammer
-emacs-21.4-r6.ebuild:
clean up

02 Mar 2007; Christian Faulhammer
-files/emacs-22.0.50.desktop, -files/emacs-nofink-gentoo.diff:
remove some unnecessary files

02 Mar 2007; Christian Faulhammer emacs-21.4-r4.ebuild,
emacs-21.4-r6.ebuild, emacs-21.4-r7.ebuild,
-emacs-22.0.50_pre20050225.ebuild:
added flags for PPC64, fixes bug 152006, reported by corsair, solution found
by Andrew John Hughes ; removed stale version as
it is in prefix overlay for ppc-macos

*emacs-21.4-r7 (20 Feb 2007)

20 Feb 2007; Christian Faulhammer
+files/emacs-21.4-autosave-tmp.patch,
+files/emacs-21.4-blessmail-build.patch, +emacs-21.4-r7.ebuild:
revision bump with patches to handle rests of temporary path strings in the
executable (bug 22563); and handling a possible compilation error in special
cases where Emacs was called without disabling the start-up file (bug
166059). Everything provided by Ulrich Mueller

*emacs-18.59-r1 (14 Feb 2007)

14 Feb 2007; Christian Faulhammer
+files/emacs-18.59-gcc4.patch, +files/emacs-18.59-gentoo.patch,
+files/emacs-18.59-unexelf.patch, +emacs-18.59-r1.ebuild:
readded this old version as it can become handy over a SSH connection with
X; digged out some old patches, and made it ready for GCC 4. Provided by
Ulrich Mueller in bug 44766

06 Feb 2007; Christian Faulhammer emacs-21.4-r6.ebuild:
made the definition of suffix variable more elegant (thanks to Ulrich
Müller ; removed emacsclient from man page
symlinking; added gfdl at the same place

04 Feb 2007; Christian Faulhammer
-emacs-21.4-r5.ebuild, emacs-21.4-r6.ebuild:
add a check for uncompressed man pages and clean up

03 Feb 2007; Christian Faulhammer emacs-21.4-r6.ebuild:
determine compression suffix correctly and finally

02 Feb 2007; Christian Faulhammer emacs-21.4-r6.ebuild:
hopefully fix man page symlinks again

*emacs-21.4-r6 (02 Feb 2007)

02 Feb 2007; Christian Faulhammer
+emacs-21.4-r6.ebuild:
create symlinks for man pages, as reported by Ulrich Mueller


05 Jan 2007; Christian Faulhammer emacs-21.4-r5.ebuild:
correctly use aspell when having it installed, see bug #158850, reported
by Don Pellegrino

04 Dec 2006; Christian Faulhammer -emacs-18.59.ebuild,
-emacs-21.4-r1.ebuild, -emacs-21.4-r2.ebuild, -emacs-21.4-r3.ebuild:
clean up old versions

26 Nov 2006; Christian Faulhammer emacs-21.4-r5.ebuild:
added some quotes around epatch commands

31 Oct 2006; Christian Faulhammer emacs-21.4-r4.ebuild,
emacs-21.4-r5.ebuild:
removed dependency on sys-libs/gdbm as reported in bug #103382 by Marien
Zwart

31 Oct 2006; Christian Faulhammer
+files/40aspell-gentoo.el:
copied 40aspell-gentoo.el over from app-editors/emacs-cvs to fix bug #101585

30 Oct 2006; Christian Faulhammer emacs-21.4-r5.ebuild:
suppressed the output of permission fixing, as reported by Carsten Lohrke
in bug #85968

15 Oct 2006; Bryan Østergaard emacs-21.4-r4.ebuild:
Stable on ia64.

10 Oct 2006; Jeroen Roovers emacs-21.4-r4.ebuild:
Stable for HPPA (bug #136987).

30 Aug 2006; Michael Hanselmann emacs-21.4-r4.ebuild:
Stable on ppc.

21 Aug 2006; Matthew Kennedy emacs-21.4-r5.ebuild:
Add note to pkg_postinst that Emacs needs fonts; Resolves Bug #137598.

18 Aug 2006; Joshua Jackson emacs-21.4-r4.ebuild:
Stable x86; following the others

13 Aug 2006; Markus Rothe emacs-21.4-r4.ebuild:
Stable on ppc64; bug #136987

*emacs-21.4-r5 (12 Aug 2006)

12 Aug 2006; Matthew Kennedy
+files/emacs-21.4-libungif-gif-gentoo.patch, +emacs-21.4-r5.ebuild:
Force build with libgif, not libungif; Resolves Bug #95961.

11 Aug 2006; Jose Luis Rivero emacs-21.4-r4.ebuild:
Stable on alpha wrt bug #136987

11 Aug 2006; Jason Wever emacs-21.4-r4.ebuild:
Stable on SPARC wrt bug #136987.

09 Aug 2006; Thomas Cort emacs-21.4-r4.ebuild:
Stable on amd64 wrt Bug #136987.

*emacs-21.4-r4 (09 Aug 2006)

09 Aug 2006; Matthew Kennedy +emacs-21.4-r4.ebuild:
Replace -O3 onwards (if present) with -O2; Resolves Bug #136987 and many
other bugs.

03 May 2006; Diego Pettenò emacs-21.4-r3.ebuild:
Add ~x86-fbsd keyword.

03 May 2006; files/digest-emacs-21.4-r1,
files/digest-emacs-21.4-r2, files/digest-emacs-21.4-r3,
files/digest-emacs-22.0.50_pre20050225, Manifest:
Fixed digests wrt Bug #132083.

27 Apr 2006; Alec Warner files/digest-emacs-18.59,
files/digest-emacs-21.4-r1, files/digest-emacs-21.4-r2,
files/digest-emacs-21.4-r3, files/digest-emacs-22.0.50_pre20050225,
Manifest:
Fixing duff SHA256 digests: Bug # 131293

14 Mar 2006; Fernando J. Pereda emacs-21.4-r3.ebuild:
Stable on alpha as per bug #76141. Tested by Thomas Cort

12 Mar 2006; Jason Wever emacs-21.4-r3.ebuild:
Stable on SPARC wrt bug #76141.

10 Mar 2006; Michael Hanselmann emacs-21.4-r3.ebuild:
Stable on ppc.

09 Mar 2006; Aron Griffis emacs-21.4-r3.ebuild:
Mark 21.4-r3 stable on ia64

08 Mar 2006; Mike Doty emacs-21.4-r3.ebuild:
amd64 stable, bug 76141

08 Mar 2006; Jeroen Roovers emacs-21.4-r3.ebuild:
Stable on hppa (bug #113266).

08 Mar 2006; Michele Noberasco emacs-21.4-r3.ebuild:
Stable for x86. See bugs #76141 and #113266.

08 Mar 2006; Markus Rothe emacs-21.4-r3.ebuild:
Stable on ppc64; bug #113266

*emacs-21.4-r3 (06 Mar 2006)

06 Mar 2006; Matthew Kennedy +emacs-21.4-r3.ebuild:
Remove the GNOME USE flag; Install the .desktop file unconditionally;
Resolves Bug #112449.

05 Mar 2006; Joseph Jezak emacs-21.4-r2.ebuild:
Marked ppc stable for bug #76141.

01 Mar 2006; Markus Rothe emacs-21.4-r2.ebuild:
Stable on ppc64; bug #76141

01 Mar 2006; Jeroen Roovers emacs-21.4-r2.ebuild:
Stable on hppa (bug #76141).

27 Feb 2006; emacs-21.4-r2.ebuild:
Stable on IA64; bug #76141.

*emacs-21.4-r2 (27 Feb 2006)

27 Feb 2006; Matthew Kennedy emacs-18.59.ebuild,
+emacs-21.4-r2.ebuild, emacs-22.0.50_pre20050225.ebuild:
Move SANDBOX_DISABLED=1 from global scope to SANDBOX_ON=0 in src_compile();
Partially resolves Bug #76141.

09 Feb 2006; Matthew Kennedy emacs-18.59.ebuild:
Modular X dependencies; Resolves Bug #122215.

10 Jan 2006; -emacs-21.4.ebuild:
Removing 21.4; stale version that is succeeded by 21.4-r1 in keywords.
Reason for removal is bug 118386, ungif being screwed over for a good chunk
of time thus removed.

12 Dec 2005; Donnie Berkholz ; emacs-21.4-r1.ebuild,
emacs-22.0.50_pre20050225.ebuild:
(#113394) We also need fonts in modular.

12 Dec 2005; Donnie Berkholz ; emacs-21.4-r1.ebuild,
emacs-22.0.50_pre20050225.ebuild:
Add modular X dependencies.

23 Aug 2005; Aron Griffis emacs-21.4-r1.ebuild:
stable on ia64

03 Aug 2005; Bryan Østergaard emacs-21.4-r1.ebuild:
Stable on alpha.

29 Jul 2005; MATSUU Takuto +files/emacs-21.2-sh.patch,
emacs-21.4-r1.ebuild:
Added emacs-21.2-sh.patch and ~sh to KEYWORDS.

17 Jul 2005; Tobias Scherbaum
emacs-21.4-r1.ebuild:
ppc stable

07 Jul 2005; Markus Rothe emacs-21.4-r1.ebuild:
Stable on ppc64

05 Jul 2005; Rene Nussbaumer emacs-21.4-r1.ebuild:
Stable on hppa.

05 Jul 2005; Olivier Crête emacs-21.4-r1.ebuild:
Stable on amd64

04 Jul 2005; Gustavo Zacarias emacs-21.4-r1.ebuild:
Stable on sparc

02 Jul 2005; Mamoru KOMACHI emacs-21.4-r1.ebuild:
Stable on x86.

21 May 2005; Mamoru KOMACHI emacs-21.4.ebuild,
emacs-21.4-r1.ebuild:
Added keepdir /usr/share/emacs/site-lisp to fix bug #93329 and use
leim-21.4.tar.gz to fix bug #91665.

03 May 2005; Mamoru KOMACHI files/emacs-21.desktop,
files/emacs-22.0.50.desktop, -files/emacs.desktop, emacs-21.4-r1.ebuild:
Make desktop entry consistent between emacs and emacs-cvs; bug #89757.

12 Apr 2005; Jeremy Huddleston
emacs-21.4-r1.ebuild, emacs-22.0.50_pre20050225.ebuild:
Use proper toolchain compiler.

12 Apr 2005; Mamoru KOMACHI emacs-21.4.ebuild,
emacs-21.4-r1.ebuild:
Unset LDFLAGS; see bug #77430 and bug #65002.

*emacs-21.4-r1 (08 Apr 2005)

08 Apr 2005; Mamoru KOMACHI files/emacs-21.desktop,
files/emacs-22.0.50.desktop, +emacs-21.4-r1.ebuild,
emacs-22.0.50_pre20050225.ebuild:
Use giflib instead of libungif; bug #85720. Installs correct desktop
entry; bug #86932.

*emacs-22.0.50_pre20050225 (26 Feb 2005)

26 Feb 2005; Mamoru KOMACHI
+files/60emacs-22.0.50.envd, +files/emacs-22.0.50.desktop,
-emacs-21.3-r2.ebuild, -emacs-21.3-r3.ebuild, -emacs-21.3-r5.ebuild,
-emacs-21.3.50_pre20041027.ebuild, +emacs-22.0.50_pre20050225.ebuild:
Updated CVS snapshot for ppc-macos.
Removed ebuilds vulnerable to GLSA 200502-20.

20 Feb 2005; Aron Griffis emacs-21.4.ebuild:
stable on ia64 #79686

10 Feb 2005; Bryan Østergaard emacs-21.4.ebuild:
Stable on alpha, bug 79686.

09 Feb 2005; Michael Hanselmann emacs-21.4.ebuild:
Stable on ppc.

09 Feb 2005; Marcus D. Hanwell emacs-21.4.ebuild:
Marked stable on amd64, bug 79686.

08 Feb 2005; Markus Rothe emacs-21.4.ebuild:
Stable on ppc64; bug #79686

08 Feb 2005; Olivier Crête emacs-21.4.ebuild:
Stable on x86 wrt bug #79686

08 Feb 2005; Gustavo Zacarias emacs-21.4.ebuild:
Stable on sparc wrt #79686

*emacs-21.4 (08 Feb 2005)

08 Feb 2005; Mamoru KOMACHI +emacs-21.4.ebuild:
Version bumped. This fixes CAN-2005-0100. (bug #79686)

28 Dec 2004; Ciaran McCreesh :
Change encoding to UTF-8 for GLEP 31 compliance

19 Dec 2004; Jeremy Huddleston
emacs-21.3-r5.ebuild, emacs-21.3.50_pre20041027.ebuild:
multilib fixin.

30 Nov 2004; Sven Wegener emacs-21.3-r4.ebuild,
emacs-21.3-r5.ebuild:
Added missing ? after !use in dependency.

*emacs-21.3-r5 (23 Nov 2004)

23 Nov 2004; Mamoru KOMACHI
+files/emacs-21.3-xorg.patch, +emacs-21.3-r5.ebuild:
Added a patch to fix AltGr key behaviour. Thanks to Sergio Polini
for providing a link to the patch.
This closes bug #66508. Changed binaries' suffix from "-${SLOT}" to
".emacs-${SLOT}" (b2m, ctags, etags and rcs-checkin from xemacs
conflict with those from emacs). See bug #62991 for detail.

*emacs-21.3.50_pre20041027 (07 Nov 2004)

07 Nov 2004; Mamoru KOMACHI
+files/emacs-nofink-gentoo.diff, +emacs-21.3.50_pre20041027.ebuild:
Added Carbon Emacs (aqua USE flag). See bug #64362.
Also added multi-tty patch.

19 Oct 2004; Bryan Østergaard emacs-21.3-r4.ebuild:
~alpha keyword.

19 Oct 2004; Dylan Carlson emacs-21.3-r3.ebuild:
Stable on amd64.

16 Oct 2004; Mamoru KOMACHI emacs-21.3-r3.ebuild,
emacs-21.3-r4.ebuild:
Fixed compile problem when lesstif USE flag is set but openmotif is not
installed. This closes bug #67492.

14 Oct 2004; Mamoru KOMACHI emacs-21.3-r4.ebuild:
Specify alternatives version explicitly.

06 Oct 2004; Guy Martin emacs-21.3-r3.ebuild,
emacs-21.3-r4.ebuild:
Stable on hppa.

03 Oct 2004; Mamoru KOMACHI +files/60emacs-21.envd,
-files/emacs-21.1-gentoo.diff, +files/emacs-21.desktop,
+files/emacs-subdirs-el-gentoo.diff, emacs-21.3-r4.ebuild:
Sync IUSE (nosendmail). More on SLOT support.

30 Sep 2004; Mamoru KOMACHI -emacs-21.1-r4.ebuild,
-emacs-21.2-r2.ebuild, emacs-21.3-r2.ebuild, emacs-21.3-r3.ebuild,
emacs-21.3-r4.ebuild:
Changed SLOT="0" to SLOT="21", see bug #65061. Removed old versions.

24 Sep 2004; Gustavo Zacarias emacs-21.3-r3.ebuild:
Stable on sparc

23 Sep 2004; Mamoru KOMACHI emacs-21.3-r3.ebuild,
emacs-21.3-r4.ebuild:
Filtered out -O[3-9] if gcc-3.4 detected; bug #64832, bug #64790
and bug #64286.

07 Sep 2004; Mamoru KOMACHI emacs-21.3-r4.ebuild:
Added nosendmail USE flag. This closes bug #11104.

31 Jul 2004; Mamoru KOMACHI
-files/emacs-18.59-gcc-gentoo.patch, -files/emacs-18.59-gentoo.patch,
-files/emacs-18.59-unexelf.patch, emacs-18.59.ebuild:
Put patches on Gentoo mirrors.

17 Jul 2004; Tom Gall emacs-21.3-r4.ebuild:
stable on ppc64

15 Jul 2004; Tom Gall emacs-21.3-r4.ebuild:
added ~ppc64 bug #55328

*emacs-21.3-r4 (04 Jul 2004)

04 Jul 2004; Mamoru KOMACHI -emacs-21.3-r1.ebuild,
emacs-21.3-r2.ebuild, emacs-21.3-r3.ebuild, +emacs-21.3-r4.ebuild:
Added partial SLOT support. Reversed Xaw3d and motif USE flag order,
see bug #18518

01 Jun 2004; Aron Griffis emacs-21.3-r2.ebuild,
emacs-21.3-r3.ebuild:
Fix use invocation

17 May 2004; files/emacs-18.59-gcc-gentoo.patch:
Remove compiler option adjustments which made the build incompatible with GCC
2.95

13 May 2004; Michael Sterrett emacs-21.3-r3.ebuild:
don't use deprecated ? : use syntax

*emacs-21.3-r3 (13 May 2004)
*emacs-18.59 (13 May 2004)

13 May 2004; +files/emacs-18.59-gcc-gentoo.patch,
+files/emacs-18.59-gentoo.patch, +files/emacs-18.59-unexelf.patch,
+emacs-18.59.ebuild, +emacs-21.3-r3.ebuild:
Added retro emacs-18.59 w/ SLOT=1 (ebuild contributed by Ulrich Mueller
), resolves Bug #44766; Added new emacs-21.3-r3
with support for using LessTif instead of OpenMotif (OpenMotif has
problems which causes Emacs to be unstable); Marked emacs-21.3-r3 as
~arch.

09 Apr 2004; Brian Jackson emacs-21.3-r2.ebuild:
add s390 keywords

03 Mar 2004; Mamoru KOMACHI emacs-21.1-r4.ebuild,
emacs-21.2-r2.ebuild, emacs-21.3-r1.ebuild, emacs-21.3-r2.ebuild:
Moved gnome USE flag inside X. Closing bug #43228

27 Feb 2004; Sven Blumenstein emacs-21.3-r2.ebuild:
Stable on sparc. use vim, use vim, use vim, use vim, use vim!

18 Feb 2004; Aron Griffis emacs-21.3-r2.ebuild:
stable on ia64

18 Feb 2004; Mamoru KOMACHI emacs-21.3-r1.ebuild,
emacs-21.3-r2.ebuild:
Moved filter-flags to src_compile() to kill a warning with
portage-2.0.50. Marked stable on x86 and alpha

13 Dec 2003; Brad House emacs-21.3-r2.ebuild,
files/emacs-21.3-amd64.patch:
mark stable on amd64 and patch

*emacs-21.3-r2 (08 Dec 2003)

20 Dec 2003; Guy Martin emacs-21.3-r2.ebuild
files/emacs-21.3-hppa.patch :
Fix hppa compilation with a patch. Marked stable on hppa.

08 Dec 2003; Mamoru KOMACHI emacs-21.3-r2.ebuild:
Disable Xaw3d if USE="-Xaw3d" even when it is installed, bug 35300

01 Dec 2003; Mamoru KOMACHI emacs-21.3-r1.ebuild:
Filter -fstack-protector that causes internal compiler error at xterm.c
Closing bug #33265

31 Jul 2003; Tavis Ormandy emacs-21.3-r1.ebuild:
stable on alpha

*emacs-21.3-r1 (01 Apr 2003)

01 Apr 2003; Matthew Kennedy emacs-21.3-r1.ebuild:
resolves bug 18419 -- adds gif support

*emacs-21.3 (27 Mar 2003)
*emacs-21.2-r2 (14 Sep 2002)

06 Jan 2003; Seemant Kulleen *.ebuild :
PROVIDE virtual/editor as well as virtual/emacs now

06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords

14 Sep 2002; Matthew Kennedy
emacs-21.2-r2.ebuild, files/digest-emacs-21.2-r2.ebuild :
Added support for LEIM (input methods for Emacs) based on new leim
USE flag. Credits to Ryan Shaw of bug
6557.

*emacs-21.2-r1 (29 Jul 2002)

07 Aug 2002; Matthew Kennedy
emacs-21.2-r1.ebuild :
Sandbox.

06 Aug 2002; Mark Guertin :
Added ppc to keywords

06 Aug 2002; Matthew Kennedy
emacs-21.2-r1.ebuild :
Documentation install fix. Sandbox adjustment.

29 Jul 2002; Matthew Kennedy
emacs-21.2-r1.ebuild, files/digest-emacs-21.1-r1 :
Permissions fix. Resolves bug #3724

*emacs-21.2 (28 Apr 2002)

28 Apr 2002; pvdabeel
Version bump

*emacs-21.1-r4 (11 Apr 2002)

11 Apr 2002; Spider
Update libpng dependency

28 Apr 2002; pvdabeel
PPC fix (nocombreloc - fixes bug # 2104)

*emacs-21.1-r3 (1 Feb 2002)

1 Feb 2002; G.Bevin ChangeLog :

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.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX emacs-22.1-Xaw3d-headers.patch 4736 RMD160 d94da74ae2e8db00b5b98f35f3bbf11a1f38a188 SHA1 dd4eafe26a313334cc2c51f14b9ee7669428d02a SHA256 80228568be71952150c75adf562208913dcb15e51743480749729f9dc58816ea
AUX emacs-22.1-backup-buffer.patch 481 RMD160 9ef0dfc7cb6a23eea18881dfa1d6d3a9b5873982 SHA1 0302df9678f2cc59c89da8bf47130810e08bfbbf SHA256 84b740a49cf201cd4e5f7384adeb3eff6b1a2c8af6b6b6d1fe849e32d50e0e8b
AUX emacs-22.1-format-int.patch 3078 RMD160 525a4fbac24e2d97c6267655c36c06438f941a87 SHA1 397220a5b57f25a0271c1a4cc45c10f25d5f6703 SHA256 4632460b86af84ee0a826fa1dd228dcc9e763cfde9a8615e8c03655241e2a8fd
AUX emacs-22.1-freebsd-sparc.patch 475 RMD160 a8e6e3f2bc014979fd269a027835a65520c12417 SHA1 71c6d9ee3b3e5149a33d440373a212b56fbd064c SHA256 43584ea923e6c7221e69d1d6a14d55d386565c5decd067a62acc58af522c803b
AUX emacs-22.1-hack-local-variables.patch 561 RMD160 248f09898369161dcd0e3148c7fcb4c9de5b3bc5 SHA1 02018dc2b66f829c83aeeadca240e282a695b9a1 SHA256 d3e2ec4d4b2788a5a6d91669bfc9dcb3dc7ff1f80195d42e5ae751fa4e26b9fb
AUX emacs-22.1-oldxmenu-qa.patch 448 RMD160 ac5b0e57569f0963862ded46953be899fb637590 SHA1 10887f5e0ccebde6715307fdc59faa8f826dd597 SHA256 3039fa8eedc22c638e706123bd1affb0f736a53bf0ebc68566678ead92a4c590
AUX emacs-22.1-s390x-non-multilib.patch 1097 RMD160 01f05e7f917cc7b0e7f8d5c06935a967a9bed8bd SHA1 8783e82d5d53b1993f00481577201511a4fed375 SHA256 2cf2c4722cee9567be5b570a47d32f9322b125cbcd214161d3f956605b03eecc
AUX emacs-22.1-vcdiff-tmp-race.patch 831 RMD160 0ffb7c22f28982a0f199a177a5e21a6a62b5ef46 SHA1 9200da3d3825747ded3cba4c9e1c0a514131e9ae SHA256 a220e676cde0e84fb136328915a747cce1b0807c21373cfda7c93063997d616d
AUX emacs-22.2-fast-lock.patch 1474 RMD160 a85b27612673d3cdea50d35a25fd8f1172425cb2 SHA1 468d15d844cacaf905f5aca9c5ea63f0017a0162 SHA256 72419329a28850e5e92e517a7634a38a106afbb743c21167411bbb755c82f4c2
AUX emacs-22.2-heimdal-gentoo.patch 1906 RMD160 004cd91c637df470e5960854b943d2cce5b628af SHA1 6460fca37eed80fd0b7539ec0982dcd180fe2281 SHA256 7cd1a4358a26aa832461e5a16b6d8a1ea95b58dd19578ee2361f91afc4e3bc7f
DIST emacs-18.59-linux22x-elf-glibc21.diff.gz 15671 RMD160 4fab87eead1a66d767d2334d31507695dcf7b4a8 SHA1 075f1c9cf86e9a10fb686ebd04a2f95d6e4c3972 SHA256 fb810d893938883d50a3a8d7c43fbeb1604d5454f760b8f1f700326c8ee659dd
DIST emacs-18.59-patches-2.tar.bz2 17872 RMD160 bb79f013611768afe79d69c18ce84bae009d04d5 SHA1 ef86046c19aeba889c7c3fd35c83afa76ee8b84b SHA256 d1c7975068b773733fb142e07b86dbf2952a7ff75fe6fa79638d9eee6929b7a4
DIST emacs-18.59.tar.gz 2962652 RMD160 4976d0f0f34b6d54db6774d24a528f74a3bb20dc SHA1 15b25bf130e3eeb91f3eea8c01a3dec9aabf23cc SHA256 1e27e33f91984a91e9b4c1f21433f931aba03670960ecc147bb6d7b0de0f051e
DIST emacs-21.4-patches-2.tar.bz2 9984 RMD160 fd1a5e24740a9ce230b0898864abea2ef4451db2 SHA1 4042d587210dba95514c18054de4a98ce8d4c231 SHA256 2980bf428e97e34def633ce4c6bf383dbaf09aeb57eea318398144a067c7fa34
DIST emacs-21.4-patches-5.tar.bz2 12425 RMD160 522aff90dc0b1876ad9a4082aac07053f992e0f0 SHA1 57162cd4f5a02c455d973ede94204e38b88a280a SHA256 c836e88c707310a9b2da13543c25f3895f19ad3f30f634a234fa0789570d9d00
DIST emacs-21.4a.tar.gz 20403483 RMD160 c312e739935b56d08783bbfe97992297a363cb8a SHA1 cdb33731180fe4a912838af805dd35e3f55394d4 SHA256 1d50ddae117c48d689a3d772e390569edccfdc22168be0112d2093bd2d7c3216
DIST emacs-22.1.tar.gz 38172226 RMD160 da5360871db8b1d473ff7f0b0937ee6c278c0b19 SHA1 327664173eabe5db49d4e7e4a4b1794577af902e SHA256 1ec43bef7127e572f92d7c3a846951cf8e263e27445c62c867035f94681c3ed0
DIST emacs-22.2.tar.gz 38694318 RMD160 ec2da7cd7065cbd76773e544da1d1495f33d6ea1 SHA1 7a371332cb8400d44e8eb31f19e432bbc93523a0 SHA256 216839e1fb38ca4f2ed0a07689fb47ee80d90845f34e0a56fe781d6aa462e367
DIST leim-21.4.tar.gz 3291433 RMD160 89e1108bfe06425a0d6b4d941f9c297551bafcca SHA1 dd63f9aca1a58d40d9d426dd410fb627230974f7 SHA256 db24946985dd644bfed18815d6e991dad27f8ab1fd5823dd6dc4eb8dcd04333b
EBUILD emacs-18.59-r5.ebuild 2492 RMD160 35f9f3dcf2ef3988ef7e833f325e2699adf28a03 SHA1 07e504828a991f2347313fca766a074b8d701d7c SHA256 ec1754b91ec688700dff64e2f03e84feb6cb1c75217665aef0c0d1dfc352e7e6
EBUILD emacs-21.4-r15.ebuild 5615 RMD160 8983e96a2d2cdeb6487edcee4357e806a8ba4283 SHA1 cf7758924b959350ed3d61d924659eb449ca0380 SHA256 78f1e9afe47177a88fe67f854bec2ab28f471e3ea8d4258b1e325dadbac052c5
EBUILD emacs-21.4-r17.ebuild 5705 RMD160 799bead9cca676214ebab82fb1f5828410e301a9 SHA1 19e907f30a50afbb9541b45c4547ce321ba0e539 SHA256 136e63bee8350f11e49d593b5c0dba53c1a3d60c6fa81e96bb85def00f5eea6f
EBUILD emacs-22.1-r4.ebuild 8297 RMD160 3995a21f4a0ebf693ec5444af4b0da3d0fe383d2 SHA1 a449c86389a619289ce0d762f8359e4df8d5bb2a SHA256 e77d3b0b7a02624c7a9ac6746d14b670d860ea585e0a98ad397d4cc9ef289dbd
EBUILD emacs-22.2-r2.ebuild 8395 RMD160 16844ca5ca8f683f7af8543c48eb78eca71e7163 SHA1 6130f89df539afbac547a8ed1ebd195735159444 SHA256 438a5328ea0578aa9ba5829c03a47c14cebfee7ac0661700f8c69043369efe83
MISC ChangeLog 37540 RMD160 3ac82cf2a60753af172ec895ad61e33aef0c6278 SHA1 d6430a93554a9a4d8b899dcfed915fa31ff13f0b SHA256 bce6ec667e2b4ce14bf55a18554dab1a8ba592e1bcddb898eb4c14b498fa9e41
MISC metadata.xml 1213 RMD160 7df0bb43f41ecf811a37b60ee3cbefc7f798e840 SHA1 e545b177be5578569de6410bfea01cffe6003611 SHA256 1e71985b81478302fb03a9af91293f7dfad07aa7b31c4cc226170b45d573ce13
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkhGijgACgkQOeoy/oIi7uxHiwCg5txVZX7Ly0lA7rpJTVMFqZNZ
WfQAnRiL8i6AIzQeymDetyh7Tb+XUcI9
=1I3R
-----END PGP SIGNATURE-----

emacs-18.59-r5.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-18.59-r5.ebuild,v 1.2 2008/05/31 13:39:47 opfer Exp $

inherit eutils toolchain-funcs flag-o-matic

DESCRIPTION="The extensible self-documenting text editor"
HOMEPAGE="http://www.gnu.org/software/emacs/"
SRC_URI="mirror://gnu/old-gnu/emacs/${P}.tar.gz
ftp://ftp.splode.com/pub/users/friedman/emacs/${P}-linux22x-elf-glibc21.diff.gz
mirror://gentoo/${P}-patches-2.tar.bz2"

LICENSE="GPL-1 BSD"
SLOT="18"
KEYWORDS="x86"
IUSE="X"

RDEPEND="sys-libs/ncurses
>=app-admin/eselect-emacs-1.2
X? ( x11-libs/libX11 )"
DEPEND="${RDEPEND}"

MY_BASEDIR="/usr/share/emacs/${PV}"
MY_LOCKDIR="/var/lib/emacs/lock"

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${WORKDIR}/${P}-linux22x-elf-glibc21.diff"
EPATCH_SUFFIX=patch epatch
}

src_compile() {
# Do not use the sandbox, or the dumped Emacs will be twice as large
SANDBOX_ON=0

# autoconf? What's autoconf? We are living in 1992. ;-)
local arch
case ${ARCH} in
x86) arch=intel386 ;;
*) die "Architecture ${ARCH} not supported" ;;
esac
local cmd="s/\"s-.*\.h\"/\"s-linux.h\"/;s/\"m-.*\.h\"/\"m-${arch}.h\"/"
use X && cmd="${cmd};s/.*\(#define HAVE_X_WINDOWS\).*/\1/"
sed -e "${cmd}" src/config.h-dist >src/config.h

cat <<-END >src/paths.h
#define PATH_LOADSEARCH "${MY_BASEDIR}/lisp"
#define PATH_EXEC "${MY_BASEDIR}/etc"
#define PATH_LOCK "${MY_LOCKDIR}/"
#define PATH_SUPERLOCK "${MY_LOCKDIR}/!!!SuperLock!!!"
END

# -O3 and -finline-functions cause segmentation faults at run time.
filter-flags -finline-functions
replace-flags -O[3-9] -O2
strip-flags

emake -j1 CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Demacs" || die
}

src_install() {
local i

dodir ${MY_BASEDIR}
dodir /usr/share/man/man1
make install LIBDIR="${D}${MY_BASEDIR}" BINDIR="${D}/usr/bin" \
MANDIR="${D}/usr/share/man/man1" || die
chmod -R go-w "${D}${MY_BASEDIR}"
rmdir "${D}${MY_BASEDIR}/lock"

dodir ${MY_LOCKDIR%/*}
diropts -m0777
keepdir ${MY_LOCKDIR}

for i in emacsclient etags ctags; do
mv "${D}"/usr/bin/${i}{,-emacs-${SLOT}} || die "mv ${i} failed"
done
mv "${D}"/usr/bin/emacs{,-${SLOT}} || die "mv emacs failed"
mv "${D}"/usr/share/man/man1/emacs{,-emacs-${SLOT}}.1 || die
dosym ../emacs/${PV}/info /usr/share/info/emacs-${SLOT}

dodoc README PROBLEMS
}

pkg_postinst() {
eselect emacs update ifunset
}

pkg_postrm() {
eselect emacs update ifunset
}

emacs-21.4-r15.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-21.4-r15.ebuild,v 1.4 2008/06/01 11:49:14 ulm Exp $

WANT_AUTOCONF="2.1"

inherit flag-o-matic eutils toolchain-funcs autotools

DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
HOMEPAGE="http://www.gnu.org/software/emacs/"
SRC_URI="mirror://gnu/emacs/${P}a.tar.gz
mirror://gentoo/${P}-patches-2.tar.bz2
leim? ( mirror://gnu/emacs/leim-${PV}.tar.gz )"

LICENSE="GPL-2 FDL-1.1 BSD"
SLOT="21"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="X Xaw3d leim motif nls sendmail"

RDEPEND="sys-libs/ncurses
X? (
x11-libs/libXext
x11-libs/libICE
x11-libs/libSM
x11-libs/libXmu
x11-libs/libXpm
x11-misc/emacs-desktop
>=media-libs/giflib-4.1.0.1b
>=media-libs/jpeg-6b-r2
>=media-libs/tiff-3.5.5-r3
>=media-libs/libpng-1.2.1
Xaw3d? ( x11-libs/Xaw3d )
!Xaw3d? ( motif? ( x11-libs/openmotif ) )
)
sendmail? ( virtual/mta )
>=app-admin/eselect-emacs-1.2"

DEPEND="${RDEPEND}
X? ( x11-misc/xbitmaps )"

src_unpack() {
unpack ${A}
cd "${S}"

EPATCH_SUFFIX=patch epatch

sed -i \
-e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \
-e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \
"${S}"/src/s/freebsd.h || die "unable to sed freebsd.h settings"

# install emacsclient.1 man page (#165466)
sed -i -e "s/for page in emacs/& emacsclient/" Makefile.in || die

# This will need to be updated for X-Compilation
sed -i -e "s:/usr/lib/\([^ ]*\).o:/usr/$(get_libdir)/\1.o:g" \
"${S}/src/s/gnu-linux.h" || die

eautoconf
}

src_compile() {
export SANDBOX_ON=0

# -fstack-protector gets internal compiler error at xterm.c (bug 33265)
filter-flags -fstack-protector

# emacs doesn't handle LDFLAGS properly (bug #77430 and bug #65002)
unset LDFLAGS

# ever since GCC 3.2
replace-flags -O[3-9] -O2

# -march is known to cause signal 6 on some environment
filter-flags "-march=*"

local myconf
use nls || myconf="${myconf} --disable-nls"
if use X ; then
myconf="${myconf}
--with-x
--with-xpm
--with-jpeg
--with-tiff
--with-gif
--with-png"
if use Xaw3d ; then
einfo "Configuring to build with Xaw3d (Athena) toolkit"
myconf="${myconf} --with-x-toolkit=athena"
elif use motif ; then
einfo "Configuring to build with Motif toolkit"
myconf="${myconf} --with-x-toolkit=motif"
else
# do not build emacs with any toolkit, bug 35300
einfo "Configuring to build with no toolkit"
myconf="${myconf} --with-x-toolkit=no"
fi
else
myconf="${myconf} --without-x"
fi
econf ${myconf} || die "econf failed"
emake CC="$(tc-getCC)" || die "emake failed"

einfo "Recompiling patched lisp files..."
(cd lisp; emake recompile) || die "emake recompile failed"
(cd src; emake versionclean)
emake CC="$(tc-getCC)" || die "emake failed"
}

src_install() {
local i m

einstall || die "einstall failed"
for i in "${D}"/usr/bin/* ; do
mv "${i}" "${i}-emacs-${SLOT}" || die "mv ${i} failed"
done
mv "${D}"/usr/bin/emacs{-emacs,}-${SLOT} || die "mv emacs failed"
rm "${D}"/usr/bin/emacs-${PV}-emacs-${SLOT}

einfo "Fixing info documentation..."
mkdir "${T}/emacs-${SLOT}"
mv "${D}/usr/share/info/dir" "${T}"
for i in "${D}"/usr/share/info/*
do
mv "${i}" "${T}/emacs-${SLOT}/${i##*/}.info"
done
mv "${T}/emacs-${SLOT}" "${D}/usr/share/info"
mv "${T}/dir" "${D}/usr/share/info/emacs-${SLOT}"

einfo "Fixing manpages..."
for m in "${D}"/usr/share/man/man1/* ; do
mv "${m}" "${m%.1}-emacs-${SLOT}.1" || die "mv ${m} failed"
done

# avoid collision between slots
rm "${D}"/usr/share/emacs/site-lisp/subdirs.el

einfo "Fixing permissions..."
find "${D}" -perm 664 |xargs chmod -f 644 2>/dev/null
find "${D}" -type d |xargs chmod -f 755 2>/dev/null

keepdir /usr/share/emacs/${PV}/leim
keepdir /usr/share/emacs/site-lisp

dodoc BUGS ChangeLog README
}

emacs-infodir-rebuild() {
# Depending on the Portage version, the Info dir file is compressed
# or removed. It is only rebuilt by Portage if our directory is in
# INFOPATH, which is not guaranteed. So we rebuild it ourselves.

local infodir=/usr/share/info/emacs-${SLOT} f
einfo "Regenerating Info directory index in ${infodir} ..."
rm -f "${ROOT}"${infodir}/dir{,.*}
for f in "${ROOT}"${infodir}/*.info*; do
[[ ${f##*/} == *[0-9].info* ]] \
|| install-info --info-dir="${ROOT}"${infodir} "${f}" &>/dev/null
done
rmdir "${ROOT}"${infodir} 2>/dev/null # remove dir if it is empty
echo
}

pkg_postinst() {
test -f "${ROOT}"/usr/share/emacs/site-lisp/subdirs.el ||
cp "${ROOT}"/usr/share/emacs{/${PV},}/site-lisp/subdirs.el

emacs-infodir-rebuild

if [[ $(readlink "${ROOT}"/usr/bin/emacs) == emacs.emacs-${SLOT}* ]]; then
# transition from pre-eselect revision
eselect emacs set emacs-${SLOT}
else
eselect emacs update ifunset
fi

if ! use sendmail && ! has_version "virtual/mta"; then
elog "You disabled sendmail support for Emacs. If you later install"
elog "a MTA then you will need to recompile Emacs. See Bug #11104."
fi
if use X; then
elog "You need to install some fonts for Emacs. Under monolithic"
elog "XFree86/Xorg you typically had such fonts installed by default."
elog "With modular Xorg, you will have to perform this step yourself."
elog "Installing media-fonts/font-adobe-{75,100}dpi on the X server's"
elog "machine would satisfy basic Emacs requirements under X11."
fi
}

pkg_postrm() {
emacs-infodir-rebuild
eselect emacs update ifunset
}

emacs-21.4-r17.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-21.4-r17.ebuild,v 1.9 2008/06/04 12:26:51 ulm Exp $

WANT_AUTOCONF="2.1"

inherit flag-o-matic eutils toolchain-funcs autotools

DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
HOMEPAGE="http://www.gnu.org/software/emacs/"
SRC_URI="mirror://gnu/emacs/${P}a.tar.gz
mirror://gentoo/${P}-patches-5.tar.bz2
leim? ( mirror://gnu/emacs/leim-${PV}.tar.gz )"

LICENSE="GPL-2 FDL-1.1 BSD"
SLOT="21"
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
IUSE="X Xaw3d leim motif nls sendmail"

RDEPEND="sys-libs/ncurses
X? (
x11-libs/libXext
x11-libs/libICE
x11-libs/libSM
x11-libs/libXmu
x11-libs/libXpm
x11-misc/emacs-desktop
>=media-libs/giflib-4.1.0.1b
>=media-libs/jpeg-6b-r2
>=media-libs/tiff-3.5.5-r3
>=media-libs/libpng-1.2.1
Xaw3d? ( x11-libs/Xaw3d )
!Xaw3d? ( motif? ( x11-libs/openmotif ) )
)
sendmail? ( virtual/mta )
>=app-admin/eselect-emacs-1.2"

DEPEND="${RDEPEND}
X? ( x11-misc/xbitmaps )"

src_unpack() {
unpack ${A}
cd "${S}"

EPATCH_SUFFIX=patch epatch

sed -i \
-e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \
-e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \
"${S}"/src/s/freebsd.h || die "unable to sed freebsd.h settings"

# install emacsclient.1 man page (bug 165466)
sed -i -e "s/for page in emacs/& emacsclient/" Makefile.in || die

# This will need to be updated for X-Compilation
sed -i -e "s:/usr/lib/\([^ ]*\).o:/usr/$(get_libdir)/\1.o:g" \
"${S}/src/s/gnu-linux.h" || die

eautoconf
}

src_compile() {
export SANDBOX_ON=0

# -fstack-protector gets internal compiler error at xterm.c (bug 33265)
filter-flags -fstack-protector

# emacs doesn't handle LDFLAGS properly (bug #77430 and bug #65002)
unset LDFLAGS

# ever since GCC 3.2
replace-flags -O[3-9] -O2

# -march is known to cause signal 6 on some environment
filter-flags "-march=*"

local myconf
use nls || myconf="${myconf} --disable-nls"
if use X ; then
myconf="${myconf}
--with-x
--with-xpm
--with-jpeg
--with-tiff
--with-gif
--with-png"

if use Xaw3d ; then
einfo "Configuring to build with Xaw3d (Athena) toolkit"
myconf="${myconf} --with-x-toolkit=athena"
use motif \
&& ewarn "USE flag \"motif\" ignored (superseded by \"Xaw3d\")"
elif use motif ; then
einfo "Configuring to build with Motif toolkit"
myconf="${myconf} --with-x-toolkit=motif"
else
# do not build emacs with any toolkit, bug 35300
einfo "Configuring to build with no toolkit"
myconf="${myconf} --with-x-toolkit=no"
fi
else
myconf="${myconf} --without-x"
fi
econf ${myconf} || die "econf failed"
emake CC="$(tc-getCC)" || die "emake failed"

einfo "Recompiling patched lisp files..."
(cd lisp; emake recompile) || die "emake recompile failed"
(cd src; emake versionclean)
emake CC="$(tc-getCC)" || die "emake failed"
}

src_install() {
local i m

einstall || die "einstall failed"
for i in "${D}"/usr/bin/* ; do
mv "${i}" "${i}-emacs-${SLOT}" || die "mv ${i} failed"
done
mv "${D}"/usr/bin/emacs{-emacs,}-${SLOT} || die "mv emacs failed"
rm "${D}"/usr/bin/emacs-${PV}-emacs-${SLOT}

einfo "Fixing info documentation..."
mkdir "${T}/emacs-${SLOT}"
mv "${D}/usr/share/info/dir" "${T}"
for i in "${D}"/usr/share/info/*
do
mv "${i}" "${T}/emacs-${SLOT}/${i##*/}.info"
done
mv "${T}/emacs-${SLOT}" "${D}/usr/share/info"
mv "${T}/dir" "${D}/usr/share/info/emacs-${SLOT}"

einfo "Fixing manpages..."
for m in "${D}"/usr/share/man/man1/* ; do
mv "${m}" "${m%.1}-emacs-${SLOT}.1" || die "mv ${m} failed"
done

# avoid collision between slots
rm "${D}"/usr/share/emacs/site-lisp/subdirs.el

einfo "Fixing permissions..."
find "${D}" -perm 664 |xargs chmod -f 644 2>/dev/null
find "${D}" -type d |xargs chmod -f 755 2>/dev/null

keepdir /usr/share/emacs/${PV}/leim
keepdir /usr/share/emacs/site-lisp

dodoc BUGS ChangeLog README
}

emacs-infodir-rebuild() {
# Depending on the Portage version, the Info dir file is compressed
# or removed. It is only rebuilt by Portage if our directory is in
# INFOPATH, which is not guaranteed. So we rebuild it ourselves.

local infodir=/usr/share/info/emacs-${SLOT} f
einfo "Regenerating Info directory index in ${infodir} ..."
rm -f "${ROOT}"${infodir}/dir{,.*}
for f in "${ROOT}"${infodir}/*.info*; do
[[ ${f##*/} == *[0-9].info* ]] \
|| install-info --info-dir="${ROOT}"${infodir} "${f}" &>/dev/null
done
rmdir "${ROOT}"${infodir} 2>/dev/null # remove dir if it is empty
echo
}

pkg_postinst() {
test -f "${ROOT}"/usr/share/emacs/site-lisp/subdirs.el ||
cp "${ROOT}"/usr/share/emacs{/${PV},}/site-lisp/subdirs.el

emacs-infodir-rebuild

if [[ $(readlink "${ROOT}"/usr/bin/emacs) == emacs.emacs-${SLOT}* ]]; then
# transition from pre-eselect revision
eselect emacs set emacs-${SLOT}
else
eselect emacs update ifunset
fi

if ! use sendmail && ! has_version "virtual/mta"; then
elog "You disabled sendmail support for Emacs. If you later install"
elog "a MTA then you will need to recompile Emacs. See Bug #11104."
fi
if use X; then
elog "You need to install some fonts for Emacs. Under monolithic"
elog "XFree86/Xorg you typically had such fonts installed by default."
elog "With modular Xorg, you will have to perform this step yourself."
elog "Installing media-fonts/font-adobe-{75,100}dpi on the X server's"
elog "machine would satisfy basic Emacs requirements under X11."
fi
}

pkg_postrm() {
emacs-infodir-rebuild
eselect emacs update ifunset
}

emacs-22.1-r4.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-22.1-r4.ebuild,v 1.4 2008/06/04 12:26:51 ulm Exp $

WANT_AUTOCONF="2.5"
WANT_AUTOMAKE="latest"

inherit autotools elisp-common eutils flag-o-matic

DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
HOMEPAGE="http://www.gnu.org/software/emacs/"
SRC_URI="mirror://gnu/emacs/${P}.tar.gz"

LICENSE="GPL-2 FDL-1.2 BSD"
SLOT="22"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="alsa gif gtk gzip-el hesiod jpeg motif png spell sound source tiff toolkit-scroll-bars X Xaw3d xpm"
RESTRICT="strip"

RDEPEND="! sys-libs/ncurses
>=app-admin/eselect-emacs-1.2
net-libs/liblockfile
hesiod? ( net-dns/hesiod )
spell? ( || ( app-text/ispell app-text/aspell ) )
alsa? ( media-libs/alsa-lib )
X? (
x11-libs/libXmu
x11-libs/libXt
x11-misc/xbitmaps
x11-misc/emacs-desktop
gif? ( media-libs/giflib )
jpeg? ( media-libs/jpeg )
tiff? ( media-libs/tiff )
png? ( media-libs/libpng )
xpm? ( x11-libs/libXpm )
gtk? ( =x11-libs/gtk+-2* )
!gtk? (
Xaw3d? ( x11-libs/Xaw3d )
!Xaw3d? ( motif? ( x11-libs/openmotif ) )
)
)"

DEPEND="${RDEPEND}
alsa? ( dev-util/pkgconfig )
X? ( gtk? ( dev-util/pkgconfig ) )
gzip-el? ( app-arch/gzip )"

# FULL_VERSION keeps the full version number, which is needed in order to
# determine some path information correctly for copy/move operations later on
FULL_VERSION="${PV}"

src_unpack() {
unpack ${A}
cd "${S}"

epatch "${FILESDIR}/${P}-Xaw3d-headers.patch"
epatch "${FILESDIR}/${P}-freebsd-sparc.patch"
epatch "${FILESDIR}/${P}-oldxmenu-qa.patch"
epatch "${FILESDIR}/${P}-backup-buffer.patch"
epatch "${FILESDIR}/${P}-hack-local-variables.patch"
epatch "${FILESDIR}/${P}-format-int.patch"
epatch "${FILESDIR}/${P}-s390x-non-multilib.patch"
epatch "${FILESDIR}/${P}-vcdiff-tmp-race.patch"

sed -i -e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \
-e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \
"${S}"/src/s/freebsd.h || die "unable to sed freebsd.h settings"

if ! use alsa; then
# ALSA is detected even if not requested by its USE flag.
# Suppress it by supplying pkg-config with a wrong library name.
sed -i -e "/ALSA_MODULES=/s/alsa/DiSaBlEaLsA/" configure.in \
|| die "unable to sed configure.in"
fi
if ! use gzip-el; then
# Emacs' build system automatically detects the gzip binary and
# compresses el files. We don't want that so confuse it with a
# wrong binary name
sed -i -e "s/ gzip/ PrEvEnTcOmPrEsSiOn/" configure.in \
|| die "unable to sed configure.in"
fi

eautoreconf
}

src_compile() {
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
ALLOWED_FLAGS=""
strip-flags
unset LDFLAGS
if use hppa; then # bug #193703
replace-flags -O[2-9] -O
else
replace-flags -O[3-9] -O2
fi
sed -i -e "s/-lungif/-lgif/g" configure* src/Makefile* || die

local myconf

if use alsa && ! use sound; then
echo
einfo "Although sound USE flag is disabled you chose to have alsa,"
einfo "so sound is switched on anyway."
echo
myconf="${myconf} --with-sound"
else
myconf="${myconf} $(use_with sound)"
fi

if use X; then
myconf="${myconf} --with-x"
myconf="${myconf} $(use_with toolkit-scroll-bars)"
myconf="${myconf} $(use_with jpeg) $(use_with tiff)"
myconf="${myconf} $(use_with gif) $(use_with png)"
myconf="${myconf} $(use_with xpm)"

# GTK+ is the default toolkit if USE=gtk is chosen with other
# possibilities. Emacs upstream thinks this should be standard
# policy on all distributions
if use gtk; then
einfo "Configuring to build with GIMP Toolkit (GTK+)"
myconf="${myconf} --with-x-toolkit=gtk"
elif use Xaw3d; then
einfo "Configuring to build with Xaw3d (Athena) toolkit"
myconf="${myconf} --with-x-toolkit=athena"
myconf="${myconf} --without-gtk"
elif use motif; then
einfo "Configuring to build with Motif toolkit"
myconf="${myconf} --with-x-toolkit=motif"
myconf="${myconf} --without-gtk"
else
einfo "Configuring to build with no toolkit"
myconf="${myconf} --with-x-toolkit=no"
myconf="${myconf} --without-gtk"
fi

local f tk=
for f in gtk Xaw3d motif; do
use ${f} || continue
[ "${tk}" ] \
&& ewarn "USE flag \"${f}\" ignored (superseded by \"${tk}\")"
tk="${tk}${tk:+ }${f}"
done
else
myconf="${myconf} --without-x"
fi

myconf="${myconf} $(use_with hesiod)"

econf \
--program-suffix=-emacs-${SLOT} \
--infodir=/usr/share/info/emacs-${SLOT} \
--without-carbon \
${myconf} || die "econf emacs failed"

emake CC="$(tc-getCC)" || die "emake failed"

einfo "Recompiling patched lisp files..."
(cd lisp; emake recompile) || die "emake recompile failed"
(cd src; emake versionclean)
emake CC="$(tc-getCC)" || die "emake failed"
}

src_install () {
local i m

emake install DESTDIR="${D}" || die "make install failed"

rm "${D}"/usr/bin/emacs-${FULL_VERSION}-emacs-${SLOT} \
|| die "removing duplicate emacs executable failed"
mv "${D}"/usr/bin/emacs-emacs-${SLOT} "${D}"/usr/bin/emacs-${SLOT} \
|| die "moving Emacs executable failed"

# move info documentation to the correct place
einfo "Fixing info documentation ..."
for i in "${D}"/usr/share/info/emacs-${SLOT}/*; do
mv "${i}" "${i}.info" || die "mv info failed"
done

# move man pages to the correct place
einfo "Fixing manpages ..."
for m in "${D}"/usr/share/man/man1/* ; do
mv "${m}" "${m%.1}-emacs-${SLOT}.1" || die "mv man failed"
done

# avoid collision between slots, see bug #169033 e.g.
rm "${D}"/usr/share/emacs/site-lisp/subdirs.el
rm "${D}"/var/lib/games/emacs/{snake,tetris}-scores
keepdir /usr/share/emacs/site-lisp
keepdir /var/lib/games/emacs

if use source; then
insinto /usr/share/emacs/${FULL_VERSION}/src
# This is not meant to install all the source -- just the
# C source you might find via find-function
doins src/*.[ch]
sed 's/^X//' >10${PN}-${SLOT}-gentoo.el <<-EOF

;;; ${PN}-${SLOT} site-lisp configuration

(if (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
X (setq find-function-C-source-directory
X "/usr/share/emacs/${FULL_VERSION}/src"))
EOF
elisp-site-file-install 10${PN}-${SLOT}-gentoo.el
fi

dodoc AUTHORS BUGS CONTRIBUTE README || die "dodoc failed"
}

emacs-infodir-rebuild() {
# Depending on the Portage version, the Info dir file is compressed
# or removed. It is only rebuilt by Portage if our directory is in
# INFOPATH, which is not guaranteed. So we rebuild it ourselves.

local infodir=/usr/share/info/emacs-${SLOT} f
einfo "Regenerating Info directory index in ${infodir} ..."
rm -f "${ROOT}"${infodir}/dir{,.*}
for f in "${ROOT}"${infodir}/*.info*; do
[[ ${f##*/} == *[0-9].info* ]] \
|| install-info --info-dir="${ROOT}"${infodir} "${f}" &>/dev/null
done
rmdir "${ROOT}"${infodir} 2>/dev/null # remove dir if it is empty
echo
}

pkg_postinst() {
[ -f "${ROOT}"/usr/share/emacs/site-lisp/subdirs.el ] \
|| cp "${ROOT}"/usr/share/emacs{/${FULL_VERSION},}/site-lisp/subdirs.el

local f
for f in "${ROOT}"/var/lib/games/emacs/{snake,tetris}-scores; do
[ -e "${f}" ] || touch "${f}"
done

elisp-site-regen
emacs-infodir-rebuild

if [[ $(readlink "${ROOT}"/usr/bin/emacs) == emacs.emacs-${SLOT}* ]]; then
# transition from pre-eselect revision
eselect emacs set emacs-${SLOT}
else
eselect emacs update ifunset
fi

if use X; then
elog "You need to install some fonts for Emacs. Under monolithic"
elog "XFree86/Xorg you typically had such fonts installed by default."
elog "With modular Xorg, you will have to perform this step yourself."
elog "Installing media-fonts/font-adobe-{75,100}dpi on the X server's"
elog "machine would satisfy basic Emacs requirements under X11."
fi

echo
elog "You can set the version to be started by /usr/bin/emacs through"
elog "the Emacs eselect module, which also redirects man and info pages."
elog "Therefore, several Emacs versions can be installed at the same time."
elog "\"man emacs.eselect\" for details."
}

pkg_postrm() {
elisp-site-regen
emacs-infodir-rebuild
eselect emacs update ifunset
}

emacs-22.2-r2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-22.2-r2.ebuild,v 1.9 2008/06/04 12:26:51 ulm Exp $

inherit autotools elisp-common eutils flag-o-matic

DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
HOMEPAGE="http://www.gnu.org/software/emacs/"
SRC_URI="mirror://gnu/emacs/${P}.tar.gz"

LICENSE="GPL-3 FDL-1.2 BSD"
SLOT="22"
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 ~s390 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="alsa gif gtk gzip-el hesiod jpeg kerberos motif png spell sound source tiff toolkit-scroll-bars X Xaw3d xpm"
RESTRICT="strip"

RDEPEND="! sys-libs/ncurses
>=app-admin/eselect-emacs-1.2
net-libs/liblockfile
hesiod? ( net-dns/hesiod )
kerberos? ( virtual/krb5 )
spell? ( || ( app-text/ispell app-text/aspell ) )
alsa? ( media-libs/alsa-lib )
X? (
x11-libs/libXmu
x11-libs/libXt
x11-misc/xbitmaps
x11-misc/emacs-desktop
gif? ( media-libs/giflib )
jpeg? ( media-libs/jpeg )
tiff? ( media-libs/tiff )
png? ( media-libs/libpng )
xpm? ( x11-libs/libXpm )
gtk? ( =x11-libs/gtk+-2* )
!gtk? (
Xaw3d? ( x11-libs/Xaw3d )
!Xaw3d? ( motif? ( x11-libs/openmotif ) )
)
)"

DEPEND="${RDEPEND}
alsa? ( dev-util/pkgconfig )
X? ( gtk? ( dev-util/pkgconfig ) )
gzip-el? ( app-arch/gzip )"

# FULL_VERSION keeps the full version number, which is needed in order to
# determine some path information correctly for copy/move operations later on
FULL_VERSION="${PV}"

src_unpack() {
unpack ${A}
cd "${S}"

epatch "${FILESDIR}/emacs-22.1-Xaw3d-headers.patch"
epatch "${FILESDIR}/emacs-22.1-freebsd-sparc.patch"
# fix vcdiff insecure temporary file creation (bug 216880)
epatch "${FILESDIR}/emacs-22.1-vcdiff-tmp-race.patch"
# support compilation with Heimdal (bug 215558)
epatch "${FILESDIR}/${P}-heimdal-gentoo.patch"
# fix fast-lock cache security problem (bug 221197)
epatch "${FILESDIR}/${P}-fast-lock.patch"

sed -i -e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \
-e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \
"${S}"/src/s/freebsd.h || die "unable to sed freebsd.h settings"

if ! use alsa; then
# ALSA is detected even if not requested by its USE flag.
# Suppress it by supplying pkg-config with a wrong library name.
sed -i -e "/ALSA_MODULES=/s/alsa/DiSaBlEaLsA/" configure.in \
|| die "unable to sed configure.in"
fi
if ! use gzip-el; then
# Emacs' build system automatically detects the gzip binary and
# compresses el files. We don't want that so confuse it with a
# wrong binary name
sed -i -e "s/ gzip/ PrEvEnTcOmPrEsSiOn/" configure.in \
|| die "unable to sed configure.in"
fi

eautoreconf
}

src_compile() {
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
ALLOWED_FLAGS=""
strip-flags
#unset LDFLAGS
if use hppa; then # bug #193703
replace-flags -O[2-9] -O
else
replace-flags -O[3-9] -O2
fi
sed -i -e "s/-lungif/-lgif/g" configure* src/Makefile* || die

local myconf

if use alsa && ! use sound; then
echo
einfo "Although sound USE flag is disabled you chose to have alsa,"
einfo "so sound is switched on anyway."
echo
myconf="${myconf} --with-sound"
else
myconf="${myconf} $(use_with sound)"
fi

if use X; then
myconf="${myconf} --with-x"
myconf="${myconf} $(use_with toolkit-scroll-bars)"
myconf="${myconf} $(use_with jpeg) $(use_with tiff)"
myconf="${myconf} $(use_with gif) $(use_with png)"
myconf="${myconf} $(use_with xpm)"

# GTK+ is the default toolkit if USE=gtk is chosen with other
# possibilities. Emacs upstream thinks this should be standard
# policy on all distributions
if use gtk; then
einfo "Configuring to build with GIMP Toolkit (GTK+)"
myconf="${myconf} --with-x-toolkit=gtk"
elif use Xaw3d; then
einfo "Configuring to build with Xaw3d (Athena) toolkit"
myconf="${myconf} --with-x-toolkit=athena"
myconf="${myconf} --without-gtk"
elif use motif; then
einfo "Configuring to build with Motif toolkit"
myconf="${myconf} --with-x-toolkit=motif"
myconf="${myconf} --without-gtk"
else
einfo "Configuring to build with no toolkit"
myconf="${myconf} --with-x-toolkit=no"
myconf="${myconf} --without-gtk"
fi

local f tk=
for f in gtk Xaw3d motif; do
use ${f} || continue
[ "${tk}" ] \
&& ewarn "USE flag \"${f}\" ignored (superseded by \"${tk}\")"
tk="${tk}${tk:+ }${f}"
done
else
myconf="${myconf} --without-x"
fi

myconf="${myconf} $(use_with hesiod)"
myconf="${myconf} $(use_with kerberos) $(use_with kerberos kerberos5)"

econf \
--program-suffix=-emacs-${SLOT} \
--infodir=/usr/share/info/emacs-${SLOT} \
--without-carbon \
${myconf} || die "econf emacs failed"

emake CC="$(tc-getCC)" || die "emake failed"

einfo "Recompiling patched lisp files..."
(cd lisp; emake recompile) || die "emake recompile failed"
(cd src; emake versionclean)
emake CC="$(tc-getCC)" || die "emake failed"
}

src_install () {
local i m

emake install DESTDIR="${D}" || die "make install failed"

rm "${D}"/usr/bin/emacs-${FULL_VERSION}-emacs-${SLOT} \
|| die "removing duplicate emacs executable failed"
mv "${D}"/usr/bin/emacs-emacs-${SLOT} "${D}"/usr/bin/emacs-${SLOT} \
|| die "moving Emacs executable failed"

# move info documentation to the correct place
einfo "Fixing info documentation ..."
for i in "${D}"/usr/share/info/emacs-${SLOT}/*; do
mv "${i}" "${i}.info" || die "mv info failed"
done

# move man pages to the correct place
einfo "Fixing manpages ..."
for m in "${D}"/usr/share/man/man1/* ; do
mv "${m}" "${m%.1}-emacs-${SLOT}.1" || die "mv man failed"
done

# avoid collision between slots, see bug #169033 e.g.
rm "${D}"/usr/share/emacs/site-lisp/subdirs.el
rm "${D}"/var/lib/games/emacs/{snake,tetris}-scores
keepdir /usr/share/emacs/site-lisp
keepdir /var/lib/games/emacs

if use source; then
insinto /usr/share/emacs/${FULL_VERSION}/src
# This is not meant to install all the source -- just the
# C source you might find via find-function
doins src/*.[ch]
sed 's/^X//' >10${PN}-${SLOT}-gentoo.el <<-EOF

;;; ${PN}-${SLOT} site-lisp configuration

(if (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
X (setq find-function-C-source-directory
X "/usr/share/emacs/${FULL_VERSION}/src"))
EOF
elisp-site-file-install 10${PN}-${SLOT}-gentoo.el
fi

dodoc AUTHORS BUGS CONTRIBUTE README || die "dodoc failed"
}

emacs-infodir-rebuild() {
# Depending on the Portage version, the Info dir file is compressed
# or removed. It is only rebuilt by Portage if our directory is in
# INFOPATH, which is not guaranteed. So we rebuild it ourselves.

local infodir=/usr/share/info/emacs-${SLOT} f
einfo "Regenerating Info directory index in ${infodir} ..."
rm -f "${ROOT}"${infodir}/dir{,.*}
for f in "${ROOT}"${infodir}/*.info*; do
[[ ${f##*/} == *[0-9].info* ]] \
|| install-info --info-dir="${ROOT}"${infodir} "${f}" &>/dev/null
done
rmdir "${ROOT}"${infodir} 2>/dev/null # remove dir if it is empty
echo
}

pkg_postinst() {
[ -f "${ROOT}"/usr/share/emacs/site-lisp/subdirs.el ] \
|| cp "${ROOT}"/usr/share/emacs{/${FULL_VERSION},}/site-lisp/subdirs.el

local f
for f in "${ROOT}"/var/lib/games/emacs/{snake,tetris}-scores; do
[ -e "${f}" ] || touch "${f}"
done

elisp-site-regen
emacs-infodir-rebuild

if [[ $(readlink "${ROOT}"/usr/bin/emacs) == emacs.emacs-${SLOT}* ]]; then
# transition from pre-eselect revision
eselect emacs set emacs-${SLOT}
else
eselect emacs update ifunset
fi

if use X; then
elog "You need to install some fonts for Emacs. Under monolithic"
elog "XFree86/Xorg you typically had such fonts installed by default."
elog "With modular Xorg, you will have to perform this step yourself."
elog "Installing media-fonts/font-adobe-{75,100}dpi on the X server's"
elog "machine would satisfy basic Emacs requirements under X11."
fi

echo
elog "You can set the version to be started by /usr/bin/emacs through"
elog "the Emacs eselect module, which also redirects man and info pages."
elog "Therefore, several Emacs versions can be installed at the same time."
elog "\"man emacs.eselect\" for details."
}

pkg_postrm() {
elisp-site-regen
emacs-infodir-rebuild
eselect emacs update ifunset
}

files

metadata.xml




emacs

GNU Emacs is an extensible, customizable text editor—and more. At its core
is an interpreter for Emacs Lisp, a dialect of the Lisp programming language
with extensions to support text editing. The features of GNU Emacs include:
* Content-sensitive editing modes, including syntax coloring, for a wide
variety of file types including plain text, source code, and HTML.
* Complete built-in documentation, including a tutorial for new users.
* Support for many languages and their scripts, including all the European
"Latin" scripts, Russian, Greek, Japanese, Chinese, Korean, Thai,
Vietnamese, Lao, Ethiopian, and some Indian scripts.
* Highly customizable, using Emacs Lisp code or a graphical customization
interface.
* A large number of extensions that add other functionality, including a
project planner, mail and news reader, debugger interface, calendar, and
more. Many of these extensions are distributed with GNU Emacs; others are
available separately.