ad-oliviero / uwufetch

A meme system info tool for Linux, based on nyan/uwu trend on r/linuxmasterrace.
GNU General Public License v3.0
731 stars 47 forks source link

Improve build system flexibility and update README #246

Closed antecrescent closed 2 months ago

antecrescent commented 6 months ago

Please refer to the commit messages for a detailed explanation for these changes.

Makefile conventions: I tried to improve the build system flexibility for distro packagers and end users by respecting common user-defined variables such as CC, AR, {C,LD}FLAGS. Now the build system correctly applies the prefix to all install paths and lets users redefine them in a granular way. This does not apply to Windows as I don't have enough experience with installation procedures on that OS. I'm happy to add further fixes.

I updated the library-related targets to install a versioned binary (both API and ABI wise) as it's commonly done.

Manpages are now uncompressed upon installation to allow for different compression algorithms and levels. Here's a link to a more eloquent explanation: https://cmpct.info/~sam/blog/posts/automatic-manpage-compression/

Add git to the build requirements as it's used to set the version string.

antecrescent commented 6 months ago

TODO:

ad-oliviero commented 6 months ago

Thanks a lot for the contribution! However, the Makefile in the development branch is a lot more updated, so the changes should have been made to that Makefile. If you don't mind, it would be nice to update the development branch. I can do that myself if you can't or don't want to (I should have written about this in the readme, so it's my fault).

antecrescent commented 6 months ago

I take it that you approve of these changes? If so, I'll rebase these commits onto the development branch myself in the next couple of days. Thank you for the update!

ad-oliviero commented 6 months ago

Yes, I approve the changes

ad-oliviero commented 4 months ago

Do you have any updates on the progress?

antecrescent commented 4 months ago

Atm, university is taking up most of my time so unfortunately no progress has been made. I'll have time to work on this draft in March. Sorry for the unannounced absence...

ad-oliviero commented 4 months ago

Sorry for the unannounced absence...

No problem, I am actually in the same situation.

Good luck with your exams