23 Commits

Author SHA1 Message Date
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
Josue Andrade Gomes
79edf6dbaf
[graphicsmagick] update to version 1.3.36 (#15600) 2021-01-13 16:12:34 -08:00
NancyLi1013
50ea8c0ab7
[graphicsmagick] Add delegates.mgk (#15245)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-12-31 11:05:46 -08:00
Jack·Boos·Yu
a0e0c57f86
[vcpkg] Add vcpkg_from_sourceforge (1/2) (#11899) 2020-06-26 15:06:30 -07:00
Sean Yen
791767a66d
[graphicsmagick] fix Magick++.h header location. (#11926)
* fix Magick++.h location.

* Update CONTROL
2020-06-18 16:21:20 -07:00
nicole mazzuca
24cc91c933
[graphicsmagick] update to 1.3.35 (#10281) 2020-03-04 10:50:43 -08:00
Josue Andrade Gomes
38b05598d8 [graphicsmagick] Updated to GraphicsMagick-1.3.34 (#9596)
* Updated to GraphicsMagick-1.3.34

* Fixes after review
2020-01-10 10:24:25 -08:00
Stefano Sinigardi
726c111481 [vcpkg] fatal_error when patch fails to apply (#8087)
vcpkg will now fail on failure to apply patches except when using `--head`.
2019-10-07 10:35:13 -07:00
Josue Andrade Gomes
dcd9595b3f [graphicsmagick] updated to 1.3.33 (#8256) 2019-09-19 15:01:46 -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
Josue Andrade Gomes
bd5007625e Graphicsmagick 1.3.32 (#6947)
* GraphicsMagick 1.3.32

* Fix missing header install
2019-06-18 11:18:37 -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
Josue Andrade Gomes
da5ee89be5 [graphicsmagick] Linux/MacOS support (#6408) 2019-05-13 04:16:57 -07:00
Josue Andrade Gomes
08d6a49977 Update to GraphicsMagick 1.3.31 (#4847) 2018-11-28 18:09:59 -08:00
Robert Schumacher
b35f75d646 [cairo][expat][fontconfig][graphicsmagick][libjpeg-turbo][pixman][tiff] Add unofficial targets and usage information 2018-09-24 18:08:52 -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
Josue Andrade Gomes
4d02322c07 [graphicsmagick] version 1.3.30 (#3824) 2018-07-03 01:00:41 -07:00
Josue Andrade Gomes
8c77af41ba GraphicsMagick 1.3.29 (#3732) 2018-06-16 04:40:07 +02:00
Josue Andrade Gomes
8825e659a6 GraphicsMagick 1.3.28 2018-04-04 09:56:32 -03:00
Alexander Karatarakis
26516fe485 vcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7) 2017-09-09 00:12:54 -07:00
Josue Andrade Gomes
d85a8530b9 [graphicsmagick] build fixes 2017-08-04 21:32:46 -03:00
Josue Andrade Gomes
f9c9bc8287 GraphicsMagick 1.3.26 2017-08-01 21:45:42 -03:00
Josue Andrade Gomes
b237746287 GraphicsMagick port 2017-04-23 11:30:22 -03:00