Accepting request 1077900 from games

Update to 4.0.2

OBS-URL: https://build.opensuse.org/request/show/1077900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/godot?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2023-04-07 20:02:05 +00:00 committed by Git OBS Bridge
commit eca10bce7c
7 changed files with 44 additions and 33 deletions

View File

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

View File

@ -1 +0,0 @@
4a9725224f47cfb202d14ac5306eea475b2e4864780022a3df21d0cfffcd0fe1 godot-4.0.1-stable.tar.xz

View File

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

View File

@ -0,0 +1 @@
0a6a2658788cf100a7b51b391fac588847c01a36f8e1384e9d5f5cdc6c28d5e2 godot-4.0.2-stable.tar.xz

View File

@ -1,3 +1,42 @@
-------------------------------------------------------------------
Wed Apr 5 12:00:00 UTC 2023 - cunix@mail.de
- Update to 4.0.2
Added:
* Expose "apply_floor_snap" function to allow manual snap
* Drag and drop support for shader include files in shader editor
Changed:
* Cleanup pulseaudio defines for Linux
* Use 8×8 default grid size for TextureRegion and 2D polygon editors
* Don't allow selecting nodes without owner in the editor
* Exit with non-zero status if there are issues with
FreeType dependencies
* Remove disabled plugins from active plugins
* Delete unused compression formats from ".import"
files when exporting
* Make GDScript number highlighting stricter
* Revert attempted fix of trimesh CCD
* Incorporating the availability of screen and depth
textures for the GLES3 backend
Fixed:
* preview rendering and transform calculations in the tiles editor
* built-in scripts missing their methods on signal connection
* GDExtensions library export when multiple architectures are set
* "Find in Files" search results not opening built-in script
* scrolling behavior with zero/low page value
* Layout bug in "keyboard_get_keycode_from_physical"
* Agents with disabled avoidance getting added to avoidance simulation
* Spotlight shadows in volumetric fog
* Update GPUParticles2D/3D speed scale on "ENTER_TREE"
And more:
https://downloads.tuxfamily.org/godotengine/4.0.2/Godot_v4.0.2-stable_changelog_chrono.txt
- dropped scons_regression.patch with Scons 4.5.2 available in Tumbleweed
-------------------------------------------------------------------
Tue Mar 22 12:00:00 UTC 2023 - cunix@mail.de

View File

@ -24,7 +24,7 @@
%define ca_bundle %{_localstatedir}/lib/ca-certificates/ca-bundle.pem
Name: godot
Version: 4.0.1
Version: 4.0.2
Release: 0
Summary: Cross-Platform Game Engine with an Integrated Editor
License: MIT
@ -36,8 +36,6 @@ Source1: https://downloads.tuxfamily.org/godotengine/%{version}/%{name}-%
Patch0: certs_fallback.patch
# Heap-buffer-overflow in bundled tinyexr
Patch1: tinyexr_thirdparty_upstream.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
@ -234,7 +232,6 @@ Bash command line completion support for %{name} and %{name}-runner
%setup -q -n %{name}-%{version}-stable
%patch0 -p1
%patch1 -p1
%patch2 -p1
cp thirdparty/README.md thirdparty_README.md

View File

@ -1,25 +0,0 @@
From: cunix@mail.de
Date: 2023-03-09 22:00:00
Subject: scons 4.5.1 regression
References: https://github.com/godotengine/godot/issues/74683
work around regression of scons 4.5.1
expected to be fixed with 4.5.2
---
diff -r -U 5 a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -305,10 +305,11 @@
env.Append(CPPDEFINES=["ALSA_ENABLED", "ALSAMIDI_ENABLED"])
if env["pulseaudio"]:
if not env["use_sowrap"]:
if os.system("pkg-config --exists libpulse") == 0: # 0 means found
+ env["CPPDEFINES"] = list(env["CPPDEFINES"])
env.ParseConfig("pkg-config libpulse --cflags --libs")
env.Append(CPPDEFINES=["PULSEAUDIO_ENABLED", "_REENTRANT"])
else:
print("Warning: PulseAudio development libraries not found. Disabling the PulseAudio audio driver.")
env["pulseaudio"] = False