mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 09:33:58 +08:00
46c5f1fff1
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>
195 lines
4.0 KiB
JSON
195 lines
4.0 KiB
JSON
{
|
|
"name": "libpq",
|
|
"version": "16.2",
|
|
"description": "The official database access API of postgresql",
|
|
"homepage": "https://www.postgresql.org/",
|
|
"license": "PostgreSQL",
|
|
"supports": "!uwp",
|
|
"dependencies": [
|
|
{
|
|
"name": "libpq",
|
|
"default-features": false,
|
|
"features": [
|
|
"bonjour"
|
|
],
|
|
"platform": "osx"
|
|
},
|
|
{
|
|
"name": "vcpkg-cmake-get-vars",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "vcpkg-pkgconfig-get-modules",
|
|
"host": true,
|
|
"platform": "windows & !mingw"
|
|
}
|
|
],
|
|
"default-features": [
|
|
"lz4",
|
|
"openssl",
|
|
"zlib"
|
|
],
|
|
"features": {
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"bonjour": {
|
|
"description": "Build with Bonjour support",
|
|
"supports": "osx"
|
|
},
|
|
"client": {
|
|
"description": "Build all client tools and libraries"
|
|
},
|
|
"icu": {
|
|
"description": "Build with support for the ICU library",
|
|
"dependencies": [
|
|
"icu"
|
|
]
|
|
},
|
|
"lz4": {
|
|
"description": "Use lz4",
|
|
"dependencies": [
|
|
"lz4"
|
|
]
|
|
},
|
|
"nls": {
|
|
"description": "Native Language Support",
|
|
"supports": "!osx",
|
|
"dependencies": [
|
|
"gettext",
|
|
{
|
|
"name": "gettext",
|
|
"host": true,
|
|
"features": [
|
|
"tools"
|
|
],
|
|
"platform": "!windows, mingw"
|
|
}
|
|
]
|
|
},
|
|
"openssl": {
|
|
"description": "support for encrypted client connections and random number generation on platforms that do not have \"/dev/urandom\" (except windows)",
|
|
"dependencies": [
|
|
"openssl"
|
|
]
|
|
},
|
|
"python": {
|
|
"$supports": "!(windows & (static | mingw))",
|
|
"description": "build the PL/Python server programming language",
|
|
"dependencies": [
|
|
{
|
|
"name": "libpq",
|
|
"default-features": false,
|
|
"features": [
|
|
"client"
|
|
]
|
|
},
|
|
"python3"
|
|
]
|
|
},
|
|
"readline": {
|
|
"description": "Use readline",
|
|
"supports": "!windows, mingw",
|
|
"dependencies": [
|
|
"readline"
|
|
]
|
|
},
|
|
"tcl": {
|
|
"$supports": "!(windows & (static | mingw))",
|
|
"description": "build the PL/Tcl procedural language",
|
|
"supports": "windows & !mingw",
|
|
"dependencies": [
|
|
{
|
|
"name": "libpq",
|
|
"default-features": false,
|
|
"features": [
|
|
"client"
|
|
]
|
|
},
|
|
"tcl"
|
|
]
|
|
},
|
|
"xml": {
|
|
"description": "Build with libxml",
|
|
"dependencies": [
|
|
{
|
|
"name": "libxml2",
|
|
"default-features": false
|
|
}
|
|
]
|
|
},
|
|
"xslt": {
|
|
"description": "Build with libxslt",
|
|
"dependencies": [
|
|
{
|
|
"name": "libpq",
|
|
"default-features": false,
|
|
"features": [
|
|
"xml"
|
|
]
|
|
},
|
|
"libxslt"
|
|
]
|
|
},
|
|
"zlib": {
|
|
"description": "Use zlib",
|
|
"dependencies": [
|
|
"zlib"
|
|
]
|
|
},
|
|
"zstd": {
|
|
"description": "Use zstd",
|
|
"dependencies": [
|
|
"zstd"
|
|
]
|
|
}
|
|
}
|
|
}
|