Skip to content

Add vulkan-headers and rpm-tools as dependency - #104

Draft
RoonMoonlight wants to merge 3 commits into
xarblu:mainfrom
RoonMoonlight:main
Draft

Add vulkan-headers and rpm-tools as dependency#104
RoonMoonlight wants to merge 3 commits into
xarblu:mainfrom
RoonMoonlight:main

Conversation

@RoonMoonlight

Copy link
Copy Markdown

Tested with Arch Linux (Container version), but without these two packages the compilation fails.

@xarblu

xarblu commented Jul 2, 2026

Copy link
Copy Markdown
Owner

vulkan-headers make sense (we don't depend on it directly but I think KWin started requiring them).
But could you elaborate what exactly fails without rpm-tools (e.g. build logs)? I don't really see any reason why those would be required.

@RoonMoonlight

RoonMoonlight commented Jul 2, 2026

Copy link
Copy Markdown
Author

vulkan-headers make sense (we don't depend on it directly but I think KWin started requiring them). But could you elaborate what exactly fails without rpm-tools (e.g. build logs)? I don't really see any reason why those would be required.

When I do this on Bazzite with Arch container:

cpack -V -G RPM
CPack: Enable Verbose
CPack Verbose: Read CPack config file:
CPack Verbose: Read CPack configuration file: /var/home/[username]/kwin-effects-better-blur-dx/build/CPackConfig.cmake
CPack Verbose: Specified generator: RPM
CPack Verbose: Use generator: cmCPackRPMGenerator
CPack Verbose: For project: kwin-better-blur-dx
CPack: Create package using RPM
CPack Verbose: Read description file: /usr/share/cmake/Templates/CPack.GenericDescription.txt
CPack Verbose: [RPM] requested component grouping = ONE_PER_GROUP
CPack: Install projects
CPack: - Run preinstall target for: kwin_better_blur_dx
CPack: - Install project: kwin_better_blur_dx []
CPack Verbose: Install configuration: "Release"
CPack Verbose: Installing: /var/home/roon/kwin-effects-better-blur-dx/build/_CPack_Packages/Linux/RPM/kwin-better-blur-dx/usr/lib/qt6/plugins/kwin/effects/configs/kwin_better_blur_dx_config.so
CPack Verbose: Installing: /var/home/[username]/kwin-effects-better-blur-dx/build/CPack_Packages/Linux/RPM/kwin-better-blur-dx/usr/lib/qt6/plugins/kwin/effects/plugins/better_blur_dx.so
CPack: Create package
CPack Verbose: Package files to: /var/home/[username]/kwin-effects-better-blur-dx/build/CPack_Packages/Linux/RPM/kwin-better-blur-dx.rpm
CPack Verbose: Packaging all groups in one package...(CPACK_COMPONENTS_ALL[GROUPS]IN_ONE_PACKAGE is set)
CMake Error at /usr/share/cmake/Modules/Internal/CPack/CPackRPM.cmake:812 (message):
RPM package requires rpmbuild executable
Call Stack (most recent call first):
/usr/share/cmake/Modules/Internal/CPack/CPackRPM.cmake:1989 (cpack_rpm_generate_package)

CPack Error: Error while execution CPackRPM.cmake
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: kwin-better-blur-dx

This happened without rpm-tools in Arch container

@xarblu

xarblu commented Jul 9, 2026

Copy link
Copy Markdown
Owner

When I do this on Bazzite with Arch container:
[...]

I'm not too familiar with Bazzite but wouldn't you usually use a Fedora based container that has the RPM stuff already? I don't think this is common enough to be in the documentation section for Arch Linux (which I'd say is mostly meant for the native install path)

@RoonMoonlight
RoonMoonlight marked this pull request as draft July 29, 2026 06:00
@RoonMoonlight

Copy link
Copy Markdown
Author

Will be working on it soon to mention the rpm compilation to recommend fedora

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants