Skip to content

Add Debian package configuration#54

Draft
AndyFilter wants to merge 1 commit intomasterfrom
package/debian
Draft

Add Debian package configuration#54
AndyFilter wants to merge 1 commit intomasterfrom
package/debian

Conversation

@AndyFilter
Copy link
Owner

This feature is meant to bring more accessibility to the project. But it's also my first time making a debian package, so I'd be grateful for any opinions of the code/configs.

I've tested this on Ubuntu 24.04 (and Ubuntu 24.04 on a VM that wasn't updated since I installed it).

To build the debian package run ./make_deb.sh.
Then, to actually install it, run:

sudo dpkg -i build_deb/yeetmouse_0.9.2_amd64.deb

Changes included:

  • Added necessary files and configurations for Debian package setup.
  • Made the install/uninstall scripts more version-agnostic.

@AndyFilter AndyFilter added enhancement New feature or request help wanted Extra attention is needed requires testing Additional performance benchmarks and/or stability tests required labels Oct 4, 2025
@systemofapwne
Copy link

I just had a quick look over it and I could not spot big issues. But I currently lack a machine with a desktop environment using Debian, so I did not test it.
Just as reference: I also had preliminary work on debian package building started in leetmouse in the fixedpoint branch: https://github.com/systemofapwne/leetmouse/tree/fixedpoint
You can try to cross-correlate there but in principle, a deb package is easy to build, once you have the control, pre/post inst/rm files set up.

@AndyFilter
Copy link
Owner Author

Awesome, thanks for the review. I got a bit persuaded by the idea of a unified installer that would work on all the distros in the meantime. But I don't know how that is supposed to work, and it would also require some kind of Releases to work.
But in the end I think the Debian package is also useful to have. Your scripts seem to be more concise, which is fair, looking at the fact that I used quite a bit of AI to make mine.
I'll try to possibly future proof my scripts and push this PR further in development in the near future.

@systemofapwne
Copy link

Awesome, thanks for the review. I got a bit persuaded by the idea of a unified installer that would work on all the distros in the meantime. But I don't know how that is supposed to work, and it would also require some kind of Releases to work. But in the end I think the Debian package is also useful to have. Your scripts seem to be more concise, which is fair, looking at the fact that I used quite a bit of AI to make mine. I'll try to possibly future proof my scripts and push this PR further in development in the near future.

TBH, my script should rather be converted to proper Makefile syntax. Same for the Arch package.
Having eversthing in the makefile for Debian, Debian and Fedora would be great, as this would cover a huge area of distros. I myself already fiddled around some time with RPMs (Fedora). Maybe, when I have too much time, I can work on that. However: There is the package "alien", that can convert deb -> rpm. That might help too, if a serious release strategry is planned.

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

Labels

enhancement New feature or request help wanted Extra attention is needed requires testing Additional performance benchmarks and/or stability tests required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants