Apply patch to fix 100% CPU utilization problem; Resolves Bug #149842.
authorMatthew Kennedy <mkennedy@gentoo.org>
Sun, 19 Nov 2006 17:13:21 +0000 (17:13 +0000)
committerMatthew Kennedy <mkennedy@gentoo.org>
Sun, 19 Nov 2006 17:13:21 +0000 (17:13 +0000)
Package-Manager: portage-2.1.2_rc2

app-emacs/cedet/ChangeLog
app-emacs/cedet/Manifest
app-emacs/cedet/cedet-1.0_pre3-r2.ebuild [new file with mode: 0644]
app-emacs/cedet/files/1.0_pre3-idle-gentoo.patch [new file with mode: 0644]
app-emacs/cedet/files/digest-cedet-1.0_pre3-r2 [new file with mode: 0644]

index e80bd10e090f7633c9ec105c842ef4e845a87424..cdf52c7d26a307138cd2207b1c67e621d63c6561 100644 (file)
@@ -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,
index 5cbe710f982324eb5366bc316b0977bbc24c79d9..8179bb2b3b5fde3b5c0b67016849e57e284525e9 100644 (file)
@@ -1,7 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX 1.0_pre3-eieio-tests-gentoo.patch 486 RMD160 c8d1fb506b4537a72ad893a80ff98ad3c2ba42c4 SHA1 a0e5408ede04b2a0f768e51a343ab0d714244cf6 SHA256 552780d62780f9dd4550a1ea92fe266144079c02a7ceac5a2c1529812a077110
 MD5 b8eff3e780663b5d8e5c33f43b471633 files/1.0_pre3-eieio-tests-gentoo.patch 486
 RMD160 c8d1fb506b4537a72ad893a80ff98ad3c2ba42c4 files/1.0_pre3-eieio-tests-gentoo.patch 486
 SHA256 552780d62780f9dd4550a1ea92fe266144079c02a7ceac5a2c1529812a077110 files/1.0_pre3-eieio-tests-gentoo.patch 486
+AUX 1.0_pre3-idle-gentoo.patch 781 RMD160 000a3025aa9faaab595af514fff07806301715bf SHA1 956238723e1fee693760d5753959729e4708ef07 SHA256 1188f64c1dcd751d260f1b021571f85a002160e0c7e7a6d55d3d32ed2856d6bf
+MD5 6c5262383155e518ece1f6844c180f60 files/1.0_pre3-idle-gentoo.patch 781
+RMD160 000a3025aa9faaab595af514fff07806301715bf files/1.0_pre3-idle-gentoo.patch 781
+SHA256 1188f64c1dcd751d260f1b021571f85a002160e0c7e7a6d55d3d32ed2856d6bf files/1.0_pre3-idle-gentoo.patch 781
 AUX 1.0_pre3-sb-info-circular-dep-gentoo.patch 366 RMD160 34db6a890982d4023051f51ee3fd1648e1964dda SHA1 23a1c5c04ad8b319224c1b515c6cd79f304dc616 SHA256 8804c2850ad211a0c57303d4f2d02fe3326a380f9f6fa24390a8b410178a0b34
 MD5 916b79c8b07d0ab1479e19a5e617f2d3 files/1.0_pre3-sb-info-circular-dep-gentoo.patch 366
 RMD160 34db6a890982d4023051f51ee3fd1648e1964dda files/1.0_pre3-sb-info-circular-dep-gentoo.patch 366
@@ -20,14 +27,18 @@ EBUILD cedet-1.0_pre3-r1.ebuild 1746 RMD160 3ff616b2e82c4605e5f1a918f4b7b3a78ef9
 MD5 e4280a281ac095ca5e19a9098f594ca9 cedet-1.0_pre3-r1.ebuild 1746
 RMD160 3ff616b2e82c4605e5f1a918f4b7b3a78ef9707a cedet-1.0_pre3-r1.ebuild 1746
 SHA256 b2ef78d9baf3feaea4db75db2fb0a2abe0e3d5ae050986afc5db79010f14fb32 cedet-1.0_pre3-r1.ebuild 1746
+EBUILD cedet-1.0_pre3-r2.ebuild 1807 RMD160 a92b517ce2c98230c0a167f86af903b151e98160 SHA1 e940a7a1765c2dae3a0a08cee0353159dcef670d SHA256 a46fb435667bc74e6fcc21a653b146afee1b936c0a489d5710c91c3be957e1e9
+MD5 c3c856240ff764c417c2d3629028088f cedet-1.0_pre3-r2.ebuild 1807
+RMD160 a92b517ce2c98230c0a167f86af903b151e98160 cedet-1.0_pre3-r2.ebuild 1807
+SHA256 a46fb435667bc74e6fcc21a653b146afee1b936c0a489d5710c91c3be957e1e9 cedet-1.0_pre3-r2.ebuild 1807
 EBUILD cedet-1.0_pre3.ebuild 1557 RMD160 54a96383d77015749b7317fb60f4c8b78ef2464c SHA1 6bc0d90e4838e108485cf8fc6e8d618f880d5bed SHA256 8b69542d5afebb5a0be9a1c30a0e4efdb9952945975a03ef22aabd63617b5801
 MD5 52a9909ec33871d20ae4687422c3b16c cedet-1.0_pre3.ebuild 1557
 RMD160 54a96383d77015749b7317fb60f4c8b78ef2464c cedet-1.0_pre3.ebuild 1557
 SHA256 8b69542d5afebb5a0be9a1c30a0e4efdb9952945975a03ef22aabd63617b5801 cedet-1.0_pre3.ebuild 1557
-MISC ChangeLog 1836 RMD160 eb1d8699cea9ff1a361b09ad3c21307416bf5330 SHA1 eb47b90a23d366f6809648f3361958c4ba9048e3 SHA256 06e522f13223fb5c3b832d81e46b238cc4fa62a1c40a11b5e78ebedb2452c940
-MD5 3de1b5aee7f820b3b12640aaf05d7338 ChangeLog 1836
-RMD160 eb1d8699cea9ff1a361b09ad3c21307416bf5330 ChangeLog 1836
-SHA256 06e522f13223fb5c3b832d81e46b238cc4fa62a1c40a11b5e78ebedb2452c940 ChangeLog 1836
+MISC ChangeLog 2061 RMD160 9a650a1805337c87ae0b695c2800081bddddb132 SHA1 47bd1afe5c7bcc38703e6dac168243733094c589 SHA256 260ee923f2154daa639fed402e40a5a1d3e81fc959ddd3f82fd55b00ede39e80
+MD5 1a210d78131318719a50f56a7d27b7cd ChangeLog 2061
+RMD160 9a650a1805337c87ae0b695c2800081bddddb132 ChangeLog 2061
+SHA256 260ee923f2154daa639fed402e40a5a1d3e81fc959ddd3f82fd55b00ede39e80 ChangeLog 2061
 MISC metadata.xml 158 RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 SHA1 61f6eff9729cd87a725c2a70c81aca4270a17fc4 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab
 MD5 fcd33d07e4ee719b01157946734f4fe8 metadata.xml 158
 RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 metadata.xml 158
@@ -41,3 +52,13 @@ SHA256 39808e0ed8dd64cd82c4b3d6ee5e1ff9cc576cd148649f9d95df18f214c15180 files/di
 MD5 00fedf05101b88ab50d3d805210d407d files/digest-cedet-1.0_pre3-r1 244
 RMD160 01ef5dca11e82087d1f375498923e0c6af263de3 files/digest-cedet-1.0_pre3-r1 244
 SHA256 39808e0ed8dd64cd82c4b3d6ee5e1ff9cc576cd148649f9d95df18f214c15180 files/digest-cedet-1.0_pre3-r1 244
+MD5 00fedf05101b88ab50d3d805210d407d files/digest-cedet-1.0_pre3-r2 244
+RMD160 01ef5dca11e82087d1f375498923e0c6af263de3 files/digest-cedet-1.0_pre3-r2 244
+SHA256 39808e0ed8dd64cd82c4b3d6ee5e1ff9cc576cd148649f9d95df18f214c15180 files/digest-cedet-1.0_pre3-r2 244
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFYJC8yiNZaEAZA+ARAuT9AJsFLlGqA5oJMG6DdnTxL6B00kDPAACfUjb7
+DKhSMXTORR8W1Bt8u9EAf0M=
+=BLS1
+-----END PGP SIGNATURE-----
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 (file)
index 0000000..984b95f
--- /dev/null
@@ -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 (file)
index 0000000..05fa79b
--- /dev/null
@@ -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))))))
\f
+ ;;; 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 (file)
index 0000000..ef694f4
--- /dev/null
@@ -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