24 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
Jesse Towner
170e44d327
[breakpad] add support for Android triplets (#16401)
* [breakpad] add support for Android triplets

This changes vcpkg's custom CMakeLists.txt file for Breakpad so
that it correctly builds libbreakpad_client for Android. It
follows the same source file layout for Android as seen in the
./android/google_breakpad/Android.mk make file.

* [breakpad] update control file

* [breakpad] update versions

* [breakpad] fix for unordered_map in MSVC++ STL and libstdc++

* [breakpad] update versions

* [breakpad] fix to install libbreakpad on non-Android platforms

* [breakpad] update versions

* [breakpad] Read sources list from Android.mk

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-03-29 10:12:06 -07:00
Gyusun Yeom
1c33981078
[breakpad] Support breakpad_client on Linux & macOS (#15092) 2020-12-17 00:16:41 -08:00
Robert Schumacher
75bd2efe0d
[many ports] 2019.09.14 Updates (#13536)
* [many ports] 2019.09.14 Updates

* Revert failure ports

* Revert failure ports

* Revert failure ports

* [urdfdom] Fix find dependency console_bridge

* Revert failure ports

* [devil] Compatible with jasper 2.0.20

* [devil] Refix compatible with jasper functions declaration on different os

* Update ports/alembic/CONTROL

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* Revert failure ports wangle

* [azure-kinect-sensor-sdk] Fix build with matroska 1.6.2

* Revert failure ports

* Revert failure ports

* [urdfdom-headers] Fix include path in config.cmake file

* upload patch

* [urdfdom-headers] Refix include path in config.cmake file

* [qt5-imageformats] Fix missing include math.h

* [urdfdom-headers] Refix include path in config.cmake file

* [qt5] Fix adding option PATCHES and other options when using qt_submodule_installation

* Remove updated ports version

* Commit suggestions

* [libideviceactivation] revert

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-10-13 13:17:32 -07:00
Jack·Boos·Yu
a4d42aac24
[breakpad] Fix build failure on OSX (#11984)
* [breakpad] Fix build failure on OSX

* update baseline

* Update portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-06-17 11:19:55 -07:00
Lily
ae2d1b727a [breakpad] Fix build failed with Visual Studio 2019 (#7938) 2019-09-03 10:41:09 -07:00
Robert Schumacher
1550b9e71b
[many ports] Updates 2019.07.09 (#7217)
* [many ports] Upgrades 2019.07.11

* Re-generate patches and fix build errors.

* [manyport]Fix build errors.

* Fix avro-c and console-bridge failures, revert curl and tesseract

* fix botan failure

* Fix build errors and undo some ports upgrades.

* [aws-c-common,chipmunk,cxxopts,grpc]Fix build errors

* Fix build errors.

* [angle]Undo upgrade changes.

* [directxtk]Fix UWP build error (#7233)

* Revert leptonica since it cause tesseract failed

* Revert jsonnet

* [google-cloud-cpp] Disable parallel configure due to source directory writes

* [many ports] Undo undesired changes

* [bitsery] Fix indentation

* [avro-c][aws-c-common][graphite2] Convert line endings to minimize PR diff

* fix console-bridge and remove usockets unused patch

* update ogre patch

* [many ports] Revert unneeded changes w.r.t. master. Add missing write to console-bridge.

* [console-bridge] Fix export macro

* [avro-c] Revert upgrade; split to #7875

* [avro-c] Complete previous revert
2019-08-24 13:43:57 -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
3d9c55d2e0 [many ports] Updates 2019.05.08 (#6382)
* [many ports] Updates 2019.05.08

* Undo changes for failure ports grpc libjpeg-turbo curl cartographer

* [guetzli] Patch to handle breaking changes in butteraugli
2019-05-09 22:53:05 -07:00
Robert Schumacher
64a7483a4a Upgrades 2018.09.18 2018-09-19 14:13:12 -07:00
Robert Schumacher
7e5bb652fb Upgrades 2018.08.03 2018-09-18 02:11:05 -07:00
Romain Pokrzywka
961cd9effd breakpad: Enable building the libbreakpad_client library (#4008)
* breakpad: Enable building the libbreakpad_client library

That's the library that allows creating and uploading .dmp files
when a program crashes.

Use the same flags and setup as for libbreakpad, just note that
this commit changes the installation folder for headers which
was previously incorrect:
The libbreakpad headers were installed in include/google_breakpad,
but the correct path is include/breakpad/google_breakpad,
and client headers go into include/breakpad/client/windows.

* [breakpad] Install headers one directory higher

* [breakpad] Switch to only build static libraries. Disable libbreakpad_client on non-windows due to additional work required.
2018-08-08 06:02:30 -07:00
Robert Schumacher
c3d34e7d8e Upgrades 2018.06.31 2018-08-03 00:09:21 -07:00
Robert Schumacher
86fecfc61c Upgrades 2018.07.08 2018-07-08 22:29:53 -07:00
Robert Schumacher
feb0e9af9a Upgrades 2018.07.01 2018-07-03 00:52:10 -07:00
Robert Schumacher
2a0bf9c488 Upgrades for 2018.06.12 2018-06-12 21:14:14 -07:00
Robert Schumacher
8087d70a2d [breakpad][jsonnet][nuklear][parson][thrift][wt][zeromq] Upgrades 2018-04-19 15:33:56 -07:00
Robert Schumacher
0764aafbd0 [abseil][aws-sdk-cpp][breakpad][chakracore][cimg][date][exiv2][libzip][rs-core-lib] Upgrades 2018-04-12 23:32:09 -07:00
Robert Schumacher
89201f4aec [abseil][aws-sdk-cpp][azure-c-shared-utility][azure-iot-sdk-c][azure-uamqp-c][azure-umqtt-c][breakpad][exiv2][gdcm2][grpc][nuklear][rocksdb][rs-core-lib][thrift][zeromq] Upgrades 2018-04-05 22:02:37 -07:00
Robert Schumacher
36dddad940 [abseil][aws-sdk-cpp][breakpad][exiv2][nuklear][zeromq] Upgrades 2018-03-28 17:43:24 -07:00
Robert Schumacher
51f93e27f1 [abseil][breakpad][cimg][matio][piex][rocksdb][thrift][tiny-dnn][unicorn-lib][unicorn] Updates 2018-03-13 11:16:07 -07:00
Robert Schumacher
c7616b902b [many ports] Upgrades 2018-02-26 15:10:56 -08:00
Robert Schumacher
92b4308f5b [breakpad] Fix hash 2018-02-23 22:14:50 -08:00
Robert Schumacher
0f607865f3 [libdisasm][breakpad] Initial commit of breakpad. Improvements to libdisasm. 2018-02-19 08:12:04 -08:00