From ba483e6e5a5e31c8423354d35c1ea36d1ff07d1dede91cede552c95ce6ac0404 Mon Sep 17 00:00:00 2001 From: c unix Date: Sat, 25 Mar 2023 16:00:33 +0000 Subject: [PATCH] Accepting request 1073862 from home:cunix:godot Update to 4.0.1 OBS-URL: https://build.opensuse.org/request/show/1073862 OBS-URL: https://build.opensuse.org/package/show/games/godot?expand=0&rev=58 --- VMA-fix-gcc13.patch | 59 -------------------------------- godot-4.0-stable.tar.xz | 3 -- godot-4.0-stable.tar.xz.sha256 | 1 - godot-4.0.1-stable.tar.xz | 3 ++ godot-4.0.1-stable.tar.xz.sha256 | 1 + godot.changes | 47 +++++++++++++++++++++++++ godot.spec | 7 ++-- 7 files changed, 54 insertions(+), 67 deletions(-) delete mode 100644 VMA-fix-gcc13.patch delete mode 100644 godot-4.0-stable.tar.xz delete mode 100644 godot-4.0-stable.tar.xz.sha256 create mode 100644 godot-4.0.1-stable.tar.xz create mode 100644 godot-4.0.1-stable.tar.xz.sha256 diff --git a/VMA-fix-gcc13.patch b/VMA-fix-gcc13.patch deleted file mode 100644 index b2ba9c2..0000000 --- a/VMA-fix-gcc13.patch +++ /dev/null @@ -1,59 +0,0 @@ -From b113e6d4ff18dc1b1e6f4ec1bd0e307fd1d8623d Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= -Date: Thu, 9 Mar 2023 10:46:35 +0100 -Subject: [PATCH] Vulkan: Fix VMA build with GCC 13 - -Fixes #74647. ---- - thirdparty/vulkan/patches/VMA-fix-gcc13.patch | 26 +++++++++++++++++++ - thirdparty/vulkan/vk_mem_alloc.h | 4 +++ - 2 files changed, 30 insertions(+) - create mode 100644 thirdparty/vulkan/patches/VMA-fix-gcc13.patch - -diff --git a/thirdparty/vulkan/patches/VMA-fix-gcc13.patch b/thirdparty/vulkan/patches/VMA-fix-gcc13.patch -new file mode 100644 -index 000000000000..08928503a768 ---- /dev/null -+++ b/thirdparty/vulkan/patches/VMA-fix-gcc13.patch -@@ -0,0 +1,26 @@ -+From 29d492b60c84ca784ea0943efc7d2e6e0f3bdaac Mon Sep 17 00:00:00 2001 -+From: Adam Sawicki -+Date: Thu, 19 Jan 2023 13:19:55 +0100 -+Subject: [PATCH] Added missing #include -+ -+For snprintf, for compatibility with GCC 13. -+Fixes #312 - thanks @marxin ! -+--- -+ thirdparty/vulkan/vk_mem_alloc.h | 4 ++++ -+ 1 file changed, 4 insertions(+) -+ -+diff --git a/thirdparty/vulkan/vk_mem_alloc.h b/thirdparty/vulkan/vk_mem_alloc.h -+index b787c36..0fe459b 100644 -+--- a/thirdparty/vulkan/vk_mem_alloc.h -++++ b/thirdparty/vulkan/vk_mem_alloc.h -+@@ -2614,6 +2614,10 @@ VMA_CALL_PRE void VMA_CALL_POST vmaFreeStatsString( -+ #include // For std::popcount -+ #endif -+ -++#if VMA_STATS_STRING_ENABLED -++ #include // For snprintf -++#endif -++ -+ /******************************************************************************* -+ CONFIGURATION SECTION -+ -diff --git a/thirdparty/vulkan/vk_mem_alloc.h b/thirdparty/vulkan/vk_mem_alloc.h -index 184ee005d827..ea30060649f2 100644 ---- a/thirdparty/vulkan/vk_mem_alloc.h -+++ b/thirdparty/vulkan/vk_mem_alloc.h -@@ -2582,6 +2582,10 @@ VMA_CALL_PRE void VMA_CALL_POST vmaFreeStatsString( - #include // For std::popcount - #endif - -+#if VMA_STATS_STRING_ENABLED -+ #include // For snprintf -+#endif -+ - /******************************************************************************* - CONFIGURATION SECTION - diff --git a/godot-4.0-stable.tar.xz b/godot-4.0-stable.tar.xz deleted file mode 100644 index 0b0d0ef..0000000 --- a/godot-4.0-stable.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8d92d2250176e2e5751e126ece72b78e6a124ee556111a8d8374c106e801b67f -size 29435592 diff --git a/godot-4.0-stable.tar.xz.sha256 b/godot-4.0-stable.tar.xz.sha256 deleted file mode 100644 index 0a4ed72..0000000 --- a/godot-4.0-stable.tar.xz.sha256 +++ /dev/null @@ -1 +0,0 @@ -8d92d2250176e2e5751e126ece72b78e6a124ee556111a8d8374c106e801b67f godot-4.0-stable.tar.xz diff --git a/godot-4.0.1-stable.tar.xz b/godot-4.0.1-stable.tar.xz new file mode 100644 index 0000000..4705c0a --- /dev/null +++ b/godot-4.0.1-stable.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a9725224f47cfb202d14ac5306eea475b2e4864780022a3df21d0cfffcd0fe1 +size 29626604 diff --git a/godot-4.0.1-stable.tar.xz.sha256 b/godot-4.0.1-stable.tar.xz.sha256 new file mode 100644 index 0000000..67c5b46 --- /dev/null +++ b/godot-4.0.1-stable.tar.xz.sha256 @@ -0,0 +1 @@ +4a9725224f47cfb202d14ac5306eea475b2e4864780022a3df21d0cfffcd0fe1 godot-4.0.1-stable.tar.xz diff --git a/godot.changes b/godot.changes index 914156b..c1d0c49 100644 --- a/godot.changes +++ b/godot.changes @@ -1,3 +1,50 @@ +------------------------------------------------------------------- +Tue Mar 22 12:00:00 UTC 2023 - cunix@mail.de + +- Update to 4.0.1 + + Added: + * Set the unlit/unshaded extension when importing/exporting glTF + * Keycode project conversion + * Conversion for common Theme Overrides + * Remember previously selected TileMap tile + + Changed: + * Check for type mismatch in PropertyTweener.from() + * Propagate errors when creating an OpenGL context fails in X11 + * Automatically reparent editor message dialogs to avoid error spam + * Disallow creating a project in the Home or Documents folder + * No autocomplete numbers in GDScript + * Add invalid font scaling check, restrict Linux/BSD system fonts + lookup to TrueType/CFF only (fixes crash in donors screen) + * Do not convert lines that start with a comment + * Don't strip whitespace when converting + * Use linear filtering without mipmaps for ProceduralSkyMaterial + and PhysicalSkyMaterial + + Fixed: + * VMA build with GCC 13 + * Don't try to link system embree3 on unsupported archs + * Logic related to editing audio buses and prevent crashes + * Set properties of ImageTexture3D when creating + * Crashing on startup if project has scripted theme types + * Disable local space for Blender-style transforms + * Toaster notification circle flickering + * Crash when showing file in FileSystem dock + * Cache corruption when saving resources in the editor + * MultiNodeEdit not cleared after deleting nodes + * Crash when dumping extension API in a non-writable directory + * Missing handler for removing font sizes in the theme editor + * NavigationAgent3D debug path duplicated points + * Check if required xkb functions exist before using it + * Broken shortcut key input + * Avoid copying CanvasTexture when updating proxy + + And more: + https://downloads.tuxfamily.org/godotengine/4.0.1/Godot_v4.0.1-stable_changelog_chrono.txt + +- dropped upstreamed VMA-fix-gcc13.patch. + ------------------------------------------------------------------- Thu Mar 9 12:00:00 UTC 2023 - cunix@mail.de diff --git a/godot.spec b/godot.spec index 80486e6..ef2636a 100644 --- a/godot.spec +++ b/godot.spec @@ -24,7 +24,7 @@ %define ca_bundle %{_localstatedir}/lib/ca-certificates/ca-bundle.pem Name: godot -Version: 4.0 +Version: 4.0.1 Release: 0 Summary: Cross-Platform Game Engine with an Integrated Editor License: MIT @@ -36,8 +36,8 @@ Source1: https://downloads.tuxfamily.org/godotengine/%{version}/%{name}-% Patch0: certs_fallback.patch # Heap-buffer-overflow in bundled tinyexr Patch1: tinyexr_thirdparty_upstream.patch -Patch2: VMA-fix-gcc13.patch -Patch3: scons_regression.patch +# regression in scons > 4.4.0, hopefully fixed in 4.5.2 +Patch2: scons_regression.patch BuildRequires: Mesa-devel BuildRequires: desktop-file-utils BuildRequires: fdupes @@ -235,7 +235,6 @@ Bash command line completion support for %{name} and %{name}-runner %patch0 -p1 %patch1 -p1 %patch2 -p1 -%patch3 -p1 cp thirdparty/README.md thirdparty_README.md