commit: 69f9b541579a2462e5b6552fd97bdc21f7610583 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Tue Nov 1 09:21:20 2022 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Tue Nov 1 09:24:27 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69f9b541
x11-libs/libva-vdpau-driver: Delete Closes: https://bugs.gentoo.org/584352 Closes: https://bugs.gentoo.org/833102 Closes: https://bugs.gentoo.org/852728 Closes: https://bugs.gentoo.org/866557 Closes: https://bugs.gentoo.org/875278 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> profiles/package.mask | 7 ---- 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 ------ .../libva-vdpau-driver-0.7.4-sigfpe-crash.patch | 21 ---------- .../libva-vdpau-driver-0.7.4-r5.ebuild | 48 ---------------------- x11-libs/libva-vdpau-driver/metadata.xml | 12 ------ 9 files changed, 172 deletions(-) diff --git a/profiles/package.mask b/profiles/package.mask index 1aeaca1a7f32..0917d69825d2 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -275,13 +275,6 @@ dev-python/kazoo # Use media-sound/mpd if looking for a modern alternative. Removal on 2022-11-07. media-sound/rplay -# Matt Turner <[email protected]> (2022-10-01) -# Unmaintained upstream. Last commit was 10 years ago today. -# Unclear if it does anything useful. Many open bugs: #584352, #833102, -# #852728, #866557, #875278. -# Removal on 2022-11-05 -x11-libs/libva-vdpau-driver - # Michał Górny <[email protected]> (2022-10-05) # Originally added for dev-python/rapidfuzz. Now the algorithm has been # inlined into rapidfuzz, and the package is semi-deprecated. diff --git a/x11-libs/libva-vdpau-driver/Manifest b/x11-libs/libva-vdpau-driver/Manifest deleted file mode 100644 index 3c4075e12c5b..000000000000 --- 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 74caee3483df..000000000000 --- 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" <[email protected]> -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 <[email protected]> ---- - 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 221b9608fe44..000000000000 --- 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 <GL/gl.h> -+ 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 0d92074ced93..000000000000 --- 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 <linux/videodev2.h> -+ - #include <va/va_backend.h> - #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 412e9c308480..000000000000 --- 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-sigfpe-crash.patch b/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-sigfpe-crash.patch deleted file mode 100644 index e2fe02ccf320..000000000000 --- 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 <[email protected]> -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 58110c538e80..000000000000 --- a/x11-libs/libva-vdpau-driver/libva-vdpau-driver-0.7.4-r5.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 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 ~riscv x86" -IUSE="debug opengl" - -RDEPEND=" - >=media-libs/libva-1.2.1-r1:=[X,opengl?,${MULTILIB_USEDEP}] - >=x11-libs/libvdpau-0.8[${MULTILIB_USEDEP}] - opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] ) -" -DEPEND="${RDEPEND}" -BDEPEND="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 -) - -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 970c74a76a49..000000000000 --- a/x11-libs/libva-vdpau-driver/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>[email protected]</email> - <name>Alexis Ballier</name> - </maintainer> -<maintainer type="project"> - <email>[email protected]</email> - <name>X11</name> - </maintainer> -</pkgmetadata>
