summaryrefslogtreecommitdiff
path: root/games-util
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-08 01:47:45 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-08 01:47:45 +0000
commit80e87db4d9ed551615eb2d0309bf370e79500716 (patch)
tree01101a9019196096c237c1c2cbdb02f709c05680 /games-util
parentf0582d2144b45247a9a3e72569c44ca9539c0f4a (diff)
gentoo auto-resync : 08:03:2025 - 01:47:44
Diffstat (limited to 'games-util')
-rw-r--r--games-util/Manifest.gzbin7890 -> 7890 bytes
-rw-r--r--games-util/sc-controller/Manifest4
-rw-r--r--games-util/sc-controller/files/sc-controller-0.4.8.17-log-warning.patch109
-rw-r--r--games-util/sc-controller/files/sc-controller-0.4.8.17-tray-icon.patch60
-rw-r--r--games-util/sc-controller/sc-controller-0.4.8.17.ebuild60
-rw-r--r--games-util/vispatch/Manifest4
-rw-r--r--games-util/vispatch/vispatch-1.4.7.ebuild (renamed from games-util/vispatch/vispatch-1.4.6.ebuild)22
7 files changed, 11 insertions, 248 deletions
diff --git a/games-util/Manifest.gz b/games-util/Manifest.gz
index 9b9cbfb7bd52..59b1f9f130d3 100644
--- a/games-util/Manifest.gz
+++ b/games-util/Manifest.gz
Binary files differ
diff --git a/games-util/sc-controller/Manifest b/games-util/sc-controller/Manifest
index 81394a007dba..e48a4a45c8fe 100644
--- a/games-util/sc-controller/Manifest
+++ b/games-util/sc-controller/Manifest
@@ -1,7 +1,3 @@
-AUX sc-controller-0.4.8.17-log-warning.patch 3959 BLAKE2B 57dec098c7803d70f218bdb31ba01b8c63fcea19432dc1fc4bf5c18e5e57f6ba1d5b3845189f57c66a49c8483ad99b919e99d407e19986fb673d30831b7f8d34 SHA512 4a1fd08a643ecba8309babd37d6c37e022837a4b7439e38427911dcf8e6455819923cc11dd29240e4dba3b123d4b8a3339526be5804e15347c2cbe6348744216
-AUX sc-controller-0.4.8.17-tray-icon.patch 2184 BLAKE2B be057195ea626ba941d4dbc9ca5fc9847ac778e96730771768f0f26bec5b3d690a6adac065ea627acac0421be2ad946e838cea9face78e2411556f412dc7ef14 SHA512 56b72b2ec6518ba52a4509a12971c4af0221112b5c8582205d4806a44ae8f4363ddd33482e660f9ba1653555ac9bf23b2d27463ad667239581b002d0c2367d47
-DIST sc-controller-0.4.8.17.tar.gz 1843813 BLAKE2B 77925152086d516be2b67eee70c36fad7fc6ccfb829196cf433331cce7a5ac43e22a466a7929c2ba2504fcb8ac73a62458be9be77162e138e4abad238e9cf2c1 SHA512 5121a802a719357027e1e850250182b2ace77966938f4add6f2f4a5b91fa768e2ef9064c8bb087c2df0979f34f68b5054e3d8d359ceff71f7ecadc3a51f92dae
DIST sc-controller-0.4.8.21.tar.gz 1846682 BLAKE2B 83892aa73ca2b729b205455b2c094f57538487976f8744170e381ff49f9e7e2d23b274b3b43c887ee8b945793cb6a9e9d0ab03778d47d732d35b8599f65e58ac SHA512 874a180cdac3a0f6a592e507abda572e69dcc4061874512292de2c4f9db0f5739a370d43de4f11031f5c02ff4e1f11237a4720f890a1ae8220940a2d5e03d0a1
-EBUILD sc-controller-0.4.8.17.ebuild 1462 BLAKE2B b50d9f9239ebc60b9035503a5cbd7de1f9c1a7172a28aa35ca14f0b944ac539453e6674a8368ca907ba1a3e55ad62529702087736a15c4e9f953cb2cff3170bb SHA512 52e81b29996e8022b3d9233ae69a6c8c0a0d53f418e66a0ed012115d32800bed2e0c966019e27f5273f92674e714e476ee4a9c522551475fbdd09ed345696579
EBUILD sc-controller-0.4.8.21.ebuild 1382 BLAKE2B 7cbb4678954076216264dee2a7d85490de6bb7223f13dea431e447bfe81546e0412f1aa14c824da264948ccb2e458f52a61ba7ee86d257bc0afcb972c9e7a67e SHA512 a3eab86d142d8c653b566ce3f57f1ff977731e3abcadba468f23cffc38189242796cc00aea75d6b34ef5feffd6bae9c573353767923d9168802d57cca0b53995
MISC metadata.xml 409 BLAKE2B 4e8c6c1cadcd9a67ec61a7944639e698fcd1207a6650a6134f07cf3ec0a3224f8d22895c1bc01600057b764d2faa77cd924261b3fddc7d43d25f435b27e497a3 SHA512 88f2774a6453bb9afe2e2efcc20961e1994ed60dd95c0d68357574f4933590056f9b4469b134bcc3b7c51f2b5aa19e82118987893a04e021bdacc52160aefffd
diff --git a/games-util/sc-controller/files/sc-controller-0.4.8.17-log-warning.patch b/games-util/sc-controller/files/sc-controller-0.4.8.17-log-warning.patch
deleted file mode 100644
index 124a6df427d5..000000000000
--- a/games-util/sc-controller/files/sc-controller-0.4.8.17-log-warning.patch
+++ /dev/null
@@ -1,109 +0,0 @@
-From 5c6b850f4ffe45427492d8b28bbf42b4ee5dd3e0 Mon Sep 17 00:00:00 2001
-From: James Le Cuirot <chewi@gentoo.org>
-Date: Thu, 15 Aug 2024 21:25:42 +0100
-Subject: [PATCH] logging.warn was dropped in favour of logging.warning in
- Python 3.13
-
-We already using logging.warning in many places.
----
- scc/actions.py | 12 ++++++------
- scc/gui/app.py | 2 +-
- scc/sccdaemon.py | 4 ++--
- 3 files changed, 9 insertions(+), 9 deletions(-)
-
-diff --git a/scc/actions.py b/scc/actions.py
-index ae43db4b..4f4f5848 100644
---- a/scc/actions.py
-+++ b/scc/actions.py
-@@ -256,7 +256,7 @@ class Action(object):
- Called when action is executed by pressing physical gamepad button.
- 'button_release' will be called later.
- """
-- log.warn("Action %s can't handle button press event", self.__class__.__name__)
-+ log.warning("Action %s can't handle button press event", self.__class__.__name__)
-
-
- def button_release(self, mapper):
-@@ -264,7 +264,7 @@ class Action(object):
- Called when action executed by pressing physical gamepad button is
- expected to stop.
- """
-- log.warn("Action %s can't handle button release event", self.__class__.__name__)
-+ log.warning("Action %s can't handle button release event", self.__class__.__name__)
-
-
- def axis(self, mapper, position, what):
-@@ -276,7 +276,7 @@ class Action(object):
- 'what' is one of LEFT, RIGHT or STICK (from scc.constants),
- describing what is being updated
- """
-- log.warn("Action %s can't handle axis event", self.__class__.__name__)
-+ log.warning("Action %s can't handle axis event", self.__class__.__name__)
-
-
- def pad(self, mapper, position, what):
-@@ -310,7 +310,7 @@ class Action(object):
- 'what' is one of LEFT, RIGHT, STICK (from scc.constants), describing what is
- being updated
- """
-- log.warn("Action %s can't handle whole stick event", self.__class__.__name__)
-+ log.warning("Action %s can't handle whole stick event", self.__class__.__name__)
-
-
- def whole_blocked(self, mapper, x, y, what):
-@@ -337,7 +337,7 @@ class Action(object):
-
- 'what' can be None.
- """
-- log.warn("Action %s can't handle incremental changes", self.__class__.__name__)
-+ log.warning("Action %s can't handle incremental changes", self.__class__.__name__)
-
-
- def cancel(self, mapper):
-@@ -397,7 +397,7 @@ class Action(object):
- 'position' contains current trigger position.
- 'old_position' contains last known trigger position.
- """
-- log.warn("Action %s can't handle trigger event", self.__class__.__name__)
-+ log.warning("Action %s can't handle trigger event", self.__class__.__name__)
-
-
- class RangeOP(object):
-diff --git a/scc/gui/app.py b/scc/gui/app.py
-index fc6110f0..a537f831 100644
---- a/scc/gui/app.py
-+++ b/scc/gui/app.py
-@@ -633,7 +633,7 @@ class App(Gtk.Application, UserDataManager, BindingEditor):
-
-
- def on_unknown_profile(self, ps, name):
-- log.warn("Daemon reported unknown profile: '%s'; Overriding.", name)
-+ log.warning("Daemon reported unknown profile: '%s'; Overriding.", name)
- if self.current_file is not None and ps.get_controller() is not None:
- ps.get_controller().set_profile(self.current_file.get_path())
-
-diff --git a/scc/sccdaemon.py b/scc/sccdaemon.py
-index cc140222..4a99b333 100644
---- a/scc/sccdaemon.py
-+++ b/scc/sccdaemon.py
-@@ -90,7 +90,7 @@ class SCCDaemon(Daemon):
- if hasattr(mod, "init"):
- to_init.append(mod)
- else:
-- log.warn("Skipping disabled driver '%s'", modname)
-+ log.warning("Skipping disabled driver '%s'", modname)
-
- from scc.drivers import MOD_INIT_ORDER as order
- index_fn = lambda n: order.index(n) if n in order else 1024
-@@ -500,7 +500,7 @@ class SCCDaemon(Daemon):
- d.float()
- except OSError as e:
- # Most likely 'xinput' executable not found
-- log.warn("Failed to deatach gamepad from xinput master: %s", e)
-+ log.warning("Failed to deatach gamepad from xinput master: %s", e)
-
-
- def load_default_profile(self, mapper=None):
---
-2.45.2
-
diff --git a/games-util/sc-controller/files/sc-controller-0.4.8.17-tray-icon.patch b/games-util/sc-controller/files/sc-controller-0.4.8.17-tray-icon.patch
deleted file mode 100644
index 575ec67eb9d2..000000000000
--- a/games-util/sc-controller/files/sc-controller-0.4.8.17-tray-icon.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From 828a4fa17a6cc1df1a149411c3f3ede52ec5a199 Mon Sep 17 00:00:00 2001
-From: angrylinuxuser <angrylinuxuser@gmail.com>
-Date: Sun, 23 Jun 2024 18:24:43 +0200
-Subject: [PATCH] Fix tray icon not showing up
-
----
- scc/gui/statusicon.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/scc/gui/statusicon.py b/scc/gui/statusicon.py
-index f5257270..713c56ba 100644
---- a/scc/gui/statusicon.py
-+++ b/scc/gui/statusicon.py
-@@ -350,8 +350,8 @@ def _load_fallback(self):
- for StatusIconBackend in status_icon_backends:
- try:
- self._status_fb = StatusIconBackend(*self._arguments[0], **self._arguments[1])
-- self._status_fb.connect(b"clicked", self._on_click)
-- self._status_fb.connect(b"notify::active", self._on_notify_active_fb)
-+ self._status_fb.connect("clicked", self._on_click)
-+ self._status_fb.connect("notify::active", self._on_notify_active_fb)
- self._on_notify_active_fb()
-
- log.warning("StatusIcon: Using backend %s (fallback)" % StatusIconBackend.__name__)
-
-From a9ebf39749e885114bfec8a3b0ec6b9e62d213c7 Mon Sep 17 00:00:00 2001
-From: James Le Cuirot <chewi@gentoo.org>
-Date: Thu, 15 Aug 2024 21:13:26 +0100
-Subject: [PATCH] Support libayatana-appindicator as libappindicator is now
- dead
-
-It seems to be a drop-in replacement.
----
- scc/gui/statusicon.py | 10 ++++++++--
- 1 file changed, 8 insertions(+), 2 deletions(-)
-
-diff --git a/scc/gui/statusicon.py b/scc/gui/statusicon.py
-index f5257270..317b1aa3 100644
---- a/scc/gui/statusicon.py
-+++ b/scc/gui/statusicon.py
-@@ -263,8 +263,14 @@ class StatusIconAppIndicator(StatusIconDBus):
- StatusIcon.__init__(self, *args, **kwargs)
-
- try:
-- from gi.repository import AppIndicator3 as appindicator
--
-+ import gi
-+ try:
-+ gi.require_version("AyatanaAppIndicator3", "0.1")
-+ from gi.repository import AyatanaAppIndicator3 as appindicator
-+ except ImportError:
-+ gi.require_version("AppIndicator3", "0.1")
-+ from gi.repository import AppIndicator3 as appindicator
-+
- self._status_active = appindicator.IndicatorStatus.ACTIVE
- self._status_passive = appindicator.IndicatorStatus.PASSIVE
- except ImportError:
---
-2.45.2
-
diff --git a/games-util/sc-controller/sc-controller-0.4.8.17.ebuild b/games-util/sc-controller/sc-controller-0.4.8.17.ebuild
deleted file mode 100644
index e61c2e6455f9..000000000000
--- a/games-util/sc-controller/sc-controller-0.4.8.17.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
-inherit distutils-r1 linux-info xdg
-
-DESCRIPTION="User-mode driver and GTK-based GUI for Steam Controllers and others"
-HOMEPAGE="https://github.com/C0rn3j/sc-controller/"
-SRC_URI="https://github.com/C0rn3j/sc-controller/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2 BSD CC-BY-3.0 CC0-1.0 LGPL-2.1 MIT PSF-2 ZLIB"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+trayicon +udev wayland"
-
-RDEPEND="
- $(python_gen_cond_dep '
- dev-python/evdev[${PYTHON_USEDEP}]
- dev-python/pygobject[${PYTHON_USEDEP},cairo]
- dev-python/pylibacl[${PYTHON_USEDEP}]
- dev-python/vdf[${PYTHON_USEDEP}]
- ')
- gnome-base/librsvg[introspection]
- virtual/libusb
- x11-libs/gtk+:3[introspection]
- trayicon? ( dev-libs/libayatana-appindicator )
- udev? ( games-util/game-device-udev-rules )
- wayland? ( gui-libs/gtk-layer-shell[introspection(+)] )
-"
-
-distutils_enable_tests pytest
-
-PATCHES=(
- "${FILESDIR}"/${P}-tray-icon.patch
- "${FILESDIR}"/${P}-log-warning.patch
-)
-
-pkg_setup() {
- local CONFIG_CHECK="~INPUT_UINPUT"
-
- linux-info_pkg_setup
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- default
-
- # This test fails. Don't know why but seems unimportant.
- rm -v tests/test_glade.py || die
-}
-
-src_install() {
- distutils-r1_src_install
- rm -r "${ED}"/usr/lib/udev/ || die
-}
diff --git a/games-util/vispatch/Manifest b/games-util/vispatch/Manifest
index b636abadf25d..a5123bcff01a 100644
--- a/games-util/vispatch/Manifest
+++ b/games-util/vispatch/Manifest
@@ -1,3 +1,3 @@
-DIST vispatch-1.4.6.tgz 227850 BLAKE2B 5d403807d4c276e555c15da2e808fa408a54b766ac3db27f4159676689ebcfd8fedf4c43a3d8a7d39d80c29c20588d1805476ea61f4e88322b3d27f3e103b6ae SHA512 0034660c1ba238360cc5b71e846d2117f76af2340fcee2a0a25b42d1e200ec7231796b45d89335bf7e303379d9f5c03f4f0a9b22a1a54da356ac9a41b24abcc1
-EBUILD vispatch-1.4.6.ebuild 527 BLAKE2B 5e9fce6599bb855095721a5b64bb1f8b8c106c5497cc122923cca43409af597091dc333837db566225a68341a8c1417b585cf525b514b2da03e745994873626e SHA512 de4b2638ae137e844221834a9e538fd27658a62638fa5ce44d6587a3571b5db2ef4fb2fa52685d4c7870874b750f491738e857c915a48e661a7971f0942d2ec0
+DIST vispatch-1.4.7.tgz 132222 BLAKE2B 9a8e0fc74a50ebda653b39eb23ad31c9f113238f1de8cce85626c0261d498855c24f8a9b7906966d642c95205af22664b6a08c077c8fe2a30394c456205f9f82 SHA512 572eb13cbf2c984c98b80abb98606b87ee1b45eac81d8077cb9d26968911f56be4b0fb9a744710532f955f3515ac929a05151c42e72fd7e9bae50052c57fae2d
+EBUILD vispatch-1.4.7.ebuild 519 BLAKE2B 00056166eae58c2a59f251a50c057b835f6cff7479d9884ef125e173e8377d88659d269f0acee62217c2b88bdd8e37556a0082529cb71cb82d3a9360c4f310b5 SHA512 e4bd5fa2602545e889a54e75aac14902a21b0859c6cca99231bc0c99a7faec3b02b21563dd3d759691185e15d50c3ca353bd13081b711831e4d3c6be603f3323
MISC metadata.xml 332 BLAKE2B 4dbcb9cb3937dfd2c40f94e6933cd88f74c7a2bbc8a11d4196216a5287d31c5f5ade90008f30580aef04e4c8540a18a202a9f92e3545c96595f09db11ab694ae SHA512 90efc7e2e8bc06e772567bc60a537413b5cdae9fd1e41dff8d438cb34141e0168142cb971afac3d133c81f43fdd43908964979a47e0ea739484111768824d446
diff --git a/games-util/vispatch/vispatch-1.4.6.ebuild b/games-util/vispatch/vispatch-1.4.7.ebuild
index 0f128275d89c..fec01c71f88f 100644
--- a/games-util/vispatch/vispatch-1.4.6.ebuild
+++ b/games-util/vispatch/vispatch-1.4.7.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit toolchain-funcs
-DESCRIPTION="WaterVIS utility for glquake"
+DESCRIPTION="WaterVIS utility for GLQuake"
HOMEPAGE="https://vispatch.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/vispatch/${P}.tgz"
S="${WORKDIR}"/${P}/source
@@ -14,18 +14,14 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-src_prepare() {
- default
-
- sed -i \
- -e '/^CFLAGS/d' \
- -e '/^LDFLAGS/d' \
- makefile || die
-
- tc-export CC
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ OPTIMIZATIONS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
}
src_install() {
dobin ${PN}
- dodoc ${PN}.txt
+ dodoc ../${PN}.txt
}