Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898008 - sys-apps/openrazer: should be split into two packages due to the kernel modules should be rebuilt every time when kernel rebuilt
Summary: sys-apps/openrazer: should be split into two packages due to the kernel modul...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Barć
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-26 20:46 UTC by Ryan Tsien
Modified: 2023-05-09 13:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Tsien 2023-02-26 20:46:42 UTC
The kernel modules should be rebuilt every time when the kernel is rebuilt while the daemon or client libs should not be.

So this package should be split into a daemon and client libs only package with name sys-apps/openrazer and kernel modules only package with name sys-apps/openrazer-drivers (or other similar name).

I originally maintained them under my own overlay, but since it has entered the ::gentoo repo, I think the focus should be transferred to the ::gentoo repo either, but as I said, when the kernel is rebuilt, the non kernel modules parts should not be rebuilt.

refer to:

https://github.com/bekcpear/ryans-repos/blob/main/sys-apps/openrazer/openrazer-3.5.1.ebuild
 and 
https://github.com/bekcpear/ryans-repos/blob/main/sys-apps/openrazer-driver/openrazer-driver-3.5.1.ebuild

The reason for not submitting a PR directly is that I think this change will affect users more, so I want to confirm your opinions first.

Thanks!

Reproducible: Always
Comment 1 Maciej Barć gentoo-dev 2023-02-27 19:34:36 UTC
Having this in 1 pkg does not affect @module-rebuild and the daemon program is a rather small python package, so that is not a big deal to rebuild.

IMHO it would be more work to split it than it's worth.