From 241f33fb2fbbdfe0dac4dcf7e7d1dc9aa8d3129f Mon Sep 17 00:00:00 2001 From: clsty Date: Sun, 9 Nov 2025 02:24:36 +0800 Subject: [PATCH] Post-PR revision on dist-fedora --- sdata/dist-fedora/README.md | 32 +++++++++++++------------------ sdata/dist-fedora/install-deps.sh | 9 +++++---- 2 files changed, 18 insertions(+), 23 deletions(-) diff --git a/sdata/dist-fedora/README.md b/sdata/dist-fedora/README.md index bfad4f80f..5643296b4 100644 --- a/sdata/dist-fedora/README.md +++ b/sdata/dist-fedora/README.md @@ -1,27 +1,21 @@ # Install scripts for Fedora Linux -- Synchronize all dependencies in arch. -- It has been tested on Fedora 43 (KDE Plasma Desktop Edition) on the x86_64 platform. -- If you have any questions, please submit them to the discussions section. +Note: +- The scripts here are **not** meant to be executed directly. +- This folder should reflect the equivalents of `/sdata/dist-arch/` but under Fedora. + - **When `/sdata/dist-arch/` is newer than this folder, an update on this folder is very likely needed.** + - Useful link: [Commit history on sdata/dist-arch/](https://github.com/end-4/dots-hyprland/commits/main/sdata/dist-arch) +- See also [Install scripts | illogical-impulse](https://ii.clsty.link/en/dev/inst-script/) -## About `hyprland-qtutils` and `hyprland-qt-support` +## Contributors +- Author: [ririko6z](https://github.com/ririko6z) -The hyprland-qt-support's GitHub repository requires Qt 6.6 or higher, which I think makes DNF's requirement of Qt 6.9 too strict; it should also support Qt 6.10. +## Tested +- It has been tested on Fedora 43 (KDE Plasma Desktop Edition) on the `x86_64` platform. -According to @clsty 's discussion `hyprland-qtutils` and `hyprland-qt-support` have been removed in dist-arch recently. -https://github.com/end-4/dots-hyprland/pull/2393#discussion_r2503594243 -However, if this package is not installed, a yellow warning⚠️ will appear every time you log in to Hyprland. -so for now, these two packages will be kept by default. -Of course, you can choose to skip installing these two packages during the installation process, or uninstall them after installation. - -# Usage -- `git clone --recurse-submodules https://github.com/end-4/dots-hyprland ~/.cache/dots-hyprland` -- `cd ~/.cache/dots-hyprland` -- `./setup install` - -# After installation -- Fix the issue of the right column crashing when clicking the `Details` button in Wi-Fi mode. Edit this file: ~/.config/illogical-impulse/config.json -``` +## Post installation +- Fix the issue of the right column crashing when clicking the `Details` button in Wi-Fi mode. Edit this file: `~/.config/illogical-impulse/config.json` +```diff @@ 44,3 44,3 @@ - "apps": { - "bluetooth": "kcmshell6 kcm_bluetooth", diff --git a/sdata/dist-fedora/install-deps.sh b/sdata/dist-fedora/install-deps.sh index 409156951..b1babce98 100644 --- a/sdata/dist-fedora/install-deps.sh +++ b/sdata/dist-fedora/install-deps.sh @@ -46,10 +46,11 @@ hyprland_deps=( hyprsunset xdg-desktop-portal-hyprland wl-clipboard ) v sudo dnf install --setopt="install_weak_deps=False" "${hyprland_deps[@]}" -y -# Deprecation -echo -e "${STY_YELLOW}${STY_BOLD}!DeprecationWarning! hyprland-qtutils and hyprland-qt-support have been removed in dist-arch recently.$STY_RST" -echo -e "${STY_YELLOW}${STY_BOLD}You can choose whether or not to install these two packages.$STY_RST" -# The GitHub repository requires Qt 6.6 or higher, which I think makes DNF's requirement of Qt 6.9 too strict; it should also support Qt 6.10. + +## About `hyprland-qtutils` and `hyprland-qt-support` +# The hyprland-qt-support's GitHub repository requires Qt 6.6 or higher, which I think makes DNF's requirement of Qt 6.9 too strict; it should also support Qt 6.10. +# On distro like Arch Linux, `hyprland-qtutils` and `hyprland-qt-support` are in dependency chain already so no need to add them as deps explicitly; +# However on Fedora, if this package is not installed, a yellow warning⚠️ will appear every time you log in to Hyprland. v dnf download hyprland-qt-support && sudo rpm -ivh --nodeps hyprland-qt-support-*.fc$(rpm -E %fedora).$(uname -m).rpm v sudo dnf install hyprland-qtutils -y