From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6D53915808B for ; Sun, 20 Mar 2022 13:32:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A38EE07F1; Sun, 20 Mar 2022 13:32:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 56F43E07F1 for ; Sun, 20 Mar 2022 13:32:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 62A5B342F26 for ; Sun, 20 Mar 2022 13:32:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D8F5F32E for ; Sun, 20 Mar 2022 13:32:21 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1647783124.c4f11054b952425eaa64895a0e728b8d1925c84d.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/odamex/, games-engines/odamex/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-engines/odamex/Manifest games-engines/odamex/files/odamex-0.9.0-Unbundle-miniupnpc.patch games-engines/odamex/odamex-0.9.5.ebuild X-VCS-Directories: games-engines/odamex/files/ games-engines/odamex/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: c4f11054b952425eaa64895a0e728b8d1925c84d X-VCS-Branch: master Date: Sun, 20 Mar 2022 13:32:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 88deaa33-83e6-46ae-a659-ea4842703f30 X-Archives-Hash: 14b396ea4da49d5a104d2642e71a127e commit: c4f11054b952425eaa64895a0e728b8d1925c84d Author: James Le Cuirot gentoo org> AuthorDate: Sun Mar 20 13:32:04 2022 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Sun Mar 20 13:32:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4f11054 games-engines/odamex: Drop old 0.9.5 Signed-off-by: James Le Cuirot gentoo.org> games-engines/odamex/Manifest | 1 - .../files/odamex-0.9.0-Unbundle-miniupnpc.patch | 80 ---------------------- games-engines/odamex/odamex-0.9.5.ebuild | 79 --------------------- 3 files changed, 160 deletions(-) diff --git a/games-engines/odamex/Manifest b/games-engines/odamex/Manifest index b2e65dadb436..cf41cb20eab0 100644 --- a/games-engines/odamex/Manifest +++ b/games-engines/odamex/Manifest @@ -1,2 +1 @@ -DIST odamex-0.9.5.tar.bz2 6659528 BLAKE2B 6f6052aff5a1e0c9a54c417113b67a91044d05ebf13d8ab5fb01132f9bb90b1c97392e881b8bff8baee4621c8e53abbb360fc8c7e6de8ff53d45ee55f73c48ec SHA512 70a0deb5e5b5902620f8fe692dc8507f9f19d7d6afabb4e2efbc25dc6879d469aa250dc55bb165db83a4288af9d5adda72ce3823a3db6dd9ccb83f5c684d3ac8 DIST odamex-src-10.0.0.tar.xz 17680868 BLAKE2B 95df336ccc24c2658174bdd051cb9b98ca906d653d84a120330d8fe6f11ad91ba70ba7edfc960f8815d02795f7392761a0174171de30ea78b37389a61deacae7 SHA512 b825953a446a4eb46d2d004b20df876bceec823cb5f0bf661ecac03eff2f07c11fe47c6861f3c3ee417ce9ca869474ff422d78bba1b742485315ba5ba86bd702 diff --git a/games-engines/odamex/files/odamex-0.9.0-Unbundle-miniupnpc.patch b/games-engines/odamex/files/odamex-0.9.0-Unbundle-miniupnpc.patch deleted file mode 100644 index 77b6220041da..000000000000 --- a/games-engines/odamex/files/odamex-0.9.0-Unbundle-miniupnpc.patch +++ /dev/null @@ -1,80 +0,0 @@ -From 4b9a8ca565e5cd388a49cd0fbe693b5332577c57 Mon Sep 17 00:00:00 2001 -From: William Breathitt Gray -Date: Mon, 22 Mar 2021 18:20:15 +0900 -Subject: [PATCH] Unbundle miniupnpc - ---- - libraries/CMakeLists.txt | 42 ---------------------------------------- - server/CMakeLists.txt | 3 ++- - 2 files changed, 2 insertions(+), 43 deletions(-) - -diff --git a/libraries/CMakeLists.txt b/libraries/CMakeLists.txt -index 177a86a2..2ffe95a5 100644 ---- a/libraries/CMakeLists.txt -+++ b/libraries/CMakeLists.txt -@@ -227,48 +227,6 @@ endif() - - ### MiniUPnPc ### - --if(BUILD_SERVER) -- message(STATUS "Compiling MiniUPnPc...") -- -- # Figure out the correct library path to attach to our imported target -- set(MINIUPNPC_INCLUDE_DIR -- "${CMAKE_CURRENT_BINARY_DIR}/local/include/miniupnpc") -- set(MINIUPNPC_LIBRARY -- "${CMAKE_CURRENT_BINARY_DIR}/local/lib/${libprefix}miniupnpc${libsuffix}") -- -- # This must exist before the target is synthesized. -- file(MAKE_DIRECTORY ${MINIUPNPC_INCLUDE_DIR}) -- -- # Generate the build. -- execute_process(COMMAND "${CMAKE_COMMAND}" -- -S "${CMAKE_CURRENT_SOURCE_DIR}/libminiupnpc" -- -B "${CMAKE_CURRENT_BINARY_DIR}/libminiupnpc-build" -- -G "${CMAKE_GENERATOR}" -- -A "${CMAKE_GENERATOR_PLATFORM}" -- -T "${CMAKE_GENERATOR_TOOLSET}" -- "-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}" -- "-DCMAKE_LINKER=${CMAKE_LINKER}" -- "-DCMAKE_RC_COMPILER=${CMAKE_RC_COMPILER}" -- "-DCMAKE_BUILD_TYPE=RelWithDebInfo" -- "-DCMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_BINARY_DIR}/local" -- "-DCMAKE_INSTALL_LIBDIR=lib" # Without this, CentOS installs into lib64 -- "-DUPNPC_BUILD_SHARED=No" -- "-DUPNPC_BUILD_TESTS=No") -- -- # Compile the library. -- execute_process(COMMAND "${CMAKE_COMMAND}" -- --build "${CMAKE_CURRENT_BINARY_DIR}/libminiupnpc-build" -- --config RelWithDebInfo --target install --parallel ${PARALLEL_PROC_COUNT}) -- -- # Synthesize an imported target that can be linked against. -- add_library(upnpc-static STATIC IMPORTED GLOBAL) -- set_target_properties(upnpc-static PROPERTIES -- INTERFACE_INCLUDE_DIRECTORIES "${MINIUPNPC_INCLUDE_DIR}" -- IMPORTED_LOCATION ${MINIUPNPC_LIBRARY}) -- if(WIN32) -- set_target_properties(upnpc-static PROPERTIES INTERFACE_LINK_LIBRARIES "ws2_32;iphlpapi") -- endif() --endif() - - ### SDL libraries ### - -diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt -index 73a70000..e4b085f2 100644 ---- a/server/CMakeLists.txt -+++ b/server/CMakeLists.txt -@@ -53,7 +53,8 @@ endif() - target_link_libraries(odasrv jsoncpp odamex-common) - - if(USE_MINIUPNP) -- target_link_libraries(odasrv upnpc-static) -+ target_include_directories(odasrv SYSTEM PRIVATE "/usr/include/miniupnpc") -+ target_link_libraries(odasrv -lminiupnpc) - endif() - - if(WIN32) --- -2.31.0 - diff --git a/games-engines/odamex/odamex-0.9.5.ebuild b/games-engines/odamex/odamex-0.9.5.ebuild deleted file mode 100644 index eb8519c9e40f..000000000000 --- a/games-engines/odamex/odamex-0.9.5.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -WX_GTK_VER="3.0-gtk3" -inherit cmake desktop prefix wxwidgets xdg - -DESCRIPTION="Online multiplayer free software engine for DOOM" -HOMEPAGE="https://odamex.net/" -SRC_URI="mirror://sourceforge/${PN}/Odamex/${PV}/${PN}-src-${PV}.tar.bz2 -> ${P}.tar.bz2" - -LICENSE="GPL-2+ MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="+client master +odalaunch portmidi server upnp X" -REQUIRED_USE="|| ( client master server )" - -RDEPEND=" - client? ( - media-libs/libpng:0= - media-libs/libsdl2[joystick,sound,video] - media-libs/sdl2-mixer - net-misc/curl - portmidi? ( media-libs/portmidi ) - X? ( x11-libs/libX11 ) - ) - odalaunch? ( x11-libs/wxGTK:${WX_GTK_VER}[X] ) - server? ( - upnp? ( net-libs/miniupnpc:= ) - )" -DEPEND="${RDEPEND}" -BDEPEND="games-util/deutex" - -S="${WORKDIR}/${PN}-src-${PV}" - -PATCHES=( - "${FILESDIR}/${PN}-0.9.0-Unbundle-miniupnpc.patch" - "${FILESDIR}/${PN}-10.0.0-musl.patch" -) - -src_prepare() { - rm -r libraries/libminiupnpc || die - hprefixify common/d_main.cpp - - use odalaunch && setup-wxwidgets - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DUSE_INTERNAL_LIBS=0 - -DBUILD_CLIENT=$(usex client) - -DBUILD_LAUNCHER=$(usex odalaunch) - -DBUILD_MASTER=$(usex master) - -DBUILD_SERVER=$(usex server) - -DBUILD_OR_FAIL=1 - -DENABLE_PORTMIDI=$(usex portmidi) - -DUSE_MINIUPNP=$(usex upnp) - ) - use client && mycmakeargs+=(-DCMAKE_DISABLE_FIND_PACKAGE_X11=$(usex !X)) - - cmake_src_configure -} - -src_install() { - if use client ; then - newicon -s 128 "${S}/media/icon_${PN}_128.png" "${PN}.png" - make_desktop_entry "${PN}" "Odamex" - - if use odalaunch ; then - newicon -s 128 "${S}/media/icon_odalaunch_128.png" "odalaunch.png" - make_desktop_entry odalaunch "Odamex Launcher" odalaunch - fi - fi - - cmake_src_install -}