Commit Graph

18 Commits

Author SHA1 Message Date
jim wang
0fe8c9dece
[opencascade] Update to 7.8.1 (#37912)
Fixes https://github.com/microsoft/vcpkg/issues/37909

- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [X] SHA512s are updated for each updated download.
- [ ] ~~The "supports" clause reflects platforms that may be fixed by
this new version.~~
- [ ] ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [ ] ~~Any patches that are no longer applied are deleted from the
port's directory.~~
- [X] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [X] Only one version is added to each modified port's versions file.

Usage test pass with following triplets:

```
x86-windows
x64-windows
x64-windows-static
```
2024-04-09 11:29:42 -04:00
jim wang
02e210ef56
[opencascade] Update to 7.8.0 (#35829)
* update to 7.8.0

* update version

* update version

* update version

* fix dep

* update version

* del patch

* update version
2024-01-16 11:13:36 -08:00
Lily Wang
59c9eade06
[opencascade] Fix feature freeimage build failure (#36079)
* [opencascade] Fix feature freeimage build failure

* update version
2024-01-09 11:01:57 -08:00
Kai Pastor
11cbb6b57b
[opencascade] Cleanup and fixes (#35119)
* [opencascade] Use version for git ref

* [opencascade] Skip samples for debug

* [opencascade] Drop bin letter d

* [opencascade] Don't install scripts

* [opencascade] qt not supported by port

* [opencascade] Update header fixup

* [opencascade] Enable osx and arm

* [opencascade] No scripts, again

* [opencascade] License

* [opencascade] Revise deps

* [opencascade] No freetype on uwp

* Trace

* Fixup

* [opencascade] only export include/opencascade

because this is what upstream provides in OPENCASCADE_INCLUDE_DIRECTORY

* [opencascade] Revise dependency setup

* [opencascade] Keep vcpkg legacy include dir

* Fixup
2023-11-21 19:51:11 -08:00
autoantwort
7d597a2231
[opencascade] no absolute paths (#33814) 2023-09-18 09:19:45 -07:00
David Kirchsteiger
d173587821
[opencascade] Update port to 7.7.2 (#33498) 2023-09-13 15:32:26 -07:00
Cheney Wang
250ea54a8c
[opencascade] Fix usage issue (#33252)
* [opencascade] Fix usage issue

* Apply suggestion
2023-08-25 12:07:42 -07:00
JonLiu1993
b8d272a463
[opencascade] Fix find_dependency missing (#30853)
* [opencascade] Fix feature dependence

* update version

* update version

* Apply suggesstion

* update version

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Zhao Liu <v-zhli17@microsoft.com>
2023-06-21 22:59:16 -07:00
Chuck Walbourn
5d2a0a9814
Update xbox supports expressions for failing ports with copyleft licenses (#31770)
* Xbox triplets should not support ports with only copyleft licenses

* Reverted ports that build with xbox currently

* Fix conflict and rebase

* Update baseline

* Update baseline
2023-06-15 14:49:00 -07:00
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