aclap-dev / vdhcoapp

Companion application for Video DownloadHelper browser add-on
GNU General Public License v2.0
1.8k stars 290 forks source link

Packaging #109

Closed moriel5 closed 3 years ago

moriel5 commented 3 years ago

Hello, I want to package vdccoapp for Solus, however since I want to follow Solus's best practice guidelines, this means that I am not going to use /usr/local, rather relying on the traditional /usr/bin /usr/lib64 (if applicable) and /usr/share.

How would I go about this in this instance?

mi-g commented 3 years ago

I don't know specifically about Solus, but you can create packages for any Linux distros. You can use another installation directory as long as the created manifest files point to the right place. However note that most (all?) linux best practices recommand putting externally installed applications into /usr/local or /opt . The directory /usr/bin are for applications that are natively part of the distro.

moriel5 commented 3 years ago

Thanks, that should be enough for me to figure it out.

As for /usr/local and /opt, from what I had learned, those depend on the environment (for example, if they use dependencies independent of the OS, or a local app distribution separate from the rest of the OS), so while it is possible that this may be better for vdccoapp (I'll look into this, and if so, then Solus guidelines mandate it to have it's own directory under /usr/share), from my preliminary view which is limited, it looks as though those might not really be the best options for vdccoapp, at least from a packaging point of view (if possible, I'd like this to also be accepted into the official Solus repository).