Commit Graph

101 Commits

Author SHA1 Message Date
Kai Pastor
215a253559
[z_vcpkg_setup_pkgconfig_path] debug needs share/pkgconfig (#36151)
Pass `share/pkgconfig` instead of `debug/share/pkgconfig`: The `share`
location is for config-independent data.
Integrate `CURRENT_PACKAGES_DIR` locations.
Change the function interface to take a CONFIG parameter instead of
prefix list (suggested below).
Use `z_vcpkg_setup_pkgconfig_path` also for `vcpkg_fixup_pkgconfig`
(which already had proper handling of `CURRENT_PACKAGES_DIR` and
`share`).
Remove redundant trailing slash.
Extend unit test.

Fixes consuming `wayland-protocols` and similar.
2024-03-01 16:35:37 -08:00
Alexander Neumann
2ac6ba173b
Refine rpath fixup to inspect already existing rpaths (#36056)
Reason:
```
-- Adjusting original rpath of: '/mnt/e/all/vcpkg/installed/x64-linux-release/lib/pkgconfig/../../lib/intel64/'
-- Fixed rpath in: '/mnt/e/all/vcpkg/packages/numpy_x64-linux-release/lib/python3.11/site-packages/numpy/linalg/lapack_lite.cpython-311-x86_64-linux-gnu.so' ('$ORIGIN:$ORIGIN/../../../../:$ORIGIN/../../../../intel64/')

```
needed `$ORIGIN/../../../../intel64/` in there which came from a pc file
via `-Wl,-rpath='${libdir}'`

---------

Co-authored-by: Osyotr <Osyotr@users.noreply.github.com>
2024-02-28 18:24:48 -08:00
Kai Pastor
3302690d7e
[skia] Update (#36680)
Based on https://github.com/microsoft/vcpkg/pull/36518, credits @abique.

This update makes skia use vcpkg vulkan. There are still vendored
dependencies (abseil, spirv-*, maybe also dawn, graphite), but I don't
want to touch that now.

---------

Co-authored-by: Alexandre Bique <bique.alexandre@gmail.com>
2024-02-21 22:42:39 -08:00
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
212d57331c
[vcpkg baseline][vcpkg-ci-msys2] Update msys2 (#36548)
* Limit CI

* Update msys2

* Declare msys packages for pkgconfig and fortran...

... with explicit DEPS and PROVIDES, instead of using DIRECT_PACKAGES.
This change makes it possible to notice changed dependencies
in `vcpkg-ci-msys2` update checks. (Current case: zstd.)
It also enables reuse of general declarations from `vcpkg_acquire_msys`
in specialized cases (`vpckg_find_fortran`).

Last not least, using the the Z_DECLARE_EXTRA_PACKAGES_COMMAND
simplifies the implementation of `vcpkg-ci-msys2`, in particular for
checks across platform boundaries.

* Revert "Limit CI"
2024-02-06 13:13:41 -08:00
Kai Pastor
fb9cd249f4
[tiff] Add libdeflate support, add usage (#35925) 2024-01-03 17:39:26 -08:00
Kai Pastor
c415be64bd
[skia] Fix and test vulkan (#35828)
* [vcpkg-ci-skia] Use vulkan

* [skia] Fix vulkan on windows

* Require vcpkg-ci-skia pass

* Fixup
2023-12-28 00:11:17 -08:00
Kai Pastor
5b539db37e
[kealib] Cleanup, fix cmake config, [gdal] Add feature 'kea' (#35437)
* [gdal] Add feature 'kea'

* [gdal] Accept (vcpkg) interface and alias targets
2023-12-27 15:39:57 -08:00
Kai Pastor
f1c6efee22
[gdal] Update to 3.8.2 (#35818) 2023-12-24 03:44:26 -05:00
Kai Pastor
38bd5902bb
[vcpkg-ci-boost] All triplets (#28619) 2023-12-20 20:24:18 -08:00
Kai Pastor
a1e13e8d58
[icu] Update, enable uwp, fix osx-dynamic (#35530)
* [cppcms] No uwp

* [libzim] No uwp

* [cppcms] Fix dependencies and linkage

* [libzim] Update to 9.0.0

* [cppcms] No python for build

* Fixup

* CI: uwp

* [vcpkg-ci-boost] Enable boost-regex[icu]

* [icu] Enable uwp

* [icu] Update to 74.1

* [icu] Cleanup

* v

* [icu] Set install names during linking

* Revert "CI: uwp"

This reverts commit 127afe8aa1.

* CI

* [icu] Use --enable-rpath on osx
2023-12-14 17:37:17 -08:00
Kai Pastor
848c8178ce
[skia] Fix incomplete update, build modules, fix android (#34951)
* [skia] Restore simple msvc toolchain fix

* libgifcodec is gone

* Update abseil-cpp

* Use vcpkg abseil-cpp

* Update wuffs

* Update dawn

* Update spirv deps

* Remove tint

* Update vulkan-tools

* versions

* Drop obsolete patch

* Use github directly

* Revert "Use vcpkg abseil-cpp"

This reverts commit 9b4157c980.

* Fix dawn

* Build, install, export modules

* Unroll default-features

* Fix comments

* Fix skresources

* Fix manifest

* WIP

* WIP

* Pass-through lib dirs

* Filter link libs

* WIP

* WIP

* Add feature 'modules'

* Fix SkDebugf visibility

* WIP

* WIP

* Rewrite gn install and export

* No pdb for release

* Omit explicit ouput check

* Update modules config

* Disable skparagraph DLL, no dllexport

* Disable icu on shared windows

* Cleanup

* Cleanup

* Enable android CI

* Android

* Don't export standard libraries

* Disable FontConfigInterface on windows
2023-11-29 01:34:00 -08:00
Kai Pastor
3715d743ac
[vcpkg baseline][vcpkg-ci-msys2] Silence error from libcrypt delisting (#34772)
* [vcpkg-ci-msys2] Improve var name

* [vcpkg-ci-msys2] Handle known delisted
2023-10-30 15:10:50 -07:00
Ankur Verma
85f2afaa49
[ankurvdev-embedresource] adding new port (#34401)
* Rename Port to ankurvdev-embedresource

* Add sha

---------

Co-authored-by: Ankur Verma <ankurv@microsoft.com>
2023-10-19 10:51:59 -07:00
Kai Pastor
2815578f4a
[mpg123] Fix pc file for Windows, update deps (#34462)
* [vcpkg-ci-ffmpeg] Format manifest

* [vcpkg-ci-ffmpeg] Test feature openmpt

* [mpg123] Export shlwapi usage

* [mpg123] Use yasm directly
2023-10-18 10:56:02 -07:00
Yury Bura
34bc63571a
[llvm] update to v17.0.2 (#33600) 2023-10-12 10:46:42 -07:00
Kai Pastor
64c330e2e7
[soci] Fix dependencies in, intern, out (#34327) 2023-10-10 17:32:58 -07:00
Kai Pastor
2f6176ce98
[freerdp] Update, cleanup + [libusb] Fix pc file (#32416)
* [freerdp] Update, cleanup

* Add freerdp feature test port

* Update baseline

* [freerdp] ffmpeg unsupported on windows

* libusb availability limitations

* [freerdp] Update supported platforms

* [freerdp] Update supported platforms

* [freerdp] Use ffmpeg link libraries

* [freerdp] Fix install destinations

* [freerdp] Fix tools

* [freerdp] Fix osx

* [freerdp] Fix patch

* [freerdp] Keep duplicate link libs

* [freerdp] Mac client needs Xcode

* [freerdp] Fix wfreerdp-server exe lib name

* [freerdp] Fix client-mac

* Fix patch

* CI

* Fix patch

* Fix patch

* Set PDB_NAME for server exe

* Trim patch

* Test urbdrc on windows

* [libusb] Fix pc file for windows

* [freerdp] Add missing find_dependency()

* [freerdp] Export interface include directories
2023-07-31 15:53:11 -07:00
Kai Pastor
505cba2668
[libssh2,libgit2,vcpkg-ci-libgit2] Fix, test, cleanup (#32440) 2023-07-11 11:18:41 -07:00
Kai Pastor
d1e11918f5
[vcpkg-ci-llvm] Find cacheable feature sets (#32352)
* [vcpkg-ci-llvm] Find cacheable feature sets

* [vcpkg-ci-llvm] Isolate utils, not tools; Move flang to linux

* [vcpkg-ci-llvm] Move flang to !static

* [vcpkg-ci-llvm] Move flang to !static & !x86

* [vcpkg-ci-llvm] Move flang to linux
2023-07-06 12:34:39 -07:00
JAEHONG KIM
cb7d3b4999
[libuv] Update to 1.45.0 (#32165)
* [libuv] Update to 1.45.0

* [libuv] Update all consuming ports

* [libuv] Update versions

* resolve port SHA

* Add port-version

* update version

* revert usockets.json

---------

Co-authored-by: Zhao Liu <v-zhli17@microsoft.com>
2023-06-27 17:07:58 -07:00
Billy O'Neal
f6a5d4e8eb
Patch Tuesday June 2023 + Ubuntu 22.04 (#32014) 2023-06-20 12:12:03 -07: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
Kai Pastor
66444e13a8
[vcpkg_find_acquire_program(PKGCONFIG)] Switch to pkgconf, add arm64 (#31924)
* [vcpkg-ci-msys2] Add clangarm64 support

UCRT binaries for ARM64, built with clang.

* [vcpkg_find_acquire_program(PKGCONFIG)] Switch to pkgconf, add arm64

* CI
2023-06-12 16:31:42 -07:00
Kai Pastor
ef97891996
[vcpkg_find_fortran] Update msys2 packages (#31926)
* [vcpkg_find_fortran] Update msys2 packages

* [vcpkg-ci-msys2] Process x86 gfortran on x64
2023-06-12 16:29:54 -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
1c5a340f6e
[vcpkg_acquire_msys,vcpkg-ci-msys2] Ensure msys2 package list freshness (#29067)
* [vcpkg-ci-msys2] New test port for msys2 freshness

* Add features for script updates

* Remove duplicate libbz2 entry

* Automatically update all msys packages, add autoconf-wrapper

* Update primary URL and mirrors

* Follow repo renames

* Fix dependencies of 'file'

* Resolve dependencies at runtime

Don't require msys2 packages to be order from dependent to independent.
This allows to directly use the packages official dependencies, even
if they contain cycles.
It also allows to maintain a stable alphabetical order of the package
declarations, even if the dependencies change over time. This helps to
avoid duplicate declaration.

* Fix updating

* [gettext] Preset more MSVC checks

* Update msys2 packages

* gettext fixes

* CI

* Simplify: Remove update-critical

Desired changes can be picked in git gui etc..

* PKGCONFIG moved

---------

Co-authored-by: Monica <v-liumonica@microsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-05-28 23:24:09 -07:00
Kai Pastor
3bd49b738c
[vcpkg-find-acquire-program] Revise test port (#31557)
* [vcpkg-find-acquire-program] Revise test port

* Update

* Update

* Test expected fail

* Revert test
2023-05-24 11:43:23 -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
Mengna Li
8e368e0475
fix bad hash (#30656) 2023-04-04 15:38:20 -07:00
Kai Pastor
5da7b20588
[vcpkg_fixup_pkgconfig] Fix quoting (#29792)
* [unit-test-cmake] Check pkgconfig quoting

* [vcpkg_fixup_pkgconfig] Fix quoting
2023-03-14 17:07:19 -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
Aleksi Sapon
50805d6ece
Add support for different LFS url to vcpkg_from_git (#28693) 2023-01-23 16:26:29 -08:00
Kai Pastor
8682183365
[cmake-user] format-manifest (#29128) 2023-01-23 16:05:49 -08:00
Kai Pastor
edcf949452
[vcpkg_fixup_pkgconfig] Check for more problems, add unit test (#23898)
* Print stack traces for failed unit tests

* Add test for vcpkg_fixup_pkgconfig.cmake

* Check for 'optimized' and 'debug' in pc files

* Check for 'NOTFOUND' and for 'ns::target' in pc files

* Check for, and fix, line continuations

* Test file path substitutions

* Move contents processing into separate function

* Update and leverage line break normalization

* Pass prefix to data processing

* Validate only the collapsed Libs

* Test removal of '<field>.private'

* Declare unit test license (same as vcpkg)

* Replace ';' with ' ' in 'Libs:'

* Disambiguate parameter variable names

* Test quoting of variables

* Fix quoting of variables

* Quote whole parameters

* Process and quote libs item-wise

* Resolve keywords 'optimized', 'debug', 'debug'

* Consistency

* CI [skip actions]

* CI [skip actions]

* Don't fail on detected errors

* Disable unit-testing for fatal errors

Co-authored-by: Billy O'Neal <bion@microsoft.com>
2023-01-19 18:27:29 -08:00
Alexander Neumann
9e36a44338
[seacas/vtkm/vtk/paraview] Add/update ports. (#27928)
* [cgns] update to 4.2.0

* [vtk-m] update to 1.6.0

* [vtk] Update to 9.0.1-pv5.9.1
- VTK update to match release version of ParaView

* [ParaView] Update to 5.9.1

* version stuff

* fix automatic svg linkage in static builds

* update qt5-svg

* revisit vtk
- fix build with vtk-m 1.6
- remove unused patches
- remove comments

* bump version

* remove two commented lines

* version stuff

* remove old PR version

* commit stuff

* commit stuff

* update notes

* wip commit

* update paraview

* fix hdf5 patch

* fix patch

* fix patch

* fix portfile

* add mpi feature

* format manifest

* use relativ path

* trace

* retry

* move qml files again

* try with host triplet

* - use VCPKG_CRT_LINKAGE
- use METIS not metis

* fix casing Zlib

* hopefully more fixes on other platforms.

* fix patch

* fix missing ws

* fix typos

* scale down to warning

* revert jsoncpp change
fix zoltan on osx?

* move trace option to failing port

* move trace option to failing port

* Revert "trilinos vcpkg.json changes"

* verdict fix osx build ?

* fix patch

* fix internal find_package call

* also apply correct case for metis

* disable METIS on osx

* vtk-m don't support arm.

* force more features in Ci

* fix missing ,

* more fixes

* more vtk python try and error.

* - paraview python setup same as vtk
- remove openvr from platforms not supporting it
- trace openimageio

* fix case and remove fmt for openimageio.

* trying to fix stuff

* set hash to 0

* [skip actions] add missing module

* WebCore module moved to paraview&python

* fixes

* remove patch in vtk-dicom

* add var to maybe unused

* use correct 5.11 ref instead of the one in release

* Patch cleanup round 1

* remove empty patch parts

* fix vtkm configs

* reintegrate jsoncpp.patch

* fix patch

* add single seacas/kokkos/zoltan ports

* throw out trilinos, zoltan, kokkos
replace trilinos with seacas
make seacas work for dynamic windows

* fix mpi feature

* fix dependency

* retry dep fix

* rename target

* remove double line

* fix target

* fix patch

* retry

* remove cgns config

* fix cgns

* no seacas trace

* lowercase hdf5 target

* fix case of metis

* disable Fortran

* add iotr patch

* add additional config folder

* handel case sensitive Seacas again

* get trace again and force jsoncpp

* update cmake to 3.25.0

* bump port-version

* add patch from vtk upstream

* cleanup, format-manifest

* fix port version

* v db

* opencv4 always inject deps.

* fix test port to not require stuff which is not supported on x86

* Fix HDF5 lookup in opencv4

* only delete bin folder in static builds

* add license field

* v db

* add missing "

* v db

* trace again

* fix rtabmap python dep

* fix openimageio by deleting the find module

* v db

* cr cleanup

* v db

* opencv4 v db due to merge with master. Had to bump port version

* v db

* v db

* v db

* CR comments

* v db for cr comments

* trace theia output

* revert theia trace

* v db

* try without patch

* revert rtabmap changes

* v db after merge

* v db for all
2023-01-19 17:55:56 -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
797256da29
[mathgl] Update, fix cmake config, dependencies, linkage, usage (#28311)
* Fix mathgl confix fixup

* Control library linkage

* Fix dependencies

* Revise tool installation

* Install usage doc

* Reduce config warnings

* Don't pick up gettext

* Fix osx

* Cross-builds partially unsupported

* uwp unsupported

* Devendor getopt

* No _CRT_STDIO_ISO_WIDE_SPECIFIERS

* Fix mgllab

* Fix glut

* Cleanup

* Update to 8.0.1

* Control building of examples

* Fix examples

* Add vcpkg-ci-mathgl test port

* Update versions

* Trim qt5 dependency

* Trim non-trivial dependencies

* Fix cross builds

* CR changes
2023-01-07 00:59:30 -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
Francisco Facioni
2112a10f4a
x265 works on arm linux (#28458) 2022-12-28 13:09:32 -08:00
Kai Pastor
e07c62d059
[skia] Turn into usable and maintainable port (#28007)
* Remove unused SKIA_PUBLIC_DEFINITIONS

* Revise python3 injection

* Major overhaul

* Revise third-party downloads

Declare them early in a single location, but use as needed.
Validate agains skia's DEPS.

* Integrate download & pkgconfig externals handling

Ensure that downloads are complete with --only-downloads mode.

* Move cmake functions to separate file

* Turn source fixups into proper patches

* Update versions

* Generally disable msvc env setup

* Update python patch

* Remove unused patch

* Rename function

* Update versions

* Handle third-party licenses

* Move block

* Rename and unset skia root variable

* Fix usage with alternative build types

* Update versions
2022-12-20 19:29:21 -08:00
Kai Pastor
a5fd603ae3
[baseline][ogre] Disable find_package(QT) (#27979)
* Disable find_package(QT)

* Pull qtbase into ogre CI run

* Silence warnings
2022-11-28 11:03:21 -08:00
Kai Pastor
e819a7d0ae
[mongo-cxx-driver] Update (#27565)
* Update and cleanup

* Fix C++14 guard for MSVC

* Force mongo-cxx-driver feature boost in CI
2022-11-21 09:19:31 -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
Aleksi Sapon
57ae838ee8
Add optional LFS support to vcpkg_from_git (#27461) 2022-11-07 07:55:41 -08:00
Francisco Facioni
a29baafabc
[ffmpeg] srt support (#26679) 2022-10-08 21:54:58 -07: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