Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2010 18:45:21 +0200
From:      Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@spoerlein.net>
To:        Arseny Nasokin <eirnym@gmail.com>
Cc:        Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de>, Garrett Cooper <yanefbsd@gmail.com>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: Old ports bugs analyzis
Message-ID:  <20100331164521.GJ85798@acme.spoerlein.net>
In-Reply-To: <2D3A9639-74EC-4E8C-82A2-2794751327EC@gmail.com>
References:  <20100330191416.GB98488@wep4035.physik.uni-wuerzburg.de> <2F334A43-634E-4AAC-A144-54200FEE7003@gmail.com> <7d6fde3d1003301349t32a98a49uc223a710a1f2ede4@mail.gmail.com> <57C3B32A-21E5-4D66-8311-800F62B54C6C@gmail.com> <7d6fde3d1003301714o1da03b52j8ac6b8122c1bc45d@mail.gmail.com> <066EBF09-FF6E-48C7-A1F9-0BB6B6A1EADC@gmail.com> <z2r7d6fde3d1003302320q7504c218w80b300dac36bf7af@mail.gmail.com> <B5373308-5485-4008-8E8E-B81CC116E5E4@gmail.com> <i2h7d6fde3d1003310139ne1b2329em4911b01bdf5a1bb0@mail.gmail.com> <2D3A9639-74EC-4E8C-82A2-2794751327EC@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 31.03.2010 at 14:28:46 +0400, Arseny Nasokin wrote:
> I've talked about custom built-in settings. Different options are need  
> in different situations. We doesn't have any real statistics about  
> options use.
> 
> For example, gvim(1) is good idea on most desktop systems, but after  
> some issue, I build vim without GUI support. Issue is simple:
> 
> Start x11, run xterm, run screen in it, detach, shutdown x11 server.  
> Attach to screen from text mode and run vim. You'll get at least  
> warning and slow startup.
> Second issue about is why should X11 be on headless server?
> 
> What should we do in this case? Create 10-20 packages for every  
> program? Or provide customisation interface (ports tree)?
> 
> If second we can provide ports tree, which can download prebuild  
> package if common options are used or build it in other case or if  
> user want it. 

This has been floated around in this thread as "fat packages", where you
basically have the build cluster build a port, eg. three ways. In our
case vim-lite (no x11), vim (gui) and vim-full (perl, cscope, ...).
These three runs can than be combined into one fat package. As they
share documentation and other "share/" data, only the binaries/libraries
need to be stored 3x in the package and compression should nullify the
.tbz growth further.

Same could be done for mplayer, an mplayer-full "flavour" an
mplayer-free flavour using only free codecs, etc. Similar things can be
done for mysql's or openldap's -client and -server packages.

In summary, pkg_add vim on a server without X11 libs can then decide to
extract the non-X11 variant, while someone on a desktop system will get
a bigger version.

This however, needs better pkg_ tools, more/faster hardware in the build
cluster and a ton of volunteer work that is hard to come by these days
...

Regards,
Uli



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100331164521.GJ85798>