Commit Graph

11 Commits

Author SHA1 Message Date
Billy O'Neal
9484a57dd5
Update vcpkg-tool to 2023-02-16. (#29664) 2023-02-24 11:57:40 -08:00
MonicaLiu
f47e55e234
[openmesh] update to 9.0 (#27342)
* update openmesh

* update version

* Replace deprecated functions

* update version

* Fix CI errors for x64-linux

* update version

* update scalar specification

* update version

* update openmesh

* update version

* Remove duplicate version set.

Co-authored-by: Monica <v-liumonica@microsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-10-25 20:47:31 -07:00
Vitalii Koshura
a882a809a3
[botan][gtest][openmesh][polyclipping][quill] Fix release-only build (#21023)
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-11-03 21:46:49 -07:00
autoantwort
d8b9fa9a53
many ports: Fix pkgconfig files location (#20943)
* many ports: Fix pkgconfig files location

* Use rename in botan rather than install plus delete.

* Delete the duplicate share/pkgconfig files in cppad *after* vcpkg_fixup_pkgconfig.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-10-26 16:03:33 -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
Li Jiang
63578d09b0
[openmesh] Upgrade to 8.1 (#11739)
* upgrade openmesh to 8.1
Tested on Window 10 with Visual Studio 2019 x64

* update version for CONTROL file

* 1. Remove obsolete function `include(vcpkg_common_functions)`
2. Use `vcpkg_fixup_cmake_targets()`

* fix build error on Linux

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-13 13:37:29 -07:00
Lily
2ad479e667
[openmesh] Fix install *.dll and add vcpkg-cmake-wrapper.cmake (#12007)
* [openmesh] Fix *.dll export and add vcpkg-cmake-wrapper.cmake

* Update ports/openmesh/portfile.cmake

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-06-23 13:12:14 -07:00
wangli28
8ffa20107d [openmesh]Update version to 8.0 (#5923) 2019-04-03 14:43:10 -07:00
David Ludwig
d68cc287f9 [GraphicsMagick] bug-fix: image files won't load (#4215)
* [GraphicsMagick] bug-fix: image files won't load

GM (GraphicsMagick) was failing to load image files, notably PNG or JPEG
images, as it was being compiled with support for 'GraphicsMagick
Modules'.  These are files with names specific to GM, and of the format,
'IM_*.dll'.  vcpkg's install process was not setting these up.  This
patch makes sure that when GM is built, it embed's GM's own
image-loading code into graphicsmagick.dll.

* [vcpkg_extract_source_archive_ex] Add PATCHES argument

* [openmesh] Use direct download instead of gitlab

* [blaze] Use PATCHES argument

* [graphicsmagick] Use vcpkg_extract_source_archive_ex
2018-09-04 16:20:46 -07:00
Samuel Kogler
03ffd5bac9 Update OpenMesh to 7.0 and use new gitlab function. 2018-05-14 18:53:12 +02:00
itsuhane
b33931c438 Add OpenMesh 6.3(without apps) (#3032) 2018-03-14 07:24:39 -07:00