-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to install on an immutable distro? #103
Comments
Small update: I've found this post which mentions that desktop effects can be installed under Not really sure how to proceed from here. |
Maybe layered packages would work? There's a package on Fedora Copr.
|
I gave it a try, but I ran into issues. I added the Copr repository for the effect under
It looks like Ublue Aurora comes with a version of
|
Just wanted to check if there's been any progress on this issue - I tried building it in toolbox, but it didn't show up in the settings menu after, unfortunately (yet unsurprisingly). |
Try this: Name: kwin-effects-forceblur
Version: 1.3.2
Release: %{?dist}
Summary: Fork of the KWin Blur effect for KDE Plasma 6 with additional features (including force blur) and bug fixes
License: GPLv3
URL: https://github.com/taj-ny/kwin-effects-forceblur
Source0: https://github.com/taj-ny/kwin-effects-forceblur/archive/refs/tags/v%{?version}.zip
BuildRequires: cmake extra-cmake-modules gcc-g++ kf6-kwindowsystem-devel plasma-workspace-devel libplasma-devel qt6-qtbase-private-devel qt6-qtbase-devel cmake kwin-devel extra-cmake-modules kwin-devel kf6-knotifications-devel kf6-kio-devel kf6-kcrash-devel kf6-ki18n-devel kf6-kguiaddons-devel libepoxy-devel kf6-kglobalaccel-devel kf6-kcmutils-devel kf6-kconfigwidgets-devel kf6-kdeclarative-devel kdecoration-devel kf6-kglobalaccel kf6-kdeclarative libplasma kf6-kio qt6-qtbase kf6-kguiaddons kf6-ki18n wayland-devel
Requires: kf6-kglobalaccel kf6-kdeclarative kwin libplasma kf6-kio qt6-qtbase kf6-kguiaddons kf6-ki18n
BuildArch: x86_64
%description
Fork of the KWin Blur effect for KDE Plasma 6 with additional features (including force blur) and bug fixes
%prep
%setup -q
%global _enable_debug_package 0
%global debug_package %{nil}
%build
%cmake -DCMAKE_INSTALL_PREFIX=/usr
%cmake_build %{?_smp_mflags}
%install
%cmake_install
%clean
#rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_libdir}/qt6/plugins/kwin/effects/configs/kwin_better_blur_config.so
%{_libdir}/qt6/plugins/kwin/effects/plugins/forceblur.so
%changelog
Save as
Tested on Fedora Kinoite 41. Maybe I can create an action that makes RPMs. |
Thank you so much for your help! Unfortunately, after getting most of the way through the directions, I did run into an issue. After running I double-checked to see if the file name or location was wrong, and noticed that the created rpm file was named "kwin-effects-forceblur-1.3.2-.fc40.x86_64.rpm", not "kwin-effects-forceblur-1.3.2-.fc41.x86_64.rpm". So, I tried running However, that gave the following response:
Any ideas what the issue could be? I'm on Aurora 41, a slightly edited version of Kionite 41, but I cant imagine that would be the difference. |
Looks like your toolbox has Fedora 40, upgrade it to 41. |
#132 added better build instructions to the README, the .spec file is not required anymore. |
I can happily report that building it in a toolbx based on a fedora 41 image then following the instructions in the README worked perfectly for me. Thank you for this awesome project and for helping me with this issue so quickly. |
Judging by the reactions, I assume the issue is solved, so I'm closing it. |
Hello,
First of all, thanks very much for working on this desktop effect. I've been using it on my system for many months now and have been very happy with it.
That being said, I'm considering switching to Ublue Aurora (Fedora Silverblue-based distro), which, being an immutable distro, has read-only access to
/usr
. From what I've seen, desktop effects, including the Better Blur/Force Blur effect, normally install in a subfolder in that location.I've tried using distrobox, and that lets me compile the effect, but it installs in the
/usr
folder of the distrobox image, not the host itself.Is there an alternative folder or some other way to install the effect so that it correctly installs on an immutable distro?
Thank you!
The text was updated successfully, but these errors were encountered: