Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325251 - app-misc/tmux: Change deps to prefer "vim" over "gvim"
Summary: app-misc/tmux: Change deps to prefer "vim" over "gvim"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Tiago Cunha (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-23 18:33 UTC by Robert Havens
Modified: 2010-06-28 14:51 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Havens 2010-06-23 18:33:27 UTC
When Vim isn't installed supplying the vim-syntax use flag for tmux wants to pull in gvim and the X dependencies required for this.  It seems a bit excessive and unnecessary for headless servers.

Would you switch the dependency lines app-editors/gvim and app-editors/vim around?  

Reproducible: Always

Steps to Reproduce:
1. No vim/gvim nor tmux installed.
2. USE="vim-syntax" emerge -pv tmux
3. 

Actual Results:  
Trys to bring in too many packages.

Expected Results:  
Just need vim installed, not gvim with all the X dependencies.

My apology for the nitpicking.
Comment 1 Tiago Cunha (RETIRED) gentoo-dev 2010-06-24 22:15:21 UTC
Oh. You're right.

Unfortunately, I don't have time to commit this right now. However, I'll try to find someone to do it on my behalf.

Thanks for the report!
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2010-06-25 06:49:25 UTC
The ebuild already has this in the deps:


   vim-syntax? ( || (
         app-editors/gvim
         app-editors/vim ) )"
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-06-27 01:46:49 UTC
I've committed an update to the ebuild to switch the vim/gvim dep order as requested by Tiago.

Sorry for the delay, but I was away for a few days. I'm leaving the bug open for Tiago to proceed as he feels best.
Comment 4 Tiago Cunha (RETIRED) gentoo-dev 2010-06-28 14:51:32 UTC
Thanks for your input, Justin. However, according to ebuild(5) the order of preference is determined by the order in which they appear. Therefore, they should be switched.

Thank you very much, Jorge!

Closing, since it's fixed.

Thanks for the report.