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
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
JackBoosY
ddec7174c1
[gdcm]Update to v3.0.0 and rename to gdcm. ( #6348 )
...
* [gdcm]Update to v3.0.0 and rename to gdcm.
* [gdcm2]Add empty port "gdcm2" mapping to port gdcm
2019-05-09 23:03:59 -07:00
Robert Schumacher
c95512aaf6
[many ports] Updates 2019.03.29 ( #5698 )
...
* Updates 2019.03.29
* Undo changes to 4 ports(rocksdb tbb thrift uwebsockets) due to failures
* [folly] Fix target files in debug mode
* Undo glog changes since it caused sophus openmvg and cartographer failures
* Undo Folly changes since it cause wangle failed
* Undo Folly portfile
2019-04-15 22:30:11 -07:00
James Chang
9b8cc80953
[gdcm2] fix improper cmake file setup ( #4880 )
...
* move cmake files to proper location, and modify path in contents accordingly
* workaround cmake script to find openjpeg package, and include openjpeg in Build-Depends list
* [gdcm2] Use vcpkg_fixup_cmake_targets()
2018-12-11 10:01:05 -08:00
Robert Schumacher
c538d6d996
Upgrades 2018.10.25
2018-10-26 18:49:29 -07:00
Robert Schumacher
2a0bf9c488
Upgrades for 2018.06.12
2018-06-12 21:14:14 -07:00
Robert Schumacher
89201f4aec
[abseil][aws-sdk-cpp][azure-c-shared-utility][azure-iot-sdk-c][azure-uamqp-c][azure-umqtt-c][breakpad][exiv2][gdcm2][grpc][nuklear][rocksdb][rs-core-lib][thrift][zeromq] Upgrades
2018-04-05 22:02:37 -07:00
Robert Schumacher
191fab2e59
[caf][gdcm2] Upgrades
2018-03-21 23:42:24 -07:00
Robert Schumacher
e3dda1a82d
[azure-storage-cpp][cpp-redis][dirent][doctest][gdcm2][grpc][llvm][matio][spdlog][yaml-cpp] Upgrades
2018-02-23 03:27:04 -08:00
Shinya Onogi
c37124be63
Update GDCM
2017-10-21 19:28:27 +09: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
2d922e5037
[GDCM2] Use vcpkg_from_github() to simplify portfile
2017-05-17 05:36:03 -07:00
Shinya Onogi
89acf5420d
[GDCM2] Update to 2.6.8
2017-05-17 18:23:21 +09:00
Alexander Karatarakis
d263e008a4
[gdcm2] Remove empty folders in static build
2017-03-21 17:07:14 -07:00
Shinya Onogi
33cacd658e
Update portfile.cmake
...
Fixed the location of ${GDCM_BUILD_SHARED_LIBS}
2017-03-20 20:13:46 +09:00
Shinya Onogi
8e77d829f0
Added: Selection of library linkage type
...
Selection of library linkage type is added
2017-03-20 02:37:58 +09:00
Shinya Onogi
0b1740d119
add a new port, GDCM
2017-03-20 02:10:43 +09:00