commit: 87f899fc6d135640cee302d835e5de2bd132aabf Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Fri May 30 16:44:17 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Fri May 30 21:10:20 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87f899fc
x11-apps/radeon-profile*: treeclean Closes: https://bugs.gentoo.org/951484 (pkgremoved) Closes: https://bugs.gentoo.org/954360 (pkgremoved) Closes: https://bugs.gentoo.org/752198 (pkgremoved) Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> profiles/package.mask | 8 --- x11-apps/radeon-profile-daemon/Manifest | 1 - ...radeon-profile-daemon-20190603-run_subdir.patch | 33 ------------ .../files/radeon-profile-daemon.initd-r2 | 15 ------ x11-apps/radeon-profile-daemon/metadata.xml | 8 --- .../radeon-profile-daemon-20190603-r1.ebuild | 59 -------------------- x11-apps/radeon-profile/Manifest | 1 - .../files/radeon-profile-20200504-run_subdir.patch | 30 ----------- .../files/radeon-profile-20200824-segfault.patch | 33 ------------ x11-apps/radeon-profile/metadata.xml | 8 --- .../radeon-profile-20200824-r1.ebuild | 63 ---------------------- .../radeon-profile/radeon-profile-99999999.ebuild | 62 --------------------- 12 files changed, 321 deletions(-) diff --git a/profiles/package.mask b/profiles/package.mask index 1015738368f1..e2d4fdd15750 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -262,14 +262,6 @@ acct-group/taskd acct-user/taskd app-misc/taskd -# Andreas Sturmlechner <[email protected]> (2025-05-01) -# Unmaintained in Gentoo for almost 3 years, no commit upstream in 5 years -# and depends on Qt5. Whoever wants to keep this in ::gentoo must sort out -# the upstream/new-upstream situation and become a permanent maintainer. -# Bugs #951484, #954360, #752198; removal on 2025-05-31 -x11-apps/radeon-profile -x11-apps/radeon-profile-daemon - # Matt Jolly <[email protected]> (2025-04-28) # Unmaintained in Gentoo, depends on masked x11-wm/fvwm, # SRC_URI uses mirror://gentoo and the files don't exist on mirrors. diff --git a/x11-apps/radeon-profile-daemon/Manifest b/x11-apps/radeon-profile-daemon/Manifest deleted file mode 100644 index 9a1f922d02f7..000000000000 --- a/x11-apps/radeon-profile-daemon/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST radeon-profile-daemon-20190603.tar.gz 12232 BLAKE2B 3ff02f76178c2a30c8f094a2589aaed7d9e2c8ecc4cd0c8d3b6be1e38dddad39bbb4996ef9b7f87ef999890fbdade6ba3c6bcc39de6ae84bf1c224152a8249f1 SHA512 1c58008400f5acc5bd39353c6e2c109adecc4eb2b5d7976ce240d372cc60996ee93ce50630292ce85b9a1ae92d82e6cce49fd0ccb28f574bc668d212c50a54ab diff --git a/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon-20190603-run_subdir.patch b/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon-20190603-run_subdir.patch deleted file mode 100644 index 24bc134fdf92..000000000000 --- a/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon-20190603-run_subdir.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 8aad288652cb7dc9c60eadd85d945ac43a712663 Mon Sep 17 00:00:00 2001 -From: Lars Wendler <[email protected]> -Date: Wed, 8 Jul 2020 16:08:24 +0200 -Subject: [PATCH] Move radeon-profile-daemon-server socket file into its own - subdir under /run - -The rationale here is that QT has no methods to run chown on some -files but we do not want the socket being world readable. So instead of -writing lenghty C++-code using chown, we simply move the socket file into a -subdir which we can put our preferred permissions on during startup of the -daemon. - -Signed-off-by: Lars Wendler <[email protected]> ---- - radeon-profile-daemon/rpdthread.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/radeon-profile-daemon/rpdthread.h b/radeon-profile-daemon/rpdthread.h -index 280fada..f05d031 100644 ---- a/radeon-profile-daemon/rpdthread.h -+++ b/radeon-profile-daemon/rpdthread.h -@@ -31,7 +31,7 @@ - #define SIGNAL_ALIVE '7' - - const QString appVersion = "20190603"; --const QString serverSocketPath = "/run/radeon-profile-daemon-server"; -+const QString serverSocketPath = "/run/radeon-profile-daemon/radeon-profile-daemon-server"; - - class rpdThread : public QThread - { --- -2.27.0 - diff --git a/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd-r2 b/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd-r2 deleted file mode 100644 index 28ed19d4e846..000000000000 --- a/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd-r2 +++ /dev/null @@ -1,15 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -description="Daemon for radeon-profile GUI" - -command="/usr/sbin/radeon-profile-daemon" -command_background="true" -pidfile="/run/${SVCNAME}/${SVCNAME}.pid" - -radeon_socket="/run/${SVCNAME}/${SVCNAME}-server" - -start_pre() { - checkpath -q -d -o root:video -m 0750 /run/${SVCNAME} -} diff --git a/x11-apps/radeon-profile-daemon/metadata.xml b/x11-apps/radeon-profile-daemon/metadata.xml deleted file mode 100644 index ca38506de600..000000000000 --- a/x11-apps/radeon-profile-daemon/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="github">marazmista/radeon-profile-daemon</remote-id> - </upstream> -</pkgmetadata> diff --git a/x11-apps/radeon-profile-daemon/radeon-profile-daemon-20190603-r1.ebuild b/x11-apps/radeon-profile-daemon/radeon-profile-daemon-20190603-r1.ebuild deleted file mode 100644 index b50463902a78..000000000000 --- a/x11-apps/radeon-profile-daemon/radeon-profile-daemon-20190603-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit qmake-utils systemd - -DESCRIPTION="Daemon for radeon-profile GUI" -HOMEPAGE="https://github.com/marazmista/radeon-profile-daemon" -if [[ "${PV}" == 99999999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/marazmista/radeon-profile-daemon.git" -else - SRC_URI="https://github.com/marazmista/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi -S="${WORKDIR}/${P}/${PN}" - -LICENSE="GPL-2" -SLOT="0" - -RDEPEND=" - !<x11-apps/radeon-profile-20200504-r1 - dev-qt/qtcore:5 - dev-qt/qtnetwork:5 -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-20190603-run_subdir.patch" -) - -src_prepare() { - eapply -p2 "${PATCHES[@]}" - eapply_user - - sed \ - -e '/^bin\.path/s@/bin@/sbin@' \ - -e "/^service\.path/s@=.*\$@= $(systemd_get_systemunitdir)@" \ - -i radeon-profile-daemon.pro || die - sed \ - -e '/^ExecStart/s@/bin/@/sbin/@' \ - -i extra/${PN}.service || die -} - -src_configure() { - eqmake5 -} - -src_install() { - emake INSTALL_ROOT="${D}" install - - newinitd "${FILESDIR}"/${PN}.initd-r2 ${PN} -} - -pkg_postinst() { - elog "Users need to be in the \"video\" group if they want to change" - elog "video card settings via ${PN}" -} diff --git a/x11-apps/radeon-profile/Manifest b/x11-apps/radeon-profile/Manifest deleted file mode 100644 index 46e512d14a68..000000000000 --- a/x11-apps/radeon-profile/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST radeon-profile-20200824.tar.gz 395416 BLAKE2B 0f1b9ac59c1e5da97cc0446d32f1fab6435d9049a5dc362d5896849e580382ede745e1759aef3ba659dec0f8f2ae12bb68f0f65313d24f9e3f4cdfa6f7d4887e SHA512 e3e9cf9aa46f81772406f7dc18a3768777b9f2ccdcda18094862183b31857099bf22e2a8b548ade5dedd04a38c8eab7a31127db3b7726adc901c7123a47f81de diff --git a/x11-apps/radeon-profile/files/radeon-profile-20200504-run_subdir.patch b/x11-apps/radeon-profile/files/radeon-profile-20200504-run_subdir.patch deleted file mode 100644 index 052a143e793f..000000000000 --- a/x11-apps/radeon-profile/files/radeon-profile-20200504-run_subdir.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 576d03da0e33cdc31535cd724daaf1cdde3ac902 Mon Sep 17 00:00:00 2001 -From: Lars Wendler <[email protected]> -Date: Wed, 8 Jul 2020 16:33:38 +0200 -Subject: [PATCH] Read radeon-profile-daemon-server socket from - /run/radeon-profile-daemon/ - -Gentoo has moved the radeon-profile-daemon-server socket file into that -subdir in order to provide secure access permissions. - -Signed-off-by: Lars Wendler <[email protected]> ---- - radeon-profile/daemonComm.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/radeon-profile/daemonComm.cpp b/radeon-profile/daemonComm.cpp -index 21ec38f..dff00a0 100644 ---- a/radeon-profile/daemonComm.cpp -+++ b/radeon-profile/daemonComm.cpp -@@ -34,7 +34,7 @@ void DaemonComm::sendConnectionConfirmation() { - void DaemonComm::connectToDaemon() { - qDebug() << "Connecting to daemon..."; - signalSender->abort(); -- signalSender->connectToServer("/run/radeon-profile-daemon-server"); -+ signalSender->connectToServer("/run/radeon-profile-daemon/radeon-profile-daemon-server"); - } - - void DaemonComm::disconnectDaemon() { --- -2.27.0 - diff --git a/x11-apps/radeon-profile/files/radeon-profile-20200824-segfault.patch b/x11-apps/radeon-profile/files/radeon-profile-20200824-segfault.patch deleted file mode 100644 index 141dd46d8f79..000000000000 --- a/x11-apps/radeon-profile/files/radeon-profile-20200824-segfault.patch +++ /dev/null @@ -1,33 +0,0 @@ -From a98da7fd620a9b102a74affe16c0c0daccb97fc4 Mon Sep 17 00:00:00 2001 -From: Haakon Drews <[email protected]> -Date: Mon, 4 Jan 2021 02:21:17 +0100 -Subject: [PATCH] Fix segfault when running as regular user - -Bug: https://github.com/marazmista/radeon-profile/issues/244 -Signed-off-by: Lars Wendler <[email protected]> ---- - radeon-profile/gpu.cpp | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -diff --git a/radeon-profile/gpu.cpp b/radeon-profile/gpu.cpp -index ccd99d3..f5e32a3 100644 ---- a/radeon-profile/gpu.cpp -+++ b/radeon-profile/gpu.cpp -@@ -69,7 +69,13 @@ void gpu::detectCards() { - - int pciIdx = ueventContents.indexOf(QRegExp("PCI_SLOT_NAME.+")); - if (pciIdx != -1) -- gsi.name = globalStuff::grabSystemInfo("lspci -s " + ueventContents[pciIdx].split('=')[1])[0].split(':')[2].trimmed(); -+ { -+ auto input = globalStuff::grabSystemInfo("lspci -s " + ueventContents[pciIdx].split('=')[1]); -+ if(input.size() < 3) -+ gsi.name = "UNKNOWN"; -+ else -+ gsi.name = input[0].split(':')[2].trimmed(); -+ } - - gpuList.append(gsi); - --- -2.30.0 - diff --git a/x11-apps/radeon-profile/metadata.xml b/x11-apps/radeon-profile/metadata.xml deleted file mode 100644 index f2ed2dcbb898..000000000000 --- a/x11-apps/radeon-profile/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="github">marazmista/radeon-profile</remote-id> - </upstream> -</pkgmetadata> diff --git a/x11-apps/radeon-profile/radeon-profile-20200824-r1.ebuild b/x11-apps/radeon-profile/radeon-profile-20200824-r1.ebuild deleted file mode 100644 index b8ad38d11f4c..000000000000 --- a/x11-apps/radeon-profile/radeon-profile-20200824-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit qmake-utils - -DESCRIPTION="Read current clocks of ATi/AMD Radeon cards" -HOMEPAGE="https://github.com/marazmista/radeon-profile" -if [[ "${PV}" == 99999999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/marazmista/radeon-profile.git" -else - SRC_URI="https://github.com/marazmista/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi -S="${WORKDIR}/${P}/${PN}" - -LICENSE="GPL-2" -SLOT="0" - -RDEPEND=" - !<x11-apps/radeon-profile-daemon-20190603-r1 - dev-qt/qtcharts:5 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtwidgets:5 - x11-libs/libX11 - x11-libs/libXrandr -" - -DEPEND=" - ${RDEPEND} - dev-qt/qtconcurrent:5 - media-libs/mesa[X(+)] - x11-libs/libdrm -" - -PATCHES=( - "${FILESDIR}/${PN}-20200504-run_subdir.patch" - "${FILESDIR}/${PN}-20200824-segfault.patch" -) - -src_prepare() { - eapply -p2 "${PATCHES[@]}" - eapply_user - sed 's@TrayIcon;@@' -i extra/${PN}.desktop || die -} - -src_configure() { - eqmake5 -} - -src_install() { - emake INSTALL_ROOT="${D}" install -} - -pkg_postinst() { - elog "In order to run ${PN} as non-root user, the" - elog " x11-apps/radeon-profile-daemon" - elog "package needs to be installed and the daemon must run." -} diff --git a/x11-apps/radeon-profile/radeon-profile-99999999.ebuild b/x11-apps/radeon-profile/radeon-profile-99999999.ebuild deleted file mode 100644 index e4528ce6ecb8..000000000000 --- a/x11-apps/radeon-profile/radeon-profile-99999999.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit qmake-utils - -DESCRIPTION="Read current clocks of ATi/AMD Radeon cards" -HOMEPAGE="https://github.com/marazmista/radeon-profile" -if [[ "${PV}" == 99999999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/marazmista/radeon-profile.git" -else - SRC_URI="https://github.com/marazmista/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi -S="${WORKDIR}/${P}/${PN}" - -LICENSE="GPL-2" -SLOT="0" - -RDEPEND=" - !<x11-apps/radeon-profile-daemon-20190603-r1 - dev-qt/qtcharts:5 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtwidgets:5 - x11-libs/libX11 - x11-libs/libXrandr -" - -DEPEND=" - ${RDEPEND} - dev-qt/qtconcurrent:5 - media-libs/mesa[X(+)] - x11-libs/libdrm -" - -PATCHES=( - "${FILESDIR}/${PN}-20200504-run_subdir.patch" -) - -src_prepare() { - eapply -p2 "${PATCHES[@]}" - eapply_user - sed 's@TrayIcon;@@' -i extra/${PN}.desktop || die -} - -src_configure() { - eqmake5 -} - -src_install() { - emake INSTALL_ROOT="${D}" install -} - -pkg_postinst() { - elog "In order to run ${PN} as non-root user, the" - elog " x11-apps/radeon-profile-daemon" - elog "package needs to be installed and the daemon must run." -}
