summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2002-09-16 02:45:31 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2002-09-16 02:45:31 +0000
commit00c7be5bb90da6654bca139e0cc5d7f18524a26d (patch)
treeb787aa09abd8902e616e99ce594e4d0cd62316fb /app-editors/emacs
parentbuhbye! not needed... (diff)
downloadgentoo-2-00c7be5bb90da6654bca139e0cc5d7f18524a26d.tar.gz
gentoo-2-00c7be5bb90da6654bca139e0cc5d7f18524a26d.tar.bz2
gentoo-2-00c7be5bb90da6654bca139e0cc5d7f18524a26d.zip
fix emacs for leim support (input methods)
Diffstat (limited to 'app-editors/emacs')
-rw-r--r--app-editors/emacs/ChangeLog11
-rw-r--r--app-editors/emacs/emacs-21.2-r2.ebuild86
-rw-r--r--app-editors/emacs/files/digest-emacs-21.2-r22
3 files changed, 98 insertions, 1 deletions
diff --git a/app-editors/emacs/ChangeLog b/app-editors/emacs/ChangeLog
index 7950e6417d12..c49bd1194c0b 100644
--- a/app-editors/emacs/ChangeLog
+++ b/app-editors/emacs/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for app-editors/emacs
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.7 2002/08/08 03:21:05 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.8 2002/09/16 02:45:31 mkennedy Exp $
+
+*emacs-21.2-r2 (14 Sep 2002)
+
+ 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)
diff --git a/app-editors/emacs/emacs-21.2-r2.ebuild b/app-editors/emacs/emacs-21.2-r2.ebuild
new file mode 100644
index 000000000000..1b70e2f3ff52
--- /dev/null
+++ b/app-editors/emacs/emacs-21.2-r2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-21.2-r2.ebuild,v 1.1 2002/09/16 02:45:31 mkennedy Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="An incredibly powerful, extensible text editor"
+SRC_URI="ftp://ftp.codefactory.se/pub/gnu/${PN}/${P}.tar.gz
+ leim? ( ftp://ftp.codefactory.se/pub/gnu/emacs/leim-${PV}.tar.gz )"
+HOMEPAGE="http://www.gnu.org/software/emacs"
+
+# Never use the sandbox, it causes Emacs to segfault on startup
+SANDBOX_DISABLED="1"
+
+DEPEND=">=sys-libs/ncurses-5.2
+ sys-libs/gdbm
+ X? ( virtual/x11
+ >=media-libs/libungif-4.1.0
+ >=media-libs/jpeg-6b-r2
+ >=media-libs/tiff-3.5.5-r3
+ >=media-libs/libpng-1.2.1 )
+ motif? ( >=x11-libs/openmotif-2.1.30 )
+ nls? ( >=sys-devel/gettext-0.10.35 )"
+RDEPEND=""
+
+PROVIDE="virtual/emacs"
+
+SLOT="0"
+LICENSE="GPL"
+KEYWORDS="x86 ppc sparc sparc64"
+
+src_compile() {
+ local myconf
+
+ use nls \
+ || myconf="${myconf} --disable-nls"
+
+ use X \
+ && myconf="${myconf} \
+ --with-x \
+ --with-xpm \
+ --with-jpeg \
+ --with-tiff \
+ --with-gif \
+ --with-png" \
+ || myconf="${myconf} --without-x"
+
+ use motif \
+ && myconf="${myconf} --with-x-toolkit=motif"
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ ${myconf} || die
+
+ emake || die
+}
+
+src_install () {
+ make \
+ prefix=${D}/usr \
+ libexecdir=${D}/usr/lib \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ install || die
+
+ pushd ${D}/usr/share/info
+ rm dir
+ for i in *
+ do
+ mv ${i%.info} $i.info
+ done
+ popd
+
+ einfo "Fixing permissions"
+ find ${D} -perm 666 |xargs chmod 644
+ find ${D} -perm 777 |xargs chmod 755
+
+ dodoc BUGS ChangeLog README
+
+ # Gives a warning if it doesn't exist
+ dodir /usr/share/emacs/21.2/leim
+ touch ${D}/usr/share/emacs/21.2/leim/.keep
+}
diff --git a/app-editors/emacs/files/digest-emacs-21.2-r2 b/app-editors/emacs/files/digest-emacs-21.2-r2
new file mode 100644
index 000000000000..0f5a9424089e
--- /dev/null
+++ b/app-editors/emacs/files/digest-emacs-21.2-r2
@@ -0,0 +1,2 @@
+MD5 f4b58e5c2d923fc92495e0c2f167c5db emacs-21.2.tar.gz 20288222
+MD5 e6d614671b5d7d7670d18799c6668a46 leim-21.2.tar.gz 3291283