27 Commits

Author SHA1 Message Date
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
Kai Pastor
9f73bc1a0e
Fix target_link_libraries on repeated inclusion of wrappers (#19120)
* Fix repeated inclusion of wrappers

* x-add-version
2021-09-02 13:21:52 -07:00
Fabien Péan
ce45dd94d5
[eastl] fix dependency eabase (#19643) 2021-08-30 18:21:30 -07:00
Jack·Boos·Yu
8dddc6c899
[vcpkg baseline][easyhook] Remove mismatch prebuild library after build (#19216)
* [easyhook] Remove mismatch prebuild library after build

* version

* update baseline

* Update ports/easyhook/portfile.cmake

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* Update ports/easyhook/vcpkg.json

* Update versions/e-/easyhook.json

* Update versions/e-/easyhook.json

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2021-07-28 21:51:34 -07:00
Dawid Wróbel
d331544d82
[many ports] Update KF5 frameworks to 5.84 (#19168)
* [kf5*] Update KDE Frameworks to 5.84

* [kf5*] Update versions
2021-07-27 17:02:50 -07:00
terens
f894a2f39a
[entt] add experimental feature (#18626)
* Update `entt/portfile.cmake` to support the new `experimental` feature.

* Added the `experimental` feature on `entt/vcpkg.json`.

* Small fix on `entt/vcpkg.json`.

* Update vcpkg.json

* New branch

* Fixup

* (Hopefully) fixed entt version

* Require specifying `--head` for the feature

* update version

* update version

* [entt] add experimental feature

* update version

* update vcpkg.json

* update version

Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-07-25 12:49:48 -07:00
David
4dc290b650
[entt] update to 3.8.0 (#19043)
* update entt to 3.8.0
2021-07-22 13:35:13 -07:00
Billy O'Neal
ce3caf4515
[embree2] Fix static linking (#18985)
* [embree2] Fix static linking

Recently attempting to build embree2 is causing our osx workers to die. Example recent CIs:

https://dev.azure.com/vcpkg/public/_build/results?buildId=56146
https://dev.azure.com/vcpkg/public/_build/results?buildId=55886
https://dev.azure.com/vcpkg/public/_build/results?buildId=55802

Notably, we don't see this problem in PRs because it is marked "fail" in ci.baseline.txt. Initially, I was going to change it to skip, but observed that the project uses an ordinary cmake build and all the failing triplets were static ones.

If this PR passes, the hope is that CI with this change will pass too.

* Disable embree2 more directly for mac and linux because the portfile isn't prepared for it.

* Small changes

* Update the baseline version

* Use string(COMPARE EQUAL for EMBREE_STATIC_RUNTIME as well.

Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2021-07-19 19:29:59 -07:00
Matthias Kuhn
7c42464ca6
[exiv2] Make add nls feature (#18964) 2021-07-19 16:42:44 -07:00
JonLiu1993
932df5b8ed
[ensmallen] Update to the 2.17.0 (#18877)
* [ensmallen] Update to the 2.17.0

* update version

* delete PREFER_NINJA

* update version
2021-07-13 13:15:39 -07:00
JonLiu1993
75a90ccfb1
[exiv2] update to 0.27.4 (#18750)
* [exiv2] update to 0.27.4

* update version
2021-07-06 13:48:44 -07:00
Chuck Walbourn
8d2e732b73
[dxut, fx11, directxmath] ports updated (#18431)
* [dxut] port updated for latest servicing

* update baseline

* Update to use latest DirectXMath

* Fix baseline

* fx11 metadata update

* Updated baseline

* Converted directxmath CONTROL to vcpkg.json

* Update baseline

* Apply suggestions from code review

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Code review feedback

* Update baseline

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-06-21 14:19:46 -07:00
JonLiu1993
3a98608b80
[expat] Update to 2.4.1 (#17856)
* [expat] Update to 2.3.0

* update version

* [expat] Update to 2.4.1

* update version

* add pkgconfig.patch

* update version

* revert pkgconfig.patch

* update version

* revert patch format

* update version
2021-06-11 08:48:00 -07:00
JonLiu1993
42bee9b13f
[eNet] update to 1.3.17 (#18220)
* [eNet] update to 1.3.17

* update version
2021-06-02 15:42:49 -05:00
NancyLi1013
482149c68b
[embree3] Fix target files cannot be found (#18146)
* [embree3] Fix target files cannot be found

* Update version files
2021-06-01 11:07:16 -07:00
Dawid Wróbel
b34b7ff2c9
[many ports] Update KF5 frameworks to 5.81 (#17268)
* [many ports] Update KF5 frameworks to 5.81

* [many ports] Update KF5 versions

* [kf5guiaddons] disable parallel configure

* [kf5windowsystem] disable parallel configure

* [many ports] Update KF5 versions

* [kf5archive] disable parallel configure

* [many ports] Update KF5 versions
2021-05-21 01:30:43 -07:00
Jack·Boos·Yu
c99dc50be9
[vcpkg baseline][many ports] Fix build error (#17983)
* [vcpkg baseline][wxwidgets] Fix build error

* [mlpack] Fix configure error (upstream bug)

* [vcpkg baseline] [embree2/embree3] Set cmake policy

* Remove control file

* Update baseline version

* [mlpack] Re-write the dependency

* [mlpack] Remove dependency boost-test since only feature test need it, add more boost dependencies.

* [mlpack] Add dependency boost-heap

* [mlpack] Fix uwp build

* update version record

* [mlpack] Revert uwp fix

* update version record

* [mlpack] Remove dependency boost-test

* update version record

* update baseline

* [clamav] Update hash

* update version record

Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2021-05-19 14:05:43 -07:00
JonLiu1993
b1f7f2e603
[Entt] update to 3.7.1 (#17923)
* [Entt] update to 3.7.1

* update version
2021-05-18 00:55:05 -07:00
Jack·Boos·Yu
eff6f06b3e
[embree3] Update to 3.12.2 and add features (#17925)
* [embree3] Update to 3.12.2 and add features

* update version record

* Update ports/embree3/portfile.cmake

* revert patch EOL, add keyword FEATURES

* Update versions/e-/embree3.json
2021-05-18 00:50:59 -07:00
Christoph Neuhauser
1c066931af
Fixed AVX512KNL and AVX512SKX support for embree3. (#17701) 2021-05-13 13:33:17 -07:00
Matt Schulte
69b57f85fc
[elfio] Update elfio from 3.8 to 3.9 (#17249)
* [elfio] Update elfio from 3.8 to 3.9

* update version

Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-04-29 16:15:34 -07:00
Gábor Csorvási
0228e45bcf
[ecos] Update ecos library version to 2.0.8 (#17471)
* [ecos] Update to version v2.0.8

* [ecos] Updated version files
2021-04-23 10:18:22 -07:00
Dawid Wróbel
bc96cd54bf
[many ports] Update existing KF5 frameworks to 5.75 (#13467)
* Update KF5 framework to 5.73

kf5crash
  - make x11 patch exclusive to linux
  - enable win/macOS builds
kf5syntaxhighlighting
  - fix building on non-Win by removing the cli tool from all platforms

* Add kf5auth port

* Revert "Add kf5auth port"

This reverts commit 8703c2423667f62075c34496ef273394a5b8d538.

* Add kf5globalaccel port

* Revert "Add kf5globalaccel port"

This reverts commit f1ac3db8e2019f474a09d6964aea8e21bc9da166.

* [ecm] use  where possible

* [kf5holidays] use PORT placeholder where possible

* [kf5syntaxhighlighting] use PORT placeholder where possible

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* [kf5plotting] use PORT placeholder where possible

* [kf5crash] fix logical condition in the patch

* [kf5crash] logical condition again, include other BSDs

* [kf5i18n] acquire python3

* [kf5i18n] remove vcpk cmake wrapper added mistakenly

* Update KF5 framework to 5.73

kf5crash
  - make x11 patch exclusive to linux
  - enable win/macOS builds
kf5syntaxhighlighting
  - fix building on non-Win by removing the cli tool from all platforms

* Add kf5auth port

* Revert "Add kf5auth port"

This reverts commit 8703c2423667f62075c34496ef273394a5b8d538.

* Add kf5globalaccel port

* Revert "Add kf5globalaccel port"

This reverts commit f1ac3db8e2019f474a09d6964aea8e21bc9da166.

* [ecm] use  where possible

* [kf5holidays] use PORT placeholder where possible

* [kf5syntaxhighlighting] use PORT placeholder where possible

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* [kf5plotting] use PORT placeholder where possible

* [kf5crash] fix logical condition in the patch

* [kf5crash] logical condition again, include other BSDs

* [kf5i18n] acquire python3

* [kf5i18n] remove vcpk cmake wrapper added mistakenly

* [ecm] Remove 'skip' from windows baseline

* Fixed KF5ItemModel for windows

* [kf5syntaxhighlighting] fix Windows build

* Fixed k5syntaxhighlighting for windows

* [kf5plotting] fix license files

* [kf5archive] fix license files

* [kf5*] update to 5.75.0

* [kf5holidays] fix sha sum

* [kf5syntaxhighlighting] fix licensing

* [kf5itemviews] fix windows static build

* [kf5widgetsaddons] fix windows static build

* [kf5completion] fix windows static build

* [kf5*] fix windows static build

* [kf5i18n] fix windows static build

* [kf5windowsystem] require libxcb-res0-dev

* [kf5windowsystem] depend on qt5-x11extras

* [qt5] fix brotli reference

* Delete duplicate apt entries.

* kf5crash: fix linux build

* kf5i18n: fix Linux build

* ecm: do not override custom clang format files

* kf5i18n: fix Windows build

* [kf5*] update versions

* [kf5i18n] fix logical NOT

* [kf5syntaxhighlighting] disable parallel configure

* [kf5*] update versions

* [kf5*] convert CONTROL to manifest

* [kf5*] update versions

* [kf5*] update versioning scheme

* [ecm] syntax formatting

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* [kf5syntaxhighlighting] syntax formatting

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* [kf5holidays] syntax formatting

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* [kf5archive] restore original line order

* [kf5holidays] restore CRLF

* [kf5archive] restore CRLF

* [kf5syntaxhighlighting] syntax formatting

* [kf5syntaxhighlighting] quotations

* [kf5syntaxhighlighting] fix \bin removal redundancy

* [kf5*] update versions

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Kuntal Majumder <hellozee@disroot.org>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-04-12 10:15:11 -07:00
David
10e85f2cd1
[entt] Update to 3.7.0 (#17047)
* Update to 3.7.0

* fix
2021-04-02 12:43:24 -07:00
Arash Partow
80976fc216
[exprtk] Update ExprTk (#16458)
* Update ExprTk

* Modify portfile.cmake

* update version

Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-03-01 16:08:29 -08:00
Chuck Walbourn
de686c49df
Update DXUT port and add Effects11 (FX) port (#16101)
* Update dxut port, added effects11 port

* DXUT does not support UWP

* Fixed FX11 CMake to support UWP

* DXUT supports arm64 desktop

* Update baseline

* Now that these build with CMake, no need to exclude staticcrt

* rev'd port version

* Fix versions

* Update versions/d-/dxut.json

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* Update versions/e-/effects11.json

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* Update ports/dxut/vcpkg.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update versions/baseline.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update versions/d-/dxut.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update versions/e-/effects11.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update versions/baseline.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/effects11/vcpkg.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Updated version hash

* Fixed format complaint

* Fixed baseline

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-02-11 00:15:15 -08:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00