Sat Feb 11 23:37:35 2023 UTC ()
libva: Update to 2.17.0

Changelog:
2.17.0

  * win: Simplify signature for driver name loading
  * win: Rewrite driver registry query and fix some bugs/leaks/inefficiencies
  * win: Add missing null check after calloc
  * va: Update security disclaimer
  * ci: drop paths-ignore in github workflow
  * dep:remove the file .cvsignore
  * ci: install-clang.sh: install the requested version
  * ci: freebsd: add pretty(ier) step names
  * ci: freebsd: use meson setup and meson install
  * ci: ubuntu: add pretty(ier) step names
  * ci: polish the windows/meson invocations
  * ci: style: use prettier formatting
  * pkgconfig: add 'with-legacy' for emgd, nvctrl and fglrx
  * meson: add 'with-legacy' for emgd, nvctrl and fglrx
  * x11: move all FGLRX code to va_fglrx.c
  * x11: move all NVCTRL code to va_nvctrl.c
  * meson: stop using deprecated meson.source_root()
  * meson: stop using configure_file copy=true
  * va: correctly include the win32 (local) headers
  * ci: add style check/unify job
  * win: clean-up the coding style
  * va: dos2unix all the files
  * ci: add meson permutation in the Ubuntu builds
  * ci: remove unused make check
  * drm: remove unnecessary dri2 version/extension query
  * ci: use matrix, add ubuntu 20.04 + clang-15
  * trace: annotate internal functions with DLL_HIDDEN
  * build/sysdeps: Remove HAVE_GNUC_VISIBILITY_ATTRIBUTE and use GNUC support
    level attribute instead
  * meson: Check support for -Wl,-version-script and build link_args
    accordingly
  * ci: switch python action from @v2 to @v4
  * ci: dos2unix for windows workflow files
  * ci: switch checkout action from @v2 to @V3
  * meson: Set va_win32 soversion to '' and remove the install_data rename
  * fix: resouce check null
  * ci: Add msvc/mingw Windows CI
  * va_trace: Add Win32 memory types in va_TraceSurfaceAttributes
  * va_trace: va_TraceSurfaceAttributes should check the
    VASurfaceAttribMemoryType
  * va: Adds Win32 Node and Windows build support
  * va: Adds compat_win32 abstraction for Windows build and prepares va common
    code for windows build
  * pkgconfig: Add Win32 package for when WITH_WIN32 is enabled
  * meson: Add with_win32 option, makes libdrm non-mandatory on Win
  * ci(va_win): add libx11-xcb-dev libxcb-dri3-dev to trigger X11 backend build
  * x11: add basic DRI3 support
  * drm: remove VA_DRM_IsRenderNodeFd() helper
  * drm: add radeon drm + radeonsi mesa combo


(ryoon)
diff -r1.29 -r1.30 pkgsrc/multimedia/libva/Makefile
diff -r1.21 -r1.22 pkgsrc/multimedia/libva/distinfo
diff -r1.1 -r0 pkgsrc/multimedia/libva/patches/patch-va_drm_va__drm__utils.c
diff -r0 -r1.1 pkgsrc/multimedia/libva/patches/patch-va_x11_dri2__util.c

cvs diff -r1.29 -r1.30 pkgsrc/multimedia/libva/Makefile (expand / switch to unified diff)

--- pkgsrc/multimedia/libva/Makefile 2023/01/03 17:01:26 1.29
+++ pkgsrc/multimedia/libva/Makefile 2023/02/11 23:37:35 1.30
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.29 2023/01/03 17:01:26 ryoon Exp $ 1# $NetBSD: Makefile,v 1.30 2023/02/11 23:37:35 ryoon Exp $
2 2
3DISTNAME= libva-2.16.0 3DISTNAME= libva-2.17.0
4CATEGORIES= multimedia 4CATEGORIES= multimedia
5MASTER_SITES= ${MASTER_SITE_GITHUB:=intel/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=intel/}
6GITHUB_RELEASE= ${PKGVERSION_NOREV} 6GITHUB_RELEASE= ${PKGVERSION_NOREV}
7EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://github.com/intel/libva 10HOMEPAGE= https://github.com/intel/libva
11COMMENT= Video Acceleration API 11COMMENT= Video Acceleration API
12LICENSE= mit 12LICENSE= mit
13 13
14GNU_CONFIGURE= yes 14GNU_CONFIGURE= yes
15USE_LIBTOOL= yes 15USE_LIBTOOL= yes
16USE_TOOLS+= gmake pkg-config 16USE_TOOLS+= gmake pkg-config

cvs diff -r1.21 -r1.22 pkgsrc/multimedia/libva/distinfo (expand / switch to unified diff)

--- pkgsrc/multimedia/libva/distinfo 2023/01/03 17:01:26 1.21
+++ pkgsrc/multimedia/libva/distinfo 2023/02/11 23:37:35 1.22
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.21 2023/01/03 17:01:26 ryoon Exp $ 1$NetBSD: distinfo,v 1.22 2023/02/11 23:37:35 ryoon Exp $
2 2
3BLAKE2s (libva-2.16.0.tar.bz2) = 906dfd5f94a3839e64be15e9b30ca75b678b0c09ab9722674e4a5f551b9a3977 3BLAKE2s (libva-2.17.0.tar.bz2) = 862a11ab66e92153a1c11c1165c9b2b4f621f16f8b21221bfa3415f5a7a4dbfa
4SHA512 (libva-2.16.0.tar.bz2) = 9d34d6cbca340477bd06cabdb5b812fff17a25146815c7f4c2e96f8589daf62a0de1981d0f141ef6b082534dee7fc1f06023b542ca092a106412089659bfb564 4SHA512 (libva-2.17.0.tar.bz2) = 882b098b04af7c03f7fc6f482d6af77180dbf41cf7a3672304a30e9ac17e0a1b10772c7f303820d2903db41326036116b09a5764a638e8294fbf20cfa957a09a
5Size (libva-2.16.0.tar.bz2) = 504269 bytes 5Size (libva-2.17.0.tar.bz2) = 506878 bytes
6SHA1 (patch-va_drm_va__drm__utils.c) = 5a269316c42ea12afef83636947700d972900fbe 6SHA1 (patch-va_x11_dri2__util.c) = 6b77b7246f235d106e1fff3c83be564d2a0d0c5c

File Deleted: pkgsrc/multimedia/libva/patches/Attic/patch-va_drm_va__drm__utils.c

File Added: pkgsrc/multimedia/libva/patches/patch-va_x11_dri2__util.c
$NetBSD: patch-va_x11_dri2__util.c,v 1.1 2023/02/11 23:37:35 ryoon Exp $

--- va/x11/dri2_util.c.orig	2023-01-10 02:22:08.000000000 +0000
+++ va/x11/dri2_util.c
@@ -178,9 +178,11 @@ va_isRenderNodeFd(int fd)
     struct stat st;
     char *name;
 
+#if !defined(__NetBSD__)
     /* Check by device node */
     if (fstat(fd, &st) == 0)
         return S_ISCHR(st.st_mode) && (st.st_rdev & 0x80);
+#endif
 
     /* Check by device name */
     name = drmGetDeviceNameFromFd(fd);