commit:     ca04d6ced133032012ad03bb7cdf7e7ebc2f968e
Author:     Cristian Othón Martínez Vera <cfuga <AT> cfuga <DOT> mx>
AuthorDate: Fri Dec  5 22:25:45 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 12:53:45 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca04d6ce

app-emulation/open-vm-tools: ask to remove old x11-drivers/xf86-video-vmware 
driver

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 <cfuga <AT> cfuga.mx>
Part-of: https://github.com/gentoo/gentoo/pull/44920
Signed-off-by: Sam James <sam <AT> gentoo.org>

 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 f9a999792059..94a3693661d8 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 6421af58a663..f034321918f2 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 ccfe2d00e541..5a2cbafad47a 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() {

Reply via email to