diff options
author | Tod Neidt <tod@gentoo.org> | 2002-03-28 09:48:03 +0000 |
---|---|---|
committer | Tod Neidt <tod@gentoo.org> | 2002-03-28 09:48:03 +0000 |
commit | fbd33e3f405d39094db190876c69de06a354db3e (patch) | |
tree | f62e0d71f084eaec07a4c1fcfdec51fe630808f8 /app-editors | |
parent | changed SRC_URI to http instead of ftp (diff) | |
download | gentoo-2-fbd33e3f405d39094db190876c69de06a354db3e.tar.gz gentoo-2-fbd33e3f405d39094db190876c69de06a354db3e.tar.bz2 gentoo-2-fbd33e3f405d39094db190876c69de06a354db3e.zip |
Added PROVIDE="virtual/emacs" to lastest two xemacs versions. Somewhat related to Bug# 1346.
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/xemacs/ChangeLog | 14 | ||||
-rw-r--r-- | app-editors/xemacs/files/digest-xemacs-21.4.5-r1 | 3 | ||||
-rw-r--r-- | app-editors/xemacs/files/digest-xemacs-21.4.6-r1 | 3 | ||||
-rw-r--r-- | app-editors/xemacs/xemacs-21.4.5-r1.ebuild | 96 | ||||
-rw-r--r-- | app-editors/xemacs/xemacs-21.4.6-r1.ebuild | 99 |
5 files changed, 214 insertions, 1 deletions
diff --git a/app-editors/xemacs/ChangeLog b/app-editors/xemacs/ChangeLog index db47f0186a6d..d7cfdc75a1c3 100644 --- a/app-editors/xemacs/ChangeLog +++ b/app-editors/xemacs/ChangeLog @@ -1,7 +1,19 @@ # ChangeLog for app-editors/xemacs # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/ChangeLog,v 1.2 2002/02/15 05:52:33 agenkin Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/ChangeLog,v 1.3 2002/03/28 09:48:02 tod Exp $ +*xemacs-21.4.6-r1; (28 Mar 2002) + + 28 Mar 2002; Tod Neidt <tod@thpoon.com> xemacs-21.4.6-r1.ebuild : + + Added PROVIDE="virtual/emacs". + +*xemacs-21.4.5-r1; (28 Mar 2002) + + 28 Mar 2002; Tod Neidt <tod@thpoon.com> xemacs-21.4.5-r1.ebuild : + + Added PROVIDE="virtual/emacs". + *xemacs-21.4.6; (14 Feb 2002) 14 Feb 2002; Arcady Genkin <agenkin@thpoon.com> xemacs-21.4.6.ebuild : diff --git a/app-editors/xemacs/files/digest-xemacs-21.4.5-r1 b/app-editors/xemacs/files/digest-xemacs-21.4.5-r1 new file mode 100644 index 000000000000..8572ee317921 --- /dev/null +++ b/app-editors/xemacs/files/digest-xemacs-21.4.5-r1 @@ -0,0 +1,3 @@ +MD5 4f6c5eff6f529d1a25b5cfe6f5111c6f xemacs-21.4.5.tar.gz 10381389 +MD5 cecc2e953d90dd3fc3938d26fce4f0f7 efs-1.26-pkg.tar.gz 369938 +MD5 611942669d8bda6b562bde3c6b2e92ab xemacs-base-1.55-pkg.tar.gz 452673 diff --git a/app-editors/xemacs/files/digest-xemacs-21.4.6-r1 b/app-editors/xemacs/files/digest-xemacs-21.4.6-r1 new file mode 100644 index 000000000000..59f9f28f98be --- /dev/null +++ b/app-editors/xemacs/files/digest-xemacs-21.4.6-r1 @@ -0,0 +1,3 @@ +MD5 e27bf0aa5c332d8ee130633df7c2ca3e xemacs-21.4.6.tar.gz 10460867 +MD5 8ffd5903390fc49fd78c4e4517c0f111 efs-1.27-pkg.tar.gz 370061 +MD5 a4d511159174e4da1b20456a9c20eab5 xemacs-base-1.58-pkg.tar.gz 457041 diff --git a/app-editors/xemacs/xemacs-21.4.5-r1.ebuild b/app-editors/xemacs/xemacs-21.4.5-r1.ebuild new file mode 100644 index 000000000000..a9dd3c218278 --- /dev/null +++ b/app-editors/xemacs/xemacs-21.4.5-r1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author: Geert Bevin <gbevin@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.4.5-r1.ebuild,v 1.1 2002/03/28 09:48:02 tod Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="The ultimate emacs, IMO. This is a non-FSF but still free for use version of the biggest text editor ever created." +EFS=1.26 +BASE=1.55 +DEPEND="sys-libs/ncurses + nas? ( media-libs/nas ) + esd? ( media-sound/esound ) + >=sys-libs/db-3 + motif? ( >=x11-libs/openmotif-2.1.30 ) + X? ( virtual/x11 media-libs/libpng media-libs/tiff media-libs/jpeg )" +SRC_URI="ftp://ftp.xemacs.org/xemacs/xemacs-21.4/${P}.tar.gz + ftp://ftp.xemacs.org/xemacs/packages/efs-${EFS}-pkg.tar.gz + ftp://ftp.xemacs.org/xemacs/packages/xemacs-base-${BASE}-pkg.tar.gz" +HOMEPAGE="http://www.xemacs.org" + +PROVIDE="virtual/emacs" + +src_unpack() { + cd ${WORKDIR} + unpack ${P}.tar.gz +} + +src_compile() { + local myopts + local soundopts + + if [ "`use X`" ] + then + myopts="--with-x --with-jpeg --with-png --with-tiff --with-menubars=lucid --with-scrollbars=lucid" + if [ "`use motif`" ] + then + myopts="$myopts --with-dialogs=motif --with-widgets=motif" + else + myopts="$myopts --with-dialogs=lucid --with-widgets=lucid" + fi + else + myopts="--without-x" + fi + + if [ "`use gpm`" ] + then + myopts="$myopts --with-gpm" + else + myopts="$myopts --without-gpm" + fi + + soundopts="native" + if [ "`use nas`" ] + then + soundopts="$soundopts,nas" + fi + if [ "`use esd`" ] + then + soundopts="$soundopts,esd" + fi + myopts="$myopts --with-sound=$soundopts" + + ./configure $myopts \ + --with-database=gnudbm \ + --prefix=/usr \ + --with-ncurses \ + --with-pop \ + --without-dragndrop \ + --with-xpm \ + --without-xface \ + --with-gif=no \ + --with-site-lisp=yes \ + --package-path=/usr/lib/xemacs/xemacs-packages/ \ + || die + emake || die +} + +src_install() { + make prefix=${D}/usr \ + mandir=${D}/usr/share/man/man1 \ + infodir=${D}/usr/share/info \ + install || die + + # Install the two packages + dodir /usr/lib/xemacs/xemacs-packages/ + cd ${D}/usr/lib/xemacs/xemacs-packages/ + unpack efs-${EFS}-pkg.tar.gz + unpack xemacs-base-${BASE}-pkg.tar.gz + + #remove extraneous files + cd ${D}/usr/share/info + rm -f dir info.info texinfo* termcap* + cd ${S} + dodoc BUGS CHANGES-beta COPYING GETTING* INSTALL ISSUES PROBLEMS README* +} + diff --git a/app-editors/xemacs/xemacs-21.4.6-r1.ebuild b/app-editors/xemacs/xemacs-21.4.6-r1.ebuild new file mode 100644 index 000000000000..1c2abca0b24f --- /dev/null +++ b/app-editors/xemacs/xemacs-21.4.6-r1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author: Geert Bevin <gbevin@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.4.6-r1.ebuild,v 1.1 2002/03/28 09:48:03 tod Exp $ + +S="${WORKDIR}/${P}" +DESCRIPTION="The ultimate emacs, IMO. This is a non-FSF but still free for use version of the biggest text editor ever created." +EFS=1.27 +BASE=1.58 +DEPEND="sys-libs/ncurses + nas? ( media-libs/nas ) + esd? ( media-sound/esound ) + >=sys-libs/db-3 + motif? ( >=x11-libs/openmotif-2.1.30 ) + X? ( virtual/x11 + media-libs/libpng + media-libs/tiff + media-libs/jpeg + media-libs/compface )" +SRC_URI="http://ftp.us.xemacs.org/ftp/pub/xemacs/xemacs-21.4/${P}.tar.gz + http://ftp.us.xemacs.org/ftp/pub/xemacs/packages/efs-${EFS}-pkg.tar.gz + http://ftp.us.xemacs.org/ftp/pub/xemacs/packages/xemacs-base-${BASE}-pkg.tar.gz" +HOMEPAGE="http://www.xemacs.org" + +PROVIDE="virtual/emacs" + +src_unpack() { + cd "${WORKDIR}" + unpack "${P}.tar.gz" +} + +src_compile() { + local myopts + local soundopts + + if [ "`use X`" ] + then + myopts="--with-x --with-jpeg --with-png --with-tiff --with-xface + --with-menubars=lucid --with-scrollbars=lucid" + if [ "`use motif`" ] + then + myopts="$myopts --with-dialogs=motif --with-widgets=motif" + else + myopts="$myopts --with-dialogs=lucid --with-widgets=lucid" + fi + else + myopts="--without-x" + fi + + if [ "`use gpm`" ] + then + myopts="$myopts --with-gpm" + else + myopts="$myopts --without-gpm" + fi + + soundopts="native" + if [ "`use nas`" ] + then + soundopts="$soundopts,nas" + fi + if [ "`use esd`" ] + then + soundopts="$soundopts,esd" + fi + myopts="$myopts --with-sound=$soundopts" + + ./configure $myopts \ + --with-database=gnudbm \ + --prefix=/usr \ + --with-ncurses \ + --with-pop \ + --without-dragndrop \ + --with-xpm \ + --with-gif=no \ + --with-site-lisp=yes \ + --package-path=/usr/lib/xemacs/xemacs-packages/ \ + || die + emake || die +} + +src_install() { + make prefix="${D}/usr" \ + mandir="${D}/usr/share/man/man1" \ + infodir="${D}/usr/share/info" \ + install || die + + # Install the two packages + dodir /usr/lib/xemacs/xemacs-packages/ + cd "${D}/usr/lib/xemacs/xemacs-packages/" + unpack "efs-${EFS}-pkg.tar.gz" + unpack "xemacs-base-${BASE}-pkg.tar.gz" + + #remove extraneous files + cd "${D}/usr/share/info" + rm -f dir info.info texinfo* termcap* + cd "${S}" + dodoc BUGS CHANGES-release COPYING GETTING* INSTALL ISSUES PROBLEMS README* +} |