atar-axis / xpadneo

Advanced Linux Driver for Xbox One Wireless Controller (shipped with Xbox One S)
https://atar-axis.github.io/xpadneo/
GNU General Public License v3.0
1.87k stars 110 forks source link

Debian repo support suggestion #404

Open Apacelus opened 1 year ago

Apacelus commented 1 year ago

Hey, have you ever thought about making a debian repo? You could even host it via github pages, like we do at the eupnea project (apt repo).

Should pe pretty easy to setup, if you just clone that repo and adjust it to your needs.

kakra commented 1 year ago

If we can have a deployment bot which automatically generates dpkg packages and repo meta data, we can in theory have this. But we would also need proper CI, and it should probably also build packages for other distributions.

As a first step, I could look into generating dpkg packages right from the Makefile so we could easily attach those to the releases page.

OTOH, what's wrong about DKMS? This should work out of the box for most distributions. The single downside is that the source code isn't managed via the package manager.

signed-log commented 1 year ago

@kakra

I could help with that, I am in the process of porting xpadneo to openSUSE TW and the OpenSUSE Build Service can act as a Debian repo integrated with the Debian build

EDIT: The repo for openSUSE TW is up and running, and will be proposed to Factory as soon as feasably possible

I already did that, and I am the packager for https://github.com/jarun/nnn, which is accessible from many distros from its OBS repo

However, I don't know how well that would play out (OBS is mainly RPM-oriented) for a kernel driver, but if you'd be interested, I can give it a try

kakra commented 1 year ago

@signed-log Yeah sure, why not? We could add a link to the OpenSUSE Build Service then. Any contribution is appreciated. You should look at how other packages build kernel modules, maybe skipping DKMS completely if such packages do that, too. Please check module signing in that case, it seems to be an important thing on some distros which support secure boot.

signed-log commented 1 year ago

Great, will have a go when I can,

Debian packaging is quite tricky in general, but I think I can make it work