Commit Graph

12 Commits

Author SHA1 Message Date
Jia Yue Hua
174dc0bd14
[mozjpeg] update to 4.1.5 (#34978)
* [mozjpeg] update to 4.1.5

* [mozjpeg] update to 4.1.5
2023-11-09 10:33:33 -08:00
MonicaLiu
79fa9d85cb
[mozjpeg] update to v4.1.1 (#27274)
* update mozjpeg

* update version

Co-authored-by: Monica <v-liumonica@microsoft.com>
2022-10-17 08:13:45 -07:00
JonLiu1993
bfe4e3a0b3
[mozjpeg] Update to latest commit (#20401)
* [mozjpeg] Update to latest commit

* update version

* Convert patch format

* update version

* Add double quotes

* update version

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-29 08:39:58 -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
NancyLi1013
7fee6a4756
[libjpeg-turbo/mozjpeg] Add conflict messages (#15196)
* [libjpeg-turbo/mozjpeg] Add conflict messages

* Add missed CONTROL for libjpeg-turbo

* Update ports/mozjpeg/CONTROL
2021-01-10 23:55:40 -08:00
Clinton Ingram
3513e92bf9
[mozjpeg] fix build (#12118)
* fix mozjpeg build

* re-disable in CI baseline

* fix static install

* rename static libs, add pkgconfig fixup

* update version string

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-30 22:38:32 -07:00
Lily
2ba3794909
[mozjpeg] Update to latest commit (#11719) 2020-06-05 12:10:36 -07:00
Phoebe
bcff929875 Add PREFER_NINJA to many ports (#7468)
* Add PREFER_NINJA to many ports
2019-07-31 13:01:02 -07:00
pravic
18b029a5e3 [WIP] Add a Homepage URL entry for vcpkg ports (#2933)
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-15 16:54:47 -07:00
JackBoosY
7f13cec4e3 [mozjpeg]Fix installation files to the wrong directory (#5833)
* [jemalloc]Fix dll generated when generating static library

* Revert "[jemalloc]Fix dll generated when generating static library"

This reverts commit a833bf5593.

* [mozjpeg]1.Fix installation files to the wrong directory.   2.Change how dynamic and static library built macros are used
2019-03-27 09:52:02 -07:00
Robert Schumacher
049ad42779 [mozjpeg] Use vcpkg_from_github and vcpkg_copy_tool_dependencies 2017-10-06 14:06:43 -07:00
glachancecmaisonneuve
13a225c6ab mozjpeg initial port 2017-10-05 12:15:42 -04:00