Commit Graph

15 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
Jack·Boos·Yu
fa022fb0fb
[tools] Add python64 bit. (#7964)
* [tools]Add python64 bit.

* [pybind11/shiva]Add version number.

* [duktape]Fix build error using python64 bit.

* [duktape]Fix python2 path.

* [duktape]Fix duketape build: using python2 tools.

* Change subdirs and archive names for PYTHON2 and PYTHON3

* [duktape] Update version info

* [shiva] Add homepage

* update baseline

* update baseline

Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
2020-02-04 11:32:03 -08:00
Stefano Sinigardi
a9303736fd [LibLZMA] automatic configuration (#6000)
* [LibLZMA] add a config-generated by CMake

* bump control files of LibLZMA and dependent ports

* [tiff] use proper liblzma target
[OpenCV] add an explicit dependency on LibLZMA for static linking

* [liblzma] fix header install path

* [LibLZMA] avoid using targets in old symbols

* fixes for windows-static and trying to see if CI is happier with a share/lib folder written in lowercase

* [LibLZMA] use only modern CMake language, remove patch in favour of target public definition

* [lzma] put symbols in cmake cache

* [libxmlpp] remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS regression

* [lzma] fix header install path

* [liblzma] install wrapper to force config mode

* [liblzma] remove function check inside cmake config since we know it will pass

* [liblzma] wrapper fix

* [tiff,geotiff] general cleanup and patch fixes

* [libgeotiff] remove debug tools

* [tesseract] modernize

* [tiff] fix also tiff_library symbol

* [pdal,libgeotiff] better library integration

* [tiff] restore using unix i/o on UWP, since it was working... for sure win32 one cannot work

* [tiff] enable lzma also on uwp, since it works and is requested by many dependencies

* [selene] enable build on arm/arm64-windows, which was surely broken before

* [lzma] uniform naming with cmake 3.14

* [podofo] fix regression, it requires openssl which was disabled in dependencies

* [many ports] remove unnecessary mods

* [boost-iostream] chmod

* [openssl] fix regression due to missing architecture

* [podofo] fix regression on uwp due to missing include

* [libpq] explicitly fail on UWP, it should avoid being marked as regression

* [shiva] fix regression on linux
2019-05-28 16:58:00 -07:00
wangli28
62d0697f43 [shiva] Fix build error "Could NOT find PythonInterp" (#6637) 2019-05-27 10:55:20 -07:00
Sztergbaum Roman
5e57beb401 [shiva] update dependancies (#4105) 2018-08-20 11:09:47 -07:00
Sztergbaum Roman
f0cbb484c9 [shiva] update to 1.0 (#4088)
* [shiva] update to 0.9

* [shiva] update to 1.0
2018-08-16 09:55:17 -07:00
Sztergbaum Roman
2c0e287781 [shiva] update to 0.9 (#4070) 2018-08-13 09:59:52 -07:00
Sztergbaum Roman
954aa35e6e [shiva] update shiva to 0.7.2 with proper plugins installation (#4014) 2018-08-03 21:34:14 -07:00
Sztergbaum Roman
1f64d24a81 Update CONTROL (#4013) 2018-08-02 23:54:28 -07:00
Sztergbaum Roman
a1159ed354 Shiva sfml port (#4011)
* [shiva] update to 0.7

* [shiva] shiva-sfml plugins

* [shiva] update hash

* Update CONTROL
2018-08-02 18:44:48 -07:00
Sztergbaum Roman
1c3a75a7bd [shiva] update to 0.6 and update dependancies (#3942) 2018-07-30 11:58:14 -07:00
Sztergbaum Roman
0b2ed59811 [shiva] update to 0.6 portfile.cmake (#3943) 2018-07-30 11:58:08 -07:00
Sztergbaum Roman
bfbc52abbf [shiva] update to 0.3 (#3739) 2018-06-17 21:35:18 +02:00
roman Sztergbaum
220e086d12 [shiva] modernize portfile 2018-06-13 00:00:16 +02:00
Roman Sztergbaum
823e6a2abf [shiva] add a port of shiva c++ engine 2018-06-10 16:26:25 +02:00