From ca04d6ced133032012ad03bb7cdf7e7ebc2f968e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Oth=C3=B3n=20Mart=C3=ADnez=20Vera?= Date: Fri, 5 Dec 2025 16:25:45 -0600 Subject: [PATCH] app-emulation/open-vm-tools: ask to remove old x11-drivers/xf86-video-vmware driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After upgrading to Mesa 25.2 and up, the old vmware video driver could still be installed in the system, and it won't allow to use the modesetting video driver. Signed-off-by: Cristian Othón Martínez Vera Part-of: https://github.com/gentoo/gentoo/pull/44920 Signed-off-by: Sam James --- app-emulation/open-vm-tools/open-vm-tools-12.4.5-r3.ebuild | 4 ++++ app-emulation/open-vm-tools/open-vm-tools-12.5.0-r5.ebuild | 4 ++++ app-emulation/open-vm-tools/open-vm-tools-13.0.5-r1.ebuild | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/app-emulation/open-vm-tools/open-vm-tools-12.4.5-r3.ebuild b/app-emulation/open-vm-tools/open-vm-tools-12.4.5-r3.ebuild index f9a9997920592..94a3693661d82 100644 --- a/app-emulation/open-vm-tools/open-vm-tools-12.4.5-r3.ebuild +++ b/app-emulation/open-vm-tools/open-vm-tools-12.4.5-r3.ebuild @@ -159,6 +159,10 @@ src_install() { pkg_postinst() { udev_reload + + if has_version ">=media-libs/mesa-25.2" && has_version "x11-drivers/xf86-video-vmare"; then + elog "You need to remove x11-drivers/xf86-video-vmware to use the modesetting video driver." + fi } pkg_postrm() { diff --git a/app-emulation/open-vm-tools/open-vm-tools-12.5.0-r5.ebuild b/app-emulation/open-vm-tools/open-vm-tools-12.5.0-r5.ebuild index 6421af58a6631..f034321918f23 100644 --- a/app-emulation/open-vm-tools/open-vm-tools-12.5.0-r5.ebuild +++ b/app-emulation/open-vm-tools/open-vm-tools-12.5.0-r5.ebuild @@ -160,6 +160,10 @@ src_install() { pkg_postinst() { udev_reload + + if has_version ">=media-libs/mesa-25.2" && has_version "x11-drivers/xf86-video-vmare"; then + elog "You need to remove x11-drivers/xf86-video-vmware to use the modesetting video driver." + fi } pkg_postrm() { diff --git a/app-emulation/open-vm-tools/open-vm-tools-13.0.5-r1.ebuild b/app-emulation/open-vm-tools/open-vm-tools-13.0.5-r1.ebuild index ccfe2d00e541e..5a2cbafad47aa 100644 --- a/app-emulation/open-vm-tools/open-vm-tools-13.0.5-r1.ebuild +++ b/app-emulation/open-vm-tools/open-vm-tools-13.0.5-r1.ebuild @@ -157,6 +157,10 @@ src_install() { pkg_postinst() { udev_reload + + if has_version ">=media-libs/mesa-25.2" && has_version "x11-drivers/xf86-video-vmare"; then + elog "You need to remove x11-drivers/xf86-video-vmware to use the modesetting video driver." + fi } pkg_postrm() {