From owner-svn-ports-all@freebsd.org Tue Jun 12 17:59:02 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA059100D6F9; Tue, 12 Jun 2018 17:59:02 +0000 (UTC) (envelope-from yuri@freebsd.org) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 38D4A71C2F; Tue, 12 Jun 2018 17:59:02 +0000 (UTC) (envelope-from yuri@freebsd.org) Received: from yv.noip.me (c-24-4-131-132.hsd1.ca.comcast.net [24.4.131.132]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id w5CHwsUr024927 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 12 Jun 2018 10:58:55 -0700 (PDT) (envelope-from yuri@freebsd.org) X-Authentication-Warning: shell1.rawbw.com: Host c-24-4-131-132.hsd1.ca.comcast.net [24.4.131.132] claimed to be yv.noip.me Reply-To: yuri@freebsd.org Subject: Re: svn commit: r472232 - in head/x11-toolkits/wxgtk31: . files To: Alexey Dokuchaev Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org References: <201806120717.w5C7HA1e005551@repo.freebsd.org> <20180612113434.GA75210@FreeBSD.org> From: Yuri Message-ID: Date: Tue, 12 Jun 2018 10:58:53 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180612113434.GA75210@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2018 17:59:03 -0000 On 06/12/18 04:34, Alexey Dokuchaev wrote: > Can we have both GTK+2/3 support? OPTION would be nice. I have a port > that was blocked by lack of wxgtk31, but GTK+3 is a no-go for me.:-( If to make Gtk2 vs. Gtk3 choice to be a flavor, so that individual ports would be able to select the flavor, this would be impossible. wxWidgets isn't designed to be concurrently installed for Gtk2/Gtk3. There are files that wxWidgets installs that aren't labeled with "gtkN", and there obviously would be conflicts between the packages if they would choose different flavors. If to make Gtk2 vs. Gtk3 choice to be a port option, then virtually all users would just stay with Gtk3, because there would be no reasons functionality-wise to choose Gtk2. So you would likely be the only user of the Gtk2 option, and this option would not be for the benefit of users. Please note that Gtk2 is end-of-lifed and de-facto provides no benefits to users if compared to Gtk3. If you just want to use wxWidgets for the port, you only need to set USE_WX=3.1, and then use ${WX_CONFIG} and ${WXRC_CMD} to configure the project. If some project hard-codes the config name executables, this is a bug in that project. Please report the bug to them, and ask them to add a configuration option(s) so that wxWidgets config executables can be passed through them, and not hard-coded. Gtk2/Gtk3 choice is nicely abstracted away from the users, and there should be no reason to break this abstraction and bring the gtk notion into the ports using wxWidgets. Yuri