From patchwork Thu Oct 15 05:37:02 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 100793 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1354FCC6B2F for ; Thu, 15 Oct 2026 05:37:16 +0000 (UTC) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.32716.1792042631487378100 for ; Wed, 14 Oct 2026 22:37:11 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=cIXtd4ft; spf=pass (domain: gmail.com, ip: 209.85.216.47, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pj1-f47.google.com with SMTP id 98e67ed59e1d1-3a0aaa0fd13so3594917a91.2 for ; Wed, 14 Oct 2026 22:37:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792042631; x=1792647431; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=cGvdcBxdgJSOeMakFBUyE8x0BsOvy58/C9GxTjfKLTw=; b=cIXtd4ftiEHecRBan6IGlevcgzNtS7I1QoikiuW6iHiP3FqbIJ96iNWNWLub2eWPIs GGEa9UORsBSBvhVu6dc5YfyO+okTAQr3G4Cxwp33QvSOFWzPZdAmFetf9WMnLkGbQacw T+q9N037N0iU5adrA2GKUfu2vKkHUnucaX+qSsOhln8MaNoYI0GnZnnTIEMgU344f8H2 ZYyk0A2IhpPTS+Ix8LVUEH9B4N001mv3Cd5CQslPSnSDmTe8R/uqBqytAEkcQt8Lpw2f RmDpCGJEaxzUqJILyO+AbpfEUpPdTh4AsXSox9rdlvrkJ/7Mx+rBOegoTHmkMz+BwO5Z CdPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792042631; x=1792647431; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=cGvdcBxdgJSOeMakFBUyE8x0BsOvy58/C9GxTjfKLTw=; b=DQ62oju4JMVTyX0S/UZRUj+7RgCRL5Yy70G0Bps6dTwBGnJtciH+5g0PurTewHPQgm 1G8E5CrCTcIEhOiiTKqk4DdfoK/m0kG87SwJOMxdW8YNxCQJ3YP5ha6prR3x26U2Ewd1 dpCttBIwwZQWW5tZ6a3iBJyMPydtKuQ78udJbhjyc07CF/tkFQq3Qny1KeKqpKz29bvK RNeTrkQ4QFl1rR7n/jQXvz5kLg/nhrE4CQ4PatYu7A2/K0Orml0adyj28NB7IBT4e57J 7TrEBn8chGOeM9jtcNr5ztYsKX+BX4xaGipK2SGE9uY0RzIyonSetBYdYOrYanBLTS4U WUfA== X-Gm-Message-State: AFq9FYKDPzPyPTdRGy721wcU0uz74qH38jLYUbIKk+P/myRKLmyCxVoI /Bi1s+ViAyzT69T9RWPo/adHYujQrEK9W/IYH7n7yW0eS5mvZZROQJY5H6D9KQ== X-Gm-Gg: AYBFou0VbnHsxiVKGCZNTsnt4PBQ4XIPpiJCksB457/D2K8EH/gm7J88NznR94BUjFx fPTNL3q4Wygxx3JcjMdZZtJ7EXE/3ywmv8OVXGj6pp9b9CScYMPzeGjEQaOwjIb+YQgHVrQSVRP 9IO3T4ZL46fRs9Ergd5vsbwAK9a44U55LMrvO3lvDrkxXNG5k5in9WDFYTpSt4uN3taRQYSjUoA F5y6v63YBDVS/jzLGiLf5VNSDEMvU89GL0DvotEqMyhIvbs2GTQZ8ftnrI8Rp6903scsyuvUJkc cU84gUpObXnuu8/xMiM0JUoB/IvJCJwkmW4Dz6QGxcZzPMeroY24exivg9ui9UoC/mQOZpabaNd iVDuGEpqZuwDzWqG4v7TH5ea1mHQzaYTb+eHT5DLhI+sXbaPyWaHZV9K7U8vH7BIkSbeEJ1CSjo FC4d+xnCWaUb9lJbT+A8pNshh7IHNB5/P/mGRcH3MQ5ynCzClG3YeDWEU3zdS/k3Oxa9I7THoEu NdLfFJ+6AqAXgg2hv/EX4Y= X-Received: by 2002:a17:90b:258f:b0:3a6:dc51:cce9 with SMTP id 98e67ed59e1d1-3ab3a96634dmr14797690a91.57.1792042630570; Wed, 14 Oct 2026 22:37:10 -0700 (PDT) Received: from NVAPF55DW0D-IPD.. ([203.211.105.219]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3ac947928b4sm2396229a91.11.2026.10.14.22.37.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2026 22:37:10 -0700 (PDT) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [oe][meta-multimedia][PATCH v2 1/1] x265: upgrade 4.2 -> 4.3 Date: Thu, 15 Oct 2026 18:37:02 +1300 Message-ID: <20261015053702.2069346-1-ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 15 Oct 2026 05:37:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/130918 From: Ankur Tyagi - Update SRC_URI as official repository moved to GitHub[1] - Replace 0001-json11.cpp-Include-cstdint.patch with upstream backport - Refresh 0002-x265-fix-build-with-cmake-4.patch Changelog: https://github.com/Multicorewareinc/x265/blob/4.3/doc/reST/releasenotes.rst [1] https://www.x265.org/#contribute Signed-off-by: Ankur Tyagi --- ...1-fix-dynamicHDR10-undefined-uint8_t.patch | 23 +++++++++++++ .../0001-json11.cpp-Include-cstdint.patch | 33 ------------------- ...=> 0002-x265-fix-build-with-cmake-4.patch} | 31 +++++++---------- .../x265/{x265_4.2.bb => x265_4.3.bb} | 13 ++++---- 4 files changed, 40 insertions(+), 60 deletions(-) create mode 100644 meta-multimedia/recipes-multimedia/x265/x265/0001-fix-dynamicHDR10-undefined-uint8_t.patch delete mode 100644 meta-multimedia/recipes-multimedia/x265/x265/0001-json11.cpp-Include-cstdint.patch rename meta-multimedia/recipes-multimedia/x265/x265/{0001-x265-fix-build-with-cmake-4.patch => 0002-x265-fix-build-with-cmake-4.patch} (61%) rename meta-multimedia/recipes-multimedia/x265/{x265_4.2.bb => x265_4.3.bb} (72%) diff --git a/meta-multimedia/recipes-multimedia/x265/x265/0001-fix-dynamicHDR10-undefined-uint8_t.patch b/meta-multimedia/recipes-multimedia/x265/x265/0001-fix-dynamicHDR10-undefined-uint8_t.patch new file mode 100644 index 0000000000..cce6c8f6f2 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/x265/x265/0001-fix-dynamicHDR10-undefined-uint8_t.patch @@ -0,0 +1,23 @@ +From 3b7d8d1e6134db80db46a927c06c33074dcb4bda Mon Sep 17 00:00:00 2001 +From: ReenigneArcher +Date: Wed, 9 Jul 2025 14:41:33 +0000 +Subject: [PATCH] fix(dynamicHDR10): undefined-uint8_t + +(cherry picked from commit 98eec4057fc20850b59ed292b3f13ddeefc2f93f) +Signed-off-by: Ankur Tyagi +--- + source/dynamicHDR10/json11/json11.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/source/dynamicHDR10/json11/json11.cpp b/source/dynamicHDR10/json11/json11.cpp +index 762577735..c111ebb82 100644 +--- a/source/dynamicHDR10/json11/json11.cpp ++++ b/source/dynamicHDR10/json11/json11.cpp +@@ -22,6 +22,7 @@ + #include "json11.h" + #include + #include ++#include + #include + #include + #include diff --git a/meta-multimedia/recipes-multimedia/x265/x265/0001-json11.cpp-Include-cstdint.patch b/meta-multimedia/recipes-multimedia/x265/x265/0001-json11.cpp-Include-cstdint.patch deleted file mode 100644 index f32316009f..0000000000 --- a/meta-multimedia/recipes-multimedia/x265/x265/0001-json11.cpp-Include-cstdint.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 6cbd417be3f6bcbda77464db6a4d83cef3df8904 Mon Sep 17 00:00:00 2001 -From: Leon Anavi -Date: Mon, 5 May 2025 14:08:36 +0000 -Subject: [PATCH] json11.cpp: Include cstdint - -Fixes: - -json11.cpp:101:32: error: 'uint8_t' does not name a type - -This work was sponsored by GOVCERT.LU. - -Upstream-Status: Pending [https://bitbucket.org/multicoreware/x265_git/pull-requests/33] - -Signed-off-by: Leon Anavi ---- - dynamicHDR10/json11/json11.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/dynamicHDR10/json11/json11.cpp b/dynamicHDR10/json11/json11.cpp -index 7625777..74f990a 100644 ---- a/dynamicHDR10/json11/json11.cpp -+++ b/dynamicHDR10/json11/json11.cpp -@@ -25,6 +25,7 @@ - #include - #include - #include -+#include - - #if _MSC_VER - #pragma warning(disable: 4510) //const member cannot be default initialized --- -2.39.5 - diff --git a/meta-multimedia/recipes-multimedia/x265/x265/0001-x265-fix-build-with-cmake-4.patch b/meta-multimedia/recipes-multimedia/x265/x265/0002-x265-fix-build-with-cmake-4.patch similarity index 61% rename from meta-multimedia/recipes-multimedia/x265/x265/0001-x265-fix-build-with-cmake-4.patch rename to meta-multimedia/recipes-multimedia/x265/x265/0002-x265-fix-build-with-cmake-4.patch index 7d301777f0..64da2c31e0 100644 --- a/meta-multimedia/recipes-multimedia/x265/x265/0001-x265-fix-build-with-cmake-4.patch +++ b/meta-multimedia/recipes-multimedia/x265/x265/0002-x265-fix-build-with-cmake-4.patch @@ -1,4 +1,4 @@ -From f376b858b38f8a3b922bb9a5165a5f6f806bd245 Mon Sep 17 00:00:00 2001 +From 5e759128b016cb03866ada875166560155b9d21e Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Thu, 10 Jul 2025 09:04:27 +0200 Subject: [PATCH] x265: fix build with cmake 4 @@ -8,16 +8,17 @@ with 4.0 Signed-off-by: Markus Volk -Upstream-Status: Submitted [https://github.com/videolan/x265/pull/17] +Upstream-Status: Submitted [https://github.com/Multicorewareinc/x265/pull/996] +Signed-off-by: Ankur Tyagi --- source/CMakeLists.txt | 2 +- - source/dynamicHDR10/CMakeLists.txt | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) + source/dynamicHDR10/CMakeLists.txt | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt -index 2e3beaaf3..45df2e9fd 100755 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt +index 3177af99a..f1364b886 100755 +--- a/source/CMakeLists.txt ++++ b/source/CMakeLists.txt @@ -11,7 +11,7 @@ if(POLICY CMP0042) cmake_policy(SET CMP0042 NEW) # MACOSX_RPATH endif() @@ -28,9 +29,9 @@ index 2e3beaaf3..45df2e9fd 100755 if (POLICY CMP0075) cmake_policy(SET CMP0075 NEW) # CMAKE_REQUIRED_LIBRARIES warning diff --git a/source/dynamicHDR10/CMakeLists.txt b/source/dynamicHDR10/CMakeLists.txt -index 4243338c6..03c866b1f 100644 ---- a/dynamicHDR10/CMakeLists.txt -+++ b/dynamicHDR10/CMakeLists.txt +index 4243338c6..2c3af4f00 100644 +--- a/source/dynamicHDR10/CMakeLists.txt ++++ b/source/dynamicHDR10/CMakeLists.txt @@ -10,7 +10,7 @@ add_library(dynamicHDR10 OBJECT hdr10plus.h api.cpp ) @@ -40,13 +41,3 @@ index 4243338c6..03c866b1f 100644 project(dynamicHDR10) include(CheckIncludeFiles) include(CheckFunctionExists) -@@ -150,4 +150,4 @@ set(BIN_INSTALL_DIR bin CACHE STRING "Install location of executables") - option(ENABLE_SHARED "Build shared library" OFF) - - install(FILES hdr10plus.h DESTINATION include) --endif() -\ No newline at end of file -+endif() --- -2.43.0 - diff --git a/meta-multimedia/recipes-multimedia/x265/x265_4.2.bb b/meta-multimedia/recipes-multimedia/x265/x265_4.3.bb similarity index 72% rename from meta-multimedia/recipes-multimedia/x265/x265_4.2.bb rename to meta-multimedia/recipes-multimedia/x265/x265_4.3.bb index 9bef2b8bd2..6459fbc8cf 100644 --- a/meta-multimedia/recipes-multimedia/x265/x265_4.2.bb +++ b/meta-multimedia/recipes-multimedia/x265/x265_4.3.bb @@ -1,6 +1,6 @@ SUMMARY = "H.265/HEVC video encoder" DESCRIPTION = "A free software library and application for encoding video streams into the H.265/HEVC format." -HOMEPAGE = "https://bitbucket.org/multicoreware/x265_git" +HOMEPAGE = "https://github.com/Multicorewareinc/x265" LICENSE = "GPL-2.0-only" LICENSE_FLAGS = "commercial" @@ -9,12 +9,12 @@ LIC_FILES_CHKSUM = "file://../COPYING;md5=c9e0427bc58f129f99728c62d4ad4091" DEPENDS = "nasm-native gnutls zlib libpcre numactl" SRC_URI = " \ - https://download.videolan.org/pub/pub/videolan/${BPN}/${BPN}_${PV}.tar.gz \ - file://0001-json11.cpp-Include-cstdint.patch \ - file://0001-x265-fix-build-with-cmake-4.patch \ + git://github.com/Multicorewareinc/x265.git;protocol=https;branch=master;tag=${PV} \ + file://0001-fix-dynamicHDR10-undefined-uint8_t.patch \ + file://0002-x265-fix-build-with-cmake-4.patch \ " -SRC_URI[sha256sum] = "40b1ea0453e0309f0eba934e0ddf533f8f6295966679e8894e8f1c1c8d5e1210" -S = "${UNPACKDIR}/x265_${PV}/source" +SRCREV = "e9b88125dc21393b3fd8d68e98083bdfb89778a8" +S = "${UNPACKDIR}/x265-${PV}/source" inherit lib_package cmake pkgconfig @@ -30,4 +30,3 @@ PACKAGECONFIG[10bit] = "-DHIGH_BIT_DEPTH=ON,-DHIGH_BIT_DEPTH=OFF" FILES:${PN} += "${libdir}/libhdr10plus.so" FILES:${PN}-dev = "${includedir} ${libdir}/pkgconfig ${libdir}/libx265.so" -