Skip to content
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

Convince upstream packages to use pkg-config #107647

Open
1 of 2 tasks
Ericson2314 opened this issue Dec 26, 2020 · 6 comments
Open
1 of 2 tasks

Convince upstream packages to use pkg-config #107647

Ericson2314 opened this issue Dec 26, 2020 · 6 comments
Labels
5. scope: tracking Long-lived issue tracking long-term fixes or multiple sub-problems 6.topic: developer experience 6.topic: portability General portability concerns, not specific to cross-compilation or a specific platform 6.topic: repology https://repology.org/ 9.needs: upstream fix This PR needs upstream to change something

Comments

@Ericson2314
Copy link
Member

Ericson2314 commented Dec 26, 2020

I don't think there is a good technical solution to #51176, namely packages that ship configuration executables or scripts. But, we could try to convince upstream packages to use pkg-config on a large scale. Maybe we can this into some sort of game or something, or a multi-distro project?

Please edit this!

@matthewbauer matthewbauer changed the title Convince upstream packages to use use pkg-config Convince upstream packages to use pkg-config Dec 29, 2020
@stale

This comment was marked as off-topic.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 28, 2021
@Ericson2314

This comment was marked as off-topic.

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 28, 2021
@stale

This comment was marked as off-topic.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jan 9, 2022
@hacker1024

This comment was marked as off-topic.

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Feb 1, 2023
@Ericson2314
Copy link
Member Author

@roberth's recent work can help with this.

@SuperSandro2000 SuperSandro2000 added 6.topic: portability General portability concerns, not specific to cross-compilation or a specific platform 9.needs: upstream fix This PR needs upstream to change something 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md labels Feb 1, 2023
@roberth
Copy link
Member

roberth commented Feb 1, 2023

@roberth's recent work

I've started a json file, package set and test set in order to track pkg-config modules in Nixpkgs. It can be used by expression-generating tools to automatically find dependencies.

It's only a start. We could improve it with automation

From what I've heard, repology is interested in reusing our pkg-config metadata to enrich their package database. This cross-referencing will make pkg-config more useful in the context of other packaging systems as well.

I was only able to spend a limited amount of time on this, so I invite anyone to help the pkg-config effort.

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Feb 1, 2023
@samueldr samueldr added the 5. scope: tracking Long-lived issue tracking long-term fixes or multiple sub-problems label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5. scope: tracking Long-lived issue tracking long-term fixes or multiple sub-problems 6.topic: developer experience 6.topic: portability General portability concerns, not specific to cross-compilation or a specific platform 6.topic: repology https://repology.org/ 9.needs: upstream fix This PR needs upstream to change something
Projects
None yet
Development

No branches or pull requests

5 participants