Bug 93923 - cc-mode-5.30.9.ebuild (new ebuild for GNU emacs' cc-mode)
Bug#: 93923 Product:  Gentoo Linux Version: 2005.0 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: emacs@gentoo.org Reported By: ediap@users.sourceforge.net
Component: Ebuilds
URL:  http://cc-mode.sourceforge.net/
Summary: cc-mode-5.30.9.ebuild (new ebuild for GNU emacs' cc-mode)
Keywords:  EBUILD
Status Whiteboard: 
Opened: 2005-05-25 04:51 0000
Description:   Opened: 2005-05-25 04:51 0000
Hi! 

Please find the attached ebuild for an emacs' cc-mode version 5.30.9. Although, emacs includes cc-mode in its base packages, this is much more updated and bugfixed than the original one.

/ediap

------- Comment #1 From Adam Piątyszek 2005-05-25 04:51:45 0000 -------
Created an attachment (id=59784) [details]
cc-mode-5.30.9.ebuild

------- Comment #2 From Adam Piątyszek 2005-05-25 04:52:36 0000 -------
Created an attachment (id=59785) [details]
files/50cc-mode-gentoo.el (sitelisp file)

------- Comment #3 From Christian Schlotter 2006-06-18 05:44:23 0000 -------
Created an attachment (id=89461) [details]
cc-mode-5.31.3.ebuild

--- cc-mode-5.30.9.ebuild       2006-06-18 14:44:01.000000000 +0200
+++ cc-mode-5.31.3.ebuild       2006-06-18 14:33:39.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $

@@ -11,7 +11,7 @@
 SRC_URI="http://download.sourceforge.net/cc-mode/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="x86"
+KEYWORDS="~x86"

 DEPEND=""
 RDEPEND=""

------- Comment #4 From Christian Schlotter 2006-06-18 05:45:59 0000 -------
Created an attachment (id=89462) [details]
files/50cc-mode-gentoo.el

--- 50cc-mode-gentoo.el.old     2006-06-18 14:45:17.000000000 +0200
+++ 50cc-mode-gentoo.el 2006-06-18 14:31:04.000000000 +0200
@@ -1,3 +1,9 @@
+
 ;;; cc-mode site-lisp configuration

 (add-to-list 'load-path "@SITELISP@")
+
+;; use the new AWK mode, rather than the older mode contained in the
+;; file `awk-mode.elc'
+(autoload 'awk-mode "cc-mode" nil t)
+

------- Comment #5 From Matthew Kennedy (RETIRED) 2006-06-18 12:09:19 0000 -------
Added to portage.  Thanks for the contributions.

------- Comment #6 From Christian Schlotter 2006-06-18 14:24:18 0000 -------
Thanks!  Please note that your commit contains a little typo.  The variable
DESCRIPTION is assigned the value

"An Emacs mode for editing and C and other languages with similar syntax."

where it should be

"An Emacs mode for editing C and other languages with similar syntax."

Regards
Christian

------- Comment #7 From Matthew Kennedy (RETIRED) 2006-06-18 20:23:53 0000 -------
Thanks. Typo corrected.