Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831250 - app-editors/gvim: Drop IUSE=gtk2 and conditional x11-libs/gtk+:2 dependency
Summary: app-editors/gvim: Drop IUSE=gtk2 and conditional x11-libs/gtk+:2 dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gtk2-removal
  Show dependency tree
 
Reported: 2022-01-15 12:30 UTC by Andreas Sturmlechner
Modified: 2022-10-08 22:15 UTC (History)
1 user (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 Andreas Sturmlechner gentoo-dev 2022-01-15 12:30:51 UTC
x11-libs/gtk+:2 is EOL.
Comment 1 Larry the Git Cow gentoo-dev 2022-07-26 20:36:35 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(-)
Comment 2 Philip Webb 2022-08-21 16:47:57 UTC
After updating to Gvim-9.0.0099 , I found that Gvim wouldn't start, saying :
"E25: GUI cannot be used: Not enabled at compile time".
I noticed the 'gtk+' flags had been dropped & checked the emerge log :
emerge had defaulted to the Motif GUI.  I then emerged with USE="-motif",
when emerge used the Gtk+:3 GUI & Gvim started as usual.

I'm not sure why the 'gtk+' flag has been dropped : Gtk+:3 is long-term.
Perhaps it needs to be restored to the ebuild.

I can provide further info if needed.
Comment 3 Andreas Sturmlechner gentoo-dev 2022-08-21 17:14:36 UTC
(In reply to Philip Webb from comment #2)
> After updating to Gvim-9.0.0099 , I found that Gvim wouldn't start, saying :
> "E25: GUI cannot be used: Not enabled at compile time".
> I noticed the 'gtk+' flags had been dropped & checked the emerge log :
> emerge had defaulted to the Motif GUI.  I then emerged with USE="-motif",
> when emerge used the Gtk+:3 GUI & Gvim started as usual.
No, motif is disabled by default.

GTK *is* the default, unless you enable motif yourself.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-08 22:15:11 UTC
All versions in tree now lack gtk2.