Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 858830 - >=app-editors/gvim-8.2.4586 upstream no longer supports using nextaw or athena graphics toolkits
Summary: >=app-editors/gvim-8.2.4586 upstream no longer supports using nextaw or athen...
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Oskari Pirhonen
URL: https://github.com/vim/vim/issues/9894
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-07-18 15:41 UTC by Ben
Modified: 2023-02-10 04:29 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 gentoo-dev 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 <t@laumann.xyz>
AuthorDate: 2022-07-21 21:15:32 +0000
Commit:     Sam James <sam@gentoo.org>
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 <t@laumann.xyz>
    Closes: https://github.com/gentoo/gentoo/pull/26512
    Signed-off-by: Sam James <sam@gentoo.org>

 app-editors/gvim/gvim-9999.ebuild | 43 ++++++++-------------------------------
 1 file changed, 8 insertions(+), 35 deletions(-)