Commit Graph

13 Commits

Author SHA1 Message Date
Billy O'Neal
c9e786d81a
[many ports] remove remaining vcpkg_fail_port_install calls. (#22770)
* Bulk remove vcpkg_fail_port_install calls.

Interesting ones have been split out into separate reviews, where "interesting" means "anything more than just deleting the call to vcpkg_fail_port_install",

In support of https://github.com/microsoft/vcpkg/pull/21502

* Update version database.

* Revert google benchmark changes already submitted as https://github.com/microsoft/vcpkg/pull/22728

* Repair version database.
2022-01-25 10:31:15 -08:00
winsoft666
18bf5235ee
[teemo] Update to v2.6 (#22384)
* [teemo] Update to v2.6

* [teemo] Update version.

Co-authored-by: Jonliu1993 <13720414433@163.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2022-01-06 13:16:54 -08:00
winsoft666
4446d54ab5
[teemo] Fix string replace error. (#22244)
* [cpp-ipc] Update 1.0.1

* [cpp-ipc] Update version and ci.baseline

* [cpp-ipc] Remove cpp-ipc from ci.baseline.txt

* [teemo] Update to v2.3

* [teemo] Run `vcpkg x-add-version --all`

* [teemo] Update vcpkg.json

* [teemo] Run vcpkg `x-add-version teemo --overwrite-version`

* Remove excess teemo.json

* [teemo] Update to v2.4

* [teemo] run ./vcpkg x-add-version --all

* [teemo] Update to v2.5

* [teemo] Update versions/t-/teemo.json

* [teemo] Fix string replace error.

* [teemo] Update port version.

* [teemo] Use port-version instead of appending #2.

* [teemo] Run 'vcpkg x-add-version --all'

* [teemo] Add maintainers.

* Update versions/t-/teemo.json

* Update versions/t-/teemo.json

* Update ports/teemo/vcpkg.json

* [teemo] Format vcpkg.json

Co-authored-by: Jonliu1993 <13720414433@163.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2021-12-30 09:52:00 -08:00
winsoft666
bfacc7c206
[teemo] Update to v2.5 (#22136)
* [cpp-ipc] Update 1.0.1

* [cpp-ipc] Update version and ci.baseline

* [cpp-ipc] Remove cpp-ipc from ci.baseline.txt

* [teemo] Update to v2.3

* [teemo] Run `vcpkg x-add-version --all`

* [teemo] Update vcpkg.json

* [teemo] Run vcpkg `x-add-version teemo --overwrite-version`

* Remove excess teemo.json

* [teemo] Update to v2.4

* [teemo] run ./vcpkg x-add-version --all

* [teemo] Update to v2.5

* [teemo] Update versions/t-/teemo.json

Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-12-21 23:20:09 -05:00
winsoft666
7d561d789b
[teemo] Update to v2.4 (#22105)
* [cpp-ipc] Update 1.0.1

* [cpp-ipc] Update version and ci.baseline

* [cpp-ipc] Remove cpp-ipc from ci.baseline.txt

* [teemo] Update to v2.3

* [teemo] Run `vcpkg x-add-version --all`

* [teemo] Update vcpkg.json

* [teemo] Run vcpkg `x-add-version teemo --overwrite-version`

* Remove excess teemo.json

* [teemo] Update to v2.4

* [teemo] run ./vcpkg x-add-version --all

Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-12-20 11:36:34 -05:00
winsoft666
4b17c23f6b
[teemo] Update to v2.3 (#21616)
* [cpp-ipc] Update 1.0.1

* [cpp-ipc] Update version and ci.baseline

* [cpp-ipc] Remove cpp-ipc from ci.baseline.txt

* [teemo] Update to v2.3

* [teemo] Run `vcpkg x-add-version --all`

* [teemo] Update vcpkg.json

* [teemo] Run vcpkg `x-add-version teemo --overwrite-version`

* Remove excess teemo.json

Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-11-26 00:57:55 -08:00
autoantwort
b587e353a4
[teemo] use supports expression (#21449) 2021-11-16 16:25:28 -08: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
winsoft666
4e2653ee02
[teemo] Update version to v2.2. (#18551)
* [teemo] Update version to v2.3.

* [teemo] Modify version to v2.2

* [teemo] Run `vcpkg x-add-version teemo` to add version info.

* [teemo] Update Build-Depends.

* Update versions/t-/teemo.json

Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
2021-07-22 22:03:51 -07:00
winsoft666
4fef7fe7ec
[teemo] Update to v2.1 (#12728)
* teemo

* 1. move header files to teemo folder.
2. add Cancel Event.
3. create directories automatically.

* update teemo to v2.1

* update teemo code ref

* remvoe cpprestsdk dependency
2020-08-05 13:02:41 -07:00
winsoft666
56a12f6ee9
[teemo] Update to v1.3 (#9999)
* teemo

* 1. move header files to teemo folder.
2. add Cancel Event.
3. create directories automatically.
2020-02-10 16:23:04 -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
winsoft666
08c8214d68 [teemo] new port. (#9684) 2020-01-17 16:12:40 -08:00