Commit Graph

18 Commits

Author SHA1 Message Date
Jack·Boos·Yu
1323f4b83d
[wtl] Remove 'wtl' subdirectory to conform to upstream (#25108)
* [wtl] Fix internal include path

* more double quotes

* change to version

* version

* typo

* version

* Add license

* version

* Apply suggestion

* version
2022-06-08 15:58:56 -07:00
Christian Ullrich
34a73b5010
[wtl] Add two "post-release updates". (#21924)
* [wtl] Add two "post-release updates".

See https://sourceforge.net/projects/wtl/files/WTL%2010/WTL10%20Post-Release%20Updates.txt/download

* Ran magic undocumented command line.
2021-12-09 17:56:38 -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
Christian Ullrich
63451b40b1
[wtl] Update wtl to 10.0.10320 (#15266) 2020-12-23 17:07:23 -08:00
Christian Ullrich
3cab101b18
[wtl ] Upgrade wtl to 10.0.10077. (#12688)
* [wtl] Update to 10.0.10077. Again.

* Port version.

* Better version representation.

* Update ports/wtl/portfile.cmake

* Update ports/wtl/portfile.cmake

Update filename

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-08-06 22:13:20 -07:00
Jack·Boos·Yu
21b56d9929
[vcpkg_from_sourceforge] Add retry mirror function (2/2) (#12018) 2020-07-03 09:36:40 -07:00
Jack·Boos·Yu
a0e0c57f86
[vcpkg] Add vcpkg_from_sourceforge (1/2) (#11899) 2020-06-26 15:06:30 -07:00
Christian Ullrich
1b578cfac9
[wtl] Update to 10.0.10077 (#11893) 2020-06-23 14:09:35 -07:00
Jack·Boos·Yu
b271aeffa2
[VCPKG baseline] Fix many ports (#11559) 2020-05-25 11:52:48 -07: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
Christian Ullrich
e6564a5ad9 Update WTL to 10.0.9163. (#8005)
* Update WTL to 10.0.9163

* Update download path.
2019-09-04 17:59:26 -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
chrullrich
05b31030ce Upgrade WTL to 10.0.8356. (#5262) 2019-01-29 14:35:33 -08:00
Force Charlie
37a33b5845 [wtl] use https url 2018-05-20 21:04:22 +08:00
Alexej Harm
8b8538b527 [wtl] Fix capitalization in file copy script 2018-05-16 17:21:30 +02:00
gouranga
f2ab816e81 [WTL] Update to 10.0.7336 2018-03-12 19:45:33 +03:00
Alexander Karatarakis
863f28c080 [wtl] Mark as header-only library 2016-10-26 12:16:29 -07:00
Jens Frederich
9e72812557 [wtl] Adding Windows Template Library
Signed-off-by: Jens Frederich <jfrederich@gmail.com>
2016-10-26 09:52:58 +02:00