diff options
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/emacs/ChangeLog | 1301 | ||||
-rw-r--r-- | app-editors/emacs/Manifest | 8 | ||||
-rw-r--r-- | app-editors/emacs/emacs-23.1-r1.ebuild | 307 | ||||
-rw-r--r-- | app-editors/emacs/emacs-23.1.ebuild | 306 | ||||
-rw-r--r-- | app-editors/emacs/files/emacs-23.0.94-handle-xz-suffix.patch | 16 | ||||
-rw-r--r-- | app-editors/emacs/files/emacs-23.1-backspace.patch | 54 | ||||
-rw-r--r-- | app-editors/emacs/files/emacs-23.1-gtk-menu.patch | 199 | ||||
-rw-r--r-- | app-editors/emacs/metadata.xml | 31 |
8 files changed, 2222 insertions, 0 deletions
diff --git a/app-editors/emacs/ChangeLog b/app-editors/emacs/ChangeLog new file mode 100644 index 0000000..a87f475 --- /dev/null +++ b/app-editors/emacs/ChangeLog @@ -0,0 +1,1301 @@ +# ChangeLog for app-editors/emacs +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.342 2009/10/28 19:38:52 ulm Exp $ + +*emacs-23.1-r1 (28 Oct 2009) + + 28 Oct 2009; Ulrich Mueller <ulm@gentoo.org> +emacs-23.1-r1.ebuild, + +files/emacs-23.1-backspace.patch: + Fix swapped backspace and delete keys when started as daemon, bug 289709. + + 12 Oct 2009; Raúl Porcel <armin76@gentoo.org> emacs-23.1.ebuild: + ia64/s390/sh stable wrt #285063 + + 01 Oct 2009; Tobias Klausmann <klausman@gentoo.org> emacs-23.1.ebuild: + Stable on alpha, bug #285063 + + 27 Sep 2009; nixnut <nixnut@gentoo.org> emacs-23.1.ebuild: + ppc stable #285063 + + 26 Sep 2009; Brent Baude <ranger@gentoo.org> emacs-23.1.ebuild: + Marking emacs-23.1 ppc64 for bug 285063 + + 20 Sep 2009; Tiago Cunha <tcunha@gentoo.org> emacs-23.1.ebuild: + stable sparc, bug 285063 + + 18 Sep 2009; Jeroen Roovers <jer@gentoo.org> emacs-23.1.ebuild: + Stable for HPPA (bug #285063). + + 16 Sep 2009; Ulrich Mueller <ulm@gentoo.org> emacs-18.59-r6.ebuild: + Support 32 bit build on amd64. Add ~amd64 keyword, bug 166839. + + 15 Sep 2009; Christian Faulhammer <fauli@gentoo.org> emacs-23.1.ebuild: + x86 stable, bug 285063 + + 15 Sep 2009; Romain Perier <mrpouet@gentoo.org> + emacs-23.1.ebuild: + Stable for amd64 per bug #285063. + + 10 Sep 2009; Ulrich Mueller <ulm@gentoo.org> emacs-22.3-r2.ebuild: + Backport INFOPATH patch from bug 281979 to the stable ebuild. + + 31 Aug 2009; Christian Faulhammer <fauli@gentoo.org> + -emacs-21.4-r18.ebuild: + clean up + + 31 Aug 2009; Brent Baude <ranger@gentoo.org> emacs-21.4-r19.ebuild: + stable ppc64, bug 277194 + + 20 Aug 2009; Ulrich Mueller <ulm@gentoo.org> emacs-23.1.ebuild: + Be more conservative when rearranging the INFOPATH in the site-init file, + in order to respect any local directories. Fixes bug 281979. + + 11 Aug 2009; Ulrich Mueller <ulm@gentoo.org> emacs-23.1.ebuild: + Use bzip2 compressed distfile in order to save some 20% of space. + + 08 Aug 2009; Christian Faulhammer <fauli@gentoo.org> emacs-23.1.ebuild: + add postinst message about needed rebuilds + +*emacs-23.1 (30 Jul 2009) + + 30 Jul 2009; Christian Faulhammer <fauli@gentoo.org> + +files/emacs-23.0.94-handle-xz-suffix.patch, +emacs-23.1.ebuild: + Major version bump to 23, with only one little patch for xz support + + 21 Jul 2009; Jeroen Roovers <jer@gentoo.org> emacs-21.4-r19.ebuild: + Stable for HPPA (bug #277194). + + 16 Jul 2009; Ulrich Mueller <ulm@gentoo.org> emacs-21.4-r19.ebuild: + Remove non-functional nls USE flag, bug 277194 comment #3. + + 16 Jul 2009; nixnut <nixnut@gentoo.org> emacs-21.4-r19.ebuild: + ppc stable #277194 + + 16 Jul 2009; Tiago Cunha <tcunha@gentoo.org> emacs-21.4-r19.ebuild: + stable amd64, bug 277194 + + 11 Jul 2009; Raúl Porcel <armin76@gentoo.org> emacs-21.4-r19.ebuild: + alpha/arm/ia64/s390/sh/sparc stable wrt #277194 + + 09 Jul 2009; Christian Faulhammer <fauli@gentoo.org> + emacs-21.4-r19.ebuild: + stable x86, bug 277194 + +*emacs-21.4-r19 (11 Jun 2009) + + 11 Jun 2009; Ulrich Mueller <ulm@gentoo.org> +emacs-21.4-r19.ebuild: + Update for newer autoconf version, bug 273720. + + 29 May 2009; Ulrich Mueller <ulm@gentoo.org> emacs-18.59-r6.ebuild, + -files/emacs-22.1-Xaw3d-headers.patch, -files/emacs-22.2-sh.patch, + emacs-22.3-r2.ebuild, -files/emacs-22.3-freebsd-sparc.patch, + -files/emacs-22.3-linux-random-heap.patch: + Updated Emacs 18 patchset; this fixes compilation with glibc 2.10 headers. + Move Emacs 22 patches to Gentoo mirrors. + + 28 May 2009; Christian Faulhammer <fauli@gentoo.org> emacs-22.3-r2.ebuild: + Remove USE=spell from all ebuilds, we don't want such dependencies, see + bug 72850#c1 + + 14 Apr 2009; Ulrich Mueller <ulm@gentoo.org> -emacs-21.4-r17.ebuild, + -emacs-22.3-r1.ebuild: + Remove old. + + 14 Apr 2009; Jeroen Roovers <jer@gentoo.org> emacs-21.4-r18.ebuild, + emacs-22.3-r2.ebuild: + Stable for HPPA (bug #264504). + + 06 Apr 2009; Raúl Porcel <armin76@gentoo.org> emacs-21.4-r18.ebuild, + emacs-22.3-r2.ebuild: + alpha/arm/ia64/s390/sh/x86 stable wrt #264504 + + 04 Apr 2009; Brent Baude <ranger@gentoo.org> emacs-21.4-r18.ebuild, + emacs-22.3-r2.ebuild: + Marking powerpc stabilizations for 264504 + + 04 Apr 2009; Tiago Cunha <tcunha@gentoo.org> emacs-21.4-r18.ebuild, + emacs-22.3-r2.ebuild: + stable amd64/sparc, bug 264504 + + 04 Apr 2009; Brent Baude <ranger@gentoo.org> emacs-21.4-r18.ebuild: + stable ppc64, bug 264504 + +*emacs-21.4-r18 (12 Mar 2009) + + 12 Mar 2009; Ulrich Mueller <ulm@gentoo.org> emacs-21.4-r17.ebuild, + +emacs-21.4-r18.ebuild, emacs-22.3-r1.ebuild, emacs-22.3-r2.ebuild: + Fix dependencies: package x11-misc/emacs-desktop was moved to + app-emacs/emacs-common-gentoo; xbitmaps is also needed at run time for + x-bitmap-file-path, whereas emacs-common-gentoo, aspell/ispell and sendmail + are not needed at build time. No longer install subdirs.el since it is now + part of emacs-common-gentoo. New EAPI 2 ebuild for emacs-21.4 since it needs + to support USE dependencies. + +*emacs-22.3-r2 (28 Feb 2009) + + 28 Feb 2009; Ulrich Mueller <ulm@gentoo.org> +emacs-22.3-r2.ebuild: + IUSE default for xpm, SLOT dependency for gtk+; change EAPI to 2. + + 22 Feb 2009; Ulrich Mueller <ulm@gentoo.org> -emacs-18.59-r5.ebuild: + Remove old. + + 22 Feb 2009; Raúl Porcel <armin76@gentoo.org> emacs-18.59-r6.ebuild: + x86 stable wrt #259916 + + 17 Feb 2009; Ulrich Mueller <ulm@gentoo.org> emacs-22.3-r1.ebuild: + Prefer aspell over ispell, following upstream. + + 06 Feb 2009; Ulrich Mueller <ulm@gentoo.org> -emacs-22.3.ebuild: + Remove old. + + 06 Feb 2009; Jeroen Roovers <jer@gentoo.org> emacs-22.3-r1.ebuild: + Stable for HPPA (bug #256382). + + 05 Feb 2009; Raúl Porcel <armin76@gentoo.org> emacs-22.3-r1.ebuild: + arm/ia64/s390/sh stable wrt #256382 + + 01 Feb 2009; Markus Meier <maekke@gentoo.org> emacs-22.3-r1.ebuild: + x86 stable, bug #256382 + + 01 Feb 2009; nixnut <nixnut@gentoo.org> emacs-22.3-r1.ebuild: + ppc stable #256382 + + 01 Feb 2009; Tobias Klausmann <klausman@gentoo.org> emacs-22.3-r1.ebuild: + Stable on alpha, bug #256382 + + 26 Jan 2009; Brent Baude <ranger@gentoo.org> emacs-22.3-r1.ebuild: + stable ppc64, bug 256382 + + 26 Jan 2009; Tiago Cunha <tcunha@gentoo.org> emacs-22.3-r1.ebuild: + stable amd64, bug 256382 + + 26 Jan 2009; Ferris McCormick <fmccor@gentoo.org> emacs-22.3-r1.ebuild: + Sparc stable, Bug #256382 (been around some time now). + +*emacs-18.59-r6 (23 Jan 2009) + + 23 Jan 2009; Ulrich Mueller <ulm@gentoo.org> +emacs-18.59-r6.ebuild: + Substitute the built_with_use check for libX11 by a USE dependency; + therefore, change EAPI to 2. + + 24 Dec 2008; Ulrich Mueller <ulm@gentoo.org> + -files/emacs-22.1-freebsd-sparc.patch, + -files/emacs-22.1-vcdiff-tmp-race.patch, + -files/emacs-22.2-fast-lock.patch, -files/emacs-22.2-heimdal-gentoo.patch, + -files/emacs-22.2-python-nopwd.patch, -emacs-21.4-r15.ebuild, + -emacs-22.2-r3.ebuild: + Remove old. + + 24 Dec 2008; Raúl Porcel <armin76@gentoo.org> emacs-21.4-r17.ebuild, + emacs-22.3.ebuild: + arm/s390/sh stable + + 17 Dec 2008; Ulrich Mueller <ulm@gentoo.org> + files/emacs-22.3-freebsd-sparc.patch: + New patch for sparc-fbsd, bug 159584. + +*emacs-22.3-r1 (29 Nov 2008) + + 29 Nov 2008; Ulrich Mueller <ulm@gentoo.org> +emacs-22.3-r1.ebuild: + Add site initialisation for Info, so that Emacs' dir is first in list; + this will also help to get the right documentation if Emacs is started + as emacs-${SLOT}. Rename site-init file to 20${PN}-${SLOT}-gentoo.el. + + 26 Nov 2008; Ulrich Mueller <ulm@gentoo.org> emacs-21.4-r17.ebuild, + emacs-22.3.ebuild: + Handle the FEATURES=noinfo case in emacs-infodir-rebuild; don't create a + spurious Info dir file when called with no files in postrm phase. + + 14 Nov 2008; Ulrich Mueller <ulm@gentoo.org> emacs-18.59-r5.ebuild: + Require libX11 built with USE=-xcb. + + 07 Nov 2008; Ulrich Mueller <ulm@gentoo.org> emacs-18.59-r5.ebuild, + emacs-21.4-r15.ebuild, emacs-21.4-r17.ebuild, emacs-22.2-r3.ebuild, + emacs-22.3.ebuild: + Add as-is and X11 to LICENSE for oldXMenu und etc/rgb.txt, respectively. + + 27 Oct 2008; Brent Baude <ranger@gentoo.org> emacs-22.3.ebuild: + stable ppc64, bug 240300 + + 21 Oct 2008; Ulrich Mueller <ulm@gentoo.org> + +files/emacs-22.3-linux-random-heap.patch, emacs-18.59-r5.ebuild, + emacs-21.4-r17.ebuild, emacs-22.3.ebuild: + Fix sporadic segmentation faults of temacs when dumping under Linux 2.6.25 + or later, bug 236579. + + 09 Oct 2008; Markus Meier <maekke@gentoo.org> emacs-22.3.ebuild: + amd64 stable, bug #240300 + + 08 Oct 2008; Raúl Porcel <armin76@gentoo.org> emacs-22.3.ebuild: + alpha/arm/ia64/sh/sparc/x86 stable wrt #240300 + + 07 Oct 2008; nixnut <nixnut@gentoo.org> emacs-22.3.ebuild: + Stable on ppc wrt bug 240300 + + 07 Oct 2008; Jeroen Roovers <jer@gentoo.org> emacs-22.3.ebuild: + Stable for HPPA (bug #240300). + + 30 Sep 2008; Ulrich Mueller <ulm@gentoo.org> files/emacs-22.2-sh.patch: + Also support big-endian SuperH, bug 238210. + + 26 Sep 2008; Raúl Porcel <armin76@gentoo.org> emacs-22.2-r3.ebuild: + sh stable + + 26 Sep 2008; Ulrich Mueller <ulm@gentoo.org> +files/emacs-22.2-sh.patch, + emacs-22.2-r3.ebuild, emacs-22.3.ebuild: + SuperH support, bug 238210. + + 23 Sep 2008; Christian Faulhammer <opfer@gentoo.org> + emacs-21.4-r15.ebuild, emacs-21.4-r17.ebuild, emacs-22.2-r3.ebuild, + emacs-22.3.ebuild: + remove note about to be installed fonts + + 22 Sep 2008; Ulrich Mueller <ulm@gentoo.org> + -files/emacs-22.1-backup-buffer.patch, -files/emacs-22.1-format-int.patch, + -files/emacs-22.1-hack-local-variables.patch, + -files/emacs-22.1-oldxmenu-qa.patch, + -files/emacs-22.1-s390x-non-multilib.patch, -emacs-22.1-r4.ebuild: + Remove old. + + 14 Sep 2008; Ulrich Mueller <ulm@gentoo.org> emacs-21.4-r17.ebuild, + emacs-22.3.ebuild: + Be less verbose, bug 237546. + + 06 Sep 2008; Ulrich Mueller <ulm@gentoo.org> -emacs-22.2-r2.ebuild: + Remove vulnerable revision wrt bug 236498. + + 06 Sep 2008; Tobias Scherbaum <dertobi123@gentoo.org> + emacs-22.2-r3.ebuild: + ppc stable, bug #236498 + + 06 Sep 2008; Ulrich Mueller <ulm@gentoo.org> emacs-18.59-r5.ebuild: + Fix licence info, unexelf.c in patch is GPL-2. + +*emacs-22.3 (05 Sep 2008) + + 05 Sep 2008; Christian Faulhammer <opfer@gentoo.org> + -emacs-22.2.92.ebuild, +emacs-22.3.ebuild: + official release of 22.3; remove pretest version + + 03 Sep 2008; Raúl Porcel <armin76@gentoo.org> emacs-22.2-r3.ebuild: + alpha/ia64/sparc/x86 stable + + 03 Sep 2008; Jeroen Roovers <jer@gentoo.org> emacs-22.2-r3.ebuild: + Stable for HPPA (bug #236498). + + 03 Sep 2008; Markus Rothe <corsair@gentoo.org> emacs-22.2-r3.ebuild: + Stable on ppc64 + + 03 Sep 2008; Olivier Crête <tester@gentoo.org> emacs-22.2-r3.ebuild: + Stable on amd64 for bug #236498 + +*emacs-22.2.92 (02 Sep 2008) + + 02 Sep 2008; Ulrich Mueller <ulm@gentoo.org> + +files/emacs-22.3-freebsd-sparc.patch, +emacs-22.2.92.ebuild: + Presumably final pretest version for Emacs 22.3. Committing it in + app-editors/emacs (instead of emacs-cvs), in order to give it as much + final testing as possible. + +*emacs-22.2-r3 (02 Sep 2008) + + 02 Sep 2008; Ulrich Mueller <ulm@gentoo.org> + +files/emacs-22.2-python-nopwd.patch, +emacs-22.2-r3.ebuild: + Security fix for interactive python search path, CVE-2008-3949, bug 236498. + + 28 Jul 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml: + Add USE flag description to metadata wrt GLEP 56. + + 04 Jun 2008; Ulrich Mueller <ulm@gentoo.org> 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 <ulm@gentoo.org> 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 <opfer@gentoo.org> + -emacs-18.59-r4.ebuild: + clean up + + 31 May 2008; Christian Faulhammer <opfer@gentoo.org> + emacs-18.59-r5.ebuild: + stable x86, bug 221281 + + 16 May 2008; Ulrich Mueller <ulm@gentoo.org> -emacs-22.2-r1.ebuild: + Remove intermediate version. + + 16 May 2008; Tobias Scherbaum <dertobi123@gentoo.org> + emacs-21.4-r17.ebuild, emacs-22.2-r2.ebuild: + ppc stable, bug #221197 + + 14 May 2008; Markus Meier <maekke@gentoo.org> emacs-21.4-r17.ebuild, + emacs-22.2-r2.ebuild: + amd64 stable, bug #221197 + + 14 May 2008; Christian Faulhammer <opfer@gentoo.org> + emacs-21.4-r17.ebuild, emacs-22.2-r2.ebuild: + stable x86, security bug 221197 + + 14 May 2008; Markus Rothe <corsair@gentoo.org> emacs-21.4-r17.ebuild, + emacs-22.2-r2.ebuild: + Stable on ppc64; bug #221197 + + 13 May 2008; Jeroen Roovers <jer@gentoo.org> emacs-21.4-r17.ebuild, + emacs-22.2-r2.ebuild: + Stable for HPPA (bug #221197). + + 13 May 2008; Raúl Porcel <armin76@gentoo.org> 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 <ulm@gentoo.org> + +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 <ulm@gentoo.org> +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 <jer@gentoo.org> emacs-22.2-r1.ebuild: + Stable for HPPA (bug #220535). + + 06 May 2008; Brent Baude <ranger@gentoo.org> emacs-22.2-r1.ebuild: + stable ppc/ppc64, bug 220535 + + 06 May 2008; Christian Faulhammer <opfer@gentoo.org> emacs-22.2-r1.ebuild: + stable x86/amd64, bug 220535 + + 06 May 2008; Raúl Porcel <armin76@gentoo.org> 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 <ulm@gentoo.org> + +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 <ulm@gentoo.org> + +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) + <michael@derhammer.net>, Honza Macháček <Hloupy.Honza@centrum.cz> and + Martin Mokrejš <mmokrejs@ribosome.natur.cuni.cz> for their help. + + 01 Apr 2008; Ulrich Mueller <ulm@gentoo.org> emacs-22.2.ebuild: + Explicitely depend on mit-krb5 instead of virtual/krb5, bug 215558. + + 28 Mar 2008; Ulrich Mueller <ulm@gentoo.org> 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 <ulm@gentoo.org> +emacs-22.2.ebuild: + Version bump. + + 02 Feb 2008; Ulrich Mueller <ulm@gentoo.org> 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 <ulm@gentoo.org> + -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 <ulm@gentoo.org> -emacs-21.4-r4.ebuild: + Remove old. + + 17 Jan 2008; Ulrich Mueller <ulm@gentoo.org> + files/emacs-22.1-s390x-non-multilib.patch: + Replace s390x patch by upstream fix, bug 205555. + + 13 Jan 2008; Ulrich Mueller <ulm@gentoo.org> + +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 <ulm@gentoo.org> emacs-21.4-r14.ebuild: + Update DESCRIPTION. Re-add dropped keywords, following dependencies. + + 04 Jan 2008; Ulrich Mueller <ulm@gentoo.org> emacs-21.4-r14.ebuild: + Remove lesstif USE flag wrt bug #117057. Be verbose about toolkit selection. + + 02 Jan 2008; Ulrich Mueller <ulm@gentoo.org> emacs-22.1-r3.ebuild: + Remove explicit zlib dependency. + + 28 Dec 2007; Ulrich Mueller <ulm@gentoo.org> emacs-22.1-r3.ebuild: + Include net-libs/liblockfile in dependencies, fixes bug #203624. + + 11 Dec 2007; Ulrich Mueller <ulm@gentoo.org> -emacs-21.4-r12.ebuild: + Remove vulnerable revision wrt bug #200297. + + 07 Dec 2007; Christian Faulhammer <opfer@gentoo.org> + -emacs-21.4-r8.ebuild: + clean up + + 02 Dec 2007; Ulrich Mueller <ulm@gentoo.org> 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 <ulm@gentoo.org> emacs-22.1-r3.ebuild: + Rename site-init file for USE=source. + + 28 Nov 2007; Ulrich Mueller <ulm@gentoo.org> -emacs-21.4-r13.ebuild, + -emacs-22.1-r2.ebuild: + Remove vulnerable versions wrt security bug #200297. + + 28 Nov 2007; <welp@gentoo.org> emacs-21.4-r14.ebuild, + emacs-22.1-r3.ebuild: + Stable on amd64, thanks angelos. + + 27 Nov 2007; Raúl Porcel <armin76@gentoo.org> emacs-21.4-r14.ebuild, + emacs-22.1-r3.ebuild: + alpha/ia64/sparc stable + + 27 Nov 2007; Tobias Scherbaum <dertobi123@gentoo.org> + emacs-21.4-r14.ebuild, emacs-22.1-r3.ebuild: + ppc stable, bug #200297 + + 27 Nov 2007; Markus Rothe <corsair@gentoo.org> emacs-21.4-r14.ebuild, + emacs-22.1-r3.ebuild: + Stable on ppc64; bug #200297 + + 27 Nov 2007; Jeroen Roovers <jer@gentoo.org> emacs-22.1-r3.ebuild: + Dropping compiler optimisations to -O1 for hppa (solves bug #193703). + + 26 Nov 2007; Christian Faulhammer <opfer@gentoo.org> + emacs-21.4-r14.ebuild, emacs-22.1-r3.ebuild: + stable x86 + + 26 Nov 2007; Jeroen Roovers <jer@gentoo.org> 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 <ulm@gentoo.org> + +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 <ulm@gentoo.org> emacs-22.1-r2.ebuild: + Fix alsa dependency, thanks Flameeyes for pointing this out. + + 14 Nov 2007; Brent Baude <ranger@gentoo.org> emacs-21.4-r13.ebuild: + Marking emacs-21.4-r13 ppc64 stable for bug 197313 + + 14 Nov 2007; Ulrich Mueller <ulm@gentoo.org> emacs-21.4-r13.ebuild: + Stable on amd64, bug #197313. + + 06 Nov 2007; Ulrich Mueller <ulm@gentoo.org> -emacs-22.1-r1.ebuild: + Remove vulnerable revision wrt bug #197958. + + 06 Nov 2007; Chris Gianelloni <wolf31o2@gentoo.org> emacs-22.1-r2.ebuild: + Stable on amd64 wrt bug #197958. + + 05 Nov 2007; Tobias Scherbaum <dertobi123@gentoo.org> + emacs-22.1-r2.ebuild: + ppc stable, bug #197958 + + 03 Nov 2007; Markus Rothe <corsair@gentoo.org> emacs-22.1-r2.ebuild: + Stable on ppc64; bug #197958 + + 03 Nov 2007; Dawid Węgliński <cla@gentoo.org> emacs-22.1-r2.ebuild: + Stable on x86 (bug #197958) + + 03 Nov 2007; Raúl Porcel <armin76@gentoo.org> emacs-22.1-r2.ebuild: + alpha/ia64/sparc stable wrt security #197958 + + 03 Nov 2007; Ulrich Mueller <ulm@gentoo.org> emacs-18.59-r4.ebuild: + Use epatch for bulk patching. + +*emacs-22.1-r2 (03 Nov 2007) + + 03 Nov 2007; Ulrich Mueller <ulm@gentoo.org> + +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 <ulm@gentoo.org> emacs-22.1-r1.ebuild: + Partial sync of emacs and emacs-cvs ebuilds. + + 01 Nov 2007; Raúl Porcel <armin76@gentoo.org> emacs-21.4-r13.ebuild: + alpha/ia64 stable wrt #197313 + + 31 Oct 2007; Jeroen Roovers <jer@gentoo.org> emacs-21.4-r13.ebuild: + Stable for HPPA (bug #197313). + + 30 Oct 2007; nixnut <nixnut@gentoo.org> emacs-21.4-r13.ebuild: + Stable on ppc wrt bug 197313 + + 30 Oct 2007; Ferris McCormick <fmccor@gentoo.org> emacs-21.4-r13.ebuild: + Sparc stable --- Security Bug #197313 + + 30 Oct 2007; Christian Faulhammer <opfer@gentoo.org> + emacs-21.4-r13.ebuild: + stable x86, bug 197313 + +*emacs-21.4-r13 (28 Oct 2007) + + 28 Oct 2007; Ulrich Mueller <ulm@gentoo.org> +emacs-21.4-r13.ebuild: + Security fix for crash on malformed GIF images, CVE-2007-2833, bug #197313. + + 24 Oct 2007; Ulrich Mueller <ulm@gentoo.org> emacs-22.1-r1.ebuild: + Add standard comment to site-init file. + + 23 Oct 2007; Raúl Porcel <armin76@gentoo.org> emacs-22.1-r1.ebuild: + alpha/ia64 stable + + 14 Oct 2007; Ulrich Mueller <ulm@gentoo.org> 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 <opfer@gentoo.org> + 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 <ulm@gentoo.org> emacs-21.4-r12.ebuild, + emacs-22.1-r1.ebuild: + Minor QA: quote ROOT variable. + + 27 Sep 2007; Ulrich Mueller <ulm@gentoo.org> -emacs-22.1.ebuild: + Remove old revision. + + 26 Sep 2007; Christoph Mende <angelos@gentoo.org> emacs-22.1-r1.ebuild: + Stable on amd64 wrt bug #193501 + + 24 Sep 2007; Brent Baude <ranger@gentoo.org> emacs-22.1-r1.ebuild: + Marking emacs-22.1-r1 ppc64 stable for bug#193501 + + 24 Sep 2007; Jeroen Roovers <jer@gentoo.org> emacs-22.1-r1.ebuild: + Marked ~hppa (bug #180642). + + 24 Sep 2007; Raúl Porcel <armin76@gentoo.org> emacs-22.1-r1.ebuild: + Add ~alpha/~ia64 + + 23 Sep 2007; Ferris McCormick <fmccor@gentoo.org> emacs-22.1-r1.ebuild: + Sparc stable --- Bug #193501 + + 23 Sep 2007; nixnut <nixnut@gentoo.org> emacs-22.1-r1.ebuild: + Stable on ppc wrt bug 193501 + + 23 Sep 2007; Christian Faulhammer <opfer@gentoo.org> emacs-22.1-r1.ebuild: + stable x86, bug 193501 + + 18 Sep 2007; Ulrich Mueller <ulm@gentoo.org> 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 <opfer@gentoo.org> + 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 <ulm@gentoo.org> 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 <ulm@gentoo.org> + +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 <Martin.vGagern@gmx.net>. + + 23 Aug 2007; Ulrich Mueller <ulm@gentoo.org> -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 <ulm@gentoo.org> emacs-22.1.ebuild: + Generate score files in pkg_postinst. + + 01 Jul 2007; Ulrich Mueller <ulm@gentoo.org> + 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 <ulm@gentoo.org> -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 <ulm@gentoo.org> emacs-22.1.ebuild: + Depend on virtual/motif and remove lesstif USE flag. + + 13 Jun 2007; Ulrich Mueller <ulm@gentoo.org> emacs-22.1.ebuild: + Configure now supports "use_with hesiod" properly. + + 12 Jun 2007; Diego Pettenò <flameeyes@gentoo.org> emacs-22.1.ebuild: + Add ~sparc-fbsd keyword. + + 05 Jun 2007; Gustavo Zacarias <gustavoz@gentoo.org> emacs-22.1.ebuild: + Keyworded ~sparc wrt #180642 + + 04 Jun 2007; Ulrich Mueller <ulm@gentoo.org> + +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 <ranger@gentoo.org> emacs-22.1.ebuild: + Marking emacs-22.1 ppc/ppc64 ~ for bug#180642 + + 02 Jun 2007; deedra waters <dmwaters@gentoo.org> emacs-22.1.ebuild: + Adding ~amd64 keyword + + 02 Jun 2007; Diego Pettenò <flameeyes@gentoo.org> emacs-22.1.ebuild: + Add ~x86-fbsd keyword. + +*emacs-22.1 (02 Jun 2007) + + 02 Jun 2007; Ulrich Mueller <ulm@gentoo.org> + +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 <nixnut@gentoo.org> emacs-21.4-r12.ebuild: + Stable on ppc wrt bug 180100 + + 29 May 2007; Raúl Porcel <armin76@gentoo.org> emacs-21.4-r12.ebuild: + alpha/ia64 stable wrt #180100 + + 29 May 2007; Jeroen Roovers <jer@gentoo.org> emacs-21.4-r12.ebuild: + Stable for HPPA (bug #180100). + + 28 May 2007; Ulrich Mueller <ulm@gentoo.org> + +files/emacs-21.4-oldxmenu-malloc.patch, emacs-21.4-r12.ebuild: + Fix segmentation faults on ia64, bug #180142. + + 28 May 2007; Christian Faulhammer <opfer@gentoo.org> + emacs-18.59-r4.ebuild: + stable x86 + + 28 May 2007; Christian Faulhammer <opfer@gentoo.org> + emacs-21.4-r12.ebuild: + x86/amd64 stable, bug 180100 + + 28 May 2007; Brent Baude <ranger@gentoo.org> emacs-21.4-r12.ebuild: + Marking emacs-21.4-r12 ppc64 stable for 180100 + + 28 May 2007; Gustavo Zacarias <gustavoz@gentoo.org> emacs-21.4-r12.ebuild: + Stable on sparc wrt #180100 + + 24 May 2007; Christian Faulhammer <opfer@gentoo.org> ChangeLog: + corrected ChangeLog, so it conforms to our standards + + 15 May 2007; Ulrich Mueller <ulm@gentoo.org> 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 <uberlord@gentoo.org> + +files/emacs-21.4-freebsd-terminfo.patch, emacs-21.4-r12.ebuild: + Added ~x86-fbsd keyword, #174884 + + 14 May 2007; Ulrich Mueller <ulm@gentoo.org> 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 <jokey@gentoo.org> emacs-21.4-r12.ebuild: + Works on arm as well + + 30 Apr 2007; Tony Vroon <chainsaw@gentoo.org> emacs-21.4-r12.ebuild: + Add ~ppc keyword. Tested on a PowerBook 5,9 with GCC 4.1.2 + + 30 Apr 2007; Ulrich Mueller <ulm@gentoo.org> -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 <ulm@gentoo.org> 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 <corsair@gentoo.org> + +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 <ulm@gentoo.org> emacs-21.4-r12.ebuild: + Fixed parameter expansion for file name of man pages. + + 24 Apr 2007; Ulrich Mueller <ulm@gentoo.org> 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 <kloeri@gentoo.org> emacs-21.4-r12.ebuild: + Add ~alpha keyword, bug 174882. + + 19 Apr 2007; Ulrich Mueller <ulm@gentoo.org> + +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 <gustavoz@gentoo.org> emacs-21.4-r12.ebuild: + Keyworded ~sparc wrt #174884 + + 18 Apr 2007; Jeroen Roovers <jer@gentoo.org> emacs-21.4-r12.ebuild: + Marked ~hppa (bug #174884). + + 17 Apr 2007; Raúl Porcel <armin76@gentoo.org> emacs-21.4-r12.ebuild: + Add ~ia64 wrt bug 174884 + + 17 Apr 2007; Christian Faulhammer <opfer@gentoo.org> + emacs-21.4-r12.ebuild: + keyworded ~amd64, bug 174884 + +*emacs-21.4-r12 (16 Apr 2007) + + 16 Apr 2007; Christian Faulhammer <opfer@gentoo.org> + +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 <opfer@gentoo.org> + +emacs-18.59-r4.ebuild: + prepared for the new eselect module + + 26 Mar 2007; Christian Faulhammer <opfer@gentoo.org> + -files/60emacs-22.0.50.envd, -emacs-21.4-r7.ebuild: + clean up + + 07 Mar 2007; Christian Faulhammer <opfer@gentoo.org> + -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 <opfer@gentoo.org> + +emacs-21.4-r8.ebuild: + make subdirs patch obsolete + + 02 Mar 2007; Christian Faulhammer <opfer@gentoo.org> 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 <opfer@gentoo.org> + 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 <opfer@gentoo.org> + -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 <opfer@gentoo.org> + -emacs-21.4-r6.ebuild: + clean up + + 02 Mar 2007; Christian Faulhammer <opfer@gentoo.org> + -files/emacs-22.0.50.desktop, -files/emacs-nofink-gentoo.diff: + remove some unnecessary files + + 02 Mar 2007; Christian Faulhammer <opfer@gentoo.org> 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 <gnu_andrew@member.fsf.org>; removed stale version as + it is in prefix overlay for ppc-macos + +*emacs-21.4-r7 (20 Feb 2007) + + 20 Feb 2007; Christian Faulhammer <opfer@gentoo.org> + +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 <ulm@kph.uni-mainz.de> + +*emacs-18.59-r1 (14 Feb 2007) + + 14 Feb 2007; Christian Faulhammer <opfer@gentoo.org> + +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 <ulm@kph.uni-mainz.de> in bug 44766 + + 06 Feb 2007; Christian Faulhammer <opfer@gentoo.org> emacs-21.4-r6.ebuild: + made the definition of suffix variable more elegant (thanks to Ulrich + Müller <ulm@kph.uni-mainz.de>; removed emacsclient from man page + symlinking; added gfdl at the same place + + 04 Feb 2007; Christian Faulhammer <opfer@gentoo.org> + -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 <opfer@gentoo.org> emacs-21.4-r6.ebuild: + determine compression suffix correctly and finally + + 02 Feb 2007; Christian Faulhammer <opfer@gentoo.org> emacs-21.4-r6.ebuild: + hopefully fix man page symlinks again + +*emacs-21.4-r6 (02 Feb 2007) + + 02 Feb 2007; Christian Faulhammer <opfer@gentoo.org> + +emacs-21.4-r6.ebuild: + create symlinks for man pages, as reported by Ulrich Mueller + <ulm@kph.uni-mainz.de> + + 05 Jan 2007; Christian Faulhammer <opfer@gentoo.org> emacs-21.4-r5.ebuild: + correctly use aspell when having it installed, see bug #158850, reported + by Don Pellegrino <donpellegrino@comcast.net> + + 04 Dec 2006; Christian Faulhammer <opfer@gentoo.org> -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 <opfer@gentoo.org> emacs-21.4-r5.ebuild: + added some quotes around epatch commands + + 31 Oct 2006; Christian Faulhammer <opfer@gentoo.org> emacs-21.4-r4.ebuild, + emacs-21.4-r5.ebuild: + removed dependency on sys-libs/gdbm as reported in bug #103382 by Marien + Zwart <marienz@gentoo.org> + + 31 Oct 2006; Christian Faulhammer <opfer@gentoo.org> + +files/40aspell-gentoo.el: + copied 40aspell-gentoo.el over from app-editors/emacs-cvs to fix bug #101585 + + 30 Oct 2006; Christian Faulhammer <opfer@gentoo.org> emacs-21.4-r5.ebuild: + suppressed the output of permission fixing, as reported by Carsten Lohrke + <carlo@gentoo.org> in bug #85968 + + 15 Oct 2006; Bryan Østergaard <kloeri@gentoo.org> emacs-21.4-r4.ebuild: + Stable on ia64. + + 10 Oct 2006; Jeroen Roovers <jer@gentoo.org> emacs-21.4-r4.ebuild: + Stable for HPPA (bug #136987). + + 30 Aug 2006; Michael Hanselmann <hansmi@gentoo.org> emacs-21.4-r4.ebuild: + Stable on ppc. + + 21 Aug 2006; Matthew Kennedy <mkennedy@gentoo.org> emacs-21.4-r5.ebuild: + Add note to pkg_postinst that Emacs needs fonts; Resolves Bug #137598. + + 18 Aug 2006; Joshua Jackson <tsunam@gentoo.org> emacs-21.4-r4.ebuild: + Stable x86; following the others + + 13 Aug 2006; Markus Rothe <corsair@gentoo.org> emacs-21.4-r4.ebuild: + Stable on ppc64; bug #136987 + +*emacs-21.4-r5 (12 Aug 2006) + + 12 Aug 2006; Matthew Kennedy <mkennedy@gentoo.org> + +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 <yoswink@gentoo.org> emacs-21.4-r4.ebuild: + Stable on alpha wrt bug #136987 + + 11 Aug 2006; Jason Wever <weeve@gentoo.org> emacs-21.4-r4.ebuild: + Stable on SPARC wrt bug #136987. + + 09 Aug 2006; Thomas Cort <tcort@gentoo.org> emacs-21.4-r4.ebuild: + Stable on amd64 wrt Bug #136987. + +*emacs-21.4-r4 (09 Aug 2006) + + 09 Aug 2006; Matthew Kennedy <mkennedy@gentoo.org> +emacs-21.4-r4.ebuild: + Replace -O3 onwards (if present) with -O2; Resolves Bug #136987 and many + other bugs. + + 03 May 2006; Diego Pettenò <flameeyes@gentoo.org> emacs-21.4-r3.ebuild: + Add ~x86-fbsd keyword. + + 03 May 2006; <tcort@gentoo.org> 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 <antarus@gentoo.org> 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 <ferdy@gentoo.org> emacs-21.4-r3.ebuild: + Stable on alpha as per bug #76141. Tested by Thomas Cort <tcort@cs.ubishops.ca> + + 12 Mar 2006; Jason Wever <weeve@gentoo.org> emacs-21.4-r3.ebuild: + Stable on SPARC wrt bug #76141. + + 10 Mar 2006; Michael Hanselmann <hansmi@gentoo.org> emacs-21.4-r3.ebuild: + Stable on ppc. + + 09 Mar 2006; Aron Griffis <agriffis@gentoo.org> emacs-21.4-r3.ebuild: + Mark 21.4-r3 stable on ia64 + + 08 Mar 2006; Mike Doty <kingtaco@gentoo.org> emacs-21.4-r3.ebuild: + amd64 stable, bug 76141 + + 08 Mar 2006; Jeroen Roovers <jer@gentoo.org> emacs-21.4-r3.ebuild: + Stable on hppa (bug #113266). + + 08 Mar 2006; Michele Noberasco <s4t4n@gentoo.org> emacs-21.4-r3.ebuild: + Stable for x86. See bugs #76141 and #113266. + + 08 Mar 2006; Markus Rothe <corsair@gentoo.org> emacs-21.4-r3.ebuild: + Stable on ppc64; bug #113266 + +*emacs-21.4-r3 (06 Mar 2006) + + 06 Mar 2006; Matthew Kennedy <mkennedy@gentoo.org> +emacs-21.4-r3.ebuild: + Remove the GNOME USE flag; Install the .desktop file unconditionally; + Resolves Bug #112449. + + 05 Mar 2006; Joseph Jezak <josejx@gentoo.org> emacs-21.4-r2.ebuild: + Marked ppc stable for bug #76141. + + 01 Mar 2006; Markus Rothe <corsair@gentoo.org> emacs-21.4-r2.ebuild: + Stable on ppc64; bug #76141 + + 01 Mar 2006; Jeroen Roovers <jer@gentoo.org> emacs-21.4-r2.ebuild: + Stable on hppa (bug #76141). + + 27 Feb 2006; <plasmaroo@gentoo.org> emacs-21.4-r2.ebuild: + Stable on IA64; bug #76141. + +*emacs-21.4-r2 (27 Feb 2006) + + 27 Feb 2006; Matthew Kennedy <mkennedy@gentoo.org> 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 <mkennedy@gentoo.org> emacs-18.59.ebuild: + Modular X dependencies; Resolves Bug #122215. + + 10 Jan 2006; <ferringb@gentoo.org> -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 <spyderous@gentoo.org>; emacs-21.4-r1.ebuild, + emacs-22.0.50_pre20050225.ebuild: + (#113394) We also need fonts in modular. + + 12 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>; emacs-21.4-r1.ebuild, + emacs-22.0.50_pre20050225.ebuild: + Add modular X dependencies. + + 23 Aug 2005; Aron Griffis <agriffis@gentoo.org> emacs-21.4-r1.ebuild: + stable on ia64 + + 03 Aug 2005; Bryan Østergaard <kloeri@gentoo.org> emacs-21.4-r1.ebuild: + Stable on alpha. + + 29 Jul 2005; MATSUU Takuto <matsuu@gentoo.org> +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 <dertobi123@gentoo.org> + emacs-21.4-r1.ebuild: + ppc stable + + 07 Jul 2005; Markus Rothe <corsair@gentoo.org> emacs-21.4-r1.ebuild: + Stable on ppc64 + + 05 Jul 2005; Rene Nussbaumer <killerfox@gentoo.org> emacs-21.4-r1.ebuild: + Stable on hppa. + + 05 Jul 2005; Olivier Crête <tester@gentoo.org> emacs-21.4-r1.ebuild: + Stable on amd64 + + 04 Jul 2005; Gustavo Zacarias <gustavoz@gentoo.org> emacs-21.4-r1.ebuild: + Stable on sparc + + 02 Jul 2005; Mamoru KOMACHI <usata@gentoo.org> emacs-21.4-r1.ebuild: + Stable on x86. + + 21 May 2005; Mamoru KOMACHI <usata@gentoo.org> 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 <usata@gentoo.org> 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 <eradicator@gentoo.org> + emacs-21.4-r1.ebuild, emacs-22.0.50_pre20050225.ebuild: + Use proper toolchain compiler. + + 12 Apr 2005; Mamoru KOMACHI <usata@gentoo.org> 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 <usata@gentoo.org> 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 <usata@gentoo.org> + +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 <agriffis@gentoo.org> emacs-21.4.ebuild: + stable on ia64 #79686 + + 10 Feb 2005; Bryan Østergaard <kloeri@gentoo.org> emacs-21.4.ebuild: + Stable on alpha, bug 79686. + + 09 Feb 2005; Michael Hanselmann <hansmi@gentoo.org> emacs-21.4.ebuild: + Stable on ppc. + + 09 Feb 2005; Marcus D. Hanwell <cryos@gentoo.org> emacs-21.4.ebuild: + Marked stable on amd64, bug 79686. + + 08 Feb 2005; Markus Rothe <corsair@gentoo.org> emacs-21.4.ebuild: + Stable on ppc64; bug #79686 + + 08 Feb 2005; Olivier Crête <tester@gentoo.org> emacs-21.4.ebuild: + Stable on x86 wrt bug #79686 + + 08 Feb 2005; Gustavo Zacarias <gustavoz@gentoo.org> emacs-21.4.ebuild: + Stable on sparc wrt #79686 + +*emacs-21.4 (08 Feb 2005) + + 08 Feb 2005; Mamoru KOMACHI <usata@gentoo.org> +emacs-21.4.ebuild: + Version bumped. This fixes CAN-2005-0100. (bug #79686) + + 28 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> : + Change encoding to UTF-8 for GLEP 31 compliance + + 19 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org> + emacs-21.3-r5.ebuild, emacs-21.3.50_pre20041027.ebuild: + multilib fixin. + + 30 Nov 2004; Sven Wegener <swegener@gentoo.org> 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 <usata@gentoo.org> + +files/emacs-21.3-xorg.patch, +emacs-21.3-r5.ebuild: + Added a patch to fix AltGr key behaviour. Thanks to Sergio Polini + <s.polini@mclink.it> 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 <usata@gentoo.org> + +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 <kloeri@gentoo.org> emacs-21.3-r4.ebuild: + ~alpha keyword. + + 19 Oct 2004; Dylan Carlson <absinthe@gentoo.org> emacs-21.3-r3.ebuild: + Stable on amd64. + + 16 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> 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 <usata@gentoo.org> emacs-21.3-r4.ebuild: + Specify alternatives version explicitly. + + 06 Oct 2004; Guy Martin <gmsoft@gentoo.org> emacs-21.3-r3.ebuild, + emacs-21.3-r4.ebuild: + Stable on hppa. + + 03 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> +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 <usata@gentoo.org> -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 <gustavoz@gentoo.org> emacs-21.3-r3.ebuild: + Stable on sparc + + 23 Sep 2004; Mamoru KOMACHI <usata@gentoo.org> 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 <usata@gentoo.org> emacs-21.3-r4.ebuild: + Added nosendmail USE flag. This closes bug #11104. + + 31 Jul 2004; Mamoru KOMACHI <usata@gentoo.org> + -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 <tgall@gentoo.org> emacs-21.3-r4.ebuild: + stable on ppc64 + + 15 Jul 2004; Tom Gall <tgall@gentoo.org> emacs-21.3-r4.ebuild: + added ~ppc64 bug #55328 + +*emacs-21.3-r4 (04 Jul 2004) + + 04 Jul 2004; Mamoru KOMACHI <usata@gentoo.org> -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 <agriffis@gentoo.org> emacs-21.3-r2.ebuild, + emacs-21.3-r3.ebuild: + Fix use invocation + + 17 May 2004; <mkennedy@gentoo.org> 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 <mr_bones_@gentoo.org> 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; <mkennedy@gentoo.org> +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 + <ulm@kph.uni-mainz.de>), 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 <iggy@gentoo.org> emacs-21.3-r2.ebuild: + add s390 keywords + + 03 Mar 2004; Mamoru KOMACHI <usata@gentoo.org> 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 <bazik@gentoo.org> emacs-21.3-r2.ebuild: + Stable on sparc. <imo>use vim, use vim, use vim, use vim, use vim!</imo> + + 18 Feb 2004; Aron Griffis <agriffis@gentoo.org> emacs-21.3-r2.ebuild: + stable on ia64 + + 18 Feb 2004; Mamoru KOMACHI <usata@gentoo.org> 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 <brad_mssw@gentoo.org> 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 <gmsoft@gentoo.org> 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 <usata@gentoo.org> emacs-21.3-r2.ebuild: + Disable Xaw3d if USE="-Xaw3d" even when it is installed, bug 35300 + + 01 Dec 2003; Mamoru KOMACHI <usata@gentoo.org> emacs-21.3-r1.ebuild: + Filter -fstack-protector that causes internal compiler error at xterm.c + Closing bug #33265 + + 31 Jul 2003; Tavis Ormandy <taviso@gentoo.org> emacs-21.3-r1.ebuild: + stable on alpha + +*emacs-21.3-r1 (01 Apr 2003) + + 01 Apr 2003; Matthew Kennedy <mkennedy@gentoo.org> 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 <seemant@gentoo.org> *.ebuild : + PROVIDE virtual/editor as well as virtual/emacs now + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + + 14 Sep 2002; Matthew Kennedy <mkennedy@gentoo.org> + 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 <ryan.shaw@stanfordalumni.org> of bug + 6557. + +*emacs-21.2-r1 (29 Jul 2002) + + 07 Aug 2002; Matthew Kennedy <mkennedy@gentoo.org> + emacs-21.2-r1.ebuild : + Sandbox. + + 06 Aug 2002; Mark Guertin <gerk@gentoo.org> : + Added ppc to keywords + + 06 Aug 2002; Matthew Kennedy <mkennedy@gentoo.org> + emacs-21.2-r1.ebuild : + Documentation install fix. Sandbox adjustment. + + 29 Jul 2002; Matthew Kennedy <mkennedy@gentoo.org> + 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 <pvdabeel@gentoo.org> + Version bump + +*emacs-21.1-r4 (11 Apr 2002) + + 11 Apr 2002; Spider <spider@gentoo.org> + Update libpng dependency + + 28 Apr 2002; pvdabeel <pvdabeel@gentoo.org> + PPC fix (nocombreloc - fixes bug # 2104) + +*emacs-21.1-r3 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> 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. diff --git a/app-editors/emacs/Manifest b/app-editors/emacs/Manifest new file mode 100644 index 0000000..6c5a423 --- /dev/null +++ b/app-editors/emacs/Manifest @@ -0,0 +1,8 @@ +AUX emacs-23.0.94-handle-xz-suffix.patch 751 RMD160 6380952113ef9652c58f82de6b6a4254281721a6 SHA1 2666b767674a1b57853d8802e3243ce9b5f5b0cd SHA256 167b019518b147f737c7e69281a76d0e5651db44c82dff0834d6e2a964870bfc +AUX emacs-23.1-backspace.patch 2364 RMD160 34da24ea55db165f4650b9a0b19bbac050e3f472 SHA1 7cce3ee5072005080696647d663a79f79c13c0c8 SHA256 c82240cad46190448580445feaaedf12640ccbb0f8649651c5bd5c9465648bfe +AUX emacs-23.1-gtk-menu.patch 6212 RMD160 1b25cfc1f9c2f5e2c4a8a85b7ad16de780801248 SHA1 64aebdc54736730642d5775a2ec1d5073da16028 SHA256 8538bfd1135cfa183a97a6ebad38c0b5e0551d2a49d6efd52235d4a14dbf569f +DIST emacs-23.1.tar.bz2 34382732 RMD160 e9b30bce2c174dde4dcfefb6068ae8648d59b251 SHA1 5f2d5dfcc17e7627ea752f675c605fe37c9c145c SHA256 2b35f4457c7a0ee9f9185579cc2890b43f129a112cf22500233489db7a24cb1c +EBUILD emacs-23.1-r1.ebuild 9462 RMD160 d724a5d0e94d751de2ff6eb3f57c9793c4711a84 SHA1 393f4a498730df19879f4185e8ce5d07e100cfe5 SHA256 3e1a7c5a345afab0175863ccb9b5b6da50972adac3a2503e3c8fc8ac0ec1fa27 +EBUILD emacs-23.1.ebuild 9411 RMD160 d7929105b788f11658188c70dc32e9b44829d1fe SHA1 c6f34391b4fb1fae6e1a916d159a69b1070e09dc SHA256 bd0831d3aa962d3b8ae3a7a2c08803fb77896176798be69eed8b44a4d8d12d1f +MISC ChangeLog 48692 RMD160 aa8b9ff6ff5387568da55a45d7eb19aed53eac5c SHA1 bb3edfac0002dd83f9c779ead11e3ae3ee108cf9 SHA256 f8ccadec51d35faf51e00430ea6e5f1d153c4c9d87498dd737ad2d485cb978e1 +MISC metadata.xml 1652 RMD160 d5b841ffd970ae6338f01b56bc354004a78a13e8 SHA1 3f19193ed03a37bc67644966c839ea738b21c976 SHA256 fa53ed0bd63c3dd37877f11aa0ac7e3811da9db6c90437176ab60d76329f0cd7 diff --git a/app-editors/emacs/emacs-23.1-r1.ebuild b/app-editors/emacs/emacs-23.1-r1.ebuild new file mode 100644 index 0000000..d3cce41 --- /dev/null +++ b/app-editors/emacs/emacs-23.1-r1.ebuild @@ -0,0 +1,307 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.1-r1.ebuild,v 1.1 2009/10/28 19:38:52 ulm Exp $ + +EAPI=2 + +inherit autotools elisp-common eutils flag-o-matic + +if [ "${PV##*.}" = "9999" ]; then + ECVS_AUTH="pserver" + ECVS_SERVER="cvs.savannah.gnu.org:/sources/emacs" + ECVS_MODULE="emacs" + ECVS_BRANCH="HEAD" + ECVS_LOCALNAME="emacs" + inherit cvs + SRC_URI="" + S="${WORKDIR}/${ECVS_LOCALNAME}" +else + SRC_URI="mirror://gnu/emacs/${P}.tar.bz2" + # 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%%_*}" + S="${WORKDIR}/emacs-${FULL_VERSION}" +fi + +DESCRIPTION="The extensible, customizable, self-documenting real-time display editor" +HOMEPAGE="http://www.gnu.org/software/emacs/" + +LICENSE="GPL-3 FDL-1.3 BSD as-is X11 W3C unicode" +SLOT="23" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +IUSE="alsa dbus gif gpm gtk gzip-el hesiod jpeg kerberos m17n-lib motif png sound source svg tiff toolkit-scroll-bars X Xaw3d xft +xpm" +RESTRICT="strip" + +RDEPEND="!=app-editors/emacs-cvs-23.0* + !=app-editors/emacs-cvs-23.1.9999 + sys-libs/ncurses + >=app-admin/eselect-emacs-1.2 + net-libs/liblockfile + hesiod? ( net-dns/hesiod ) + kerberos? ( virtual/krb5 ) + alsa? ( media-libs/alsa-lib ) + gpm? ( sys-libs/gpm ) + dbus? ( sys-apps/dbus ) + X? ( + x11-libs/libXmu + x11-libs/libXt + x11-misc/xbitmaps + gif? ( media-libs/giflib ) + jpeg? ( media-libs/jpeg ) + png? ( media-libs/libpng ) + svg? ( >=gnome-base/librsvg-2.0 ) + tiff? ( media-libs/tiff ) + xpm? ( x11-libs/libXpm ) + xft? ( + media-libs/fontconfig + media-libs/freetype + x11-libs/libXft + m17n-lib? ( + >=dev-libs/libotf-0.9.4 + >=dev-libs/m17n-lib-1.5.1 + ) + ) + gtk? ( x11-libs/gtk+:2 ) + !gtk? ( + Xaw3d? ( x11-libs/Xaw3d ) + !Xaw3d? ( motif? ( x11-libs/openmotif ) ) + ) + )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + gzip-el? ( app-arch/gzip )" + +RDEPEND="${RDEPEND} + >=app-emacs/emacs-common-gentoo-1[X?]" + +EMACS_SUFFIX="emacs-${SLOT}" +SITEFILE="20${PN}-${SLOT}-gentoo.el" + +src_prepare() { + if [ "${PV##*.}" = "9999" ]; then + FULL_VERSION=$(grep 'defconst[ ]*emacs-version' lisp/version.el \ + | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/') + [ "${FULL_VERSION}" ] || die "Cannot determine current Emacs version" + echo + einfo "Emacs CVS branch: ${ECVS_BRANCH}" + einfo "Emacs version number: ${FULL_VERSION}" + [ "${FULL_VERSION%.*}" = ${PV%.*} ] \ + || die "Upstream version number changed to ${FULL_VERSION}" + echo + fi + + epatch "${FILESDIR}/${PN}-23.0.94-handle-xz-suffix.patch" + epatch "${FILESDIR}/${P}-backspace.patch" + epatch "${FILESDIR}/${P}-gtk-menu.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_configure() { + ALLOWED_FLAGS="" + strip-flags + #unset LDFLAGS + if use sh; then + replace-flags -O[1-9] -O0 #262359 + else + replace-flags -O[3-9] -O2 + fi + + 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 gif) $(use_with jpeg)" + myconf="${myconf} $(use_with png) $(use_with svg rsvg)" + myconf="${myconf} $(use_with tiff) $(use_with xpm)" + myconf="${myconf} $(use_with xft)" + + if use xft; then + myconf="${myconf} $(use_with m17n-lib libotf)" + myconf="${myconf} $(use_with m17n-lib m17n-flt)" + else + myconf="${myconf} --without-libotf --without-m17n-flt" + use m17n-lib && ewarn \ + "USE flag \"m17n-lib\" has no effect because xft is not set." + fi + + # 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/Lucid) 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 + einfo "Configuring to build with no toolkit" + myconf="${myconf} --with-x-toolkit=no" + 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)" + myconf="${myconf} $(use_with gpm) $(use_with dbus)" + + econf \ + --program-suffix=-${EMACS_SUFFIX} \ + --infodir=/usr/share/info/${EMACS_SUFFIX} \ + ${myconf} || die "econf emacs failed" +} + +src_compile() { + export SANDBOX_ON=0 # for the unbelievers, see Bug #131505 + if [ "${PV##*.}" = "9999" ]; then + emake CC="$(tc-getCC)" bootstrap || die "make bootstrap failed" + # cleanup, otherwise emacs will be dumped again in src_install + (cd src; emake versionclean) + fi + 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_SUFFIX} \ + || die "removing duplicate emacs executable failed" + mv "${D}"/usr/bin/emacs-${EMACS_SUFFIX} "${D}"/usr/bin/${EMACS_SUFFIX} \ + || die "moving Emacs executable failed" + + # move info documentation to the correct place + for i in "${D}"/usr/share/info/${EMACS_SUFFIX}/*; do + mv "${i}" "${i}.info" || die "mv info failed" + done + + # move man pages to the correct place + for m in "${D}"/usr/share/man/man1/* ; do + mv "${m}" "${m%.1}-${EMACS_SUFFIX}.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 -rf "${D}"/usr/share/{applications,icons} + rm "${D}"/var/lib/games/emacs/{snake,tetris}-scores + keepdir /var/lib/games/emacs + + local c=";;" + 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] + c="" + fi + + sed 's/^X//' >"${SITEFILE}" <<-EOF + X + ;;; ${PN}-${SLOT} site-lisp configuration + X + (when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version) + X ${c}(setq find-function-C-source-directory + X ${c} "/usr/share/emacs/${FULL_VERSION}/src") + X (let ((path (getenv "INFOPATH")) + X (dir "/usr/share/info/${EMACS_SUFFIX}") + X (re "\\\\\`/usr/share/info\\\\>")) + X (and path + X ;; move Emacs Info dir before anything else in /usr/share/info + X (let* ((p (cons nil (split-string path ":" t))) (q p)) + X (while (and (cdr q) (not (string-match re (cadr q)))) + X (setq q (cdr q))) + X (setcdr q (cons dir (delete dir (cdr q)))) + X (setq Info-directory-list (prune-directory-list (cdr p))))))) + EOF + elisp-site-file-install "${SITEFILE}" || die + + dodoc README BUGS || 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_SUFFIX} f + [ -d "${ROOT}"${infodir} ] || return # may occur with FEATURES=noinfo + einfo "Regenerating Info directory index in ${infodir} ..." + rm -f "${ROOT}"${infodir}/dir{,.*} + for f in "${ROOT}"${infodir}/*.info*; do + [[ ${f##*/} != *[0-9].info* && -e ${f} ]] \ + && 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() { + 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 + eselect emacs update ifunset + + 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." + echo + elog "If you upgrade from a previous major version of Emacs, then it is" + elog "strongly recommended that you use app-admin/emacs-updater to rebuild" + elog "all byte-compiled elisp files of the installed Emacs packages." +} + +pkg_postrm() { + elisp-site-regen + emacs-infodir-rebuild + eselect emacs update ifunset +} diff --git a/app-editors/emacs/emacs-23.1.ebuild b/app-editors/emacs/emacs-23.1.ebuild new file mode 100644 index 0000000..a465e60 --- /dev/null +++ b/app-editors/emacs/emacs-23.1.ebuild @@ -0,0 +1,306 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.1.ebuild,v 1.12 2009/10/12 16:34:24 armin76 Exp $ + +EAPI=2 + +inherit autotools elisp-common eutils flag-o-matic + +if [ "${PV##*.}" = "9999" ]; then + ECVS_AUTH="pserver" + ECVS_SERVER="cvs.savannah.gnu.org:/sources/emacs" + ECVS_MODULE="emacs" + ECVS_BRANCH="HEAD" + ECVS_LOCALNAME="emacs" + inherit cvs + SRC_URI="" + S="${WORKDIR}/${ECVS_LOCALNAME}" +else + SRC_URI="mirror://gnu/emacs/${P}.tar.bz2" + # 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%%_*}" + S="${WORKDIR}/emacs-${FULL_VERSION}" +fi + +DESCRIPTION="The extensible, customizable, self-documenting real-time display editor" +HOMEPAGE="http://www.gnu.org/software/emacs/" + +LICENSE="GPL-3 FDL-1.3 BSD as-is X11 W3C unicode" +SLOT="23" +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" +IUSE="alsa dbus gif gpm gtk gzip-el hesiod jpeg kerberos m17n-lib motif png sound source svg tiff toolkit-scroll-bars X Xaw3d xft +xpm" +RESTRICT="strip" + +RDEPEND="!=app-editors/emacs-cvs-23.0* + !=app-editors/emacs-cvs-23.1.9999 + sys-libs/ncurses + >=app-admin/eselect-emacs-1.2 + net-libs/liblockfile + hesiod? ( net-dns/hesiod ) + kerberos? ( virtual/krb5 ) + alsa? ( media-libs/alsa-lib ) + gpm? ( sys-libs/gpm ) + dbus? ( sys-apps/dbus ) + X? ( + x11-libs/libXmu + x11-libs/libXt + x11-misc/xbitmaps + gif? ( media-libs/giflib ) + jpeg? ( media-libs/jpeg ) + png? ( media-libs/libpng ) + svg? ( >=gnome-base/librsvg-2.0 ) + tiff? ( media-libs/tiff ) + xpm? ( x11-libs/libXpm ) + xft? ( + media-libs/fontconfig + media-libs/freetype + x11-libs/libXft + m17n-lib? ( + >=dev-libs/libotf-0.9.4 + >=dev-libs/m17n-lib-1.5.1 + ) + ) + gtk? ( x11-libs/gtk+:2 ) + !gtk? ( + Xaw3d? ( x11-libs/Xaw3d ) + !Xaw3d? ( motif? ( x11-libs/openmotif ) ) + ) + )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + gzip-el? ( app-arch/gzip )" + +RDEPEND="${RDEPEND} + >=app-emacs/emacs-common-gentoo-1[X?]" + +EMACS_SUFFIX="emacs-${SLOT}" +SITEFILE="20${PN}-${SLOT}-gentoo.el" + +src_prepare() { + if [ "${PV##*.}" = "9999" ]; then + FULL_VERSION=$(grep 'defconst[ ]*emacs-version' lisp/version.el \ + | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/') + [ "${FULL_VERSION}" ] || die "Cannot determine current Emacs version" + echo + einfo "Emacs CVS branch: ${ECVS_BRANCH}" + einfo "Emacs version number: ${FULL_VERSION}" + [ "${FULL_VERSION%.*}" = ${PV%.*} ] \ + || die "Upstream version number changed to ${FULL_VERSION}" + echo + fi + + epatch "${FILESDIR}/emacs-23.0.94-handle-xz-suffix.patch" + epatch "${FILESDIR}/${P}-gtk-menu.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_configure() { + ALLOWED_FLAGS="" + strip-flags + #unset LDFLAGS + if use sh; then + replace-flags -O[1-9] -O0 #262359 + else + replace-flags -O[3-9] -O2 + fi + + 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 gif) $(use_with jpeg)" + myconf="${myconf} $(use_with png) $(use_with svg rsvg)" + myconf="${myconf} $(use_with tiff) $(use_with xpm)" + myconf="${myconf} $(use_with xft)" + + if use xft; then + myconf="${myconf} $(use_with m17n-lib libotf)" + myconf="${myconf} $(use_with m17n-lib m17n-flt)" + else + myconf="${myconf} --without-libotf --without-m17n-flt" + use m17n-lib && ewarn \ + "USE flag \"m17n-lib\" has no effect because xft is not set." + fi + + # 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/Lucid) 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 + einfo "Configuring to build with no toolkit" + myconf="${myconf} --with-x-toolkit=no" + 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)" + myconf="${myconf} $(use_with gpm) $(use_with dbus)" + + econf \ + --program-suffix=-${EMACS_SUFFIX} \ + --infodir=/usr/share/info/${EMACS_SUFFIX} \ + ${myconf} || die "econf emacs failed" +} + +src_compile() { + export SANDBOX_ON=0 # for the unbelievers, see Bug #131505 + if [ "${PV##*.}" = "9999" ]; then + emake CC="$(tc-getCC)" bootstrap || die "make bootstrap failed" + # cleanup, otherwise emacs will be dumped again in src_install + (cd src; emake versionclean) + fi + 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_SUFFIX} \ + || die "removing duplicate emacs executable failed" + mv "${D}"/usr/bin/emacs-${EMACS_SUFFIX} "${D}"/usr/bin/${EMACS_SUFFIX} \ + || die "moving Emacs executable failed" + + # move info documentation to the correct place + for i in "${D}"/usr/share/info/${EMACS_SUFFIX}/*; do + mv "${i}" "${i}.info" || die "mv info failed" + done + + # move man pages to the correct place + for m in "${D}"/usr/share/man/man1/* ; do + mv "${m}" "${m%.1}-${EMACS_SUFFIX}.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 -rf "${D}"/usr/share/{applications,icons} + rm "${D}"/var/lib/games/emacs/{snake,tetris}-scores + keepdir /var/lib/games/emacs + + local c=";;" + 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] + c="" + fi + + sed 's/^X//' >"${SITEFILE}" <<-EOF + X + ;;; ${PN}-${SLOT} site-lisp configuration + X + (when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version) + X ${c}(setq find-function-C-source-directory + X ${c} "/usr/share/emacs/${FULL_VERSION}/src") + X (let ((path (getenv "INFOPATH")) + X (dir "/usr/share/info/${EMACS_SUFFIX}") + X (re "\\\\\`/usr/share/info\\\\>")) + X (and path + X ;; move Emacs Info dir before anything else in /usr/share/info + X (let* ((p (cons nil (split-string path ":" t))) (q p)) + X (while (and (cdr q) (not (string-match re (cadr q)))) + X (setq q (cdr q))) + X (setcdr q (cons dir (delete dir (cdr q)))) + X (setq Info-directory-list (prune-directory-list (cdr p))))))) + EOF + elisp-site-file-install "${SITEFILE}" || die + + dodoc README BUGS || 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_SUFFIX} f + [ -d "${ROOT}"${infodir} ] || return # may occur with FEATURES=noinfo + einfo "Regenerating Info directory index in ${infodir} ..." + rm -f "${ROOT}"${infodir}/dir{,.*} + for f in "${ROOT}"${infodir}/*.info*; do + [[ ${f##*/} != *[0-9].info* && -e ${f} ]] \ + && 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() { + 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 + eselect emacs update ifunset + + 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." + echo + elog "If you upgrade from a previous major version of Emacs, then it is" + elog "strongly recommended that you use app-admin/emacs-updater to rebuild" + elog "all byte-compiled elisp files of the installed Emacs packages." +} + +pkg_postrm() { + elisp-site-regen + emacs-infodir-rebuild + eselect emacs update ifunset +} diff --git a/app-editors/emacs/files/emacs-23.0.94-handle-xz-suffix.patch b/app-editors/emacs/files/emacs-23.0.94-handle-xz-suffix.patch new file mode 100644 index 0000000..9345cea --- /dev/null +++ b/app-editors/emacs/files/emacs-23.0.94-handle-xz-suffix.patch @@ -0,0 +1,16 @@ +Automatically handle .xz suffix (XZ-compressed files) +From Jim Meyering <meyering@redhat.com> on emacs-devel + +--- a/lisp/jka-cmpr-hook.el ++++ b/lisp/jka-cmpr-hook.el +@@ -219,6 +219,10 @@ options through Custom does this automatically." + "compressing" "gzip" ("-c" "-q") + "uncompressing" "gzip" ("-c" "-q" "-d") + t t "\037\213"] ++ ["\\.xz\\(~\\|\\.~[0-9]+~\\)?\\'" ++ "XZ compressing" "xz" ("-c" "-q") ++ "XZ uncompressing" "xz" ("-c" "-q" "-d") ++ t t "\3757zXZ\0"] + ;; dzip is gzip with random access. Its compression program can't + ;; read/write stdin/out, so .dz files can only be viewed without + ;; saving, having their contents decompressed with gzip. diff --git a/app-editors/emacs/files/emacs-23.1-backspace.patch b/app-editors/emacs/files/emacs-23.1-backspace.patch new file mode 100644 index 0000000..bc547af --- /dev/null +++ b/app-editors/emacs/files/emacs-23.1-backspace.patch @@ -0,0 +1,54 @@ +2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca> + + * simple.el (normal-erase-is-backspace-mode): Use input-decode-map + rather than fiddling with global-map bindings, since it should only + affect per-terminal settings. + See http://bugs.gentoo.org/show_bug.cgi?id=289709. + +--- emacs-23.1-orig/lisp/simple.el ++++ emacs-23.1/lisp/simple.el +@@ -6269,31 +6269,27 @@ + (let* ((bindings + `(([M-delete] [M-backspace]) + ([C-M-delete] [C-M-backspace]) +- (,esc-map +- [C-delete] [C-backspace]))) ++ ([?\e C-delete] [?\e C-backspace]))) + (old-state (lookup-key local-function-key-map [delete]))) + + (if enabled + (progn + (define-key local-function-key-map [delete] [?\C-d]) + (define-key local-function-key-map [kp-delete] [?\C-d]) +- (define-key local-function-key-map [backspace] [?\C-?])) ++ (define-key local-function-key-map [backspace] [?\C-?]) ++ (dolist (b bindings) ++ ;; Not sure if input-decode-map is really right, but ++ ;; keyboard-translate-table (used below) only works ++ ;; for integer events, and key-translation-table is ++ ;; global (like the global-map, used earlier). ++ (define-key input-decode-map (car b) nil) ++ (define-key input-decode-map (cadr b) nil))) + (define-key local-function-key-map [delete] [?\C-?]) + (define-key local-function-key-map [kp-delete] [?\C-?]) +- (define-key local-function-key-map [backspace] [?\C-?])) +- +- ;; Maybe swap bindings of C-delete and C-backspace, etc. +- (unless (equal old-state (lookup-key local-function-key-map [delete])) +- (dolist (binding bindings) +- (let ((map global-map)) +- (when (keymapp (car binding)) +- (setq map (car binding) binding (cdr binding))) +- (let* ((key1 (nth 0 binding)) +- (key2 (nth 1 binding)) +- (binding1 (lookup-key map key1)) +- (binding2 (lookup-key map key2))) +- (define-key map key1 binding2) +- (define-key map key2 binding1))))))) ++ (define-key local-function-key-map [backspace] [?\C-?]) ++ (dolist (b bindings) ++ (define-key input-decode-map (car b) (cadr b)) ++ (define-key input-decode-map (cadr b) (car b)))))) + (t + (if enabled + (progn diff --git a/app-editors/emacs/files/emacs-23.1-gtk-menu.patch b/app-editors/emacs/files/emacs-23.1-gtk-menu.patch new file mode 100644 index 0000000..e7f51dc --- /dev/null +++ b/app-editors/emacs/files/emacs-23.1-gtk-menu.patch @@ -0,0 +1,199 @@ +* Emacs should properly render dynamically generated menus. + Patch: fix-dynamic-menus.diff + Originally-reported-by: Baylis Shanks <bshanks3@hotmail.com> + Date: Sat, 10 Oct 2009 22:15:05 UTC + Added-by: Rob Browning <rlb@defaultvalue.org> + Status: incorporated upstream + Bug: 550541 + + This Debian patch is taken from this upstream commit: + + commit 3715ffe3e3b2c64d113bf26d94aab559f8559e83 + Author: Jan Djärv <jan.h.d@swipnet.se> + Date: Wed Sep 2 17:03:20 2009 +0000 + +Index: b/src/ChangeLog +=================================================================== +--- a/src/ChangeLog ++++ b/src/ChangeLog +@@ -1,3 +1,19 @@ ++2009-09-02 Jan Djärv <jan.h.d@swipnet.se> ++ ++ * xterm.h: Rename x_non_menubar_window_to_frame to ++ x_menubar_window_to_frame ++ ++ * xterm.c: Remove declarations also in xterm.h ++ (XTmouse_position): Do not return valid positions ++ for clicks in the menubar and the toolbar for Gtk+. ++ ++ * xfns.c (x_any_window_to_frame): Assume less about Gtk+ internals, ++ if the widget for the event has the same top level as a frame, ++ return the frame. ++ (x_menubar_window_to_frame): Detect menu bar even with Gtk+ ++ internal windows, bug #4122. ++ (x_non_menubar_window_to_frame): Remove. ++ + 2009-07-29 Chong Yidong <cyd@stupidchicken.com> + + * Version 23.1 released. +Index: b/src/xfns.c +=================================================================== +--- a/src/xfns.c ++++ b/src/xfns.c +@@ -374,10 +374,7 @@ + #ifdef USE_GTK + GtkWidget *gwdesc = xg_win_to_widget (dpyinfo->display, wdesc); + if (gwdesc != 0 +- && (gwdesc == x->widget +- || gwdesc == x->edit_widget +- || gwdesc == x->vbox_widget +- || gwdesc == x->menubar_widget)) ++ && gtk_widget_get_toplevel (gwdesc) == x->widget) + found = f; + #else + if (wdesc == XtWindow (x->widget) +@@ -398,54 +395,6 @@ + return found; + } + +-/* Likewise, but exclude the menu bar widget. */ +- +-struct frame * +-x_non_menubar_window_to_frame (dpyinfo, wdesc) +- struct x_display_info *dpyinfo; +- int wdesc; +-{ +- Lisp_Object tail, frame; +- struct frame *f; +- struct x_output *x; +- +- if (wdesc == None) return 0; +- +- for (tail = Vframe_list; CONSP (tail); tail = XCDR (tail)) +- { +- frame = XCAR (tail); +- if (!FRAMEP (frame)) +- continue; +- f = XFRAME (frame); +- if (!FRAME_X_P (f) || FRAME_X_DISPLAY_INFO (f) != dpyinfo) +- continue; +- x = f->output_data.x; +- /* This frame matches if the window is any of its widgets. */ +- if (x->hourglass_window == wdesc) +- return f; +- else if (x->widget) +- { +-#ifdef USE_GTK +- GtkWidget *gwdesc = xg_win_to_widget (dpyinfo->display, wdesc); +- if (gwdesc != 0 +- && (gwdesc == x->widget +- || gwdesc == x->edit_widget +- || gwdesc == x->vbox_widget)) +- return f; +-#else +- if (wdesc == XtWindow (x->widget) +- || wdesc == XtWindow (x->column_widget) +- || wdesc == XtWindow (x->edit_widget)) +- return f; +-#endif +- } +- else if (FRAME_X_WINDOW (f) == wdesc) +- /* A tooltip frame. */ +- return f; +- } +- return 0; +-} +- + /* Likewise, but consider only the menu bar widget. */ + + struct frame * +@@ -473,15 +422,14 @@ + if (x->menubar_widget) + { + GtkWidget *gwdesc = xg_win_to_widget (dpyinfo->display, wdesc); +- int found = 0; + +- BLOCK_INPUT; ++ /* This gives false positives, but the rectangle check in xterm.c ++ where this is called takes care of that. */ + if (gwdesc != 0 + && (gwdesc == x->menubar_widget +- || gtk_widget_get_parent (gwdesc) == x->menubar_widget)) +- found = 1; +- UNBLOCK_INPUT; +- if (found) return f; ++ || gtk_widget_is_ancestor (x->menubar_widget, gwdesc) ++ || gtk_widget_is_ancestor (gwdesc, x->menubar_widget))) ++ return f; + } + #else + if (x->menubar_widget +Index: b/src/xterm.c +=================================================================== +--- a/src/xterm.c ++++ b/src/xterm.c +@@ -109,8 +109,6 @@ + #if defined (USE_X_TOOLKIT) || defined (USE_GTK) + + extern void free_frame_menubar P_ ((struct frame *)); +-extern struct frame *x_menubar_window_to_frame P_ ((struct x_display_info *, +- int)); + #endif + + #ifdef USE_X_TOOLKIT +@@ -143,11 +141,6 @@ + + #endif /* USE_X_TOOLKIT */ + +-#if ! defined (USE_X_TOOLKIT) && ! defined (USE_GTK) +-#define x_any_window_to_frame x_window_to_frame +-#define x_top_window_to_frame x_window_to_frame +-#endif +- + #ifdef USE_X_TOOLKIT + #include "widget.h" + #ifndef XtNinitialState +@@ -3915,7 +3908,14 @@ + + if (child == None || child == win) + break; +- ++#ifdef USE_GTK ++ /* We don't wan't to know the innermost window. We ++ want the edit window. For non-Gtk+ the innermost ++ window is the edit window. For Gtk+ it might not ++ be. It might be the tool bar for example. */ ++ if (x_window_to_frame (FRAME_X_DISPLAY_INFO (*fp), win)) ++ break; ++#endif + win = child; + parent_x = win_x; + parent_y = win_y; +@@ -3932,8 +3932,14 @@ + parent_{x,y} are invalid, but that's okay, because we'll + never use them in that case.) */ + ++#ifdef USE_GTK ++ /* We don't wan't to know the innermost window. We ++ want the edit window. */ ++ f1 = x_window_to_frame (FRAME_X_DISPLAY_INFO (*fp), win); ++#else + /* Is win one of our frames? */ + f1 = x_any_window_to_frame (FRAME_X_DISPLAY_INFO (*fp), win); ++#endif + + #ifdef USE_X_TOOLKIT + /* If we end up with the menu bar window, say it's not +Index: b/src/xterm.h +=================================================================== +--- a/src/xterm.h ++++ b/src/xterm.h +@@ -374,7 +374,7 @@ + + #if defined (USE_X_TOOLKIT) || defined (USE_GTK) + extern struct frame *x_any_window_to_frame P_ ((struct x_display_info *, int)); +-extern struct frame *x_non_menubar_window_to_frame P_ ((struct x_display_info *, int)); ++extern struct frame *x_menubar_window_to_frame P_ ((struct x_display_info *, int)); + extern struct frame *x_top_window_to_frame P_ ((struct x_display_info *, int)); + #endif + diff --git a/app-editors/emacs/metadata.xml b/app-editors/emacs/metadata.xml new file mode 100644 index 0000000..74e0827 --- /dev/null +++ b/app-editors/emacs/metadata.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>emacs</herd> +<longdescription> + 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. +</longdescription> +<use> + <flag name='gzip-el'>Compress bundled Emacs Lisp source</flag> + <flag name='hesiod'>Enable support for <pkg>net-dns/hesiod</pkg></flag> + <flag name='leim'>Add support for Emacs input methods</flag> + <flag name='sendmail'>Build Emacs with MTA support</flag> + <flag name='sound'>Enable sound</flag> + <flag name='toolkit-scroll-bars'>Use the selected toolkit's scrollbars in + preference to Emacs' own scrollbars</flag> +</use> +</pkgmetadata> |