|Summary:||>=app-editors/gvim-8.2.4586 upstream no longer supports using nextaw or athena graphics toolkits|
|Product:||Gentoo Linux||Reporter:||Ben <blc+gentoo>|
|Component:||Current packages||Assignee:||Oskari Pirhonen <xxc3ncoredxx>|
|Severity:||normal||CC:||proxy-maint, t, vim|
|Package list:||Runtime testing required:||---|
Description Ben 2022-07-18 15:41:36 UTC
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. Reproducible: Always Steps to Reproduce: 1. Build gvim with USE=-aqua -gtk -gtk2 -motif 2. Run resultant gvim binary 3. Actual Results: 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 Expected Results: gvim should bring up a GUI window
Comment 1 Ben 2022-07-19 09:14:02 UTC
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.
Comment 2 Thomas Bracht Laumann Jespersen 2022-07-19 14:42:57 UTC
(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.
Comment 3 Larry the Git Cow 2022-07-26 20:36:34 UTC
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dea592a9f4b5d2d06f26391dd8a62f7c9428215 commit 7dea592a9f4b5d2d06f26391dd8a62f7c9428215 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. See: https://github.com/vim/vim/issues/9894#issuecomment-1060673495 See: https://github.com/vim/vim/commit/0b40d086b337f14fdd0dbc035988ffb0aec8ce5f Bug: https://bugs.gentoo.org/858830 Bug: https://bugs.gentoo.org/831250 Signed-off-by: Thomas Bracht Laumann Jespersen <firstname.lastname@example.org> Closes: https://github.com/gentoo/gentoo/pull/26512 Signed-off-by: Sam James <email@example.com> app-editors/gvim/gvim-9999.ebuild | 43 ++++++++------------------------------- 1 file changed, 8 insertions(+), 35 deletions(-)