From owner-freebsd-arch@FreeBSD.ORG Sun Aug 28 20:24:09 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 611D1106564A for ; Sun, 28 Aug 2011 20:24:09 +0000 (UTC) (envelope-from freebsd-arch@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id D54F68FC12 for ; Sun, 28 Aug 2011 20:24:08 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qxltn-0000no-Jw for freebsd-arch@freebsd.org; Sun, 28 Aug 2011 22:24:07 +0200 Received: from 208.88.188.90.adsl.tomsknet.ru ([90.188.88.208]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Aug 2011 22:24:07 +0200 Received: from vadim_nuclight by 208.88.188.90.adsl.tomsknet.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Aug 2011 22:24:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-arch@freebsd.org From: Vadim Goncharov Date: Sun, 28 Aug 2011 20:23:53 +0000 (UTC) Organization: Nuclear Lightning @ Tomsk, TPU AVTF Hostel Lines: 42 Message-ID: References: <20110821110521.GA48820@server.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 208.88.188.90.adsl.tomsknet.ru X-Comment-To: Marcin Wisnicki User-Agent: slrn/0.9.9p1 (FreeBSD) Subject: Re: FreeBSD problems and preliminary ways to solve X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vadim_nuclight@mail.ru List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Aug 2011 20:24:09 -0000 Hi Marcin Wisnicki! On Mon, 22 Aug 2011 18:33:45 +0000 (UTC); Marcin Wisnicki wrote about 'Re: FreeBSD problems and preliminary ways to solve': >>>1) No pkg and pkg-devel versions. The -devel version is headers, static >>> libs, programmer examples, etc. not needed in production (we could >>> say this part is what is actually depended on in B-deps). >> >> Xorg is partially broken up in this way. In general, it is up to the >> ports' maintainers to do this - the FreeBSD project just hosts the ports >> infrastructure, it's up to maintainers to supply and maintain the actual >> ports. Note that requiring both pkg and pkg-devel versions of ports >> significantly increases maintainer effort for little (to them) perceived >> value. Also, I find having separate pkg and pkg-devel versions a real >> PITA - I regularly find that information i need is missing from the pkg >> file and I have to dig out the missing files. >> >> Out of interest, what is the rationale behind this requirement. > I too find lack of -devel packages as one of freebsd strengths not > weaknesses. > Such separation is also very specific to certain languages like C/C++. > However to provide a middle-ground solution I once proposed installation > filters based on patterns, which would give ability to not have unwanted > files essentially for free (just small changes in pkg_* and ports/Mk). > For example there could be a standard filter group called "devel" that > includes "include/**" and "lib/**.a". That's simple, but won't work for all cases. For example, aforementioned example of glib and perl will nit be catched. Also, this exclusion is blind: it's better for maintainer to flag group of files as not needed. > Packages would have ability to exclude/include additional files to any > group if needed using pkg-plist directives. > Similar patterns could be defined for docs, localizations, etc. > User would set which groups of files he wants to exclude during > installation or after it. That's sounds more like OPTIONS and more likely will work. -- WBR, Vadim Goncharov. ICQ#166852181 mailto:vadim_nuclight@mail.ru [Anti-Greenpeace][Sober FreeBSD zealot][http://nuclight.livejournal.com]