You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
Changes included: