Commit Graph

31 Commits

Author SHA1 Message Date
jim wang
27404c2779
[libpq] Delete gendef.pl related patches (#36992)
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
```
2024-02-28 16:46:19 -08:00
MonicaLiu
46c5f1fff1
[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-21 21:54:14 -08:00
Matthias Kuhn
f45fd3334f
[libpq] fix build for *-android-dynamic (#36344)
Android does not like versioned .so files

Backport of 79b03dbb33
2024-01-25 09:36:02 -08:00
Todor Prokopov
cbb9d90a2e
[libpq] Fix MinGW build (#34747) 2023-10-27 18:00:49 -07:00
JonLiu1993
84b4fe24b0
[libpq] update to 16.0 (#34368) 2023-10-10 15:00:28 -07:00
Kai Pastor
2b2852767f
[libpq] Unconditionally install to subdir (#33564) 2023-09-06 16:51:54 -07:00
Osyotr
c6928dfb9e
[python3] Update to 3.11.4 (#31727)
* [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>
2023-08-07 13:19:53 -07:00
Kai Pastor
2f56fdad4b
[libpq,libxslt] Update libpq, fix misc issues (#31314)
* [libpq] Install msys2 autoconf-archive

* Install msys2 zic tool

* Fix zstd patching

* Always build as if cross compiling

* Enable feature client for non-windows

* Cleanup (WIP)

* Cleanup (WIP)

* Update portfile.cmake

* WIP

* WIP

* WIP

* WIP

* [libxslt] Fix pc files

* WIP

* WIP: Test libpq[all]

* WIP

* Update to 15.3

* Move patches

* Revert "WIP: Test libpq[all]"

* Fix install

* Skip import libs for plugins

* Full CI
2023-05-31 19:55:03 -07:00
autoantwort
2c4c5c7187
[libpq] nls does not support osx (#31031)
* [libpq] nls does not support osx

* Trigger Build

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-04-24 17:32:34 -07:00
Kai Pastor
7cda278292
[libpq] Fix windows build without openssl (#30650) 2023-04-05 16:42:30 -07:00
Kai Pastor
73b9a2a359
[openssl,vcpkg-cmake-get-vars] Fix android and emscripten, add feature tools (#29966)
* [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
2023-03-14 14:11:06 -07:00
Alexander Neumann
2c3f7b45b4
[Libpq] update to 15.2 (#29867)
* [libpq] update to 15.2

* v db

* add ldap to wrapper

* fix arm patch

* v db

* use vcpkg_extract_source_archive instead of the _ex version

* v db
2023-03-01 11:04:27 -08:00
ArcticLampyrid
28324ed4b4
[libpq] fix build with non-English MSVC (#26921) (#27851)
* [libpq] fix build with non-English MSVC (#26921)

* [libpq] bump port version

* Update version database
2022-11-18 13:47:40 -08:00
Kai Pastor
be15c29977
[libpq] Fix osx-dynamic (#27103)
* Fix osx-dynamic builds

* Update versions
2022-10-05 14:58:04 -07:00
Matthias Kuhn
6ca56aeb45
[libpq] Fix ios build (#26906) 2022-09-26 14:50:08 -07:00
Alexander Neumann
52b6604253
[libpq] update to 14.4 and pass flags in msbuild (#26051)
* 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
2022-08-04 19:31:00 -07:00
Kai Pastor
d953973cfb
[libpq] Cleanup dependencies, features and autotools patches (#24941)
* 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
2022-05-27 17:03:32 -07:00
autoantwort
0497767b46
[libpq] no absolute paths (#23774) 2022-03-31 10:56:04 -07:00
Daniel Schürmann
440075a9fc
[libpq] Update version to 14.1 2 (#22516)
* 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>
2022-03-23 16:41:00 -07:00
Daniel Schürmann
01a065a970
Libpq update and VCPKG_OSX_SYSROOT fix (#21583)
* [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
2021-12-14 10:59:38 -08:00
autoantwort
ff3e120987
[libpq] no absolute paths (#21271) 2021-11-10 10:50:48 -08:00
Matthias Kuhn
4df8c6d7f0
[libpq] Android compatibility (#21073)
* [libpq] Android compatibility

* version
2021-11-08 21:31:08 -08:00
Long Huan
eabb3ffe71
[libpq]fix windows build failure (#19031)
* 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
2021-07-22 13:41:26 -07:00
Alexander Neumann
e2c3030703
[libpq] Add Secur32.lib and openssl to libpq cmake wrapper (#18377)
* [libpq] add secur32.lib to wrapper

* version stuff

* add openssl fix.

* fix version stuff
2021-06-15 10:33:31 -07:00
Jack·Boos·Yu
d36f68e336
[libpq] Fix cmake wrapper on Windows, add usage (#17232)
* [libpq] Fix cmake wrapper on Windows, add usage

* update version record

* Fix macro PostgreSQL_LIBRARIES

* update version record

* Update ports/libpq/vcpkg-cmake-wrapper.cmake

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>

* Update ports/libpq/vcpkg-cmake-wrapper.cmake

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>

* Update versions/l-/libpq.json

* Update versions/baseline.json

* Update versions/l-/libpq.json

* Update ports/libpq/vcpkg.json

* Update versions/l-/libpq.json

* Update ports/libpq/vcpkg.json

* Update versions/baseline.json

* Update versions/l-/libpq.json

* Update versions/l-/libpq.json

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
2021-04-30 11:10:51 -07:00
Alexander Neumann
326eabc191
[libpq] fix python patches (#15579)
* [libpq] fix python patches

* [libpq] Bump port-version and add comment about python patches

* Bump port-version

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-04-28 21:30:37 -07:00
Long Nguyen
818cf25415
[libpq] mingw support (#16740)
* [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
2021-04-19 17:19:44 -07:00
An Tao
b230db959e
[drogon] Update to 1.4.1 (#16651)
* [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>
2021-03-19 09:51:52 -07:00
autoantwort
112067db83
[libpq] fix filenames (linux -> windows cross compile) (#16434)
* [libpq] fix filenames

* add version files

* add version files
2021-03-01 16:10:04 -08:00
Jack·Boos·Yu
0e3198878b
[libpq] Fix install tool pg_config on Linux (#15748)
* [libpq] Fix install tool pg_config

* update baseline

* [libpq] Use vcpkg_copy_tool_dependencies instead

* update baseline

* [libpq] Fix install tool pg_config

* update baseline

* [libpq] Use vcpkg_copy_tool_dependencies instead

* update baseline
2021-01-28 19:41:44 -08:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00