commit:     18d80c61edb19387b5b3e58177daed1369df5a97
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 23 11:47:51 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 23 11:48:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18d80c61

app-editors/gvim: always needs gtk+[X]

Closes: https://bugs.gentoo.org/967878
Fixes: 65a9d253fdf9c5d58af13e9f1cde8775ca1a432f
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-editors/gvim/gvim-9.1.1652-r2.ebuild | 6 ++----
 app-editors/gvim/gvim-9999.ebuild        | 6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/app-editors/gvim/gvim-9.1.1652-r2.ebuild 
b/app-editors/gvim/gvim-9.1.1652-r2.ebuild
index 1019c87ac39a..80141971f609 100644
--- a/app-editors/gvim/gvim-9.1.1652-r2.ebuild
+++ b/app-editors/gvim/gvim-9.1.1652-r2.ebuild
@@ -34,7 +34,7 @@ S="${WORKDIR}"/vim-${PV}
 
 LICENSE="vim"
 SLOT="0"
-IUSE="acl crypt cscope debug lua minimal motif netbeans nls perl python racket 
ruby selinux session sound tcl wayland X ${GENTOO_PERL_USESTRING}"
+IUSE="acl crypt cscope debug lua minimal motif netbeans nls perl python racket 
ruby selinux session sound tcl wayland ${GENTOO_PERL_USESTRING}"
 REQUIRED_USE="
        lua? ( ${LUA_REQUIRED_USE} )
        python? ( ${PYTHON_REQUIRED_USE} )
@@ -51,7 +51,7 @@ RDEPEND="
        acl? ( kernel_linux? ( sys-apps/acl ) )
        motif? ( >=x11-libs/motif-2.3:0 )
        !motif? (
-               x11-libs/gtk+:3[X?]
+               x11-libs/gtk+:3[X]
                x11-libs/libXft
        )
        crypt? ( dev-libs/libsodium:= )
@@ -232,8 +232,6 @@ src_configure() {
                myconf+=( --enable-gtk3-check )
                einfo "Building gvim with the gtk+-3 GUI"
                myconf+=( --enable-gui=gtk3 )
-
-               use X || append-flags -DGENTOO_GTK_HIDE_X11
        fi
        echo ; echo
 

diff --git a/app-editors/gvim/gvim-9999.ebuild 
b/app-editors/gvim/gvim-9999.ebuild
index 755536452910..9430dec38ef6 100644
--- a/app-editors/gvim/gvim-9999.ebuild
+++ b/app-editors/gvim/gvim-9999.ebuild
@@ -34,7 +34,7 @@ S="${WORKDIR}"/vim-${PV}
 
 LICENSE="vim"
 SLOT="0"
-IUSE="acl crypt cscope debug lua minimal motif netbeans nls perl python racket 
ruby selinux session sound tcl wayland X ${GENTOO_PERL_USESTRING}"
+IUSE="acl crypt cscope debug lua minimal motif netbeans nls perl python racket 
ruby selinux session sound tcl wayland ${GENTOO_PERL_USESTRING}"
 REQUIRED_USE="
        lua? ( ${LUA_REQUIRED_USE} )
        python? ( ${PYTHON_REQUIRED_USE} )
@@ -51,7 +51,7 @@ RDEPEND="
        acl? ( kernel_linux? ( sys-apps/acl ) )
        motif? ( >=x11-libs/motif-2.3:0 )
        !motif? (
-               x11-libs/gtk+:3[X?]
+               x11-libs/gtk+:3[X]
                x11-libs/libXft
        )
        crypt? ( dev-libs/libsodium:= )
@@ -232,8 +232,6 @@ src_configure() {
                myconf+=( --enable-gtk3-check )
                einfo "Building gvim with the gtk+-3 GUI"
                myconf+=( --enable-gui=gtk3 )
-
-               use X || append-flags -DGENTOO_GTK_HIDE_X11
        fi
        echo ; echo
 

Reply via email to