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 |
|
Robert Schumacher
|
75bd2efe0d
|
[many ports] 2019.09.14 Updates (#13536)
* [many ports] 2019.09.14 Updates
* Revert failure ports
* Revert failure ports
* Revert failure ports
* [urdfdom] Fix find dependency console_bridge
* Revert failure ports
* [devil] Compatible with jasper 2.0.20
* [devil] Refix compatible with jasper functions declaration on different os
* Update ports/alembic/CONTROL
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
* Revert failure ports wangle
* [azure-kinect-sensor-sdk] Fix build with matroska 1.6.2
* Revert failure ports
* Revert failure ports
* [urdfdom-headers] Fix include path in config.cmake file
* upload patch
* [urdfdom-headers] Refix include path in config.cmake file
* [qt5-imageformats] Fix missing include math.h
* [urdfdom-headers] Refix include path in config.cmake file
* [qt5] Fix adding option PATCHES and other options when using qt_submodule_installation
* Remove updated ports version
* Commit suggestions
* [libideviceactivation] revert
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
|
2020-10-13 13:17:32 -07:00 |
|
Vicki Pfau
|
b46242ff15
|
[many ports] Remove _find_package guards that break *_FOUND (#12157)
* [many ports] Remove _find_package guards that break *_FOUND
* [many ports] Fix incrementing version
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
|
2020-08-01 17:13:08 -07:00 |
|
Robert Schumacher
|
08c951fef9
|
[many ports] Upgrades to 2020.02.08 (#9986)
* [many ports] Upgrades to 2020.02.08
* Undo asio asmjit libimobiledevice mlpack mongo-c-driver oniguruma openmvg openvdb pcl
* Update ci baseline file
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
|
2020-02-10 16:08:57 -08:00 |
|
Stefano Sinigardi
|
cb2aafbb54
|
[stb] add cmake module, update to latest revision
|
2019-10-09 14:35:08 +02:00 |
|
Robert Schumacher
|
1550b9e71b
|
[many ports] Updates 2019.07.09 (#7217)
* [many ports] Upgrades 2019.07.11
* Re-generate patches and fix build errors.
* [manyport]Fix build errors.
* Fix avro-c and console-bridge failures, revert curl and tesseract
* fix botan failure
* Fix build errors and undo some ports upgrades.
* [aws-c-common,chipmunk,cxxopts,grpc]Fix build errors
* Fix build errors.
* [angle]Undo upgrade changes.
* [directxtk]Fix UWP build error (#7233)
* Revert leptonica since it cause tesseract failed
* Revert jsonnet
* [google-cloud-cpp] Disable parallel configure due to source directory writes
* [many ports] Undo undesired changes
* [bitsery] Fix indentation
* [avro-c][aws-c-common][graphite2] Convert line endings to minimize PR diff
* fix console-bridge and remove usockets unused patch
* update ogre patch
* [many ports] Revert unneeded changes w.r.t. master. Add missing write to console-bridge.
* [console-bridge] Fix export macro
* [avro-c] Revert upgrade; split to #7875
* [avro-c] Complete previous revert
|
2019-08-24 13:43:57 -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 |
|
Robert Schumacher
|
223d5d82ac
|
[many ports] Updates 2019.05.07 (#6338)
* [many ports] Updates 2019.05.07
* Undo assimp and gdcm2 changes since they caused regressions
|
2019-05-08 17:51:44 -07:00 |
|
Robert Schumacher
|
516d10bb68
|
[many ports] Updates 2019.04.19 (#6155)
* [many ports] Updates 2019.04.19
|
2019-04-30 09:20:18 -07:00 |
|
Robert Schumacher
|
a4b917b04c
|
[abseil][glslang][jsonnet][nuklear][rs-core-lib][stb][thrift] Updates
|
2018-03-03 12:57:49 -08:00 |
|
codicodi
|
232ab30a92
|
[stb] update to lastest master
|
2017-08-09 21:33:37 +02:00 |
|
Alexander Karatarakis
|
21dcba6912
|
[stb] Mark as header-only library
|
2016-10-26 19:48:51 -07:00 |
|
Alexander Karatarakis
|
3679955544
|
Introduce SOURCE_PATH to almost all portfiles
|
2016-09-28 17:05:56 -07:00 |
|
Ninetainedo
|
930d0a7ded
|
URL and MIRRORS are now URLS
Updated all portfiles accordingly.
|
2016-09-25 00:23:04 +02:00 |
|
Ninetainedo
|
fc26083995
|
Second part of updated portfiles
|
2016-09-22 22:13:09 +02:00 |
|
Robert Schumacher
|
4897b8c156
|
[stb] Avoid renaming extracted archives
|
2016-09-20 21:10:02 -07:00 |
|
Alexander Karatarakis
|
f65d6e3dc7
|
[stb] Modify port file to not create empty dirs or copy the test dir
|
2016-09-19 16:37:31 -07:00 |
|
Alexander Karatarakis
|
a2148a30e6
|
Fix stb URL to not point to specific SHA instead of master
|
2016-09-19 16:18:00 -07:00 |
|
Sergey Kosarevsky
|
45599349c9
|
Added STB header-only library
|
2016-09-19 23:48:06 +02:00 |
|