diff options
| author | Rene Ladan <rene@FreeBSD.org> | 2026-11-30 20:04:14 +0000 |
|---|---|---|
| committer | Rene Ladan <rene@FreeBSD.org> | 2026-11-30 20:04:14 +0000 |
| commit | 7d9be4c6a1671812117c82e0aef1f73fc87590f4 (patch) | |
| tree | ac3c753695ea6fddbb056bad1b4086180c40119f | |
| parent | a3338c5e0719887accf10b67483c799811c5c749 (diff) | |
games/odamex: Remove expired port
2026-11-30 games/odamex: Unmaintained, does not build with CMake 4
| -rw-r--r-- | MOVED | 1 | ||||
| -rw-r--r-- | games/Makefile | 1 | ||||
| -rw-r--r-- | games/odamex/Makefile | 72 | ||||
| -rw-r--r-- | games/odamex/distinfo | 2 | ||||
| -rw-r--r-- | games/odamex/files/patch-CMakeLists.txt | 37 | ||||
| -rw-r--r-- | games/odamex/files/patch-client-src-cl_download.cpp | 13 | ||||
| -rw-r--r-- | games/odamex/files/patch-common-d_main.cpp | 13 | ||||
| -rw-r--r-- | games/odamex/files/patch-odalaunch-CMakeLists.txt | 10 | ||||
| -rw-r--r-- | games/odamex/files/patch-odalaunch-src-dlg_main.cpp | 36 | ||||
| -rw-r--r-- | games/odamex/files/patch-odalpapi-net_io.cpp | 18 | ||||
| -rw-r--r-- | games/odamex/pkg-descr | 20 | ||||
| -rw-r--r-- | games/odamex/pkg-plist | 20 |
12 files changed, 1 insertions, 242 deletions
@@ -5835,3 +5835,4 @@ games/blinkensisters||2026-11-30|Has expired: Abandoned upstream, does not build games/bomns||2026-11-30|Has expired: Ancient software, unmaintained upstream, does not build with CMake 4 games/frobtads||2026-11-30|Has expired: No release in years, does not build with CMake 4 multimedia/kmplayer||2026-11-30|Has expired: Abandoned, not ported to Qt6 +games/odamex||2026-11-30|Has expired: Unmaintained, does not build with CMake 4 diff --git a/games/Makefile b/games/Makefile index 581a488a7273..2692aeb82ee1 100644 --- a/games/Makefile +++ b/games/Makefile @@ -685,7 +685,6 @@ SUBDIR += nwndata SUBDIR += nxengine SUBDIR += oblige - SUBDIR += odamex SUBDIR += oldrunner SUBDIR += omega SUBDIR += oneko-sakura diff --git a/games/odamex/Makefile b/games/odamex/Makefile deleted file mode 100644 index 7192f3c4059e..000000000000 --- a/games/odamex/Makefile +++ /dev/null @@ -1,72 +0,0 @@ -PORTNAME= odamex -PORTVERSION= 0.7.0 -PORTREVISION= 4 -CATEGORIES= games -MASTER_SITES= SF/${PORTNAME}/Odamex/${PORTVERSION} -DISTNAME= odamex-src-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Client/server multiplayer engine for Doom -WWW= https://odamex.net/ - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/LICENSE - -DEPRECATED= Unmaintained, does not build with CMake 4 -EXPIRATION_DATE=2026-11-30 - -LIB_DEPENDS= libpng.so:graphics/png - -USES= cmake:insource compiler dos2unix sdl tar:bzip2 -DOS2UNIX_FILES= CMakeLists.txt odalaunch/CMakeLists.txt common/d_main.cpp -USE_CXXSTD= c++14 -USE_SDL= sdl mixer - -CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} -CXXFLAGS_clang= -Wno-c++11-narrowing - -OPTIONS_DEFINE= DOCS LAUNCHER -OPTIONS_SUB= yes - -LAUNCHER_DESC= Enable GUI launcher program - -LAUNCHER_USE= WX=3.0 -LAUNCHER_CMAKE_ON= -DODALAUNCH_TARGET=on -DNO_AG-ODALAUNCH_TARGET=off -DwxWidgets_CONFIG_EXECUTABLE=${PREFIX}/bin/wxgtk2u-3.0-config -LAUNCHER_CMAKE_OFF= -DODALAUNCH_TARGET=off - -post-patch: - @${REINPLACE_CMD} -e 's|%%DMDIR%%|${DMDIR}|; \ - s|%%DATADIR%%|${DATADIR}|' \ - ${WRKSRC}/common/d_main.cpp - @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ - ${WRKSRC}/odalaunch/src/dlg_main.cpp - @${REINPLACE_CMD} -e 's|%%WX_VER%%|${WX_VERSION}|' \ - -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ - ${WRKSRC}/odalaunch/CMakeLists.txt - @${REINPLACE_CMD} -e 's|-waddir /usr/share/doom||' \ - ${WRKSRC}/installer/arch/odamex.desktop - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/client/odamex ${STAGEDIR}${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/server/odasrv ${STAGEDIR}${PREFIX}/bin - @${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/odamex.wad ${STAGEDIR}${DATADIR} -.for f in odamex odasrv - ${INSTALL_DATA} ${WRKSRC}/media/icon_${f}_*.png ${STAGEDIR}${PREFIX}/share/pixmaps -.endfor -.for f in odamex odasrv - ${INSTALL_DATA} ${WRKSRC}/installer/arch/${f}.desktop ${STAGEDIR}${PREFIX}/share/applications -.endfor - -do-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} - -do-install-LAUNCHER-on: - ${INSTALL_PROGRAM} ${WRKSRC}/odalaunch/odalaunch ${STAGEDIR}${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/media/icon_odalaunch_*.png ${STAGEDIR}${PREFIX}/share/pixmaps - ${INSTALL_DATA} ${WRKSRC}/installer/arch/odalaunch.desktop ${STAGEDIR}${PREFIX}/share/applications - -.include "${.CURDIR}/../doom-data/Makefile.include" - -.include <bsd.port.mk> diff --git a/games/odamex/distinfo b/games/odamex/distinfo deleted file mode 100644 index 02e7eec0555a..000000000000 --- a/games/odamex/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (odamex-src-0.7.0.tar.bz2) = aa34363cb18551be65e27919e62d92b9efcb594f36e9239d6fb394ed51b96631 -SIZE (odamex-src-0.7.0.tar.bz2) = 8437106 diff --git a/games/odamex/files/patch-CMakeLists.txt b/games/odamex/files/patch-CMakeLists.txt deleted file mode 100644 index 3268d3c6e87f..000000000000 --- a/games/odamex/files/patch-CMakeLists.txt +++ /dev/null @@ -1,37 +0,0 @@ ---- CMakeLists.txt.orig 2014-07-19 15:08:45.000000000 +0200 -+++ CMakeLists.txt 2014-07-19 15:10:19.000000000 +0200 -@@ -9,7 +9,7 @@ - # Default build type - if(NOT MSVC) - if(NOT CMAKE_BUILD_TYPE) -- set(CMAKE_BUILD_TYPE Debug CACHE STRING -+ set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING - "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." - FORCE) - endif() -@@ -29,12 +29,12 @@ - # Global compile options. Useful defines for any Odamex project. - macro(global_compile_options) - if(NOT MSVC) -- set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall") -+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -DNDEBUG") - if(USE_STATIC_STDLIB) - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static-libgcc -static-libstdc++") - endif() - if(USE_SANITIZE_ADDRESS) -- set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fsanitize=address -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls") -+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -DNDEBUG") - endif() - endif() - endmacro(global_compile_options) -@@ -81,7 +81,9 @@ - add_subdirectory(client) - add_subdirectory(server) - add_subdirectory(master) --add_subdirectory(odalaunch) -+if(ODALAUNCH_TARGET) -+ add_subdirectory(odalaunch) -+endif() - - # Disable the ag-odalaunch target completely: -DNO_AG-ODALAUNCH_TARGET - # This is only really useful when setting up a universal build. diff --git a/games/odamex/files/patch-client-src-cl_download.cpp b/games/odamex/files/patch-client-src-cl_download.cpp deleted file mode 100644 index 126391eb5fba..000000000000 --- a/games/odamex/files/patch-client-src-cl_download.cpp +++ /dev/null @@ -1,13 +0,0 @@ ---- client/src/cl_download.cpp.orig 2012-05-11 03:03:43.000000000 +0200 -+++ client/src/cl_download.cpp 2013-02-19 23:05:21.932196566 +0100 -@@ -170,8 +170,8 @@ - - // Try to save to the wad paths in this order -- Hyper_Eye - D_AddSearchDir(dirs, Args.CheckValue("-waddir"), separator); -- D_AddSearchDir(dirs, getenv("DOOMWADDIR"), separator); -- D_AddSearchDir(dirs, getenv("DOOMWADPATH"), separator); -+ D_AddSearchDir(dirs, "%%DATADIR%%", separator); -+ D_AddSearchDir(dirs, "%%DMDIR%%", separator); - D_AddSearchDir(dirs, waddirs.cstring(), separator); - dirs.push_back(startdir); - dirs.push_back(progdir); diff --git a/games/odamex/files/patch-common-d_main.cpp b/games/odamex/files/patch-common-d_main.cpp deleted file mode 100644 index 38975b984960..000000000000 --- a/games/odamex/files/patch-common-d_main.cpp +++ /dev/null @@ -1,13 +0,0 @@ ---- common/d_main.cpp.orig 2013-02-20 18:09:33.266196581 +0100 -+++ common/d_main.cpp 2013-02-20 18:11:13.271203017 +0100 -@@ -490,8 +490,8 @@ - dirs.push_back(progdir); - - D_AddSearchDir(dirs, Args.CheckValue("-waddir"), separator); -- D_AddSearchDir(dirs, getenv("DOOMWADDIR"), separator); -- D_AddSearchDir(dirs, getenv("DOOMWADPATH"), separator); -+ D_AddSearchDir(dirs, "%%DATADIR%%", separator); -+ D_AddSearchDir(dirs, "%%DMDIR%%", separator); - D_AddSearchDir(dirs, getenv("HOME"), separator); - - // [AM] Search additional paths based on platform diff --git a/games/odamex/files/patch-odalaunch-CMakeLists.txt b/games/odamex/files/patch-odalaunch-CMakeLists.txt deleted file mode 100644 index 5ce3d5499376..000000000000 --- a/games/odamex/files/patch-odalaunch-CMakeLists.txt +++ /dev/null @@ -1,10 +0,0 @@ ---- odalaunch/CMakeLists.txt.orig 2012-12-03 16:15:08.000000000 +0400 -+++ odalaunch/CMakeLists.txt 2012-12-03 16:20:04.000000000 +0400 -@@ -30,6 +30,7 @@ - - # Odalaunch target - if(wxWidgets_FOUND) -+ set(wxWidgets_wxrc_EXECUTABLE %%LOCALBASE%%/bin/wxrc-gtk2u-%%WX_VER%%) - add_custom_command( - OUTPUT ${XRCRES_HEADER} - COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/res diff --git a/games/odamex/files/patch-odalaunch-src-dlg_main.cpp b/games/odamex/files/patch-odalaunch-src-dlg_main.cpp deleted file mode 100644 index 277cafd3d244..000000000000 --- a/games/odamex/files/patch-odalaunch-src-dlg_main.cpp +++ /dev/null @@ -1,36 +0,0 @@ ---- odalaunch/src/dlg_main.cpp.orig 2013-11-29 02:22:10.000000000 +0100 -+++ odalaunch/src/dlg_main.cpp 2014-07-19 17:50:52.000000000 +0200 -@@ -1,7 +1,7 @@ - // Emacs style mode select -*- C++ -*- - //----------------------------------------------------------------------------- - // --// $Id: dlg_main.cpp 4376 2013-11-29 01:22:10Z russellrice $ -+// $Id: dlg_main.cpp 4996 2014-06-11 04:26:49Z hypereye $ - // - // Copyright (C) 2006-2012 by The Odamex Team. - // -@@ -208,7 +208,7 @@ - launchercfg_s.get_list_on_start = 1; - launchercfg_s.show_blocked_servers = 0; - launchercfg_s.wad_paths = wxGetCwd(); -- launchercfg_s.odamex_directory = wxGetCwd(); -+ launchercfg_s.odamex_directory = wxString("/usr/local/bin"); - - m_LstCtrlServers = XRCCTRL(*this, "Id_LstCtrlServers", LstOdaServerList); - m_LstCtrlPlayers = XRCCTRL(*this, "Id_LstCtrlPlayers", LstOdaPlayerList); -@@ -383,6 +383,7 @@ - wxFileConfig ConfigInfo; - wxInt32 ServerTimeout; - Server tmp_server; -+ odalpapi::BufferedSocket socket; - wxString server_hash; - wxString ped_hash; - wxString ped_result; -@@ -455,6 +456,7 @@ - } - - // Query the server and try to acquire its password hash -+ tmp_server.SetSocket(&socket); - tmp_server.SetAddress(wxstr_tostdstr(IPHost), Port); - tmp_server.Query(ServerTimeout); - diff --git a/games/odamex/files/patch-odalpapi-net_io.cpp b/games/odamex/files/patch-odalpapi-net_io.cpp deleted file mode 100644 index 5cc0ae7a5af1..000000000000 --- a/games/odamex/files/patch-odalpapi-net_io.cpp +++ /dev/null @@ -1,18 +0,0 @@ ---- odalpapi/net_io.cpp 2014-06-16 17:33:15.000000000 +0200 -+++ odalpapi/net_io.cpp 2014-06-16 17:33:44.000000000 +0200 -@@ -34,6 +34,7 @@ - #include <sstream> - #include <time.h> - #include <errno.h> -+#include <unistd.h> - - #include "net_io.h" - #include "net_utils.h" -@@ -45,7 +46,6 @@ - #ifdef _WIN32 - #define AI_ALL 0x00000100 - #else -- #include <unistd.h> - #define closesocket close - const int INVALID_SOCKET = -1; - #endif diff --git a/games/odamex/pkg-descr b/games/odamex/pkg-descr deleted file mode 100644 index 087cc5a16a2f..000000000000 --- a/games/odamex/pkg-descr +++ /dev/null @@ -1,20 +0,0 @@ -Odamex is a free and open source port for the classic first-person-shooter -Doom. Odamex's goal is to emulate the feel of and retain many aspects of the -original Doom executables while offering a broader expanse of security -features, personal configuration, gameplay options, and editing features. -Odamex can run on a wide range of operating systems and hardware, so players -should be able to play on almost any platform. Features: - -* The popular ZDoom 1.22 core engine and CSDoom 0.62 core netcode. -* Compatibility with many major operating systems, including Windows, Linux, - FreeBSD and Mac OSX. -* Core gameplay modeled on the original doom2.exe. -* Streamlined WAD loading, allowing the server and clients to load WAD files - on the fly without needing to restart the client or server. -* Compatibility with Boom, MBF and CTF Standard maps. -* Deathmatch, Cooperative, Team Deathmatch and CTF gametypes. -* Jumping, Mouselook and other non-standard features available as server-side - options. -* Comprehensive cheat and exploit countermeasures. -* An open source code base licensed under the GPL, available for anyone to - examine, compile, or modify to their liking. diff --git a/games/odamex/pkg-plist b/games/odamex/pkg-plist deleted file mode 100644 index baaec73163f3..000000000000 --- a/games/odamex/pkg-plist +++ /dev/null @@ -1,20 +0,0 @@ -%%LAUNCHER%%bin/odalaunch -%%LAUNCHER%%share/applications/odalaunch.desktop -%%LAUNCHER%%share/pixmaps/icon_odalaunch_128.png -%%LAUNCHER%%share/pixmaps/icon_odalaunch_256.png -%%LAUNCHER%%share/pixmaps/icon_odalaunch_512.png -%%LAUNCHER%%share/pixmaps/icon_odalaunch_96.png -bin/odamex -bin/odasrv -share/applications/odamex.desktop -share/applications/odasrv.desktop -share/pixmaps/icon_odamex_128.png -share/pixmaps/icon_odamex_256.png -share/pixmaps/icon_odamex_512.png -share/pixmaps/icon_odamex_96.png -share/pixmaps/icon_odasrv_128.png -share/pixmaps/icon_odasrv_256.png -share/pixmaps/icon_odasrv_512.png -share/pixmaps/icon_odasrv_96.png -%%DATADIR%%/odamex.wad -%%PORTDOCS%%%%DOCSDIR%%/README |
