commit vkquake for openSUSE:Factory

2020-09-15 Thread root
Hello community,

here is the log from the commit of package vkquake for openSUSE:Factory checked 
in at 2020-09-15 16:28:01

Comparing /work/SRC/openSUSE:Factory/vkquake (Old)
 and  /work/SRC/openSUSE:Factory/.vkquake.new.4249 (New)


Package is "vkquake"

Tue Sep 15 16:28:01 2020 rev:5 rq:834281 version:1.04.1

Changes:

--- /work/SRC/openSUSE:Factory/vkquake/vkquake.changes  2020-03-30 
23:07:27.508315120 +0200
+++ /work/SRC/openSUSE:Factory/.vkquake.new.4249/vkquake.changes
2020-09-15 16:28:08.138587912 +0200
@@ -1,0 +2,6 @@
+Sun Sep 13 17:03:57 UTC 2020 - Christophe Giboudeaux 
+
+- Add upstream patch to fix the factory build:
+  * 0001-Remove-use-of-VK_DYNAMIC_STATE_RANGE_SIZE.patch
+
+---

New:

  0001-Remove-use-of-VK_DYNAMIC_STATE_RANGE_SIZE.patch



Other differences:
--
++ vkquake.spec ++
--- /var/tmp/diff_new_pack.Bile9R/_old  2020-09-15 16:28:09.918589616 +0200
+++ /var/tmp/diff_new_pack.Bile9R/_new  2020-09-15 16:28:09.922589619 +0200
@@ -28,6 +28,8 @@
 Source99:   %{name}.changes
 Source100:  appdata.xml
 Source101:  %{name}.desktop
+# PATCH-FIX-UPSTREAM
+Patch0: 0001-Remove-use-of-VK_DYNAMIC_STATE_RANGE_SIZE.patch
 BuildRequires:  pkgconfig
 BuildRequires:  vulkan-devel
 BuildRequires:  pkgconfig(flac)
@@ -42,7 +44,7 @@
 Game data must be placed in ~/.vkquake/id1 .
 
 %prep
-%setup -q -n vkQuake-%{version}
+%autosetup -p1 -n vkQuake-%{version}
 
 %if 0%{?sle_version} < 150200
 sed -i 's#vulkan_core.h#vulkan.h#' Quake/quakedef.h

++ 0001-Remove-use-of-VK_DYNAMIC_STATE_RANGE_SIZE.patch ++
>From 029d2c53dc72a9995e0cec974d8ca03fc8352963 Mon Sep 17 00:00:00 2001
From: Axel Gneiting 
Date: Sun, 17 May 2020 22:38:00 -0500
Subject: [PATCH] Remove use of VK_DYNAMIC_STATE_RANGE_SIZE

---
 Quake/gl_rmisc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Quake/gl_rmisc.c b/Quake/gl_rmisc.c
index ae66f3a..b80d6ae 100644
--- a/Quake/gl_rmisc.c
+++ b/Quake/gl_rmisc.c
@@ -1426,7 +1426,7 @@ void R_CreatePipelines()
VkPipelineDynamicStateCreateInfo dynamic_state_create_info;
memset(&dynamic_state_create_info, 0, 
sizeof(dynamic_state_create_info));
dynamic_state_create_info.sType = 
VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO;
-   VkDynamicState dynamic_states[VK_DYNAMIC_STATE_RANGE_SIZE];
+   VkDynamicState dynamic_states[3];
dynamic_state_create_info.pDynamicStates = dynamic_states;
 
VkPipelineShaderStageCreateInfo shader_stages[2];
-- 
2.28.0




commit vkquake for openSUSE:Factory

2020-03-30 Thread root
Hello community,

here is the log from the commit of package vkquake for openSUSE:Factory checked 
in at 2020-03-30 23:07:22

Comparing /work/SRC/openSUSE:Factory/vkquake (Old)
 and  /work/SRC/openSUSE:Factory/.vkquake.new.3160 (New)


Package is "vkquake"

Mon Mar 30 23:07:22 2020 rev:4 rq:789831 version:1.04.1

Changes:

--- /work/SRC/openSUSE:Factory/vkquake/vkquake.changes  2019-06-18 
14:59:21.225297819 +0200
+++ /work/SRC/openSUSE:Factory/.vkquake.new.3160/vkquake.changes
2020-03-30 23:07:27.508315120 +0200
@@ -1,0 +2,26 @@
+Fri Mar 27 23:05:55 UTC 2020 - Christophe Giboudeaux 
+
+- Update to 1.04.1. Changes since 1.02.0:
+  * Lots of Vulkan fixes
+  * Frame rates over 72 Hz don't break physics anymore
+  * Default maximum frame rate raised to 200 Hz.
+  * Fix crashes with some Intel drivers and anti aliasing
+  * Fix crash "out of dynamic vertex buffer space"
+in some very large custom maps
+  * Fix gun position being different than in QuakeSpasm
+when status bar alpha is 0
+  * Fixed alpha tested alias models
+  * Fixed too large dynamic buffer allocations
+  * Lightmaps are now dynamically allocated (from QuakeSpasm)
+  * Particles are now rendered as quads instead of triangles
+by default (r_quadparticles) like in QuakeSpasm.
+  * Fix alpha tested geo not testing depth
+  * Fix issue where wrong push constants were being
+set if render size is smaller than window
+  * Fixed certain UI elementes being rendered with alpha
+blending instead of alpha testing like in QS
+  * Fix issue with Intel GPUs crashing when leaving full screen
+  * Updated to latest QuakeSpasm code
+  * Fix particle alpha being affected by fog
+
+---

Old:

  vkQuake-1.02.1.tar.gz

New:

  vkQuake-1.04.1.tar.gz



Other differences:
--
++ vkquake.spec ++
--- /var/tmp/diff_new_pack.XjvLl5/_old  2020-03-30 23:07:29.600316312 +0200
+++ /var/tmp/diff_new_pack.XjvLl5/_new  2020-03-30 23:07:29.640316335 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package vkquake
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2017 Luke Jones 
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,18 +18,17 @@
 
 
 Name:   vkquake
-Version:1.02.1
+Version:1.04.1
 Release:0
 Summary:Quake 1 port using Vulkan instead of OpenGL for rendering
-# FIXME: Select a correct license from 
https://github.com/openSUSE/spec-cleaner#spdx-licenses
-# FIXME: use correct group, see 
"https://en.opensuse.org/openSUSE:Package_group_guidelines";
-License:GPL-2.0-only
+License:GPL-2.0-or-later
 Group:  Amusements/Games/3D/Shoot
-Url:https://github.com/Novum/vkQuake
+URL:https://github.com/Novum/vkQuake
 Source: 
https://github.com/Novum/vkQuake/archive/%{version}/vkQuake-%{version}.tar.gz
 Source99:   %{name}.changes
 Source100:  appdata.xml
 Source101:  %{name}.desktop
+BuildRequires:  pkgconfig
 BuildRequires:  vulkan-devel
 BuildRequires:  pkgconfig(flac)
 BuildRequires:  pkgconfig(libmikmod)
@@ -37,7 +36,6 @@
 BuildRequires:  pkgconfig(opusfile)
 BuildRequires:  pkgconfig(sdl2)
 BuildRequires:  pkgconfig(vorbis)
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 vkQuake is a Quake 1 port using Vulkan instead of OpenGL for rendering. It is 
based on the popular QuakeSpasm port and runs all mods compatible with it like 
Arcane Dimensions or In The Shadows.
@@ -45,6 +43,14 @@
 
 %prep
 %setup -q -n vkQuake-%{version}
+
+%if 0%{?sle_version} < 150200
+sed -i 's#vulkan_core.h#vulkan.h#' Quake/quakedef.h
+%endif
+
+# Drop pre-compiled Windows stuff
+rm Windows -fr
+
 # Fix usage of __DATE__ and __TIME__ macros to prevent build in excess
 modified="$(sed -n '/^/n;s/ - .*$//;p;q' "%{SOURCE99}")"
 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
@@ -52,7 +58,7 @@
 sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" Quake/host.c
 
 %build
-make %{?_smp_mflags} -C Quake \
+%make_build -C Quake \
 STRIP=": do not strip:" \
 DO_USERDIRS=1 \
 USE_SDL2=1 \
@@ -61,7 +67,7 @@
 USE_CODEC_MIKMOD=1 \
 USE_CODEC_UMX=1 \
 USE_CODEC_MP3=0
-make -C Misc/vq_pak
+%make_build -C Misc/vq_pak
 
 %install
 install -Dm755 Quake/vkquake %{buildroot}%{_bindir}/%{name}
@@ -71,17 +77,13 @@
 install -D -p -m 644 %{SOURCE101}  
%{buildroot}%{_datadir}/applications/%{name}.desktop
 
 %files
-%defattr(-,root,root)
-%doc readme.md LICENSE.txt Misc/fitzquake080.txt Misc/fitzquake080sdl.txt 
Misc/fitzquake085.txt
-%{_bindir}/%{name}
+%license LICENSE.txt
+%doc readme.md Misc/fitzquake080.txt Misc/fitzquake080sdl.txt 
Mis

commit vkquake for openSUSE:Factory

2019-06-18 Thread root
Hello community,

here is the log from the commit of package vkquake for openSUSE:Factory checked 
in at 2019-06-18 14:59:17

Comparing /work/SRC/openSUSE:Factory/vkquake (Old)
 and  /work/SRC/openSUSE:Factory/.vkquake.new.4811 (New)


Package is "vkquake"

Tue Jun 18 14:59:17 2019 rev:3 rq:710499 version:1.02.1

Changes:

--- /work/SRC/openSUSE:Factory/vkquake/vkquake.changes  2018-10-17 
08:41:13.877864692 +0200
+++ /work/SRC/openSUSE:Factory/.vkquake.new.4811/vkquake.changes
2019-06-18 14:59:21.225297819 +0200
@@ -1,0 +2,21 @@
+Mon Jun 17 19:34:23 UTC 2019 - Martin Hauke 
+
+- Update to version 1.02.0
+  + Frame rates over 72 Hz don't break physics anymore (from
+QuakeSpasm spiked)
+  + Default maximum frame rate raised to 200 Hz.
+  + Fix crashes with some Intel drivers and anti aliasing
+  + Fix crash "out of dynamic vertex buffer space" in some very
+large custom maps
+  + Fix gun position being different than in QuakeSpasm when status
+bar alpha is 0
+  + Other minor Vulkan fixes
+
+- Update to version 1.01.0
+  + Extremely large textures should now work
+  + Fixed alpha blending issue in some maps
+(e.g. xmasjam2018_bloodshot)
+  + Partial support for r_showTris (world and particles)
+  + Update to latest QuakeSpasm code
+
+---

Old:

  vkQuake-1.00.0.tar.gz

New:

  vkQuake-1.02.1.tar.gz



Other differences:
--
++ vkquake.spec ++
--- /var/tmp/diff_new_pack.6NkMoN/_old  2019-06-18 14:59:21.733297567 +0200
+++ /var/tmp/diff_new_pack.6NkMoN/_new  2019-06-18 14:59:21.737297565 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package vkquake
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2017 Luke Jones 
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
 
 
 Name:   vkquake
-Version:1.00.0
+Version:1.02.1
 Release:0
 Summary:Quake 1 port using Vulkan instead of OpenGL for rendering
 # FIXME: Select a correct license from 
https://github.com/openSUSE/spec-cleaner#spdx-licenses

++ vkQuake-1.00.0.tar.gz -> vkQuake-1.02.1.tar.gz ++
 5130 lines of diff (skipped)




commit vkquake for openSUSE:Factory

2018-10-16 Thread root
Hello community,

here is the log from the commit of package vkquake for openSUSE:Factory checked 
in at 2018-10-17 08:39:26

Comparing /work/SRC/openSUSE:Factory/vkquake (Old)
 and  /work/SRC/openSUSE:Factory/.vkquake.new (New)


Package is "vkquake"

Wed Oct 17 08:39:26 2018 rev:2 rq:641898 version:1.00.0

Changes:

--- /work/SRC/openSUSE:Factory/vkquake/vkquake.changes  2017-08-24 
18:32:06.968829457 +0200
+++ /work/SRC/openSUSE:Factory/.vkquake.new/vkquake.changes 2018-10-17 
08:41:13.877864692 +0200
@@ -1,0 +2,8 @@
+Sun Oct 14 06:16:10 UTC 2018 - s...@suspend.net
+
+- Update to 1.00.0
+  + Peformance optimizations (use function pointer instead of loader)
+  + Compute shader water texture update
+  + Update to latest QuakeSpasm code
+
+---

Old:

  vkQuake-0.96.2.tar.gz

New:

  vkQuake-1.00.0.tar.gz



Other differences:
--
++ vkquake.spec ++
--- /var/tmp/diff_new_pack.Yluifh/_old  2018-10-17 08:41:14.529864135 +0200
+++ /var/tmp/diff_new_pack.Yluifh/_new  2018-10-17 08:41:14.533864131 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package vkquake
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2017 Luke Jones 
 #
 # All modifications and additions to the file contributed by third parties
@@ -13,17 +13,17 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   vkquake
-Version:0.96.2
+Version:1.00.0
 Release:0
 Summary:Quake 1 port using Vulkan instead of OpenGL for rendering
 # FIXME: Select a correct license from 
https://github.com/openSUSE/spec-cleaner#spdx-licenses
 # FIXME: use correct group, see 
"https://en.opensuse.org/openSUSE:Package_group_guidelines";
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  Amusements/Games/3D/Shoot
 Url:https://github.com/Novum/vkQuake
 Source: 
https://github.com/Novum/vkQuake/archive/%{version}/vkQuake-%{version}.tar.gz

++ vkQuake-0.96.2.tar.gz -> vkQuake-1.00.0.tar.gz ++
 23018 lines of diff (skipped)