Fixes https://github.com/microsoft/vcpkg/issues/36693
Delete the patch of gendef.pl in
`vcpkg\ports\libpq\windows\msbuild.patch`. Because starting with
PostgreSQL 16, the "Win32" patch is no longer valid, the command line
arguments to gendef.pl were changed from Win32 to x86.
- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] ~~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.
Usage test pass with following triplets:
```
x86-windows
x64-windows
```
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>
* [python3] Update to 3.11.3
* Force set PythonForBuild on windows
* Set LD_LIBRARY_PATH on unix
* Always use vcpkg_find_acquire_program(PYTHON3) on windows
* Remove LD_LIBRARY_PATH shenanigans
* [vtk] Parse python version from include folder
* Fix static builds on windows
* Pass --with-build-python on unix
* [omniorb] Fix python version in patch
* Resurrect rpath patch
* [python3] fix usage
* [gobject-introspection] don't hardcode python version
* Update vcpkg_find_aquire_program(PYTHON3)
This is also required for gobject-introspection
* [paraview] don't hardcode python version
* [vtk-dicom] don't hardcode python version
* Update python in vcpkgTools.xml
* Fix host arch detection in vcpkg_find_acquire_program(PYTHON3)
* [libpq] Don't hardcode python version
* [shiva] Don't pass python variables
* [vcpkg-get-python-packages] Delete unused file, update hardcoded python version
* [python3] update to 3.11.4
* [omniorb] Use PREPEND in vcpkg_add_to_path
So that python from vcpkg is picked before system python
* libpq quickfix
* re-fix libpq
* fix vcpkg-get-python-packages
* Make windows 7 patch compatible with unix builds
* Copy pyd files to bin
Also fixes copying files that do not belong to current build tree
* Fix static builds
* Speculatively fix osx regression
* Fix omniorb on unix
* [gobject-introspection] fix windows builds
* [vtk] Update vendored copy of mpi4py for python 3.11 support
* [mdl-sdk] Fix python
* [gobject-introspection] fix the fix of a fix...
* Update versions
* Undo changes in gobject-introspection and vcpkg_find_aquire_program(PYTHON3)
---------
Co-authored-by: root <root@DESKTOP-UIPL9V8>
* [vcpkg-cmake-get-vars] Call 'project' early
System variables like 'APPLE' or 'ANDROID' aren't set before 'project()'.
* Get Android variables
* [openssl] Ensure that compiler is reached via 'PATH'
* Fix Android configuration
* Add 'tools' feature
* Update versions
* [openssl] Initialize android with vcpkg settings
* [openssl] Really don't build apps
* [vcpkg-cmake-get-vars] Update android vars
* [libpq] Pass openssl version from pkgconfig
* [vcpkg-cmake-get-vars] Update android vars
* [vcpkg-cmake-get-vars] Report generator
* [vcpkg-cmake-get-vars] Escape all output
* Transfer cmake-get-vars fixes
* Transfer cmake-get-vars extra flags
* no-asm for android-arm w/o neon
* [vcpkg_configure_make] Unquote as needed
Toolchain flags are passed into make via environment variables (e.g.
CFLAGS) and expanded by Makefiles regardless of quotes. And even vcm's
internal handling isn't prepared for these quotes. So we must remove
the early. This doesn't interfere with properly escaped quotes.
* Re-add lost 'project', amends 4cf7caaa
* [openssl] Fix emscripten
* update libpq and pass flags to msbuild
* v db
* readd patch for linux
* v db
* readd patch
* v db
* Update ports/libpq/patches/fix-configure.patch
* v db
* use #pragma x_macro
* v db
* CI retrigger
* Consolidate autotools patches with pkg-config
Fixes mingw builds.
* No msbuild limitations for mingw
* Implement readline support
* Remove features which never built
* Bonjour support is osx only
* Move remaining support checks to manifest
* Remove libpq uwp fail from ci baseline
* Update versions
* update to 14.1
* adjust patches
* add lz4 feature on !windows
* version stuff
* [skip actions] patch configure.ac and run autoreconf
* fix some stuff
* [skip actions] more details
* [libpq] Add license filed to vcpkg json
* [libpq] Adjust tcl version to 90g 90s and 90sg
* [libpq] fail early from unsupported features
* [libpq] lake xslt dependent from xml
* [libpq] Update version database
* [libpq] quote static
* [libpq] Update Version Database
Co-authored-by: Alexander Neumann <Alexander.Neumann@hamburg.de>
* [libpq] Update to 12.9
* [libpq] Use VCPKG_OSX_SYSROOT if set
otherwise configure set the default sysroot in addition, ignoring the
sysroot set by vcpkg_configure_cmake.
* [libpq] remove comment only chunks from patches
* [libpq] update version registry
* fix windows build failure
fix Could not find debug or release binaries at libpq\x64-windows-rel\src\tools\msvc/Install.pm line 77.
* Update libpq.json
* [libpq] mingw support
* [libpq] Let libpq decides whether to build _shlib or not
libpqcommon.a and libpqport.a are internal libraries intended for
sharing code between the frontend and the backend. It's best to let
the build system decides if the _shlib variant should be built or not
* [libpq] Always run install-lib-static on mingw
* [libpq] Rename .a to .dll.a and move .dll to correct folder
* [libpq] Create bin folder for mingw
* [vcpkg baseline] Update libpq
* [libpq] Link with crypt32 on mingw
* [vcpkg baseline] Update libpq
* [libpq] Fix release/debug only build
* [vcpkg baseline] Update libpq
* [drogon] Update to 1.4.1
* Update patch
* Format
* update version
* Revert the ctl feature
* update version
* [libpq] Fix static linkage
* [drogon] Revert direct postgresql library linkage
Co-authored-by: Jonliu1993 <13720414433@163.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Previously, detecting the presence of the dlfcn-win32 library resulted in an incorrect `-ldl` injection.
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* [vcpkg] add missing Makefile flag for install step
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
* [libpq] add custom Makefile to install only required targets
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
==== Changes Related to manifests ====
* Add the `manifests` feature flag
* This only says whether we look for a `vcpkg.json` in the cwd, not
whether we support parsing manifests (for ports, for example)
* Changes to the manifests RFC
* `"authors"` -> `"maintainers"`
* `--x-classic-mode` -> `-manifests` \in `vcpkg_feature_flags`
* reserve `"core"` in addition to `"default"`, since that's already
reserved for features
* Add a small helper note about what identifiers must look like
* `<license-string>`: SPDX v3.8 -> v3.9
* `"feature"."description"` is allowed to be an array of strings as well
* `"version"` -> `"version-string"` for forward-compat with versions
RFC
* Add the `--feature-flags` option
* Add the ability to turn off feature flags via passing
`-<feature-flag>` to `VCPKG_FEATURE_FLAGS` or `--feature-flags`
* Add CMake toolchain support for manifests
* Requires either:
* a feature flag of `manifests` in either `Env{VCPKG_FEATURE_FLAGS}`
or `VCPKG_FEATURE_FLAGS`
* Passing the `VCPKG_ENABLE_MANIFESTS` option
* The toolchain will install your packages to
`${VCPKG_MANIFEST_DIR}/vcpkg_installed`.
* Add MSBuild `vcpkg integrate install` support for manifests
* Requires `VcpkgEnableManifest` to be true
* `vcpkg create` creates a port that has a `vcpkg.json` instead of a
`CONTROL`
* argparse, abseil, 3fd, and avisynthplus ports switched to manifest
from CONTROL
* Add support for `--x-manifest-root`, as well as code for finding it if
not passed
* Add support for parsing manifests!
* Add a filesystem lock!
==== Important Changes which are somewhat unrelated to manifests ====
* Rename `logicexpression.{h,cpp}` to `platform-expression.{h,cpp}`
* Add `PlatformExpression` type which takes the place of the old logic
expression
* Split the parsing of platform expressions from checking whether
they're true or not
* Eagerly parse PlatformExpressions as opposed to leaving them as
strings
* Add checking for feature flag consistency
* i.e., if `-binarycaching` is passed, you shouldn't be passing
`--binarysource`
* Add the `Json::Reader` type which, with the help of user-defined
visitors, converts JSON to your internal type
* VcpkgArgParser: place the switch names into a constant as opposed to
using magic constants
* In general update the parsing code so that this ^ works
* Add `Port-Version` fields to CONTROL files
* This replaces the existing practice of
`Version: <my-version>-<port-version>`
==== Smaller changes ====
* small drive-by cleanups to some CMake
* `${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}` ->
`${CURRENT_INSTALLED_DIR}`
* Remove `-analyze` when compiling with clang-cl, since that's not a
supported flag (vcpkg's build system)
* Add a message about which compiler is detected by vcpkg's build
system machinery
* Fix `Expected::then`
* Convert `""` to `{}` for `std::string` and `fs::path`, to avoid a
`strlen` (additionally, `.empty()` instead of `== ""`, and `.clear()`)
* Add `Strings::strto` which converts strings to numeric types
* Support built-in arrays and `StringView` for `Strings::join`
* Add `operator<` and friends to `StringView`
* Add `substr` to `StringView`
* SourceParagraphParser gets some new errors
* update all 16 configure_make ports
* add make wrappers for msvc
* improve make builds
* fix relativ path errors on linux (and osx?)
* revisit all 16 portfiles again
* remove trace from install
* fix relative build path issues.
* bump control of the 16 configure ports
* never forget .... real linux is case sensitive ....
* Revert "bump control of the 16 configure ports"
This reverts commit 40d6d81c01.
* Revert "Revert "bump control of the 16 configure ports""
This reverts commit 9c9851ddfc.
* bump control again for real ci rebuild
* add copy_source
* remove message
* pass parameters to vcpkg_build_make
* fix healpix build.
* fix libmagic regression
* fix libwandio regression
* pfring changes regression fix? (cannot test in wsl)
* ws change to retrigger CI
* fix libpq regression
* fix libudns regression
* add share/pkgconfig to PKG_CONFIG_PATH
* cleanup of deprecated options
* cleanup docs
* Revert "bump control again for real ci rebuild"
This reverts commit b4bc18edc2.
* shared binaries on linux should stay in lib. Only dlls are mvoed to bin
* move pkgconfig check and add message about missing system packages
* added autopoint as a build requirement
* fix prerun shell working dir.
* a few fixes from the x windows pr
- add libpath setting
- fixed pkgconfig search on windows platforms
- fixed autopoint msys package on windows
* fix release prefix
* minimal cleanup and ws changes to trigger true CI rebuild
* fix tcl by upgrading
* remove unnecessary rename
* fix pfring? can't test in WSL. Linux kernel headers required.
* fix lowercase in patch
* fix libwandio
* remove x264 from fail list
* replace wrappers with wrappers from automake
* update make ports
* remove unnecessary message
* refactor vcpkg_configure_make
* [tcl] remove stray ?
* [farmhash] fix build
* [freexl] ws change to retrigger ci build
* [x264] add pthread as a dependency
* [vcpkg/scripts] add ignore flag correctly
* [sdl] fix vcpkg_fixup_pkgconfig call
* [farmhash/freexl] delete configure and recreate it.
* [libudns] remove trailing ?
* [freexl] use empty build target
* [freexl] add system library; remove previous change
* Update ports/x264/portfile.cmake
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
* [libwandio] remove unncessary comment
Co-authored-by: dan-shaw <51385773+dan-shaw@users.noreply.github.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
* fix number of spaces in string replacement
* fix libiconv library name
* [libpq] update to 12.2
fix some issues with features
feature combination client+nls does not compile with latest VS
due to libpq src's accessing an implementation detail (needs upstream fix)
* on arm skip host openssl version check if host cannot execute the triplet version
* use PORT_VERSION to update the version references more easily
* fix tcl and python feature on windows
* remove unfinished "supports" tag
* extract "supports" from control files
But do nothing with the value
* Start `Supports` documentation
* Use Supports in a bunch of control files
I only tried matching the already existing logic in the portfile.cmake.
* Cmake var provider (#8)
* Cmake var provider (#9)
* fix windows build (#10)
* Add missing files to build
* Fix test (#11)
* adding hooks for cmake variables in expressions
* Adding hooks for 'supports' in CI test
* Fix test (#12)
* Add overrides to evaluation environment
* use "supported" tag in CI testing
* cleanup comment
* Fix issues with PR
* [var_provider] Get library linkage variables from triplet
* Fix compilation errors in tests
* Add unimplemented functions
* Fix unit tests part 1
* Fix issue when buildtrees dir does not exist
* Change binary output hash
* Fix handling of * feature
* Add core feature when using *
* Do not add Default-Features when installing 'core'
* [vcpkg] WIP. 6 failing tests.
* [vcpkg] WIP. 1 failing tests.
* [vcpkg] WIP. 0 failing tests.
* [vcpkg] Removed 'remove_graph'. 0 failing tests.
* [vcpkg] Removed 'install_graph'. 0 failing tests.
* [vcpkg] Remove AnyAction; replace with ActionPlan
* [vcpkg] Minor cleanup.
* [vcpkg][z3][qt5-connectivity][qt5-purchasing] Improve error messages while parsing. Fix a few trivial port issues.
* [vcpkg] Work around ICE with MSVC v140
* [vcpkg] Add purge on fail to decompress for CI
* [vcpkg] Fix parsing of nested parentheses in qualifiers
* [vcpkg] Fix Linux builds (explicit qualification in declaration)
* [vcpkg] Fix Build-Depends implying default features. Fix qualified dependencies regression.
* [mmx] Add to skip list and full rebuild -- mmx causes problems by installing 'sched.h'
* [libpqxx][mqtt-cpp] Prevent installing include/CMakeLists.txt
* [cppitertools] Fix installed include namespace (should be include/cppitertools)
* [libsoundio] Move headers into soundio/ subdirectory as per original cmake
* [ci.baseline] Temporarily skip charls due to conflict with dcmtk
* [vcpkg] Add restricted include files post build check -- bump global abi version
* [libsoundio] Hotfix stray line in portfile
* [vcpkg] Fix regression: CMake information was not being displayed for build-and-install actions
* [jsonnet] Fix installation of internal headers; use system nlohmann-json
* [grpc][upb] Teach grpc to use packaged upb. Add find_package(upb). Remove inappropriate upb features.
* [zfp] Move problematic 'include/bitstream.h' to 'include/zfp/bitstream.h'
* [x265] Bump control version to trigger rebuild after zfp conflict
* [akali] Disable parallel configure
* [dirent][dlfcn-win32][getopt-win32][pthreads] Grandfather into VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS
* [ci.baseline] Update baseline for improved upb support
* [tgui] Disable parallel configure
* [libiconv] Enable VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS
* [aws-sdk-cpp] Disable parallel configure
* [vcpkg] Implement policy VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS
* [aws-sdk-cpp] Fix amount of escaping semicolons -- Note: I do not know the root cause requiring this change
* [libodb-sqlite] Fix configuring into source directory
* [gettext] Grandfather into VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS
* [libodb] DISABLE_PARALLEL_CONFIGURE
* [vcpkg] Add 'config.h' and 'local.h' to restricted header list
* [mcpp] Remove unused and problematic include 'config.h' from installed files
* [teemo] Move installed headers into subdirectory to prevent conflicts with x265
* [ci.baseline] Update current OSX. Skip libmesh on all platforms due to heavy conflicts.
* [vcpkg] Add 'slice.h' as a restricted header
* [osg] Improve accuracy of dependencies (disable some, add some to Depends)
* [vcpkg] Skip invoking a subprocess for 0 specs in load_tag_vars
* [ci.baseline] Skip mongo-c-driver on osx due to flakiness
* [teemo] Fix incorrect include file read
* [osg] Fix dependency typo: glut -> freeglut
* [vcpkg] Recover some lost performance with the addition of vcpkg_get_tags.
A huge performance cost was loading the triplet files over and over; instead, we splice the sources into a macro and load it once, then just call that macro for each port.
Remove use of hashing because we aren't cross-process-safe anyway (global static will do instead).
* [vcpkg] Change Supports atom 'windows' to include UWP. Improve Supports field documentation.
* [vcpkg] Add docs for VCPKG_ENV_PASSTHROUGH and VCPKG_DEP_INFO_OVERRIDE_VARS
* Fix typo
Co-authored-by: Curtis J Bezault <curtbezault@gmail.com>
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* [ports] Update openssl-unix to 1.1.1c
* [ports] Update openssl-unix to 1.1.1d
* [ports] openssl-unix platform 'AMD64' is called 'x86_64' on Linux
* [ports] fix openssl platform
* [ports] openssl-windows update openssl to 1.1.1d
* [ports] Fix openssl post build
* [ports] openssl add EnableUWPSupport.patch
Reference:
https://github.com/openssl/openssl/pull/8917https://github.com/openssl/openssl/pull/9440
* [ports] openssl-uwp update openssl to 1.1.1d
* Updated support for OpenSSL v1.1
With OpenSSL v1.1 we need an additional flag for ACE
* update to 12.0 and change to vcpkg_configure_make
* remove msys line
* remove custom cmakelists
* use --without-readline on linux
* Update CONTROL
Fix version
* fix portfile
* add all possible libpq features
* create vcpkg_get_build_depends
* create vcpkg_read_dependent_port_info
* add vcpkg_write_port_info
* fix a few bugs
* libpq first succesful x86 build with core features.
(files still must be moved)
* always write the variable
* Fix separate make and install execution error issue.
* trigger CI system.
* add openssl and win_bison win_flex patch
* add configuration dependent patches
* add bonjour as a dependency on macosx
* apply patches and configure features
* more patches to fix the windows build
* more install fixes
* remove unnecessary code
* bit of code cleanup
* remove unrelated files
* remove unrelated function call. function was removed with last commit
* removed hardcoded platform
* fix patch
* build only the interface libraries and nothing more
* forgot to remove tool ecpg from install
* seperate minimal install patch from normal install patch and introduce client feature
* fix x86 Platform variable being x86 and not Win32 as required by the generated project
* make linux build work
* make more linux work
* openssl return version number directly without calling openssl
(should probably be done differently)
* fix some more path and platform identification
* comments to reduce install. currently libpq installs static and shared libraries and some tools on linux
* patch arm
* fix platform detection logic
* make libpq osx buildable
* Rename debug import library after build.
(So that we don't affect external CMake users.)
* revert debug naming and install a wrapper instead.
* fix gdal regression due to name change
* fix cutelyst regression due to qt5-base wrapper
(why was it not using the target in the first place?)
* correct wrapper install path
* correct the arm patch.
* trying to fix static gdal build
* gdal still needs more work
* update version of openssl in libpq openssl patch
* nmap fix openssl
* qt5 fix openssl
* gdal fix openssl
* librtmp migrate to openssl 1.1.1
* fail in patch since what is intended is not going to work in openssl 1.1.1
* fix static yara build
* freedtds deactivate openssl feature until freetds decides to upgrade to 1.1
* fix libwebsockets cmakelists
* fix the patch so that the generated targets also include crypt32
* xmlsec add threads dependency
* bump control since I am unable to reproduce the regression
* add pthread to openssl detection logic
* fix freetds linkage missing crypt32 and fix the cmake checks.
* fix the openssl wrapper to add the threads library
* fix libmysql regression
* add threads to openssl libraries.
* upgrade libssh to 0.9
* fix nmap regression
* fix mosquitto regression
* fix openssl wrapper to make libarchive work
* fix quickfix
* changed patch a bit
* improve freetds patch
* fix case in librtmp
* update control
* bump control
* fix case
* make jasper a dependency of qt5-imageformats to fix flaky CI build.
* add jasper libraries explicitly
* jasper depends on freeglut so add it as a dependency. turbo_jpeg is also a dependency but that should already be handled in qt5-base
* more glut names
* bump control for macosx ci retry
* fix slikenet regression
* fix linebreak in qt5-base
* update baseline
* Update ci.baseline.txt
those ports are not supported on UWP
* [libevent] add dependency on libevent[threads] to openssl feature
* [pdal,freerdp] Update CI baseline to fail
* fix static pdal build
* fix freerdp on linux
* trying to revert some changes
* revert changes in build make
* revert x264 version bump
Co-authored-by: Force Charlie <6904176+fcharlie@users.noreply.github.com>
Co-authored-by: Johnny Willemsen <jwillemsen@remedy.nl>
Co-authored-by: Lennart Trunk <lennart.trunk@outlook.de>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>