summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-02-06 07:28:08 +0000
committerUlrich Müller <ulm@gentoo.org>2009-02-06 07:28:08 +0000
commit49c3915d7b62377d9cdadbed551a871ee4a14b24 (patch)
tree74e3e6134b3cbbda531aeff656d8474216721b16 /app-editors/emacs
parentVersion bump. (diff)
downloadhistorical-49c3915d7b62377d9cdadbed551a871ee4a14b24.tar.gz
historical-49c3915d7b62377d9cdadbed551a871ee4a14b24.tar.bz2
historical-49c3915d7b62377d9cdadbed551a871ee4a14b24.zip
Remove old.
Package-Manager: portage-2.2_rc23/cvs/Linux i686
Diffstat (limited to 'app-editors/emacs')
-rw-r--r--app-editors/emacs/ChangeLog5
-rw-r--r--app-editors/emacs/Manifest13
-rw-r--r--app-editors/emacs/emacs-22.3.ebuild249
3 files changed, 15 insertions, 252 deletions
diff --git a/app-editors/emacs/ChangeLog b/app-editors/emacs/ChangeLog
index 341c02f5c455..f81ab02a6843 100644
--- a/app-editors/emacs/ChangeLog
+++ b/app-editors/emacs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-editors/emacs
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.300 2009/02/06 03:53:12 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.301 2009/02/06 07:28:08 ulm Exp $
+
+ 06 Feb 2009; Ulrich Mueller <ulm@gentoo.org> -emacs-22.3.ebuild:
+ Remove old.
06 Feb 2009; Jeroen Roovers <jer@gentoo.org> emacs-22.3-r1.ebuild:
Stable for HPPA (bug #256382).
diff --git a/app-editors/emacs/Manifest b/app-editors/emacs/Manifest
index 19a3fc6923b8..bb230edab4af 100644
--- a/app-editors/emacs/Manifest
+++ b/app-editors/emacs/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX emacs-22.1-Xaw3d-headers.patch 4736 RMD160 d94da74ae2e8db00b5b98f35f3bbf11a1f38a188 SHA1 dd4eafe26a313334cc2c51f14b9ee7669428d02a SHA256 80228568be71952150c75adf562208913dcb15e51743480749729f9dc58816ea
AUX emacs-22.2-sh.patch 761 RMD160 4a65a87cfd31d0714e9f99de91dee1c292ba5159 SHA1 1cf46bd5f2bff3e4cff2d6fb43a05dabca81c276 SHA256 743f9e3fcf0059ff68a5ba704311d8aa1ae09600eb3692de51e0b7105ea1f9b4
AUX emacs-22.3-freebsd-sparc.patch 488 RMD160 37a5499a515a45e19858b6aaa1217ec116811d2d SHA1 47d2880c01857515d38adc9a56485e9bd695cac6 SHA256 963ea3506cbcf4797ec974e2802a11c6e9c09cddf1360dbbe6a452a2cef6efbf
@@ -13,6 +16,12 @@ EBUILD emacs-18.59-r5.ebuild 2627 RMD160 d3be1dd6c3759bc8f0c97ef437009f975953c02
EBUILD emacs-18.59-r6.ebuild 2513 RMD160 8d8b8e8a4726c96eba85871332a5dd8481375c4c SHA1 c90e37a50dae7fbf295a4d52ec4dc90538fd3b9a SHA256 073bd68daa84247131018f5e84fcfa8a37bf081b68c28b64c52d24bad9ccea5a
EBUILD emacs-21.4-r17.ebuild 5436 RMD160 3dff8243b2a106816e828c88d9c51bb5c482305e SHA1 e6875cdea8a82f643255082936f828a1c0df781d SHA256 c1054740d9cde10d87a4ed53b1d00a0e76b7f7a10f4d6d8674557b3fae5ada45
EBUILD emacs-22.3-r1.ebuild 8037 RMD160 ba3784d630aedf30e839bf5dcc8a8b1a526edf56 SHA1 b416357103248813886363bd569801c375675fd4 SHA256 0b2a7cbc9cd396f72b3cf5cd7aaabe44740052008b980411d638ef6eaad353ae
-EBUILD emacs-22.3.ebuild 7746 RMD160 97040f57e55dcf418d1c3cdd4b5330192285a641 SHA1 2860e670d53d7df69a5551d9e5c28a3d37ad5f11 SHA256 c67079ae472b531e384fbdaf3f05624ccc20c33fa72c55755231e77afba8070a
-MISC ChangeLog 43320 RMD160 438c980c0536f99f1be0f65d237b810fd41d66b2 SHA1 c903be26c501133c6f8630a940090b156d00bbb8 SHA256 5ee937bc0f516a5728777ecf9ddff2ba94aa48f176eb9cca031057a7a5b2589b
+MISC ChangeLog 43402 RMD160 4c46389040116b57c76045f327aab1ec9a401f7c SHA1 f09e29e403d01aae75a4a8ed0524ff09e6608af9 SHA256 d83a41e469eaa6e0a5cd5fcf560cffb6a341b368817e1522f93bc92b25594079
MISC metadata.xml 1652 RMD160 d5b841ffd970ae6338f01b56bc354004a78a13e8 SHA1 3f19193ed03a37bc67644966c839ea738b21c976 SHA256 fa53ed0bd63c3dd37877f11aa0ac7e3811da9db6c90437176ab60d76329f0cd7
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.9 (GNU/Linux)
+
+iEYEARECAAYFAkmL5tIACgkQOeoy/oIi7uydpQCeI+2/At47HYcmdZNIf61TXPPC
+TCQAoKriHRs456geRZbDus/CggddNqS7
+=SGfs
+-----END PGP SIGNATURE-----
diff --git a/app-editors/emacs/emacs-22.3.ebuild b/app-editors/emacs/emacs-22.3.ebuild
deleted file mode 100644
index 991ce3c6c62d..000000000000
--- a/app-editors/emacs/emacs-22.3.ebuild
+++ /dev/null
@@ -1,249 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-22.3.ebuild,v 1.15 2009/01/25 17:43:40 ulm Exp $
-
-inherit autotools elisp-common eutils flag-o-matic
-
-DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
-HOMEPAGE="http://www.gnu.org/software/emacs/"
-SRC_URI="mirror://gnu/emacs/${P}.tar.gz"
-
-LICENSE="GPL-3 FDL-1.2 BSD as-is X11"
-SLOT="22"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE="alsa gif gtk gzip-el hesiod jpeg kerberos motif png spell sound source tiff toolkit-scroll-bars X Xaw3d xpm"
-RESTRICT="strip"
-
-RDEPEND="!<app-editors/emacs-cvs-22.1
- sys-libs/ncurses
- >=app-admin/eselect-emacs-1.2
- net-libs/liblockfile
- hesiod? ( net-dns/hesiod )
- kerberos? ( virtual/krb5 )
- spell? ( || ( app-text/ispell app-text/aspell ) )
- alsa? ( media-libs/alsa-lib )
- X? (
- x11-libs/libXmu
- x11-libs/libXt
- x11-misc/xbitmaps
- x11-misc/emacs-desktop
- gif? ( media-libs/giflib )
- jpeg? ( media-libs/jpeg )
- tiff? ( media-libs/tiff )
- png? ( media-libs/libpng )
- xpm? ( x11-libs/libXpm )
- gtk? ( =x11-libs/gtk+-2* )
- !gtk? (
- Xaw3d? ( x11-libs/Xaw3d )
- !Xaw3d? ( motif? ( x11-libs/openmotif ) )
- )
- )"
-
-DEPEND="${RDEPEND}
- alsa? ( dev-util/pkgconfig )
- X? ( gtk? ( dev-util/pkgconfig ) )
- gzip-el? ( app-arch/gzip )"
-
-# FULL_VERSION keeps the full version number, which is needed in order to
-# determine some path information correctly for copy/move operations later on
-FULL_VERSION="${PV}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/emacs-22.1-Xaw3d-headers.patch"
- epatch "${FILESDIR}/emacs-22.3-freebsd-sparc.patch"
- # SuperH support (bug 238210)
- epatch "${FILESDIR}/emacs-22.2-sh.patch"
- # Fix sporadic segmentation faults in unexec (bug 236579)
- epatch "${FILESDIR}/emacs-22.3-linux-random-heap.patch"
-
- sed -i -e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \
- -e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \
- "${S}"/src/s/freebsd.h || die "unable to sed freebsd.h settings"
-
- if ! use alsa; then
- # ALSA is detected even if not requested by its USE flag.
- # Suppress it by supplying pkg-config with a wrong library name.
- sed -i -e "/ALSA_MODULES=/s/alsa/DiSaBlEaLsA/" configure.in \
- || die "unable to sed configure.in"
- fi
- if ! use gzip-el; then
- # Emacs' build system automatically detects the gzip binary and
- # compresses el files. We don't want that so confuse it with a
- # wrong binary name
- sed -i -e "s/ gzip/ PrEvEnTcOmPrEsSiOn/" configure.in \
- || die "unable to sed configure.in"
- fi
-
- eautoreconf
-}
-
-src_compile() {
- export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
- ALLOWED_FLAGS=""
- strip-flags
- #unset LDFLAGS
- if use hppa; then # bug #193703
- replace-flags -O[2-9] -O
- else
- replace-flags -O[3-9] -O2
- fi
- sed -i -e "s/-lungif/-lgif/g" configure* src/Makefile* || die
-
- local myconf
-
- if use alsa && ! use sound; then
- echo
- einfo "Although sound USE flag is disabled you chose to have alsa,"
- einfo "so sound is switched on anyway."
- echo
- myconf="${myconf} --with-sound"
- else
- myconf="${myconf} $(use_with sound)"
- fi
-
- if use X; then
- myconf="${myconf} --with-x"
- myconf="${myconf} $(use_with toolkit-scroll-bars)"
- myconf="${myconf} $(use_with jpeg) $(use_with tiff)"
- myconf="${myconf} $(use_with gif) $(use_with png)"
- myconf="${myconf} $(use_with xpm)"
-
- # GTK+ is the default toolkit if USE=gtk is chosen with other
- # possibilities. Emacs upstream thinks this should be standard
- # policy on all distributions
- if use gtk; then
- einfo "Configuring to build with GIMP Toolkit (GTK+)"
- myconf="${myconf} --with-x-toolkit=gtk"
- elif use Xaw3d; then
- einfo "Configuring to build with Xaw3d (Athena/Lucid) toolkit"
- myconf="${myconf} --with-x-toolkit=athena"
- myconf="${myconf} --without-gtk"
- elif use motif; then
- einfo "Configuring to build with Motif toolkit"
- myconf="${myconf} --with-x-toolkit=motif"
- myconf="${myconf} --without-gtk"
- else
- einfo "Configuring to build with no toolkit"
- myconf="${myconf} --with-x-toolkit=no"
- myconf="${myconf} --without-gtk"
- fi
-
- local f tk=
- for f in gtk Xaw3d motif; do
- use ${f} || continue
- [ "${tk}" ] \
- && ewarn "USE flag \"${f}\" ignored (superseded by \"${tk}\")"
- tk="${tk}${tk:+ }${f}"
- done
- else
- myconf="${myconf} --without-x"
- fi
-
- myconf="${myconf} $(use_with hesiod)"
- myconf="${myconf} $(use_with kerberos) $(use_with kerberos kerberos5)"
-
- econf \
- --program-suffix=-emacs-${SLOT} \
- --infodir=/usr/share/info/emacs-${SLOT} \
- --without-carbon \
- ${myconf} || die "econf emacs failed"
-
- emake CC="$(tc-getCC)" || die "emake failed"
-}
-
-src_install () {
- local i m
-
- emake install DESTDIR="${D}" || die "make install failed"
-
- rm "${D}"/usr/bin/emacs-${FULL_VERSION}-emacs-${SLOT} \
- || die "removing duplicate emacs executable failed"
- mv "${D}"/usr/bin/emacs-emacs-${SLOT} "${D}"/usr/bin/emacs-${SLOT} \
- || die "moving Emacs executable failed"
-
- # move info documentation to the correct place
- for i in "${D}"/usr/share/info/emacs-${SLOT}/*; do
- mv "${i}" "${i}.info" || die "mv info failed"
- done
-
- # move man pages to the correct place
- for m in "${D}"/usr/share/man/man1/* ; do
- mv "${m}" "${m%.1}-emacs-${SLOT}.1" || die "mv man failed"
- done
-
- # avoid collision between slots, see bug #169033 e.g.
- rm "${D}"/usr/share/emacs/site-lisp/subdirs.el
- rm "${D}"/var/lib/games/emacs/{snake,tetris}-scores
- keepdir /usr/share/emacs/site-lisp
- keepdir /var/lib/games/emacs
-
- if use source; then
- insinto /usr/share/emacs/${FULL_VERSION}/src
- # This is not meant to install all the source -- just the
- # C source you might find via find-function
- doins src/*.[ch]
- sed 's/^X//' >10${PN}-${SLOT}-gentoo.el <<-EOF
-
- ;;; ${PN}-${SLOT} site-lisp configuration
-
- (if (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
- X (setq find-function-C-source-directory
- X "/usr/share/emacs/${FULL_VERSION}/src"))
- EOF
- elisp-site-file-install 10${PN}-${SLOT}-gentoo.el
- fi
-
- dodoc AUTHORS BUGS CONTRIBUTE README || die "dodoc failed"
-}
-
-emacs-infodir-rebuild() {
- # Depending on the Portage version, the Info dir file is compressed
- # or removed. It is only rebuilt by Portage if our directory is in
- # INFOPATH, which is not guaranteed. So we rebuild it ourselves.
-
- local infodir=/usr/share/info/emacs-${SLOT} f
- [ -d "${ROOT}"${infodir} ] || return # may occur with FEATURES=noinfo
- einfo "Regenerating Info directory index in ${infodir} ..."
- rm -f "${ROOT}"${infodir}/dir{,.*}
- for f in "${ROOT}"${infodir}/*.info*; do
- [[ ${f##*/} != *[0-9].info* && -e ${f} ]] \
- && install-info --info-dir="${ROOT}"${infodir} "${f}" &>/dev/null
- done
- rmdir "${ROOT}"${infodir} 2>/dev/null # remove dir if it is empty
- echo
-}
-
-pkg_postinst() {
- [ -f "${ROOT}"/usr/share/emacs/site-lisp/subdirs.el ] \
- || cp "${ROOT}"/usr/share/emacs{/${FULL_VERSION},}/site-lisp/subdirs.el
-
- local f
- for f in "${ROOT}"/var/lib/games/emacs/{snake,tetris}-scores; do
- [ -e "${f}" ] || touch "${f}"
- done
-
- elisp-site-regen
- emacs-infodir-rebuild
-
- if [[ $(readlink "${ROOT}"/usr/bin/emacs) == emacs.emacs-${SLOT}* ]]; then
- # transition from pre-eselect revision
- eselect emacs set emacs-${SLOT}
- else
- eselect emacs update ifunset
- fi
-
- echo
- elog "You can set the version to be started by /usr/bin/emacs through"
- elog "the Emacs eselect module, which also redirects man and info pages."
- elog "Therefore, several Emacs versions can be installed at the same time."
- elog "\"man emacs.eselect\" for details."
-}
-
-pkg_postrm() {
- elisp-site-regen
- emacs-infodir-rebuild
- eselect emacs update ifunset
-}