From 682901db081bbc7edff1f551415fc9f67e50a148 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 30 Oct 2025 09:21:03 +0100 Subject: [PATCH] games-util/antimicro: treeclean Closes: https://bugs.gentoo.org/958353 (pkgremoved) Closes: https://bugs.gentoo.org/958359 (pkgremoved) Signed-off-by: Andreas Sturmlechner --- games-util/antimicro/Manifest | 1 - games-util/antimicro/antimicro-2.23.ebuild | 55 ------------------- .../files/antimicro-2.23-SDL2-include.patch | 12 ---- .../antimicro-2.23-gcc11-ptr-compare.patch | 12 ---- .../files/antimicro-2.23-linking-errors.patch | 34 ------------ .../antimicro-2.23-no-compress-man-page.patch | 11 ---- games-util/antimicro/metadata.xml | 11 ---- profiles/package.mask | 3 +- 8 files changed, 1 insertion(+), 138 deletions(-) delete mode 100644 games-util/antimicro/Manifest delete mode 100644 games-util/antimicro/antimicro-2.23.ebuild delete mode 100644 games-util/antimicro/files/antimicro-2.23-SDL2-include.patch delete mode 100644 games-util/antimicro/files/antimicro-2.23-gcc11-ptr-compare.patch delete mode 100644 games-util/antimicro/files/antimicro-2.23-linking-errors.patch delete mode 100644 games-util/antimicro/files/antimicro-2.23-no-compress-man-page.patch delete mode 100644 games-util/antimicro/metadata.xml diff --git a/games-util/antimicro/Manifest b/games-util/antimicro/Manifest deleted file mode 100644 index e70fd43edb80..000000000000 --- a/games-util/antimicro/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST antimicro-2.23.tar.gz 1157299 BLAKE2B 4577588414f3145f5e6a817160214d6f2d0fc3cc3c9dda456173c42586247420f413785b7ca26b9d02397fb970e005c386675a478fd07330d5b13683094f28ab SHA512 cd58b5a9771d35fc937306a3452e8776ef754bb5a4fa44aeedb735d8366a38b318c1bf14f105bf8003e4264c35f129224becdade32d2a7b61067ec5a705a1e7e diff --git a/games-util/antimicro/antimicro-2.23.ebuild b/games-util/antimicro/antimicro-2.23.ebuild deleted file mode 100644 index 965970f2d3b4..000000000000 --- a/games-util/antimicro/antimicro-2.23.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake xdg - -DESCRIPTION="Map keyboard and mouse buttons to gamepad buttons" -HOMEPAGE="https://github.com/AntiMicro/antimicro" -SRC_URI="https://github.com/AntiMicro/antimicro/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtwidgets:5 - media-libs/libsdl2[X,joystick] - x11-libs/libX11 - x11-libs/libXtst -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-qt/linguist-tools:5 - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}"/${P}-linking-errors.patch - "${FILESDIR}"/${PN}-2.23-no-compress-man-page.patch - "${FILESDIR}"/${PN}-2.23-SDL2-include.patch - "${FILESDIR}"/${PN}-2.23-gcc11-ptr-compare.patch -) - -src_prepare() { - xdg_environment_reset - cmake_src_prepare -} - -src_configure() { - # TODO: Currently does not build w/o X - # (!X would be: -DWITH_XTEST=OFF -DWITH_UINPUT=ON) - local mycmakeargs=( - -DUSE_QT5=ON - -DUSE_SDL_2=ON - -DWITH_X11=ON - -DWITH_XTEST=ON - -DWITH_UINPUT=OFF - ) - - cmake_src_configure -} diff --git a/games-util/antimicro/files/antimicro-2.23-SDL2-include.patch b/games-util/antimicro/files/antimicro-2.23-SDL2-include.patch deleted file mode 100644 index a71e9b4b862a..000000000000 --- a/games-util/antimicro/files/antimicro-2.23-SDL2-include.patch +++ /dev/null @@ -1,12 +0,0 @@ -https://bugs.gentoo.org/649242 -Thanks-to: Tim Barnes ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -585,6 +585,7 @@ - endif(WITH_XTEST) - - if(USE_SDL_2) -+ include_directories(${SDL2_INCLUDE_DIRS}) - list(APPEND LIBS ${SDL2_LIBRARIES}) - else() - list(APPEND LIBS ${SDL_LIBRARIES}) diff --git a/games-util/antimicro/files/antimicro-2.23-gcc11-ptr-compare.patch b/games-util/antimicro/files/antimicro-2.23-gcc11-ptr-compare.patch deleted file mode 100644 index 2ed157c1e84b..000000000000 --- a/games-util/antimicro/files/antimicro-2.23-gcc11-ptr-compare.patch +++ /dev/null @@ -1,12 +0,0 @@ -https://bugs.gentoo.org/791145 ---- a/src/mainwindow.cpp -+++ b/src/mainwindow.cpp -@@ -364,7 +364,7 @@ void MainWindow::makeJoystickTabs() - ui->tabWidget->addTab(tabwidget, joytabName); - } - -- if (joysticks > 0) -+ if (joysticks->size() > 0) - { - ui->tabWidget->setCurrentIndex(0); - ui->stackedWidget->setCurrentIndex(1); diff --git a/games-util/antimicro/files/antimicro-2.23-linking-errors.patch b/games-util/antimicro/files/antimicro-2.23-linking-errors.patch deleted file mode 100644 index e62a8353c6ca..000000000000 --- a/games-util/antimicro/files/antimicro-2.23-linking-errors.patch +++ /dev/null @@ -1,34 +0,0 @@ -From d5cfe429edb8c5f6f039153a0f646f2198c06b16 Mon Sep 17 00:00:00 2001 -From: Raphael Kubo da Costa -Date: Mon, 29 Jan 2018 12:19:55 +0100 -Subject: [PATCH] cmake: Stop calling QT5_WRAP_CPP(). - -The USE_QT5 code path already unconditionally sets CMAKE_AUTOMOC to on. - -Calling QT5_WRAP_CPP() used to be just redundant, as antimicro_HEADERS_MOC -was never actually added as a source dependency of the antimicro target. In -other words, CMake's own automoc infrastructure was actually being used and -the moc invocations from QT5_WRAP_CPP() were not being made at all. - -Starting with Qt 5.9.4, calling QT5_WRAP_CPP() disables the AUTOMOC property -on the macro's input files, which means neither CMake's automoc -infrastructure not QT5_WRAP_CPP()'s code were being used and we ended up -with several 'undefined reference to vtable' errors when linking. ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -499,7 +499,6 @@ if (UNIX) - find_package(Qt5Network REQUIRED) - find_package(Qt5LinguistTools REQUIRED) - -- QT5_WRAP_CPP(antimicro_HEADERS_MOC ${antimicro_HEADERS}) - QT5_WRAP_UI(antimicro_FORMS_HEADERS ${antimicro_FORMS}) - QT5_ADD_RESOURCES(antimicro_RESOURCES_RCC ${antimicro_RESOURCES}) - add_subdirectory("share/antimicro/translations") -@@ -550,7 +549,6 @@ elseif(WIN32) - find_package(Qt5Network REQUIRED) - find_package(Qt5LinguistTools REQUIRED) - -- QT5_WRAP_CPP(antimicro_HEADERS_MOC ${antimicro_HEADERS}) - QT5_WRAP_UI(antimicro_FORMS_HEADERS ${antimicro_FORMS}) - QT5_ADD_RESOURCES(antimicro_RESOURCES_RCC ${antimicro_RESOURCES}) - add_subdirectory("share/antimicro/translations") diff --git a/games-util/antimicro/files/antimicro-2.23-no-compress-man-page.patch b/games-util/antimicro/files/antimicro-2.23-no-compress-man-page.patch deleted file mode 100644 index 7eebc42393f1..000000000000 --- a/games-util/antimicro/files/antimicro-2.23-no-compress-man-page.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/other/CMakeLists.txt -+++ b/other/CMakeLists.txt -@@ -1,7 +1,3 @@ - add_subdirectory(appdata) - --add_custom_target(manpage) --add_custom_command(TARGET manpage PRE_BUILD -- COMMAND gzip -c "${PROJECT_SOURCE_DIR}/other/antimicro.1" > "antimicro.1.gz" VERBATIM --) --install(FILES "${CMAKE_CURRENT_BINARY_DIR}/antimicro.1.gz" DESTINATION "share/man/man1") -+install(FILES "${PROJECT_SOURCE_DIR}/other/antimicro.1" DESTINATION "share/man/man1") diff --git a/games-util/antimicro/metadata.xml b/games-util/antimicro/metadata.xml deleted file mode 100644 index cc04e18f5870..000000000000 --- a/games-util/antimicro/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - games@gentoo.org - Gentoo Games Project - - - Ryochan7/antimicro - - diff --git a/profiles/package.mask b/profiles/package.mask index cf7012a7b069..8968633e6387 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -190,7 +190,7 @@ dev-build/cmake-fedora # Remaining old EAPI-7 based cmake.eclass consumers after 4 years of # tracking EAPI-7 removal. Port to EAPI-8 if you can. # Bugs #957246, #957403, #957788, #957819, #957869, #957918, #958068, -# #958317, #958353, #958596, #958651, #960286 +# #958317, #958596, #958651, #960286 # Removal on 2025-11-01. dev-games/newton games-action/lugaru @@ -204,7 +204,6 @@ games-puzzle/meandmyshadow games-server/pvpgn games-strategy/freesynd games-strategy/maxr -games-util/antimicro # Sam James (2025-09-21) # Breaks (common) mt7921e WiFi driver with a hang in many cases, affecting