summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2006-11-19 17:13:21 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2006-11-19 17:13:21 +0000
commit2e8444974d94000b466752585717968efc2effc2 (patch)
tree2bc92515b3b30d1c7e70a364b55812b4cbc306ae /app-emacs/cedet
parentAdd init.d and conf.d files for reverse ARP daemon (rarpd). (diff)
downloadgentoo-2-2e8444974d94000b466752585717968efc2effc2.tar.gz
gentoo-2-2e8444974d94000b466752585717968efc2effc2.tar.bz2
gentoo-2-2e8444974d94000b466752585717968efc2effc2.zip
Apply patch to fix 100% CPU utilization problem; Resolves Bug #149842.
(Portage version: 2.1.2_rc2)
Diffstat (limited to 'app-emacs/cedet')
-rw-r--r--app-emacs/cedet/ChangeLog8
-rw-r--r--app-emacs/cedet/cedet-1.0_pre3-r2.ebuild70
-rw-r--r--app-emacs/cedet/files/1.0_pre3-idle-gentoo.patch17
-rw-r--r--app-emacs/cedet/files/digest-cedet-1.0_pre3-r23
4 files changed, 97 insertions, 1 deletions
diff --git a/app-emacs/cedet/ChangeLog b/app-emacs/cedet/ChangeLog
index e80bd10e090f..cdf52c7d26a3 100644
--- a/app-emacs/cedet/ChangeLog
+++ b/app-emacs/cedet/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emacs/cedet
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/cedet/ChangeLog,v 1.12 2006/08/09 05:17:14 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/cedet/ChangeLog,v 1.13 2006/11/19 17:13:20 mkennedy Exp $
+
+*cedet-1.0_pre3-r2 (19 Nov 2006)
+
+ 19 Nov 2006; Matthew Kennedy <mkennedy@gentoo.org>
+ +files/1.0_pre3-idle-gentoo.patch, +cedet-1.0_pre3-r2.ebuild:
+ Apply patch to fix 100% CPU utilization problem; Resolves Bug #149842.
09 Aug 2006; Matthew Kennedy <mkennedy@gentoo.org>
+files/1.0_pre3-sb-info-circular-dep-gentoo.patch,
diff --git a/app-emacs/cedet/cedet-1.0_pre3-r2.ebuild b/app-emacs/cedet/cedet-1.0_pre3-r2.ebuild
new file mode 100644
index 000000000000..984b95fdfce7
--- /dev/null
+++ b/app-emacs/cedet/cedet-1.0_pre3-r2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/cedet/cedet-1.0_pre3-r2.ebuild,v 1.1 2006/11/19 17:13:20 mkennedy Exp $
+
+inherit elisp eutils
+
+MY_PV=${PV:0:3}${PV:4:5}
+
+IUSE=""
+DESCRIPTION="CEDET: Collection of Emacs Development Tools"
+HOMEPAGE="http://cedet.sourceforge.net/"
+SRC_URI="mirror://sourceforge/cedet/${PN}-${MY_PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64 ~ppc-macos"
+DEPEND="virtual/emacs
+ !app-emacs/semantic
+ !app-emacs/eieio
+ !app-emacs/speedbar"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+SITEFILE="60cedet-gentoo.el"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/1.0_pre3-eieio-tests-gentoo.patch # Bug #124598
+ epatch ${FILESDIR}/1.0_pre3-sb-info-circular-dep-gentoo.patch # Bug #138190
+ epatch ${FILESDIR}/1.0_pre3-idle-gentoo.patch # Bug #149842
+}
+
+src_compile() {
+ make EMACS=/usr/bin/emacs || die
+}
+
+src_install() {
+ find ${S} -type f -print \
+ | while read target; do
+ local directory=`dirname $target` file=`basename $target`
+ local sub_directory=`basename $directory`
+ case $file in
+ *~ | Makefile | *.texi | *-script | PRERELEASE_CHECKLIST | Project.ede)
+ rm -f $file
+ ;;
+ ChangeLog | README | AUTHORS | *NEWS | INSTALL)
+ docinto $sub_directory
+ dodoc $target
+ ;;
+ *.png)
+ insinto /usr/share/doc/${PF}/$sub_directory
+ doins $target
+ ;;
+ IMPLICIT_TARGETS)
+ ;;
+ *.el | *.elc)
+ insinto /usr/share/emacs/site-lisp/cedet/$sub_directory
+ doins $target
+ ;;
+ *.info*)
+ doinfo $target
+ ;;
+ *)
+ insinto /usr/share/emacs/site-lisp/cedet/$sub_directory
+ doins $target
+ echo $target >>${S}/IMPLICIT_TARGETS
+ ;;
+ esac
+ done
+ elisp-site-file-install ${FILESDIR}/${SITEFILE}
+}
diff --git a/app-emacs/cedet/files/1.0_pre3-idle-gentoo.patch b/app-emacs/cedet/files/1.0_pre3-idle-gentoo.patch
new file mode 100644
index 000000000000..05fa79b7aa75
--- /dev/null
+++ b/app-emacs/cedet/files/1.0_pre3-idle-gentoo.patch
@@ -0,0 +1,17 @@
+diff -ur cedet-1.0pre3.orig/semantic/semantic-idle.el cedet-1.0pre3/semantic/semantic-idle.el
+--- cedet-1.0pre3.orig/semantic/semantic-idle.el 2005-06-29 22:08:03.000000000 -0500
++++ cedet-1.0pre3/semantic/semantic-idle.el 2006-11-19 11:06:37.000000000 -0600
+@@ -286,12 +286,8 @@
+ (when (zerop (recursion-depth))
+ (unwind-protect
+ (semantic-safe "idle error: %S"
+- ;; Disable the auto parse timer while re-parsing
+- (semantic-idle-scheduler-kill-timer)
+ ;; Handle re-parsing and other scheduled services
+- (save-match-data (semantic-idle-core-handler)))
+- ;; Enable again the auto parse timer
+- (semantic-idle-scheduler-setup-timer))))
++ (save-match-data (semantic-idle-core-handler))))))
+
+ ;;; REPARSING
+ ;;
diff --git a/app-emacs/cedet/files/digest-cedet-1.0_pre3-r2 b/app-emacs/cedet/files/digest-cedet-1.0_pre3-r2
new file mode 100644
index 000000000000..ef694f48d6f9
--- /dev/null
+++ b/app-emacs/cedet/files/digest-cedet-1.0_pre3-r2
@@ -0,0 +1,3 @@
+MD5 2932fa2a8ab8fc63402ecb8194ca26b4 cedet-1.0pre3.tar.gz 1357388
+RMD160 5d71c5b966c162f86038e43988c5a890f43ccd2b cedet-1.0pre3.tar.gz 1357388
+SHA256 e62dfd7ce6761ee1df1b5abb17ce0693ecc59dfcc18803f00e1c5ce1f4096c82 cedet-1.0pre3.tar.gz 1357388