2021-03-20 00:51:52 +08:00
|
|
|
{
|
|
|
|
"name": "libpq",
|
[libpq] Update to 16.2 (#36849)
Fixes #36168.
* Update `libpq` to 16.2.
* Removed outdated patch `python_lib.patch`.
* Feature `client` has an error on `x86-windows`:
https://github.com/microsoft/vcpkg/issues/36693, but it is not caused by
this update and will be solved in another PR.
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [ ] ~The "supports" clause reflects platforms that may be fixed by
this new version.~
- [ ] ~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~
- [x] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
Features `client,icu,lz4,nls,openssl,python,tcl,xml,xslt,zlib,zstd` are
tested successfully in the following triplet:
```
x64-windows
x64-windows-static
```
Features `icu,lz4,nls,openssl,xml,xslt,zlib,zstd` are tested
successfully in the following triplet:
```
x86-windows
```
Features `readline,bonjour` are tested successfully in the following
triplet:
```
x64-osx
```
Feature `readline` are tested successfully in the following triplet:
```
x64-linux
```
The usage test passed on `x64-windows` (header files found):
```
The package libpq provides CMake integration:
find_package(PostgreSQL REQUIRED)
target_link_libraries(main PRIVATE PostgreSQL::PostgreSQL)
```
---------
Co-authored-by: Monica <v-liumonica@microsoft.com>
2024-02-22 13:54:14 +08:00
|
|
|
"version": "16.2",
|
2021-03-20 00:51:52 +08:00
|
|
|
"description": "The official database access API of postgresql",
|
|
|
|
"homepage": "https://www.postgresql.org/",
|
2022-03-24 07:41:00 +08:00
|
|
|
"license": "PostgreSQL",
|
2021-03-20 00:51:52 +08:00
|
|
|
"supports": "!uwp",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "libpq",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"bonjour"
|
|
|
|
],
|
|
|
|
"platform": "osx"
|
2022-08-05 10:31:00 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "vcpkg-cmake-get-vars",
|
|
|
|
"host": true
|
2023-06-01 10:55:03 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "vcpkg-pkgconfig-get-modules",
|
|
|
|
"host": true,
|
|
|
|
"platform": "windows & !mingw"
|
2021-03-20 00:51:52 +08:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"default-features": [
|
2022-03-24 07:41:00 +08:00
|
|
|
"lz4",
|
2021-03-20 00:51:52 +08:00
|
|
|
"openssl",
|
|
|
|
"zlib"
|
|
|
|
],
|
|
|
|
"features": {
|
2023-06-01 10:55:03 +08:00
|
|
|
"all": {
|
|
|
|
"description": "Build all supported features",
|
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "libpq",
|
|
|
|
"features": [
|
|
|
|
"client",
|
|
|
|
"icu",
|
|
|
|
"xml",
|
|
|
|
"xslt",
|
|
|
|
"zstd"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "libpq",
|
|
|
|
"features": [
|
|
|
|
"bonjour"
|
|
|
|
],
|
|
|
|
"platform": "osx"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "libpq",
|
|
|
|
"features": [
|
|
|
|
"nls"
|
|
|
|
],
|
|
|
|
"platform": "!osx"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "libpq",
|
|
|
|
"features": [
|
|
|
|
"readline"
|
|
|
|
],
|
|
|
|
"platform": "!windows"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "libpq",
|
|
|
|
"features": [
|
|
|
|
"python"
|
|
|
|
],
|
|
|
|
"platform": "!android & !mingw"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "libpq",
|
|
|
|
"features": [
|
|
|
|
"tcl"
|
|
|
|
],
|
|
|
|
"platform": "windows & !mingw & !arm"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-03-20 00:51:52 +08:00
|
|
|
"bonjour": {
|
2023-06-01 10:55:03 +08:00
|
|
|
"description": "Build with Bonjour support",
|
2022-05-28 08:03:32 +08:00
|
|
|
"supports": "osx"
|
2021-03-20 00:51:52 +08:00
|
|
|
},
|
|
|
|
"client": {
|
2023-06-01 10:55:03 +08:00
|
|
|
"description": "Build all client tools and libraries"
|
2021-03-20 00:51:52 +08:00
|
|
|
},
|
|
|
|
"icu": {
|
2023-06-01 10:55:03 +08:00
|
|
|
"description": "Build with support for the ICU library",
|
2021-03-20 00:51:52 +08:00
|
|
|
"dependencies": [
|
|
|
|
"icu"
|
|
|
|
]
|
|
|
|
},
|
2022-03-24 07:41:00 +08:00
|
|
|
"lz4": {
|
2023-06-01 10:55:03 +08:00
|
|
|
"description": "Use lz4",
|
2022-03-24 07:41:00 +08:00
|
|
|
"dependencies": [
|
|
|
|
"lz4"
|
|
|
|
]
|
|
|
|
},
|
2021-03-20 00:51:52 +08:00
|
|
|
"nls": {
|
2023-06-01 10:55:03 +08:00
|
|
|
"description": "Native Language Support",
|
2023-04-25 08:32:34 +08:00
|
|
|
"supports": "!osx",
|
2021-03-20 00:51:52 +08:00
|
|
|
"dependencies": [
|
2022-03-24 07:41:00 +08:00
|
|
|
"gettext",
|
|
|
|
{
|
|
|
|
"name": "gettext",
|
|
|
|
"host": true,
|
|
|
|
"features": [
|
|
|
|
"tools"
|
2023-06-01 10:55:03 +08:00
|
|
|
],
|
|
|
|
"platform": "!windows, mingw"
|
2022-03-24 07:41:00 +08:00
|
|
|
}
|
2021-03-20 00:51:52 +08:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"openssl": {
|
2023-06-01 10:55:03 +08:00
|
|
|
"description": "support for encrypted client connections and random number generation on platforms that do not have \"/dev/urandom\" (except windows)",
|
2021-03-20 00:51:52 +08:00
|
|
|
"dependencies": [
|
|
|
|
"openssl"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"python": {
|
2023-06-01 10:55:03 +08:00
|
|
|
"$supports": "!(windows & (static | mingw))",
|
|
|
|
"description": "build the PL/Python server programming language",
|
2021-03-20 00:51:52 +08:00
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "libpq",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"client"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"python3"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"readline": {
|
2023-06-01 10:55:03 +08:00
|
|
|
"description": "Use readline",
|
2022-05-28 08:03:32 +08:00
|
|
|
"supports": "!windows, mingw",
|
2021-03-20 00:51:52 +08:00
|
|
|
"dependencies": [
|
|
|
|
"readline"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"tcl": {
|
2023-06-01 10:55:03 +08:00
|
|
|
"$supports": "!(windows & (static | mingw))",
|
|
|
|
"description": "build the PL/Tcl procedural language",
|
|
|
|
"supports": "windows & !mingw",
|
2021-03-20 00:51:52 +08:00
|
|
|
"dependencies": [
|
|
|
|
{
|
|
|
|
"name": "libpq",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"client"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"tcl"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"xml": {
|
2023-06-01 10:55:03 +08:00
|
|
|
"description": "Build with libxml",
|
2021-03-20 00:51:52 +08:00
|
|
|
"dependencies": [
|
2023-06-01 10:55:03 +08:00
|
|
|
{
|
|
|
|
"name": "libxml2",
|
|
|
|
"default-features": false
|
|
|
|
}
|
2021-03-20 00:51:52 +08:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"xslt": {
|
2023-06-01 10:55:03 +08:00
|
|
|
"description": "Build with libxslt",
|
2021-03-20 00:51:52 +08:00
|
|
|
"dependencies": [
|
2022-03-24 07:41:00 +08:00
|
|
|
{
|
|
|
|
"name": "libpq",
|
|
|
|
"default-features": false,
|
|
|
|
"features": [
|
|
|
|
"xml"
|
|
|
|
]
|
|
|
|
},
|
2021-03-20 00:51:52 +08:00
|
|
|
"libxslt"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"zlib": {
|
2023-06-01 10:55:03 +08:00
|
|
|
"description": "Use zlib",
|
2021-03-20 00:51:52 +08:00
|
|
|
"dependencies": [
|
|
|
|
"zlib"
|
|
|
|
]
|
2023-03-02 03:04:27 +08:00
|
|
|
},
|
|
|
|
"zstd": {
|
2023-06-01 10:55:03 +08:00
|
|
|
"description": "Use zstd",
|
2023-03-02 03:04:27 +08:00
|
|
|
"dependencies": [
|
|
|
|
"zstd"
|
|
|
|
]
|
2021-03-20 00:51:52 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|