Commit Graph

12 Commits

Author SHA1 Message Date
JonLiu1993
9612cfe7ec
[assimp] update to 5.4.3 and fix build error (#40894)
Co-authored-by: Jon <v-zhli17@microsoft.com>
2024-09-24 10:16:55 -04:00
MonicaLiu
97477828c9
[assimp] Update to 5.4.2 (#39708)
Co-authored-by: Monica <v-liumonica@microsoft.com>
2024-07-08 10:18:04 -04:00
gerard-ryan-immersaview
6db51d86a9
[vcpkg_replace_string] warn unchanged by call (#34719)
If a call to `vcpkg_replace_string` makes no changes i.e doesn't
effectively replace a string, A warning is logged.

This should also help identify ports that no longer need these calls to
fix things in `.pc` files etc.
2024-06-19 14:07:05 -07:00
JonLiu1993
3df33117ff
[assimp] Update to version 5.4.0 to fix build error (#38126)
Fixes #35141
Tested usage successfully by `assimp:x64-windows`:
````
assimp provides CMake targets:

  # this is heuristically generated, and may not be correct
  find_package(assimp CONFIG REQUIRED)
  target_link_libraries(main PRIVATE assimp::assimp)

assimp provides pkg-config modules:

    # Import various well-known 3D model formats in an uniform manner.
    assimp
````

- [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.~~
- [x] 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.
- [] Only one version is added to each modified port's versions file.

---------

Co-authored-by: Jon <v-zhli17@microsoft.com>
2024-04-12 10:40:39 -04:00
Matthias Kuhn
f7c5a7c8fc
[poly2tri] Switch to maintained repo and adjust description (#26301)
* [poly2tri ]Switch to maintained repo and adjust description

* Rename to jhasse-poly2tri

* Also update version and fix header installation.

* Remove double nested headers.

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2024-02-01 12:31:29 -08:00
Rémy Tassoux
cf89d998a7
[utfcpp] Update to 4.0.2 (#34933)
* [utfcpp] Update to 4.0.2

* [utfcpp] Update version files
2023-11-07 09:33:16 -08:00
Kristian Duske
87b341399b
Use unofficial-minizip for find_dependency to fix a configure warning (#34499)
This was supposed to be fixed in 1e0eede790, but I missed the call to
find_dependency.
2023-10-16 12:26:45 -07:00
Kristian Duske
1e0eede790
Fix configure warning when using minizip (#34445) 2023-10-13 12:28:22 -07:00
Osyotr
5eea628fc2
[assimp] Update to 5.3.1, fix pkg-config (#33957)
* [assimp] Update to 5.3.0

* Remove <utf8.h> from public include

* [assimp] fix pkg-config for static builds

* [qt5-3d] Use pkgconfig to find assimp

* [assimp] -llibassimp -> -lassimp

* [assimp] Update to 5.3.1
2023-09-28 23:29:58 -07:00
Sylvain Doremus
744a921348
[assimp] Update to version 5.2.5 (#26856) 2022-09-19 11:39:08 -07:00
Osyotr
9776b51b55
[assimp] Update to 5.2.4 (#24843)
Co-authored-by: Osyotr <8740768+Osyotr@users.noreply.github.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2022-07-06 15:00:23 -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