-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking pkg-config info #1309
Comments
Not sure how it can be done with big enough coverage to be useful. Repology does not work with package contents it could get info on pkgconfig file names from. Some repositories may contain list of files installed by packages we could look into, but I don't think there are many repositories like that. Will check tomorrow though. |
Thanks for offering to check. I would be happy to propose add the requisite metadata to Nixpkgs if that helps you. (I am a Nixpkgs maintainer.) |
Well I've grepped
If you propose to publish pkgconfig names for nix (and I suppose use these to map pkgconfig files to package names for all other repos), that should be easy to implement in repology. |
Thanks for the quick response, and willingness to "bootstrap" off just one distro's metadata! |
Fedora allows its packages to depend on pc files https://docs.fedoraproject.org/en-US/packaging-guidelines/PkgConfigBuildRequires/ Though the only way they declare what pc file a package provides is https://src.fedoraproject.org/rpms/libproxy/blob/rawhide/f/libproxy.spec#_206 |
We might want to iterate on the format, but Nixpkgs has at least made a start with this. |
The main requirement is for it to be in the same file with other package info. |
|
OK since NixOS/nixpkgs#214304 we have
And hopefully by the time Repology ingests this (as part ofthe |
NixOS/nixpkgs#215056 Put up a PR marking a few more. Also made an Nixpkgs announcement in https://discourse.nixos.org/t/adding-pkg-config-metadata-to-nixpkgs-packages/25281 . |
Is this not yet in |
Hehe you move quick :) Yeah |
I am investigating |
Actually I do see it cat /nix/store/1c50winfp4gri15d4zh3fv9f4jx64g02-nixpkgs-tarball-23.05pre452319.747927516ef/packages.json.br \
| brotli -d \
| jq '.packages.zlib.meta.pkgConfigModules' [
"zlib"
] from https://hydra.nixos.org/build/208234249#tabs-summary in the most recent eval. |
https://channels.nixos.org/nixos-unstable-small is quick enough to have it
|
OK https://channels.nixos.org/nixpkgs-unstable has updated, and now has at least the |
I've seen, thank you. Backend code is already done. |
You're wonderfully on top of things! :) Impressive! |
@AMDmi3 Sorry to prod, but did this go live yet? |
Not yet. Sorry, ENOTIME at the moment. |
OK. Thanks for letting me know. Let me know if there is something I can do to help. |
Hi, checking in on this again :) |
Ping |
ENOTIME for it |
Oh just saw your reply. Is there any way some could do this for you without making it just as much work on your end? |
I've long wanted a way to map pkg-config name to OS package that provide it. This seems close to what Repology is doing. Would it make sense to extend Repology with this functionality?
The text was updated successfully, but these errors were encountered: