Automatic calculation of package dependencies from CMake

A. Wilcox AWilcox at Wilcox-Tech.com
Sun Aug 25 21:50:56 BST 2024


On Aug 25, 2024, at 2:58 PM, Ilya K <me at 0upti.me> wrote:
> 
> Hey! We (NixOS) actually use repo-metadata for this, instead of parsing CMake files. This works decently well, and we just add non-KDE dependencies manually. I think the big problem with doing this cross-distro is having consistent names for packages everywhere. It might be a good idea to start with just pkg-config names and/or library sonames? At least those can be mostly figured out automatically with most tools.

+1 for SONAMEs.  APK Tools can easily convert between them, so it’d be trivial to use for Adélie and any other system that uses APK.

-arw



More information about the Distributions mailing list