FS#75824 - [curl] Make sure that the `libcurl-gnutls.pc` file gets installed

Attached to Project: Arch Linux
Opened by grufo (grufo) - Tuesday, 06 September 2022, 13:50 GMT
Last edited by Toolybird (Toolybird) - Sunday, 11 September 2022, 02:15 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



When the `libcurl-gnutls` package is generated the `libcurl.pc` file is ignored. However in this way applications have no way to find out whether `libcurl-gnutls` is present or not (and this is required, for instance, by GNUnet).

The patch attached makes sure that the `libcurl.pc` file is installed as `libcurl-gnutls.pc`.

Additional info:
* package version(s) 7.85.0
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce: makepkg
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 11 September 2022, 02:15 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Sunday, 11 September 2022, 02:15 GMT
So, after reading related  FS#75835  and the upstream GNUnet thread and also playing around with latest gnunet-git, this proposed .pc file is completely unnecessary because the GNUnet detection routine for curl-gnutls dooen't even use pkg-config?

If you're going to open this kind of bug, and then subsequently find out it's actually bogus (as confirmed in the GNUnet thread), please come back and request task closure otherwise you're just wasting everyone's time.