Bug 2379759 - remove wayland-libs from vim and vi
Summary: remove wayland-libs from vim and vi
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 42
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-13 13:20 UTC by Villy Kruse
Modified: 2025-09-03 08:04 UTC (History)
4 users (show)

Fixed In Version: vim-9.1.1537-2.fc43 vim-9.1.1537-2.fc42 vim-9.1.1537-2.fc41
Clone Of:
Environment:
Last Closed: 2025-07-14 15:59:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Villy Kruse 2025-07-13 13:20:17 UTC
When upgrading vim-enhanced to vim-enhanced-9.1.1537-1.fc42.x86_64 on a system with no graphics installed, a bunch of new Wayland and X11 are being included in the update.

Apparently, the ./configure got a new flag "--with-wayland" which would be useful for compiling gvim, but not of vim.

Reproducible: Always

Comment 1 Zdenek Dohnal 2025-07-14 07:17:45 UTC
Hi Villy,

thank you for the report!

I see even vim-minimal is affected, I will do the rebuild today, thanks!

Comment 2 Zdenek Dohnal 2025-07-14 07:39:52 UTC
I have added '--without-wayland' to Vim and Vi configure scripts, GVim '--with-wayland'.

Additionally I saw new option --enable-year2038 which should make timestamps working after 2038 as well, so I have added it too into all subpackages in advance.

Comment 3 Fedora Update System 2025-07-14 08:02:44 UTC
FEDORA-2025-f0f8275a18 (vim-9.1.1537-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-f0f8275a18

Comment 4 Fedora Update System 2025-07-14 08:24:33 UTC
FEDORA-2025-1ca36bec08 (vim-9.1.1537-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-1ca36bec08

Comment 5 Fedora Update System 2025-07-14 10:16:19 UTC
FEDORA-2025-293fde6445 (vim-9.1.1537-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-293fde6445

Comment 6 Fedora Update System 2025-07-14 15:59:51 UTC
FEDORA-2025-f0f8275a18 (vim-9.1.1537-2.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2025-07-15 01:16:46 UTC
FEDORA-2025-1ca36bec08 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-1ca36bec08`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-1ca36bec08

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2025-07-15 03:11:15 UTC
FEDORA-2025-293fde6445 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-293fde6445`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-293fde6445

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2025-07-16 00:57:45 UTC
FEDORA-2025-1ca36bec08 (vim-9.1.1537-2.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2025-07-16 02:44:45 UTC
FEDORA-2025-293fde6445 (vim-9.1.1537-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Vít Ondruch 2025-09-02 11:04:36 UTC
Just FTR, I think that the explicit `--with-wayland` enforces usage of the Wayland backend, where Gvim previously used X.org. I don't mind this change, because this fixes long standing issues I had with X.org backend [1], but if somebody else notices differences described here [2].


[1]: https://github.com/vim/vim/issues/15972
[2]: https://github.com/vim/vim/blob/0ed08788a1f8ef89360e8c3dda522aaf2a4971f8/runtime/doc/gui_x11.txt#L651-L656

Comment 12 Vít Ondruch 2025-09-02 11:07:15 UTC
(In reply to Vít Ondruch from comment #11)
> I don't mind this change

Actually, saying this and trying `sudo gvim`, because I am pretty sure this relies on X.org, I have crashed my Gnome session. No good :/

Comment 13 Villy Kruse 2025-09-03 05:04:12 UTC
(In reply to Vít Ondruch from comment #11)
> Just FTR, I think that the explicit `--with-wayland` enforces usage of the
> Wayland backend, where Gvim previously used X.org.
> ...

gvim works fine in an XFCE session which is Xorg only.  Even with `--with-wayland`.

Comment 14 Vít Ondruch 2025-09-03 08:04:27 UTC
(In reply to Villy Kruse from comment #13)
> (In reply to Vít Ondruch from comment #11)
> > Just FTR, I think that the explicit `--with-wayland` enforces usage of the
> > Wayland backend, where Gvim previously used X.org.
> > ...
> 
> gvim works fine in an XFCE session which is Xorg only.  Even with
> `--with-wayland`.

Thanks for confirming. Can't reproduce the crash I have experienced. So hopefully everything is fine 🤷


Note You need to log in before you can comment on or make changes to this bug.