Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -4077,6 +4077,9 @@ 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
libigt.so.0 igt-gpu-tools-2.6_1
libi915_perf.so.1.5 igt-gpu-tools-2.6_1
libxe_oa.so.1.5 igt-gpu-tools-2.6_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
Expand Down
1 change: 1 addition & 0 deletions srcpkgs/igt-gpu-tools-devel

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
From 3d96cd832d6f1dd9625bce109944a31c98fe88f8 Mon Sep 17 00:00:00 2001
From: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Date: Thu, 8 Oct 2026 13:14:35 +0200
Subject: [PATCH] lib/igt_platform_filter: Fix musl build
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

When using musl C libs, stdout/stderr are read-only vars and
compilation reports errors, for example:

../lib/igt_platform_filter.c: In function ‘igt_platform_filter_dump_to_file’:
../lib/igt_platform_filter.c:551:16: error: assignment of read-only variable ‘stdout’
551 | stdout = f;

Also man stdout points out:
Since the symbols stdin, stdout, and stderr are specified to be
macros, assigning to them is nonportable.

As this function do not have any user, just remove it.

Cc: Vitaly Prosyak <vitaly.prosyak@amd.com>
Cc: Jesse Zhang <jesse.zhang@amd.com>
Reported-by: Bernd Kuhls <bernd@kuhls.net>
Closes: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/work_items/211
Signed-off-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Reviewed-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
---
lib/igt_platform_filter.c | 33 ---------------------------------
1 file changed, 33 deletions(-)

diff --git a/lib/igt_platform_filter.c b/lib/igt_platform_filter.c
index 15b4e9690..9ccc0eadc 100644
--- a/lib/igt_platform_filter.c
+++ b/lib/igt_platform_filter.c
@@ -527,39 +527,6 @@ void igt_platform_filter_dump(void)
igt_info("═══════════════════════════════════════════════════════════════════\n\n");
}

-/**
- * igt_platform_filter_dump_to_file:
- * @filename: Path to output file
- *
- * Dump platform filtering configuration to a file.
- *
- * Returns: 0 on success, -1 on error
- */
-int igt_platform_filter_dump_to_file(const char *filename)
-{
- FILE *old_stdout;
- FILE *f;
-
- f = fopen(filename, "w");
- if (!f) {
- igt_warn("Failed to open %s for writing\n", filename);
- return -1;
- }
-
- /* Redirect stdout to file */
- old_stdout = stdout;
- stdout = f;
-
- igt_platform_filter_dump();
-
- /* Restore stdout */
- stdout = old_stdout;
- fclose(f);
-
- igt_info("Platform filter configuration dumped to: %s\n", filename);
- return 0;
-}
-
/**
* igt_platform_filter_is_initialized:
*
--
GitLab

This file was deleted.

23 changes: 16 additions & 7 deletions srcpkgs/igt-gpu-tools/template
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
# Template file for 'igt-gpu-tools'
pkgname=igt-gpu-tools
version=2.5
version=2.6
revision=1
archs="i686* x86_64*"
build_style=meson
# meson.build refuses to configure with -Db_ndebug=true (xbps-src default)
configure_args="-Db_ndebug=false -Ddocs=disabled"
hostmakedepends="pkg-config flex peg python3-docutils"
hostmakedepends="pkg-config flex bison 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 pciutils-devel"
alsa-lib-devel jansson-devel libXrandr-devel pciutils-devel"
short_desc="Tools for development and testing of the DRM drivers"
maintainer="Orphaned <orphan@voidlinux.org>"
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"
# x.freedesktop.org certificate expired the day this was merged
distfiles="https://devspace.voidlinux.org/duncaen/igt-gpu-tools-${version}.tar.xz"
checksum=bf5ee5cc1e2b92c456d626b7986be9e2d18b4765cd06c28c1ab449200c1ce5e2
distfiles="${XORG_SITE}/app/igt-gpu-tools-${version}.tar.xz"
checksum=5d5190debfec0ee1728430897f243d0afa271856c2cb5834a23b23f08be8d06e

# tests don't behave in containers
make_check=ci-skip
Expand All @@ -28,6 +27,16 @@ post_install() {
vlicense COPYING
}

igt-gpu-tools-devel_package() {
depends="libdrm-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}

intel-gpu-tools_package() {
depends="igt-gpu-tools>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
Expand Down
8 changes: 4 additions & 4 deletions srcpkgs/intel-media-driver/template
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# Template file for 'intel-media-driver'
pkgname=intel-media-driver
version=26.3.5
version=26.4.1
revision=1
archs="x86_64*"
build_style=cmake
configure_args="-DENABLE_NONFREE_KERNELS=$(vopt_if nonfree ON OFF)"
hostmakedepends="pkg-config"
makedepends="libva-devel libX11-devel intel-gmmlib-devel libpciaccess-devel"
makedepends="libva-devel libX11-devel intel-gmmlib-devel"
short_desc="Intel Media Driver for VAAPI (Broadwell+)"
maintainer="Orphaned <orphan@voidlinux.org>"
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=76f41c06cefc91d57e0b7d366b7a91b8420ec77939326491795f9fb26afca7e7
checksum=9ff79e04075fa52ad9d5bc66154f508892241a61f85192d0846de9f55b9f2ef2

build_options="nonfree"
desc_option_nonfree="Enable nonfree kernels"
Expand All @@ -23,7 +23,7 @@ post_install() {
}

intel-media-driver-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
depends="libva-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
Expand Down
7 changes: 4 additions & 3 deletions srcpkgs/vpl-gpu-rt/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'vpl-gpu-rt'
pkgname=vpl-gpu-rt
version=26.3.5
version=26.4.1
revision=1
archs="x86_64*"
build_style=cmake
Expand All @@ -10,16 +10,17 @@ makedepends="libdrm-devel libva-devel libvpl-devel"
short_desc="Runtime implementation of libvpl API for Intel GPUs"
maintainer="zlice <zlice555@gmail.com>"
license="MIT"
homepage="https://github.com/intel/vpl-gpu-rt/"
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=92867a0f8c09d81419102a61713e9f98dfd2af3fc9c91c6f4fb6d0c784c8e442
checksum=7550feb11581709c884cfe8e8b0968b8b387ece23388189108005aeefde09ecd

post_install() {
vlicense LICENSE
}

vpl-gpu-rt-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.so"
Expand Down
Loading