From nobody Sat Feb 05 19:57:24 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 727C219B6973; Sat, 5 Feb 2022 19:57:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JrjqT0DsCz3pQD; Sat, 5 Feb 2022 19:57:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644091045; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eVxaga89YA5aTtEu/FkgBEvvC+jtGDh8PcXEWvtl/EM=; b=qPU/kr7RPAmCGgVYCBoioY4fPV9C7FU7b1uF8kP2N5d1rAdXlxro5nGK4L7ikZGMN7Pxy/ 8IC4AokXfYjx/uv5RZ75ttmoDo0zSQMnYPOQB092SicBF5e8GdK8nzhxqNE8iSxgCZSSm9 FEIFiAh1kJWnn5bBDXNQxp5pvRO9liKHwfiaK1t1f74IgP4Cwj+b9vAad5mXSBjWw4pCo5 YdWMA3GC8kTxOE8gu0HdU5f/PGWtaFaqXXiS/x8to/t4rVuKsvyW4q46X5s4+qk42wSLWT tBSQTf3p71/C2rwwNu5tN++zy0mQ0xBw3B2kzrAwPps76tUOJdioTysewOxUIg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D7DE52548F; Sat, 5 Feb 2022 19:57:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 215JvOn4020293; Sat, 5 Feb 2022 19:57:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 215JvOBC020292; Sat, 5 Feb 2022 19:57:24 GMT (envelope-from git) Date: Sat, 5 Feb 2022 19:57:24 GMT Message-Id: <202202051957.215JvOBC020292@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: e55132ca9813 - main - multimedia/onevpl: update to 2022.0.4 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e55132ca98132387f2a42edcde9394382e60ee5c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644091045; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eVxaga89YA5aTtEu/FkgBEvvC+jtGDh8PcXEWvtl/EM=; b=jGAg/HcUWC4ARgc+0khP4+sev+tmZwImyKayt6Q7RLkFsCZGMqV3VHS0b8cbo68DvNQdQ2 vu4yM5GPk5pESL2DldwlIKDlP5IKBacNyN0dthjKoR4N+MP8bkpa3LYlr7cllaaN7piye8 krSek/ec0z+fdM5hOyHP8LYBTNFMfr1WknQqDSv4OUxQ1zfBlaEr59pARMrwK7hMN66zxV fP++PH/gnXY0/fv273KoaF2kKyMrTpJ3M7r4ZsO9qFh343S7yHBqJwO3YMsQamZRUn7/zU jtUInIC9trCUtYvhic9xHfMJEe6GYLkdCseDLgEKSzShvuBM/SLrals+HW6qTg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644091045; a=rsa-sha256; cv=none; b=SswcZXwUbCNqGua4ySjXcBzVtWYl4Zs6RbzqSthdXRIksGGNa1doTurickIvC0cny23E6F X/9YirynDGEq07WVNj8HlnymYuHCRT2mNs1Q1nnvG1tkfGZSCXHgpUu7HcweklOeubDg0M VEh/d59PCDXsPUhlJCWQOuqQsabAS7DUzwZxWIo/xeFCe5kOpysKrB/Z7p38YRxEv/ud7X Kjmh8jPXdrvY1anzM8MHLz7y91WN8atyWK/BGOT5PAHdNFPQdRpUwuacS7QxxJMY/R0Aya WwtsOf6fgQ6MKnaiQrCTWk2q/r4o+eQdFt0x4v1bh0e7ZKnjg+iuvLcORVaSFg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=e55132ca98132387f2a42edcde9394382e60ee5c commit e55132ca98132387f2a42edcde9394382e60ee5c Author: Jan Beich AuthorDate: 2022-02-05 00:35:54 +0000 Commit: Jan Beich CommitDate: 2022-02-05 19:56:44 +0000 multimedia/onevpl: update to 2022.0.4 Changes: https://github.com/oneapi-src/oneVPL/compare/v2022.0.3...v2022.0.4 Reported by: Repology --- multimedia/onevpl/Makefile | 2 +- multimedia/onevpl/distinfo | 6 ++-- multimedia/onevpl/files/patch-unix | 62 +++++++++++++++++++++++++------------- 3 files changed, 45 insertions(+), 25 deletions(-) diff --git a/multimedia/onevpl/Makefile b/multimedia/onevpl/Makefile index 84f802c8f23c..4f6a92abe43f 100644 --- a/multimedia/onevpl/Makefile +++ b/multimedia/onevpl/Makefile @@ -1,6 +1,6 @@ PORTNAME= oneVPL DISTVERSIONPREFIX= v -DISTVERSION= 2022.0.3 +DISTVERSION= 2022.0.4 CATEGORIES= multimedia MAINTAINER= jbeich@FreeBSD.org diff --git a/multimedia/onevpl/distinfo b/multimedia/onevpl/distinfo index aabae2f7c1d4..bb67d45d1a84 100644 --- a/multimedia/onevpl/distinfo +++ b/multimedia/onevpl/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1642806932 -SHA256 (oneapi-src-oneVPL-v2022.0.3_GH0.tar.gz) = 1350b17266d0540e2730e8c082f326b9dc773d0fdffd0cee50d9220f3c268a6e -SIZE (oneapi-src-oneVPL-v2022.0.3_GH0.tar.gz) = 3105300 +TIMESTAMP = 1644021354 +SHA256 (oneapi-src-oneVPL-v2022.0.4_GH0.tar.gz) = 7fb0965f1a22344a044840462637f23be0d019bacd011ca2ff179d72dc40064b +SIZE (oneapi-src-oneVPL-v2022.0.4_GH0.tar.gz) = 3111126 diff --git a/multimedia/onevpl/files/patch-unix b/multimedia/onevpl/files/patch-unix index d86ac4a2e388..5f3d22999285 100644 --- a/multimedia/onevpl/files/patch-unix +++ b/multimedia/onevpl/files/patch-unix @@ -82,7 +82,7 @@ dispatcher/vpl/mfx_dispatcher_vpl_loader.cpp:583:43: error: use of undeclared id // Linux x64 #define LIB_ONEVPL "libmfx-gen.so.1.2" #define LIB_MSDK "libmfxhw64.so.1" ---- dispatcher/vpl/mfx_dispatcher_vpl_msdk.cpp.orig 2021-12-07 00:05:44 UTC +--- dispatcher/vpl/mfx_dispatcher_vpl_msdk.cpp.orig 2022-02-05 00:35:54 UTC +++ dispatcher/vpl/mfx_dispatcher_vpl_msdk.cpp @@ -10,7 +10,7 @@ #include "vpl/mfx_dispatcher_vpl_win.h" @@ -93,7 +93,7 @@ dispatcher/vpl/mfx_dispatcher_vpl_loader.cpp:583:43: error: use of undeclared id #include #define strncpy_s(dst, size, src, cnt) strcpy((dst), (src)) // NOLINT #endif -@@ -155,7 +155,7 @@ mfxAccelerationMode LoaderCtxMSDK::CvtAccelType(mfxIMP +@@ -161,7 +161,7 @@ mfxAccelerationMode LoaderCtxMSDK::CvtAccelType(mfxIMP } mfxStatus LoaderCtxMSDK::GetDefaultAccelType(mfxU32 adapterID, mfxIMPL *implDefault, mfxU64 *luid) { @@ -102,7 +102,7 @@ dispatcher/vpl/mfx_dispatcher_vpl_loader.cpp:583:43: error: use of undeclared id // VAAPI only *implDefault = MFX_IMPL_VIA_VAAPI; *luid = 0; -@@ -242,7 +242,7 @@ mfxStatus LoaderCtxMSDK::QueryMSDKCaps(STRING_TYPE lib +@@ -248,7 +248,7 @@ mfxStatus LoaderCtxMSDK::QueryMSDKCaps(STRING_TYPE lib m_libNameFull = libNameFull; @@ -111,6 +111,15 @@ dispatcher/vpl/mfx_dispatcher_vpl_loader.cpp:583:43: error: use of undeclared id // require pthreads to be linked in for MSDK RT to load pthread_key_t pkey; if (pthread_key_create(&pkey, NULL) == 0) { +@@ -483,7 +483,7 @@ mfxStatus LoaderCtxMSDK::QueryExtDeviceID(mfxExtendedD + luidArr >>= 8; + } + } +-#elif defined(__linux__) ++#elif defined(__unix__) + // fill in Linux-specific properties + extDeviceID->DRMPrimaryNodeNum = adapterID; + extDeviceID->DRMRenderNodeNum = 128 + adapterID; --- examples/coreAPI/legacy-decode/src/util.h.orig 2021-12-07 00:05:44 UTC +++ examples/coreAPI/legacy-decode/src/util.h @@ -30,7 +30,7 @@ enum { @@ -216,6 +225,17 @@ dispatcher/vpl/mfx_dispatcher_vpl_loader.cpp:583:43: error: use of undeclared id #include "vpl/mfxdispatcher.h" #endif +-#ifdef __linux__ ++#ifdef __unix__ + #include + #include + #endif +--- examples/interop/dpcpp-blur/src/util.h.orig 2022-02-05 00:35:54 UTC ++++ examples/interop/dpcpp-blur/src/util.h +@@ -30,7 +30,7 @@ enum { + #include "vpl/mfxdispatcher.h" + #endif + -#ifdef __linux__ +#ifdef __unix__ #include @@ -331,7 +351,7 @@ dispatcher/vpl/mfx_dispatcher_vpl_loader.cpp:583:43: error: use of undeclared id #ifdef LIBVA_SUPPORT vaTerminate((VADisplay)accelHandle); close(fd); ---- tools/legacy/sample_common/CMakeLists.txt.orig 2021-12-07 00:05:44 UTC +--- tools/legacy/sample_common/CMakeLists.txt.orig 2022-02-05 00:35:54 UTC +++ tools/legacy/sample_common/CMakeLists.txt @@ -63,7 +63,7 @@ find_package(VPL REQUIRED) target_link_libraries(sample_common PUBLIC VPL::dispatcher @@ -339,9 +359,9 @@ dispatcher/vpl/mfx_dispatcher_vpl_loader.cpp:583:43: error: use of undeclared id -if(CMAKE_SYSTEM_NAME MATCHES Linux) +if(UNIX AND NOT APPLE) - target_compile_definitions(sample_common PUBLIC LINUX64) - find_package(PkgConfig REQUIRED) + if(BUILD_TOOLS_ONEVPL_EXPERIMENTAL) + add_definitions(-DONEVPL_EXPERIMENTAL) --- tools/legacy/sample_decode/CMakeLists.txt.orig 2021-12-07 00:05:44 UTC +++ tools/legacy/sample_decode/CMakeLists.txt @@ -11,7 +11,7 @@ if(POLICY CMP0074) @@ -353,7 +373,7 @@ dispatcher/vpl/mfx_dispatcher_vpl_loader.cpp:583:43: error: use of undeclared id if(NOT (PKG_LIBVA_FOUND AND PKG_LIBVA_DRM_FOUND ---- tools/legacy/sample_encode/CMakeLists.txt.orig 2021-12-07 00:05:44 UTC +--- tools/legacy/sample_encode/CMakeLists.txt.orig 2022-02-05 00:35:54 UTC +++ tools/legacy/sample_encode/CMakeLists.txt @@ -11,7 +11,7 @@ if(POLICY CMP0074) cmake_policy(SET CMP0074 OLD) @@ -361,9 +381,20 @@ dispatcher/vpl/mfx_dispatcher_vpl_loader.cpp:583:43: error: use of undeclared id -if(CMAKE_SYSTEM_NAME MATCHES Linux) +if(UNIX AND NOT APPLE) - if(NOT (PKG_LIBVA_FOUND AND PKG_LIBVA_DRM_FOUND)) - message("Skipping sample_encode build.") - return() + if(NOT + (PKG_LIBDRM_FOUND + AND PKG_LIBVA_FOUND +--- tools/legacy/sample_vpp/CMakeLists.txt.orig 2022-02-05 00:35:54 UTC ++++ tools/legacy/sample_vpp/CMakeLists.txt +@@ -25,7 +25,7 @@ if(POLICY CMP0074) + cmake_policy(SET CMP0074 OLD) + endif() + +-if(CMAKE_SYSTEM_NAME MATCHES Linux) ++if(UNIX AND NOT APPLE) + if(NOT + (PKG_LIBDRM_FOUND + AND PKG_LIBVA_FOUND --- tools/legacy/sample_multi_transcode/CMakeLists.txt.orig 2021-12-07 00:05:44 UTC +++ tools/legacy/sample_multi_transcode/CMakeLists.txt @@ -11,7 +11,7 @@ endif() @@ -375,14 +406,3 @@ dispatcher/vpl/mfx_dispatcher_vpl_loader.cpp:583:43: error: use of undeclared id if(NOT (PKG_LIBVA_FOUND AND PKG_LIBVA_DRM_FOUND ---- tools/legacy/sample_vpp/CMakeLists.txt.orig 2021-12-07 00:05:44 UTC -+++ tools/legacy/sample_vpp/CMakeLists.txt -@@ -25,7 +25,7 @@ if(POLICY CMP0074) - cmake_policy(SET CMP0074 OLD) - endif() - --if(CMAKE_SYSTEM_NAME MATCHES Linux) -+if(UNIX AND NOT APPLE) - if(NOT (PKG_LIBVA_FOUND AND PKG_LIBVA_DRM_FOUND)) - message("Skipping sample_vpp build.") - return()