Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 180667
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jack Kelly <endgame.dos@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
cmake-2.4.6.ebuild new cmake-2.4.6 ebuild text/plain Jack Kelly 2007-06-02 21:22 0000 1.78 KB Details
50cmake-gentoo.el sitefile for emacs cmake-mode text/plain Jack Kelly 2007-06-02 21:22 0000 220 bytes Details
cmake.vim ftdetect file for vim syntax highlighting text/plain Jack Kelly 2007-06-02 21:23 0000 217 bytes Details
cmake-2.4.6.ebuild ebuild that doesn't try to elisp-site-regen when USE="-emacs" text/plain Jack Kelly 2007-06-02 21:54 0000 1.80 KB Details
50cmake-gentoo.el fixed sitefile for cmake-mode that uses the autoload system text/plain Jack Kelly 2007-06-02 21:55 0000 244 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 180667 depends on: Show dependency tree
Bug 180667 blocks: 184166
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-06-02 21:21 0000
While the tarball distributed by kitware contains a cmake-mode for emacs and
syntax/autoindent files for vim, they aren't installed and do not have use
flags.

Reproducible: Always

Steps to Reproduce:
1. emerge -pv cmake
2. note the lack of emacs and vim-syntax USE flags
3. cry

------- Comment #1 From Jack Kelly 2007-06-02 21:22:02 0000 -------
Created an attachment (id=120982) [details]
new cmake-2.4.6 ebuild

Add USE=emacs and USE=vim-syntax to cmake ebuild.

------- Comment #2 From Jack Kelly 2007-06-02 21:22:36 0000 -------
Created an attachment (id=120983) [details]
sitefile for emacs cmake-mode

------- Comment #3 From Jack Kelly 2007-06-02 21:23:53 0000 -------
Created an attachment (id=120984) [details]
ftdetect file for vim syntax highlighting

emacs is my editor of choice, so I'm not 100% on how vim does things. I did
install vim and test this against a CMakeLists.txt file, but there could be
pitfalls here I'm not aware of.

------- Comment #4 From Ulrich Müller 2007-06-02 21:32:22 0000 -------
Concerning the Emacs part, please fix the following:
1. pkg_post{inst,rm} should have:   use emacs && elisp-site-regen
2. Use "add-to-list" for load-path and auto-mode-alist
3. Please don't "require" or "load" packages in your site-init files.
   Use the autoload mechanism whereever possible. See bug #174469 and
   <http://overlays.gentoo.org/proj/emacs/wiki/sitefile%20problems>
   for further explanation.

------- Comment #5 From Jack Kelly 2007-06-02 21:54:52 0000 -------
Created an attachment (id=120991) [details]
ebuild that doesn't try to elisp-site-regen when USE="-emacs"

------- Comment #6 From Jack Kelly 2007-06-02 21:55:30 0000 -------
Created an attachment (id=120992) [details]
fixed sitefile for cmake-mode that uses the autoload system

------- Comment #7 From Ulrich Müller 2007-06-02 22:06:19 0000 -------
(In reply to comment #6)
> Created an attachment (id=120992) [edit] [details]
> fixed sitefile for cmake-mode that uses the autoload system

Looks good to me. Also the ebuild, as far as Emacs is concerned.
I can't speak for vi, though.

------- Comment #8 From Christian Faulhammer 2007-06-04 12:57:09 0000 -------
(In reply to comment #7)
> (In reply to comment #6)
> > Created an attachment (id=120992) [edit] [details]
> > fixed sitefile for cmake-mode that uses the autoload system
> Looks good to me. Also the ebuild, as far as Emacs is concerned.
> I can't speak for vi, though.

 We will ask them...
KDE team: If you don't incorporate the fixes or speak against them, we will
aplly them in two weeks time.

------- Comment #9 From Wulf Krueger (RETIRED) 2007-06-04 17:50:11 0000 -------
 (In reply to comment #8)
> KDE team: If you don't incorporate the fixes or speak against them, we will
> aplly them in two weeks time.

Let's hear the vim guys first, shall we? :-)

(Btw, last time I checked, the kde herd was responsive (q. e. d. ;-) ) to such
requests so I don't see the need for a deadline yet.)

------- Comment #10 From Mike Kelly (RETIRED) 2007-06-04 18:10:54 0000 -------
At a glance, the vim stuff looks good to me. Don't have time to test it now,
though.

------- Comment #11 From Wulf Krueger (RETIRED) 2007-06-07 16:27:42 0000 -------
I've implemented the changes in -r1 which I've just committed to CVS. Thanks,
Jack, for bringing this to our attention and to my fellow devs for reviewing
the emacs and vim parts. 

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug