public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/vim] rawhide: Switch back to GTK 3 until GTK 4 is no longer experimental
@ 2026-11-09 14:25 Zdenek Dohnal
  0 siblings, 0 replies; only message in thread
From: Zdenek Dohnal @ 2026-11-09 14:25 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/vim
            Branch : rawhide
            Commit : 0a69bfb3b5ccea267428da76a91144f639f50951
            Author : Zdenek Dohnal <zdohnal@redhat.com>
            Date   : 2026-11-09T15:25:19+01:00
            Stats  : +7/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/vim/c/0a69bfb3b5ccea267428da76a91144f639f50951?branch=rawhide

            Log:
            Switch back to GTK 3 until GTK 4 is no longer experimental

GTK 4 support has opened rendering bugs and missing functionality
at the moment after testing period in rawhide and hard work
of people in Vim project.

Due those bugs (where some might be caused by issues in deprecated
X11 backend in GTK 4, which would cause issues on X11 desktops) and
upstream continues to mark GTK 4 support as experimental, I'll switch
to GTK 3.

---
diff --git a/vim.spec b/vim.spec
index 581fb14..7faa5d7 100644
--- a/vim.spec
+++ b/vim.spec
@@ -1,4 +1,7 @@
 %bcond hunspell         0
+# switch to gtk4 once it is no longer experimental upstream
+# see https://github.com/vim/vim/blob/master/runtime/doc/version9.txt
+%bcond gtk4             0
 
 %bcond flakytests       1
 %bcond gui              1
@@ -15,9 +18,6 @@
 
 %bcond desktop_file     %{with gui}
 
-%if 0%{?fedora} >= 45
-%bcond gtk4             1
-%endif
 
 # VIm upstream wants to build with FORTIFY_SOURCE=1,
 # because higher levels causes crashes of valid code constructs
@@ -40,7 +40,7 @@ Summary: The VIM editor
 URL:     https://www.vim.org/
 Name: vim
 Version: %{baseversion}.%{patchlevel}
-Release: 1%{?dist}
+Release: 2%{?dist}
 Epoch: 2
 # swift.vim contains Apache 2.0 with runtime library exception:
 # which is taken as Apache-2.0 WITH Swift-exception - reported to legal as https://gitlab.com/fedora/legal/fedora-license-data/-/issues/188
@@ -1066,6 +1066,9 @@ install -p -m644 %{SOURCE11} %{buildroot}/%{_datadir}/fish/vendor_conf.d/vim-def
 
 
 %changelog
+* Mon Nov 09 2026 Zdenek Dohnal <zdohnal@redhat.com> - 2:9.2.1302-2
+- switch back to GTK 3
+
 * Fri Nov 06 2026 Zdenek Dohnal <zdohnal@redhat.com> - 2:9.2.1302-1
 - patchlevel 1302 (fedora#2568065)
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-09 14:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 14:25 [rpms/vim] rawhide: Switch back to GTK 3 until GTK 4 is no longer experimental Zdenek Dohnal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox