Henry,
Thanks for those instructions. They worked fine. I was not entirely
clear on the correct way to edit cogre-mode.el even after reading the
.diff file. I tried to patch as follows:
patch < cogre-mode.diff
but it failed on all 3 hunks. What am I doing wrong?
The build procedure looks ugly and it gives the appearance of not having
worked. But it eventually completes without error and
find . -name "*loaddefs*
does seem to list all the files.
Now I have to figure out how to make this work!
...Jake
>>>>> "HST" == Henry S Thompson <ht@...> writes:
HST> I regularly build CEDET from CVS using XEmacs (on Cygwin too, I'm a
HST> glutton for punishment).
HST> Here's what works for me at the moment
>> cd [the root of your CEDET tree]
>> cvs update
>> find . -type f -name '*.elc' | xargs -n 100 rm
>> cd semantic/symref
>> cvs update -r1.5 symantic-symref-grep.el
HST> Patch cogre/cogre-mode.el with the attached patch (you can do this
HST> easily by hand if you don't understand how to run patch).
>> cd ../cogre
>> cvs update -d tests templates # these are new since I last updated
>> cd ..
>> make EMACS=xemacs all
HST> The reversion of symantic-symref-grep is necessary because a breaking
HST> change for XEmacs, namely a shift to using the 'grep' package, which
HST> is internal to Emacs, I believe, and for which I could not quickly
HST> find an XEmacs port . . .
HST> The edit to cogre-mode is similarly necessary because of a recent
HST> XEmacs-incompatible addition to this file.
HST> Hope this helps,
HST> ht
HST> Index: cogre-mode.el
HST> ===================================================================
HST> RCS file: /cvsroot/cedet/cedet/cogre/cogre-mode.el,v
HST> retrieving revision 1.25
HST> diff -b -w -C3 -r1.25 cogre-mode.el
HST> *** cogre-mode.el 19 Apr 2009 00:33:06 -0000 1.25
HST> --- cogre-mode.el 7 May 2009 11:02:26 -0000
HST> ***************
HST> *** 205,210 ****
HST> --- 205,211 ----
HST> cogre-link-base-menu)
HST> (defvar cogre-tool-bar-map
HST> + (if (fboundp 'tool-bar-add-item)
HST> (let ((tool-bar-map (make-sparse-keymap)))
HST> (tool-bar-add-item "cogre-node" 'cogre-new-node 'node)
HST> (tool-bar-add-item "cogre-class" 'cogre-new-node 'class)
HST> ***************
HST> *** 215,221 ****
HST> (tool-bar-add-item "cogre-arrow" 'cogre-new-link 'arrow)
HST> (tool-bar-add-item "cogre-isa" 'cogre-new-link 'inherit)
HST> (tool-bar-add-item "cogre-hasa" 'cogre-new-link 'aggregate)
HST> ! tool-bar-map)
HST> "The tool-bar used for COGRE mode.")
HST> --- 216,222 ----
HST> (tool-bar-add-item "cogre-arrow" 'cogre-new-link 'arrow)
HST> (tool-bar-add-item "cogre-isa" 'cogre-new-link 'inherit)
HST> (tool-bar-add-item "cogre-hasa" 'cogre-new-link 'aggregate)
HST> ! tool-bar-map))
HST> "The tool-bar used for COGRE mode.")
HST> ***************
HST> *** 275,281 ****
HST> (setq major-mode 'cogre-mode
HST> mode-name "Cogre")
HST> (use-local-map cogre-mode-map)
HST> ! (set (make-local-variable 'tool-bar-map) cogre-tool-bar-map)
HST> (setq truncate-lines t)
HST> (setq indent-tabs-mode nil)
HST> (buffer-disable-undo)
HST> --- 276,282 ----
HST> (setq major-mode 'cogre-mode
HST> mode-name "Cogre")
HST> (use-local-map cogre-mode-map)
HST> ! (if cogre-tool-bar-map (set (make-local-variable 'tool-bar-map)
HST> cogre-tool-bar-map))
HST> (setq truncate-lines t)
HST> (setq indent-tabs-mode nil)
HST> (buffer-disable-undo)
HST> --
HST> Henry S. Thompson, School of Informatics, University of Edinburgh
HST> Half-time member of W3C Team
HST> 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
HST> Fax: (44) 131 651-1426, e-mail: ht@...
HST> URL: http://www.ltg.ed.ac.uk/~ht/
HST> [mail really from me _always_ has this .sig -- mail without it is forged
HST> spam]
HST> ------------------------------------------------------------------------------
HST> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
HST> production scanning environment may not be a perfect world - but thanks to
HST> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
HST> Series Scanner you'll get full speed at 300 dpi even with all image
HST> processing features
HST> enabled. http://p.sf.net/sfu/kodak-com_______________________________________________
HST> Cedet-devel mailing list
HST> Cedet-devel@...
HST> https://lists.sourceforge.net/lists/listinfo/cedet-devel
--
Jake Colman | Director, Software Development
Principia Partners LLC
101 West Elm Street | Conshohocken | PA 19428 | +1 (610) 755 9770
t: +1 (610) 755 9786 | c: +1 (610) 348 2788 | f: +1 (201) 221 8929
e: colman@... | w: http://www.principiapartners.com
Credit technology innovation awards winner 2008
|