Summary: | vim ebuild ignore 'X' use flag | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jason Rhinelander <gentoo> |
Component: | New packages | Assignee: | Aron Griffis (RETIRED) <agriffis> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jason Rhinelander
2003-04-28 02:44:50 UTC
This bug speaks for the usefulness of package dependent use flags - i.e. being able to set USE="-X" _only_ for the vim package. Hi Jason, I agree with you in every way. It's just that I'm sick of getting bug reports that say "terminal vim links against X libraries". I get so many complaints on that score that I thought the resolution in bug 19115 was a good one. Perhaps it wasn't. Regarding the symlinks in /usr/bin not being removed, I'm aware of that problem. AFAIK there is no way in Gentoo yet to solve that. There is no concept of alternatives as in Debian, nor of triggers as in RH. I solved this in a vim rpm by having symbolic links owned by and automatically updated by the vim-common package. In this way, I was able to easily supply rpms for xvim, gvim (linked against gtk), and mvim. It worked out quite well. However, that's quite a tangent. We don't have that sort of thing on Gentoo yet. I could check for dead links in a post uninstall script (I think we have that), but it's still not a great solution. Especially since the symlinks still won't be owned by any package. I think your suggestion of a local USE flag will be the best. Honestly, I think most people aren't going to care if they have X functionality in console vim (:set mouse is probably another thing that depends on X libs) but it will be available to those that really want it. I'm included in that list... ;-) Does this cover things well? Regarding the symlinks, I'll probably leave that in since it isn't hurting anything at the moment, but it will be nice to get a better solution in the future. Aron Are you suggesting, then, adding some sort of "xvim" use flag for the vim package? I'd think that solution ought to keep us hardcore vim users happy ;) Done. The local USE variable is "vim-with-x". It's done in the eclass, so it will work for any version of vim in the tree. |