Skip to contentSkip to conversation

spirv-shader-generator: update to 1.4.328.1

PATCH New Gyorgy Sarvari 1 participant 5 messages Nov 8, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 spirv-shader-generator: update to 1.4.328.1

Update to latest tagged release - the recipe was using a 3 years old commit, however the project is under active development.

Drop 0001-allow-build-with-cmake-4.patch patch, because it is included in this version.

Also, correct the branch name, which was renamed from master to main.

---
 .../0001-allow-build-with-cmake-4.patch       | 43 -------------------
 ...bb => spirv-shader-generator_1.4.328.1.bb} |  5 +--
 2 files changed, 2 insertions(+), 46 deletions(-)
 delete mode 100644 meta-oe/recipes-graphics/spir/spirv-shader-generator/0001-allow-build-with-cmake-4.patch
 rename meta-oe/recipes-graphics/spir/{spirv-shader-generator_git.bb => spirv-shader-generator_1.4.328.1.bb} (75%)
meta-oe/recipes-graphics/spir/spirv-shader-generator/0001-allow-build-with-cmake-4.patch deleted +0 -43
deleted file mode 100644
index 31b3ef81fa..0000000000
@@ -1,43 +0,0 @@
-From ba72528b21e024fe4f5464466976a8234d7c330c Mon Sep 17 00:00:00 2001
-From: Alper Ak <[email protected]>
-Date: Tue, 8 Jul 2025 20:27:11 +0300
-Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+
- compatibility
-
-Fix:
-
-| CMake Error at CMakeLists.txt:22 (cmake_minimum_required):
-|   Compatibility with CMake < 3.5 has been removed from CMake.
-|
-|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
-|   to tell CMake that the project requires at least <min> but has been updated
-|   to work with policies introduced by <max> or earlier.
-|
-|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-|
-|
-| -- Configuring incomplete, errors occurred!
-
-Upstream-Status: Backport [https://github.com/KhronosGroup/SPIRV-Cross/commit/82331a2ca9f2ea90d05901e931aa8c21e70dc40c]
-
-Signed-off-by: Alper Ak <[email protected]>
----
- CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index cf14c8d5..ef9695a9 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -19,7 +19,7 @@
- #  2. The MIT License, found at <http://opensource.org/licenses/MIT>.
- #
- 
--cmake_minimum_required(VERSION 3.0)
-+cmake_minimum_required(VERSION 3.5)
- set(CMAKE_CXX_STANDARD 11)
- set(CMAKE_CXX_EXTENSIONS OFF)
- 
--- 
-2.43.0
-
meta-oe/recipes-graphics/spir/spirv-shader-generator_1.4.328.1.bb renamed from meta-oe/recipes-graphics/spir/spirv-shader-generator_git.bb +2 -3
similarity index 75%
rename from meta-oe/recipes-graphics/spir/spirv-shader-generator_git.bb
rename to meta-oe/recipes-graphics/spir/spirv-shader-generator_1.4.328.1.bb
index 1ecd315a2e..b5f22f08fc 100644
@@ -4,9 +4,8 @@ LICENSE  = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 SECTION = "graphics"
 
-SRCREV = "f09ba2777714871bddb70d049878af34b94fa54d"
-SRC_URI = "git://github.com/KhronosGroup/SPIRV-Cross.git;branch=master;protocol=https \
-        file://0001-allow-build-with-cmake-4.patch"
+SRCREV = "7affe74d77f93a622bb5002789d5332d32e512ee"
+SRC_URI = "git://github.com/KhronosGroup/SPIRV-Cross.git;branch=main;protocol=https;tag=vulkan-sdk-${PV}"
 
 inherit cmake pkgconfig
 
#1 lore raw

PATCH 2/5 libvdpau: fix SRC_URI

The old repository was moved to a new freedesktop gitlab instance.

---
 meta-oe/recipes-graphics/vdpau/libvdpau_1.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/vdpau/libvdpau_1.5.bb +1 -1
index 3ba561a54e..6449b90e8e 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=83af8811a28727a13f04132cc33b7f58"
 DEPENDS = "virtual/libx11 libxext xorgproto"
 
 SRCREV = "79f1506a3307d3275b0fdfb2e110c173f68e6f78"
-SRC_URI = "git://anongit.freedesktop.org/vdpau/libvdpau;branch=master"
+SRC_URI = "git://gitlab.freedesktop.org/vdpau/libvdpau.git;branch=master;protocol=https;tag=${PV}"
 
 
 inherit features_check meson pkgconfig
#2 lore raw

PATCH 3/5 pyxdg: update to latest revision

In reply to Gyorgy Sarvari

It is only 3 extra commits over the previous recipe, but it fixes 3 Python deprecations.

While here, also fix the SRC_URI - the original repository is not available anymore, as it was moved to a freedesktop gitlab instance.

Shortlog:
Replace imp with importlib to support Python 3.12
Menu: handle Python 3.14 ast.Str changes
Menu: handle Python 3.15 deprecations

---
 meta-oe/recipes-gnome/pyxdg/pyxdg_0.28.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-gnome/pyxdg/pyxdg_0.28.bb +4 -2
index b4dc739ec3..4e2af67e98 100644
@@ -4,8 +4,10 @@ SECTION = "devel/python"
 LICENSE = "LGPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a"
 
-SRCREV = "1d23e483ae869ee9532aca43b133cc43f63626a3"
-SRC_URI = "git://anongit.freedesktop.org/xdg/pyxdg;branch=master"
+PV .= "+git"
+
+SRCREV = "63033ac306aa26d32e1439417e59ae8f8a4c9820"
+SRC_URI = "git://gitlab.freedesktop.org/xdg/pyxdg.git;branch=master;protocol=https"
 
 inherit setuptools3
 
#3 lore raw

PATCH 4/5 vdpauinfo: fix SRC_URI

In reply to Gyorgy Sarvari

The previous repository was moved to freedesktop's gitlab instance.

---
 meta-oe/recipes-graphics/vdpau/vdpauinfo_1.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/vdpau/vdpauinfo_1.5.bb +1 -1
index a7db743239..f36ac5e155 100644
@@ -13,7 +13,7 @@ REQUIRED_DISTRO_FEATURES = "x11"
 RDEPENDS:${PN} = "libvdpau"
 
 SRCREV = "d3c5bd63bf8878d59b22d618d2bb5116db392d28"
-SRC_URI = "git://anongit.freedesktop.org/vdpau/vdpauinfo;branch=master"
+SRC_URI = "git://gitlab.freedesktop.org/vdpau/vdpauinfo.git;protocol=https;branch=master;tag=${PV}"
 
 
 inherit autotools pkgconfig
#4 lore raw

PATCH 5/5 xf86-video-armsoc: fix SRC_URI

In reply to Gyorgy Sarvari

The previously used repo was moved to freedesktop's gitlab instance.

---
 meta-oe/recipes-graphics/xorg-driver/xf86-video-armsoc_1.4.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/xorg-driver/xf86-video-armsoc_1.4.1.bb +1 -1
index 8fd2ae2e84..d150457fc1 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=10ce5de3b111315ea652a5f74ec0c602"
 DEPENDS += "virtual/libx11 libdrm xorgproto"
 
 SRCREV = "8bbdb2ae3bb8ef649999a8da33ddbe11a04763b8"
-SRC_URI = "git://anongit.freedesktop.org/xorg/driver/xf86-video-armsoc;branch=master"
+SRC_URI = "git://gitlab.freedesktop.org/xorg/driver/xf86-video-armsoc.git;protocol=https;branch=master;tag=${PV}"
 
 
 RDEPENDS:${PN} += "xserver-xorg-module-exa"