From 6804f904e16b8e82126fefb35dc35ae7434035dc Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 31 May 2023 01:40:46 +0100 Subject: x11-libs/libva-vdpau-driver: treeclean Gone from ::gentoo even. Signed-off-by: Sam James --- x11-libs/libva-vdpau-driver/Manifest | 1 - ...vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch | 29 ------------- ...pau-driver-0.7.4-glext-missing-definition.patch | 16 ------- ...au-driver-0.7.4-include-linux-videodev2.h.patch | 25 ----------- .../libva-vdpau-driver-0.7.4-libvdpau-0.8.patch | 13 ------ ...bva-vdpau-driver-0.7.4-missing-sys_time_h.patch | 10 ----- .../libva-vdpau-driver-0.7.4-sigfpe-crash.patch | 21 --------- .../libva-vdpau-driver-0.7.4-r5.ebuild | 50 ---------------------- x11-libs/libva-vdpau-driver/metadata.xml | 12 ------ 9 files changed, 177 deletions(-) delete mode 100644 x11-libs/libva-vdpau-driver/Manifest delete mode 100644 x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch delete mode 100644 x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-glext-missing-definition.patch delete mode 100644 x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-include-linux-videodev2.h.patch delete mode 100644 x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch delete mode 100644 x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-missing-sys_time_h.patch delete mode 100644 x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-sigfpe-crash.patch delete mode 100644 x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r5.ebuild delete mode 100644 x11-libs/libva-vdpau-driver/metadata.xml diff --git a/x11-libs/libva-vdpau-driver/Manifest b/x11-libs/libva-vdpau-driver/Manifest deleted file mode 100644 index 3c4075e1..00000000 --- a/x11-libs/libva-vdpau-driver/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libva-vdpau-driver-0.7.4.tar.bz2 316729 BLAKE2B b9cd0bbbe1e638ad29363cd0d8c6452de222023017283ce81f138730c7ba3396f3ffca40478746cab4b93a8855e73de405aa783e44e6c1179c5e347bd7eff657 SHA512 89f98dc1d7d590fb68f440dd1e37e025d64a621324e013e85dd1367681c07b09132fd2089539fc5b48934624648887a8a97539b4f07ddf9f56a8a456ad030094 diff --git a/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch b/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch deleted file mode 100644 index 74caee34..00000000 --- a/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch +++ /dev/null @@ -1,29 +0,0 @@ ->From fda3706eb74ba5ad874853969f3df3e372739c8d Mon Sep 17 00:00:00 2001 -From: "Xiang, Haihao" -Date: Fri, 21 Jun 2013 12:55:30 +0800 -Subject: [PATCH] VAEncH264VUIBufferType and VAEncH264SEIBufferType are - dropped from VA API - -The driver doesn't use them indeed - -Signed-off-by: Xiang, Haihao ---- - src/vdpau_dump.c | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/src/vdpau_dump.c b/src/vdpau_dump.c -index 899888b..610e7cd 100644 ---- a/src/vdpau_dump.c -+++ b/src/vdpau_dump.c -@@ -59,8 +59,6 @@ const char *string_of_VABufferType(VABufferType type) - _(VAEncSequenceParameterBufferType); - _(VAEncPictureParameterBufferType); - _(VAEncSliceParameterBufferType); -- _(VAEncH264VUIBufferType); -- _(VAEncH264SEIBufferType); - #endif - #if VA_CHECK_VERSION(0,31,1) - _(VAQMatrixBufferType); --- -1.7.9.5 - diff --git a/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-glext-missing-definition.patch b/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-glext-missing-definition.patch deleted file mode 100644 index 221b9608..00000000 --- a/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-glext-missing-definition.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- ./src/utils_glx.h~ 2012-10-05 16:02:58.000000000 +0100 -+++ ./src/utils_glx.h 2012-10-19 08:44:12.469642440 +0100 -@@ -48,6 +48,13 @@ - typedef void (*PFNGLXRELEASETEXIMAGEEXTPROC)(Display *, GLXDrawable, int); - #endif - -+#if GL_GLEXT_VERSION >= 85 -+/* XXX: PFNGLMULTITEXCOORD2FPROC got out of the GL_VERSION_1_3_DEPRECATED -+ block and is not defined if GL_VERSION_1_3 is defined in -+ Redefine the type here as an interim solution */ -+typedef void (*PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t); -+#endif -+ - #ifndef GL_FRAMEBUFFER_BINDING - #define GL_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING_EXT - #endif diff --git a/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-include-linux-videodev2.h.patch b/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-include-linux-videodev2.h.patch deleted file mode 100644 index 0d92074c..00000000 --- a/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-include-linux-videodev2.h.patch +++ /dev/null @@ -1,25 +0,0 @@ -https://bugs.gentoo.org/689530 - -libva commit 93c52a17b8d2 ("va_backend: remove unneeded -linux/videodev2.h include") removed an include that provided the -prototype of v4l2_format among other v4l2_* structs. - -Without this or a forward declaration of 'struct v4l2_format', the prototype -and definition of vdpau_CreateSurfaceFromV4L2Buf() (which has a 'struct -v4l2_format *' parameter) are seen as conflicting. - -Just include the removed header where we need it. - -diff --git a/src/vdpau_driver.h b/src/vdpau_driver.h -index 6286d16..54d37fb 100644 ---- a/src/vdpau_driver.h -+++ b/src/vdpau_driver.h -@@ -21,6 +21,8 @@ - #ifndef VDPAU_DRIVER_H - #define VDPAU_DRIVER_H - -+#include -+ - #include - #include "vaapi_compat.h" - #include "vdpau_gate.h" diff --git a/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch b/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch deleted file mode 100644 index 412e9c30..00000000 --- a/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch +++ /dev/null @@ -1,13 +0,0 @@ -http://bugs.gentoo.org/517778 - ---- a/src/vdpau_decode.c -+++ b/src/vdpau_decode.c -@@ -1289,7 +1289,7 @@ - driver_data, - obj_context->vdp_decoder, - obj_surface->vdp_surface, -- (VdpPictureInfo)&obj_context->vdp_picture_info, -+ (VdpPictureInfo *)&obj_context->vdp_picture_info, - obj_context->vdp_bitstream_buffers_count, - obj_context->vdp_bitstream_buffers - ); diff --git a/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-missing-sys_time_h.patch b/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-missing-sys_time_h.patch deleted file mode 100644 index 2529fb2f..00000000 --- a/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-missing-sys_time_h.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/src/utils.c -+++ b/src/utils.c -@@ -21,6 +21,7 @@ - #include "sysdeps.h" - #include "utils.h" - #include -+#include - #include - - #define DEBUG 1 diff --git a/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-sigfpe-crash.patch b/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-sigfpe-crash.patch deleted file mode 100644 index e2fe02cc..00000000 --- a/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-sigfpe-crash.patch +++ /dev/null @@ -1,21 +0,0 @@ -Description: Fix a crash if a heap is destroyed before being initialized -Author: Sebastian Ramacher -Bug: https://bugs.freedesktop.org/show_bug.cgi?id=58836 -Bug-Debian: http://bugs.debian.org/748294 -Last-Update: 2014-06-02 - ---- vdpau-video-0.7.4.orig/src/object_heap.c -+++ vdpau-video-0.7.4/src/object_heap.c -@@ -272,8 +272,10 @@ object_heap_destroy(object_heap_p heap) - ASSERT(obj->next_free != ALLOCATED); - } - -- for (i = 0; i < heap->heap_size / heap->heap_increment; i++) { -- free(heap->bucket[i]); -+ if (heap->bucket) { -+ for (i = 0; i < heap->heap_size / heap->heap_increment; i++) { -+ free(heap->bucket[i]); -+ } - } - - pthread_mutex_destroy(&heap->mutex); diff --git a/x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r5.ebuild b/x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r5.ebuild deleted file mode 100644 index 34f68b03..00000000 --- a/x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r5.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools multilib-minimal - -DESCRIPTION="VDPAU Backend for Video Acceleration (VA) API" -HOMEPAGE="https://www.freedesktop.org/wiki/Software/vaapi" -SRC_URI="https://www.freedesktop.org/software/vaapi/releases/libva-vdpau-driver/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm64 x86" -IUSE="debug opengl" - -RDEPEND=">=x11-libs/libva-1.2.1-r1:=[X,opengl?,${MULTILIB_USEDEP}] - opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] ) - >=x11-libs/libvdpau-0.8[${MULTILIB_USEDEP}] - !x11-libs/vdpau-video" - -DEPEND="${RDEPEND} - virtual/pkgconfig" - -DOCS=( NEWS README AUTHORS ) - -PATCHES=( - "${FILESDIR}"/${P}-glext-missing-definition.patch - "${FILESDIR}"/${P}-VAEncH264VUIBufferType.patch - "${FILESDIR}"/${P}-libvdpau-0.8.patch - "${FILESDIR}"/${P}-sigfpe-crash.patch - "${FILESDIR}"/${P}-include-linux-videodev2.h.patch - "${FILESDIR}"/${P}-missing-sys_time_h.patch - -) - -src_prepare() { - default - sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die - eautoreconf -} - -multilib_src_configure() { - local myeconfargs=( - $(use_enable debug) - $(use_enable opengl glx) - ) - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} diff --git a/x11-libs/libva-vdpau-driver/metadata.xml b/x11-libs/libva-vdpau-driver/metadata.xml deleted file mode 100644 index 970c74a7..00000000 --- a/x11-libs/libva-vdpau-driver/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - aballier@gentoo.org - Alexis Ballier - - - x11@gentoo.org - X11 - - -- cgit v1.2.3-65-gdbad