diff --git a/va/Makefile.am b/va/Makefile.am index 8d16d422c..4ebf8f09a 100644 --- a/va/Makefile.am +++ b/va/Makefile.am @@ -32,7 +32,6 @@ LDADD = \ libva_source_c = \ va.c \ - va_compat.c \ va_str.c \ va_trace.c \ $(NULL) @@ -75,7 +74,6 @@ libva_source_h_priv = \ libva_ldflags = \ $(LDADD) -no-undefined \ - -Wl,-version-script,${srcdir}/libva.syms \ $(NULL) libva_cflags = \ @@ -91,7 +89,6 @@ noinst_HEADERS = $(libva_source_h_priv) libva_la_SOURCES = $(libva_source_c) libva_la_CFLAGS = $(libva_cflags) libva_la_LDFLAGS = $(libva_ldflags) -libva_la_DEPENDENCIES = libva.syms libva_la_LIBADD = $(LIBVA_LIBS) if USE_DRM @@ -146,7 +143,6 @@ DISTCLEANFILES = \ $(NULL) EXTRA_DIST = \ - libva.syms \ va_version.h.in \ meson.build \ libva.def \ diff --git a/va/libva.syms b/va/libva.syms deleted file mode 100644 index b3f91f935..000000000 --- a/va/libva.syms +++ /dev/null @@ -1,9 +0,0 @@ -VA_API_0.32.0 { - local: - vaCreateSurfaces_0_32_0; -}; - -VA_API_0.33.0 { - global: - vaCreateSurfaces; -} VA_API_0.32.0; diff --git a/va/meson.build b/va/meson.build index e15f8fe3e..43db2a3ef 100644 --- a/va/meson.build +++ b/va/meson.build @@ -11,7 +11,6 @@ version_file = configure_file( libva_sources = [ 'va.c', - 'va_compat.c', 'va_str.c', 'va_trace.c', ] @@ -55,15 +54,8 @@ libva_headers_priv = [ 'va_trace.h', ] -libva_sym = 'libva.syms' -libva_sym_arg = '-Wl,-version-script,' + '@0@/@1@'.format(meson.current_source_dir(), libva_sym) - libva_link_args = [] libva_link_depends = [] -if cc.links('', name: '-Wl,--version-script', args: ['-shared', libva_sym_arg]) - libva_link_args = libva_sym_arg - libva_link_depends = libva_sym -endif install_headers(libva_headers, subdir : 'va') diff --git a/va/va_compat.c b/va/va_compat.c deleted file mode 100644 index 44d69562b..000000000 --- a/va/va_compat.c +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) 2007-2011 Intel Corporation. All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the - * "Software"), to deal in the Software without restriction, including - * without limitation the rights to use, copy, modify, merge, publish, - * distribute, sub license, and/or sell copies of the Software, and to - * permit persons to whom the Software is furnished to do so, subject to - * the following conditions: - * - * The above copyright notice and this permission notice (including the - * next paragraph) shall be included in all copies or substantial portions - * of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. - * IN NO EVENT SHALL INTEL AND/OR ITS SUPPLIERS BE LIABLE FOR - * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE - * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -#define VA_COMPAT_DISABLED 1 -#include "sysdeps.h" -#include "va.h" -#include "va_compat.h" - -VAStatus -vaCreateSurfaces_0_32_0( - VADisplay dpy, - int width, - int height, - int format, - int num_surfaces, - VASurfaceID *surfaces -) -{ - return vaCreateSurfaces(dpy, format, width, height, surfaces, num_surfaces, - NULL, 0); -} -#if !defined(_WIN32) -VA_CPP_HELPER_ALIAS(vaCreateSurfaces, 0, 32, 0); -#endif