From owner-freebsd-ports@FreeBSD.ORG Fri Mar 20 21:47:06 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB88B1065676 for ; Fri, 20 Mar 2009 21:47:06 +0000 (UTC) (envelope-from steven@hudson-trading.com) Received: from exprod7og117.obsmtp.com (exprod7og117.obsmtp.com [64.18.2.6]) by mx1.freebsd.org (Postfix) with SMTP id 460948FC1A for ; Fri, 20 Mar 2009 21:47:06 +0000 (UTC) (envelope-from steven@hudson-trading.com) Received: from source ([74.125.46.152]) by exprod7ob117.postini.com ([64.18.6.12]) with SMTP ID DSNKScQO2bRuPY97J2xssygfhdZwTpZpWLDe@postini.com; Fri, 20 Mar 2009 14:47:06 PDT Received: by yw-out-1718.google.com with SMTP id 5so867016ywm.70 for ; Fri, 20 Mar 2009 14:47:05 -0700 (PDT) Received: by 10.100.132.4 with SMTP id f4mr3353683and.16.1237585625465; Fri, 20 Mar 2009 14:47:05 -0700 (PDT) Received: from ?10.2.200.231? ([209.249.190.8]) by mx.google.com with ESMTPS id 21sm4171145agd.67.2009.03.20.14.47.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 20 Mar 2009 14:47:04 -0700 (PDT) Sender: Steven Kreuzer Message-Id: From: Steven Kreuzer To: Cynthia Flynn <1cynthia2flynn3@telus.net> In-Reply-To: <49C4098A.6030200@telus.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Fri, 20 Mar 2009 17:47:02 -0400 References: <49C00745.1050607@telus.net> <20090318001138.GF95451@onelab2.iet.unipi.it> <20090318113023.7bc51ef4@ernst.jennejohn.org> <49c1fd04.Ul73kIip/JpE7k7C%perryh@pluto.rain.com> <830D8719-1F55-4BE7-B6D5-3C711F2D57C1@exit2shell.com> <49C4098A.6030200@telus.net> X-Mailer: Apple Mail (2.930.3) Cc: ports@freebsd.org Subject: Re: mtools vs X11 (Re: FreeBSD Port: syslinux-3.72) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 21:47:07 -0000 On Mar 20, 2009, at 5:24 PM, Cynthia Flynn wrote: > Steven Kreuzer wrote: >> On Mar 19, 2009, at 4:06 AM, perryh@pluto.rain.com wrote: >>> Gary Jennejohn wrote: >>>> Luigi Rizzo wrote: >>>>> ... Cynthia Flynn wrote: >>>> [snip - syslinux pulls in too much X11 stuff] >>>>> I think the extra dependencies that you find listed for syslinux: >>>>> [snip] >>>>> come directly from mtools ... >>>> >>>> Yeah. It looks like mtools uses X11 by default, which IMHO is >>>> incorrect. Instead it should have an option to turn X11 _on_, >>>> rather than one for turning it _off_, as it currently does. >>> >>> IMO it is a POLA violation for mtools to depend on X11 *at all*. >>> >>> Instead of having an option, maybe the port should be split so that >>> mtools itself just provides the code to access FAT filesystems, and >>> (say) mtools-gui does the fancy display stuff. >> mtools already supports WITHOUT_X11 so if you don't want the GUI >> stuff, you can build the port >> without it. Personally, I think it makes more sense for mtools to >> be the full and complete representation >> of the actual program. > > Can someone confirm for me that a normal port install of mtools > brings up a configuration menu in which the WITHOUT_X11 option can > be set? I do not remember seeing any such thing, but it has probably > been 6 months since I last tried it. when you do a make install for the mtools port, it does not prompt you if you would like to build the port without X11. This can be enabled by passing -DWITHOUT_X11 to make, or adding WITHOUT_X11=yes to make.conf to apply it to all ports that you build on that system > Perhaps I am not as typical a user as I thought, and you folks > certainly aren't obligated to address the requirements of niche > users, but if the setting of WITHOUT_X11 is not clearly presented > for setting during a normal port install then I would humbly suggest > that for all practical purposes it doesn't exist for most users. Can we consider people who use the CLI an advanced user? If so, the expectation that they will be able to build a port with -DWITHOUT_X11 is not unreasonable. People who are more likely to use the GUI are the ones who will not be aware of the WITHOUT_X11 knob. -- Steven Kreuzer http://www.exit2shell.com/~skreuzer