Commit Graph

6 Commits

Author SHA1 Message Date
Kai Pastor
a4f322c567
[proj4] Update to 8.1.1, revise features and dependencies (#20443)
* Update to 8.1.1, cleanup patches

* Patch and use pc file installation from upstream

* Simplify dependency fixup

* Remove obsolete VCPKG_BUILD_SHARED_LIBS

* Revise feature and dependency interface

* Update versions

* Use all libs from proj.pc for gdal

* Set CMP0012 for dependency control

* Update versions

* Update versions

* Fix missing user32.lib when using libcrypto

* Update versions

* Fix missing user32.lib when using libcrypto

* Update versions
2021-12-09 18:18:18 -08:00
Kai Pastor
4c9b301c9e
[spatialite-tools] Revise and update to 5.0.1 (#21594)
* Revise portfile and patch

* Install pc file for windows

* Update versions

* Remove readosm failure from CI baseline

* Revise dependencies based on #include, use pkgconfig

* Revise portfile

* Update to 5.0.1

* Update versions

* Fix release-only nmake build

* Update versions
2021-12-06 17:58:47 -08:00
Kai Pastor
94b2a07762
[libspatialite] Use pkgconfig for nmake and autotools (#20480)
* Enable CI for libspatialite:x64-windows-static-md

* Use pkgconfig for nmake

* Use pkgconfig for autotools; fix mingw

* Install pc file for windows

* Add feature interface, make GPLv2+ features optional

* spatialite-tools need libspatialite[rttopo]

* Update versions
2021-11-18 21:36:42 -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
Ilya Arzhannikov
f754353b74
Spatialite-tools remove cflags from vcpkg_configure_make options (#17025)
* remove CFLAGS from options

* x-add-version spatialite-tools

Co-authored-by: Ilya Arzhannikov <iarzhannikov@artec3d.com>
2021-04-07 13:08:42 -07:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00