24 Commits

Author SHA1 Message Date
Mengna Li
4c998fb475
[double-conversion] update to v3.2.0 (#23145)
* update to v3.2.0

* update
2022-02-18 14:39:34 -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
Billy O'Neal
09a647a526
Delete use of vcpkg_test_cmake and vcpkg_common_functions. (#13065) 2020-10-28 14:18:07 -07:00
Ehsan
81258880b1 [double-conversion] Update library to 3.1.5 (#7717) 2019-08-19 08:36:16 -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
Robert Schumacher
33af90d42a
[many ports] Updates 2019.05.19 (#6524) 2019-05-21 21:00:24 -07:00
Victor Romero
050e71d01d
Remove references to CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS (#5937)
* [various ports] remove references to CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

* [alac,benchmark,capnproto] Fix  check_linkage call

* [fastlz] Fix SHA512

* [coroutine] Fix dynamic build

* [folly] Find double-conversion

* [gamma] Use vcpkg_from_github

* [librsync] Enable static builds

* [netcdf-cxx4] Fix SHA512

* [octomap] Fix static build

* [tidy-html5] Fix static build

* [various ports] remove custom messages for shared/static builds, modernize some scripts in the meantime

* [folly] Use ras0219's fix for link paths

* [octomap] Fix exported targets

* [uvatlas] Set tool download SHA512

* [duktape+python2] fix portfile to call configure with correct python version, manage python2 also outside win32

* [suitesparse] osx fix

* [gtkmm] Call vcpkg_check_linkage after including vcpkg functions

* [duktape] Resolve conflicts

* [duktape] FIxed typo in Python paths

* [wangle] Find zlib

* [openssl-uwp] Fix SHA512

* [glib] Allow static builds on non-Windows

* [suitesparse] Fix build on Windows

* [multiple ports] Bump CONTROL version

* [multiple ports] Fix description indent

* [directxtk] Fix CONTROL file

* [bde,duktape,qpid-proton] Build packages with python2 installed

* [binn] remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

* [gdal,live555,uriparser] Fix regressions

* [live555] Update to 2019.04.24
2019-05-02 22:57:43 -07:00
myd7349
30d5f95986 [double-conversion] Remove unnecessary patch (#4321)
* [double-conversion] Remove unnecessary patch

* [double-conversion] Small portfile improvement

* [double-conversion] Provoke rebuild
2018-10-25 15:53:48 -07:00
Simon Hausmann
c7f99a77a8 Fix up double-conversion and harfbuzz (#4285)
* [double-conversion] Bump to 3.1.0

This release also allows removing the workarounds for calling
vcpkg_fixup_cmake_targets twice after renaming *LibraryDepends.cmake
because upstream didn't install *Targets.cmake files. That in turn fixes
using double-conversion on Linux.

* [harfbuzz] Fix cmake configs

When building cmake with autotools, a harfbuzz-config.cmake file gets
installed that makes find_package work. However when building with
cmake, that is omitted. Therefore include a patch from upstream pull
request

    https://github.com/harfbuzz/harfbuzz/pull/1161

to fix that.

* [harfbuzz] Rename targets to unofficial-harfbuzz because they are not provided by upstream
2018-09-17 23:48:30 -07:00
Robert Schumacher
38c9c97b6b [double-conversion] Fix on non-windows 2018-03-21 23:33:41 -07:00
past-due
9d02fb0dc8 [double-conversion] Fix build failure when VCPKG_BUILD_TYPE is set 2018-03-19 18:35:55 -04:00
Robert Schumacher
9f9778ccff [many ports] Improve behavior on Linux and general cleanup 2018-03-11 23:42:54 -07:00
Robert Schumacher
38136a2d05 [double-conversion] Fix regression introduced in vcpkg_fixup_cmake_targets. 2017-11-02 11:42:32 -07:00
Robert Schumacher
912c38d466 [double-conversion] Fix --head builds 2017-10-31 02:14:39 -07: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
codicodi
888843e039 [double-conversion] update to 3.0.0 2017-08-06 22:37:58 +02:00
Robert Schumacher
b566676eff [double-conversion] Bump version, build arm static to avoid cmake bug 2017-05-28 05:28:34 -07:00
Hennadii Zabula
c5d7766b00 Fix double conversion build 2017-05-25 10:55:07 +03:00
Arkady Shapkin
7ef45f3d29 Delete no longer used mscv_vers.patch 2017-05-06 23:55:12 +03:00
Alexander Karatarakis
1808d461b0 triplet is now automatically included before portfiles.
Also remove trailing whitespaces from portfiles
2016-11-08 14:25:47 -08:00
Charles Barto
cf47f60534 made double-conversion use a cmake build 2016-11-01 17:37:15 -04:00
Alexander Karatarakis
86bee246f4 [double-conversion] Only vcpkg_copy_pdbs() on dynamic build 2016-10-26 12:24:09 -07:00
Robert Schumacher
9c70beaf88 [double-conversion] Reduce work done during deployment 2016-10-12 14:03:45 -07:00
Jamie Kenyon
1babdd467b Updating based off feedback from @ras0219-msft for PR #6. 2016-10-11 21:57:01 +01:00