Commit Graph

43 Commits

Author SHA1 Message Date
jim wang
e98d2f26b7
[libmysql] Fix libmysql export static library error (#31368)
* fix no found libmysql

* update version

* fix export patch

* update version

* fix export patch

* update version
2023-05-15 14:11:20 -07:00
autoantwort
4eb7de6c44
[libmysql] fix sha (#31243) 2023-05-04 10:23:10 -07:00
Gordon Smith
c07e2482dc
[LIBMYSQL] OSX build creates invalid nuget package (#31134)
Fix:  Change /lib/plugin/debug to /debug/lib/plugin
Feat: Change ref to actual tagged version
Fix:  Remove duplicate "remove" file
Fix:  Add WITH_BUILD_ID to MAYBE_UNUSED_VARIABLES

Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
2023-05-01 15:23:17 -07:00
Cheney Wang
e2ca0145ed
[libmysql] Turn off WITH_BUILD_ID to fix baseline (#30796) 2023-04-13 12:25:58 -07:00
双草酸酯
774469f31a
[libmysql] upgrade to 8.0.32 (#30576)
* [libmysql] update to 8.0.32

* update version

* minimize system libs patch

* update version

* fix compilation on macOS with homebrew

* update version

* fix `\n` by mistake

* fix mysql_config

* update version
2023-04-10 19:26:08 -07:00
autoantwort
3e9d06463d
[libmysql] add missing find_dependency (#30130) 2023-03-19 23:41:57 -07:00
Alexander Neumann
16a892c1fb
Single config fixes 2. (#27406)
* freerdp fix single config

* libassuan fix single config builds

* libcanberra fix single config build

* libmysql fix single config builds

* libobd fix single config

* libusb allow single config wrapper

* nmap single config cleanup

* spdk single config stuff

* zeroc-ice fix single config

* zopfli single config fix

* use version date

* v db

* Revert unchanged libodb-pgsql port-version bump.

Co-authored-by: Billy O'Neal <bion@microsoft.com>
2022-10-26 10:55:31 -07:00
Gordon Smith
382a3044b5
[libmysql] Add ncurses dependency (#26121)
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
2022-08-03 19:18:31 -07:00
Cheney Wang
a84a8437c9
[libmysql] Add target include directories (#25886)
Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
2022-07-22 14:38:57 -07:00
Thomas1664
407bc79b39
[openssl] update to 3.0.2 (#22878)
* Create package openssl3

* Create package openssl3

* Delete openssl3

* update version to 3.0.1

* Delete openssl3

* Update manifests to 3.0.1

* Fix download url

* Update port version

* Update version

* Remove wrong port version

* Fix errors

* Fix license

* Remove empty folders

* Fix post-build errors

* Add license field

* Fix cmake for uwp

* Remove patch file

* format manifest

* Update version file

* Fix port version

* version

* Test: remove vcvarsall

* version

* fix version

* version

* Fix docs in cmake files as well

* wrong branch

* Add port openssl-1

* Fix directories

* delete openssl-1

* [openssl-1] Add port

* version

* Fix UWP build

* version

* migrate uthenticode

* version

* Fix UWP build for librabbitmq

* version

* Fix UWP warnings

* version

* Fix patch

* version

* Disable C4996 on UWP

* version

* [idevicerestore] disable C4996

* remove warning fixes

* Revert uthenticode

* Final newlines

* version

* Remove winsock replace

* version

* [libwebsockets] Disable /WX on Windows

* version

* Typo

* version

* Disable C4996 in patch instead

* version

* [luasec] Use openssl-1

* version

* revert luasec

* migrate luasec

* version

* revert winsock

* version

* revert winsock

* version

* revert revert

* version

* Fix platform for luasec

* Fix supports

* version

* .

* version

* uthenticode

* libmysql

* azure-c-shared-utility

* version

* remove azure-c-shared-utility

* revert all

* uthenticode

* version

* azure

* version

* libmysql

* version

* remove mysql

* [libdatachannel] disable warnings on UWP

* version

* Fix patches

* version

* Add openssl-1 to CI baseline

* openssl-1: check if copyright exists

* version

* revert azure

* [libssh2] disable c4996

* version

* [aws-sdk-cpp] -Wno-deprecated

* version

* fix aws patch

* version

* fix aws patch

* version

* [qpid-proton] disable warning

* version

* Fix patch

* version

* [librtmp] disable c4996

* version

* [libu2f-server] disablec4996

* switch version scheme

* version

* [idevicerestore] disable c4996

* version

* typo

* version

* fix cmake

* version

* fix cmake again

* version

* [uthenticode] patch to support Openssl 3

* version

* fix idevicerestore

* version

* search for conflicting copyrights

* version

* Fix luasec

* fix version

* version

* fix azure

* version

* Remove debug stuff

* version

* [open62541] patch

* update port version

* version

* [libmysql] patch

* version

* Fix patch

* version

* Format openssl

* Format openssl portfiles

* Check for conflicting copyrights

* Fix typo

* Rename openssl-1 to openssl1

* Rename openssl-1 to openssl1

* version

* Update ci baseline

* version

* resolve conflicting port versions

* version

* apply latest openssl security fix

* version

* Fix qpid-proton

* version

* retrigger Bbuild of qtbase

* version

* revert qtbase

* Remove openssl1

* version

* version

* fix openssl_version_fix

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2022-04-06 11:04:46 -07:00
LilyWangLL
055684d93a
[libmysql] Fix could not find package config files (#22062)
* [libmysql] Fix could not find package config files

* update version

* [poco] Fix install PocoDataMySQL.lib

* update version

* [poco] Update portfile.cmake

* update version

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2021-12-22 22:53:44 -05:00
autoantwort
9d36855e46
[libmysql] no absolute paths (#21575) 2021-11-22 15:51:13 -08:00
Silver Zachara
586a03afa3
[libmysql] Added limits include patch (#20947)
* [libmysql] Added limits include patch

Fixes numeric_limits is not a member of std build failure on GCC 11.2 in
sql-common/sql_string.cc file.

* Updated version database

* Update portfile.cmake

* Update versions/l-/libmysql.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-10-26 23:45:32 -07:00
Jack·Boos·Yu
6ee0e916d3
[libmysql] Re-fix dependency openssl (#16426)
* [libmysql] Re-fix dependency openssl

* update version record

* LF to CRLF

* update version record
2021-03-10 14:28:59 -06:00
Jack·Boos·Yu
74844c7546
[libmysql/libmariadb] Export unofficial cmake targets (#14290)
* [libmysql/libmariadb] Add vcpkg-cmake-wrapper and usage

* [libmysql] Export target unofficial-libmysql

* [libmariadb] Export target unofficial-libmariadb

* Add conditions

* Remove empty folder

* [libmysql] Enable static build, generate library mysqlclient

* Update ports/libmysql/CONTROL

* [libmysql] Re-write portfile.cmake

* [vcpkg_clean_executables_in_bin] clean up the pdbs

* [libmysql] Fix tools on non-Windows

* [libmysql] Fix tools, fix wrapper

* [libmysql] Add macro libmysql_FOUND

* [vcpkg_clean_executables_in_bin] Revert changes

* [libmysql] Export unofficial-libmysql on both dynamic and static

* Update ports/libmariadb/export-cmake-targets.patch

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-11-10 09:28:45 -08:00
NancyLi1013
184c724033
[libmysql] Update to 8.0.20 (#11303)
* [libmysql] Update to 8.0.20

* Fix the redefinition'MYSQL_BIND' between libmysql and libodb-mysql
2020-05-15 16:37:54 -07:00
yurybura
24e8be5fcf
[boost] update to 1.73.0 (#11221)
* [boost] update to 1.73

* [ompl] remove dependency to boost-disjoint-sets

* [libtorrent] include fixes from RC_1_2 branch

* [liblas] fix boost headers

* [freeopcua] fix std headers

* [pcl] fix build with Boost 1.73.0

* [hpx] fix build with Boost 1.73.0

* [libmysql] fix conflict with C++20 header <version>

* [boost-modular-build-helper] move port-specific b2 options to the file `<port_dir>/b2-options.cmake`
[boost-python] support Python2 (fixes #3495)

* [boost-python] remove Python executable from user-config

* [libtorrent] update version after merge

* [libtorrent] add boost-variant dependency
2020-05-13 10:26:05 -07:00
Tobias Brückner
64f7f2590d
[libmysql] Fix for missing "ADD_COMPILE_FLAGS" command (#10162)
* [libmysql] Apply patch to prevent configuration error in extra/re2

Configuration of the embedded extra/re2 produces an error on Mac with Clang:

    CMake Error at extra/re2/CMakeLists.txt:74 (ADD_COMPILE_FLAGS):
      Unknown CMake command "ADD_COMPILE_FLAGS".

cmake/compile_flags.cmake was not included.

* [libmysql] Remove empty directory /lib/plugin/debug after installation

* [libmysql] Update version to 8.0.4-6

* [libmysql] Remove deprecated include(vcpkg_common_functions)

* [libmysql] x64-osx is now expected to pass CI

* [libmysql] Simplify copying of copyright file

* [libmysql] Handle unsupported triplets with vcpkg_fail_port_install
2020-02-28 21:56:22 -08:00
Phil Christensen
e62d136128
[vcpkg] Add Supports: field. Use contents of triplets instead of names for dependency resolution. (#8601)
* 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>
2020-02-03 14:22:52 -08: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
pravic
18b029a5e3 [WIP] Add a Homepage URL entry for vcpkg ports (#2933)
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-15 16:54:47 -07:00
JackBoosY
59a8a9c624 [libmysql]Fix build error in linux. (#6442)
* [libmysql]Fix build error in linux.

* [libmysql] Fix typo in prerequisites message
2019-06-11 14:41:02 -07:00
hlysunnaram
008c5d8668 Handle VCPKG_BUILD_TYPE (#4287)
* [curl] fix build failure when VCPKG_BUILD_TYPE is set

* [libmysql] fix build failure when VCPKG_BUILD_TYPE is set

* [openssl-windows] use VCPKG_BUILD_TYPE to build release or debug only

* [icu] use VCPKG_BUILD_TYPE to build release or debug only

* [gdal] use VCPKG_BUILD_TYPE to build release or debug only

* bump versions of curl, gdal, icu, libmysql and openssl-windows
2018-10-03 23:09:42 -07:00
Robert Schumacher
4da9d6cbb6 [libmysql] Use relative include path. Fixes #3071 2018-03-19 13:17:59 -07:00
Robert Schumacher
49a719b78a [libmysql] Use system dependencies to avoid ODR violations 2018-03-19 13:06:57 -07:00
Robert Schumacher
7eae9c153e [libmysql] Clarify support message 2018-03-14 02:56:49 -07:00
Robert Schumacher
6b7c48646b [libmysql] Update to 8.0.4 2018-03-13 08:14:58 -07:00
Robert Schumacher
7221344fd8 [libmysql][chakracore] Add fast fail for uwp 2018-03-07 11:10:12 -08:00
Robert Schumacher
e4a619c2ca [eigen3][libffi][libmysql][libwebp][rapidjson][websocketpp] Convert to use vcpkg_from_github 2018-03-02 12:28:42 -08:00
Robert Schumacher
2735cea571 [libmysql] Disable /MT. Convert portfile tabs to spaces and CRLF to LF. 2017-10-25 11:51:21 -07:00
Jim McGrath
89d2112fbe update the hash to match the current github release (!) 2017-09-25 10:39:06 -05:00
Alexander Karatarakis
26516fe485 vcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7) 2017-09-09 00:12:54 -07:00
Alexander Karatarakis
536e18c7cf [libmysql] Disable installer project
Fixes build failure when you have WiX installed in your system and you are using the VS2017 toolset
2017-02-17 16:54:29 -08:00
flysha
8fd59c59bc [libmariadb] rollback conflict with libmysql 2017-01-25 10:25:38 +08:00
Alexander Karatarakis
a5b381f178 [libmysql] Create bin\ and debug\bin\ directories
(also make identation consistent)
2017-01-20 14:38:14 -08:00
sdcb
28bd54e0d0 [libmysql] upgrade to 5.7.17
1. upgraded upstream mysql version to 5.7.17
2. simplified the patch size from 12K to 2K
3. enabled static build
4. switched mysql.h file to mysql/mysql.h
2017-01-20 15:19:23 +08:00
Alexander Karatarakis
cadee66ca2 If portfile is not static-enabled yet, warn and then build dynamic
The opposite if portfile is not dynamic enabled
2016-11-08 14:38:47 -08:00
Alexander Karatarakis
1808d461b0 triplet is now automatically included before portfiles.
Also remove trailing whitespaces from portfiles
2016-11-08 14:25:47 -08:00
Alexander Karatarakis
9b603bd884 [libmysql] Do not create empty directory 2016-11-02 15:23:44 -07:00
Alexander Karatarakis
19c0405963 [libmysql] Marked as not supporting static yet 2016-10-26 16:08:31 -07:00
flysha
1794a18fd3 Add libmariadb. 2016-10-16 08:39:21 +08:00
flysha
d7bc4e9a5f fix some lib, pdb and dll path. 2016-10-15 00:18:02 +08:00
sdcb
97c6bfc021 Add libmysql 2016-10-14 17:50:23 +08:00