Commit Graph

17 Commits

Author SHA1 Message Date
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
Dejauxvue
c8021b4675
[opencascade] fix #16252 (#16513)
* [opencascade] fix #16252 by exporting includ directories with the targets and replacing internal includes from #include "..." to #include<...> post installation

* [opencascade] added port version

* [opencascade] update SHA of versions/o-/opencascade.json

* Update ports/opencascade/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/opencascade/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/opencascade/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* remove commented line for BUILD_INTERFACE

* updated version

* remove replacement of includes form #include <...> to #include "..."

* update port version

* added fix-install-prefix-path.patch, which was removed by #15997

* fix fix-install-prefix-path.patch

* update port version

* Update ports/opencascade/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* update port version

* [opencascade]Revert "remove replacement of includes form #include <...> to #include "...""
also refined regex to allow white spaces between # and 'include'
This reverts commit 4b362739f5.

* [opencascade] update port version

* [opencascade] change exported include directory from include/opencascade to include

* [opencascade] update port version

Co-authored-by: bloess <josua.bloess@uni-bayreuth.de>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-03-22 15:19:06 -07:00
JonLiu1993
0c32fc522d
[opencascade] Update to 7.5.0 (#15997)
* [opencascade] Update to 7.5.0

* update version
2021-02-03 11:16:04 -08:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00