svn commit: r472232 - in head/x11-toolkits/wxgtk31: . files
Yuri
yuri at freebsd.org
Tue Jun 12 17:59:03 UTC 2018
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
More information about the svn-ports-head
mailing list