Thanks to Hu at https://forums.gentoo.org/viewtopic-p-8727701.html for doing the in depth research on gvim's website, apparently gvim has suddenly dropped nextaw and athena toolkit support due to validation errors they caught. Probably should reflect this in our ebuild and ensure people do not try to build gvim without gtk or motif support.
I tested motif support and it gave a warning but otherwise appears to be functional. I do not know anything about aqua/carbon.
Steps to Reproduce:
1. Build gvim with USE=-aqua -gtk -gtk2 -motif
2. Run resultant gvim binary
gvim will no longer start with the GUI and dump an error on the terminal:
E25: GUI cannot be used: Not enabled at compile time
gvim should bring up a GUI window
As I don't think we can add support back, the proposal is to rewrite the ebuild logic to ensure a supported USE combination is enforced so that users don't build a binary that's nonfunctional.
Perhaps make one of gtk or motif as default, but error out if none of the supported toolkits are specified.
(In reply to Ben from comment #1)
> As I don't think we can add support back, the proposal is to rewrite the
> ebuild logic to ensure a supported USE combination is enforced so that users
> don't build a binary that's nonfunctional.
@Ben, thanks for reporting.
> Perhaps make one of gtk or motif as default, but error out if none of the
> supported toolkits are specified.
I think for now we'll just have to drop neXt and athena as options, and pick one as the default? I would maybe lean towards gtk.
The bug has been referenced in the following commit(s):
Author: Thomas Bracht Laumann Jespersen <firstname.lastname@example.org>
AuthorDate: 2022-07-21 21:15:32 +0000
Commit: Sam James <email@example.com>
CommitDate: 2022-07-26 20:34:57 +0000
app-editors/gvim: drop gtk2, nextaw, athena GUIs
The Athena GUI was reported as not working in version 8.2.4514
Support for Athena GUI was removed in 9.0.0057. Drop the neXt use flag
as well and the gtk2 flag as gtk+2 is EOL.
Also drop the gtk use flag, and make the gtk GUI the default while still
supporting aqua and motif.
This only drops them from the live ebuild.
Signed-off-by: Thomas Bracht Laumann Jespersen <firstname.lastname@example.org>
Signed-off-by: Sam James <email@example.com>
app-editors/gvim/gvim-9999.ebuild | 43 ++++++++-------------------------------
1 file changed, 8 insertions(+), 35 deletions(-)