Commit Graph

12 Commits

Author SHA1 Message Date
Kevin Leonardic
039cb74bbb
[dcmtk] Enable toggling external dictionary as a feature (#36136) 2024-01-23 11:55:04 -08:00
Kevin Leonardic
a1c22c4aab
[dcmtk] Update to 3.6.8 (#36124) 2024-01-17 12:02:49 -08:00
jim wang
a5bc2a1b25
[dcmtk] Fix link xml2 error (#35414) 2023-12-04 17:24:32 -08:00
Cheney Wang
a26fc81350
[vcpkg baseline][dcmtk] Remove the leading spaces of pc file (#32049)
* [vcpkg baseline][dcmtk] Adding SKIP_CHECK for vcpkg_fixup_pkgconfig()

* Fix the format of pc.in file

* Remove local change
2023-06-26 13:08:05 -07:00
reito
8c9416f444
[multiple-ports] Fix missing usage (#29345)
* Fix missing usage

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes
2023-02-09 10:59:04 -08:00
kevle
cdf0a242e4
[dcmtk] re-enable support on arm64-osx (#27611) 2022-11-03 15:16:39 -07:00
ALittleDruid
4330517344
[Dcmtk] enable dependencies (#26255)
* dcmtk: Enable dependencies, shared libs, stl, c++17 ...

* dcmtk: Update port version

* modify portfile based on comments from the review

* Update version database

* Use vcpkg_check_features' FEATURE_OPTIONS and other nitipicks.

Co-authored-by: ALittleDruid <297957399@qq.com>
Co-authored-by: Billy O'Neal <bion@microsoft.com>
2022-08-12 15:42:05 -07:00
autoantwort
12a005017b
[dcmtk] no absolute paths (#25964) 2022-07-27 11:41:12 -07:00
JonLiu1993
ee51cc2346
[DCMTK] update to 3.6.7 (#25887)
* [DCMTK] update to 3.6.7

* update version

* Add license

* update version
2022-07-22 11:07:51 -07:00
autoantwort
6ce8ef3337
[ports] add support expressions (#23034) 2022-02-17 17:23:21 -08:00
autoantwort
c4f3862e4c
[dcmtk] no absolute paths (#21277) 2021-11-18 21:02:06 -08: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