Commit Graph

41 Commits

Author SHA1 Message Date
Cheney Wang
ddea3c37b6
[mongo-cxx-driver] update to 3.10.1 (#37025) 2024-03-15 18:14:21 -07: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
cc80359416
[mongo-cxx-driver] Update to 3.7.2 (#32459) 2023-07-10 09:54:16 -07:00
Kai Pastor
e819a7d0ae
[mongo-cxx-driver] Update (#27565)
* Update and cleanup

* Fix C++14 guard for MSVC

* Force mongo-cxx-driver feature boost in CI
2022-11-21 09:19:31 -08:00
Roberto C. Sánchez
94c2aed904
[mongo-cxx-driver] set c++17 for std::experimental build (#24083)
* [mongo-cxx-driver] set c++17 for std::experimental build

fixes #21877

* update version

* update git-tree

* add license

* overwrite version

Co-authored-by: FrankXie <v-frankxie@microsoft.com>
2022-04-15 13:29:29 -07:00
Jack·Boos·Yu
d3cb28e98e
[mongo-cxx-driver] Fix installation (#21958)
* [mongo-cxx-driver] Fix installation

* version
2021-12-10 14:05:01 -08:00
autoantwort
f951227f95
[mongo-cxx-driver] no absolute paths (#21096) 2021-11-04 12:59:01 -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
b295670e4b
Bulk convert control files. (#19986)
```
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-09-09 01:24:04 -07:00
Francisco Facioni
d989c8b900
[libbson] fix cmake find (#14720) 2021-06-09 14:45:10 -07: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
Billy O'Neal
a64dc07690
[mongo-cxx-driver] Patch std::atomic P0883 changes (#11584)
Previously submitted as https://github.com/mongodb/mongo-cxx-driver/pull/654
2020-05-29 13:03:06 -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
lsparey
9706c31c75 Do not delete the third_party include folder when building with mnmlstc 2019-06-26 17:44:59 +01: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
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
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
Leonid Pospelov
895660f35c [mongo-cxx-driver] Add options for C++17 polyfill selection 2019-06-08 15:09:08 +03: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
Luke Sparey
0b79c4bb74 [mongo-cxx-driver] Update to 3.2.0 and add cmake targets (#5178)
* [mongo-cxx-driver] Update to 3.2.0 and add cmake targets

* [mongo-cxx-driver] Replace cmake config files to support debug binaries
2019-02-07 15:22:37 -08:00
Larry-Hu
9d0c7ca02e Add Compiler option -D_DISABLE_EXTENDED_ALIGNED to disable error C2338 2018-06-12 01:34:07 -07:00
Robert Schumacher
b79395c4ad Update downstream libraries to use modularized boost 2017-12-19 10:26:27 -08: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
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
e7ad48b0b8 [mongo-cxx-driver] Fix UWP builds. Deploy THIRD-PARTY-NOTICES. 2017-04-06 16:52:44 -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
Alexander Karatarakis
6d2b407b28 [mongo-cxx-driver] Don't delete mongocxx/options/ dir 2017-02-16 23:57:56 -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
a26bf41ac3 [mongo-cxx-driver] using BUILD_SHARED_LIBS instead of self-defined macro.
related to: https://github.com/Microsoft/vcpkg/pull/316
2016-11-23 10:11:17 +08:00
sdcb
db2b51c06a define MONGOCXX_STATIC in export.hpp 2016-11-22 16:27:42 +08:00
sdcb
9d3a91cce2 [mongo-cxx-driver] fix static build
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-22 15:33:24 +08:00
sdcb
686fef9bfe [mongo-cxx-driver] there is a failure on link stage, cannot build static, warn and then build dynamic 2016-11-21 18:04:18 +08:00
sdcb
260f5f20c3 [mongo-cxx-driver] Upgrade to 3.0.3
Enable static build
Disable test and example
2016-11-21 17:41:25 +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