From 3a8ad5bd5de0e49d33d05032c192986fa4397d4c Mon Sep 17 00:00:00 2001 From: Jessey van Offeren Date: Fri, 22 May 2026 15:38:12 +0200 Subject: [PATCH] =?UTF-8?q?fix(deb):=20auto-install=20all=20deps=20?= =?UTF-8?q?=E2=80=94=20correct=20PySide6=20names=20+=20bundle=20tools=20?= =?UTF-8?q?=E2=80=94=200.36.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The old Recommends named python3-pyside6 (no such package on Debian/Ubuntu — PySide6 is split per module), so apt skipped it and the GUI couldn't start. Now Recommends the real modules (python3-pyside6.qt{widgets,gui,websockets,svg} + python3-pyte) AND the optional diagnostic/gaming tools (smartmontools, lm-sensors, dmidecode, pciutils, libnotify-bin, libsecret-tools, gamemode, mangohud), so 'apt install rigdoctor' sets up the whole toolset automatically — no manual installs. cpupower -> Suggests. Verified all candidates resolve in apt. Co-Authored-By: Claude Opus 4.7 (1M context) --- CHANGELOG.md | 12 ++++++++++++ packaging/make_deb.py | 13 +++++++++---- pyproject.toml | 2 +- src/rigdoctor/__init__.py | 2 +- 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 965490e..d58ce63 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,18 @@ All notable changes to RigDoctor are recorded here. Format follows (`MAJOR.MINOR.PATCH`, pre-1.0). `__version__` and `pyproject.toml` must match the git release tag (so the auto-updater, D18, can compare versions). +## [0.36.0] - 2026-05-22 +### Fixed +- **`.deb` now installs all dependencies automatically — no manual tool install.** The previous + `Recommends: python3-pyside6` named a package that doesn't exist on Debian/Ubuntu (PySide6 is + split per module), so apt silently skipped it and the GUI wouldn't start. Now it Recommends the + actual modules the GUI imports — `python3-pyside6.qt{widgets,gui,websockets,svg}` + `python3-pyte`. +### Changed +- **`apt install rigdoctor` sets up the whole toolset.** The `.deb` also Recommends the optional + diagnostic/gaming tools (smartmontools, lm-sensors, dmidecode, pciutils, libnotify-bin, + libsecret-tools, gamemode, mangohud) so they install by default — users never hand-install + tools. `cpupower` is a Suggests (kernel-tied); `--no-install-recommends` still gives CLI-only. + ## [0.35.0] - 2026-05-22 ### Added - **`.deb` package (M9 / D8)** — `packaging/make_deb.py` builds a `rigdoctor__all.deb` diff --git a/packaging/make_deb.py b/packaging/make_deb.py index 24e2c6a..ca57df0 100644 --- a/packaging/make_deb.py +++ b/packaging/make_deb.py @@ -2,9 +2,13 @@ Pure-Python app, so it's `Architecture: all`: we stage the package into dist-packages, drop the two launchers in /usr/bin, install the desktop entry + icon, write a DEBIAN/control, and call -`dpkg-deb`. The core is stdlib (`Depends: python3`); the GUI/tray deps are **Recommends** -(`python3-pyside6`, `python3-pyte`) so `apt install rigdoctor` gives the full app by default, -while `--no-install-recommends` yields a CLI-only install. +`dpkg-deb`. The core is stdlib (`Depends: python3`); everything else is **Recommends** so a +plain `apt install rigdoctor` sets up the whole toolset automatically (users never hand-install +deps) — the GUI modules (Debian/Ubuntu split PySide6 per module, so we name +`python3-pyside6.qt{widgets,gui,websockets,svg}`) + `python3-pyte`, plus the diagnostic/gaming +tools (smartmontools, lm-sensors, dmidecode, pciutils, libnotify-bin, libsecret-tools, gamemode, +mangohud). `--no-install-recommends` still yields a CLI-only install; `cpupower` is a Suggests +(kernel-tied/heavy). Run: `python packaging/make_deb.py` → `dist/rigdoctor__all.deb`. """ @@ -57,7 +61,8 @@ Maintainer: {maintainer} Section: utils Priority: optional Depends: python3 (>= 3.11) -Recommends: python3-pyside6, python3-pyte +Recommends: python3-pyside6.qtwidgets, python3-pyside6.qtgui, python3-pyside6.qtwebsockets, python3-pyside6.qtsvg, python3-pyte, smartmontools, lm-sensors, dmidecode, pciutils, libnotify-bin, libsecret-tools, gamemode, mangohud +Suggests: linux-tools-generic Homepage: {homepage} Description: Hardware monitoring & crash diagnostics for Linux gamers RigDoctor monitors GPU/CPU temperatures, load, and sensors, captures crash diff --git a/pyproject.toml b/pyproject.toml index e5d656c..b917b70 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "rigdoctor" -version = "0.35.0" +version = "0.36.0" description = "Modular hardware monitoring & crash diagnostics for Linux gamers." readme = "README.md" requires-python = ">=3.11" diff --git a/src/rigdoctor/__init__.py b/src/rigdoctor/__init__.py index 7f57a7a..af614d5 100644 --- a/src/rigdoctor/__init__.py +++ b/src/rigdoctor/__init__.py @@ -1,3 +1,3 @@ """RigDoctor — modular hardware monitoring & crash diagnostics for Linux gamers.""" -__version__ = "0.35.0" +__version__ = "0.36.0" -- 2.52.0