x11-drivers/xf86-video-vmware: Drop old versions
authorMatt Turner <mattst88@gentoo.org>
Fri, 24 Aug 2018 18:06:42 +0000 (11:06 -0700)
committerMatt Turner <mattst88@gentoo.org>
Fri, 24 Aug 2018 18:08:03 +0000 (11:08 -0700)
x11-drivers/xf86-video-vmware/Manifest
x11-drivers/xf86-video-vmware/files/xf86-video-vmware-13.0.1-damageunregister.patch [deleted file]
x11-drivers/xf86-video-vmware/files/xf86-video-vmware-13.0.1-xa-compat-2.patch [deleted file]
x11-drivers/xf86-video-vmware/files/xf86-video-vmware-13.0.1-xatracker-2.patch [deleted file]
x11-drivers/xf86-video-vmware/files/xf86-video-vmware-13.0.2-fix-includes.patch [deleted file]
x11-drivers/xf86-video-vmware/xf86-video-vmware-13.0.1-r1.ebuild [deleted file]
x11-drivers/xf86-video-vmware/xf86-video-vmware-13.0.2.ebuild [deleted file]
x11-drivers/xf86-video-vmware/xf86-video-vmware-13.1.0.ebuild [deleted file]
x11-drivers/xf86-video-vmware/xf86-video-vmware-13.2.1.ebuild [deleted file]

index 8970e1ae0cfea7000901c1cdfca6fc817e6f93b6..64e9811dce4ca39f6abb69f126d34638395d0d45 100644 (file)
@@ -1,5 +1 @@
-DIST xf86-video-vmware-13.0.1.tar.bz2 432401 BLAKE2B b529f27deec2a254862140f3e57fda471f2bca97d300c8b7d479d4a54f41c4a77703d6b2d1f33913cc6122850384f7aef9e29d8e5c3196adcd8deea5c087a9ac SHA512 2faf5fd524dffd2cd89a8b5a06b5470acbc51c3ee4f48bafc425b8e9c7c76d294201651cfb8c1d104c313885108e22abb6da736de1f3dbcf134a0926158ed147
-DIST xf86-video-vmware-13.0.2.tar.bz2 438773 BLAKE2B 49a7176813b2b399537d6e3f017765eed8309ce76661048535967cd1991700e2fbf7404a53d23459875a97fa538e77ed93aa5191090ffb09ca61528994864a54 SHA512 18d6867c0bd497d9f2aeb96d04b26fa0e3af1d37ae7628d19a8c1e829ef1df825371225c68e140d4d65097fa53178e6f1a7d3e371a623c9ef6cd98cccc0f826c
-DIST xf86-video-vmware-13.1.0.tar.bz2 459255 BLAKE2B a675ceb723c3609f87a08e0e4975e8c705feb5761db8b5ceded803ac86f8b6a73445b3daaca12f26506aed9303b8df175261f13b232e621f60ca0903c3d40dad SHA512 43d6a15e40896c793e49a1670b937e417271baff15b737b6b8cd3845bb7d2fc6354bf53cb40350caf0e7aac1e005a0fb2c9c80ce25690678b79e8e48f05f1de0
-DIST xf86-video-vmware-13.2.1.tar.bz2 470601 BLAKE2B f0ceb9d1d2c791f7bb6a88b44266949aa7e09747d051b9b0150ed791ce56d2140bb809930b439a53c72fdb698b16e61738f4253ef51010bc39c5a4540419d583 SHA512 9c48eaf5be6ece5685e07a53842083d091edba482ac0ea8318ac5b0adb9fc468f932685e4bdaf7e565f7a1cf723dcea2731616613798ebde2bbc18418a369a9d
 DIST xf86-video-vmware-13.3.0.tar.bz2 473527 BLAKE2B 8916c5d95d4347ff3e874d4131a32660777c0e3ab6808b537cbe668c30cf775ebfd2fb7900aa43f6a34d0578ceac4545614024498f6f0143e9b07035f6e99c3c SHA512 c318de893cae7b2b11e11c1b389ee47478b7c8d1f52c27099dbe453efec28f3e9da449217307a8c2251999eada66312f766996be1a6ead413b8b6dedc42c68ca
diff --git a/x11-drivers/xf86-video-vmware/files/xf86-video-vmware-13.0.1-damageunregister.patch b/x11-drivers/xf86-video-vmware/files/xf86-video-vmware-13.0.1-damageunregister.patch
deleted file mode 100644 (file)
index 0b2a8e6..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-From e26dec8f5278df74a102493bf6d2d8444dab5d6d Mon Sep 17 00:00:00 2001
-From: Gaetan Nadon <memsize@videotron.ca>
-Date: Mon, 28 Oct 2013 22:21:29 +0000
-Subject: vmwgfx: handle changes of DamageUnregister API in 1.14.99.2
-
-Fix is inspired from the intel driver.
-
-Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
-Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
----
-diff --git a/vmwgfx/vmwgfx_saa.c b/vmwgfx/vmwgfx_saa.c
-index fd80682..346e7f4 100644
---- a/vmwgfx/vmwgfx_saa.c
-+++ b/vmwgfx/vmwgfx_saa.c
-@@ -26,6 +26,7 @@
-  */
- #include <xorg-server.h>
-+#include <xorgVersion.h>
- #include <mi.h>
- #include <fb.h>
- #include <xf86drmMode.h>
-@@ -76,7 +77,12 @@ vmwgfx_pixmap_remove_damage(PixmapPtr pixmap)
-     if (!spix->damage || vpix->hw || vpix->gmr || vpix->malloc)
-       return;
-+#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,14,99,2,0)
-+    DamageUnregister(spix->damage);
-+#else
-     DamageUnregister(&pixmap->drawable, spix->damage);
-+#endif
-+
-     DamageDestroy(spix->damage);
-     spix->damage = NULL;
- }
---
-cgit v0.9.0.2-2-gbebe
diff --git a/x11-drivers/xf86-video-vmware/files/xf86-video-vmware-13.0.1-xa-compat-2.patch b/x11-drivers/xf86-video-vmware/files/xf86-video-vmware-13.0.1-xa-compat-2.patch
deleted file mode 100644 (file)
index 15f603c..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-From 93228f3dd3355a25583d22dbb96791678b93be3e Mon Sep 17 00:00:00 2001
-From: Thomas Hellstrom <thellstrom@vmware.com>
-Date: Wed, 11 Dec 2013 14:54:02 +0000
-Subject: vmwgfx: Really allow XA version 2.
-
-When XA starts to correctly advertise version 2, we didn't allow it.
-Fix this.
-
-Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
-Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
----
-diff --git a/vmwgfx/vmwgfx_driver.c b/vmwgfx/vmwgfx_driver.c
-index 6301c29..4e28097 100644
---- a/vmwgfx/vmwgfx_driver.c
-+++ b/vmwgfx/vmwgfx_driver.c
-@@ -79,7 +79,7 @@ typedef uint8_t uint8;
- #define XA_VERSION_MINOR_REQUIRED 0
- #define XA_VERSION_MAJOR_REQUIRED 1
--#define XA_VERSION_MAJOR_COMPAT 1
-+#define XA_VERSION_MAJOR_COMPAT 2
- #define DRM_VERSION_MAJOR_REQUIRED 2
- #define DRM_VERSION_MINOR_REQUIRED 3
---
-cgit v0.9.0.2-2-gbebe
diff --git a/x11-drivers/xf86-video-vmware/files/xf86-video-vmware-13.0.1-xatracker-2.patch b/x11-drivers/xf86-video-vmware/files/xf86-video-vmware-13.0.1-xatracker-2.patch
deleted file mode 100644 (file)
index 9435f06..0000000
+++ /dev/null
@@ -1,179 +0,0 @@
-From 0945bea5fc32eacb7bf42639efbd45dcd43e7ab5 Mon Sep 17 00:00:00 2001
-From: Rob Clark <robdclark@gmail.com>
-Date: Mon, 10 Jun 2013 17:31:31 +0000
-Subject: vmwgfx: update for XA API changes
-
-Signed-off-by: Rob Clark <robdclark@gmail.com>
-Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
-Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
-Tested-by: Jakob Bornecrantz <jakob@vmware.com>
----
-diff --git a/configure.ac b/configure.ac
-index 0631bcc..dccfb27 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -118,7 +118,7 @@ if test x$BUILD_VMWGFX = xyes; then
-       PKG_CHECK_MODULES([LIBDRM], [libdrm],[],[BUILD_VMWGFX=no])
- fi
- if test x$BUILD_VMWGFX = xyes; then
--      PKG_CHECK_MODULES([XATRACKER], [xatracker >= 0.4.0],[],[BUILD_VMWGFX=no])
-+      PKG_CHECK_MODULES([XATRACKER], [xatracker >= 2.0.0],[],[BUILD_VMWGFX=no])
- fi
- DRIVER_NAME=vmware
-diff --git a/vmwgfx/vmwgfx_dri2.c b/vmwgfx/vmwgfx_dri2.c
-index 7de0772..2f007f0 100644
---- a/vmwgfx/vmwgfx_dri2.c
-+++ b/vmwgfx/vmwgfx_dri2.c
-@@ -201,7 +201,8 @@ dri2_do_create_buffer(DrawablePtr pDraw, DRI2Buffer2Ptr buffer, unsigned int for
-     }
-     private->srf = srf;
--    if (xa_surface_handle(srf, &buffer->name, &buffer->pitch) != 0)
-+    if (xa_surface_handle(srf, xa_handle_type_shared,
-+          &buffer->name, &buffer->pitch) != 0)
-       return FALSE;
-     buffer->cpp = xa_format_depth(xa_surface_format(srf)) / 8;
-@@ -222,7 +223,7 @@ dri2_do_destroy_buffer(DrawablePtr pDraw, DRI2BufferPtr buffer)
-     struct vmwgfx_saa_pixmap *vpix = vmwgfx_saa_pixmap(private->pPixmap);
-     if (--private->refcount == 0 && srf) {
--      xa_surface_destroy(srf);
-+      xa_surface_unref(srf);
-     }
-     /*
-diff --git a/vmwgfx/vmwgfx_driver.c b/vmwgfx/vmwgfx_driver.c
-index 7863ba2..3002285 100644
---- a/vmwgfx/vmwgfx_driver.c
-+++ b/vmwgfx/vmwgfx_driver.c
-@@ -617,7 +617,8 @@ vmwgfx_scanout_present(ScreenPtr pScreen, int drm_fd,
-       return FALSE;
-     }
--    if (xa_surface_handle(vpix->hw, &handle, &dummy) != 0) {
-+    if (xa_surface_handle(vpix->hw, xa_handle_type_shared,
-+          &handle, &dummy) != 0) {
-       LogMessage(X_ERROR, "Could not get present surface handle.\n");
-       return FALSE;
-     }
-diff --git a/vmwgfx/vmwgfx_saa.c b/vmwgfx/vmwgfx_saa.c
-index 63df3a1..ed3c1ee 100644
---- a/vmwgfx/vmwgfx_saa.c
-+++ b/vmwgfx/vmwgfx_saa.c
-@@ -140,7 +140,7 @@ vmwgfx_pixmap_free_storage(struct vmwgfx_saa_pixmap *vpix)
-       vpix->malloc = NULL;
-     }
-     if (!(vpix->backing & VMWGFX_PIX_SURFACE) && vpix->hw) {
--      xa_surface_destroy(vpix->hw);
-+      xa_surface_unref(vpix->hw);
-       vpix->hw = NULL;
-     }
-     if (!(vpix->backing & VMWGFX_PIX_GMR) && vpix->gmr) {
-@@ -286,7 +286,8 @@ vmwgfx_saa_dma(struct vmwgfx_saa *vsaa,
-     if (vpix->gmr && vsaa->can_optimize_dma) {
-       uint32_t handle, dummy;
--      if (xa_surface_handle(vpix->hw, &handle, &dummy) != 0)
-+      if (xa_surface_handle(vpix->hw, xa_handle_type_shared,
-+               &handle, &dummy) != 0)
-           goto out_err;
-       if (vmwgfx_dma(0, 0, reg, vpix->gmr, pixmap->devKind, handle,
-                      to_hw) != 0)
-@@ -305,6 +306,8 @@ vmwgfx_saa_dma(struct vmwgfx_saa *vsaa,
-                            (int) to_hw,
-                            (struct xa_box *) REGION_RECTS(reg),
-                            REGION_NUM_RECTS(reg));
-+      if (to_hw)
-+          xa_context_flush(vsaa->xa_ctx);
-       if (vpix->gmr)
-           vmwgfx_dmabuf_unmap(vpix->gmr);
-       if (ret)
-@@ -441,7 +444,7 @@ vmwgfx_hw_kill(struct vmwgfx_saa *vsaa,
-                                &spix->dirty_hw))
-       return FALSE;
--    xa_surface_destroy(vpix->hw);
-+    xa_surface_unref(vpix->hw);
-     vpix->hw = NULL;
-     /*
-@@ -683,7 +686,8 @@ vmwgfx_present_prepare(struct vmwgfx_saa *vsaa,
-     (void) pScreen;
-     if (src_vpix == dst_vpix || !src_vpix->hw ||
--      xa_surface_handle(src_vpix->hw, &vsaa->src_handle, &dummy) != 0)
-+      xa_surface_handle(src_vpix->hw, xa_handle_type_shared,
-+              &vsaa->src_handle, &dummy) != 0)
-       return FALSE;
-     REGION_NULL(pScreen, &vsaa->present_region);
-@@ -784,7 +788,7 @@ vmwgfx_create_hw(struct vmwgfx_saa *vsaa,
-     return TRUE;
- out_no_damage:
--    xa_surface_destroy(hw);
-+    xa_surface_unref(hw);
-     return FALSE;
- }
-@@ -929,6 +933,7 @@ vmwgfx_copy_prepare(struct saa_driver *driver,
-       if (!vmwgfx_hw_validate(src_pixmap, src_reg)) {
-           xa_copy_done(vsaa->xa_ctx);
-+          xa_context_flush(vsaa->xa_ctx);
-           return FALSE;
-       }
-@@ -1029,6 +1034,7 @@ vmwgfx_copy_done(struct saa_driver *driver)
-       return;
-     }
-     xa_copy_done(vsaa->xa_ctx);
-+    xa_context_flush(vsaa->xa_ctx);
- }
- static Bool
-@@ -1175,6 +1181,7 @@ vmwgfx_composite_done(struct saa_driver *driver)
-    struct vmwgfx_saa *vsaa = to_vmwgfx_saa(driver);
-    xa_composite_done(vsaa->xa_ctx);
-+   xa_context_flush(vsaa->xa_ctx);
- }
- static void
-@@ -1436,7 +1443,8 @@ vmwgfx_scanout_ref(struct vmwgfx_screen_entry  *entry)
-            */
-           if (!vmwgfx_hw_accel_validate(pixmap, 0, XA_FLAG_SCANOUT, 0, NULL))
-               goto out_err;
--          if (xa_surface_handle(vpix->hw, &handle, &dummy) != 0)
-+          if (xa_surface_handle(vpix->hw, xa_handle_type_shared,
-+                       &handle, &dummy) != 0)
-               goto out_err;
-           depth = xa_format_depth(xa_surface_format(vpix->hw));
-diff --git a/vmwgfx/vmwgfx_tex_video.c b/vmwgfx/vmwgfx_tex_video.c
-index 449266b..2971ed7 100644
---- a/vmwgfx/vmwgfx_tex_video.c
-+++ b/vmwgfx/vmwgfx_tex_video.c
-@@ -199,7 +199,7 @@ stop_video(ScrnInfoPtr pScrn, pointer data, Bool shutdown)
-        for (i=0; i<3; ++i) {
-          if (priv->yuv[i]) {
--             xa_surface_destroy(priv->yuv[i]);
-+             xa_surface_unref(priv->yuv[i]);
-              priv->yuv[i] = NULL;
-          }
-          for (j=0; j<2; ++j) {
-@@ -539,7 +539,8 @@ copy_packed_data(ScrnInfoPtr pScrn,
-              REGION_RESET(pScrn->pScreen, &reg, &box);
-          }
--         if (xa_surface_handle(srf, &handle, &stride) != 0) {
-+         if (xa_surface_handle(srf, xa_handle_type_shared,
-+                      &handle, &stride) != 0) {
-              ret = BadAlloc;
-              break;
-          }
---
-cgit v0.9.0.2-2-gbebe
diff --git a/x11-drivers/xf86-video-vmware/files/xf86-video-vmware-13.0.2-fix-includes.patch b/x11-drivers/xf86-video-vmware/files/xf86-video-vmware-13.0.2-fix-includes.patch
deleted file mode 100644 (file)
index 434cb67..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-From 4664412d7a5266d2b392957406b34abc5db95e48 Mon Sep 17 00:00:00 2001
-From: Stefan Dirsch <sndirsch@suse.de>
-Date: Tue, 7 Oct 2014 11:29:32 +0200
-Subject: xf86xv.h cannot be included without first including xorg-server.h.
-
-Without this the build fails on systems with the latest glibc,
-throwing this error:
-
-In file included from /usr/include/string.h:634:0,
-                 from /usr/include/xorg/os.h:53,
-                 from /usr/include/xorg/misc.h:115,
-                 from /usr/include/xorg/screenint.h:50,
-                 from /usr/include/xorg/scrnintstr.h:50,
-                 from /usr/include/xorg/xvdix.h:55,
-                 from /usr/include/xorg/xf86xv.h:32,
-                 from vmwgfx_overlay.c:38:
-/usr/include/xorg/os.h:579:1: error: expected identifier or '(' before '__extension__'
-strndup(const char *str, size_t n);
-
-This is caused by HAVE_STRNDUP not being set (it is set from xorg-server.h),
-causing os.h to redefine it.
-
-Signed-off-by: Stefan Dirsch <sndirsch@suse.de>
-Reviewed-by: Daniel Stone <daniels@collabora.com>
-Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
-
-diff --git a/vmwgfx/vmwgfx_overlay.c b/vmwgfx/vmwgfx_overlay.c
-index ef1d541..2b05b0e 100644
---- a/vmwgfx/vmwgfx_overlay.c
-+++ b/vmwgfx/vmwgfx_overlay.c
-@@ -35,6 +35,7 @@
-  */
-+#include "xorg-server.h"
- #include "xf86xv.h"
- #include "fourcc.h"
- #define debug_printf(...)
--- 
-cgit v0.10.2
-
diff --git a/x11-drivers/xf86-video-vmware/xf86-video-vmware-13.0.1-r1.ebuild b/x11-drivers/xf86-video-vmware/xf86-video-vmware-13.0.1-r1.ebuild
deleted file mode 100644 (file)
index 41ee92e..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-XORG_DRI=always
-XORG_EAUTORECONF=yes
-inherit xorg-2
-
-DESCRIPTION="VMware SVGA video driver"
-KEYWORDS="amd64 x86 ~x86-fbsd"
-IUSE=""
-
-RDEPEND="x11-libs/libdrm[libkms,video_cards_vmware]
-       >=media-libs/mesa-10[xa]"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-damageunregister.patch
-       "${FILESDIR}"/${P}-xatracker-2.patch
-       "${FILESDIR}"/${P}-xa-compat-2.patch
-)
diff --git a/x11-drivers/xf86-video-vmware/xf86-video-vmware-13.0.2.ebuild b/x11-drivers/xf86-video-vmware/xf86-video-vmware-13.0.2.ebuild
deleted file mode 100644 (file)
index 029baa4..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-XORG_DRI=always
-inherit xorg-2
-
-DESCRIPTION="VMware SVGA video driver"
-KEYWORDS="~amd64 ~x86 ~x86-fbsd"
-IUSE=""
-
-RDEPEND="x11-libs/libdrm[libkms,video_cards_vmware]
-       media-libs/mesa[xa]"
-DEPEND="${RDEPEND}"
-
-PATCHES=( "${FILESDIR}"/${PN}-13.0.2-fix-includes.patch )
diff --git a/x11-drivers/xf86-video-vmware/xf86-video-vmware-13.1.0.ebuild b/x11-drivers/xf86-video-vmware/xf86-video-vmware-13.1.0.ebuild
deleted file mode 100644 (file)
index df20f6c..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-XORG_DRI=always
-inherit xorg-2
-
-DESCRIPTION="VMware SVGA video driver"
-KEYWORDS="amd64 x86 ~amd64-fbsd ~x86-fbsd"
-IUSE="kernel_linux"
-
-RDEPEND="kernel_linux? (
-               x11-libs/libdrm[libkms,video_cards_vmware]
-               media-libs/mesa[xa]
-       )"
-DEPEND="${RDEPEND}"
diff --git a/x11-drivers/xf86-video-vmware/xf86-video-vmware-13.2.1.ebuild b/x11-drivers/xf86-video-vmware/xf86-video-vmware-13.2.1.ebuild
deleted file mode 100644 (file)
index c8bddfa..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-XORG_DRI=always
-inherit xorg-2
-
-DESCRIPTION="VMware SVGA video driver"
-KEYWORDS="amd64 x86 ~amd64-fbsd ~x86-fbsd"
-IUSE="kernel_linux"
-
-RDEPEND="kernel_linux? (
-               x11-libs/libdrm[libkms,video_cards_vmware]
-               media-libs/mesa[xa]
-       )"
-DEPEND="${RDEPEND}"