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 |
|
NancyLi1013
|
82a9a8436e
|
[libgeotiff] Fix packagename via find_package (#15750)
* [libgeotiff] Fix packagename via find_package
* Update port_versions
* Update portfile.cmake
* Update patch
* [libgeotiff] Fix packagename via find_package
* Update port_versions
* Update patch
* [pdal] Fix geotiff package name
* Update versions
* [pdal] Update dependency
* Update versions/p-/pdal.json
|
2021-01-28 19:26:11 -08:00 |
|
Lily
|
eaa2e3db0f
|
[libgeotiff] Upgrade to version 1.6.0 (#10408)
|
2020-10-13 14:38:05 -07:00 |
|
yurybura
|
24e8be5fcf
|
[boost] update to 1.73.0 (#11221)
* [boost] update to 1.73
* [ompl] remove dependency to boost-disjoint-sets
* [libtorrent] include fixes from RC_1_2 branch
* [liblas] fix boost headers
* [freeopcua] fix std headers
* [pcl] fix build with Boost 1.73.0
* [hpx] fix build with Boost 1.73.0
* [libmysql] fix conflict with C++20 header <version>
* [boost-modular-build-helper] move port-specific b2 options to the file `<port_dir>/b2-options.cmake`
[boost-python] support Python2 (fixes #3495)
* [boost-python] remove Python executable from user-config
* [libtorrent] update version after merge
* [libtorrent] add boost-variant dependency
|
2020-05-13 10:26:05 -07:00 |
|
JackBoosY
|
75dd38cd8a
|
[proj4] Upgrade version to 6.1.1 and remove patches. (#7917)
* [proj4]Upgrade version to 6.1.1 and remove useless patches.
* [libgeotiff]Fix build errors using proj4 6.1.1.
* [libspatialite]Fix build errors using proj4 6.1.1.
* [gdal]Fix build errors using proj4 6.1.1.
* [spatialite-tools]Fix build errors using proj4 6.1.1.
* [spatialite-tools]Fix build errors using proj4 6.1.1.
* [libgeotiff]Re-fix build errors using proj4 6.1.1.
* [vtk]Fix build errors using proj4 6.1.1.
* [proj4]Fix find sqlite binary failure.
* [proj4]Disable build tools when building proj4 in arm/uwp.
* [sqlite3/libgeotiff]Fix libdl library linkage. Re-fix use proj issue.
* add back dl libs
* [gdal]Fix dependent port proj library name.
* [proj4]Set Windows library name to "proj" and revert fix-proj-name changes.
* [liblas]Fix build errors using proj4 6.1.1.
* [liblas]Fix build errors using proj4 6.1.1.
* [liblas]Fix build errors using proj4 6.1.1.
* [proj4]Fix feature database on triplet arm/uwp.
* [gdal]Remove useless flag PROJ_STATIC.
* [proj4]Fix build error on x64-windows-static.
* [liblas]Use find_library to get proj4/sqlite3 libraries.
* [proj4]Fix sqlite dependency.
* [proj4]Fix arm/uwp dependency.
* [proj4]Fix linux build: configure error.
* [proj4]Disable export proj4 namespace.
* [liblas]Delete proj dependency.
* [libspatialite]Fix linux build.
* [libspatialite]Fix linux command.
* [libspatialite]Fix configure error.
* [proj4]fix static cmake tools path.
* [libgeotiff]Set configure options to 1/0 to avoid the "if" comparison failure in config.cmake.
[proj4]Revert changes about namespace.
[liblas]Remove FindPROJ4.cmake and FindGeoTIFF.cmake from the source.
* [vtk]Fix using latest proj4 issue.
* [proj4]Delete missing patch.
|
2019-10-17 17:15:52 -07:00 |
|
JackBoosY
|
0de501a3f4
|
[liblas]Fix ${_IMPORT_PREFIX} in liblas-depends-*.cmake. (#7920)
* [liblas]Fix ${_IMPORT_PREFIX} in liblas-depends-debug.cmake/liblas-depends-release.cmake.
* [liblas]Fix depends.cmake.
* [liblas]Use vcpkg_fixup_cmake_targets to handle liblas-depends-*.cmake.
|
2019-10-08 11:33:55 -07:00 |
|
Alexander Neumann
|
93c76a3f6b
|
[liblas] Fix Geotiff linkage (#7975)
* [liblas] Fix Geotiff linkage
|
2019-08-30 11:52:16 -07:00 |
|
wangli28
|
6d019cadf7
|
[liblas] Add new port (#6746)
* [liblas] Add new port
* [liblas] Remove useless commands
* [liblas] Remove empty directory
* fix cmake targets
* build options off
* update patch
|
2019-07-22 17:43:10 -07:00 |
|