summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2005-02-08 10:49:55 +0000
committerMamoru Komachi <usata@gentoo.org>2005-02-08 10:49:55 +0000
commite610927cf52b5d0644fb1470af72f034412ae725 (patch)
treeb48519ee2c69b7ff3806e7fb880d7fd685877714 /app-editors/emacs
parentInitial import. (diff)
downloadhistorical-e610927cf52b5d0644fb1470af72f034412ae725.tar.gz
historical-e610927cf52b5d0644fb1470af72f034412ae725.tar.bz2
historical-e610927cf52b5d0644fb1470af72f034412ae725.zip
Version bumped. This fixes CAN-2005-0100. (bug #79686)
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'app-editors/emacs')
-rw-r--r--app-editors/emacs/ChangeLog9
-rw-r--r--app-editors/emacs/Manifest30
-rw-r--r--app-editors/emacs/emacs-21.4.ebuild161
-rw-r--r--app-editors/emacs/files/digest-emacs-21.42
4 files changed, 186 insertions, 16 deletions
diff --git a/app-editors/emacs/ChangeLog b/app-editors/emacs/ChangeLog
index ca5b668fa1cc..92701bc52cdb 100644
--- a/app-editors/emacs/ChangeLog
+++ b/app-editors/emacs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-editors/emacs
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.49 2005/01/01 13:24:23 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.50 2005/02/08 10:49:55 usata Exp $
+
+*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
@@ -30,7 +35,7 @@
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:
+ 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:
diff --git a/app-editors/emacs/Manifest b/app-editors/emacs/Manifest
index d2ff65618288..604f62999b8f 100644
--- a/app-editors/emacs/Manifest
+++ b/app-editors/emacs/Manifest
@@ -1,23 +1,25 @@
-MD5 9f2f03db6387bc00df8d990ad7bd248d ChangeLog 7687
-MD5 767c6035b2be8309041a7c2e81bfd7a0 emacs-18.59.ebuild 2007
-MD5 0ff66bc9468f2ac20294894769b3202b emacs-21.3.50_pre20041027.ebuild 5240
+MD5 1c61f3f78cd74d05bd47a842ca6a04ed emacs-21.4.ebuild 4084
MD5 0a7a86b12e580fd854e57a7744859af1 emacs-21.3-r2.ebuild 2195
-MD5 889ab987863a4683ee3384ca90863328 emacs-21.3-r3.ebuild 2608
+MD5 8e59174a0c0b7f715f344f7d23205bca ChangeLog 7835
MD5 fcd33d07e4ee719b01157946734f4fe8 metadata.xml 158
-MD5 aaeeca3265e9e0eaaf67160d7600a2c4 emacs-21.3-r4.ebuild 3688
+MD5 767c6035b2be8309041a7c2e81bfd7a0 emacs-18.59.ebuild 2007
+MD5 889ab987863a4683ee3384ca90863328 emacs-21.3-r3.ebuild 2608
MD5 f2a41058885dba9b4611b3667f2b42f5 emacs-21.3-r5.ebuild 4004
-MD5 0d7a5eba9d25e527c53da9a73c3bb767 files/digest-emacs-18.59 216
-MD5 6aafc439ab1c05f97db2bfefc707bdcc files/emacs-21.desktop 196
-MD5 277b238c9263aabcc2ef92de1d6d68bb files/emacs-nofink-gentoo.diff 1520
+MD5 aaeeca3265e9e0eaaf67160d7600a2c4 emacs-21.3-r4.ebuild 3688
+MD5 0ff66bc9468f2ac20294894769b3202b emacs-21.3.50_pre20041027.ebuild 5240
+MD5 0e5a4a35651f5365c6191636a2c26eb7 files/emacs.desktop 190
+MD5 4163870348c1c0d4dc485dff749fe5cb files/digest-emacs-21.3-r5 126
MD5 4163870348c1c0d4dc485dff749fe5cb files/digest-emacs-21.3-r4 126
MD5 4163870348c1c0d4dc485dff749fe5cb files/digest-emacs-21.3-r2 126
+MD5 ef8adf470d7d95802802b3860ef8d9a9 files/emacs-21.3-xorg.patch 394
+MD5 bb29381a50b72e88d869fb09a2c0a34e files/emacs-21.3-amd64.patch 7938
+MD5 3763ec7eaed9e5bb4da2f3f7c3795594 files/emacs-21.3-hppa.patch 2493
+MD5 0d7a5eba9d25e527c53da9a73c3bb767 files/digest-emacs-18.59 216
MD5 4163870348c1c0d4dc485dff749fe5cb files/digest-emacs-21.3-r3 126
-MD5 2f000567bd6037e79de677b0edd814ab files/60emacs-21.envd 34
MD5 5f423550e3d32b7c0511eccd93a94750 files/emacs-subdirs-el-gentoo.diff 1369
+MD5 56a239d1965c2bac249e787b1ef6a1f5 files/digest-emacs-21.4 126
MD5 6ad048aba58fdae6c516ed18ad728d95 files/digest-emacs-21.3.50_pre20041027 242
-MD5 4163870348c1c0d4dc485dff749fe5cb files/digest-emacs-21.3-r5 126
-MD5 bb29381a50b72e88d869fb09a2c0a34e files/emacs-21.3-amd64.patch 7938
-MD5 3763ec7eaed9e5bb4da2f3f7c3795594 files/emacs-21.3-hppa.patch 2493
-MD5 0e5a4a35651f5365c6191636a2c26eb7 files/emacs.desktop 190
MD5 2aaf4fc4c9513f13c4edb24327247f83 files/emacs-21.3-ppc64.patch 1622
-MD5 ef8adf470d7d95802802b3860ef8d9a9 files/emacs-21.3-xorg.patch 394
+MD5 2f000567bd6037e79de677b0edd814ab files/60emacs-21.envd 34
+MD5 6aafc439ab1c05f97db2bfefc707bdcc files/emacs-21.desktop 196
+MD5 277b238c9263aabcc2ef92de1d6d68bb files/emacs-nofink-gentoo.diff 1520
diff --git a/app-editors/emacs/emacs-21.4.ebuild b/app-editors/emacs/emacs-21.4.ebuild
new file mode 100644
index 000000000000..6091648432c5
--- /dev/null
+++ b/app-editors/emacs/emacs-21.4.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-21.4.ebuild,v 1.1 2005/02/08 10:49:55 usata Exp $
+
+inherit flag-o-matic eutils alternatives toolchain-funcs
+
+DESCRIPTION="An incredibly powerful, extensible text editor"
+HOMEPAGE="http://www.gnu.org/software/emacs"
+SRC_URI="mirror://gnu/emacs/${P}.tar.gz
+ leim? ( mirror://gnu/emacs/leim-21.3.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="21"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~arm ~hppa ~amd64 -ia64 ~s390 ~ppc64"
+IUSE="X Xaw3d gnome leim lesstif motif nls nosendmail"
+
+RDEPEND="sys-libs/ncurses
+ sys-libs/gdbm
+ X? ( virtual/x11
+ >=media-libs/libungif-4.1.0.1b
+ >=media-libs/jpeg-6b-r2
+ >=media-libs/tiff-3.5.5-r3
+ >=media-libs/libpng-1.2.1
+ !arm? (
+ Xaw3d? ( x11-libs/Xaw3d )
+ motif? (
+ lesstif? ( x11-libs/lesstif )
+ !lesstif? ( >=x11-libs/openmotif-2.1.30 ) )
+ gnome? ( gnome-base/gnome-desktop )
+ )
+ )
+ nls? ( sys-devel/gettext )
+ !nosendmail? ( virtual/mta )"
+DEPEND="${RDEPEND}
+ >=sys-devel/autoconf-2.58"
+
+PROVIDE="virtual/emacs virtual/editor"
+SANDBOX_DISABLED="1"
+
+DFILE=emacs-${SLOT}.desktop
+
+src_unpack() {
+ # Emacs 21.4 uses leim from 21.3
+ ln -s emacs-21.4 emacs-21.3
+
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/emacs-21.3-xorg.patch
+ epatch ${FILESDIR}/emacs-21.3-amd64.patch
+ epatch ${FILESDIR}/emacs-21.3-hppa.patch
+ use ppc64 && epatch ${FILESDIR}/emacs-21.3-ppc64.patch
+
+ epatch ${FILESDIR}/emacs-subdirs-el-gentoo.diff
+
+ # 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
+}
+
+src_compile() {
+
+ # -fstack-protector gets internal compiler error at xterm.c (bug 33265)
+ filter-flags -fstack-protector
+
+ # gcc 3.4 with -O3 or stronger flag spoils emacs
+ if [ "$(gcc-major-version)" -ge 3 -a "$(gcc-minor-version)" -ge 4 ] ; then
+ replace-flags -O[3-9] -O2
+ fi
+
+ export WANT_AUTOCONF=2.1
+ autoconf
+
+ local myconf
+ use nls || myconf="${myconf} --disable-nls"
+ if use X ; then
+ if use motif && use lesstif; then
+ append-ldflags -L/usr/X11R6/lib/lesstif -R/usr/X11R6/lib/lesstif
+ export CPPFLAGS="${CPPFLAGS} -I/usr/X11R6/include/lesstif"
+ fi
+ myconf="${myconf}
+ --with-x
+ --with-xpm
+ --with-jpeg
+ --with-tiff
+ --with-gif
+ --with-png"
+ if use Xaw3d ; then
+ myconf="${myconf} --with-x-toolkit=athena"
+ elif use motif ; then
+ myconf="${myconf} --with-x-toolkit=motif"
+ else
+ # do not build emacs with any toolkit, bug 35300
+ myconf="${myconf} --with-x-toolkit=no"
+ fi
+ else
+ myconf="${myconf} --without-x"
+ fi
+ econf ${myconf} || die
+ emake || die
+}
+
+src_install() {
+ einstall || die
+ for i in ${D}/usr/bin/* ; do
+ mv ${i} ${i}.emacs-${SLOT} || die "mv ${i} failed"
+ done
+ mv ${D}/usr/bin/emacs{-${PV},}.emacs-${SLOT} || die "mv emacs failed"
+
+ 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
+ gzip -9 ${T}/emacs-${SLOT}/${i##*/}.info
+ done
+ mv ${T}/emacs-${SLOT} ${D}/usr/share/info
+ mv ${T}/dir ${D}/usr/share/info/emacs-${SLOT}
+
+ newenvd ${FILESDIR}/60emacs-${SLOT}.envd 60emacs-${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
+
+ einfo "Fixing permissions..."
+ find ${D} -perm 664 |xargs chmod 644
+ find ${D} -type d |xargs chmod 755
+
+ keepdir /usr/share/emacs/${PV}/leim
+
+ dodoc BUGS ChangeLog README
+
+ if use gnome ; then
+ insinto /usr/share/gnome/apps/Application
+ doins ${FILESDIR}/${DFILE}
+ fi
+}
+
+update-alternatives() {
+ for i in emacs emacsclient etags ctags b2m ebrowse \
+ rcs-checkin grep-changelog ; do
+ alternatives_auto_makesym "/usr/bin/$i" "/usr/bin/${i}.emacs-*"
+ done
+}
+
+pkg_postinst() {
+ update-alternatives
+ if use nosendmail ; then
+ ewarn
+ ewarn "You disabled sendmail support for Emacs. If you will install any MTA"
+ ewarn "you need to recompile Emacs after that. See bug #11104."
+ ewarn
+ fi
+}
+
+pkg_postrm() {
+ update-alternatives
+}
diff --git a/app-editors/emacs/files/digest-emacs-21.4 b/app-editors/emacs/files/digest-emacs-21.4
new file mode 100644
index 000000000000..57a8aeb49fa3
--- /dev/null
+++ b/app-editors/emacs/files/digest-emacs-21.4
@@ -0,0 +1,2 @@
+MD5 0a68ea5b29bb2f081ba8dd85d37bb9bc emacs-21.4.tar.gz 20516657
+MD5 1c968c37e22be0f0d8f8cd57cebe5a5e leim-21.3.tar.gz 3291224