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@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2025-05-30 18:44:17 +02:00
parent cb8c5152e5
commit 87f899fc6d
12 changed files with 0 additions and 321 deletions

View File

@@ -262,14 +262,6 @@ acct-group/taskd
acct-user/taskd
app-misc/taskd
# Andreas Sturmlechner <asturm@gentoo.org> (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 <kangie@gentoo.org> (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.

View File

@@ -1 +0,0 @@
DIST radeon-profile-daemon-20190603.tar.gz 12232 BLAKE2B 3ff02f76178c2a30c8f094a2589aaed7d9e2c8ecc4cd0c8d3b6be1e38dddad39bbb4996ef9b7f87ef999890fbdade6ba3c6bcc39de6ae84bf1c224152a8249f1 SHA512 1c58008400f5acc5bd39353c6e2c109adecc4eb2b5d7976ce240d372cc60996ee93ce50630292ce85b9a1ae92d82e6cce49fd0ccb28f574bc668d212c50a54ab

View File

@@ -1,33 +0,0 @@
From 8aad288652cb7dc9c60eadd85d945ac43a712663 Mon Sep 17 00:00:00 2001
From: Lars Wendler <polynomial-c@gentoo.org>
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 <polynomial-c@gentoo.org>
---
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

View File

@@ -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}
}

View File

@@ -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>

View File

@@ -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}"
}

View File

@@ -1 +0,0 @@
DIST radeon-profile-20200824.tar.gz 395416 BLAKE2B 0f1b9ac59c1e5da97cc0446d32f1fab6435d9049a5dc362d5896849e580382ede745e1759aef3ba659dec0f8f2ae12bb68f0f65313d24f9e3f4cdfa6f7d4887e SHA512 e3e9cf9aa46f81772406f7dc18a3768777b9f2ccdcda18094862183b31857099bf22e2a8b548ade5dedd04a38c8eab7a31127db3b7726adc901c7123a47f81de

View File

@@ -1,30 +0,0 @@
From 576d03da0e33cdc31535cd724daaf1cdde3ac902 Mon Sep 17 00:00:00 2001
From: Lars Wendler <polynomial-c@gentoo.org>
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 <polynomial-c@gentoo.org>
---
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

View File

@@ -1,33 +0,0 @@
From a98da7fd620a9b102a74affe16c0c0daccb97fc4 Mon Sep 17 00:00:00 2001
From: Haakon Drews <fawz@negentropy.io>
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 <polynomial-c@gentoo.org>
---
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

View File

@@ -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>

View File

@@ -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."
}

View File

@@ -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."
}