summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2003-04-01 07:47:32 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2003-04-01 07:47:32 +0000
commite886bfd9009945cbf8b5c9fc6cbe1c8db73b1a44 (patch)
tree711dac80edf0c6323f8f0e5a3a6661ef48141d39 /app-editors
parentminor version bump to resolve bug 18419 (diff)
downloadhistorical-e886bfd9009945cbf8b5c9fc6cbe1c8db73b1a44.tar.gz
historical-e886bfd9009945cbf8b5c9fc6cbe1c8db73b1a44.tar.bz2
historical-e886bfd9009945cbf8b5c9fc6cbe1c8db73b1a44.zip
resolves bug 18419 -- adds gif support
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/emacs/ChangeLog7
-rw-r--r--app-editors/emacs/emacs-21.3-r1.ebuild82
-rw-r--r--app-editors/emacs/files/digest-emacs-21.3-r11
3 files changed, 89 insertions, 1 deletions
diff --git a/app-editors/emacs/ChangeLog b/app-editors/emacs/ChangeLog
index 11956209bfc6..ea0006ba548f 100644
--- a/app-editors/emacs/ChangeLog
+++ b/app-editors/emacs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-editors/emacs
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.12 2003/02/12 03:46:18 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.13 2003/04/01 07:47:31 mkennedy Exp $
+
+*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.2-r2 (14 Sep 2002)
diff --git a/app-editors/emacs/emacs-21.3-r1.ebuild b/app-editors/emacs/emacs-21.3-r1.ebuild
new file mode 100644
index 000000000000..2c02ec5873b3
--- /dev/null
+++ b/app-editors/emacs/emacs-21.3-r1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-21.3-r1.ebuild,v 1.1 2003/04/01 07:47:32 mkennedy Exp $
+
+IUSE="X nls motif leim gnome Xaw3d"
+
+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"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc sparc ~alpha"
+
+DEPEND="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 )
+ Xaw3d? ( x11-libs/Xaw3d )
+ motif? ( >=x11-libs/openmotif-2.1.30 )
+ nls? ( sys-devel/gettext )
+ gnome? ( gnome-base/gnome-desktop )"
+
+PROVIDE="virtual/emacs virtual/editor"
+SANDBOX_DISABLED="1"
+
+DFILE=emacs.desktop
+
+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"
+ use Xaw3d && myconf="${myconf} --with-x-toolkit=athena"
+ ./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
+ einfo "Fixing info documentation..."
+ rm -f ${D}/usr/share/info/dir
+ for i in ${D}/usr/share/info/*
+ do
+ mv ${i%.info} $i.info
+ done
+
+ einfo "Fixing permissions..."
+ find ${D} -perm 664 |xargs chmod 644
+ find ${D} -type d |xargs chmod 755
+
+ dodoc BUGS ChangeLog README
+
+ dodir /usr/share/emacs/${PV}/leim
+ touch ${D}/usr/share/emacs/${PV}/leim/.keep
+
+ if use gnome
+ then
+ insinto /usr/share/gnome/apps/Application
+ doins ${FILESDIR}/${DFILE}
+ fi
+}
diff --git a/app-editors/emacs/files/digest-emacs-21.3-r1 b/app-editors/emacs/files/digest-emacs-21.3-r1
new file mode 100644
index 000000000000..5a2a46207cb4
--- /dev/null
+++ b/app-editors/emacs/files/digest-emacs-21.3-r1
@@ -0,0 +1 @@
+MD5 a0bab457cbf5b4f8eb99d1d0a3ada420 emacs-21.3.tar.gz 20399831