Commit Graph

9 Commits

Author SHA1 Message Date
Michael MIGLIORE
7620e50bae
[opencascade] Fix shared lib on Linux (#31806) 2023-06-05 13:37:51 -07:00
Lily Wang
b49c204b93
[opencascade] Fix the paths in target files for static build (#31460)
* [opencascade] Fix paths in target files for static build

* update version

* apply suggestion

* update version
2023-05-17 08:57:42 -07:00
JonLiu1993
c1c3932f77
[opencascade] Add samples feature (#31156)
* [opencascade] Add samples feature

* format vcpkg.json

* update version
2023-04-28 16:13:02 -07:00
Ali
b0ea874c7d
Opencascade fix build on Linux (#25330)
* Opencascade fix build on Linux

* Added fontconfig to deps

* Updated version database

* Updated license identifier

* revert back the license

* bump up the port version

* vcpk add all

* Update versions/o-/opencascade.json

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2022-06-22 14:41:13 -07:00
JonLiu1993
94870c52dc
[opencascade] update to 7.6.1 (#24795)
* [opencascade] update to 7.6.1

* update version
2022-05-19 00:23:48 -07:00
LilyWangLL
a02ef95400
[opencascade] Fix link the debug of freetype.dll (#23939)
* [opencascade] Fix link the debug of freetype.dll

* update version

* fix build error

* update version

* update patch

* update version

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2022-05-09 14:12:27 -07:00
Cheney Wang
8cfe802099
[opencascade] Update to 7.6.0 (#21314)
* [opencascade] Update to 7.6.0

* add homepage

Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
2021-11-12 16:40:40 -08:00
Jack·Boos·Yu
2169ab765b
[opencascade] Add feature rapidjson (#20855)
* [opencascade] Add feature rapidjson

* version

* Update ports/opencascade/portfile.cmake

* Update versions/o-/opencascade.json
2021-10-22 00:49:45 -07: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