Commit Graph

176 Commits

Author SHA1 Message Date
Yury Bura
cc471dc0f5
[boost] update to 1.77.0 (#19556) 2021-09-27 17:12:39 -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
myd7349
73a31ace68
[wavelib] Update to 2021-08-10 (#19477)
* [wavelib] Update to 2021-08-10

[wavelib] Add vcpkg.json

* [wavelib] Add version

* [wavelib] Clean

* [wavelib] Overwrite version
2021-08-30 10:21:45 -07:00
Be
996baeff29
[wxwidgets] make wxUSE_STL an optional triplet feature (#19274)
wxUSE_STL defaults to OFF so that is how it is in Linux
distribution packages. Downstream projects developed with
wxUSE_STL=ON are not necessarily compatible with wxUSE_STL=OFF
without modification. So, by default, go with wxWidgets' default
for compatibility with downstream codebases. vcpkg users who need
wxUSE_STL=ON can still do so by simply opting into the new 'stl'
feature of this port.

https://forums.wxwidgets.org/viewtopic.php?p=165208
Signed-off-by: Be <be@mixxx.org>
2021-08-19 08:59:43 -07:00
dengjunplusplus
3fbca9edf3
[workflow] Update version to 0.9.6 (#19280)
* update the port workflow version to 0.9.6

* remote port-version

* add version

* Revert "add version"

This reverts commit 487548aecf.

* add version once

* update REF for windows

* Update version database
2021-08-05 03:04:35 -07:00
Duncan Horn
7f3e714768
[wil] Update wil to the latest commit (#19343)
* Update WIL port

* Running new command I previously didn't know about
2021-08-05 03:03:51 -07:00
autoantwort
761c81d433
[boost] update to 1.76.0 (#17335)
* [boost] update generator script for boost 1.76

* [boost] update ports to 1.76.0 (run generator)

* [boost] fix windows build?

* [quantlib] update and fix mac build

* [symengine] update and fix build

* [avro-cpp] update to latest master and fix windows build

* [folly] update to 2021.05.31.00

* [fbthrift, fizz, wangle] update to v2021.05.31.00 and fix build

* [proxygen] update to version 2021.05.31.00

* [fizz, proxygen, fbthrift] fix sodium target

* [proxygen] also works on macOS

* [quantlib] use fix from upstream to fix mac build

* [symengine] minimize patch file and fix deprecation warning

* [folly,proxygen,wangle,fizz,fbthrift] update to 2021.06.14.00

* [fbthrift] remove unnecessary dependency rsocket

I couldn't find any information that this dependency exists. The term is used in the code, but not in the context of a dependency

* [fizz,fbthrift] fix zlib dependency

* [fbthrift] pass required flex executable to cmake configure

* add version files

* [boost] generate-ports.ps1: Apply code review

* [boost] changes from new version of generate-ports script

* update version files

* [boost] generate-ports.ps1: Apply code review
2021-07-07 12:31:06 -07:00
cnbatch
eed75c0ad5
[wxwidgets] Merge fix-patch from upstream (#18016)
* [wxwidgets] Merge fix-patch from upstream

Upstream fix: 94b399418c

* [wxwidgets] Merge fix-patch from upstream

Upstream fix: 94b399418c
2021-05-21 00:36:51 -07:00
Jack·Boos·Yu
c99dc50be9
[vcpkg baseline][many ports] Fix build error (#17983)
* [vcpkg baseline][wxwidgets] Fix build error

* [mlpack] Fix configure error (upstream bug)

* [vcpkg baseline] [embree2/embree3] Set cmake policy

* Remove control file

* Update baseline version

* [mlpack] Re-write the dependency

* [mlpack] Remove dependency boost-test since only feature test need it, add more boost dependencies.

* [mlpack] Add dependency boost-heap

* [mlpack] Fix uwp build

* update version record

* [mlpack] Revert uwp fix

* update version record

* [mlpack] Remove dependency boost-test

* update version record

* update baseline

* [clamav] Update hash

* update version record

Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2021-05-19 14:05:43 -07:00
dengjunplusplus
822153e37f
[workflow] update the port workflow version (#17700)
* update version to 0.9.5

* update versions
2021-05-18 16:04:07 -07:00
myd7349
f8c233a2bd
[winlamb] Add new port (#17590)
* [winlamb] Add new port

* [winlamb] vcpkg x-add-version --overwrite-version winlamb

* [winlamb] Supports windows

* [winlamb] vcpkg x-add-version --overwrite-version winlamb
2021-05-18 00:17:43 -07:00
JonLiu1993
e120407c0f
[wxWidgets] update to 3.1.5 (#17527)
* [wxWidgets] update to 3.1.5

* update version
2021-05-17 17:42:11 -07:00
Jack·Boos·Yu
3e9fce266b
[wxwidgets] Fix cmake wrapper (#16546)
* [wxwidgets] Fix cmake wrapper

* update version record

* Update versions/w-/wxwidgets.json

* Update ports/wxwidgets/vcpkg-cmake-wrapper.cmake

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

* Update versions/w-/wxwidgets.json

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2021-04-19 17:11:01 -07:00
Jesse Towner
9d80704127
[woff2] fix for static linking and alternative compiler toolchains (#16392)
* [woff2] fix static linking and alternate toolchain

First, this change teaches the woff2 CMake configuration to
understand the vcpkg's custom unofficial-brotli pkg-config
configuration in order to support static linking. This fixes a
build failure on x64-linux or other triplets when
VCPKG_LIBRARY_LINKAGE is set to static.

Secondly, the CANONICAL_PREFIXES option for the woff2 CMake
configuration has been changed to be on by default, otherwise
custom triplets or toolchains using alternate compilers such as
Clang/LLVM or other versions of GCC will fail.
Leaving CANONICAL_PREFIXES set to OFF causes
-no-canonical-prefixes to be passed to the compiler, which
prevents symlinked compiler toolchains from working correctly.
If a user does actually need non-canonical prefixes, chances are
they will have a custom triplet or toolchain file that passes in
-no-canonical-prefixes as a CFLAG for every port, and so setting
it to ON here is a better default for vcpkg.

* [woff2] update versions

* [woff2] update control file

* [woff2] update versions

* [woff2] update ci.baseline.txt

* Update ports/woff2/0001-unofficial-brotli.patch

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* [woff2] regenerate 0001-unofficial-brotli.patch file

* [woff2] update versions

* [woff2] regenerate 0001-unofficial-brotli.patch file attempt #2

* [woff2] update versions

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2021-04-07 14:22:28 -07:00
Jack·Boos·Yu
7d596220f9
[wxwidgets] Fix include path in UNIX (#16371)
* [wxwidgets] Fix include path in UNIX

* update version record
2021-04-07 14:12:18 -07:00
Matthew Oliver
85a48c1ed5
[ffmpeg] Add support for dav1d,fontconfig,freetype,fribidi,ilbc,modplug,opengl,openjpeg,libssh,tensorflow,tesseract,webp,libxml2 dependencies. (#15787)
* [tesseract] Use vcpkg_fixup_pkgconfig.

* [libxml2] Correct pkgconfig lib name.

* [libwebp] Use vcpkg_fixup_pkgconfig.

* [libssh] Export pkgconfig on windows.

Also move to using git to get source.

* [modplug] Export pkgconfig on windows.

* [ffmpeg] Add support for fontconfig,freetype,fribidi,modplug,openjpeg,libssh,tesseract,libxml2 dependencies.

* [openjpeg] Correct required static link libs in pkgconfig.

* [modplug] Combine vcpkg_from_github using variable.

* Update ports/libssh/CONTROL

* Improve portfile.cmake

* update version records.

* [openjpeg] Update libs in pkgcfg.

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* update version records

* [libssh] Add pthread to pkgconfig when using mbedtls.

* [libssh] Correct pthread naming on windows.

* [fontconfig] Add libintl to pkgconfig on windows.

* update version records

* [ffmpeg] Fixup FindFFmpeg.

* [ffmpeg] speex now supports non-windows.

* [ffmpeg] Add feature libass.

* [ffmpeg] Add dav1d feature.

* [ffmpeg] Add feature ilbc.

* [ffmpeg] Add tensorflow feature.

* [ffmpeg] update version record.

* [ffmpeg] Add CI feature test.

* [ffmpeg] Limit features based on CI failures.

* [ffmpeg] Update version record.

* [ffmpeg] limit features based on ci.baseline.

* [various ports] Update supports field.

* [ffmpeg] Limit features more based on CI.

* update version records.

* [ffmpeg] Add detection of additional non target deps..

select_library_configurations_from_names currently detects the debug libs even for release builds as  _IMPORT_PREFIX was not being set.

* [aubio] Silence warning about FindFFMPEG.

* [pangolin] Use vcpkg supplied FindFFMPEG.

* update version files.

* [ffnvcodec] Set as not supporting uwp.

ffnvcodec will build under uwp as its a header only lib, but it can not be used as it requires dynamic dll loading.

* [ffmpeg] Update feature all.

* update version records

* [tesseract] Wrap debug pkgcfg update.

* [libssh,libxml2,openjpeg,fontconfig] Fix pkg-config for release only triplets.

* [libssh] Correct port version after merge.

* [ffmpeg] Fixup after merge.

* Update version files.

* [ffmpeg] Add opengl support.

* [ffmpeg] Update package version.

* [ffmpeg] Fix ffnvcodec support.

* [ffmpeg] Fix x265 detection on osx.

* [libvpx] Enable arm-uwp build.

* [ffmpeg] Fixup x265 patch.

* trigger sdl rebuild

* [ffmpeg] Disable opengl on osx.

* Revert "trigger sdl rebuild"

This reverts commit 94065bfe84.

* [ffmpeg] Disable failing features on osx.

* Update ports/ffmpeg/FindFFMPEG.cmake.in

Co-authored-by: Matthias C. M. Troffaes <matthias.troffaes@gmail.com>

* [ffmpeg] Add ass dependencies to FindFFmpeg.

* Update ports/ffmpeg/FindFFMPEG.cmake.in

Co-authored-by: Matthias C. M. Troffaes <matthias.troffaes@gmail.com>

* update version

* [fontconfig] disable pthread/json as they are not needed for lib builds.

Only used for tests.

* [ffmpeg] Enable fontconfig on static+windows.

* update versions

* update versions.

* Fix incorrectly included commits

* revert pangolin commit

Reverts most of 2543be2edf

* update versions

* Correct port version after merge.

* update versions.

* [ffmpeg] Fix cmake dependency detection on non-windows.

* Revert "revert pangolin commit"

This reverts commit f59bc5a53e.

* [ffmpeg] Fix dependency loading that does not define separate debug/release libs.

* update versions.

* [ffmpeg] set CMP0072 policy.

* [wavpack] Fix cmake config export.

* [ffmpeg] Add optional system dependent libraries.

* update versions after merge.

* update versions.

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Matthias C. M. Troffaes <matthias.troffaes@gmail.com>
2021-04-07 10:06:55 -07:00
JonLiu1993
f351aed6b8
[WinReg] Update to v4.1.0 (#16871)
* [WinReg] Update to v4.1.0

* update version
2021-03-26 11:41:21 -07:00
dengjunplusplus
2de2ed68fd
[workflow] update version of workflow port (#16842)
* update workflow version to 0.9.4

* update versions

* change version scheme

* update versions

* Update portfile.cmake

* update version

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-03-24 12:44:33 -07:00
Joe Noël
3166bcc15b
[websocketpp] Add features to build without boost (#16675)
Run vcpkg x-add-version

Change version-string to version

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

Roll boost-asio, openssl and zlip into a single feature

Overwrite version
2021-03-23 14:42:28 -07:00
JonLiu1993
9e681d579b
[WinReg] update to v4.0.0 (#16765)
* [WinReg] update to v4.0.0

* update version

* update winreg.json

* update version
2021-03-19 09:55:28 -07:00
anaaru
f5bfe6dc18
[wil] Updating WIL version to match its nuget package version (#16575)
* [wil] Updating WIL version to match its nuget package version

* Removing port version from CONTROL file

* Revert "Removing port version from CONTROL file"

Reverting because PR tests are failing.

This reverts commit 28ffcba04b.

* Updating baseline.json and w-/wil.json

* update version

* modify portfile.cmake

* update version

Co-authored-by: Anand Arumugam <anand.arumug@gmail.com>
Co-authored-by: Anand Arumugam <anaaru@microsoft.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-03-10 13:29:45 -06:00
ras0219
e9e7021d7a
[workflow] Disable parallel configure due to writes to source dir (#16198) 2021-02-12 19:10:11 -08:00
dengjunplusplus
8cf29a3c88
[workflow] add port of sogou/workflow (#16140)
* add port workflow

* format manifest

* add versions

* add versions for all

* ignore arm_uwp and x64_uwp

* merge two portfile

* Revert "add versions for all"

This reverts commit 3806e22a7d.

* delete unnecessary line

* update versions
2021-02-11 00:02:31 -08:00
Vitalii Koshura
551875c539
[wxWidgets] Fix issue with port usage (#16154)
Fixed issue when necessary header file was not installed that leaded to this error:
`\vcpkg\installed\x64-windows-static\include\wx\platform.h(160,10): fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory`

Also fixed string replace enumeration to include only *.h files because otherwise for some reason *.cur file was messed up.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2021-02-11 00:00:18 -08:00
ras0219
ea11604579
[wxwidgets] Fix #4756 (#13361)
* [wxwidgets] Fix #4756

* [wxwidgets] Avoid replacing FindwxWidgets from CMake

* [wxwidgets] Provide usage information

* [gppanel] Use built-in CMake module

* [wxchartdir] Use built-in CMake module

* [wxwidgets] Fixup for applocal-ing

* [wxwidgets] Fix osx builds

* Update port_versions

* [gppanel][wxchartdir][wxwidgets] Change versioning schemas

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
2021-02-08 18:30:48 -08:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00