Skip to content

libcurl.pc: add License tag - #22545

Closed
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:pc-lic
Closed

vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:pc-lic

Conversation

@vszakats

Copy link
Copy Markdown
Member

Also to improve pccritic score.

Idea-by: Dan Fandrich

Follow-up to 3f1c033 #22519
Cherry-picked from #22543

Idea-by: Dan Fandrich

Follow-up to 3f1c033 curl#22519
@vszakats vszakats closed this in 4d9ba9f Aug 11, 2026
@vszakats
vszakats deleted the pc-lic branch August 11, 2026 13:09
vszakats added a commit to libssh2/libssh2 that referenced this pull request Aug 11, 2026
Link.ABI is a feature of pkgconf 3.0 and indicates the ABI against which
a consumer must link the package. For libssh2, this is hard-coded as C.
Source is a URL from which to download the package tarball. Also
include to SPDX license identifier.

Refs:
curl/curl@3f1c033
curl/curl#22519
curl/curl@4d9ba9f
curl/curl#22545

Credits-to: Dan Fandrich

Closes #2520
vszakats added a commit that referenced this pull request Aug 12, 2026
…pccritic` tool

`pccritic` is available on the latest macOS runner revision (not every
job runs get it yet), Cygwin, MSYS2/mingw-w64 (one job, others will
follow on the next msys2/setup-msys2 Action bump). It will be
automatically used on BSDs, once they start offering it. Missing from
Linux jobs.

Also:
- GHA/windows: convert `libcurl.pc` to Unix newlines to bump score
  96 to 100 in mingw-w64 jobs.
  CMake-specific fix pending in: #22556
- GHA: verify with minimum `pccritic` score 94 to 100 (depending on CI
  job).
- build: fill `Maintainer:` `libcurl.pc` property when run curl CI.

Issues remaining:

macOS:
```
[info    ] Cflags adds an include path already on the default search path (pkgconf strips it): -I/usr/local/include (cflags/PC031)
[info    ] Libs adds a library path already on the default search path (pkgconf strips it): -L/usr/local/lib (libs/PC040)
[minor   ] Libs.private contains an unexpected flag: /Applications/Xcode_26.6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk/System/Library/Frameworks/GSS.framework (libs/PC041)
```

Windows:
```
[minor   ] file uses CRLF line endings (style/PC061)
```

Ref: #22556
Follow-up to b9254da #22548
Follow-up to 852f5d3 #22553
Follow-up to 4d9ba9f #22545
Follow-up to 6c7993d #22536
Follow-up to 3f1c033 #22519

Closes #22543
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant