Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922123 - net-libs/mbedtls: Add pkgconfig .pc file
Summary: net-libs/mbedtls: Add pkgconfig .pc file
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Azamat H. Hackimov
URL: https://github.com/Mbed-TLS/mbedtls/i...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-14 18:25 UTC by Conrad Kostecki
Modified: 2024-01-14 23:27 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2024-01-14 18:25:57 UTC
Would it possible to ship a pkgconfig .pc file with mbedtls? There is an upstream issue about that, but unfortunately for a longer time no progress.

But there is a fresh PR: https://github.com/Mbed-TLS/mbedtls/pull/8691
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-14 18:28:18 UTC
Adding downstream .pc files is a controversial topic because it makes Gentoo "weird" if someone develops software on Gentoo and then finds it doesn't work on other distros...
Comment 2 Conrad Kostecki gentoo-dev 2024-01-14 18:35:11 UTC
(In reply to Sam James from comment #1)
> Adding downstream .pc files is a controversial topic because it makes Gentoo
> "weird" if someone develops software on Gentoo and then finds it doesn't
> work on other distros...

Funnily, there is already software outside of Gentoo, which searches for pkgconfig files of mbedtls.
Comment 3 Azamat H. Hackimov 2024-01-14 22:57:20 UTC
I would wait for changes in the upstream. Implementing Gentoo-specific solutions may cause compatibility issues.

Most of the projects I've checked either use the cmake subproject or try to use their own implementations of the FindMbed.cmake module.

The upstream implementation of the cmake project is also quite specific, and I plan to make a few changes in upstream to make the installation of the package more consistent.
Comment 4 Conrad Kostecki gentoo-dev 2024-01-14 23:27:59 UTC
Thanks!