From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0E0D4158094 for ; Tue, 26 Jul 2022 20:36:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4CD90E09EA; Tue, 26 Jul 2022 20:36:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 23B62E09EA for ; Tue, 26 Jul 2022 20:36:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B16E93408CF for ; Tue, 26 Jul 2022 20:36:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DE864527 for ; Tue, 26 Jul 2022 20:36:35 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1658867697.7dea592a9f4b5d2d06f26391dd8a62f7c9428215.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/gvim/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/gvim/gvim-9999.ebuild X-VCS-Directories: app-editors/gvim/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7dea592a9f4b5d2d06f26391dd8a62f7c9428215 X-VCS-Branch: master Date: Tue, 26 Jul 2022 20:36:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 853e97ab-b943-40b6-8a71-764c128b37e7 X-Archives-Hash: f2c3a6abfec85e615b6b4576b6f8f1f2 commit: 7dea592a9f4b5d2d06f26391dd8a62f7c9428215 Author: Thomas Bracht Laumann Jespersen laumann xyz> AuthorDate: Thu Jul 21 21:15:32 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jul 26 20:34:57 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dea592a 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 laumann.xyz> Closes: https://github.com/gentoo/gentoo/pull/26512 Signed-off-by: Sam James gentoo.org> app-editors/gvim/gvim-9999.ebuild | 43 ++++++++------------------------------- 1 file changed, 8 insertions(+), 35 deletions(-) diff --git a/app-editors/gvim/gvim-9999.ebuild b/app-editors/gvim/gvim-9999.ebuild index 99018e02a288..aaab6e09d27d 100644 --- a/app-editors/gvim/gvim-9999.ebuild +++ b/app-editors/gvim/gvim-9999.ebuild @@ -29,10 +29,11 @@ HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim" LICENSE="vim" SLOT="0" -IUSE="acl aqua crypt cscope debug gtk gtk2 lua motif neXt netbeans nls perl python racket ruby selinux session sound tcl" +IUSE="acl aqua crypt cscope debug lua motif netbeans nls perl python racket ruby selinux session sound tcl" REQUIRED_USE=" lua? ( ${LUA_REQUIRED_USE} ) python? ( ${PYTHON_REQUIRED_USE} ) + aqua? ( !motif ) " RDEPEND=" @@ -45,23 +46,11 @@ RDEPEND=" x11-libs/libXt acl? ( kernel_linux? ( sys-apps/acl ) ) !aqua? ( - gtk? ( + motif? ( >=x11-libs/motif-2.3:0 ) + !motif? ( x11-libs/gtk+:3 x11-libs/libXft ) - !gtk? ( - gtk2? ( - >=x11-libs/gtk+-2.6:2 - x11-libs/libXft - ) - !gtk2? ( - motif? ( >=x11-libs/motif-2.3:0 ) - !motif? ( - neXt? ( x11-libs/neXtaw ) - !neXt? ( x11-libs/libXaw ) - ) - ) - ) ) crypt? ( dev-libs/libsodium:= ) cscope? ( dev-util/cscope ) @@ -227,13 +216,7 @@ src_configure() { ) fi - # gvim's GUI preference order is as follows: - # aqua CARBON (not tested) - # -aqua gtk GTK3 - # -aqua -gtk gtk2 GTK2 - # -aqua -gtk -gtk motif MOTIF - # -aqua -gtk -gtk -motif neXt NEXTAW - # -aqua -gtk -gtk -motif -neXt ATHENA + # Default is gtk unless aqua or motif are enabled echo ; echo if use aqua; then einfo "Building gvim with the Carbon GUI" @@ -241,23 +224,13 @@ src_configure() { --enable-darwin --enable-gui=carbon ) - elif use gtk; then - myconf+=( --enable-gtk3-check ) - einfo "Building gvim with the gtk+-3 GUI" - myconf+=( --enable-gui=gtk3 ) - elif use gtk2; then - myconf+=( --enable-gtk2-check ) - einfo "Building gvim with the gtk+-2 GUI" - myconf+=( --enable-gui=gtk2 ) elif use motif; then einfo "Building gvim with the MOTIF GUI" myconf+=( --enable-gui=motif ) - elif use neXt; then - einfo "Building gvim with the neXtaw GUI" - myconf+=( --enable-gui=nextaw ) else - einfo "Building gvim with the Athena GUI" - myconf+=( --enable-gui=athena ) + myconf+=( --enable-gtk3-check ) + einfo "Building gvim with the gtk+-3 GUI" + myconf+=( --enable-gui=gtk3 ) fi echo ; echo