Commit Graph

44 Commits

Author SHA1 Message Date
MonicaLiu
afa41496eb
[mongo-c-driver/libbson] Update to 1.26.0 (#36826)
Fixes #36776, update `mongo-c-driver` and `libbson` to 1.26.0.

mongo-c-driver
-
All features are tested successfully in the following triplet:
```
x86-windows
x64-windows
x64-windows-static
```

The usage test passed on `x64-windows` (header files found):
```
mongo-c-driver provides CMake targets:

    find_package(mongoc-1.0 CONFIG REQUIRED)
    target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:mongo::mongoc_shared>,mongo::mongoc_shared,mongo::mongoc_static>)
```

- [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.~
- [ ] ~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.

---------

Co-authored-by: Monica <v-liumonica@microsoft.com>
2024-02-21 10:23:24 -08:00
Lily Wang
e6a1dc4f53
[vcpkg baseline][mongo-c-driver] Fix the race condition during CMake configure (#36099)
* [vcpkg baseline][mongo-c-driver] Fix the race condition during CMake configure

* update version

* update fix

* update version
2024-01-11 15:37:32 -08:00
jim wang
c59f322676
[mongo-c-driver] update to 1.25.4 (#36070)
* update to 1.25.4

* update version

* static

* update veresion
2024-01-09 10:40:59 -08:00
jim wang
7f5282b7d6
[mongo-c-driver] update to 1.25.2 (#35524) 2024-01-02 14:31:28 -08:00
JonLiu1993
916929b171
[vcpkg baseline][mongo-c-driver] fix mongo-c-driver when Python3 isn't on the PATH (#35521) 2023-12-06 21:26:10 -08:00
jim wang
939eaca496
[mongo-cxx-driver] update to 3.9.0 (#34994)
* update to 3.9.0

* update version

* update libbson

* update version

* Fix static compilation issue

* update version

* patch

* update version

* patch

* update version
2023-11-16 16:52:43 -08:00
双草酸酯
2b7370d1c0
[mongo-cxx-driver] Update port to v3.8.0 (#33209)
* [libbjson] update port to v1.24.3

* update version

* [libbson] add patch

* update version

* [mongo-c-driver] update port to v1.24.3

* update hash

* [mongo-cxx-driver] update port to r3.8.0

* update hash
2023-08-17 12:56:00 -07:00
Kai Pastor
49931943ab
[mongo-c-driver,libbson] Update and fixes (#27517)
* Update and fix mongo-c-driver, libbson

* Update versions

* Feature zstd needs pkgconf

* Update versions

* Set host triplet to bring pkgconf into PATH

* Update versions
2022-11-02 14:39:31 -07:00
autoantwort
33dc2930b6
[mongo-c-driver] no absolute paths (#21264) 2021-11-08 20:40:05 -08:00
autoantwort
e7e328cf9d
[many ports] call vcpkg_fixup_pkgconfig() (#20953)
* [many ports] call vcpkg_fixup_pkgconfig()

The ports generate pc files, but don't call vcpkg_fixup_pkgconfig() so that there are absolute paths in the pc files

* Update port-version for armadillo and polyclipping.

* Update version database.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-10-27 15:19:28 -07:00
bucurb
68c63203e6
[libbson] [mongo-c-driver] [mongo-cxx-driver] Updated to latest (#18751)
* get latest version

* libbson 1.17.6

* Updated patches

* bson sha

* Mongoc upgraded to 1.17.6

* updated sha

* Updated mongoc to latest

* updated sha

* upgraded mongo-cxx

* manifest fix

* updated sha

* PR comments

* updated sha

* fixed missing dependency. deleted unused patch

* sha

* PR comments

* sha

* Use modern cmake helpers for mongo-cxx-driver.

* Rebuild version database.

Co-authored-by: Billy Robert ONeal III <bion@microsoft.com>
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
2021-10-26 22:31:19 -07:00
Billy O'Neal
cd54580d1f
[libbson, mongo-c-driver] Convert to vcpkg.json. (#20039)
* Fixes source writes rather than using DISABLE_PARALLEL_CONFIGURE
* Fixes to use modern vcpkg helpers.
* Fixes to install to the correct include path rather than moving the resulting includes after the fact.
* Remove do-nothign renames.
* Fixes to make static cmake configs find the correct bits.
2021-09-08 11:56:06 -07:00
Johannes Schönberger
9e104306a7
[mongo-c-driver] Fix for custom VCPKG_BUILD_TYPE (#18569)
* Fix mongo-c-driver for custom VCPKG_BUILD_TYPE

* Update version

* Update ports/mongo-c-driver/portfile.cmake

* Update versions/m-/mongo-c-driver.json

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Billy Robert ONeal III <bion@microsoft.com>
2021-07-01 09:03:05 -07:00
ras0219
dd4421808c
[vcpkg_fixup_pkgconfig] Handle spaces in path, do not validate individual libraries (#13126) 2020-12-07 18:17:19 -08:00
Markus87
98c5261b40
Fixed port of mongo-c-driver/mongo-cxx-driver for android (#13850)
* Fixed port of mongo-c-driver/mongo-cxx-driver for android

* mongo-c-driver - Default value of ENABLE_SHM_COUNTERS is AUTO

* Use vcpkg provided variable VCPKG_TARGET_IS_ANDROID to detect android

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* Increased port-version of mongo-c-driver

* Increased port-version of mongo-cxx-driver

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-10-13 15:50:53 -07:00
Jack·Boos·Yu
26577fd0ad
[libbson/mongo-c-driver] Update to 1.16.1 (#10010)
* [libbson/mongo-c-driver] Update to 1.16.1

* [libbson] Refix static build

* [mongo-c-driver] Re-fix dependency libbson and dynamic build

* [mongo-c-driver] Fix generate cmake file

* [mongo-cxx-driver] Fix find libbson

* [mongo-c-driver] Fix generate cmake file when building static

* [mongo-cxx-driver] Fix dependency mongo-c-driver

* update version info

* [mongo-c-driver] Update patch

* [mongo-c-driver] Re-generate patch.

* [mongo-c-driver] Re-generate patch
2020-05-01 12:43:06 -07:00
Jack·Boos·Yu
d98696de85
[vcpkg baseline] Fix CI test (#10508)
* re-trigger ci test

* [kealib] Switch repo to github

* [mongo-c-driver] Set icu as a feature

* [monkeys-audio] Update version to 5.24

* [mongo-c-driver] Fix arm build

* [mongo-c-driver] Re-generate patch

* [mongo-c-driver] Remove key word PRIVATE in patch

* [llvm] Remove default feature tools

* [llvm] Add judgment to install tools

* [llvm] Add more condition

* [llvm] Fix clang cmake files when selecting feature tools

* [halide] Fix build depends info in CONTROL

* update baseline
2020-03-25 20:43:02 -07:00
Robert Schumacher
e916630f20
[libbson][mongo-c-driver] Update to 1.15.1. Parse CONTROL file for version number (#8790) 2019-11-19 11:14:40 -08:00
Stefano Sinigardi
726c111481 [vcpkg] fatal_error when patch fails to apply (#8087)
vcpkg will now fail on failure to apply patches except when using `--head`.
2019-10-07 10:35:13 -07:00
Alexander Neumann
d30e775286 Fix mongo ssl and zlib linkage (#7974) 2019-09-09 11:17:50 -07:00
Victor Romero
a3a6530631
[vcpkg_check_features] Set output variable explicitly and allow reverse-logic check (#7558)
* [vcpkg_check_features] Set OUT_EXPAND_OPTIONS explicitly

* [vcpkg_check_features] Allow reverse logic for features

* [vcpkg_check_features] Document new parameters

* [vcpkg_check_features] Remove unnecessary logging

* Do not create variables for each feature only set OUT_FEATURE_OPTIONS

* Improve documentation

* Update ports that use vcpkg_check_features()

* Missing documentation updates

* [pcl] Fix tools feature

* [opencv,opencv4] Fix usage of vcpkg_check_features()

* [opencv4] Fix typo
2019-08-13 20:13:55 -07:00
Victor Romero
f700dee8eb
[mongo-c-driver] Disable snappy auto-detection (#7338)
* [mongo-c-driver] Disable snappy auto-detection to fix flakiness in mongo-cxx-driver

* [mongo-c-driver] Fix build version
2019-07-19 14:01:54 -07:00
wangli28
78b21911b7 [mongo-c-driver] Add usage (#7048) 2019-07-07 00:19:17 -07:00
Stefano Sinigardi
47d206e149 [many ports] improvements for linux/wsl (#6730)
* [many ports] improve compatibility with WSL and mixed case filesystems

* [treehopper] express dependency on libusb, which was not working on non-win32 platforms and is still broken there

* [libharu] add compatibility with non-win32 platforms

* [geogram] fix openblas on linux
[clapack] better integration with linux environment
[visit-struct] put cmake config file in the expected folder
[geogram] remove trailing underscore to enable compatibility with OpenBLAS

* [openblas] playing with underscore, without success

* [openblas/lapack] fix library integration

* [clapack] improve target handling in cmake module

* [openblas] promote self-generated config to default cmake module, otherwise internal ones thinks wrongly that openblas can also solve lapack libs

* [clapack,openblas] improve libraries integration

* [many ports] fix cmake unnecessary target paths, wrong config paths, empty default dependencies, unnecessary [core] tags

* [suitesparse] improve integration with new lapack/openblas mechanism

* [suitesparse] add no underscore postfix also for linux

* [ceres] fix integration with newer openblas/lapack configs

* [aws-c-event-stream] fix regression

* [systemc] fix regression

* [libwebp,geogram] trigger rebuild

* [libwebp,pthread4w] fix regressions

* [glbinding] fix cmake module installation

* [globjects] disentangle unnecessary dependency from qt5

* [jasper] remove broken and unnecessary patches

* [libwebp] fix regression

* [many ports] avoid using BUILD_SHARED_LIBS which is uninitialized in port files

* [clapack] correctly find dlls

* [clapack] use a generic blas as dependency

* [fizz,g2o] restore expected version

* fix mistake

* [many ports] remove WIN32, APPLE and UNIX (again, they keep creeping in) from ports since they are broken and usually break non-win32 ports

* [libressl,openssl] do not try to build one if the other is already installed

* [itk] update ref and patch to avoid regression

* [libressl,openssl] implement full strategy to fix CI

* [libwebp] disable components that are broken on macOS

* [ogre] enable macOS build

* [freeimage,jxrlib,ogre,openexr,protobuf] port patches from #5169

* [ogre] add missing install command

* [ffmpeg] enable wrapper for cmake module

* [ffmpeg] add avresample module finder

* [ffmpeg] improve module detection and exported symbols

* [ffmpeg] add variables to cache

* [thrift] remove unnecessary build option

* [allegro5] fix shared/static inversion

* [protobuf] cleanup

* [libressl] cleanup

* [moos-core] cleanup

* commented features must not be separated from other features, otherwise vcpkg complains

* [itk] fix regression

* [shogun,itk] fix regressions

* [ogre] fix regression

* [opusfile] add compatibility with non-win32

* [itk] fix regression

* [sndfile,libsndfile] remove duplicate, redirect sndfile to libsndfile

* add missing dependencies

* [ismrmrd] fix regression

* [ffmpeg] trigger rebuild

* [clapack,openblas,libogg] fix regressions on macOS

* [libtins] fix regression

* force rebuild windows regressions, unable to reproduce locally

* [mosquitto] enable non-win32 builds

* [json-dto] force rebuild, unable to reproduce regression locally

* [many ports] uniform naming and path length requests

* fix regression

* fix regression

* [ffmpeg] fixes for downstream projects

* clean up - thanks to reviewers

* trigger rebuild of regressions on macOS

* trigger rebuild of regressions on macOS - part2

* Add core back

* Use VCPKG_CONCURRENCY

* Add core back to suitesparse

* Add core back to curl

* Add core back to magnum

* Add core back to magnum

* Add core back to magnum

* Add core back to cgal
2019-06-20 19:11:54 -07:00
Phoebe
08cbf0b3cd [libbson mongo-c-driver mongo-cxx-driver] upgrades to new revision (#6862)
* [libbson mongo-c-driver mongo-cxx-driver] upgrades to new revision

* [mongo-cxx-driver] Minimize patch

* [mongo-c-driver] Fix dependencies on openssl and zlib
2019-06-12 23:08:09 -07:00
ivysnow
e1ae8f62b9 [libbson][mongo-c-driver] Update to version 1.13.0. (#4770)
* [libbson][mongo-c-driver] Update to version 1.13.0.

* [mongo-c-driver] don't publish libbson files
2019-04-12 08:56:36 -07:00
Victor Romero
8641dfd9dd
Modify vcpkg_fixup_cmake_targets() (#5459)
* some libraries export <PackageName>LibraryDepends.cmake
instead of <PackageName>Targets.cmake.
Those file also need the fix of #1044

should close #4753

* prefered the general solution #4622.
hopefully solved the issue within #4150
replaced the regex with something more readable
(also ident is lost)

should close:
#4753
#4633
#4150
and maybe more

* Hash vcpkg_fixup_cmake_targets.cmake

* [boost] Fix use of find_package(Boost) with cache variables
[socket-io-client] Fix install

* reversed change back to use regex replace

* [glbinding] Fix _IMPORT_PREFIX depth in *-export.cmake files

* [tinyspline] Ignore warnings treated as errors

* [libevent, liblemon, libpng, smpeg2, zlib] Fix apply patches

* [libsodium] Fix apply patches

* [folly] Link correct libraries in debug and release

* [vtk] Remove unset of _IMPORT_PREFIX

* [tinyspline] Do not treat warnings as errors

* [smpeg2] Fix double* to int comparison

* [nvtt] Define value for HAVE_UNISTD_H in MacOS

* [libui] Fix MacOS X build

* [zlib] Fix download URL

* [qhull] Update to v7.2.1

* [podofo] Set value for HAVE_UNISTD_H in MacOS

* [mongo-cxx-driver,ogre,podofo,qhull] Bump CONTROL version

* [mongo-c-driver] Set _IMPORT_PREFIX

* [tmxparser] Bump CONTROL version

* [qhull,vxl] Bump CONTROL version
2019-02-28 23:53:42 -08:00
piloopin
0f04ebaf57 [mongo-c-driver] fix mongo-c-driver build for linux (#5445)
* fix mongo-c-driver build for Linux
2019-02-25 12:34:59 -08:00
inv2004
18ba27b4ca mongo and bson 1.9.2 to 1.9.5 (#4722)
* mongo and bson 1.9.2 to 1.9.5

* [libbson][mongo-c-driver] Modernize
2018-12-05 10:16:23 -08:00
Ivy Snow
04eb62a1bf [mongo-c-driver] update to 1.9.2 2018-01-19 12:10:05 +08:00
Ivy Snow
7f3e5e3f77 [mongo-c-driver] update to 1.9.0 2018-01-01 15:22:26 +08:00
Robert Schumacher
0074703e9a [libbson] [mongo-c-driver] [mongo-cxx-driver] Update to latest (1.6.2/1.6.2/3.1.1) 2017-04-13 19:00:15 -07:00
Robert Schumacher
0163b19e32 [mongo-c-driver] Fix UWP builds. Deploy THIRD_PARTY_NOTICES. 2017-04-06 16:42:22 -07:00
Robert Schumacher
6e44495b2f [vcpkg-configure-cmake] Centralize application of CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP 2017-03-06 10:46:45 -08:00
sdcb
aa964e8d84 set BSON_INCLUDE_DIR is not necessary. 2017-01-07 15:44:29 +08:00
sdcb
6947f0aea1 [mongo-c-driver] fix static build 2017-01-07 15:21:19 +08:00
Alexander Karatarakis
bcab7f3913 [mongo/libbson] Tabs to spaces 2016-12-19 15:16:38 -08:00
sdcb
ea3113a4f5 [mongo-x-driver] upgrade to 1.51/3.10 2016-12-18 16:26:12 +08:00
sdcb
b63d35b10b [mongo-c-driver] Upgrade to 1.5.0-rc6
Enable building static library.
Exclude test and examples.
2016-11-21 13:51:48 +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
52e40e67ca [mongo-driver] Mark as not static ready 2016-10-26 17:10:14 -07:00
flysha
0c2878583a Improve mongo client port. 2016-10-14 08:07:22 +08:00
flysha
113945a733 Add libbson, mongo-c-driver, mongo-cxx-driver 2016-10-13 01:08:55 +08:00