7 Commits

Author SHA1 Message Date
Nick
e3a3942a9e
[libjxl][lcms][highway] update to latest version (#27593)
* [highway] update to 1.0.2

* [lcms] update to 2.14

* [libjxl] update to 0.7.0
2022-11-03 15:14:09 -07:00
Alexander Neumann
f7b4df27ad
[lcms] fix register usage for cpp >= 17 (#26008)
* lcms fix register usage in cpp code

* v db
2022-07-28 15:42:12 -07:00
Phoebe
c7ea63043c
[opencolorio/lcms] Fix dependency (#21960) 2022-01-12 11:32:27 -08:00
Robert Schumacher
674e616a21
[lcms] Backfill compat for lcms::lcms (#20034)
* [lcms] Backfill compat for lcms::lcms

* Remove :@TARGET_TRIPLET@

* Add comment for duplicate vcpkg_cmake_config_fixup.

* [lcms] Update version db

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-23 11:00:41 -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
Wolfgang Stöggl
7fae7f5923
[lcms] Update to 2.12 (#19551)
In addition to updating the version to 2.12, the following
modifications were applied to the port:
- Use the name lcms2 for the library, as it is called upstream since
  version 2 of Little-CMS.
  Remark: In the past, the library has already been called lcms2 for
  a while in vcpkg (1e53c60 until 726c111).
  The ports in vcpkg, which currently require the port lcms
  (devil, libraw and opencolorio), use and support lcms2 include/lib.
- Add generating a pkg-config file
- Add quotes to file commands in portfile.cmake
2021-09-07 15:19:07 -07:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00