Commit Graph

22 Commits

Author SHA1 Message Date
autoantwort
5b11232d00
[many-ports] Don't use deprecated functions (autogenerated) (#26981)
* [libuvc,qt5-virtualkeyboard] remove duplicated dependency entry

* [many-ports] don't use deprecated functions (autogenerated)

* atkmm: Fix license.
gperftools: Reformat vcpkg_check_features call.
gsl: Fix license.
libpff: Fix license.
pangomm: Fix license.
qtbase: Revert, only comment changes.
type-lite: Reformat vcpkg_check_features and actually use the feature options.

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-04-13 09:13:15 -07: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
James Athey
bd7fc2c75b
[libconfig] fix compilation errors on macos (#19374)
* remove "find_path(STDINT_H stdint.h)". On clang/macos, this picks up the kernel headers version of stdint.h, instead of the C standard library, breaking compilation
* only define YY_NO_UNISTD_H and YY_USE_CONST on Windows, like the upstream CMakeLists.txt
* set the C standard to C99, like the upstream CMakeLists.txt
* update to 1.7.3
* remove the "fail" line from ci.baseline.txt
* run ./vcpkg x-add-version --all to update metadata files
* reset port-version
2021-08-18 17:24:14 -07:00
miheer vaidya
bbb50a7d8b
[libconfig] Fix libconfig when installing master branch (#15885)
* Fix libconfig when installing master branch

Also add a warning that stable version won't create cmakeConfig files

* run x-add-version

* Update ports/libconfig/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/libconfig/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/libconfig/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/libconfig/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Revert "run x-add-version"

This reverts commit 79b9ef8693.

* run x-add-version libconfig

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-02-02 13:45:32 -08:00
miheer vaidya
852d471ff3
[libconfig] shlwapi is not available on linux (#15613)
* shlwapi is not available on linux

This fixes error while building for `x64-linux-dynamic`.

* Update control version

* Update port_versions

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
2021-01-19 15:29:30 -08:00
Jack·Boos·Yu
d98696de85
[vcpkg baseline] Fix CI test (#10508)
* re-trigger ci test

* [kealib] Switch repo to github

* [mongo-c-driver] Set icu as a feature

* [monkeys-audio] Update version to 5.24

* [mongo-c-driver] Fix arm build

* [mongo-c-driver] Re-generate patch

* [mongo-c-driver] Remove key word PRIVATE in patch

* [llvm] Remove default feature tools

* [llvm] Add judgment to install tools

* [llvm] Add more condition

* [llvm] Fix clang cmake files when selecting feature tools

* [halide] Fix build depends info in CONTROL

* update baseline
2020-03-25 20:43:02 -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
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
Ivy Snow
9e21f1aacf [libconfig] update to 1.7.2 2018-01-13 13:04:15 +08:00
Ivy Snow
c8cddb849a [libconfig] update to 1.7.1 2017-12-26 12:43:00 +08: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
Robert Schumacher
ce69ed5552 [libconfig] Simplify CMake. Move header patching into the portfile. 2017-07-10 15:10:39 -07:00
atkawa7
0fae90a20e [libconfig] Prevent Cmake Eating Semi-colons 2017-07-03 22:34:55 -07:00
atkawa7
4b87e9cdcb [libconfig] fix guards 2017-07-03 22:07:38 -07:00
atkawa7
e4d5f93766 [libconfig] redefine scandir and preventing duplicated symbols 2017-07-03 21:27:49 -07:00
atkawa7
54213a0f69 [libconfig] Add source of the file 2017-06-30 11:35:20 -07:00
atkawa7
03fde38584 [libconfig] use find path 2017-06-29 15:18:58 -07:00
atkawa7
c588de6b8f [libconfig] fixed issues with portfile 2017-06-29 13:41:49 -07:00
atkawa7
f114e81a75 [libconfig] fixed issues with portfile 2017-06-29 13:38:45 -07:00
atkawa7
aa56370103 [libconfig] Fix description 2017-06-29 05:35:22 -07:00
atkawa7
77b5193954 [libconfig] added msvc scanner patches 2017-06-28 14:06:52 -07:00
atkawa7
0e34f81390 [libconfig] init #1343 2017-06-28 13:21:01 -07:00