2 Commits

Author SHA256 Message Date
7b64ea3639 Accepting request 1291441 from games
OBS-URL: https://build.opensuse.org/request/show/1291441
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvsg?expand=0&rev=5
2025-07-09 15:28:53 +00:00
91f77f858d Accepting request 1291439 from home:rhabacker:branches:games:stable
- Fix building with Tumbleweed
- Add patch:
  * 0001-Fix-building-with-gcc-15.patch
- Migrate service file to use 'manual' instead of 'disabled' as
  suggested by osc

OBS-URL: https://build.opensuse.org/request/show/1291439
OBS-URL: https://build.opensuse.org/package/show/games/libvsg?expand=0&rev=14
2025-07-09 08:48:58 +00:00
4 changed files with 44 additions and 5 deletions

View File

@@ -0,0 +1,24 @@
From daf94bb5bb9a50914b081cad7740cd65b443fb5e Mon Sep 17 00:00:00 2001
From: Ralf Habacker <ralf.habacker@freenet.de>
Date: Wed, 2 Jul 2025 22:42:02 +0200
Subject: [PATCH] Fix building with gcc 15
---
SPIRV/SpvBuilder.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/glslang/SPIRV/SpvBuilder.h b/src/glslang/SPIRV/SpvBuilder.h
index 03b1a442..b328388e 100644
--- a/src/glslang/SPIRV/SpvBuilder.h
+++ b/src/glslang/SPIRV/SpvBuilder.h
@@ -56,6 +56,7 @@ namespace spv {
}
#include <algorithm>
+#include <cstdint>
#include <map>
#include <memory>
#include <set>
--
2.43.0

View File

@@ -1,5 +1,5 @@
<services>
<service name="tar_scm" mode="disabled">
<service name="tar_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/vsg-dev/VulkanSceneGraph.git</param>
<param name="revision">v1.0.9</param>
@@ -7,7 +7,7 @@
<param name="versionrewrite-pattern">v(.*)</param>
<param name="package-meta">no</param>
</service>
<service name="tar_scm" mode="disabled">
<service name="tar_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/vsg-dev/glslang.git</param>
<param name="filename">glslang</param>
@@ -15,11 +15,11 @@
<param name="versionformat">%cd+git.%h</param>
<param name="package-meta">no</param>
</service>
<service name="recompress" mode="disabled">
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled">
<service name="set_version" mode="manual">
<param name="basename">VulkanSceneGraph</param>
</service>
</services>

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Jul 2 20:44:50 UTC 2025 - Ralf Habacker <ralf.habacker@freenet.de>
- Fix building with Tumbleweed
- Add patch:
* 0001-Fix-building-with-gcc-15.patch
-------------------------------------------------------------------
Mon Oct 23 07:08:41 UTC 2023 - Ralf Habacker <ralf.habacker@freenet.de>
- Migrate service file to use 'manual' instead of 'disabled' as
suggested by osc
-------------------------------------------------------------------
Fri Sep 15 20:27:52 UTC 2023 - Ralf Habacker <ralf.habacker@freenet.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libvsg
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -30,6 +30,7 @@ Group: Productivity/Graphics/Other
URL: https://vsg-dev.github.io/VulkanSceneGraph
Source0: %{rname}-%{version}.tar.xz
Source1: glslang-%{glslang_version}.tar.xz
Source2: 0001-Fix-building-with-gcc-15.patch
BuildRequires: cmake
BuildRequires: gcc-c++
%if %_check
@@ -82,6 +83,7 @@ VulkanSceneGraph.
%autosetup -p1 -n %{rname}-%{version}
tar -xJf %{SOURCE1}
mv glslang-%{glslang_version} src/glslang
patch -p1 -i %{SOURCE2}
%build
%cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_RELWITHDEBINFO_POSTFIX=