diff options
author | Mamoru Komachi <usata@gentoo.org> | 2005-02-11 09:14:43 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2005-02-11 09:14:43 +0000 |
commit | 91f69b003e149eafe46c71bf0f9de1a1a25f2de2 (patch) | |
tree | bf29f85d2c84e8cb4bb46a6ec7d6b7f68ea24cec /app-editors | |
parent | x86 keyword as per bug #81355 (diff) | |
download | gentoo-2-91f69b003e149eafe46c71bf0f9de1a1a25f2de2.tar.gz gentoo-2-91f69b003e149eafe46c71bf0f9de1a1a25f2de2.tar.bz2 gentoo-2-91f69b003e149eafe46c71bf0f9de1a1a25f2de2.zip |
More slot friendly.
(Portage version: 2.0.51.16)
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/emacs-cvs/ChangeLog | 8 | ||||
-rw-r--r-- | app-editors/emacs-cvs/Manifest | 13 | ||||
-rw-r--r-- | app-editors/emacs-cvs/emacs-cvs-22.0.0-r1.ebuild | 153 | ||||
-rw-r--r-- | app-editors/emacs-cvs/files/digest-emacs-cvs-22.0.0-r1 | 0 | ||||
-rw-r--r-- | app-editors/emacs-cvs/files/emacs-22.0.0.desktop | 7 |
5 files changed, 170 insertions, 11 deletions
diff --git a/app-editors/emacs-cvs/ChangeLog b/app-editors/emacs-cvs/ChangeLog index c359d849ddba..25bd1975d1a5 100644 --- a/app-editors/emacs-cvs/ChangeLog +++ b/app-editors/emacs-cvs/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-editors/emacs-cvs # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-cvs/ChangeLog,v 1.27 2005/02/11 07:17:37 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-cvs/ChangeLog,v 1.28 2005/02/11 09:14:43 usata Exp $ + +*emacs-cvs-22.0.0-r1 (11 Feb 2005) + + 11 Feb 2005; Mamoru KOMACHI <usata@gentoo.org> + +files/emacs-22.0.0.desktop, +emacs-cvs-22.0.0-r1.ebuild: + More slot friendly. *emacs-cvs-22.0.50 (11 Feb 2005) diff --git a/app-editors/emacs-cvs/Manifest b/app-editors/emacs-cvs/Manifest index 8483c5686e2d..460559d4c4ef 100644 --- a/app-editors/emacs-cvs/Manifest +++ b/app-editors/emacs-cvs/Manifest @@ -1,16 +1,15 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 696403f18f16c5917e250a684187a850 ChangeLog 4094 MD5 3b1bff980356c4a65d57cc1b4cf3e0af emacs-cvs-21.3.50.ebuild 3039 MD5 fcd33d07e4ee719b01157946734f4fe8 metadata.xml 158 MD5 b0074eda7745eefdefa92a834c69bdfa emacs-cvs-22.0.50.ebuild 4513 MD5 c923ad49f159d42b7490ed9712314fdd emacs-cvs-22.0.0.ebuild 3008 MD5 392ad6771838dab0b7a0ac1dd90890c6 emacs-cvs-21.3.50-r2.ebuild 4512 +MD5 bebd5396d629135e1ead6938d7928edf emacs-cvs-22.0.0-r1.ebuild 4523 MD5 04a64867694a98538309b433c80aaa62 files/40aspell-gentoo.el 80 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-emacs-cvs-21.3.50 0 MD5 0e5a4a35651f5365c6191636a2c26eb7 files/emacs.desktop 190 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-emacs-cvs-22.0.50 0 +MD5 489cecff3b00a0e1521eab388c1ee07b files/emacs-22.0.0.desktop 204 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-emacs-cvs-22.0.0 0 MD5 5f423550e3d32b7c0511eccd93a94750 files/emacs-subdirs-el-gentoo.diff 1369 MD5 39e2f957cdbcb0ae028bb9b94312d85b files/emacs-21.3.50.desktop 206 @@ -18,10 +17,4 @@ MD5 ffdd28353d4bb08ee9ec653650458a40 files/50emacs-21.3.50.envd 39 MD5 8e50e760415e106cd168d8709d31b7dc files/emacs-22.0.50.desktop 206 MD5 277b238c9263aabcc2ef92de1d6d68bb files/emacs-cvs-21.3.50-nofink.diff 1520 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-emacs-cvs-21.3.50-r2 0 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFCDFn7VWNWqTUmv+0RAtPtAJ43hzDwKso6irFMmPPfYaSxJV1q8ACfWeGh -ZG+ReOthQyP2SJuZ8e88J0A= -=ilsq ------END PGP SIGNATURE----- +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-emacs-cvs-22.0.0-r1 0 diff --git a/app-editors/emacs-cvs/emacs-cvs-22.0.0-r1.ebuild b/app-editors/emacs-cvs/emacs-cvs-22.0.0-r1.ebuild new file mode 100644 index 000000000000..3b85d605ea51 --- /dev/null +++ b/app-editors/emacs-cvs/emacs-cvs-22.0.0-r1.ebuild @@ -0,0 +1,153 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-cvs/emacs-cvs-22.0.0-r1.ebuild,v 1.1 2005/02/11 09:14:43 usata Exp $ + +ECVS_AUTH="ext" +export CVS_RSH="ssh" +ECVS_SERVER="savannah.gnu.org:/cvsroot/emacs" +ECVS_MODULE="emacs" +ECVS_BRANCH="emacs-unicode-2" +ECVS_USER="anoncvs" +#ECVS_PASS="" +ECVS_CVS_OPTIONS="-dP" +ECVS_SSH_HOST_KEY="savannah.gnu.org,199.232.41.3 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAzFQovi+67xa+wymRz9u3plx0ntQnELBoNU4SCl3RkwSFZkrZsRTC0fTpOKatQNs1r/BLFoVt21oVFwIXVevGQwB+Lf0Z+5w9qwVAQNu/YUAFHBPTqBze4wYK/gSWqQOLoj7rOhZk0xtAS6USqcfKdzMdRWgeuZ550P6gSzEHfv0=" + +inherit elisp-common cvs alternatives flag-o-matic eutils + +IUSE="X Xaw3d aqua gif gnome gtk jpeg nls png spell tiff" + +S=${WORKDIR}/${ECVS_MODULE} +DESCRIPTION="Emacs is the extensible, customizable, self-documenting real-time display editor." +SRC_URI="" +HOMEPAGE="http://www.gnu.org/software/emacs" + +# Never use the sandbox, it causes Emacs to segfault on startup +SANDBOX_DISABLED="1" +RESTRICT="$RESTRICT nostrip" + +DEPEND=">=sys-libs/ncurses-5.3 + spell? ( || ( app-text/ispell app-text/aspell ) ) + X? ( virtual/x11 + gif? ( >=media-libs/libungif-4.1.0.1b ) + jpeg? ( >=media-libs/jpeg-6b ) + tiff? ( >=media-libs/tiff-3.5.7 ) + png? ( >=media-libs/libpng-1.2.5 ) + gtk? ( =x11-libs/gtk+-2* ) + !gtk? ( Xaw3d? ( x11-libs/Xaw3d ) ) + gnome? ( gnome-base/gnome-desktop ) ) + nls? ( >=sys-devel/gettext-0.11.5 ) + >=sys-apps/portage-2.0.51_rc1" + +PROVIDE="virtual/emacs virtual/editor" + +SLOT="22.0.0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~ppc-macos" + +DFILE=emacs-${SLOT}.desktop + +src_compile() { + + strip-flags + epatch ${FILESDIR}/emacs-subdirs-el-gentoo.diff + use ppc-macos && epatch ${FILESDIR}/emacs-21.3.50-nofink.diff + + local myconf + + use nls || myconf="${myconf} --disable-nls" + + if use X; then + myconf="${myconf} --with-x" + myconf="${myconf} --with-xpm --with-toolkit-scroll-bars" + myconf="${myconf} $(use_with jpeg) $(use_with tiff)" + myconf="${myconf} $(use_with gif) $(use_with png)" + if use gtk; then + einfo "Configuring to build with GTK support" + myconf="${myconf} --with-x-toolkit=gtk" + elif use Xaw3d; then + einfo "Configuring to build with Xaw3d support" + myconf="${myconf} --with-x-toolkit=athena" + else + einfo "Configuring to build with lucid toolkit support" + myconf="${myconf} --without-gtk" + myconf="${myconf} --with-x-toolkit=lucid" + fi + fi + + if use aqua ; then + einfo "Configuring to build with Carbon Emacs" + econf --enable-debug \ + --enable-carbon-app=/Applications/Gentoo \ + --without-x \ + $(use_with jpeg) $(use_with tiff) \ + $(use_with gif) $(use_with png) \ + || die "econf carbon emacs failed" + make bootstrap || die "make carbon emacs bootstrap failed" + fi + + econf --enable-debug \ + --program-suffix=.emacs-${SLOT} \ + --without-carbon \ + ${myconf} || die "econf emacs failed" + + make bootstrap || die "make emacs bootstrap failed" +} + +src_install () { + # make DESTDIR=${D} install doesn't work + einstall || die "einstall failed" + rm ${D}/usr/bin/emacs-${SLOT}.emacs-${SLOT} || die "removing duplicate emacs executable failed" + + if use aqua ; then + einfo "Installing Carbon Emacs..." + dodir /Applications/Gentoo/Emacs.app + pushd mac/Emacs.app + tar -chf - . | ( cd ${D}/Applications/Gentoo/Emacs.app; tar -xf -) + popd + fi + + # fix info documentation + einfo "Fixing info documentation..." + dodir /usr/share/info/emacs-${SLOT} + mv ${D}/usr/share/info/{,emacs-${SLOT}/}dir || die "mv dir failed" + for i in ${D}/usr/share/info/* + do + if [ "${i##*/}" != emacs-${SLOT} ] ; then + mv ${i} ${i/info/info/emacs-${SLOT}}.info + gzip -9 ${i/info/info/emacs-${SLOT}}.info + fi + done + + if has_version 'app-text/aspell' ; then + # defaults to aspell if installed + elisp-site-file-install ${FILESDIR}/40aspell-gentoo.el + fi + newenvd ${FILESDIR}/50emacs-${SLOT}.envd 50emacs-${SLOT} + + einfo "Fixing manpages..." + for m in ${D}/usr/share/man/man1/* ; do + mv ${m} ${m/.1/.emacs-${SLOT}.1} || die "mv man failed" + done + + dodoc BUGS ChangeLog README + + if use gnome; then + insinto /usr/share/gnome/apps/Application + doins ${FILESDIR}/${DFILE} || die "install desktop file failed" + fi +} + +update-alternatives() { + for i in emacs emacsclient etags ctags b2m ebrowse \ + rcs-checkin grep-changelog ; do + alternatives_auto_makesym "/usr/bin/$i" "/usr/bin/$i.emacs-*" + done +} + +pkg_postinst() { + use ppc-macos || update-alternatives +} + +pkg_postrm() { + use ppc-macos || update-alternatives +} diff --git a/app-editors/emacs-cvs/files/digest-emacs-cvs-22.0.0-r1 b/app-editors/emacs-cvs/files/digest-emacs-cvs-22.0.0-r1 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/app-editors/emacs-cvs/files/digest-emacs-cvs-22.0.0-r1 diff --git a/app-editors/emacs-cvs/files/emacs-22.0.0.desktop b/app-editors/emacs-cvs/files/emacs-22.0.0.desktop new file mode 100644 index 000000000000..610f4fab8d42 --- /dev/null +++ b/app-editors/emacs-cvs/files/emacs-22.0.0.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=GNU Emacs 22.0.0 +Comment=Emacs is the extensible, customizable, self-documenting real-time display editor. +Icon=gnome-emacs.png +Terminal=0 +Type=Application +Exec=/usr/bin/emacs-22.0.0 |