* [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>
* [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>
* [qt5-base] fix glib link issues on linux
* add version
* remove unused vars
* update version
* write port info file.
* version stuff
* remove paraview from baseline. It was added due to the same spurious glib failures.
* trying out a different approach
* more changes
* change the if to actually use the buildtype instead
* remove x_vcpkg_get_port_info
* add option QT_OPENSSL_LINK back in
* use INCLUDE_DIRS_(DEBUG|RELEASE) instead of just INCLUDE_DIRS
* regen docs
* remove function call I forgot to remove
* [vcpkg-pkgconfig-get-modules] Move to port
* revert changes to ports.cmake
* include the file in qt5-base
* fix path
* remove unnecessary include
* Apply suggestions from code review
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
* Apply suggestions from code review
* update version
* ws removal
* version stuff
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
* Add control and portfile for mfl port
* Add mfl port
* reference version better header inclusion
* reference version with fmt linkage
* Apply suggestions from code review
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* Set ports that don't build to fail in the ci baseline
* add version
* Check for static linkage and add message about C++20 requirements.
* add fail to ci baseline for dynamic windows builds
* version update
* Code review improvements
- Improve warning message that the port requires a C++20 compiler
- Use `version` rather than `version-string` in manifest
- Use `"supports": "static"` in manifest instead of setting dynamic
builds to `fail` in ci baseline.
* update version
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* [vcpkg_install_meson] add bin to path to run code generators
* [vcpkg_configure_meson]
deactivate native compiler in cross builds
make x86 on x86_x64 a native instead of a cross build
(as long as we are not building for UWP)
* remove double spaces in _FLAGS
remove unnecessary comments
* change regex to take double - into account.
* add missing removal of multiple spaces back into the regex
* remove ws diff change
* remove ws to reduce diff
* Change macro to function
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* UWP is cross target.
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* Replace Outcome single header based port with full fat cmake install port.
* [outcome] Improve portfile.cmake
* update baseline
* Refactor @JackBoosY's changes to make the dependency SHA feature chosen.
* update baseline
* Fix outcome features so they actually work.
* update baseline
* [outcome] install usage
* update baseline
* [outcome] Always use vcpkg copies of dependencies
* DO NOT MERGE YET, ONLY FOR INSPECTION BY PR REVIEW.
1. Break out these dependencies into standalone ports:
- ned14-internal-quickcpplib
- status-code
2. Add port for LLFIO.
3. Add dependency smoke tests for Outcome and LLFIO as per instructions.
* Fix all remaining issues, including link failure. This changeset is now ready to merge into vcpkg.
* Update versions.
* Have LLFIO not build static or shared libs according to VCPKG_LIBRARY_LINKAGE.
* Fix last commit breaking everything :)
* Update versions.
* Disable uwp support for LLFIO.
* versions
* Fix status code on GCC 6 and 7
* Don't download ntkernel-error-category if not on Windows.
* Fix status-code on UWP.
* Update versions.
* Fix MSVC on ARM.
* Apply all the feedback from the PR review, more or less.
* versions
* Update to latest, disable UWP for Outcome.
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* [metrohash] exclude CRC for x86
* the change will allow x86 triplets
* update port SHA
* [metrohash] remove fail_port_install
* update ci.baseline.txt
* [metrohash] sync portfile and CMakeLists.txt
* make both file use 'VCPKG_TARGET_TRIPLET' to make ease of comparison
* [metrohash] Use try_compile helpers
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* [libbacktrace] add new port
* add version files
* Update ports/libbacktrace/portfile.cmake: Apply suggestion
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* add version files
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* [vcpkg_execute_build_process] Add warning message when memory or hard disk space is insufficient
* Update scripts/cmake/vcpkg_execute_build_process.cmake
* fix supports field to correctly run CI for other platforms
* Merge from master
* Update baseline version
* Fix the format issue
* Fix baseline version
* Revert the changes for host
* Fix the baseline version
* Disable mpfr:x64-osx and mpfr:x64-linux in Ci testing
Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
Windows 10 has native support for tar but older Windows do not. Add tar dependency for gettext, which requires tar when running autopoint.
Resolves#15508.
Resolves#14830.
This fixes build failures on osx when using dependencies not coming
from vcpkg (e.g. closed binaries). vcpkg tried to install those
dependencies (which fails because they're not where vcpkg expects them).
Fixes issue #8203
Co-authored-by: Martijn Otto <git@martijnotto.nl>
* [liblsl] Update to 1.14.0
* Adjust CI baseline, assuming liblsl:x64-linux and liblsl:x64-osx pass
* Add back set(VCPKG_LIBRARY_LINKAGE dynamic)
* [libsls] Improve portfile.cmake, add homepage
* update version record
* Update ports/liblsl/CONTROL
* Update versions/l-/liblsl.json
* [liblsl] Use pugixml vcpkg package instead of bundled one
* Convert tabs to spaces
* Update version
* Fix Supports in liblsl/CONTROL
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* Update versions/l-/liblsl.json
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* [vcpkg_*_cmake] remove deprecation message
to be replaced by a note in the maintainer-guide
this allows existing ports to build without warnings, so as to avoid warning people unnecessarily,
while still making sure people update when they update ports.
* Update docs/maintainers/maintainer-guide.md
* [scripts-audit rollup] PR #16419
* pull the cmake doc comment parsing out into its own function
* support cmake helper ports
* add real support for deprecation, as opposed to ad-hoc
* [scripts-audit rollup] PR #16192
* add a z_ in front of internal functions
* move internal functions out
set feature_vars again in parent scope
* [scripts-audit rollup] PR #16309
Audit vcpkg_copy_pdbs
* [scripts-audit rollup] PR #16304
* Fix usage, documentation
* [scripts-audit rollup] PR #16393
* [scripts-audit rollup] PR #16377
Deprecate `vcpkg_*_cmake` in favor of `vcpkg_cmake_*` from the
`vcpkg-cmake` port, as well as `vcpkg_fixup_cmake_targets`
in favor of `vcpkg_cmake_config_fixup` from the
`vcpkg-cmake-config` port.