alexVinarskis / dell-powermanager

Cross-Platform Dell Power Manager re-implementation
GNU General Public License v3.0
40 stars 1 forks source link

[FEATURE] Package as a RPM #44

Open ichiemo opened 2 months ago

ichiemo commented 2 months ago

What is suggested Feature, and what problem it solves? Package as a RPM. It would allow app to be easily installed on RPM based distros Ex: Fedora etc.

Is your feature request related to a application? Please why you think its a fit. I think it would be a great fit for others on RPM distros with a Dell laptop to be able to adjust settings.

Background info OS - Fedora Linux Platform - Latitude 7280 Are you willing to provide bandwidth for testing proposed changes? Yes I would be glad to.

alexVinarskis commented 2 months ago

Hi,

Its certainly a good point, it has to be packaged for more distros (Arch as well). It wasn't done mainly for lack of time and experience with other distros on my side.

Long term goal is also/instead to release it on Flathub, but I think its not in good enough state yet.

Meanwhile, CI expects to find wrapper scripts that compile packages, eg. package.sh (Debian), package.bat (MSI) etc. I would extend these to package.deb.sh, package.rpm.sh etc. Reason I prefer wrapper scripts and not building it in CI directly is because:

Are you willing to provide bandwidth for testing proposed changes?

Yes I would be glad to.

PR for adding package.rpm.sh would be very welcomed :D I would be happy to test it and integrate it! package.sh would be a good starting point I think.

Otherwise, lets keep this issue here in a backlog, its good to have it acknowledged.

ichiemo commented 2 months ago

I'm a novice but I know a bit about shell scripting I'm pretty sure I understand what is all happening in package.sh . I should have some time here to dig into this and create a PR.