Hello community,

here is the log from the commit of package gzdoom for openSUSE:Factory checked 
in at 2020-07-05 01:13:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gzdoom (Old)
 and      /work/SRC/openSUSE:Factory/.gzdoom.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gzdoom"

Sun Jul  5 01:13:39 2020 rev:13 rq:816863 version:4.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/gzdoom/gzdoom.changes    2020-01-30 
09:42:47.665534890 +0100
+++ /work/SRC/openSUSE:Factory/.gzdoom.new.3060/gzdoom.changes  2020-07-05 
01:14:16.924245121 +0200
@@ -1,0 +2,40 @@
+Wed Jun 17 14:33:30 UTC 2020 - Jan Engelhardt <[email protected]>
+
+- Update to release 4.4.2
+  * Made the new "Build" light mode operational
+
+-------------------------------------------------------------------
+Fri Jun 12 00:26:10 UTC 2020 - Jan Engelhardt <[email protected]>
+
+- Add gzdoom-sdlbug.patch.
+
+-------------------------------------------------------------------
+Thu Jun 11 15:19:30 UTC 2020 - Jan Engelhardt <[email protected]>
+
+- Update to release 4.4.1
+  * Heretic's "bag of holding" had incorrectly given mace capacity.
+  * Mapped "Smooth mouse" back to the "m_filter" CVAR, and
+    removed the "smooth_mouse" CVAR.
+  * Fixed crash with texture upscaling in the truecolor software
+    renderer.
+  * Fixed crash rendering 3D floors without ceiling or floor
+    textures in software.
+
+-------------------------------------------------------------------
+Sun Jun  7 23:39:42 UTC 2020 - Jan Engelhardt <[email protected]>
+
+- Update to release 4.4.0
+  * Heretic's "bag of holding" had incorrectly given mace ammo.
+  * Added per pixel lighting for decals.
+  * Added a compatibility option for a bad teleporter in the
+    final map of Strife.
+  * Add a cvar to control weapon bobbing while firing.
+  * Fixed crash on maps with out of range sidedef and sector
+    numbers.
+  * Fixed missing sound for Polyobj_MoveTo.
+  * Attenuated lights for Strife.
+  * Added MTF_NOCOUNT to spawn flags.
+- Drop gzdoom-system-gme.patch (moved to zmusic.spec),
+  gzdoom-dl.patch (unnecessary). Add gzdoom-spirv.patch.
+
+-------------------------------------------------------------------
@@ -10,2 +50,4 @@
-  * infrastructure in place in case Nerve.wad changes again, this can be 
extended
-  * customized invulnerability colormap does not interfere with 
Powerup.ColorMap
+  * infrastructure in place in case Nerve.wad changes again, this
+    can be extended.
+  * customized invulnerability colormap does not interfere with
+    Powerup.ColorMap.
@@ -13 +55,3 @@
-  * define misc/secret for Hexen, too. By now there are some mods defining 
secrets for the game so this sound should be present there.
+  * define misc/secret for Hexen, too. By now there are some mods
+    defining secrets for the game so this sound should be present
+    there.

Old:
----
  g4.3.3.tar.gz
  gzdoom-dl.patch
  gzdoom-system-gme.patch

New:
----
  g4.4.2.tar.gz
  gzdoom-sdlbug.patch
  gzdoom-spirv.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gzdoom.spec ++++++
--- /var/tmp/diff_new_pack.tc4mvY/_old  2020-07-05 01:14:20.596257651 +0200
+++ /var/tmp/diff_new_pack.tc4mvY/_new  2020-07-05 01:14:20.596257651 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           gzdoom
-Version:        4.3.3
+Version:        4.4.2
 Release:        0
 Summary:        A DOOM source port with graphic and modding extensions
 License:        GPL-3.0-only
@@ -28,38 +28,31 @@
 Source:         https://github.com/coelckers/gzdoom/archive/g%version.tar.gz
 Patch1:         gzdoom-waddir.patch
 Patch2:         gzdoom-lzma.patch
-Patch3:         gzdoom-vulkan.patch
-Patch4:         gzdoom-asmjit.patch
-Patch5:         gzdoom-system-gme.patch
-Patch6:         gzdoom-dl.patch
+Patch3:         gzdoom-asmjit.patch
+Patch4:         gzdoom-spirv.patch
+Patch5:         gzdoom-sdlbug.patch
+Patch6:         gzdoom-vulkan.patch
 BuildRequires:  cmake >= 2.8.7
 BuildRequires:  gcc-c++
-BuildRequires:  glslang-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  nasm
 BuildRequires:  pkg-config
-BuildRequires:  spirv-tools-devel
 BuildRequires:  unzip
-BuildRequires:  xz
+BuildRequires:  zmusic-devel
 BuildRequires:  pkgconfig(bzip2)
+BuildRequires:  pkgconfig(clzma) >= 17.01
 BuildRequires:  pkgconfig(flac)
-BuildRequires:  pkgconfig(fluidsynth)
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(gtk+-3.0)
-BuildRequires:  pkgconfig(libgme)
-BuildRequires:  pkgconfig(libmpg123)
 BuildRequires:  pkgconfig(openal)
 BuildRequires:  pkgconfig(sdl2)
-BuildRequires:  pkgconfig(sndfile)
-BuildRequires:  pkgconfig(vulkan)
 BuildRequires:  pkgconfig(zlib)
-%if 0%{?suse_version} >= 1500
-BuildRequires:  pkgconfig(clzma) >= 17.01
+%if 0%{?sle_version} >= 150200
+BuildRequires:  glslang-devel >= 6.3
+BuildRequires:  pkgconfig(vulkan) >= 1.1.77
 %else
-Provides:       bundled(lzma-sdk) = 19.00
-%endif
-%if 0%{?suse_version} == 1315
-BuildRequires:  gcc6-c++
+Provides:       bundled(glslang) = 8.13.3559
+Provides:       bundled(vulkan) = 1.1.114
 %endif
 Recommends:     freedoom
 Recommends:     timidity
@@ -67,7 +60,6 @@
 Provides:       qzdoom = 1.3.0
 Provides:       zdoom = 2.8.1
 # DUMB is modified to read OggVorbis samples
-Provides:       bundled(dumb) = 0.9.3
 Provides:       bundled(gdtoa)
 Provides:       bundled(re2c) = 0.16.0
 Provides:       bundled(xbrz) = 1.7
@@ -85,41 +77,30 @@
 * Demo record/playback of classic and Boom demos is not supported.
 
 %prep
-%setup -q -n %name-g%version
-%patch -P 1 -p1
-
-%if 0%{?suse_version} >= 1500
-%patch -P 2 -p1
-%endif
-%if 0%{?suse_version} >= 1550
-%patch -P 3 -p1
-rm -Rfv glslang src/rendering/vulkan/thirdparty/vulkan
+%setup -qn %name-g%version
+%patch -P 1 -P 2 -P 3 -P 4 -P 5 -p1
+%if 0%{?sle_version} >= 150200
+%patch -P 6 -p1
+rm -Rf glslang src/common/rendering/vulkan/thirdparty/vulkan
 %endif
-%patch -P 4 -P 5 -P 6 -p1
 perl -i -pe 's{__DATE__}{""}g' src/posix/sdl/i_main.cpp
-perl -i -pe 's{<unknown version>}{%version}g' \
-       tools/updaterevision/updaterevision.c
 
 %build
+# There is handcrafted assembler, which LTO does not play nice with.
 %define _lto_cflags %nil
-# We must not strip - %%debug_package will take care of it
-# Deactivate -Wl,--as-needed
 
 %ifarch %ix86
-# program does a cpuid check, so it is ok to enable
+# Allow sw to use intrinsics (functions like _mm_set_sd).
+# Guarded by cpuid calls by sw.
 export CFLAGS="%optflags -msse -msse2"
 export CXXFLAGS="%optflags -msse -msse2"
 %endif
 %cmake -DNO_STRIP=1 \
-%if 0%{suse_version} == 1315
-       -DCMAKE_C_COMPILER=gcc-6 -DCMAKE_CXX_COMPILER=g++-6 \
-%endif
        -DCMAKE_SHARED_LINKER_FLAGS="" \
        -DCMAKE_EXE_LINKER_FLAGS="" -DCMAKE_MODULE_LINKER_FLAGS="" \
        -DINSTALL_DOCS_PATH="%_defaultdocdir/%name" \
        -DINSTALL_PK3_PATH="%_datadir/doom" \
-       -DDYN_FLUIDSYNTH=OFF -DDYN_OPENAL=OFF \
-       -DDYN_SNDFILE=OFF -DDYN_MPG123=OFF
+       -DDYN_OPENAL=OFF
 make %{?_smp_mflags}
 
 %install

++++++ g4.3.3.tar.gz -> g4.4.2.tar.gz ++++++
/work/SRC/openSUSE:Factory/gzdoom/g4.3.3.tar.gz 
/work/SRC/openSUSE:Factory/.gzdoom.new.3060/g4.4.2.tar.gz differ: char 12, line 
1

++++++ gzdoom-lzma.patch ++++++
--- /var/tmp/diff_new_pack.tc4mvY/_old  2020-07-05 01:14:20.628257760 +0200
+++ /var/tmp/diff_new_pack.tc4mvY/_new  2020-07-05 01:14:20.628257760 +0200
@@ -9,10 +9,10 @@
  tools/zipdir/CMakeLists.txt |    4 ++--
  3 files changed, 6 insertions(+), 6 deletions(-)
 
-Index: gzdoom-g4.2.4/CMakeLists.txt
+Index: gzdoom-g4.4.0/CMakeLists.txt
 ===================================================================
---- gzdoom-g4.2.4.orig/CMakeLists.txt
-+++ gzdoom-g4.2.4/CMakeLists.txt
+--- gzdoom-g4.4.0.orig/CMakeLists.txt
++++ gzdoom-g4.4.0/CMakeLists.txt
 @@ -12,6 +12,7 @@ endif()
  
  list( APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake )
@@ -21,28 +21,28 @@
  
  # Support cross compiling
  option( FORCE_CROSSCOMPILE "Turn on cross compiling." NO )
-@@ -403,7 +404,7 @@ else()
-       set( GME_LIBRARIES gme )
+@@ -369,7 +370,7 @@ else()
  endif()
  
+ 
 -set( LZMA_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/libraries/lzma/C" )
 +pkg_check_modules(LZMA REQUIRED clzma)
- set( ADL_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/libraries/adlmidi" )
- set( OPN_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/libraries/opnmidi" )
- set( TIMIDITYPP_INCLUDE_DIR 
"${CMAKE_CURRENT_SOURCE_DIR}/libraries/timidityplus" )
-@@ -433,7 +434,6 @@ option( DYN_OPENAL "Dynamically load Ope
- option( DYN_SNDFILE "Dynamically load libsndfile" ON )
- option( DYN_MPG123 "Dynamically load libmpg123" ON )
+ 
+ if( NOT CMAKE_CROSSCOMPILING )
+       if( NOT CROSS_EXPORTS )
+@@ -389,7 +390,6 @@ install(DIRECTORY docs/
+ 
+ option( DYN_OPENAL "Dynamically load OpenAL" ON )
  
 -add_subdirectory( libraries/lzma )
  add_subdirectory( tools )
- add_subdirectory( libraries/dumb )
  add_subdirectory( libraries/gdtoa )
-Index: gzdoom-g4.2.4/src/CMakeLists.txt
+ add_subdirectory( wadsrc )
+Index: gzdoom-g4.4.0/src/CMakeLists.txt
 ===================================================================
---- gzdoom-g4.2.4.orig/src/CMakeLists.txt
-+++ gzdoom-g4.2.4/src/CMakeLists.txt
-@@ -436,7 +436,7 @@ set( ZDOOM_LIBS ${ZDOOM_LIBS} "${ZLIB_LI
+--- gzdoom-g4.4.0.orig/src/CMakeLists.txt
++++ gzdoom-g4.4.0/src/CMakeLists.txt
+@@ -437,7 +437,7 @@ set( ZDOOM_LIBS ${ZDOOM_LIBS} "${ZLIB_LI
  if (HAVE_VULKAN)
        set( ZDOOM_LIBS ${ZDOOM_LIBS} "glslang" "SPIRV" "OGLCompiler")
  endif()
@@ -51,19 +51,19 @@
  
  if( ${HAVE_VM_JIT} )
        add_definitions( -DHAVE_VM_JIT )
-@@ -1211,7 +1211,7 @@ if( UNIX )
+@@ -1238,7 +1238,7 @@ if( UNIX )
        endif()
  endif()
  
--target_link_libraries( zdoom ${ZDOOM_LIBS} gdtoa dumb lzma adl opn timidity 
timidityplus wildmidi oplsynth zmusic )
-+target_link_libraries( zdoom ${ZDOOM_LIBS} gdtoa dumb ${LZMA_LIBRARIES} adl 
opn timidity timidityplus wildmidi oplsynth zmusic )
+-target_link_libraries( zdoom ${ZDOOM_LIBS} gdtoa lzma ${ZMUSIC_LIBRARIES} )
++target_link_libraries( zdoom ${ZDOOM_LIBS} gdtoa ${LZMA_LIBRARIES} 
${ZMUSIC_LIBRARIES} )
  
  include_directories( .
-       g_statusbar
-Index: gzdoom-g4.2.4/tools/zipdir/CMakeLists.txt
+       common/audio/sound
+Index: gzdoom-g4.4.0/tools/zipdir/CMakeLists.txt
 ===================================================================
---- gzdoom-g4.2.4.orig/tools/zipdir/CMakeLists.txt
-+++ gzdoom-g4.2.4/tools/zipdir/CMakeLists.txt
+--- gzdoom-g4.4.0.orig/tools/zipdir/CMakeLists.txt
++++ gzdoom-g4.4.0/tools/zipdir/CMakeLists.txt
 @@ -1,9 +1,9 @@
  cmake_minimum_required( VERSION 2.8.7 )
  

++++++ gzdoom-sdlbug.patch ++++++
From: Jan Engelhardt <[email protected]>
Date: 2020-06-12 02:05:34.009865606 +0200

When a SDL_PollEvent is sandwiched between SDL_CreateWindow and
SDL_CreateRenderer, SDL crashes during SDL_IME_PumpEvents because dbus message
still references the old window (still exists and pointer is non-NULL) and
tries to access members of window->driverdata (block was freed and pointer is
NULL.)

Workaround this by recreating the SDL_Window object and immediately afterwards
creating the renderer.

This crash only happens for gzdoom when running with the SoftPoly rasterizer,
as that is the only place that issues SDL_CreateRenderer after the mainloop has
started.

Needs a bugreport on libsdl.org.

---
 src/common/platform/posix/sdl/sdlglvideo.cpp |    2 ++
 1 file changed, 2 insertions(+)

Index: gzdoom-g4.4.1/src/common/platform/posix/sdl/sdlglvideo.cpp
===================================================================
--- gzdoom-g4.4.1.orig/src/common/platform/posix/sdl/sdlglvideo.cpp
+++ gzdoom-g4.4.1/src/common/platform/posix/sdl/sdlglvideo.cpp
@@ -294,6 +294,8 @@ uint8_t *I_PolyPresentLock(int w, int h,
        {
                polyvsync = vsync;
 
+               Priv::DestroyWindow();
+               Priv::CreateWindow(Priv::VulkanWindowFlag | 
(Priv::softpolyEnabled ? SDL_WINDOW_HIDDEN : 0));
                polyrendertarget = SDL_CreateRenderer(Priv::window, -1, vsync ? 
SDL_RENDERER_PRESENTVSYNC : 0);
                if (!polyrendertarget)
                {
++++++ gzdoom-spirv.patch ++++++
From: Jan Engelhardt <[email protected]>
Date: 2020-06-11 15:48:28.422839234 +0200

gzdoom is the only user of its own libSPIRV.so, so there is no need for a
shared library.

---
 libraries/glslang/spirv/CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: gzdoom-g4.4.0/libraries/glslang/spirv/CMakeLists.txt
===================================================================
--- gzdoom-g4.4.0.orig/libraries/glslang/spirv/CMakeLists.txt
+++ gzdoom-g4.4.0/libraries/glslang/spirv/CMakeLists.txt
@@ -49,7 +49,7 @@ set(SPVREMAP_HEADERS
     SPVRemapper.h
     doc.h)
 
-add_library(SPIRV ${LIB_TYPE} ${SOURCES} ${HEADERS})
+add_library(SPIRV STATIC ${LIB_TYPE} ${SOURCES} ${HEADERS})
 set_property(TARGET SPIRV PROPERTY FOLDER glslang)
 set_property(TARGET SPIRV PROPERTY POSITION_INDEPENDENT_CODE ON)
 target_include_directories(SPIRV PUBLIC
++++++ gzdoom-vulkan.patch ++++++
--- /var/tmp/diff_new_pack.tc4mvY/_old  2020-07-05 01:14:20.644257815 +0200
+++ /var/tmp/diff_new_pack.tc4mvY/_new  2020-07-05 01:14:20.644257815 +0200
@@ -1,67 +1,38 @@
 From: Jan Engelhardt <[email protected]>
 Date: 2019-04-13 15:02:22.799297208 +0200
 
-Use Vulkan system libraries instead of bundled code.
+Use Vulkan/glslang/spirv system libraries instead of bundled code.
 
 ---
- CMakeLists.txt                              |    3 ---
- src/CMakeLists.txt                          |    2 +-
- src/rendering/vulkan/shaders/vk_shader.cpp  |    2 +-
- src/rendering/vulkan/system/vk_builders.cpp |    4 ++--
- 4 files changed, 4 insertions(+), 7 deletions(-)
+ CMakeLists.txt     |    4 +---
+ src/CMakeLists.txt |    2 +-
+ 2 files changed, 2 insertions(+), 4 deletions(-)
 
-Index: gzdoom-g4.2.4/CMakeLists.txt
+Index: gzdoom-g4.4.0/CMakeLists.txt
 ===================================================================
---- gzdoom-g4.2.4.orig/CMakeLists.txt
-+++ gzdoom-g4.2.4/CMakeLists.txt
-@@ -330,9 +330,6 @@ option(FORCE_INTERNAL_ASMJIT "Use intern
+--- gzdoom-g4.4.0.orig/CMakeLists.txt
++++ gzdoom-g4.4.0/CMakeLists.txt
+@@ -307,9 +307,7 @@ option(FORCE_INTERNAL_ASMJIT "Use intern
  mark_as_advanced( FORCE_INTERNAL_ASMJIT )
  
  if (HAVE_VULKAN)
 -      add_subdirectory( libraries/glslang/glslang)
 -      add_subdirectory( libraries/glslang/spirv )
 -      add_subdirectory( libraries/glslang/OGLCompilersDLL )
++      include_directories(/usr/include/glslang/Public /usr/include/SPIRV)
  endif()
  
  if( ZLIB_FOUND AND NOT FORCE_INTERNAL_ZLIB )
-Index: gzdoom-g4.2.4/src/CMakeLists.txt
+Index: gzdoom-g4.4.0/src/CMakeLists.txt
 ===================================================================
---- gzdoom-g4.2.4.orig/src/CMakeLists.txt
-+++ gzdoom-g4.2.4/src/CMakeLists.txt
-@@ -434,7 +434,7 @@ add_custom_target( revision_check ALL
+--- gzdoom-g4.4.0.orig/src/CMakeLists.txt
++++ gzdoom-g4.4.0/src/CMakeLists.txt
+@@ -435,7 +435,7 @@ add_custom_target( revision_check ALL
  
- set( ZDOOM_LIBS ${ZDOOM_LIBS} "${ZLIB_LIBRARIES}" "${JPEG_LIBRARIES}" 
"${BZIP2_LIBRARIES}" "${GME_LIBRARIES}" "${CMAKE_DL_LIBS}" )
+ set( ZDOOM_LIBS ${ZDOOM_LIBS} "${ZLIB_LIBRARIES}" "${JPEG_LIBRARIES}" 
"${BZIP2_LIBRARIES}" "${CMAKE_DL_LIBS}" )
  if (HAVE_VULKAN)
 -      set( ZDOOM_LIBS ${ZDOOM_LIBS} "glslang" "SPIRV" "OGLCompiler")
 +      set( ZDOOM_LIBS ${ZDOOM_LIBS} -lglslang -lSPIRV -lOGLCompiler)
  endif()
  include_directories( "${ZLIB_INCLUDE_DIR}" "${BZIP2_INCLUDE_DIR}" 
"${LZMA_INCLUDE_DIRS}" "${JPEG_INCLUDE_DIR}" "${ZMUSIC_INCLUDE_DIR}" )
  
-Index: gzdoom-g4.2.4/src/rendering/vulkan/shaders/vk_shader.cpp
-===================================================================
---- gzdoom-g4.2.4.orig/src/rendering/vulkan/shaders/vk_shader.cpp
-+++ gzdoom-g4.2.4/src/rendering/vulkan/shaders/vk_shader.cpp
-@@ -4,7 +4,7 @@
- #include "hwrenderer/utility/hw_shaderpatcher.h"
- #include "w_wad.h"
- #include "doomerrors.h"
--#include <ShaderLang.h>
-+#include <glslang/Public/ShaderLang.h>
- 
- VkShaderManager::VkShaderManager(VulkanDevice *device) : device(device)
- {
-Index: gzdoom-g4.2.4/src/rendering/vulkan/system/vk_builders.cpp
-===================================================================
---- gzdoom-g4.2.4.orig/src/rendering/vulkan/system/vk_builders.cpp
-+++ gzdoom-g4.2.4/src/rendering/vulkan/system/vk_builders.cpp
-@@ -2,8 +2,8 @@
- #include "vk_builders.h"
- #include "doomerrors.h"
- #include "r_data/renderstyle.h"
--#include <ShaderLang.h>
--#include <GlslangToSpv.h>
-+#include <glslang/Public/ShaderLang.h>
-+#include <SPIRV/GlslangToSpv.h>
- 
- static const TBuiltInResource DefaultTBuiltInResource = {
-       /* .MaxLights = */ 32,

++++++ gzdoom-waddir.patch ++++++
--- /var/tmp/diff_new_pack.tc4mvY/_old  2020-07-05 01:14:20.652257842 +0200
+++ /var/tmp/diff_new_pack.tc4mvY/_new  2020-07-05 01:14:20.652257842 +0200
@@ -1,17 +1,17 @@
 From: Jan Engelhardt <[email protected]>
-2018-01-02 15:25:05.669125932 +0100
+Date: 2018-01-02 15:25:05.669125932 +0100
 
 Ensure same IWAD directory across all Doom source ports in openSUSE
 
 ---
- src/posix/i_system.h |    2 +-
+ src/common/platform/posix/i_system.h |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-Index: gzdoom-4.0.0/src/posix/i_system.h
+Index: gzdoom-g4.4.0/src/common/platform/posix/i_system.h
 ===================================================================
---- gzdoom-4.0.0.orig/src/posix/i_system.h
-+++ gzdoom-4.0.0/src/posix/i_system.h
-@@ -42,7 +42,7 @@ struct ticcmd_t;
+--- gzdoom-g4.4.0.orig/src/common/platform/posix/i_system.h
++++ gzdoom-g4.4.0/src/common/platform/posix/i_system.h
+@@ -17,7 +17,7 @@ struct ticcmd_t;
  struct WadStuff;
  
  #ifndef SHARE_DIR
@@ -19,4 +19,4 @@
 +#define SHARE_DIR "/usr/share/doom/"
  #endif
  
- 
+ void CalculateCPUSpeed(void);


Reply via email to