Re: Just wanted to install vim - had to spend entire day building X11

2011-01-10 Thread RW
On Mon, 10 Jan 2011 16:42:04 +
RW  wrote:

> On Mon, 10 Jan 2011 11:00:39 -0500
> Chris Brennan  wrote:
> 
> > On Mon, Jan 10, 2011 at 6:56 AM, Giorgos Keramidas
> > wrote:
> > 
> > > I'm sorry that you had to install software that you don't really
> > > need and I can help you clean up by saving your installed ports as
> > > 'binary packages' and re-installing just the bits that you
> > > _really_ want to have around.  Other than that, I don't know if
> > > there's any way to change the status quo of the vim ports to be
> > > able to satisfy automatically both types of user needs.
> > >
> > >
> > My not a 'make config' target that asks weather we want
> > vim/gvim/xvim (if X isn't installed?)
> 
> There's already a slave port


FWIW I just had a look and for me there is practically no
difference. The additional direct dependencies are  commonplace
desktop dependency ports, and the vim binary  shrinks from 1.7MB to
1.4MB,  just  298kB.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Just wanted to install vim - had to spend entire day building X11

2011-01-10 Thread Andreas Rudisch
On Sun, 9 Jan 2011 22:19:02 +0100
Tony Maserati  wrote:

> Hi,
> 
> I'm just curious - what's the point of including X11 as a dependency to vim?
> And then making a vim-lite port (which you usually discover after installing
> X11). How about making it vim and vim-x11 instead?

I guess the next time you should simply install: /usr/ports/editors/vim-lite/

Andreas.
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpSevs8cxKAJ.pgp
Description: PGP signature


Re: Just wanted to install vim - had to spend entire day building X11

2011-01-10 Thread David Demelier

On 09/01/2011 22:19, Tony Maserati wrote:

Hi,

I'm just curious - what's the point of including X11 as a dependency to vim?
And then making a vim-lite port (which you usually discover after installing
X11). How about making it vim and vim-x11 instead?

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


You must wait that the vim maintainer want to switch to the OPTIONS 
framework. Actually he does not want to do it. He prefers to be alone to 
use the old KNOB system just to do `not like all other people`.


So because you can't make a convenient `make config` you need to read 
the makefile or installing ports-mgmt/lsknobs, run lsknobs in the 
current port path and then set every knob you want in /etc/make.conf


But be careful ! Because make.conf is used by every port you should use 
ports-mgmt/portconf to write only vim knob in /usr/local/etc/ports.conf 
like :


editors/vim: WITHOUT_X11.

Isn't that convenient? :-)

--
David Demelier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Just wanted to install vim - had to spend entire day building X11

2011-01-10 Thread Chip Camden
Quoth Giorgos Keramidas on Monday, 10 January 2011:
> 
> Maybe because gvim is really *much* nicer than plain console-based vim
> sessions.
> 
How can that be the case, when gvim is an X11 program?

I've used both -- give me good old console-based vim any day.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipsquips.com   | http://chipstips.com


pgpnZfTDg1nJK.pgp
Description: PGP signature


Re: Just wanted to install vim - had to spend entire day building X11

2011-01-10 Thread RW
On Mon, 10 Jan 2011 11:00:39 -0500
Chris Brennan  wrote:

> On Mon, Jan 10, 2011 at 6:56 AM, Giorgos Keramidas
> wrote:
> 
> > I'm sorry that you had to install software that you don't really
> > need and I can help you clean up by saving your installed ports as
> > 'binary packages' and re-installing just the bits that you _really_
> > want to have around.  Other than that, I don't know if there's any
> > way to change the status quo of the vim ports to be able to satisfy
> > automatically both types of user needs.
> >
> >
> My not a 'make config' target that asks weather we want vim/gvim/xvim
> (if X isn't installed?)

There's already a slave port
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Just wanted to install vim - had to spend entire day building X11

2011-01-10 Thread Chip Camden
Quoth Chris Brennan on Monday, 10 January 2011:
> On Mon, Jan 10, 2011 at 6:56 AM, Giorgos Keramidas 
> wrote:
> 
> > I'm sorry that you had to install software that you don't really need
> > and I can help you clean up by saving your installed ports as 'binary
> > packages' and re-installing just the bits that you _really_ want to have
> > around.  Other than that, I don't know if there's any way to change the
> > status quo of the vim ports to be able to satisfy automatically both
> > types of user needs.
> >
> >
> My not a 'make config' target that asks weather we want vim/gvim/xvim (if X
> isn't installed?)
> 
> C-
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Yes! +1

And while you're at it, add the options for Ruby/Perl/Python support,
instead of having to add WITH_RUBY=yes, etc. to make.conf.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipsquips.com   | http://chipstips.com


pgptqjtF6vX4S.pgp
Description: PGP signature


Re: Just wanted to install vim - had to spend entire day building X11

2011-01-10 Thread Chris Brennan
On Mon, Jan 10, 2011 at 6:56 AM, Giorgos Keramidas wrote:

> I'm sorry that you had to install software that you don't really need
> and I can help you clean up by saving your installed ports as 'binary
> packages' and re-installing just the bits that you _really_ want to have
> around.  Other than that, I don't know if there's any way to change the
> status quo of the vim ports to be able to satisfy automatically both
> types of user needs.
>
>
My not a 'make config' target that asks weather we want vim/gvim/xvim (if X
isn't installed?)

C-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Just wanted to install vim - had to spend entire day building X11

2011-01-10 Thread Giorgos Keramidas
On Mon, 10 Jan 2011 08:02:35 -0500, Ed Smith  
wrote:
> This seems bizarre.  Logically, it would seem better to do a split like
> vim (bare vim - what you would expect) and xvim (vim with X11) similar
> to how emacs does emacs/xemacs.

XEmacs[1] is not 'Emacs with X11 support', but a very different editor.
The main GNU Emacs port (editors/emacs) does include support for X11,
and it's actually a lot more pleasant to use under X window.

[1] http://xemacs.org/

Its name is certainly slightly confusing now that people have gotten
accustomed to all the 'foo' vs. 'xfoo' ports, but the XEmacs editor has
been around for a *long* time, so let's not confuse it for something
very different from what it is :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Just wanted to install vim - had to spend entire day building X11

2011-01-10 Thread RW
On Mon, 10 Jan 2011 12:43:13 +0100
Tony Maserati  wrote:

> I hear that - but if I want gvim I'll install gvim. What it's doing
> here is installing something I didn't ask for, well actually, it's
> fooling me into giving me something I don't need.

It's not as if gvim is something separate. gvim is just a symlink to
vim that gets installed when vim is built with GUI support. 

It seems a sensible arrangement; desktops already have Xorg,
servers that have no need of it should have WITHOUT_X11 set globally.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Just wanted to install vim - had to spend entire day building X11

2011-01-10 Thread Firas Kraiem
On 10/01/11 14:02, Ed Smith wrote:
> This seems bizarre.  Logically, it would seem better to do a split like
> vim (bare vim - what you would expect) and xvim (vim with X11) similar
> to how emacs does emacs/xemacs.

Totally different thing.  The emacs port install GNU Emacs; the xemacs
port installs XEmacs.  They are completely separate projects.  Vim, on
the other hand, is one project, and the GUI is part of it.  There is no
such thing as "xvim".  (Also I believe the emacs port installs GNU Emacs
*with a GUI*, the no-GUI version is at emacs-nox11).

Firas


> 
> On 1/10/2011 4:06 AM, Giorgos Keramidas wrote:
>> On Sun, 9 Jan 2011 22:19:02 +0100, Tony
>> Maserati  wrote:
>>> Hi,
>>>
>>> I'm just curious - what's the point of including X11 as a dependency
>>> to vim?  And then making a vim-lite port (which you usually discover
>>> after installing X11). How about making it vim and vim-x11 instead?
>> Maybe because gvim is really *much* nicer than plain console-based vim
>> sessions.
>>
>> The vim-lite port exists for those cases when you really want to install
>> just plain good ol' vim without all the bells and whistles.  You can also
>> install editors/vim with WITHOUT_X11='true' to avoid the pulling of all
>> this X11 stuff.
>>
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscr...@freebsd.org"
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"
> 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Just wanted to install vim - had to spend entire day building X11

2011-01-10 Thread Jamie Paul Griffin
> I hear that - but if I want gvim I'll install gvim. What it's doing here is
> installing something I didn't ask for, well actually, it's fooling me into
> giving me something I don't need.
 
or you could just use the original vi that comes with the base system if you 
just want a console editor. It's better than vim if you ask me anyway.

jamie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Just wanted to install vim - had to spend entire day building X11

2011-01-10 Thread Jonathan McKeown
On Monday 10 January 2011 15:02:35 Ed Smith wrote:
> This seems bizarre.  Logically, it would seem better to do a split like
> vim (bare vim - what you would expect) and xvim (vim with X11) similar
> to how emacs does emacs/xemacs.

Er, no. xemacs is a fork of emacs. emacs has X-related dependencies unless you 
make it WITHOUT_X11.

Jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Just wanted to install vim - had to spend entire day building X11

2011-01-10 Thread Ed Smith
This seems bizarre.  Logically, it would seem better to do a split like 
vim (bare vim - what you would expect) and xvim (vim with X11) similar 
to how emacs does emacs/xemacs.


On 1/10/2011 4:06 AM, Giorgos Keramidas wrote:

On Sun, 9 Jan 2011 22:19:02 +0100, Tony Maserati  wrote:

Hi,

I'm just curious - what's the point of including X11 as a dependency
to vim?  And then making a vim-lite port (which you usually discover
after installing X11). How about making it vim and vim-x11 instead?

Maybe because gvim is really *much* nicer than plain console-based vim
sessions.

The vim-lite port exists for those cases when you really want to install
just plain good ol' vim without all the bells and whistles.  You can also
install editors/vim with WITHOUT_X11='true' to avoid the pulling of all
this X11 stuff.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Just wanted to install vim - had to spend entire day building X11

2011-01-10 Thread Tony Maserati
I hear that - but if I want gvim I'll install gvim. What it's doing here is
installing something I didn't ask for, well actually, it's fooling me into
giving me something I don't need.

Thanks.

On Mon, Jan 10, 2011 at 10:06 AM, Giorgos Keramidas <
keram...@ceid.upatras.gr> wrote:

> On Sun, 9 Jan 2011 22:19:02 +0100, Tony Maserati 
> wrote:
> > Hi,
> >
> > I'm just curious - what's the point of including X11 as a dependency
> > to vim?  And then making a vim-lite port (which you usually discover
> > after installing X11). How about making it vim and vim-x11 instead?
>
> Maybe because gvim is really *much* nicer than plain console-based vim
> sessions.
>
> The vim-lite port exists for those cases when you really want to install
> just plain good ol' vim without all the bells and whistles.  You can also
> install editors/vim with WITHOUT_X11='true' to avoid the pulling of all
> this X11 stuff.
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Just wanted to install vim - had to spend entire day building X11

2011-01-10 Thread Giorgos Keramidas
On Mon, 10 Jan 2011 12:43:13 +0100, Tony Maserati  wrote:
>On Mon, Jan 10, 2011 at 10:06 AM, Giorgos Keramidas  
>wrote:
>>On Sun, 9 Jan 2011 22:19:02 +0100, Tony Maserati  wrote:
>>> I'm just curious - what's the point of including X11 as a dependency
>>> to vim?  And then making a vim-lite port (which you usually discover
>>> after installing X11). How about making it vim and vim-x11 instead?
>>
>> Maybe because gvim is really *much* nicer than plain console-based vim
>> sessions.
>>
>> The vim-lite port exists for those cases when you really want to install
>> just plain good ol' vim without all the bells and whistles.  You can also
>> install editors/vim with WITHOUT_X11='true' to avoid the pulling of all
>> this X11 stuff.
>
> I hear that - but if I want gvim I'll install gvim. What it's doing
> here is installing something I didn't ask for, well actually, it's
> fooling me into giving me something I don't need.

The tricky bit is that there's no gvim port.  There are two choices one
can make when porting software like this:

  * Add a default port that installs the 'full experience', and a second
meta-port that has options suitable for minimalists.

  * Add a default port that is minimal, and a meta-port that can pull in
all the necessary bits for the full-blown user experience.

I agree that it's confusing to remember which port has chosen which
option, but there isn't much a porter (e.g. obrien in this case) can do
to satisfy *both* groups of users.

I'm sorry that you had to install software that you don't really need
and I can help you clean up by saving your installed ports as 'binary
packages' and re-installing just the bits that you _really_ want to have
around.  Other than that, I don't know if there's any way to change the
status quo of the vim ports to be able to satisfy automatically both
types of user needs.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Just wanted to install vim - had to spend entire day building X11

2011-01-10 Thread Giorgos Keramidas
On Sun, 9 Jan 2011 22:19:02 +0100, Tony Maserati  wrote:
> Hi,
>
> I'm just curious - what's the point of including X11 as a dependency
> to vim?  And then making a vim-lite port (which you usually discover
> after installing X11). How about making it vim and vim-x11 instead?

Maybe because gvim is really *much* nicer than plain console-based vim
sessions.

The vim-lite port exists for those cases when you really want to install
just plain good ol' vim without all the bells and whistles.  You can also
install editors/vim with WITHOUT_X11='true' to avoid the pulling of all
this X11 stuff.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Just wanted to install vim - had to spend entire day building X11

2011-01-09 Thread Chris Brennan
On Sun, Jan 9, 2011 at 4:19 PM, Tony Maserati  wrote:

> Hi,
>
> I'm just curious - what's the point of including X11 as a dependency to
> vim?
> And then making a vim-lite port (which you usually discover after
> installing
> X11). How about making it vim and vim-x11 instead?
>

It's because of gVIM  throw WITHOUT_X11=true into /etc/make.conf next
time :D

hth/c-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Just wanted to install vim - had to spend entire day building X11

2011-01-09 Thread Tony Maserati
Hi,

I'm just curious - what's the point of including X11 as a dependency to vim?
And then making a vim-lite port (which you usually discover after installing
X11). How about making it vim and vim-x11 instead?

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"