-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Please provide a pkgconfig .pc file #228
Comments
Please excuse my ignorance about pkgconfig and .pc file, but could you please give me a few pointers? Is that specific to one package manager, or can it be used by many of them? If it's specific to one, I'm not sure we want to include that in our distribution, otherwise we'll consider it. |
Hi @mpg, Any project that uses pkg-config (http://www.freedesktop.org/wiki/Software/pkg-config/) can use this file. The autotools have macros to use and create this file, I'm not sure about Cmake. To give you one example, sqlite drops this file in /usr/lib64/pkgconfig/sqlite3.pc:
And in powerdns we use the following macro to check if sqlite is installed, and pick up the CFLAGS and LDFLAGS we need:
Non-autotools-based projects can also call pkg-config manually, for example:
|
Thanks for the info! We'll look into it. |
Love this world... here people are writing to-end crypto but haven't heard of pkgconfig. What's next elephants will start dressing in pink panties, throwing tantrums and being general dramaqueens on the savannah? :) |
+1 |
There is an article about how to generate a pkg-config file with cmake, that look like very easy. |
…e-tracking Add github issue template
Closing this issue as it will not be worked on in the near future. If someone would like to provide a .pc file via PR then they are more than welcome to do so. |
Hi @tom-daubney-arm, could you please mark the issue as "not planned" instead of "completed"? In any case, I think I'll look into this issue somewhat soon. Thanks for the ping :) |
Sure - have made the change. Feel free to file a PR. |
For the record let me cross link to related open ticket: |
I have a PR incoming for this |
Add three package config files for mbedtls, mbedcrypto and mbedx509. Also update various project variables so the generated PC files have the required data needed without hardcoding it everywhere. This will help distros package the project following existing conventsions between a normal and -devel package that includes the headers and .pc files for pkg-config aware consumers. TODO: - Figure out how to pass VERSION into project or a better way to do this. This seems wrong. Fixes: Mbed-TLS#228 Signed-off-by: Bill Roberts <bill.roberts@arm.com>
Add three package config files for mbedtls, mbedcrypto and mbedx509. Also update various project variables so the generated PC files have the required data needed without hardcoding it everywhere. This will help distros package the project following existing conventsions between a normal and -devel package that includes the headers and .pc files for pkg-config aware consumers. TODO: - Figure out how to pass VERSION into project or a better way to do this. This seems wrong. Fixes: Mbed-TLS#228 Signed-off-by: Bill Roberts <bill.roberts@arm.com>
Add three package config files for mbedtls, mbedcrypto and mbedx509. Also update various project variables so the generated PC files have the required data needed without hardcoding it everywhere. This will help distros package the project following existing conventsions between a normal and -devel package that includes the headers and .pc files for pkg-config aware consumers. TODO: - Figure out how to pass VERSION into project or a better way to do this. This seems wrong. Fixes: Mbed-TLS#228 Signed-off-by: Bill Roberts <bill.roberts@arm.com>
Add three package config files for mbedtls, mbedcrypto and mbedx509. Also update various project variables so the generated PC files have the required data needed without hardcoding it everywhere. This will help distros package the project following existing conventsions between a normal and -devel package that includes the headers and .pc files for pkg-config aware consumers. Fixes: Mbed-TLS#228 Signed-off-by: Bill Roberts <bill.roberts@arm.com>
Add three package config files for mbedtls, mbedcrypto and mbedx509. Also update various project variables so the generated PC files have the required data needed without hardcoding it everywhere. This will help distros package the project following existing conventsions between a normal and -devel package that includes the headers and .pc files for pkg-config aware consumers. Fixes: Mbed-TLS#228 Signed-off-by: Bill Roberts <bill.roberts@arm.com>
Add three package config files for mbedtls, mbedcrypto and mbedx509. Also update various project variables so the generated PC files have the required data needed without hardcoding it everywhere. This will help distros package the project following existing conventsions between a normal and -devel package that includes the headers and .pc files for pkg-config aware consumers. Fixes: Mbed-TLS#228 Signed-off-by: Bill Roberts <bill.roberts@arm.com>
Add three package config files for mbedtls, mbedcrypto and mbedx509. Also update various project variables so the generated PC files have the required data needed without hardcoding it everywhere. This will help distros package the project following existing conventsions between a normal and -devel package that includes the headers and .pc files for pkg-config aware consumers. Fixes: Mbed-TLS#228 Signed-off-by: Bill Roberts <bill.roberts@arm.com>
Add three package config files for mbedtls, mbedcrypto and mbedx509. Also update various project variables so the generated PC files have the required data needed without hardcoding it everywhere. This will help distros package the project following existing conventsions between a normal and -devel package that includes the headers and .pc files for pkg-config aware consumers. Fixes: Mbed-TLS#228 Signed-off-by: Bill Roberts <bill.roberts@arm.com>
Add three package config files for mbedtls, mbedcrypto and mbedx509. Also update various project variables so the generated PC files have the required data needed without hardcoding it everywhere. This will help distros package the project following existing conventsions between a normal and -devel package that includes the headers and .pc files for pkg-config aware consumers. Fixes: Mbed-TLS#228 Signed-off-by: Bill Roberts <bill.roberts@arm.com>
Add three package config files for mbedtls, mbedcrypto and mbedx509. Also update various project variables so the generated PC files have the required data needed without hardcoding it everywhere. This will help distros package the project following existing conventsions between a normal and -devel package that includes the headers and .pc files for pkg-config aware consumers. Fixes: Mbed-TLS#228 Signed-off-by: Bill Roberts <bill.roberts@arm.com>
Add three package config files for mbedtls, mbedcrypto and mbedx509. Also update various project variables so the generated PC files have the required data needed without hardcoding it everywhere. This will help distros package the project following existing conventsions between a normal and -devel package that includes the headers and .pc files for pkg-config aware consumers. Fixes: Mbed-TLS#228 Signed-off-by: Bill Roberts <bill.roberts@arm.com>
Add three package config files for mbedtls, mbedcrypto and mbedx509. Also update various project variables so the generated PC files have the required data needed without hardcoding it everywhere. This will help distros package the project following existing conventsions between a normal and -devel package that includes the headers and .pc files for pkg-config aware consumers. Fixes: Mbed-TLS#228 Signed-off-by: Bill Roberts <bill.roberts@arm.com>
Add three package config files for mbedtls, mbedcrypto and mbedx509. Also update various project variables so the generated PC files have the required data needed without hardcoding it everywhere. This will help distros package the project following existing conventsions between a normal and -devel package that includes the headers and .pc files for pkg-config aware consumers. Fixes: Mbed-TLS#228 Signed-off-by: Bill Roberts <bill.roberts@arm.com>
Add three package config files for mbedtls, mbedcrypto and mbedx509. Also update various project variables so the generated PC files have the required data needed without hardcoding it everywhere. This will help distros package the project following existing conventsions between a normal and -devel package that includes the headers and .pc files for pkg-config aware consumers. This also squashes: - fff51ce ("Update ChangeLog.d/pkg-config-files-addition.txt") Fixes: Mbed-TLS#228 Signed-off-by: Bill Roberts <bill.roberts@arm.com>
This would make downstream's life a bit easier.
The text was updated successfully, but these errors were encountered: