Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vim ebuild shouldn't have --without-x
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
jagerman
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2002
Posts: 104
Location: Vancouver, BC, Canada

PostPosted: Mon Nov 25, 2002 12:31 am    Post subject: vim ebuild shouldn't have --without-x Reply with quote

Hi, I just noticed something with the r17 (yes, I know it's a '~' package) ebuild script for vim. It has in it:

Code:
myconf="--without-x --with-features=big --enable-multibyte"


I think the --without-x should be removed, or at least changed to:

Code:
use X && myconf="$myconf --without-x"


The reason for this is that even when --without-gui is specified (which is correct, since this is moved to the gvim ebuild), enabling x support contains at least one feature that I consider pretty useful - when editing a file, vim changes the title of the xterm to reflect the file being edited. I'm not sure what other differences there are between --with-x and --without-x, but I don't think --without-x should be there just because the GUI is disabled.
Back to top
View user's profile Send private message
psharp
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2002
Posts: 76
Location: London, UK

PostPosted: Mon Nov 25, 2002 12:26 pm    Post subject: Reply with quote

I guess you could file this as a bug.
Back to top
View user's profile Send private message
timmfin
Guru
Guru


Joined: 04 Sep 2002
Posts: 336
Location: Maryland, USA

PostPosted: Mon Nov 25, 2002 4:13 pm    Post subject: Reply with quote

I think this is because you need to emerge gvim for vim wtih x capabilities. A while back I couldn't figure out why I wasn't getting gvim anymore and it was since gvim and vim are two seperate ebuilds.
Back to top
View user's profile Send private message
jagerman
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2002
Posts: 104
Location: Vancouver, BC, Canada

PostPosted: Mon Nov 25, 2002 9:09 pm    Post subject: Reply with quote

timmfin wrote:
I think this is because you need to emerge gvim for vim wtih x capabilities. A while back I couldn't figure out why I wasn't getting gvim anymore and it was since gvim and vim are two seperate ebuilds.


Yes, and I have it emerged - usually for editting code I use it, however for making quick changes to, e.g., config files I prefer to just use vim in gnome-terminal. --with-x doesn't enable GUI capabilities, it just enables vim to do things like set the title of the window, which I definitely like.

I suppose I could just unmerge vim, and link /usr/bin/vim to /usr/bin/gvim, but it would be nicer to have x enabled in the build script.

I'll file a bug report about it as well.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon Apr 28, 2003 3:22 pm    Post subject: Reply with quote

Seems similar to Thoughs on split vim ebuilds?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum