Compare commits
No commits in common. "rawhide" and "f23" have entirely different histories.
16 changed files with 43 additions and 606 deletions
|
|
@ -1,28 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="desktop">
|
||||
<id>doom-shareware.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>proprietary</project_license>
|
||||
<name>Doom shareware installer</name>
|
||||
<summary>Doom, id Software's classic first person shooter, shareware installer</summary>
|
||||
<description>
|
||||
<p>
|
||||
Doom is id Software's classic first person shooter follow-up to
|
||||
Wolfenstein 3D. The Doom engine is Open Source. The original Doom datafiles
|
||||
however are not Open Source. There is a gratis, but not Open Source
|
||||
shareware version available on the internet.
|
||||
</p>
|
||||
<p>
|
||||
This package contains an applications menu entry for playing Doom shareware
|
||||
using the vavoom engine. The first time you click this menu entry, it will
|
||||
offer to download and install the Doom shareware datafiles for you.
|
||||
</p>
|
||||
</description>
|
||||
<url type="homepage">https://en.wikipedia.org/wiki/Doom_%281993_video_game%29</url>
|
||||
<screenshots>
|
||||
<screenshot type="default">http://vavoom-engine.com/images/shots/shot00.jpg</screenshot>
|
||||
<screenshot>http://vavoom-engine.com/images/shots/shot01.jpg</screenshot>
|
||||
<screenshot>http://vavoom-engine.com/images/shots/shot02.jpg</screenshot>
|
||||
</screenshots>
|
||||
<updatecontact>jwrdegoede_at_fedoraproject.org</updatecontact>
|
||||
</component>
|
||||
|
|
@ -6,4 +6,3 @@ Icon=doom-logo
|
|||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Game;ActionGame;
|
||||
Keywords=game;fps;first;person;shooter;doom;
|
||||
|
|
|
|||
|
|
@ -1,27 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="desktop">
|
||||
<id>heretic-shareware.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>proprietary</project_license>
|
||||
<name>Heretic shareware installer</name>
|
||||
<summary>Heretic, classic dark fantasy first person shooter, shareware installer</summary>
|
||||
<description>
|
||||
<p>
|
||||
Heretic is Raven's classic dark fantasy first person shooter using a
|
||||
modified Doom engine. The Heretic engine is Open Source. The original
|
||||
Heretic datafiles however are not Open Source. There is a gratis, but not
|
||||
Open Source shareware version available on the internet.
|
||||
</p>
|
||||
<p>
|
||||
This package contains an applications menu entry for playing Heretic
|
||||
shareware using the vavoom engine. The first time you click this menu
|
||||
entry, it will offer to download and install the Heretic shareware
|
||||
datafiles for you.
|
||||
</p>
|
||||
</description>
|
||||
<url type="homepage">https://en.wikipedia.org/wiki/Heretic_%28video_game%29</url>
|
||||
<screenshots>
|
||||
<screenshot type="default">http://vavoom-engine.com/images/shots/shot03.jpg</screenshot>
|
||||
</screenshots>
|
||||
<updatecontact>jwrdegoede_at_fedoraproject.org</updatecontact>
|
||||
</component>
|
||||
|
|
@ -6,4 +6,3 @@ Icon=tux-b2f
|
|||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Game;ActionGame;
|
||||
Keywords=game;fps;first;person;shooter;heretic;
|
||||
|
|
|
|||
|
|
@ -1,29 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="desktop">
|
||||
<id>hexen-demo.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>proprietary</project_license>
|
||||
<name>Hexen demo installer</name>
|
||||
<summary>Hexen, classic dark fantasy first person shooter, demo installer</summary>
|
||||
<description>
|
||||
<p>
|
||||
Hexen: Beyond Heretic is Raven's classic dark fantasy first person shooter
|
||||
follow-up to Heretic. The Hexen engine is Open Source. The original Hexen
|
||||
datafiles however are not Open Source. There is a gratis, but not Open
|
||||
Source demo version available on the internet.
|
||||
</p>
|
||||
<p>
|
||||
This package contains an applications menu entry for playing Hexen
|
||||
demo using the vavoom engine. The first time you click this menu
|
||||
entry, it will offer to download and install the Hexen demo
|
||||
datafiles for you.
|
||||
</p>
|
||||
</description>
|
||||
<url type="homepage">https://en.wikipedia.org/wiki/Hexen:_Beyond_Heretic</url>
|
||||
<screenshots>
|
||||
<screenshot type="default">http://vavoom-engine.com/images/shots/shot04.jpg</screenshot>
|
||||
<screenshot>http://vavoom-engine.com/images/shots/shot05.jpg</screenshot>
|
||||
<screenshot>http://vavoom-engine.com/images/shots/shot06.jpg</screenshot>
|
||||
</screenshots>
|
||||
<updatecontact>jwrdegoede_at_fedoraproject.org</updatecontact>
|
||||
</component>
|
||||
|
|
@ -6,4 +6,3 @@ Icon=tux-b2f
|
|||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Game;ActionGame;
|
||||
Keywords=game;fps;first;person;shooter;hexen;
|
||||
|
|
|
|||
|
|
@ -1,27 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="desktop">
|
||||
<id>strife-demo.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>proprietary</project_license>
|
||||
<name>Strife demo installer</name>
|
||||
<summary>Strife, classic first person shooter, demo installer</summary>
|
||||
<description>
|
||||
<p>
|
||||
Strife is Rogue Entertainment's classic first person shooter with
|
||||
role-playing game elements. The Strife engine is Open Source. The original
|
||||
Strife datafiles however are not Open Source. There is a gratis, but not
|
||||
Open Source demo version available on the internet.
|
||||
</p>
|
||||
<p>
|
||||
This package contains an applications menu entry for playing Strife
|
||||
demo using the vavoom engine. The first time you click this menu
|
||||
entry, it will offer to download and install the Strife demo
|
||||
datafiles for you.
|
||||
</p>
|
||||
</description>
|
||||
<url type="homepage">https://en.wikipedia.org/wiki/Strife_%28video_game%29</url>
|
||||
<screenshots>
|
||||
<screenshot type="default">http://vavoom-engine.com/images/shots/shot07.jpg</screenshot>
|
||||
</screenshots>
|
||||
<updatecontact>jwrdegoede_at_fedoraproject.org</updatecontact>
|
||||
</component>
|
||||
|
|
@ -6,4 +6,3 @@ Icon=tux-b2f
|
|||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Game;ActionGame;
|
||||
Keywords=game;fps;first;person;shooter;strife;
|
||||
|
|
|
|||
|
|
@ -1,35 +0,0 @@
|
|||
diff -up vavoom-1.33/CMakeLists.txt~ vavoom-1.33/CMakeLists.txt
|
||||
--- vavoom-1.33/CMakeLists.txt~ 2010-12-13 22:58:25.000000000 +0100
|
||||
+++ vavoom-1.33/CMakeLists.txt 2026-02-13 16:38:52.528113329 +0100
|
||||
@@ -2,10 +2,7 @@ project(vavoom)
|
||||
|
||||
option(ENABLE_ZONE_DEBUG "Enable memory allocation debuging")
|
||||
|
||||
-cmake_minimum_required(VERSION 2.4)
|
||||
-if(COMMAND cmake_policy)
|
||||
- cmake_policy(SET CMP0003 NEW)
|
||||
-endif(COMMAND cmake_policy)
|
||||
+cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
if(NOT DEFINED DATADIR)
|
||||
set(DATADIR share/vavoom)
|
||||
diff -up vavoom-1.33/basev/CMakeLists.txt~ vavoom-1.33/basev/CMakeLists.txt
|
||||
--- vavoom-1.33/basev/CMakeLists.txt~ 2009-11-13 22:42:38.000000000 +0100
|
||||
+++ vavoom-1.33/basev/CMakeLists.txt 2026-02-13 16:38:00.031421478 +0100
|
||||
@@ -1,5 +1,5 @@
|
||||
-get_target_property(VLUMPY vlumpy LOCATION)
|
||||
-get_target_property(ACC acc LOCATION)
|
||||
+set (VLUMPY $<TARGET_FILE_NAME:vlumpy>)
|
||||
+set (ACC $<TARGET_FILE_NAME:acc>)
|
||||
|
||||
add_subdirectory(common)
|
||||
add_subdirectory(doom)
|
||||
diff -up vavoom-1.33/progs/CMakeLists.txt~ vavoom-1.33/progs/CMakeLists.txt
|
||||
--- vavoom-1.33/progs/CMakeLists.txt~ 2008-09-11 22:10:51.000000000 +0200
|
||||
+++ vavoom-1.33/progs/CMakeLists.txt 2026-02-13 16:36:57.736787137 +0100
|
||||
@@ -1,4 +1,4 @@
|
||||
-get_target_property(VCC vcc LOCATION)
|
||||
+set (VCC $<TARGET_FILE_NAME:vcc>)
|
||||
|
||||
add_subdirectory(common)
|
||||
add_subdirectory(doom)
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
--- vavoom-1.33/source/vc_object.cpp~ 2016-08-09 12:35:44.000000000 +0200
|
||||
+++ vavoom-1.33/source/vc_object.cpp 2016-08-09 12:55:12.565307581 +0200
|
||||
@@ -187,7 +187,8 @@ void VObject::StaticExit()
|
||||
GObjObjects.Clear();
|
||||
GObjAvailable.Clear();
|
||||
GObjInitialised = false;
|
||||
- VMemberBase::StaticExit();
|
||||
+ // This causes vavoom to crash on exit when build with -std=c++11
|
||||
+ // VMemberBase::StaticExit();
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
@ -1,74 +0,0 @@
|
|||
--- vavoom-1.33/libs/core/exception.h 2010-04-03 18:27:57.000000000 +0200
|
||||
+++ vavoom-1.33.new/libs/core/exception.h 2016-08-09 12:20:12.901732326 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
//**
|
||||
//**************************************************************************
|
||||
|
||||
-#define DO_GUARD 1
|
||||
+#define DO_GUARD 0
|
||||
#define DO_CHECK 1
|
||||
|
||||
#ifdef PARANOID
|
||||
@@ -95,9 +95,9 @@
|
||||
#endif
|
||||
|
||||
#if defined(_DEBUG) || !DO_GUARD
|
||||
-#define guard(name) {static const char __FUNC_NAME__[] = #name; {
|
||||
-#define unguard }}
|
||||
-#define unguardf(msg) }}
|
||||
+#define guard(name) {
|
||||
+#define unguard }
|
||||
+#define unguardf(msg) }
|
||||
#elif defined(USE_GUARD_SIGNAL_CONTEXT)
|
||||
#define guard(name) {static const char __FUNC_NAME__[] = #name; \
|
||||
__Context __LOCAL_CONTEXT__; try { if (setjmp(__Context::Env)) { \
|
||||
--- vavoom-1.33/source/sys_bsd.cpp 2010-04-03 16:16:11.000000000 +0200
|
||||
+++ vavoom-1.33.new/source/sys_bsd.cpp 2016-08-09 12:27:56.608952461 +0200
|
||||
@@ -270,7 +270,7 @@
|
||||
signal(s, SIG_IGN);
|
||||
|
||||
// Exit with error message
|
||||
-#ifdef __linux__
|
||||
+#if defined __linux__ && DO_GUARD
|
||||
switch (s)
|
||||
{
|
||||
case SIGABRT:
|
||||
--- vavoom-1.33/source/vc_object.cpp 2016-08-09 12:31:16.124337565 +0200
|
||||
+++ vavoom-1.33.new/source/vc_object.cpp 2016-08-09 12:15:13.828657354 +0200
|
||||
@@ -135,7 +135,7 @@
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
-void VObject::operator delete(void* Object)
|
||||
+void VObject::operator delete(void* Object) noexcept
|
||||
{
|
||||
Z_Free(Object);
|
||||
}
|
||||
@@ -146,7 +146,12 @@
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
-void VObject::operator delete(void* Object, const char*, int)
|
||||
+void VObject::operator delete(void* Object, const char*, int) noexcept
|
||||
+{
|
||||
+ Z_Free(Object);
|
||||
+}
|
||||
+
|
||||
+void VObject::operator delete(void* Object, std::size_t size) noexcept
|
||||
{
|
||||
Z_Free(Object);
|
||||
}
|
||||
--- vavoom-1.33/source/vc_object.h 2010-04-03 16:16:11.000000000 +0200
|
||||
+++ vavoom-1.33.new/source/vc_object.h 2016-08-09 12:15:25.499738024 +0200
|
||||
@@ -147,8 +147,9 @@
|
||||
#endif
|
||||
void* operator new(size_t);
|
||||
void* operator new(size_t, const char*, int);
|
||||
- void operator delete(void*);
|
||||
- void operator delete(void*, const char*, int);
|
||||
+ void operator delete(void*) noexcept;
|
||||
+ void operator delete(void*, const char*, int) noexcept;
|
||||
+ void operator delete(void*, std::size_t size) noexcept;
|
||||
#ifdef ZONE_DEBUG_NEW
|
||||
#define new ZONE_DEBUG_NEW
|
||||
#endif
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
diff -up vavoom-1.33/source/vc_dehacked.cpp~ vavoom-1.33/source/vc_dehacked.cpp
|
||||
--- vavoom-1.33/source/vc_dehacked.cpp~ 2010-06-04 23:20:22.000000000 +0200
|
||||
+++ vavoom-1.33/source/vc_dehacked.cpp 2016-02-22 14:25:53.611745006 +0100
|
||||
@@ -128,8 +128,8 @@ static const VDehFlag DehFlags[] =
|
||||
{ 0, "TRANSLUC75", 0x20000000 },
|
||||
{ 0, "STEALTH", 0x40000000 },
|
||||
{ 0, "UNUSED4", 0x40000000 },
|
||||
- { 0, "TRANSLUCENT", 0x80000000 },
|
||||
- { 0, "TRANSLUC50", 0x80000000 },
|
||||
+ { 0, "TRANSLUCENT", (int)0x80000000 },
|
||||
+ { 0, "TRANSLUC50", (int)0x80000000 },
|
||||
{ 1, "LOGRAV", 0x00000001 },
|
||||
{ 1, "WINDTHRUST", 0x00000002 },
|
||||
{ 1, "FLOORBOUNCE", 0x00000004 },
|
||||
@@ -161,7 +161,7 @@ static const VDehFlag DehFlags[] =
|
||||
{ 1, "DORMANT", 0x10000000 },
|
||||
{ 1, "ICEDAMAGE", 0x20000000 },
|
||||
{ 1, "SEEKERMISSILE", 0x40000000 },
|
||||
- { 1, "REFLECTIVE", 0x80000000 },
|
||||
+ { 1, "REFLECTIVE", (int)0x80000000 },
|
||||
// Ignored flags
|
||||
{ 0, "SLIDE", 0 },
|
||||
{ 0, "UNUSED2", 0 },
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
--- vavoom-1.33/source/host.cpp~ 2016-08-09 12:31:16.000000000 +0200
|
||||
+++ vavoom-1.33/source/host.cpp 2016-08-09 12:42:15.942913575 +0200
|
||||
@@ -522,8 +522,8 @@ void Host_Error(const char *error, ...)
|
||||
|
||||
COMMAND(Version)
|
||||
{
|
||||
- GCon->Log("VAVOOM version " VERSION_TEXT" (r" SVN_REVISION_STRING ").");
|
||||
- GCon->Log("Compiled "__DATE__" "__TIME__".");
|
||||
+ GCon->Log("VAVOOM version " VERSION_TEXT " (r" SVN_REVISION_STRING ").");
|
||||
+ GCon->Log("Compiled " __DATE__ " " __TIME__ ".");
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
--- vavoom-1.33/source/vc_expr_invoke.cpp~ 2010-09-01 20:26:05.000000000 +0200
|
||||
+++ vavoom-1.33/source/vc_expr_invoke.cpp 2016-08-09 12:41:08.959449151 +0200
|
||||
@@ -740,7 +740,7 @@ void VInvocation::CheckParams(VEmitConte
|
||||
if (!Args[i]->Type.Equals(Func->ParamTypes[i]))
|
||||
{
|
||||
//FIXME This should be error.
|
||||
- if (!Func->ParamFlags[NumArgs] & FPARM_Optional)
|
||||
+ if (!(Func->ParamFlags[NumArgs] & FPARM_Optional))
|
||||
{
|
||||
Args[i]->Type.CheckMatch(Args[i]->Loc, Func->ParamTypes[i]);
|
||||
//ParseError(Args[i]->Loc, "Out parameter types must be equal");
|
||||
@@ -750,7 +750,7 @@ void VInvocation::CheckParams(VEmitConte
|
||||
}
|
||||
else
|
||||
{
|
||||
- if (!Func->ParamFlags[NumArgs] & FPARM_Optional)
|
||||
+ if (!(Func->ParamFlags[NumArgs] & FPARM_Optional))
|
||||
{
|
||||
Args[i]->Type.CheckMatch(Args[i]->Loc, Func->ParamTypes[i]);
|
||||
}
|
||||
--- vavoom-1.33/utils/vcc/vcc.cpp~ 2016-08-09 12:31:16.000000000 +0200
|
||||
+++ vavoom-1.33/utils/vcc/vcc.cpp 2016-08-09 12:43:16.904336245 +0200
|
||||
@@ -171,7 +171,7 @@ static void DisplayUsage()
|
||||
{
|
||||
// Print usage.
|
||||
printf("\n");
|
||||
- printf("VCC Version 1.%d. Copyright (c)2000-2001 by JL. ("__DATE__" "__TIME__")\n", PROG_VERSION);
|
||||
+ printf("VCC Version 1.%d. Copyright (c)2000-2001 by JL. (" __DATE__ " " __TIME__ ")\n", PROG_VERSION);
|
||||
printf("Usage: vcc [options] source[.c] [object[.dat]]\n");
|
||||
printf(" -d<file> Output debugging information into specified file\n");
|
||||
printf(" -a<function> Output function's ASM statements into debug file\n");
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
diff -up vavoom-1.33/utils/vlaunch/CMakeLists.txt.wx3 vavoom-1.33/utils/vlaunch/CMakeLists.txt
|
||||
--- vavoom-1.33/utils/vlaunch/CMakeLists.txt.wx3 2010-12-13 16:01:21.000000000 -0500
|
||||
+++ vavoom-1.33/utils/vlaunch/CMakeLists.txt 2018-10-28 20:53:27.545594859 -0400
|
||||
@@ -1,5 +1,7 @@
|
||||
if(ENABLE_LAUNCHER)
|
||||
|
||||
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
+
|
||||
find_package(wxWidgets REQUIRED)
|
||||
include(${wxWidgets_USE_FILE})
|
||||
|
||||
diff -up vavoom-1.33/utils/vlaunch/vlaunch.cpp.wx3 vavoom-1.33/utils/vlaunch/vlaunch.cpp
|
||||
--- vavoom-1.33/utils/vlaunch/vlaunch.cpp.wx3 2011-01-01 06:51:56.000000000 -0500
|
||||
+++ vavoom-1.33/utils/vlaunch/vlaunch.cpp 2018-10-28 20:32:37.076595864 -0400
|
||||
@@ -133,7 +133,7 @@ IMPLEMENT_APP(VLaunchApp)
|
||||
|
||||
VMain::VMain()
|
||||
: wxFrame(NULL, wxID_ANY, wxT("Vavoom launcher"), wxDefaultPosition, wxDefaultSize,
|
||||
- wxDEFAULT_FRAME_STYLE & ~ (wxRESIZE_BORDER | wxRESIZE_BOX | wxMAXIMIZE_BOX))
|
||||
+ wxDEFAULT_FRAME_STYLE & ~ (wxRESIZE_BORDER | wxMAXIMIZE_BOX))
|
||||
{
|
||||
SetIcon(wxICON(vlaunch));
|
||||
|
||||
|
|
@ -11,6 +11,11 @@
|
|||
classic 3D first-person shooter Doom and the Doom derived classics
|
||||
Heretic, Hexen and Strife.
|
||||
</p>
|
||||
<p>
|
||||
This package adds menu entries to directly start the shareware versions
|
||||
of these games, which can be freely downloaded. When you start the game
|
||||
for the first time it will offer to download the shareware files for you.
|
||||
</p>
|
||||
<p>
|
||||
Compared to the original games vavoom adds extra features such as
|
||||
translucency, freelook support, opengl-rendering and a Quake like console.
|
||||
|
|
|
|||
318
vavoom.spec
318
vavoom.spec
|
|
@ -1,10 +1,7 @@
|
|||
# vavoom's CMakefiles are a mess, force in-source building
|
||||
%global _vpath_builddir .
|
||||
|
||||
Name: vavoom
|
||||
Version: 1.33
|
||||
Release: 51%{?dist}
|
||||
Summary: Enhanced Doom, Heretic, Hexen and Strife source port - meta package
|
||||
Release: 15%{?dist}
|
||||
Summary: Enhanced Doom, Heretic, Hexen and Strife source port
|
||||
Source0: http://downloads.sourceforge.net/vavoom/%{name}-%{version}.tar.bz2
|
||||
Source1: doom.autodlrc
|
||||
Source2: heretic.autodlrc
|
||||
|
|
@ -19,146 +16,42 @@ Source10: heretic-shareware.desktop
|
|||
Source11: hexen-demo.desktop
|
||||
Source12: strife-demo.desktop
|
||||
Source13: vavoom.desktop
|
||||
Source14: doom-shareware.appdata.xml
|
||||
Source15: heretic-shareware.appdata.xml
|
||||
Source16: hexen-demo.appdata.xml
|
||||
Source17: strife-demo.appdata.xml
|
||||
Source18: vavoom.appdata.xml
|
||||
Source19: vavoom.png
|
||||
Source20: doom-logo.png
|
||||
Source21: tux-b2f.png
|
||||
Source22: vavoom.6
|
||||
Source14: vavoom.appdata.xml
|
||||
Source15: vavoom.png
|
||||
Source16: doom-logo.png
|
||||
Source17: tux-b2f.png
|
||||
Source18: vavoom.6
|
||||
Patch0: vavoom-1.21-datadir.patch
|
||||
Patch1: vavoom-1.27-CMakeLists.patch
|
||||
Patch2: vavoom-1.33-format-security.patch
|
||||
Patch3: vavoom-1.33-dont-override-delete.patch
|
||||
Patch4: vavoom-1.33-default-iwaddir.patch
|
||||
Patch5: vavoom-1.33-gcc6.patch
|
||||
Patch6: vavoom-1.33-misc-fixes.patch
|
||||
# Incomplete patch to build with -std=c++11 not used as this crashes on exit
|
||||
#Patch7: vavoom-1.33-cx11.patch
|
||||
# Hack for crash on exit when building with -std=c++11, not used
|
||||
#Patch8: vavoom-1.33-crash-on-exit.patch
|
||||
Patch9: vavoom-1.33-wxwidgets3.0.patch
|
||||
Patch10: vavoom-1.33-cmake4.patch
|
||||
URL: http://vavoom-engine.com/
|
||||
# Automatically converted from old format: GPLv2+ - review is highly recommended.
|
||||
License: GPL-2.0-or-later
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
Group: Amusements/Games
|
||||
License: GPLv2+
|
||||
BuildRequires: SDL_mixer-devel SDL_net-devel libpng-devel libjpeg-devel
|
||||
BuildRequires: libvorbis-devel mikmod-devel flac-devel openal-soft-devel
|
||||
BuildRequires: libGLU-devel wxGTK-devel desktop-file-utils cmake
|
||||
BuildRequires: libappstream-glib
|
||||
Requires: %{name}-engine = %{version}-%{release}
|
||||
Requires: %{name}-doom-shareware = %{version}-%{release}
|
||||
Requires: %{name}-heretic-shareware = %{version}-%{release}
|
||||
Requires: %{name}-hexen-demo = %{version}-%{release}
|
||||
Requires: %{name}-strife-demo = %{version}-%{release}
|
||||
Requires: timidity++-patches hicolor-icon-theme autodownloader unzip
|
||||
|
||||
%description
|
||||
Vavoom is an enhanced open-source port of Doom. The "vavoom" meta-package
|
||||
installs vavoom-engine, and launchers / menu-entries to download and play
|
||||
doom-shareware, heretic-shareware, hexen-demo and strife-demo.
|
||||
|
||||
|
||||
%package engine
|
||||
Summary: Enhanced Doom, Heretic, Hexen and Strife game engine
|
||||
Requires: timidity++-patches hicolor-icon-theme
|
||||
|
||||
%description engine
|
||||
Vavoom is an enhanced open-source port of Doom. Allowing you to play not only
|
||||
the classic 3D first-person shooter Doom, but also the Doom derived classics
|
||||
Heretic, Hexen and Strife. Compared to the original games it adds extra
|
||||
features such as translucency and freelook support and ofcourse the capability
|
||||
to play these classics under Linux.
|
||||
|
||||
|
||||
%package doom-shareware
|
||||
Summary: Doom shareware installer
|
||||
BuildArch: noarch
|
||||
Requires: %{name}-engine = %{version}-%{release}
|
||||
Requires: autodownloader unzip
|
||||
|
||||
%description doom-shareware
|
||||
Doom is id Software's classic first person shooter follow-up to
|
||||
Wolfenstein 3D. The Doom engine is Open Source. The original Doom datafiles
|
||||
however are not Open Source. There is a gratis, but not Open Source shareware
|
||||
version available on the internet.
|
||||
|
||||
This package contains an applications menu entry for playing Doom shareware
|
||||
using the vavoom engine. The first time you click this menu entry, it will
|
||||
offer to download and install the Doom shareware datafiles for you.
|
||||
|
||||
|
||||
%package heretic-shareware
|
||||
Summary: Heretic shareware installer
|
||||
BuildArch: noarch
|
||||
Requires: %{name}-engine = %{version}-%{release}
|
||||
Requires: autodownloader unzip
|
||||
|
||||
%description heretic-shareware
|
||||
Heretic is Raven's classic dark fantasy first person shooter using a
|
||||
modified Doom engine. The Heretic engine is Open Source. The original
|
||||
Heretic datafiles however are not Open Source. There is a gratis, but not
|
||||
Open Source shareware version available on the internet.
|
||||
|
||||
This package contains an applications menu entry for playing Heretic
|
||||
shareware using the vavoom engine. The first time you click this menu
|
||||
entry, it will offer to download and install the Heretic shareware
|
||||
datafiles for you.
|
||||
|
||||
|
||||
%package hexen-demo
|
||||
Summary: Hexen demo installer
|
||||
BuildArch: noarch
|
||||
Requires: %{name}-engine = %{version}-%{release}
|
||||
Requires: autodownloader unzip
|
||||
|
||||
%description hexen-demo
|
||||
Hexen: Beyond Heretic is Raven's classic dark fantasy first person shooter
|
||||
follow-up to Heretic. The Hexen engine is Open Source. The original Hexen
|
||||
datafiles however are not Open Source. There is a gratis, but not Open
|
||||
Source demo version available on the internet.
|
||||
|
||||
This package contains an applications menu entry for playing Hexen
|
||||
demo using the vavoom engine. The first time you click this menu
|
||||
entry, it will offer to download and install the Hexen demo
|
||||
datafiles for you.
|
||||
|
||||
|
||||
%package strife-demo
|
||||
Summary: Strife demo installer
|
||||
BuildArch: noarch
|
||||
Requires: %{name}-engine = %{version}-%{release}
|
||||
Requires: autodownloader unzip
|
||||
|
||||
%description strife-demo
|
||||
Strife is Rogue Entertainment's classic first person shooter with
|
||||
role-playing game elements. The Strife engine is Open Source. The original
|
||||
Strife datafiles however are not Open Source. There is a gratis, but not
|
||||
Open Source demo version available on the internet.
|
||||
|
||||
This package contains an applications menu entry for playing Strife
|
||||
demo using the vavoom engine. The first time you click this menu
|
||||
entry, it will offer to download and install the Strife demo
|
||||
datafiles for you.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%setup -q
|
||||
%patch0 -p1 -b .datadir
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
|
||||
|
||||
%build
|
||||
# Allow for CMake 4.0
|
||||
export CMAKE_POLICY_VERSION_MINIMUM=3.5
|
||||
# Build looks too complicated to allow building with Ninja
|
||||
# Keep on using Makefile
|
||||
%global _cmake_generator "Unix Makefiles"
|
||||
# Build with -std=gnu++98, c++11 causes issues on exit, likely due to
|
||||
# bad interactions with the new / delete overloading in vc_object.cpp
|
||||
export CXXFLAGS="$RPM_OPT_FLAGS -std=gnu++98 -fno-strict-aliasing -Wno-unused -Wno-unused-but-set-variable -Wno-unused-result -Wno-sign-compare -Wno-reorder"
|
||||
%cmake -DWITH_LIBMAD:BOOL=OFF
|
||||
|
||||
# This one line sed command is easier than trying to muck with the Makefile
|
||||
|
|
@ -166,10 +59,6 @@ export CXXFLAGS="$RPM_OPT_FLAGS -std=gnu++98 -fno-strict-aliasing -Wno-unused -W
|
|||
sed -i "s|#define FL_BASEDIR.*|#define FL_BASEDIR \"%{_datadir}/%{name}\"|" source/files.h
|
||||
sed -i "s|#define CONFIG_FILE.*|#define CONFIG_FILE \"%{_sysconfdir}/timidity.cfg\"|" source/timidity/timidity.h
|
||||
|
||||
# source/CMakeLists.txt lacks dependencies to generate svnrev.h, force it
|
||||
make -C source revision_check
|
||||
make linespec
|
||||
# no -j# because there are more dependency issues in source/CMakeLists.txt
|
||||
make VERBOSE=1
|
||||
|
||||
%install
|
||||
|
|
@ -182,9 +71,6 @@ make install \
|
|||
mv $RPM_BUILD_ROOT%{_bindir}/%{name}.* $RPM_BUILD_ROOT%{_bindir}/%{name}
|
||||
mv $RPM_BUILD_ROOT%{_bindir}/%{name}-dedicated.* $RPM_BUILD_ROOT%{_bindir}/%{name}-dedicated
|
||||
|
||||
# rm obsolete icon
|
||||
rm $RPM_BUILD_ROOT%{_datadir}/%{name}/%{name}.png
|
||||
|
||||
# install autodl files and wrapper scripts
|
||||
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/%{name}
|
||||
install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/%{name}
|
||||
|
|
@ -203,173 +89,45 @@ for i in %{SOURCE9} %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13}; do
|
|||
done
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
||||
for i in %{SOURCE14} %{SOURCE15} %{SOURCE16} %{SOURCE17} %{SOURCE18}; do
|
||||
install -p -m 644 "$i" $RPM_BUILD_ROOT%{_datadir}/appdata
|
||||
appstream-util validate-relax --nonet \
|
||||
$RPM_BUILD_ROOT%{_datadir}/appdata/$(basename "$i")
|
||||
done
|
||||
install -p -m 644 %{SOURCE14} $RPM_BUILD_ROOT%{_datadir}/appdata
|
||||
appstream-util validate-relax --nonet \
|
||||
$RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/{48x48,96x96}/apps
|
||||
install -p -m 644 %{SOURCE19} \
|
||||
install -p -m 644 %{SOURCE15} \
|
||||
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/96x96/apps/
|
||||
install -p -m 644 %{SOURCE20} %{SOURCE21} \
|
||||
install -p -m 644 %{SOURCE16} %{SOURCE17} \
|
||||
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man6
|
||||
install -p -m 644 %{SOURCE22} $RPM_BUILD_ROOT%{_mandir}/man6
|
||||
install -p -m 644 %{SOURCE18} $RPM_BUILD_ROOT%{_mandir}/man6
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ] ; then
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
fi
|
||||
|
||||
%posttrans
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
|
||||
%files
|
||||
# no files, meta-package
|
||||
|
||||
%files engine
|
||||
%doc docs/*.log docs/vavoom.txt
|
||||
%license docs/gnu.txt
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man6/%{name}.6*
|
||||
%dir %{_datadir}/%{name}
|
||||
%{_datadir}/%{name}/basev
|
||||
%{_datadir}/%{name}
|
||||
%{_datadir}/appdata/%{name}.appdata.xml
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/*.png
|
||||
|
||||
%files doom-shareware
|
||||
%{_datadir}/%{name}/doom.autodlrc
|
||||
%{_datadir}/appdata/doom-shareware.appdata.xml
|
||||
%{_datadir}/applications/doom-shareware.desktop
|
||||
|
||||
%files heretic-shareware
|
||||
%{_datadir}/%{name}/heretic.autodlrc
|
||||
%{_datadir}/appdata/heretic-shareware.appdata.xml
|
||||
%{_datadir}/applications/heretic-shareware.desktop
|
||||
|
||||
%files hexen-demo
|
||||
%{_datadir}/%{name}/hexen.autodlrc
|
||||
%{_datadir}/appdata/hexen-demo.appdata.xml
|
||||
%{_datadir}/applications/hexen-demo.desktop
|
||||
|
||||
%files strife-demo
|
||||
%{_datadir}/%{name}/strife.autodlrc
|
||||
%{_datadir}/appdata/strife-demo.appdata.xml
|
||||
%{_datadir}/applications/strife-demo.desktop
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-51
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Fri Feb 13 2026 Cristian Le <git@lecris.dev> - 1.33-50
|
||||
- Allow to build with CMake 4.0 (rhbz#2381629)
|
||||
- Force using Makefile generator (rhbz#2381152)
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-49
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-48
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Tue May 27 2025 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-47
|
||||
- Rebuilt for flac 1.5.0
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-46
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 1.33-45
|
||||
- convert license to SPDX
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-44
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-43
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-42
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-41
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Sep 14 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.33-40
|
||||
- Rebuilt for flac 1.4.0
|
||||
|
||||
* Thu Aug 04 2022 Scott Talbert <swt@techie.net> - 1.33-39
|
||||
- Rebuild with wxWidgets 3.2
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-38
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-37
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-36
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-35
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Aug 24 2020 Hans de Goede <hdegoede@redhat.com> - 1.33-34
|
||||
- Fix FTBFS (rhbz#1865603)
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-33
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-32
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-31
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jan 17 2020 Jeff Law <law@redhat.com> - 1.33-30
|
||||
- Make linespec explicitly to ensure it's built early enough
|
||||
as the generated Makefiles are missing dependencies
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-29
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-28
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Mon Oct 29 2018 Scott Talbert <swt@techie.net> - 1.33-27
|
||||
- Rebuild with wxWidgets 3.0
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-26
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-25
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.33-24
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-22
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Mon Feb 13 2017 Hans de Goede <hdegoede@redhat.com> - 1.33-21
|
||||
- Fix FTBFS
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Tue Aug 9 2016 Hans de Goede <hdegoede@redhat.com> - 1.33-19
|
||||
- Fix a bunch of compiler warnings (and silence some others)
|
||||
- Fix crash on exit:
|
||||
https://retrace.fedoraproject.org/faf/reports/1192370/
|
||||
|
||||
* Mon Feb 22 2016 Hans de Goede <hdegoede@redhat.com> - 1.33-18
|
||||
- Fix FTBFS (rhbz#1308217)
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Mon Jan 11 2016 Hans de Goede <hdegoede@redhat.com> - 1.33-16
|
||||
- Split out the .desktop files, wrapper scripts and autodownloader files for:
|
||||
doom-shareware, heretic-shareware, hexen-demo and strife-demo into
|
||||
seperate sub-packages
|
||||
- Add one .appdata.xml file per .desktop file
|
||||
|
||||
* Tue Jan 5 2016 Hans de Goede <hdegoede@redhat.com> - 1.33-15
|
||||
- Make vavoom work better with iwads installed in system dirs
|
||||
- Drop freedoom support again, this uses a builtin mapinfo.txt which is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue