diff --git a/common/shlibs b/common/shlibs index 40c111acca2b6c..dcc00e924b12a1 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3988,6 +3988,7 @@ libjsonnet.so.0 jsonnet-0.14.0_2 libjsonnet++.so.0 jsonnet-0.14.0_2 libigdgmm.so.12 intel-gmmlib-22.1.3_1 libigfxcmrt.so.7 intel-media-driver-21.3.5_1 +libmfx-gen.so.1.2 vpl-gpu-rt-26.3.0_1 libigraph.so.4 igraph-1.0.0_1 libgtk-layer-shell.so.0 gtk-layer-shell-0.1.0_1 libgtk4-layer-shell.so.0 gtk4-layer-shell-1.1.0_1 diff --git a/srcpkgs/igt-gpu-tools/patches/intel_gpu_frequency-include-limits-h.patch b/srcpkgs/igt-gpu-tools/patches/intel_gpu_frequency-include-limits-h.patch new file mode 100644 index 00000000000000..f25760df1dee54 --- /dev/null +++ b/srcpkgs/igt-gpu-tools/patches/intel_gpu_frequency-include-limits-h.patch @@ -0,0 +1,35 @@ +From 546739ecee630644dec065cc4b146430f8ca8654 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Fri, 10 Jul 2026 20:46:18 +0200 +Subject: [PATCH] tools/intel_gpu_frequency: include limits.h to fix musl build +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes build error seen with musl-based toolchains: + +../tools/intel_gpu_frequency.c:90:19: error: + ‘PATH_MAX’ undeclared (first use in this function) + 90 | char path[PATH_MAX]; + +Signed-off-by: Bernd Kuhls +Reviewed-by: Kamil Konieczny +--- + tools/intel_gpu_frequency.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tools/intel_gpu_frequency.c b/tools/intel_gpu_frequency.c +index 6316c2e58..7df7f331d 100644 +--- a/tools/intel_gpu_frequency.c ++++ b/tools/intel_gpu_frequency.c +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + #include + #include + #include +-- +GitLab + diff --git a/srcpkgs/igt-gpu-tools/patches/musl.patch b/srcpkgs/igt-gpu-tools/patches/musl.patch deleted file mode 100644 index bf7ae072fe6ac7..00000000000000 --- a/srcpkgs/igt-gpu-tools/patches/musl.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- a/lib/igt_vc4.h -+++ b/lib/igt_vc4.h -@@ -31,7 +31,9 @@ - #include "igt_fb.h" - #include "vc4_drm.h" - -+#ifndef PAGE_SIZE - #define PAGE_SIZE 4096 -+#endif - - uint32_t igt_vc4_get_cleared_bo(int fd, size_t size, uint32_t clearval); - int igt_vc4_create_bo(int fd, size_t size); - ---- a/lib/xe/xe_sriov_debugfs.c -+++ b/lib/xe/xe_sriov_debugfs.c -@@ -3,6 +3,7 @@ - * Copyright(c) 2024 Intel Corporation. All rights reserved. - */ - -+#include - #include - #include - ---- a/lib/svga/vm_basic_types.h -+++ b/lib/svga/vm_basic_types.h -@@ -27,6 +27,9 @@ - #define VM_BASIC_TYPES_H - - #define PAGE_SHIFT 12 -+#ifdef PAGE_SIZE -+#undef PAGE_SIZE -+#endif - #define PAGE_SIZE (1 << PAGE_SHIFT) - #define PAGE_MASK (~(PAGE_SIZE - 1)) - #define PAGE_ALIGN(addr) (((addr) + PAGE_SIZE - 1) & PAGE_MASK) diff --git a/srcpkgs/igt-gpu-tools/patches/xe_madvise-fix-sighandler-cast-musl.patch b/srcpkgs/igt-gpu-tools/patches/xe_madvise-fix-sighandler-cast-musl.patch new file mode 100644 index 00000000000000..31784a36b5e292 --- /dev/null +++ b/srcpkgs/igt-gpu-tools/patches/xe_madvise-fix-sighandler-cast-musl.patch @@ -0,0 +1,45 @@ +From 5d0cdd6f2f5d3ad4992da1edf67f22622a8bb153 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Fri, 10 Jul 2026 20:46:19 +0200 +Subject: [PATCH] tests/intel/xe_madvise: Fix the type for sighandler_t +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +__sighandler_t is private interface in glibc so its +better to not use it, as an aside fixes build with musl + +Patch was inspired by +https://lists.gnu.org/r/bug-time/2025-03/msg00000.html + +Fixes build error seen with musl-based toolchains: + +../tests/intel/xe_madvise.c: In function ‘test_dontneed_after_mmap’: +../tests/intel/xe_madvise.c:400:48: error: ‘__sighandler_t’ undeclared + (first use in this function); did you mean ‘sighandler_t’? + 400 | old_sigsegv = signal(SIGSEGV, (__sighandler_t)sigtrap); + +Signed-off-by: Bernd Kuhls +Reviewed-by: Kamil Konieczny +--- + tests/intel/xe_madvise.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/tests/intel/xe_madvise.c b/tests/intel/xe_madvise.c +index 3d36be941..a33a08630 100644 +--- a/tests/intel/xe_madvise.c ++++ b/tests/intel/xe_madvise.c +@@ -397,8 +397,8 @@ static void test_dontneed_after_mmap(int fd) + char *ptr = (char *)map; + int sig; + +- old_sigsegv = signal(SIGSEGV, (__sighandler_t)sigtrap); +- old_sigbus = signal(SIGBUS, (__sighandler_t)sigtrap); ++ old_sigsegv = signal(SIGSEGV, (sighandler_t)sigtrap); ++ old_sigbus = signal(SIGBUS, (sighandler_t)sigtrap); + + sig = sigsetjmp(jmp, 1); /* savemask=1: save/restore signal mask */ + switch (sig) { +-- +GitLab + diff --git a/srcpkgs/igt-gpu-tools/template b/srcpkgs/igt-gpu-tools/template index 98ad52eb274d88..c612c1d987ebda 100644 --- a/srcpkgs/igt-gpu-tools/template +++ b/srcpkgs/igt-gpu-tools/template @@ -1,20 +1,20 @@ # Template file for 'igt-gpu-tools' pkgname=igt-gpu-tools -version=2.1 +version=2.5 revision=1 build_style=meson configure_args="-Db_ndebug=false -Ddocs=disabled" hostmakedepends="pkg-config flex peg python3-docutils" makedepends="libdrm-devel libkmod-devel liboping-devel procps-ng-devel libunwind-devel elfutils-devel pixman-devel valgrind-devel cairo-devel xmlrpc-c-devel gsl-devel - alsa-lib-devel json-c-devel libXrandr-devel" + alsa-lib-devel json-c-devel libXrandr-devel pciutils-devel" short_desc="Tools for development and testing of the DRM drivers" maintainer="Orphaned " license="MIT" homepage="https://gitlab.freedesktop.org/drm/igt-gpu-tools" changelog="https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/raw/master/NEWS" distfiles="${XORG_SITE}/app/igt-gpu-tools-${version}.tar.xz" -checksum=bf72beff71093db692f386c9359b557dfa8e8c45250439c952564b1b6fe343f8 +checksum=bf5ee5cc1e2b92c456d626b7986be9e2d18b4765cd06c28c1ab449200c1ce5e2 # tests don't behave in containers make_check=ci-skip diff --git a/srcpkgs/intel-gmmlib/template b/srcpkgs/intel-gmmlib/template index ff7136bad6ee49..2b3ccbc4a1d756 100644 --- a/srcpkgs/intel-gmmlib/template +++ b/srcpkgs/intel-gmmlib/template @@ -1,6 +1,6 @@ # Template file for 'intel-gmmlib' pkgname=intel-gmmlib -version=22.9.0 +version=22.10.0 revision=1 archs="i686* x86_64*" build_style=cmake @@ -17,7 +17,7 @@ maintainer="Orphaned " license="MIT" homepage="https://github.com/intel/gmmlib" distfiles="https://github.com/intel/gmmlib/archive/intel-gmmlib-${version}.tar.gz" -checksum=6ae262b95540681ad5478c63affb880135f772c95410b092009a6f7dfc04a5ba +checksum=893e3c5a24b408ac312a0318b70f38f427f297646e323f31e79d3a06a92c1543 lib32disabled=yes @@ -26,7 +26,7 @@ post_install() { } intel-gmmlib-devel_package() { - depends="${makedepends} ${sourcepkg}-${version}_${revision}" + depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include diff --git a/srcpkgs/intel-media-driver/template b/srcpkgs/intel-media-driver/template index b4c9fa09dbf964..a53ddcd5deb98b 100644 --- a/srcpkgs/intel-media-driver/template +++ b/srcpkgs/intel-media-driver/template @@ -1,6 +1,6 @@ # Template file for 'intel-media-driver' pkgname=intel-media-driver -version=25.4.6 +version=26.3.0 revision=1 archs="x86_64*" build_style=cmake @@ -13,7 +13,7 @@ license="MIT, BSD-3-Clause" homepage="https://github.com/intel/media-driver" changelog="https://github.com/intel/media-driver/releases" distfiles="https://github.com/intel/media-driver/archive/intel-media-${version}.tar.gz" -checksum=e5cf57c66e22359d1ec07d766b04e5da43677b9330999ce0dbf686aac60cf6bb +checksum=ceeb7a5914953bc03c93daa1251ab41f1e5706bfc272dac3d4d4443a20689002 build_options="nonfree" desc_option_nonfree="Enable nonfree kernels" @@ -23,7 +23,7 @@ post_install() { } intel-media-driver-devel_package() { - depends="${makedepends} ${sourcepkg}-${version}_${revision}" + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include diff --git a/srcpkgs/intel-media-driver/update b/srcpkgs/intel-media-driver/update index 434a2bc67f7a16..95567a25b15b0e 100644 --- a/srcpkgs/intel-media-driver/update +++ b/srcpkgs/intel-media-driver/update @@ -1 +1 @@ -pkgname=intel-media +pattern="intel-media-\K[0-9]+\.[0-9]+\.[0-9]+($|(?=^))" diff --git a/srcpkgs/libva-glx/template b/srcpkgs/libva-glx/template index fe78afae64be0b..ece0bb1db067e7 100644 --- a/srcpkgs/libva-glx/template +++ b/srcpkgs/libva-glx/template @@ -1,31 +1,31 @@ # Template file for 'libva-glx' # -# THIS PACKAGE IS SPLITTED FROM "libva" TO AVOID A CYCLIC DEPENDENCY: -# -# libva -> mesa -> libva -# -# NOTE: keep this pkg synchronized with libva and the minor version with libva-utils +# THIS PACKAGE MUST BE KEPT IN EXACT SYNC WITH "libva" +# AND IN MINOR VERSION SYNC WITH "libva-utils" # +# IT IS SPLIT TO AVOID A CYCLIC DEPENDENCY: +# libva -> mesa -> libva pkgname=libva-glx -version=2.22.0 +version=2.24.1 revision=1 build_style=meson -configure_args="-Dwith_glx=yes -Dwith_wayland=yes" -hostmakedepends="pkg-config wayland-devel" -makedepends="libva-devel libXfixes-devel MesaLib-devel wayland-devel" +configure_args="-Dwith_glx=yes" +hostmakedepends="pkg-config" +makedepends="libva-devel libXfixes-devel MesaLib-devel" short_desc="Video Acceleration (VA) API - GLX backend" maintainer="Orphaned " license="MIT" -homepage="https://01.org/linuxmedia/vaapi" +homepage="https://intel.github.io/libva" changelog="https://raw.githubusercontent.com/intel/libva/master/NEWS" distfiles="https://github.com/intel/libva/archive/refs/tags/${version}.tar.gz" -checksum=467c418c2640a178c6baad5be2e00d569842123763b80507721ab87eb7af8735 +checksum=0b4a3649ee8d683b9cce2ef094df4fb039d276c0cef7e49337c43d3b297b9f42 post_install() { # We are only interested in the glx component, remove everything else. mkdir -p ${wrksrc}/temp/usr/lib/pkgconfig ${wrksrc}/temp/usr/include/va mv ${DESTDIR}/usr/lib/libva-glx* ${wrksrc}/temp/usr/lib mv ${DESTDIR}/usr/include/va/va_glx.h ${wrksrc}/temp/usr/include/va + mv ${DESTDIR}/usr/include/va/va_backend_glx.h ${wrksrc}/temp/usr/include/va mv ${DESTDIR}/usr/lib/pkgconfig/libva-glx.pc ${wrksrc}/temp/usr/lib/pkgconfig rm -rf ${DESTDIR}/* mv ${wrksrc}/temp/* ${DESTDIR} @@ -33,7 +33,7 @@ post_install() { } libva-glx-devel_package() { - depends="libva-devel ${sourcepkg}-${version}_${revision}" + depends="libva-devel ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include diff --git a/srcpkgs/libva-glx/update b/srcpkgs/libva-glx/update index 93fa059287c8ed..1dd70a2c2ff932 100644 --- a/srcpkgs/libva-glx/update +++ b/srcpkgs/libva-glx/update @@ -1 +1 @@ -pkgname=libva +pattern="refs/tags/\K[0-9]+\.[0-9]+\.[0-9]+($|(?=^))" diff --git a/srcpkgs/libva-utils/template b/srcpkgs/libva-utils/template index 626367522e955a..5a773ec94180b0 100644 --- a/srcpkgs/libva-utils/template +++ b/srcpkgs/libva-utils/template @@ -1,20 +1,21 @@ # Template file for 'libva-utils' -# NOTE: keep minor version synchronized with libva and libva-glx +# +# THIS PACKAGE MUST BE KEPT IN MINOR VERSION SYNC +# WITH "libva" AND "libva-glx" pkgname=libva-utils -version=2.22.0 +version=2.24.0 revision=1 build_style=meson -configure_args="-Ddrm=true -Dx11=true -Dwayland=true" hostmakedepends="pkg-config wayland-devel" makedepends="libva-devel libXfixes-devel libXext-devel libdrm-devel wayland-devel" short_desc="Video Acceleration (VA) API - Utilities" maintainer="icp " license="MIT" -homepage="https://01.org/linuxmedia" +homepage="https://github.com/intel/libva-utils" changelog="https://raw.githubusercontent.com/intel/libva-utils/master/NEWS" distfiles="https://github.com/intel/libva-utils/archive/refs/tags/${version}.tar.gz" -checksum=7b57615c130427ec134bb5d2b80af516ce5bb19a40e89b1dab46a0d59760d96c +checksum=bf959a1ced3cde8176a7ff50ad358ee98e93301ac068581a8b2617c5b83afcb3 post_install() { vlicense COPYING diff --git a/srcpkgs/libva/template b/srcpkgs/libva/template index edda7da60fa989..80502403d988a2 100644 --- a/srcpkgs/libva/template +++ b/srcpkgs/libva/template @@ -1,7 +1,9 @@ # Template file for 'libva' -# NOTE: keep this pkg synchronized with libva-glx and the minor version with libva-utils +# +# THIS PACKAGE MUST BE KEPT IN EXACT SYNC WITH "libva-glx" +# AND IN MINOR VERSION SYNC WITH "libva-utils" pkgname=libva -version=2.22.0 +version=2.24.1 revision=1 build_style=meson configure_args="-Dwith_glx=no" @@ -11,10 +13,10 @@ makedepends="libXfixes-devel libXext-devel libdrm-devel short_desc="Video Acceleration (VA) API" maintainer="Orphaned " license="MIT" -homepage="https://01.org/linuxmedia/vaapi" +homepage="https://intel.github.io/libva" changelog="https://raw.githubusercontent.com/intel/libva/master/NEWS" distfiles="https://github.com/intel/libva/archive/refs/tags/${version}.tar.gz" -checksum=467c418c2640a178c6baad5be2e00d569842123763b80507721ab87eb7af8735 +checksum=0b4a3649ee8d683b9cce2ef094df4fb039d276c0cef7e49337c43d3b297b9f42 build_options="wayland" build_options_default="wayland" diff --git a/srcpkgs/libva/update b/srcpkgs/libva/update new file mode 100644 index 00000000000000..1dd70a2c2ff932 --- /dev/null +++ b/srcpkgs/libva/update @@ -0,0 +1 @@ +pattern="refs/tags/\K[0-9]+\.[0-9]+\.[0-9]+($|(?=^))" diff --git a/srcpkgs/libvpl/template b/srcpkgs/libvpl/template index 71928d639e2680..a42c8444fff087 100644 --- a/srcpkgs/libvpl/template +++ b/srcpkgs/libvpl/template @@ -1,18 +1,17 @@ # Template file for 'libvpl' pkgname=libvpl -version=2.16.0 +version=2.17.0 revision=1 build_style=cmake -configure_args="-DBUILD_EXAMPLES=ON" hostmakedepends="pkg-config" makedepends="libva-devel libX11-devel" -short_desc="Intel oneAPI Video Processing Library" +short_desc="Intel Video Processing Library (Intel VPL)" maintainer="zlice " license="MIT" homepage="https://github.com/intel/libvpl" -changelog="https://github.com/intel/libvpl/blob/master/CHANGELOG.md" +changelog="https://github.com/intel/libvpl/blob/main/CHANGELOG.md" distfiles="https://github.com/intel/libvpl/archive/refs/tags/v${version}.tar.gz" -checksum=d60931937426130ddad9f1975c010543f0da99e67edb1c6070656b7947f633b6 +checksum=4de3e2faf1e8307fb282e4a43f443191810f6a6b0a484fffa7995ba1c814c6ec post_install() { vlicense LICENSE @@ -34,8 +33,6 @@ libvpl-examples_package() { short_desc+=" - examples" depends="${sourcepkg}>=${version}_${revision}" pkg_install() { - #they removed cmake lines that install bins in 2.15. not sure if accident? - #vmove usr/bin vmove usr/share/vpl/examples } } diff --git a/srcpkgs/libvpl/update b/srcpkgs/libvpl/update new file mode 100644 index 00000000000000..5d570518323790 --- /dev/null +++ b/srcpkgs/libvpl/update @@ -0,0 +1 @@ +ignore="20[0-9][0-9].*" diff --git a/srcpkgs/vpl-gpu-rt/template b/srcpkgs/vpl-gpu-rt/template index 63489d7622a38d..de26bbc4cbc613 100644 --- a/srcpkgs/vpl-gpu-rt/template +++ b/srcpkgs/vpl-gpu-rt/template @@ -1,6 +1,6 @@ # Template file for 'vpl-gpu-rt' pkgname=vpl-gpu-rt -version=25.4.6 +version=26.3.0 revision=1 archs="x86_64*" build_style=cmake @@ -13,7 +13,7 @@ license="MIT" homepage="https://github.com/intel/vpl-gpu-rt/" changelog="https://github.com/intel/vpl-gpu-rt/blob/main/CHANGELOG.md" distfiles="https://github.com/intel/vpl-gpu-rt/archive/refs/tags/intel-onevpl-${version}.tar.gz" -checksum=a4cc2429fba49ee1d5f48883930e2e7325f0af38af83c8048793c8b1d3fa4a8f +checksum=205f96adb1ace4e853d576eca462d4cbd62b9c65883493d2cd0ec33d484c0120 post_install() { vlicense LICENSE @@ -22,6 +22,7 @@ post_install() { vpl-gpu-rt-devel_package() { short_desc+=" - development files" pkg_install() { + vmove "usr/lib/*.so" vmove usr/lib/pkgconfig } } diff --git a/srcpkgs/vpl-gpu-rt/update b/srcpkgs/vpl-gpu-rt/update new file mode 100644 index 00000000000000..a667ada3270730 --- /dev/null +++ b/srcpkgs/vpl-gpu-rt/update @@ -0,0 +1 @@ +pattern="intel-onevpl-\K[0-9]+\.[0-9]+\.[0-9]+($|(?=^))"