diff options
author | Peter Brown <rendhalver@gentoo.org> | 2003-01-16 15:17:16 +0000 |
---|---|---|
committer | Peter Brown <rendhalver@gentoo.org> | 2003-01-16 15:17:16 +0000 |
commit | cb52336c6d4100f7791ef21a3f24b10ea48491c7 (patch) | |
tree | 8fd1566c299fd19bd39c54e4ee34b396cacb820a /app-editors/xemacs | |
parent | moved KEYWORDS to ebuilds (diff) | |
download | gentoo-2-cb52336c6d4100f7791ef21a3f24b10ea48491c7.tar.gz gentoo-2-cb52336c6d4100f7791ef21a3f24b10ea48491c7.tar.bz2 gentoo-2-cb52336c6d4100f7791ef21a3f24b10ea48491c7.zip |
new xemacs-21.4.12 ebuild
Diffstat (limited to 'app-editors/xemacs')
-rw-r--r-- | app-editors/xemacs/ChangeLog | 9 | ||||
-rw-r--r-- | app-editors/xemacs/files/digest-xemacs-21.4.12 | 2 | ||||
-rw-r--r-- | app-editors/xemacs/xemacs-21.4.12.ebuild | 193 |
3 files changed, 202 insertions, 2 deletions
diff --git a/app-editors/xemacs/ChangeLog b/app-editors/xemacs/ChangeLog index 444a75d0850b..12e3fd1d596e 100644 --- a/app-editors/xemacs/ChangeLog +++ b/app-editors/xemacs/ChangeLog @@ -1,8 +1,13 @@ # 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.30 2003/01/07 17:46:30 rendhalver Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/ChangeLog,v 1.31 2003/01/16 15:17:16 rendhalver Exp $ - *xemacs-21.4.11 (03 Jan 2003) +*xemacs-21.4.12 (16 Jan 2003) + 16 Jan 2003: Rendhalver <rendhalver@gentoo.org> + new stable version of XEmacs + added NeXT_XEmacs toolbar icons + +*xemacs-21.4.11 (03 Jan 2003) 03 Jan 2003: Rendhalver <rendhalver@gentoo.org> : new ebuild without sandbox disabling diff --git a/app-editors/xemacs/files/digest-xemacs-21.4.12 b/app-editors/xemacs/files/digest-xemacs-21.4.12 new file mode 100644 index 000000000000..398ee7e8939d --- /dev/null +++ b/app-editors/xemacs/files/digest-xemacs-21.4.12 @@ -0,0 +1,2 @@ +MD5 699f4e9c05181d3d71cbd733cd5b16fc xemacs-21.4.12.tar.gz 10653726 +MD5 95c531ec2639990a09e92c59a855784e NeXT_XEmacs.tar.gz 39571 diff --git a/app-editors/xemacs/xemacs-21.4.12.ebuild b/app-editors/xemacs/xemacs-21.4.12.ebuild new file mode 100644 index 000000000000..0b919c60fed5 --- /dev/null +++ b/app-editors/xemacs/xemacs-21.4.12.ebuild @@ -0,0 +1,193 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.4.12.ebuild,v 1.1 2003/01/16 15:17:16 rendhalver Exp $ + +IUSE="gpm postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna lucid athena neXt Xaw3d" + +LICENSE="GPL-2" +S="${WORKDIR}/${P}" +DESCRIPTION="XEmacs is a highly customizable open source text editor and application development system." + +SRC_URI="http://ftp.xemacs.org/xemacs-21.4/${P}.tar.gz + http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz" + +HOMEPAGE="http://www.xemacs.org" + +# esound is know to cause problems in XEmacs +#esd? ( media-sound/esound ) + +RDEPEND="virtual/glibc + !virtual/xemacs + + >=sys-libs/gdbm-1.8.0 + >=sys-libs/zlib-1.1.4 + >=dev-libs/openssl-0.9.6 + >=media-libs/audiofile-0.2.3 + + gpm? ( >=sys-libs/gpm-1.19.6 ) + + postgres? ( >=dev-db/postgresql-7.2 ) + ldap? ( net-nds/openldap ) + + nas? ( media-libs/nas ) + + dnd? ( x11-libs/dnd ) + + X? ( virtual/x11 ) + motif? ( >=x11-libs/openmotif-2.1.30 ) + athena? ( virtual/x11 ) + Xaw3d? ( x11-libs/Xaw3d ) + neXt? ( x11-libs/neXtaw ) + xface? ( media-libs/compface ) + tiff? ( media-libs/tiff ) + png? ( =media-libs/libpng-1.2* ) + jpeg? ( media-libs/jpeg ) + + canna? ( app-i18n/canna ) + freewnn? ( app-i18n/freewnn )" + +DEPEND="${RDEPEND} + >=sys-libs/ncurses-5.2" + +PDEPEND="app-xemacs/efs + app-xemacs/xemacs-base + mule? app-xemacs/mule-base" + +PROVIDE="virtual/xemacs virtual/editor" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 -ppc alpha ~sparc" + +src_unpack() { + unpack ${P}.tar.gz + unpack NeXT_XEmacs.tar.gz + + cd ${S} + patch -p0 <${FILESDIR}/emodules.info-21.4.8-gentoo.patch || die + + if [ ${ARCH} = "ppc" ] ; then + patch -p0 < ${FILESDIR}/${P}-ppc.diff || die + fi + + # copy Next_XEmacs icons into toolbar dir + cp ${WORKDIR}/NeXT.XEmacs/xemacs-icons/* ${S}/etc/toolbar/ +} + +src_compile() { + local myconf="" + + if use X; then + + myconf="--with-widgets=lucid" + myconf="${myconf} --with-dialogs=lucid" + myconf="${myconf} --with-scrollbars=lucid" + myconf="${myconf} --with-menubars=lucid" + if [ "`use motif`" ] ; then + myconf="--with-widgets=motif" + myconf="${myconf} --with-dialogs=motif" + myconf="${myconf} --with-scrollbars=motif" + myconf="${myconf} --with-menubars=lucid" + fi + if [ "`use athena`" ] ; then + myconf="--with-widgets=athena" + if [ "`use Xaw3d`" ] ; then + myconf="${myconf} --with-athena=xaw3d" + elif [ "`use neXt`" ] ; then + myconf="${myconf} --with-athena=next" + else + myconf="${myconf} --with-athena=3d" + fi + myconf="${myconf} --with-dialogs=athena" + myconf="${myconf} --with-scrollbars=lucid" + myconf="${myconf} --with-menubars=lucid" + fi + + myconf="${myconf} + --with-gif=no" + + use dnd && myconf="${myconf} --with-dragndrop --with-offix" + + use tiff && myconf="${myconf} --with-tiff" || + myconf="${myconf} --without-tiff" + use png && mconf="${myconf} --with-png" || + myconf="${myconf} --without-png" + use jpeg && myconf="${myconf} --with-jpeg" || + myconf="${myconf} --without-jpeg" + use xface && myconf="${myconf} --with-xface" || + myconf="${myconf} --without-xface" + + else + myconf="${myconf} + --without-x + --without-xpm + --without-dragndrop + --with-gif=no" + fi + + use gpm && myconf="${myconf} --with-gpm" || + myconf="${myconf} --without-gpm" + use postgres && myconf="${myconf} --with-postgresql" || + myconf="${myconf} --without-postgresql" + use ldap && myconf="${myconf} --with-ldap" || + myconf="${myconf} --without-ldap" + + if [ "`use mule`" ] ; then + myconf="${myconf} --with-mule" + use motif && myconf="${myconf} --with-xim=motif" || + myconf="${myconf} --with-xim=xlib" + use canna && myconf="${myconf} --with-canna" || + myconf="${myconf} --without-canna" + use freewnn && myconf="${myconf} --with-wnn" || + myconf="${myconf} --without-wnn" + fi + + local soundconf="native" + + use nas && soundconf="${soundconf},nas" + + local dbconf="gnudbm" + + myconf="${myconf} --with-sound=${soundconf} --with-database=${dbconf}" + + ./configure ${myconf} \ + --prefix=/usr \ + --with-pop \ + --with-ncurses \ + --with-msw=no \ + --mail-locking=flock \ + --with-site-lisp=yes \ + --with-site-modules=yes \ + || die + + # emake dont work on faster boxes it seems + # azarah (04 Aug 2002) + make || die +} + +src_install() { + make prefix=${D}/usr \ + mandir=${D}/usr/share/man/man1 \ + infodir=${D}/usr/share/info \ + install gzip-el || die + + # install base packages directories + dodir /usr/lib/xemacs/xemacs-packages/ + dodir /usr/lib/xemacs/site-packages/ + dodir /usr/lib/xemacs/site-modules/ + dodir /usr/lib/xemacs/site-lisp/ + + if use mule; + then + dodir /usr/lib/xemacs/mule-packages + fi + + # remove extraneous files + cd ${D}/usr/share/info + rm -f dir info.info texinfo* termcap* + cd ${S} + dodoc BUGS CHANGES-* COPYING ChangeLog GETTING* INSTALL PROBLEMS README* + dodoc ${FILESDIR}/README.Gentoo + rm -f ${D}/usr/share/info/emodules.info~* +} + |