Date: Tue, 12 Jun 2018 10:58:53 -0700 From: Yuri <yuri@freebsd.org> To: Alexey Dokuchaev <danfe@freebsd.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r472232 - in head/x11-toolkits/wxgtk31: . files Message-ID: <bc464af3-a9fc-91b5-90df-4cfeb96253d2@freebsd.org> In-Reply-To: <20180612113434.GA75210@FreeBSD.org> References: <201806120717.w5C7HA1e005551@repo.freebsd.org> <20180612113434.GA75210@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bc464af3-a9fc-91b5-90df-4cfeb96253d2>