diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2002-05-07 07:52:46 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2002-05-07 07:52:46 +0000 |
commit | cd565356451b737d2ecf0e8c0c8386b1452292b3 (patch) | |
tree | aca49697f278ddb3a2c4016cd096f284975f390e /app-editors/xemacs-gamma | |
parent | 1.9.9 (diff) | |
download | gentoo-2-cd565356451b737d2ecf0e8c0c8386b1452292b3.tar.gz gentoo-2-cd565356451b737d2ecf0e8c0c8386b1452292b3.tar.bz2 gentoo-2-cd565356451b737d2ecf0e8c0c8386b1452292b3.zip |
experimental xemacs-gamma-21.4.7.ebuild
Diffstat (limited to 'app-editors/xemacs-gamma')
5 files changed, 237 insertions, 0 deletions
diff --git a/app-editors/xemacs-gamma/ChangeLog b/app-editors/xemacs-gamma/ChangeLog new file mode 100644 index 000000000000..6d3e250f436d --- /dev/null +++ b/app-editors/xemacs-gamma/ChangeLog @@ -0,0 +1,50 @@ +# ChangeLog for app-editor/xemacs-gamma +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs-gamma/ChangeLog,v 1.1 2002/05/07 07:52:46 mkennedy Exp $ + +*xemacs-gamma-21.4.7 (7 May 2002) + + 7 May 2002; Matthew Kennedy <mkennedy@gentoo.org> ChangeLog, + xemacs-gamma-21.4.7.ebuild, files/Xemacs.desktop-gentoo.patch, + files/digest-xemacs-gamma-21.4.7, files/emodules.info-gentoo.patch : + + XEmacs "gamma" ebuild. New ebuild. + + From http://www.xemacs.org/Releases/index.html#Gamma: + + "The gamma series of releases is satisfactorily stable for most + sophisticated users. Most Linux or *BSD users should get the best + results from the gamma series, and we strongly recommend it to the + ``tester'' distributions like NetBSD current, Debian sid, Mandrake + Cooker, Red Hat Rawhide, and so on. XEmacs will be ready when they + are!" + + "The gamma series of releases is the candidate for promotion to a + stable series. Although we do not promote the code base to gamma + while there are known critical bugs in the code base, to attempt to + meet schedules we also do promote fairly quickly once we've fixed + the last known critical bug. Everybody does this, and everybody + knows that despite the best efforts of the developers, ``point oh'' + releases typically still have bugs in them. The gamma concept simply + acknowledges this." + + "The gamma concept allows us to expand our tester base substantially + beyond our dedicated beta testers, while warning the administrators + or users that we still acknowledge some risk of more or less serious + bugs we don't yet know about. It also offers the kinds of users who + use ``tester'' Linux distributions a much more featureful + application with low, but not absolutely minimal, risk." + + "The gamma series receives active attention on a daily basis from + the core developers. Important bugs that do not imply data loss, + including problems with font-locking in C and Lisp modes will be + addressed in the gamma series. Low-risk fixes that provide most of + the missing functionality are the priority. The primary goal is + strictly increasing stability. Improved functionality consistent + with improving stability is secondary, and basically limited to the + as-yet immature MS Windows port. All changes must be approved by the + 21.4 Release Manager, Stephen Turnbull." + + "Users of the gamma series should read the release announcement, and + the NEWS and PROBLEMS files carefully, as many of the known issues + will not yet be reflected in the FAQ or Info documentation." diff --git a/app-editors/xemacs-gamma/files/Xemacs.desktop-gentoo.patch b/app-editors/xemacs-gamma/files/Xemacs.desktop-gentoo.patch new file mode 100644 index 000000000000..e70540188aef --- /dev/null +++ b/app-editors/xemacs-gamma/files/Xemacs.desktop-gentoo.patch @@ -0,0 +1,11 @@ +--- /usr/share/gnome/apps/Applications/Xemacs.desktop 2002-05-05 05:33:03.000000000 -0500 ++++ Xemacs.desktop 2002-05-06 14:14:01.000000000 -0500 +@@ -66,7 +66,7 @@ + Comment[hu]=Xemacs szövegszerkesztő + TryExec=xemacs + Exec=xemacs +-Icon=/usr/local/pixmaps/icon/editor.xpm ++Icon=/usr/share/pixmaps/gnome-emacs.png + Terminal=false + MultipleArgs=false + Type=Application diff --git a/app-editors/xemacs-gamma/files/digest-xemacs-gamma-21.4.7 b/app-editors/xemacs-gamma/files/digest-xemacs-gamma-21.4.7 new file mode 100644 index 000000000000..be62bb6dcfb8 --- /dev/null +++ b/app-editors/xemacs-gamma/files/digest-xemacs-gamma-21.4.7 @@ -0,0 +1,4 @@ +MD5 629c0954205698f330d57606fb5b1325 xemacs-21.4.7.tar.gz 10538652 +MD5 7622650d9c754337d7fd97c61ea8942b efs-1.28-pkg.tar.gz 370073 +MD5 f6e0bb7401bfce2d5a670c352b2376bb xemacs-base-1.61-pkg.tar.gz 457628 +MD5 5686febbb08c950ead2b4d0b1707c09e mule-base-1.39-pkg.tar.gz 443543 diff --git a/app-editors/xemacs-gamma/files/emodules.info-gentoo.patch b/app-editors/xemacs-gamma/files/emodules.info-gentoo.patch new file mode 100644 index 000000000000..49e0858d192b --- /dev/null +++ b/app-editors/xemacs-gamma/files/emodules.info-gentoo.patch @@ -0,0 +1,14 @@ +--- xemacs-21.4.6/info/emodules.info.orig Mon Apr 15 23:53:59 2002 ++++ xemacs-21.4.6/info/emodules.info Mon Apr 15 23:55:34 2002 +@@ -1,6 +1,11 @@ + This is ../info/emodules.info, produced by makeinfo version 4.0b from + emodules.texi. + ++INFO-DIR-SECTION XEmacs Editor ++START-INFO-DIR-ENTRY ++* emodules: (emodules). XEmacs module loading technology. ++END-INFO-DIR-ENTRY ++ + This file documents the module loading technology of XEmacs. + + Copyright (C) 1998 J. Kean Johnston. diff --git a/app-editors/xemacs-gamma/xemacs-gamma-21.4.7.ebuild b/app-editors/xemacs-gamma/xemacs-gamma-21.4.7.ebuild new file mode 100644 index 000000000000..9260a33b7c4c --- /dev/null +++ b/app-editors/xemacs-gamma/xemacs-gamma-21.4.7.ebuild @@ -0,0 +1,158 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Matthew Kennedy <mkennedy@gentoo.org> +# Author: Geert Bevin <gbevin@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs-gamma/xemacs-gamma-21.4.7.ebuild,v 1.1 2002/05/07 07:52:46 mkennedy Exp $ + +# this is just TEMPORARY until we can get to the core of the problem +SANDBOX_DISABLED="1" + +LICENSE="GPL-2" + +REAL_P=${P//-gamma/} +S="${WORKDIR}/${REAL_P}" +DESCRIPTION="XEmacs is a highly customizable open source text editor and application development system." +EFS=1.28 +BASE=1.61 +MULE=1.39 +SRC_URI="http://ftp.us.xemacs.org/ftp/pub/xemacs/xemacs-21.4/${REAL_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 + http://ibiblio.org/pub/packages/editors/xemacs/packages/mule-base-${MULE}-pkg.tar.gz" +HOMEPAGE="http://www.xemacs.org" + +DEPEND=">=sys-libs/gdbm-1.8.0 + >=sys-libs/zlib-1.1.4 + >=dev-libs/openssl-0.9.6 + + xface? ( media-libs/compface ) + gpm? ( >=sys-libs/gpm-1.20.0 ) + postgres? ( >=dev-db/postgresql-7.2 ) + + nas? ( media-libs/nas ) + esd? ( media-sound/esound ) + + motif? ( >=x11-libs/openmotif-2.1.30 ) + gtk? ( =x11-libs/gtk+-1.2* ) + gnome? ( =gnome-base/gnome-core-1.4* ) + lucid? ( ) + + tiff? ( media-libs/tiff ) + png? ( media-libs/libpng ) + jpeg? (media-libs/jpeg ) + + mule? ( ) + + X? ( virtual/x11 )" + +#RDEPEND="!virtual/xemacs" + +#PROVIDE="virtual/emacs +# virtual/xemacs" + +src_unpack() { + cd ${WORKDIR} + unpack ${REAL_P}.tar.gz +# patch -p0 <${FILESDIR}/emodules.info-gentoo.patch +} + +src_compile() { + local soundconf="native" + local myconf="" + + if use X; + then + myconf="${myconf} --with-x" + + 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" + + local USE_PREF=lucid + + case $USE_PREF in + gtk ) + myconf="${myconf} --with-gtk" + use gnome && myconf="${myconf} --with-gnome" || + myconf="${myconf} --without-gnome" + ;; + lucid ) + myconf="${myconf} --with-dialogs=lucid --with-widgets=lucid" + myconf="${myconf} --with-scrollbars=lucid" + myconf="${myconf} --with-menubars=lucid" + ;; + motif ) + myconf="${myconf} --with-dialogs=motif --with-widgets=motif" +# myconf="${myconf} --with-scrollbars=motif" +# myconf="${myconf} --with-menubars=motif" + myconf="${myconf} --with-scrollbars=lucid" + myconf="${myconf} --with-menubars=lucid" + ;; + * ) + einfo "Sorry, $USE_PREF is not a supported USE_PREF" + die + ;; + esac + else + myconf="${myconf} --without-x" + fi + + use gpm && myconf="${myconf} --with-gpm" || + myconf="${myconf} --without-gpm" + use postgres && myconf="${myconf} --with-postgresql" || + myconf="${myconf} --without-postgresql" + use mule && myconf="${myconf} --with-mule" || + myconf="${myconf} --without-mule" + + use nas && soundconf="${soundconf},nas" + use esd && soundconf="${soundconf},esd" + + + myconf="${myconf} --with-sound=${soundconf}" + + ./configure ${myconf} \ + --prefix=/usr \ + --with-database=gnudbm \ + --with-pop \ + --with-dragndrop \ + --with-ncurses \ + --with-xpm \ + --with-gif=no \ + --with-site-lisp=yes \ + --package-path=/usr/lib/xemacs/xemacs-packages/ \ + --with-msw=no \ + || die + + emake || 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 + 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 + # (optionally) install mule base package + if use mule; + then + dodir /usr/lib/xemacs/mule-packages + cd ${D}/usr/lib/xemacs/mule-packages/ + unpack mule-base-${MULE}-pkg.tar.gz + 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* +} |