From 2c7cbc24596973e2efc8180af81e57ddfa24654b Mon Sep 17 00:00:00 2001 From: Dorinda Bassey Date: Wed, 19 Mar 2025 14:30:38 +0100 Subject: [PATCH 1/3] Fix gfxstream build errors on Fedora ELN Fix gfxstream build errors on Fedora ELN Signed-off-by: Dorinda Bassey --- fix_missing_cstdint.patch | 60 +++++++++++++++++++++++++++++++++++++++ gfxstream.spec | 3 ++ 2 files changed, 63 insertions(+) create mode 100644 fix_missing_cstdint.patch diff --git a/fix_missing_cstdint.patch b/fix_missing_cstdint.patch new file mode 100644 index 0000000..67d225b --- /dev/null +++ b/fix_missing_cstdint.patch @@ -0,0 +1,60 @@ +diff --git a/host/BorrowedImage.h b/host/BorrowedImage.h +index ed2890568..51ea2b6b1 100644 +--- a/host/BorrowedImage.h ++++ b/host/BorrowedImage.h +@@ -12,6 +12,7 @@ + // See the License for the specific language governing permissions and + // limitations under the License. + ++#include + #pragma once + + namespace gfxstream { +diff --git a/host/compressedTextureFormats/AstcCpuDecompressor.h b/host/compressedTextureFormats/AstcCpuDecompressor.h +index 4823ee255..3af0bdc64 100644 +--- a/host/compressedTextureFormats/AstcCpuDecompressor.h ++++ b/host/compressedTextureFormats/AstcCpuDecompressor.h +@@ -15,6 +15,7 @@ + + #include + #include ++#include + + namespace gfxstream { + namespace vk { +diff --git a/host/compressedTextureFormats/AstcCpuDecompressorNoOp.cpp b/host/compressedTextureFormats/AstcCpuDecompressorNoOp.cpp +index f0e4f32be..2258c793d 100644 +--- a/host/compressedTextureFormats/AstcCpuDecompressorNoOp.cpp ++++ b/host/compressedTextureFormats/AstcCpuDecompressorNoOp.cpp +@@ -13,6 +13,7 @@ + // limitations under the License. + + #include "AstcCpuDecompressor.h" ++#include + + namespace gfxstream { + namespace vk { +diff --git a/host/vulkan/BufferVk.cpp b/host/vulkan/BufferVk.cpp +index 46f454049..9b12de07e 100644 +--- a/host/vulkan/BufferVk.cpp ++++ b/host/vulkan/BufferVk.cpp +@@ -14,6 +14,7 @@ + + #include "BufferVk.h" + ++#include + #include "VkCommonOperations.h" + + namespace gfxstream { +diff --git a/host/vulkan/BufferVk.h b/host/vulkan/BufferVk.h +index 9016fd745..a8a3fe3eb 100644 +--- a/host/vulkan/BufferVk.h ++++ b/host/vulkan/BufferVk.h +@@ -14,6 +14,7 @@ + + #include + #include ++#include + + namespace gfxstream { + namespace vk { diff --git a/gfxstream.spec b/gfxstream.spec index ddf22be..7a3768b 100644 --- a/gfxstream.spec +++ b/gfxstream.spec @@ -32,6 +32,9 @@ Source2: licensecheck.txt Patch0000: 0001-meson-use-system-headers-if-possible.patch Patch0001: 0001-meson-add-DGLM_ENABLE_EXPERIMENTAL.patch +%if 0%{?eln} +Patch0002: fix_missing_cstdint.patch +%endif BuildRequires: gcc BuildRequires: g++ From b22f19fc4bf7436ff92933bfcb53485bbb703119 Mon Sep 17 00:00:00 2001 From: Dorinda Bassey Date: Wed, 19 Mar 2025 18:47:54 +0100 Subject: [PATCH 2/3] Apply fix for gfxstream build errors to all releases Apply fix for gfxstream build errors to all fedora releases. Signed-off-by: Dorinda Bassey --- gfxstream.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/gfxstream.spec b/gfxstream.spec index 7a3768b..b94de79 100644 --- a/gfxstream.spec +++ b/gfxstream.spec @@ -32,9 +32,7 @@ Source2: licensecheck.txt Patch0000: 0001-meson-use-system-headers-if-possible.patch Patch0001: 0001-meson-add-DGLM_ENABLE_EXPERIMENTAL.patch -%if 0%{?eln} Patch0002: fix_missing_cstdint.patch -%endif BuildRequires: gcc BuildRequires: g++ From 7420468b3c4fb0e84a5a68bf58a90eb2b9ffc3af Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 21:21:10 +0000 Subject: [PATCH 3/3] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- gfxstream.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gfxstream.spec b/gfxstream.spec index b94de79..c70c2f4 100644 --- a/gfxstream.spec +++ b/gfxstream.spec @@ -3,7 +3,7 @@ Name: gfxstream Version: 0.1.2^%{gitdate}git%{gitversion} -Release: 3%{?dist} +Release: 4%{?dist} Summary: Graphics Streaming Kit @@ -88,6 +88,9 @@ gfxstream development files, used by QEMU to build against. %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 0.1.2^20240226git23d05703-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Thu Jan 16 2025 Fedora Release Engineering - 0.1.2^20240226git23d05703-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild