Skip to content

Commit 56ed147

Browse files
authored
Merge pull request #36 from Project-Ro-ASD/fix/release-rpm-artifact-targets
Fix/release rpm artifact targets
2 parents a829987 + d525108 commit 56ed147

14 files changed

Lines changed: 71 additions & 62 deletions

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [Unreleased]
1111

12+
## [0.2.1] - 2026-03-30
13+
14+
### Changed
15+
- GitHub Releases now publish only `x86_64`, `aarch64`, `noarch`, and `src` RPM outputs
16+
- Shared desktop assets and metadata now ship in a dedicated `noarch` companion RPM
17+
1218
## [0.2.0] - 2026-03-30
1319

1420
### Changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.22)
22

33
project(ro-control
4-
VERSION 0.2.0
4+
VERSION 0.2.1
55
DESCRIPTION "Smart NVIDIA Driver Manager & System Monitor for Linux"
66
HOMEPAGE_URL "https://github.com/Project-Ro-ASD/ro-Control"
77
LANGUAGES CXX

data/icons/io.github.projectroasd.rocontrol.metainfo.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</categories>
3939

4040
<releases>
41-
<release version="0.2.0" date="2026-03-30" />
41+
<release version="0.2.1" date="2026-03-30" />
4242
</releases>
4343

4444
<screenshots>

docs/man/ro-control.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH RO-CONTROL 1 "March 2026" "ro-control 0.2.0" "User Commands"
1+
.TH RO-CONTROL 1 "March 2026" "ro-control 0.2.1" "User Commands"
22
.SH NAME
33
ro-control \- NVIDIA driver management and diagnostics CLI
44
.SH SYNOPSIS

packaging/rpm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ macro explicitly:
4040

4141
```bash
4242
rpmbuild -ba packaging/rpm/ro-control.spec \
43-
--define "upstream_version 0.2.0"
43+
--define "upstream_version 0.2.1"
4444
```
4545

4646
If you build from a Git checkout instead of a published source archive, create

packaging/rpm/ro-control.spec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
%global upstream_version %{!?upstream_version:0.2.0}%{?upstream_version}
1+
%global upstream_version %{!?upstream_version:0.2.1}%{?upstream_version}
22
%global debug_package %{nil}
33

44
Name: ro-control
@@ -89,6 +89,10 @@ tar -xzf %{SOURCE0} --strip-components=1
8989
%{_datadir}/polkit-1/actions/io.github.ProjectRoASD.rocontrol.policy
9090

9191
%changelog
92+
* Mon Mar 30 2026 ro-Control Maintainers <noreply@github.com> - 0.2.1-1
93+
- Limit release outputs to x86_64, aarch64, noarch, and src RPM artifacts
94+
- Split shared desktop assets into a noarch companion package
95+
9296
* Mon Mar 30 2026 ro-Control Maintainers <noreply@github.com> - 0.2.0-1
9397
- Fix installed helper path resolution for privileged operations on system installs
9498
- Activate saved KDE-friendly interface preferences and theme switching in the UI

src/backend/monitor/gpumonitor.cpp

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ bool readIntegerFile(const QString &path, qint64 *value) {
7171
}
7272

7373
bool readFirstTemperatureFromHwmon(const QString &basePath, int *value) {
74-
const QFileInfoList hwmonEntries =
75-
QDir(basePath).entryInfoList({QStringLiteral("hwmon*")},
76-
QDir::Dirs | QDir::NoDotAndDotDot,
77-
QDir::Name);
74+
const QFileInfoList hwmonEntries = QDir(basePath).entryInfoList(
75+
{QStringLiteral("hwmon*")}, QDir::Dirs | QDir::NoDotAndDotDot,
76+
QDir::Name);
7877
for (const QFileInfo &entry : hwmonEntries) {
79-
const QFileInfoList inputs = QDir(entry.absoluteFilePath())
80-
.entryInfoList({QStringLiteral("temp*_input")},
81-
QDir::Files, QDir::Name);
78+
const QFileInfoList inputs =
79+
QDir(entry.absoluteFilePath())
80+
.entryInfoList({QStringLiteral("temp*_input")}, QDir::Files,
81+
QDir::Name);
8282
for (const QFileInfo &input : inputs) {
8383
qint64 milliC = 0;
8484
if (readIntegerFile(input.absoluteFilePath(), &milliC) && milliC > 0) {
@@ -94,9 +94,9 @@ bool readFirstTemperatureFromHwmon(const QString &basePath, int *value) {
9494
bool readGenericLinuxGpuMetrics(int *temperatureC, int *utilizationPercent,
9595
int *memoryUsedMiB, int *memoryTotalMiB) {
9696
const QFileInfoList cardEntries =
97-
QDir(drmRootPath()).entryInfoList({QStringLiteral("card*")},
98-
QDir::Dirs | QDir::NoDotAndDotDot,
99-
QDir::Name);
97+
QDir(drmRootPath())
98+
.entryInfoList({QStringLiteral("card*")},
99+
QDir::Dirs | QDir::NoDotAndDotDot, QDir::Name);
100100

101101
bool anyMetric = false;
102102
for (const QFileInfo &cardEntry : cardEntries) {
@@ -117,19 +117,16 @@ bool readGenericLinuxGpuMetrics(int *temperatureC, int *utilizationPercent,
117117
if (utilizationPercent != nullptr &&
118118
readIntegerFile(devicePath + QStringLiteral("/gpu_busy_percent"),
119119
&busyPercent)) {
120-
*utilizationPercent =
121-
std::clamp(static_cast<int>(busyPercent), 0, 100);
120+
*utilizationPercent = std::clamp(static_cast<int>(busyPercent), 0, 100);
122121
anyMetric = true;
123122
}
124123

125124
qint64 usedBytes = 0;
126125
qint64 totalBytes = 0;
127-
const bool usedOk =
128-
readIntegerFile(devicePath + QStringLiteral("/mem_info_vram_used"),
129-
&usedBytes);
130-
const bool totalOk =
131-
readIntegerFile(devicePath + QStringLiteral("/mem_info_vram_total"),
132-
&totalBytes);
126+
const bool usedOk = readIntegerFile(
127+
devicePath + QStringLiteral("/mem_info_vram_used"), &usedBytes);
128+
const bool totalOk = readIntegerFile(
129+
devicePath + QStringLiteral("/mem_info_vram_total"), &totalBytes);
133130
if (usedOk && totalOk && totalBytes > 0) {
134131
if (memoryUsedMiB != nullptr) {
135132
*memoryUsedMiB =

src/backend/nvidia/detector.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,10 @@ QString NvidiaDetector::activeDriver() const {
5151
}
5252

5353
QString NvidiaDetector::verificationReport() const {
54-
const QString gpuText = m_info.found
55-
? m_info.name
56-
: (m_info.displayAdapterName.isEmpty()
57-
? tr("None")
58-
: m_info.displayAdapterName);
54+
const QString gpuText = m_info.found ? m_info.name
55+
: (m_info.displayAdapterName.isEmpty()
56+
? tr("None")
57+
: m_info.displayAdapterName);
5958
const QString versionText =
6059
m_info.driverVersion.isEmpty() ? tr("None") : m_info.driverVersion;
6160

src/backend/nvidia/detector.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ class NvidiaDetector : public QObject {
99

1010
Q_PROPERTY(bool gpuFound READ gpuFound NOTIFY infoChanged)
1111
Q_PROPERTY(QString gpuName READ gpuName NOTIFY infoChanged)
12-
Q_PROPERTY(QString displayAdapterName READ displayAdapterName NOTIFY
13-
infoChanged)
12+
Q_PROPERTY(
13+
QString displayAdapterName READ displayAdapterName NOTIFY infoChanged)
1414
Q_PROPERTY(QString driverVersion READ driverVersion NOTIFY infoChanged)
1515
Q_PROPERTY(bool driverLoaded READ driverLoaded NOTIFY infoChanged)
1616
Q_PROPERTY(bool nouveauActive READ nouveauActive NOTIFY infoChanged)

src/backend/system/capabilityprobe.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ QString fedoraNvidiaDriverFlowSupportMessage() {
7777
}
7878

7979
return QStringLiteral(
80-
"Fedora NVIDIA driver management is currently supported only on x86_64 "
81-
"and aarch64 builds. The current build architecture is %1.")
80+
"Fedora NVIDIA driver management is currently supported only on "
81+
"x86_64 "
82+
"and aarch64 builds. The current build architecture is %1.")
8283
.arg(normalizedCpuArchitecture());
8384
}
8485

0 commit comments

Comments
 (0)