Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93923 - cc-mode-5.30.9.ebuild (new ebuild for GNU emacs' cc-mode)
Summary: cc-mode-5.30.9.ebuild (new ebuild for GNU emacs' cc-mode)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Emacs project
URL: http://cc-mode.sourceforge.net/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-05-25 04:51 UTC by Adam Piątyszek
Modified: 2006-06-18 20:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
cc-mode-5.30.9.ebuild (cc-mode-5.30.9.ebuild,683 bytes, text/plain)
2005-05-25 04:51 UTC, Adam Piątyszek
Details
files/50cc-mode-gentoo.el (sitelisp file) (50cc-mode-gentoo.el,75 bytes, text/plain)
2005-05-25 04:52 UTC, Adam Piątyszek
Details
cc-mode-5.31.3.ebuild (cc-mode-5.31.3.ebuild,684 bytes, text/plain)
2006-06-18 05:44 UTC, Christian Schlotter
Details
files/50cc-mode-gentoo.el (50cc-mode-gentoo.el,207 bytes, text/plain)
2006-06-18 05:45 UTC, Christian Schlotter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Piątyszek 2005-05-25 04:51:05 UTC
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 Adam Piątyszek 2005-05-25 04:51:45 UTC
Created attachment 59784 [details]
cc-mode-5.30.9.ebuild
Comment 2 Adam Piątyszek 2005-05-25 04:52:36 UTC
Created attachment 59785 [details]
files/50cc-mode-gentoo.el (sitelisp file)
Comment 3 Christian Schlotter 2006-06-18 05:44:23 UTC
Created attachment 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 Christian Schlotter 2006-06-18 05:45:59 UTC
Created attachment 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 Matthew Kennedy (RETIRED) gentoo-dev 2006-06-18 12:09:19 UTC
Added to portage.  Thanks for the contributions.
Comment 6 Christian Schlotter 2006-06-18 14:24:18 UTC
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 Matthew Kennedy (RETIRED) gentoo-dev 2006-06-18 20:23:53 UTC
Thanks. Typo corrected.