Commit Graph

17 Commits

Author SHA1 Message Date
Jack·Boos·Yu
5283cdb370
[scripts-audit] Make buildsystem (#20165)
* [script-audit] Make buildsystem

* Fix wrongly merge

* Fix rename

* Format

* Apply suggestions

* Apply suggestion

* Fix bug

* Change the function names

* Fix command line

* Apply suggestions

* version

* typo

* Apply suggestions

* Fix bug

* Fix path

* Fix bug

* Fix un=parser code, move macros to the top

* Apply suggestions

* Update docs

* update doc

* CRLF

* add docs and add a PARENT_SCOPE

* Update doc

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2021-10-20 14:12:58 -07:00
Ryan
aab8d8f300
[xbyak] Update port to 6.00 (#20377)
* update to 6.00

* quote cmake arguments

* update deprecated functions

* update versioning
2021-09-27 21:07:48 -07:00
autoantwort
66dc12b3fa
many-ports: Update supports field (#20053)
* many-ports: Update supports field

* Fix several "version-string"s.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-17 08:20:57 -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
Phoebe
277e9a7f46
[glew/openvdb/xtensor-io] Update to latest release version (#20022)
* [glew/openvdb/xtensor-io] Update to latest release version

* [glew] Update patch

* [xtensor-io] Update version
2021-09-08 07:56:56 -07:00
nicole mazzuca
ff190a561a
[macos ci] update 2021-07-27 (#19207)
* update 2021-07-27

macOS -> 11.5.1, XCode -> 12.5.1

* update azure-pipelines

* update sha of macfuse

* change how macos-ci-base works

* fix build errors

* fix itpp:linux

* more fixes

* remove tab

* allow version changes in all the remove/rename-version patches

* fix libunistring for real

* robert CR
2021-08-04 13:27:40 -07:00
Ronald
8000529d61
[xlsxio] new port (#18438)
* add port: xlsxio

* vcpkg x-add-version xlsxio

* fix deps

* add vcpkg_fixup_pkgconfig()

* Apply suggestions from code review

To be consistent, `OUT_FEATURE_OPTIONS FEATURE_OPTIONS` in a new line, as in `vcpkg_from_git`.

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

* Update ports/xlsxio/portfile.cmake

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

* format

* use date as version string

* vcpkg format-manifest

* Update ports/xlsxio/portfile.cmake

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

* patch for dependency

* fix typo

* vcpkg x-add-version

* remove feature wide

* Update ports/xlsxio/vcpkg.json

deprecate libzip that's an alternative and imperfect

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

* Update ports/xlsxio/vcpkg.json

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

* Update versions/x-/xlsxio.json

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

* Remove x64-windows-cpp17 community triplet

Co-authored-by: abc <a@b.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-07-06 14:04:12 -07:00
JonLiu1993
4ea49a1cf8
[xtensor] update to 0.23.9 (#18206)
* [xtensor] update to 0.23.9

* update version

* [xtl] update to 0.7.2

* update version

* update patch

* update version

* Update ports/xtl/portfile.cmake

* update version

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-06-10 16:02:29 -07:00
SvenPStarFinanz
b121bba26a
[xmlsec]Update to 1.2.32 (#18199)
* Updating xmlsec to 1.2.32. Removing the need for patching the UWP build.

* x-add-version for xmlsec

* Using correct version string in vcpkg.json.
Fixing bug on Windows build, xmlsec persists on lib prefix for the dll file.

* Updating to latest commit.
2021-06-03 12:42:49 -07:00
Dawid Wróbel
a47809ed9e
[xmlsec] add pkgconfig files (#16908)
* [xmlsec] add pkgconfig files

- also fixes the library filename, which is actually libxmlsec1.
  This follows the upstream naming scheme.

* [xmlsec] convert CONTROL to manifest

* [xmlsec] update versions

* [xmlsec] update library name

* [xmlsec] update versions
2021-05-25 13:34:00 -07:00
Park DongHa
968c5eba7b
[xnnpack] create a new port (#17064)
* [xnnpack] create a new port

* [xnnpack] create a patch

* [cpuinfo] update to latest

* [cpuinfo] update baseline and port SHA

* Update ports/cpuinfo/fix-install.patch

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

* Update ports/cpuinfo/fix-install.patch

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

* Update ports/cpuinfo/portfile.cmake

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

* Update ports/cpuinfo/fix-install.patch

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

* [cpuinfo] update port SHA

* [cpuinfo] recover find_package

* fixup target path to `share/unofficial-cpuinfo`
* change IMPORTED target name to `unofficial::cpuinfo::cpuinfo`

* [fbgemm] resolve failure after cpuinfo rename

* change cpuinfo::cpuinfo to unofficial

* [fbgemm] update port version

* [nnpack] use changes target name

* [nnpack] update port-version

* [pthreadpool] support find_package

* update to latest source code

* [pthreadpool] update port version

* [pthreadpool] support uwp

* use WindowStore in platform check

* [xnnpack] support find_package

* windows: static build
* export with namespace `unofficial::`

* [xnnpack] update code to latest

* change snapshot to resolve linux compile errors

* [xnnpack] "supports" in manifest

* update baseline & port SHA

* [xnnpack] use 'vcpkg-cmake' ports

* update port git-tree SHA

* [xnnpack] remove unused configure options

* [xnnpack] update code version

* snapshot: 21/04/10 -> 21/05/17

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Billy Robert ONeal III <bion@microsoft.com>
2021-05-17 23:22:24 -07:00
matttyson
9b2d7568d8
[x265] Allow release-only build. (#17051)
* [x265] Allow release-only build.

When doing a release-only build, conditionally disable commands
for debug builds

* [x265] Bump port version.
2021-04-30 11:30:54 -07:00
JonLiu1993
6b47549240
[Xalan-C] update to 1.12 (#17256)
* [Xalan-C] update to 1.12

* update version
2021-04-29 16:18:49 -07:00
Chuck Walbourn
fe430b986b
[xaudio2redist] Add new port (#17174)
* new port for Microsoft.XAudio2.Redist NuGet package

* Update baselines

* Convert CONTROL to vcpkg.json

* Update baseline

* Removed use of VCPKG_CRT_LINKAGE

* Refresh baseline

* Updated unsupported platform port logic per feedback

* Update baseline
2021-04-15 13:20: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
NancyLi1013
9caf3d87d5
[x264] Fix build failed on uwp (#15769)
* [x264] Fix build failed on uwp

* Update port_versions

* [x264] Fix build failed on uwp

* Update port_versions

* Update baseline

* Add supports

* Update versions/x-/x264.json
2021-01-26 14:55:06 -08:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00