Commit Graph

11 Commits

Author SHA1 Message Date
Lily Wang
b6f51c96e3
[scnlib] update to 3.0.1. (#39419) 2024-06-21 13:25:02 -07:00
WangWeiLin-MV
de9557b47b
[scnlib] Fix include CMAKE_INSTALL_INCLUDEDIR (#38746)
Fixes include `CMAKE_INSTALL_INCLUDEDIR` since target `scn::scn` lost
`INTERFACE_INCLUDE_DIRECTORIES`,

Fixed by backporting upstream patches in
https://github.com/eliaskosunen/scnlib/pull/111.

Format and unify `EOL` to `LF` of `portfile.cmake`.

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

### Test
The port usage tests pass with the following triplets:
* x64-linux
* x64-windows
2024-05-16 23:45:23 -07:00
Peter Steneteg
efd6a0692c
[scnlib] fix scnlibConfig.cmake version check (#38334)
scnlibConfig.cmake had a check for version 4.0.0 of simdutf. but simdutf
was updated to 5.+ so the test fails.
This was fixed upstream, this PR just pulls those latest extra commits. 

- [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.
- [x] Only one version is added to each modified port's versions file.
2024-04-25 09:23:21 -04:00
Jia Yue Hua
595fde3f04
[simdutf] update to 5.0.0 (#37783) 2024-03-28 12:42:56 -07:00
Jia Yue Hua
600378d3fc
[simdutf,scnlib] update to 4.0.9,2.0.2 (#36459)
- [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.
2024-03-05 01:23:22 -08:00
Jia Yue Hua
733141279a
[scnlib] update to 1.1.2 (#34182) 2023-10-02 17:27:58 -07:00
Jack·Boos·Yu
6aa4fca940
[many ports]switch to vcpkg-cmake / vckg-cmake-config part 5 (#29918)
* [many ports]switch to vcpkg-cmake / vckg-cmake-config part 5

* version

* typo

* typo

* fix build

* version

* deprecated vcpkg_extract_source_archive_ex

* version

* fix argument

* version

* Rename argument

* version

* More changes about argument

* wrong op

* version

---------

Co-authored-by: jyu49 <yu_jack@apple.com>
2023-03-01 10:39:29 -08:00
walge-laine
1da8699a00
[scnlib] Update to 1.0 (#23571)
* [scnlib] Update to 1.0

[scnlib] Update to 1.0

* Update CI baseline

* Update version database

* Remove port-version

* Update version database
2022-03-16 13:09:25 -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
Dariusz Antoniuk
63e7b48acf
[scnlib] Update the port of scnlib to 0.4 (#17242)
* [scnlib] update the scnlib port

* [scnlib] add the version entry
2021-04-29 16:28:53 -07:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00