Accepting request 1117816 from games

Update to 4.1.2

OBS-URL: https://build.opensuse.org/request/show/1117816
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/godot?expand=0&rev=31
This commit is contained in:
Ana Guerrero 2023-10-15 17:27:52 +00:00 committed by Git OBS Bridge
commit c0e0736e8f
7 changed files with 114 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cd3cee1364020eb069f7cfdf2c484ba54fdeadc5a4d23fb9732d8e52923e1a71
size 30681136

View File

@ -1 +0,0 @@
cd3cee1364020eb069f7cfdf2c484ba54fdeadc5a4d23fb9732d8e52923e1a71 godot-4.1.1-stable.tar.xz

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:41c9aedf1de788bd8e6c16bbb7a75411fde48023b54a8abbd936df47879d0108
size 31020196

View File

@ -0,0 +1 @@
41c9aedf1de788bd8e6c16bbb7a75411fde48023b54a8abbd936df47879d0108 godot-4.1.2-stable.tar.xz

View File

@ -1,3 +1,71 @@
-------------------------------------------------------------------
Thu Oct 5 12:00:00 UTC 2023 - cunix@mail.de
- Update to 4.1.2
Added:
* Check to ensure registered classes are declared
* Motion vector support for GPU 3D Particles
* More hint types for uniform arrays in shaders
* Autocomplete for filter/repeat hints on uniform arrays in shaders
Changed:
* Disable C++ exception handling
* 3D property hint range for camera attributes exposure multiplier
* Don't use splash minimum display time in editor
* Automatically add path to built-in scripts
* Uncollapse favorites by default in the editor FileSystem dock
* Use "ui_text_submit" instead of "ui_accept"
to confirm and close text prompts
* Make editor camera speed indicator use "m/s" and "m"
* Enable transparent background for GUI tooltips
* Ensure "joy_connection_changed" is emitted on the main thread
* Do not fail DisplayServer init if non-essential extensions are missing
* Enable depth writes during shadow pass and depth pass,
disable during color pass
* Clamp Volumetric Fog Length property to prevent rendering issues
Fixed:
* Camera2D crash when edited scene root is null
* "CanvasModulate" logic for modulating the canvas
* VoxelGI saving VoxelGIData as a built-in file,
despite being prompted to save it to an external file
* Curve3D baking up vectors for nontrivial curves
* Remove animation tracks with correct indices
* Audio stream generators getting freed accidentally
* Range error for "Array.slice"
* Recursion level check for array stringification
* Global transform validity for "Node2D" and "Control"
* String conversion for -0.0 float values
* "generate_random_bytes" for large chunks
* Improve resolution of script type icons
* Make the single window mode check more strict
* Crash when using "Close All Tabs"
* Version check for GDExtension
* Overriding "_export_begin", "_export_file" and
"_export_end" from GDExtension
* Conflict between property and group names
* RichTextLabel character line and paragraph index getters
* Delay on tab resizing when (un)hovering tabs
* Button clipping when internal margins exist
* "OptionButton" resize when disabling "Fit to Longest Item"
* "Button" text when the overrun behavior is other than "No Trimming"
* Crash when hiding subwindow during popup of new subwindow
* ItemList not updating when icon scale changes
* NavigationObstacle2D debug position
* Prevent crash when accessing "Node" Multiplayer from thread
* ENet: Better handle truncated socket messages
* ENet: Properly set transfer flags when using custom channels
* File permissions set to 0666
* Shader type detection
* Shader and ShaderInclude resource loading
* Empty shader resource loading
and more:
https://godotengine.github.io/godot-interactive-changelog/#4.1.2
- added improve_linker_detection.patch for pck embedding with runner
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 19 12:00:00 UTC 2023 - cunix@mail.de Wed Jul 19 12:00:00 UTC 2023 - cunix@mail.de

View File

@ -29,7 +29,7 @@
%define compiler_version_leap 10 %define compiler_version_leap 10
Name: godot Name: godot
Version: 4.1.1 Version: 4.1.2
Release: 0 Release: 0
Summary: Cross-Platform Game Engine with an Integrated Editor Summary: Cross-Platform Game Engine with an Integrated Editor
License: MIT License: MIT
@ -37,6 +37,8 @@ Group: Development/Tools/Other
URL: https://godotengine.org/ URL: https://godotengine.org/
Source0: https://downloads.tuxfamily.org/godotengine/%{version}/%{name}-%{version}-stable.tar.xz Source0: https://downloads.tuxfamily.org/godotengine/%{version}/%{name}-%{version}-stable.tar.xz
Source1: https://downloads.tuxfamily.org/godotengine/%{version}/%{name}-%{version}-stable.tar.xz.sha256 Source1: https://downloads.tuxfamily.org/godotengine/%{version}/%{name}-%{version}-stable.tar.xz.sha256
# better linker version detection for pck embedding with runner
Patch0: improve_linker_detection.patch
BuildRequires: Mesa-devel BuildRequires: Mesa-devel
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: fdupes BuildRequires: fdupes
@ -147,7 +149,7 @@ Provides: bundled(etcpak) = 1.0
Provides: bundled(glad) = 2.0.4 Provides: bundled(glad) = 2.0.4
Provides: bundled(google-droid-fonts) Provides: bundled(google-droid-fonts)
Provides: bundled(hqx) Provides: bundled(hqx)
Provides: bundled(icu4c) = 73.1 Provides: bundled(icu4c) = 73.2
Provides: bundled(ifaddrs-android) Provides: bundled(ifaddrs-android)
Provides: bundled(jpeg-compressor) = 2.00 Provides: bundled(jpeg-compressor) = 2.00
Provides: bundled(meshoptimizer) Provides: bundled(meshoptimizer)
@ -156,7 +158,7 @@ Provides: bundled(msdfgen) = 1.10
Provides: bundled(noto-sans-fonts) Provides: bundled(noto-sans-fonts)
Provides: bundled(nvapi) = R525 Provides: bundled(nvapi) = R525
Provides: bundled(oidn) = 1.9.2 Provides: bundled(oidn) = 1.9.2
Provides: bundled(openxr) = 1.0.26 Provides: bundled(openxr) = 1.0.28
Provides: bundled(pcg) Provides: bundled(pcg)
Provides: bundled(polyclipping) Provides: bundled(polyclipping)
Provides: bundled(polypartition) Provides: bundled(polypartition)
@ -165,7 +167,7 @@ Provides: bundled(smaz)
Provides: bundled(spirv-reflect) = sdk-1.3.250.0 Provides: bundled(spirv-reflect) = sdk-1.3.250.0
Provides: bundled(stb) Provides: bundled(stb)
Provides: bundled(thorvg) = 0.9.0 Provides: bundled(thorvg) = 0.9.0
Provides: bundled(tinyexr) = 1.0.5 Provides: bundled(tinyexr) = 1.0.7
Provides: bundled(vhacd) Provides: bundled(vhacd)
Provides: bundled(volk) = sdk-1.3.250.0 Provides: bundled(volk) = sdk-1.3.250.0
Provides: bundled(vulkan) = sdk-1.3.250.0 Provides: bundled(vulkan) = sdk-1.3.250.0
@ -188,20 +190,20 @@ Provides: bundled(embree) = 3.13.5
Provides: bundled(brotli) Provides: bundled(brotli)
Provides: bundled(glslang) = 12.2.0 Provides: bundled(glslang) = 12.2.0
# see comments for freetype2, libpng and zlib Factory BuildRequires # see comments for freetype2, libpng and zlib Factory BuildRequires
Provides: bundled(freetype2) = 2.13.0 Provides: bundled(freetype2) = 2.13.2
Provides: bundled(graphite) = 1.3.14 Provides: bundled(graphite) = 1.3.14
Provides: bundled(harfbuzz) = 7.3.0 Provides: bundled(harfbuzz) = 7.3.0
Provides: bundled(libpng) = 1.6.38 Provides: bundled(libpng) = 1.6.40
Provides: bundled(libzstd) = 1.5.5 Provides: bundled(libzstd) = 1.5.5
Provides: bundled(zlib) Provides: bundled(zlib)
%if 0%{?sle_version} < 150200 %if 0%{?sle_version} < 150200
Provides: bundled(mbedtls) = 2.28.3 Provides: bundled(mbedtls) = 2.28.4
%endif %endif
%if !0%{?is_opensuse} %if !0%{?is_opensuse}
# SLES seems not to have miniupnpc and wslay # SLES seems not to have miniupnpc and wslay
Provides: bundled(libwslay) = 1.1.1 Provides: bundled(libwslay) = 1.1.1
Provides: bundled(miniupnpc) = 2.2.4 Provides: bundled(miniupnpc) = 2.2.5
%endif %endif
%endif %endif
@ -240,6 +242,7 @@ Bash command line completion support for %{name} and %{name}-runner
%prep %prep
%setup -q -n %{name}-%{version}-stable %setup -q -n %{name}-%{version}-stable
%patch0 -p1
cp thirdparty/README.md thirdparty_README.md cp thirdparty/README.md thirdparty_README.md

View File

@ -0,0 +1,31 @@
From: cunix@mail.de
Date: 2023-09-21 12:00:00
Subject: regex in linker detection for template builds fails sometimes to recognize correct ld version
References: https://github.com/godotengine/godot/issues/82078
distro added stuff to "ld --version" output prevents correct
version detection.
regex adjusted to improve detection of linker to include
pck embedding code in template builds.
dstoecker helped to improve the changed regex and gave hints for the implied
dangers regarding assumptions about the parsed string
---
diff -r -U 5 a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -453,11 +453,11 @@
import re
linker_version_str = subprocess.check_output(
[env.subst(env["LINK"]), "-Wl,--version"] + env.subst(env["LINKFLAGS"])
).decode("utf-8")
- gnu_ld_version = re.search(r"^GNU ld [^$]*(\d+\.\d+)$", linker_version_str, re.MULTILINE)
+ gnu_ld_version = re.search(r"^GNU ld \(GNU Binutils[^)]*\) (\d+\.\d+)", linker_version_str, re.MULTILINE)
if not gnu_ld_version:
print(
"Warning: Creating export template binaries enabled for PCK embedding is currently only supported with GNU ld, not gold, LLD or mold."
)
else: