From 49bdeb3b496f58ab5593a3f155700c5a3455ed9f Mon Sep 17 00:00:00 2001 From: kornes <28986062+kornes@users.noreply.github.com> Date: Sat, 25 May 2024 17:17:37 +0000 Subject: [PATCH] chore: update vcpkg baseline (Qt 6.7.0) (#5422) Co-authored-by: Rasmus Karlsson --- CHANGELOG.md | 1 + scripts/get-vcpkg-package-versions.sh | 11 +++++++++++ vcpkg.json | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100755 scripts/get-vcpkg-package-versions.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index 206abd69e..5f5c324ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - Bugfix: If a network request errors with 200 OK, Qt's error code is now reported instead of the HTTP status. (#5378) - Bugfix: Fixed a crash that could occur when logging was enabled in IRC servers that were removed. (#5419) - Dev: Update Windows build from Qt 6.5.0 to Qt 6.7.1. (#5420) +- Dev: Update vcpkg build Qt from 6.5.0 to 6.7.0, boost from 1.83.0 to 1.85.0, openssl from 3.1.3 to 3.3.0. (#5422) - Dev: Use Qt's high DPI scaling. (#4868, #5400) - Dev: Add doxygen build target. (#5377) - Dev: Make printing of strings in tests easier. (#5379) diff --git a/scripts/get-vcpkg-package-versions.sh b/scripts/get-vcpkg-package-versions.sh new file mode 100755 index 000000000..f726a6cbb --- /dev/null +++ b/scripts/get-vcpkg-package-versions.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +dependencies="$(jq -r -c '.dependencies[] | if type == "string" then . else .name end' vcpkg.json)" +dependencies+=" openssl" +baseline="$(jq -r -c '."builtin-baseline"' vcpkg.json)" + +for dependency_name in $dependencies; do + dependency_url="https://raw.githubusercontent.com/microsoft/vcpkg/${baseline}/ports/${dependency_name}/vcpkg.json" + dependency_version="$(curl -s "$dependency_url" | jq -rc '.version')" + echo "Dependency $dependency_name is at version '$dependency_version' in baseline $baseline" +done diff --git a/vcpkg.json b/vcpkg.json index ed80080e5..5ab85f87a 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -2,7 +2,7 @@ "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", "name": "chatterino", "version": "2.0.0", - "builtin-baseline": "c6d6efed3e9b4242765bfe1b5c5befffd85f7b92", + "builtin-baseline": "01f602195983451bc83e72f4214af2cbc495aa94", "dependencies": [ "boost-asio", "boost-circular-buffer",