aboutsummaryrefslogtreecommitdiff
path: root/ports/mongo-cxx-driver
AgeCommit message (Collapse)Author
2021-09-09Bulk convert control files. (#19986)Billy O'Neal
``` function Convert-Control { Param($full) .\vcpkg.exe format-manifest $full $root = $full.Substring(0, $full.Length - 7) # CONTROL $new = $root + 'vcpkg.json' $content = Get-Content -Raw $new $asJson = ConvertFrom-Json $content -AsHashtable -Depth 100 $oldVersion = $asJson['port-version'] if ($null -eq $oldVersion) { $oldVersionFull = $asJson['version-string'] Write-Host "Got version $oldVersionFull" $match = [System.Text.RegularExpressions.Regex]::Match($oldVersionFull, '^(.+)-(\d+)$') if ($match.Success -and -not [System.Text.RegularExpressions.Regex]::IsMatch($oldVersionFull, '^\d\d\d\d-\d\d-\d\d$')) { $newFullVersion = [string]$match.Groups[1].Value $oldVersion = [int]$match.Groups[2].Value Write-Host "newFullVersion $newFullVersion oldVersion $oldVersion" $newVersion = $oldVersion + 1 $asJson['version-string'] = $newFullVersion Write-Host "Previous version for $full extracted from version field -- setting version-string $newFullVersion and port-version $newVersion" } else { Write-Host "No previous version for $full -- setting 1" $newVersion = 1 } } else { $newVersion = [int]$oldVersion + 1 Write-Host "New version for $full : $newVersion" } $asJson['port-version'] = $newVersion $content = ConvertTo-Json $asJson -Depth 100 Set-Content -Path $new -Value $content .\vcpkg.exe format-manifest $new } Get-ChildItem ports\CONTROL -Recurse | Foreach-Object { Convert-Control $_.FullName } git commit -am "this message" .\vcpkg.exe x-add-version -all git commit -a --amend ```
2021-06-09[libbson] fix cmake find (#14720)Francisco Facioni
2020-10-13Fixed port of mongo-c-driver/mongo-cxx-driver for android (#13850)Markus87
* 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-05-29[mongo-cxx-driver] Patch std::atomic P0883 changes (#11584)Billy O'Neal
Previously submitted as https://github.com/mongodb/mongo-cxx-driver/pull/654
2020-05-01[libbson/mongo-c-driver] Update to 1.16.1 (#10010)Jack·Boos·Yu
* [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-03-25[vcpkg baseline] Fix CI test (#10508)Jack·Boos·Yu
* 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
2019-06-26Do not delete the third_party include folder when building with mnmlstclsparey
2019-06-20[many ports] improvements for linux/wsl (#6730)Stefano Sinigardi
* [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-15[WIP] Add a Homepage URL entry for vcpkg ports (#2933)pravic
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-12[libbson mongo-c-driver mongo-cxx-driver] upgrades to new revision (#6862)Phoebe
* [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-08[mongo-cxx-driver] Add options for C++17 polyfill selectionLeonid Pospelov
2019-02-28Modify `vcpkg_fixup_cmake_targets()` (#5459)Victor Romero
* 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-07[mongo-cxx-driver] Update to 3.2.0 and add cmake targets (#5178)Luke Sparey
* [mongo-cxx-driver] Update to 3.2.0 and add cmake targets * [mongo-cxx-driver] Replace cmake config files to support debug binaries
2018-06-12Add Compiler option -D_DISABLE_EXTENDED_ALIGNED to disable error C2338Larry-Hu
2017-12-19Update downstream libraries to use modularized boostRobert Schumacher
2017-09-09vcpkg_configure_cmake (and _meson) now embed debug symbols within static ↵Alexander Karatarakis
libs (/Z7)
2017-04-13[libbson] [mongo-c-driver] [mongo-cxx-driver] Update to latest ↵Robert Schumacher
(1.6.2/1.6.2/3.1.1)
2017-04-06[mongo-cxx-driver] Fix UWP builds. Deploy THIRD-PARTY-NOTICES.Robert Schumacher
2017-03-06[vcpkg-configure-cmake] Centralize application of ↵Robert Schumacher
CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP
2017-02-16[mongo-cxx-driver] Don't delete mongocxx/options/ dirAlexander Karatarakis
2016-12-19[mongo/libbson] Tabs to spacesAlexander Karatarakis
2016-12-18[mongo-x-driver] upgrade to 1.51/3.10sdcb
2016-11-23[mongo-cxx-driver] using BUILD_SHARED_LIBS instead of self-defined macro.sdcb
related to: https://github.com/Microsoft/vcpkg/pull/316
2016-11-22define MONGOCXX_STATIC in export.hppsdcb
2016-11-22[mongo-cxx-driver] fix static buildsdcb
note: Actually, static build is perfectly fine but the cmake always build static and dynamic library togather, in the static environment, dynamic build will fail due link error. I twisted a patch to the CMakeLists.txt to make dynamic build happy when building static.
2016-11-21[mongo-cxx-driver] there is a failure on link stage, cannot build static, ↵sdcb
warn and then build dynamic
2016-11-21[mongo-cxx-driver] Upgrade to 3.0.3sdcb
Enable static build Disable test and example
2016-11-08If portfile is not static-enabled yet, warn and then build dynamicAlexander Karatarakis
The opposite if portfile is not dynamic enabled
2016-11-08triplet is now automatically included before portfiles.Alexander Karatarakis
Also remove trailing whitespaces from portfiles
2016-10-26[mongo-driver] Mark as not static readyAlexander Karatarakis
2016-10-14Improve mongo client port.flysha
2016-10-13Add libbson, mongo-c-driver, mongo-cxx-driverflysha