From owner-freebsd-ports@FreeBSD.ORG Fri Jun 7 13:42:48 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D35602C0 for ; Fri, 7 Jun 2013 13:42:48 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wg0-x231.google.com (mail-wg0-x231.google.com [IPv6:2a00:1450:400c:c00::231]) by mx1.freebsd.org (Postfix) with ESMTP id 67DD61FBB for ; Fri, 7 Jun 2013 13:42:48 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id a12so1287473wgh.4 for ; Fri, 07 Jun 2013 06:42:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=xRgPinp1HmOff8OkSWGOj4GVnnPvJu0l20E0S7akO6Y=; b=nzOevtvd+QcblxLGoLaR214rwi4K8+823jh9NMU0npma5y1hMk5WaEkykzn3E8durg kOUjXe6V0ON86rt3NBlGmOGbeXm7OavMBR/wpD9A1o3W5ATn7cpG3YkYQBQAVOBpMH/O EQnUweunG/84Mgwggc1L3VJBV83DIKpeCLw4KoUbshgcROkmGIcIlbYDbdLzW7ZtPUOO af3AY3GsdZrMkEDm+ydwakpz+SGdzk1hPem6P5S+69qqFaKWVtI6cSi6VYs9d5BslUbZ qpyee98Mh5oN+KczMHWyziYvp54OFl1n+OTGiKFlHIHEz8gXcD60oLwk2bUH3k39FHiK GqCA== X-Received: by 10.194.9.70 with SMTP id x6mr35677643wja.19.1370612567534; Fri, 07 Jun 2013 06:42:47 -0700 (PDT) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id fv11sm22696776wic.11.2013.06.07.06.42.46 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 07 Jun 2013 06:42:46 -0700 (PDT) Sender: Baptiste Daroussin Date: Fri, 7 Jun 2013 15:42:44 +0200 From: Baptiste Daroussin To: Tijl Coosemans Subject: Re: [HEADSUP] dialog4ports does not popup anymore only for global options Message-ID: <20130607134244.GL35160@ithaqua.etoilebsd.net> References: <20130607081210.GD35160@ithaqua.etoilebsd.net> <51B1A5D8.8070906@gmail.com> <20130607094227.GE35160@ithaqua.etoilebsd.net> <51B1B2D5.8020901@gmail.com> <20130607101758.GF35160@ithaqua.etoilebsd.net> <51B1B9F0.2030206@coosemans.org> <20130607113959.GI35160@ithaqua.etoilebsd.net> <51B1E067.8070204@coosemans.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0qVF/w3MHQqLSynd" Content-Disposition: inline In-Reply-To: <51B1E067.8070204@coosemans.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@FreeBSD.org, Vitaly Magerya X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 13:42:48 -0000 --0qVF/w3MHQqLSynd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 07, 2013 at 03:30:15PM +0200, Tijl Coosemans wrote: > On 2013-06-07 13:40, Baptiste Daroussin wrote: > > On Fri, Jun 07, 2013 at 12:46:08PM +0200, Tijl Coosemans wrote: > >> On 2013-06-07 12:17, Baptiste Daroussin wrote: > >>> On Fri, Jun 07, 2013 at 01:15:49PM +0300, Vitaly Magerya wrote: > >>>> Baptiste Daroussin wrote: > >>>>>> Is it possible to still show the dialog if one of those options im= plies > >>>>>> additional dependencies? > >>>>>> > >>>>>> If not, what should those of us who do not want them installed do? > >>>>> > >>>>> make config will always show those options so you can always tune t= hem. > >>>>> > >>>>> just make config-conditional will not fireup a new dialog automatic= ally if the > >>>>> defined options are only those from the global options. > >>>> > >>>> I see. As far as I can tell though, and correct me if I'm wrong, but > >>>> 'make install' doesn't show those options. It also does not show tho= se > >>>> options for dependent ports. Neither does 'make config-recursive'. > >>>> > >>>> Tools like portmaster will now ignore those as well during install a= nd > >>>> reinstall. > >>>> > >>>> So, again, what are my options if I don't want dependencies to be pu= lled > >>>> in silently? > >>> > >>> You have no options and you never had one in the ports tree sorry. > >>> > >>> If you have a way to implement that cleanly, I'll be happy to push su= ch features > >>> in the ports but really I see a way to do what you ask for. > >> > >> How about only suppressing the dialog if the options have been explici= tly > >> set or unset in make.conf? > > > > That would be easy but is that a really desired feature? >=20 > I can only speak for myself, but I don't see DOCS as a global option. > For some ports I want documentation, for others I don't, so I want the > dialog to show up even if DOCS is the only option. >=20 > There doesn't seem to be a clear cut line between global and per port > options and different users have different opinions about it. >=20 > Can you make it such that config-conditional suppresses the dialog > if all options have been explicitly set or unset either through > command line, make.conf or optionsfile? Or in other words only show > the dialog if one of the options falls back to a default value (e.g. > when a new option has been added to a port and that option has not > been set globally). >=20 > I think that would allow anyone to set/unset any option globally and > not be bothered by dialogs without enforcing that view on everybody > else. You wouldn't need GLOBAL_OPTIONS any more then. >=20 Ok so I misunderstood at first. That looks not easy to do, and I'm a bit borred with hacking the options. If someone do something in that direction, I'll be happy to review and help= , but honnestly I don't plan to do it myself. regads, Bapt --0qVF/w3MHQqLSynd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlGx41QACgkQ8kTtMUmk6EwkgwCgsF9VpyOTO544juVwatvX8uj8 h1UAn3xXnBoaeijyz+kDVy/vYivFlUFG =yChF -----END PGP SIGNATURE----- --0qVF/w3MHQqLSynd--