Commit Graph

42 Commits

Author SHA1 Message Date
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
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
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
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
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
Jack·Boos·Yu
78d4f88c05
[libpq] Change compile flag /Zi to /Z7 when building Windows (#15361)
* [libpq] Change compile flag /Zi to /Z7 when building Windows

* [libpq] Fix installation about pdbs
2020-12-30 10:40:30 -08:00
ras0219
de299679d9
[libpq] Fix incidental linkage of DL on windows platforms. (#14172)
Previously, detecting the presence of the dlfcn-win32 library resulted in an incorrect `-ldl` injection.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-10-22 21:56:51 -07:00
Andrei Lebedev
8d4fd6df85
[vcpkg, libpq] separate static and shared library installations (#13491)
* [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>
2020-09-24 12:29:13 -07:00
Andrei Lebedev
11f15f3ab8
[libpq] only require bison and flex on Windows (#12674)
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
2020-08-05 14:01:13 -07:00
Jack·Boos·Yu
bad319d271
[libpq] Remove broken features (#12415)
* [libpq] Remove broken features

* Update ports/libpq/portfile.cmake

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-07-15 14:48:22 -07:00
Billy O'Neal
4fb2256085
[vcpkg] Allow CI to pass in all relevant directories and remove use of symbolic links (#11483) 2020-06-03 19:31:28 -07:00
Alexander Neumann
27c6c94202
[vcpkg] Improve make builds (#10402)
* 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>
2020-05-21 10:46:07 -07:00
Alexander Neumann
6b871df7e0
[libpq] Update to 12.2 and some feature fixes (#10915)
* 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
2020-05-18 10:36:03 -07:00
Daniel
4772dc2c40
[libpq] Fix build failure when vcpkg path contains spaces (#10274)
Add quotes to paths in command flags
2020-03-27 20:28:09 -07:00
Robert Schumacher
279faa3fbe
[libpq][spdk-ipsec] Rebuild to correct baseline (#10445)
* [spdk-ipsec] Modernize, cleanup, and mark unsupported on non-Linux

* [libpq] Remove stray whitespace; force rebuild
2020-03-18 09:45:41 -07:00
Alexander Neumann
bdae0904c4 [libpq, openssl, librtmp] libpq 12 and others with openssl 1.1.1d (#8566)
* [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/8917
https://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>
2020-01-13 15:43:36 -08:00
AlvinZhangH
6bed46fa52 [libpq] Update deprecated functions 2019-12-09 17:41:54 +08:00
AlvinZhangH
c6ef1ac79d [libpq] Update the CONTROL version, Delete deprecated functions 2019-12-09 16:10:05 +08:00
Stefano Sinigardi
a9303736fd [LibLZMA] automatic configuration (#6000)
* [LibLZMA] add a config-generated by CMake

* bump control files of LibLZMA and dependent ports

* [tiff] use proper liblzma target
[OpenCV] add an explicit dependency on LibLZMA for static linking

* [liblzma] fix header install path

* [LibLZMA] avoid using targets in old symbols

* fixes for windows-static and trying to see if CI is happier with a share/lib folder written in lowercase

* [LibLZMA] use only modern CMake language, remove patch in favour of target public definition

* [lzma] put symbols in cmake cache

* [libxmlpp] remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS regression

* [lzma] fix header install path

* [liblzma] install wrapper to force config mode

* [liblzma] remove function check inside cmake config since we know it will pass

* [liblzma] wrapper fix

* [tiff,geotiff] general cleanup and patch fixes

* [libgeotiff] remove debug tools

* [tesseract] modernize

* [tiff] fix also tiff_library symbol

* [pdal,libgeotiff] better library integration

* [tiff] restore using unix i/o on UWP, since it was working... for sure win32 one cannot work

* [tiff] enable lzma also on uwp, since it works and is requested by many dependencies

* [selene] enable build on arm/arm64-windows, which was surely broken before

* [lzma] uniform naming with cmake 3.14

* [podofo] fix regression, it requires openssl which was disabled in dependencies

* [many ports] remove unnecessary mods

* [boost-iostream] chmod

* [openssl] fix regression due to missing architecture

* [podofo] fix regression on uwp due to missing include

* [libpq] explicitly fail on UWP, it should avoid being marked as regression

* [shiva] fix regression on linux
2019-05-28 16:58:00 -07:00
Robert Schumacher
b14c1ba908 [libpq][harfbuzz][qt5-base] Fix non-Windows 2018-03-24 09:26:27 -07:00
Robert Schumacher
c17ce742f0 [libpq] Fix config writing into source dir 2018-03-13 07:32:27 -07:00
atkawa7
f9278cdf80 [libpq] update 2017-07-27 19:34:13 -07:00
charlie barto
67303f1569 Added libpq support to qt5
qt5 changes

more qt5 changes

added libpq to qt5

fix merge

fixed left over git thing
2016-12-02 12:19:18 -05:00
charlie barto
89b42cce90 made libpq copy pdb files 2016-11-17 03:19:04 -05:00
Charles Barto
cb488d8407 added libpq port 2016-11-17 03:16:36 -05:00
charlie barto
da65430a30 made libpq copy pdb files 2016-11-17 03:00:58 -05:00
Charles Barto
1cc7a472af added libpq port 2016-11-17 03:00:58 -05:00