Bug 40522 - [new ebuild] app-vim/cream-0.28 (aka "vim for newbies")
Bug#: 40522 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: ciaran.mccreesh@googlemail.com Reported By: tom.gl@free.fr
Component: Ebuilds
URL:  http://cream.sourceforge.net
Summary: [new ebuild] app-vim/cream-0.28 (aka "vim for newbies")
Keywords:  
Status Whiteboard: 
Opened: 2004-02-05 13:05 0000
Description:   Opened: 2004-02-05 13:05 0000
Mmm... the web page probably explain what Cream is better than i can.
Personnaly, i like it, but as power vim users you may hate it. Try and decide,
here is an ebuild.

I will attach the "gvim only" version of my ebuild, because currently, normal
vim is not well supported, and i can't test with kvim.

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From TGL 2004-02-05 13:05:59 0000 -------
Created an attachment (id=25028) [details]
cream-0.28.ebuild

------- Comment #2 From TGL 2004-02-05 13:07:01 0000 -------
Created an attachment (id=25029) [details]
files/cream.sh

A small wrapper to launch it.

------- Comment #3 From Ciaran McCreesh 2004-02-06 00:15:30 0000 -------
Have you considered using the vim-plugin eclass for this? Ideally it would be
simpler if all app-vim things worked in the same way. If you think the eclass
is totally unworkable (this could well be the case, as Cream isn't a typical
plugin) then I'll commit as-is.

------- Comment #4 From TGL 2004-02-06 07:02:10 0000 -------
Created an attachment (id=25077) [details]
cream-0.28.ebuild

At first look, I thought there was nothing to use from the eclass (src_install
is really non standard). But in fact, the vim-doc part can (must) be used:
there were two doc files in my previous ebuild that were not referenced
otherwise. 

Also, I first thought the DEPEND/REDEPEND from the eclass would be a problem
since currently Cream depends on GVim and not Vim (don't know for KVim tho),
but:
 - the DEPEND makes sense as a DEPEND, ie it's okay for compile time (ie the
postinst/postrm from the eclass)
 - the RDEPEND is not really relevant, but adding a gvim dep does the trick (it
then becomes "gvim && (vim || gvim || kvim)", which is strange but correct from
a logical point of view).

So here is an ebuild that use part of the eclass. It can't make Cream a
standard Vim plugin tho, and stuffs are still in there own directory.

------- Comment #5 From Ciaran McCreesh 2004-02-07 10:40:51 0000 -------
Updated version committed to CVS, should hit the mirrors within a few hours.
I've added in ~sparc to the KEYWORDS, it should get ~mips too once my r5k
recovers... Thanks very much for this. Feel free to pester me for version bumps
when appropriate :)

------- Comment #6 From Ciaran McCreesh 2004-02-07 10:41:33 0000 -------
In CVS, please reopen if I screwed up...

------- Comment #7 From TGL 2004-02-07 11:25:10 0000 -------
Thanks for the commit, that's always nice when an ebuild enter the tree so
fast. I've subscribed cream-announce so that i won't miss an opportunity to
pester you for bumps :p