Commit Graph

28 Commits

Author SHA1 Message Date
Kai Pastor
f56c8174eb
[tiff] Add lerc support (#35471)
* [lerc] Burn C++ linkage into pc file

* [tiff] Add lerc support

* [cmake-user] Test tiff with lerc

* [wxwidgets] Handle tiff/lerc C++ linkage trick
2024-02-08 22:41:50 -08:00
Kai Pastor
fb9cd249f4
[tiff] Add libdeflate support, add usage (#35925) 2024-01-03 17:39:26 -08:00
Javier Matos Denizac
c6c59e33f3
[boost] pulling has_synchro bits from https://github.com/microsoft/vcpkg/pull… (#30836)
* pulling has_synchro bits from https://github.com/microsoft/vcpkg/pull/27694

* bump port version

* version

* fix clang

* bump version

* version

* oops

* bump dependency version for boost-atomic's boost-module-build-helper dependency

* version

* revert renaming stuff -.-

* version

* remove detection stuff for lib prefix/suffix

* version

* fix indentation

* version

* forgot one

* version

* one more!

* version

* revert changes to cmake-get-vars

* version

* generate ports

* version db

* generate ports

* version db

---------

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
2023-06-16 10:50:24 -07:00
Billy O'Neal
638b1588be
Update vcpkg-tool to 2023-06-07 + xbox triplets cleanup (#31723)
* Update vcpkg-tool to 2023-05-31 + xbox triplets cleanup

https://github.com/microsoft/vcpkg-tool/releases/tag/2023-05-30 +
https://github.com/microsoft/vcpkg-tool/releases/tag/2023-05-31 +
https://github.com/microsoft/vcpkg-tool/releases/tag/2023-06-07

Clean up xbox triplets following teaching vcpkg.exe about xbox more directly.

Also deletes the seemingly-no-longer-used vcpkg_get_dep_info.cmake and vcpkg_get_tags.cmake.

Also: [redis-plus-plus] Add DISABLE_PARALLEL_CONFIGURE due to source tree write.
2023-06-08 11:17:29 -07:00
Kai Pastor
5b744ed753
[gettext] Split, fixes, faster build, checked-in config cache (#30429)
* [gettext] Preset more MSVC checks

* Modify configure to speed up windows builds

* Support checked-in config cache

* Collect config [skip actions]

* Add x64 config

* Collect config [skip actions]

* Re-use most of windows config.cache [skip actions]

* WIP [skip actions]

* WIP [skip actions]

* WIP [skip actions]

* WIP

* [mchehab-zbar] Update gettext dependencies

* Add missing patch

* Don't test find_package(Gettext)

* [vcpkg-autotools-cache] Script port for config caching

* Add missing file

* Remove vcpkg-autoconf-cache

---------

Co-authored-by: Monica <v-liumonica@microsoft.com>
2023-05-21 17:56:14 -07:00
Kai Pastor
f93710335b
[ncurses] Fix "lib model" control. (#29881)
* [cmake-user] Test CMake package Curses with port ncurses

* [ncurses] Control lib models
2023-02-28 10:09:09 -08:00
Kai Pastor
8682183365
[cmake-user] format-manifest (#29128) 2023-01-23 16:05:49 -08:00
Kai Pastor
51e10eb7fe
[tiff,zstd,gdal,libkml] Fix find_package interactions, enable gdal libkml driver (#28929)
* [gdal] Fix find_package2

* [cmake-user] Test gdal

* [cmake-user] gdal needs CMake 3.9

* Fix tiff & zstd

* Update versions

* [libkml] Export modern INTERFACE_LINK_LIBRARIES

* [gdal] Enable libkml driver

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
2023-01-16 12:45:42 -08:00
Kai Pastor
a72a3d5459
[physfs] Cleanup, fix linkage and usage issues (#28787)
* [physfs] cleanup

* Fix symbol names

* Add usage doc

* [cmake-user] Test PhysFS

* Add wrapper

* Restore msbuild for uwp
2023-01-09 01:19:59 -08:00
Kai Pastor
85d7c82eef
[lapack-reference] Update, fixes (#28679)
* [cmake-user] Test FindLAPACK.cmake

* Minor cleanup

* Avoid release-only lib variable

* Fix usage of external blas

* Update to 3.11

* Add usage doc

* Update versions
2023-01-04 12:37:43 -08:00
Kai Pastor
b93bc1b81e
[tiff] Fix zstd plus minor changes (#28530)
* Use official zstd config

* Require packages for features

* Test zstd in CI

* Enable libtiffxx on arm

* Update versions

* Assume ZSTD_decompressStream

* Don't put targets into TIFF_LIBRARIES

* [qt5-imageformats] Use libtiff-4.pc

* [zstd] Revise thread lib export

* Mark link libs with LINK_ONLY

* Revert "[zstd] Revise thread lib export"

This reverts commit a99e6378a6.

* [qt5-imageformats] Get all tiff lflags

* [gdk-pixbuf] Use libtiff-4 pc file for msvc

* [qtimageformat] Workaround for QTBUG-95052
2022-12-31 01:30:53 -08:00
Kai Pastor
f3a1217662
[freeglut] Update to 3.4.0, cleanup (#28575)
* Add x11 dependency

* Update to 3.4.0, cleanup

* Document exported config

* Update versions

* Test (Free)GLUT cmake usage

* FindGLUT debug postfix support needs CMake 3.13

* Revise installed file names

* Fix typo
2022-12-29 10:34:27 -08:00
Kai Pastor
6fe2b934fd
[cmake-user] Don't use internal toolchains (#27782)
* Don't use internal vcpkg toolchains

* Modernize

* Test SQLite3
2022-11-14 15:18:05 -08:00
Kai Pastor
2909a549a9
[wxwidgets] Use vcpkg gtk3 for linux et al., fix mingw cross builds (#27087)
* Minor port corrections

* Use vcpkg gtk3 for linux et al.

* Update versions

* Update cmake-user

* Use vcpkg sdl2 cmake config

* Update versions

* Add direct cairo dependency

* Declare maybe-unused variables

* Fix mingw cross builds

* Update versions
2022-10-08 21:26:00 -07:00
Kai Pastor
02fcf92f48
Deprecated VCPKG_PREFER_SYSTEM_LIBS (#26449) 2022-08-23 12:07:33 -07:00
Kai Pastor
e59f7400c3
[wxwidgets] Update to 3.2 (#25943)
* Update wxwidgets to 3.2.0

* Update portfile

* Update wrapper for win32

* [cmake-user] Test wxwidgets on mingw

* Fixup cmake config

* Updated nanosvg patch

* Handle search path for gtk3 link libs

* Update versions

* Remove obsolete option

* Cleanup pkg-config setup

* Update versions

Co-authored-by: Tal Regev <tal.regev@gmail.com>
2022-07-27 11:51:32 -07:00
Kai Pastor
fb3190dcc5
[vcpkg script] Test pkg-config integration (#25531)
* Require cmake-user to pass CI

* Update baseline state documentation

* Test pkg-config integration

* Prefer pkgconf

* Make pkgconf required
2022-07-07 14:27:38 -07:00
Kai Pastor
17f96c51ab
[cmake-user] Extend test port coverage (#25183)
* Deduplicate platform restrictions

Ports might be installed even if excluded via 'platform' restrictions.
However, for this test ports it is fair to require that if a port can
be installed, the platform shall not be exlcuded, and the test shall
pass.

* Implement CMake version condition

* Fix mingw cross builds

* Extend cmake-user testing

* Update for hidden Iconv dependencies

* Format manifest

* Add uwp exclusions
2022-06-20 14:29:12 -07:00
Kai Pastor
86aed649b3
[libpng] Fix find_package debug libraries (#25200)
* [cmake-user] Extend check for release vs. debug libs

* Add wrapper for PNG

* Update versions
2022-06-13 16:25:35 -07:00
Kai Pastor
8d59cb32d2
[liblzma] Update wrapper, add feature tools (#24708)
* Fix liblzma wrapper for older CMake

* Add feature for tools

* Update versions

* Test find_package(... REQUIRED)
2022-05-17 16:53:40 -07:00
Kai Pastor
2b6b7e80bc
[cmake-user] Fix and extend (#24260)
* Skip wxwidgets test on Linux

On Linux, wxwidgets needs system libs which conflict with vcpkg ports.

* Test curl

* Execute build to detect wrong libs

* Add comment for wxwidgets
2022-04-20 14:44:53 -07:00
Kai Pastor
7cd3196145
[libpng] Fix and cleanup (#24211)
* Fix unused CMake variable warning

* Acquire msys only on Windows

* Revise APNG variable names and usage

* Fix download mode usability with APNG

* Uncompress APNG patch with gzip

gzip is a default package of MSYS2 and (most) other systems.
7z download is implemented for windows only.

* Revise main CMake patches

cmake.patch deals with libpng build configuration.
fix-export-targets deals with cmake config export.

* Revise pkgconfig patching and fixup

* Additional cleanup

* Add usage based on FindPNG.cmake

* Update versions

Co-authored-by: Leonid Pospelov <pospelovlm@yandex.ru>
2022-04-18 14:33:43 -07:00
Kai Pastor
48d15f4db6
[wxwidgets] Validate and fix (#24047)
* Add wxwidgets example and test port

* Fix library processing for export

Split original patch.
Restore missing appending in the end.
Drop libs (generator expression) which don't match build type.

* Make wx-config relocatable

* Rewrite wrapper

* Add missing libjpeg-turbo dependency

* Fixup wxrc

* Update usage

* Validate release/debug consistency

* Fixup wx-config symlink

* Use non-deprecated license expression

* Fix portfile quirks

* Transform installation fixup into patch

* Fix mingw

* Control curl dependency

* Add message for linux system package dependencies

* Update versions

* Resolve linux lib issues

* Update versions

* Minor amendments

* Update versions

* Update requirements warning

* Update versions

* CR request: Move CMakelists.txt to example dir

* CR requests: Revise wrapper

* Update versions
2022-04-18 10:56:00 -07:00
Kai Pastor
6da8836c98
[cmake-user] Fix library check (#24070) 2022-04-11 08:33:06 -07:00
Kai Pastor
cb91b416cb
[cmake-user] Verify library location for debug vs. release, fix ports (#21641)
* Verify library location for debug vs. release

* Use existing variables for wrapper

* Always install freetype wrapper

* Quote @expressions

* Set policies for freetype wrapper (#19459)

* Test JPEG

* Fix jpeg wrapper for CMake < 3.12

* Test TIFF

* Test with current and oldest supported CMake

* Test and fix icu cmake wrapper

* CMake policy fixes [skip actions]

* Update versions

* CI

* CI

* Nicole CRs

* Disable Curses test

* Prefer <Pkg>_VAR over <PKG>_VAR

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-04-01 13:30:43 -07:00
Kai Pastor
190610bb80
[cmake-user] Re-enable tests with minimum cmake version 3.7.2 (#23315)
* Update minimum cmake test to 3.7.2

* Re-enable test with minimum cmake
2022-02-28 10:32:09 -08:00
Kai Pastor
642a21c0f3
[cmake-user] Disable CI test with CMake 3.4 (#23168) 2022-02-18 10:30:38 -08:00
Kai Pastor
d3092a90f3
[vcpkg-ci] Add test port for cmake user projects (#19034)
* Add cmake test port for user projects

* Improve find_package test failure output

* Remove JPEG from find_package tests

* Report find_package tests to stdout

* Test more packages

* Revise package list

* Remove obsolete variable

* Move AZP markup out of loop

* Fix typo

* Isolate find_package tests

* Disable manifest mode

* Improve stdout

* Enable debug output for find_package

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-11-22 14:55:09 -08:00