vcpkg/versions
Billy O'Neal ae76307e4b
Audit use of TO_NATIVE_PATH. (#26201)
* Audit use of TO_NATIVE_PATH.

TO_NATIVE_PATH should only be used when (1) pasting a path into a command line, or (2) displaying a path to a user. It must not be used before calling other CMake operations like file(WRITE.

Fixes https://github.com/microsoft/vcpkg/issues/26178

ports/ffmpeg/portfile.cmake:
Both uses are being embedded into a command line 

ports/gdal/dependency_win.cmake
117: This used TO_NATIVE_PATH but didn't actually connect the result. It's going on a command line so TO_NATIVE_PATH is appropriate.
Drive by: Added quotes around other uses (all of which seem to be going to command lines).
202: ${EXPAT_LIBRARY_REL} ${ZLIB_LIBRARY_REL} don't seem to be set even though they are used; I think this is wrong but I don't know for sure that it is so I'm leaving it alone for now.

ports/msmpi/portfile.cmake
All 3 uses are being embedded into a command line 

ports/jemalloc/fix-utilities.patch
ports/libproxy/fix-dependency-libmodman.patch
ports/qtbase/env.patch
These are in upstream content / context so it is not edited.

ports/opengl/portfile.cmake
Broken! Drive by fixes:
* Modernized checking VCPKG_BUILD_TYPE
* Ordered things consistently to be release then debug.
* Removed funny newlines.

ports/openni2/portfile.cmake
Borderline OK; it goes into an MSBuild / vcxproj. I'm leaving it alone. Drive by fixes:
* Guarded debug-only copies for VCPKG_BUILD_TYPE
* Fixed supports expression

ports/openssl/unix/CMakeLists.txt:
Unused!

ports/pthreads/portfile.cmake:
Both uses are being embedded into a command line 

ports/qt5-base/cmake/qt_fix_makefile_install.cmake
I'm not sure if this one is OK but it's being embedded into a file so it's probably fine.

ports/qtapplicationmanager/portfile.cmake:
I'm pretty sure this one is wrong, but it's guarded by VCPKG_TARGET_IS_WINDOWS so the ability to create damage is limited.

ports/readosm/portfile.cmake:
The use is being embedded into a command line 

ports/spatialite-tools/portfile.cmake:
The use is being embedded into a command line 

ports/sqlcipher/portfile.cmake:
Both uses are being embedded into a command line 

scripts/ports.cmake:
Some uses were unused, others are immediately used and printed to the console. 

scripts/buildsystems/vcpkg.cmake:
Fixed :)

scripts/cmake/vcpkg_build_qmake:
Looks unused.

scripts/cmake/vcpkg_build_process.cmake:
Added to console message only. 

scripts/cmake/vcpkg_execute_required_process_repeat.cmake:
Added to console message only. 
Drive by: Fixed typo in variable name in the message.

scripts/cmake/vcpkg_execute_required_process.cmake:
Added to console message only. 

* Fix missing license.
2022-08-12 15:21:20 -07:00
..
3-
7-
a- [aws-c-*] update aws-c-common and aws-c-io (#26230) 2022-08-09 13:34:13 -07:00
b- [boost-modular-build-helper] add mips64 support (#26267) 2022-08-11 18:38:50 -07:00
c- [cpr] disable werror (#26252) 2022-08-10 11:28:51 -07:00
d- [DiscordCoreAPI] Update to version 2022-08-07 (#26216) 2022-08-08 11:55:07 -07:00
e- [expected-lite] update to v0.6.2 (#26225) 2022-08-08 11:53:28 -07:00
f- [fakeit] update to 2.3.0 (#26244) 2022-08-11 18:25:00 -07:00
g- Audit use of TO_NATIVE_PATH. (#26201) 2022-08-12 15:21:20 -07:00
h- [harfbuzz] Fix build error (#26229) 2022-08-09 13:33:30 -07:00
i- [Ixwebsocket] Update to 11.4.3 (#26078) 2022-08-01 09:47:25 -07:00
j- [json-c] clang-cl fix. (#26254) 2022-08-10 11:25:10 -07:00
k- [kf5] Merge copyright files to a single file (#25759) 2022-07-14 12:09:56 -07:00
l- [libmariadb] update to v3.3.1 (#26268) 2022-08-11 18:51:38 -07:00
m- [mathgl] no absolute paths (#26320) 2022-08-12 13:55:29 -07:00
n- [nameof] Update to 0.10.2 (#26168) 2022-08-05 23:47:46 -07:00
o- Audit use of TO_NATIVE_PATH. (#26201) 2022-08-12 15:21:20 -07:00
p- [pixman] add mips64 support (#26269) 2022-08-11 18:34:25 -07:00
q- [qtmultimedia] Remove dependency alsa (#26000) 2022-07-29 21:28:59 -07:00
r- [rioki-glow] Adds new port glow 0.2.0 (#26236) 2022-08-11 18:24:42 -07:00
s- [sdl2] add 'wayland' feature (#26261) 2022-08-10 16:08:17 -07:00
t- [tree-sitter] Remove the invalid records (#26224) 2022-08-08 11:14:37 -07:00
u- [urdfdom] Update to 3.1.0 (#25591) 2022-08-05 23:09:54 -07:00
v- [vulkan-headers] Updating port to latest version (#26194) 2022-08-06 00:04:01 -07:00
w- [wxwidgets] Add feature fonts (#26113) 2022-08-03 10:26:21 -07:00
x- [xlnt] Add missing include (#25925) 2022-07-22 10:53:47 -07:00
y- [vcpkg baseline][yasm/vcpkg-tool-ninja] Fix build (#25678) 2022-07-11 16:24:23 -07:00
z- [z3] Update to v4.10.2 (#25954) 2022-08-01 09:56:24 -07:00
baseline.json Audit use of TO_NATIVE_PATH. (#26201) 2022-08-12 15:21:20 -07:00