Skip to content

Commit 0ef543a

Browse files
Merge pull request microsoft#209 from acolombier/chore/update-vcpkg
Update vcpkg
2 parents 32e784a + c1358e8 commit 0ef543a

File tree

1,339 files changed

+12151
-6180
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,339 files changed

+12151
-6180
lines changed

.github/pull_request_template.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,28 @@
66
77
- [ ] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
88
- [ ] SHA512s are updated for each updated download.
9-
- [ ] The "supports" clause reflects platforms that may be fixed by this new version.
10-
- [ ] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.
11-
- [ ] Any patches that are no longer applied are deleted from the port's directory.
9+
- [ ] The "supports" clause reflects platforms that may be fixed by this new version, or no changes were necessary.
10+
- [ ] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) and [CI feature baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.feature.baseline.txt) entries are removed from that file, or no entries needed to be changed.
11+
- [ ] All patch files in the port are applied and succeed.
1212
- [ ] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result.
13-
- [ ] Only one version is added to each modified port's versions file.
13+
- [ ] Exactly one version is added in each modified versions file.
1414
1515
END OF PORT UPDATE CHECKLIST (delete this line) -->
1616

1717
<!-- If this PR adds a new port, please uncomment and fill out this checklist:
1818
1919
- [ ] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
20-
- [ ] The name of the port matches an existing name for this component on https://repology.org/ if possible, and/or is strongly associated with that component on search engines.
21-
- [ ] Optional dependencies are resolved in exactly one way. For example, if the component is built with CMake, all `find_package` calls are REQUIRED, are satisfied by `vcpkg.json`'s declared dependencies, or disabled with [CMAKE_DISABLE_FIND_PACKAGE_Xxx](https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html).
20+
- [ ] The packaged project shows strong association with the chosen port name. Check this box if at least one of the following criteria is met:
21+
- [ ] The project is in Repology: https://repology.org/<PORT NAME>/versions
22+
- [ ] The project is amongst the first web search results for "<PORT NAME>" or "<PORT NAME> C++". Include a screenshot of the search engine results in the PR.
23+
- [ ] The port name follows the 'GitHubOrg-GitHubRepo' form or equivalent `Owner-Project` form.
24+
- [ ] Optional dependencies of the build are all controlled by the port. A dependency is controlled if it is declared an unconditional dependency in `vcpkg.json`, or explicitly disabled through patches or build system arguments such as [CMAKE_DISABLE_FIND_PACKAGE_Xxx](https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html) or [VCPKG_LOCK_FIND_PACKAGE](https://learn.microsoft.com/vcpkg/users/buildsystems/cmake-integration#vcpkg_lock_find_package_pkg)
2225
- [ ] The versioning scheme in `vcpkg.json` matches what upstream says.
2326
- [ ] The license declaration in `vcpkg.json` matches what upstream says.
2427
- [ ] The installed as the "copyright" file matches what upstream says.
2528
- [ ] The source code of the component installed comes from an authoritative source.
26-
- [ ] The generated "usage text" is accurate. See [adding-usage](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/examples/adding-usage.md) for context.
29+
- [ ] The generated "usage text" is brief and accurate. See [adding-usage](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/examples/adding-usage.md) for context. Don't add a usage file if the automatically generated usage is correct.
2730
- [ ] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result.
28-
- [ ] Only one version is in the new port's versions file.
29-
- [ ] Only one version is added to each modified port's versions file.
31+
- [ ] Exactly one version is added in each modified versions file.
3032
3133
END OF NEW PORT CHECKLIST (delete this line) -->

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ jobs:
173173
libxi-dev \
174174
libxkbcommon-dev \
175175
libxkbcommon-x11-dev \
176+
libxrandr-dev \
176177
libxrender-dev \
177178
linux-libc-dev \
178179
nasm \

ports/7zip/portfile.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ vcpkg_from_github(
44
OUT_SOURCE_PATH SOURCE_PATH
55
REPO ip7z/7zip
66
REF "${upstream_version}"
7-
SHA512 eb5ed600f82aca52f6dc8d2be3e4da4380670308dff2bcbfc96255d9d23bb5ca35dea073bd97070f0a1891b2f329d88a06b304f48e30f4ad89256c7664e9c1ea
7+
SHA512 5f4922efd94e12776e531f77053981978a0d9f8c6da50f51bdb750a54436b07ddccafa6a1180fd234a7fcaf4d2a5b0ab7c2a9267da2ea8e68407bf432ff0f76c
88
HEAD_REF main
99
PATCHES
1010
sort-asm.diff

ports/7zip/vcpkg.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "7zip",
3-
"version": "25.1",
4-
"port-version": 1,
3+
"version": "26.0",
54
"description": "Library for archiving file with a high compression ratio.",
65
"homepage": "https://www.7-zip.org",
76
"license": "LGPL-2.1-or-later",

ports/abcmake/portfile.cmake

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
vcpkg_from_github(
2+
OUT_SOURCE_PATH SOURCE_PATH
3+
REPO an-dr/abcmake
4+
REF "v6.4.0"
5+
SHA512 85724b25e158f41f0aa0e5f01ea0530a46f6b4397606b1af115c8aec1c29d317aaaf40a6161795687d713b6f00f66b13a1ab3982f351a139dc79a7d4ac42b7da
6+
)
7+
8+
set(VCPKG_BUILD_TYPE release) # CMake support file only port
9+
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
10+
11+
vcpkg_cmake_configure(
12+
SOURCE_PATH "${SOURCE_PATH}"
13+
)
14+
15+
vcpkg_cmake_install()
16+
17+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
18+
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")

ports/abcmake/usage

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
abcmake provides CMake configs:
2+
3+
find_package(abcmake CONFIG REQUIRED)
4+
add_main_component(${PROJECT_NAME})

ports/abcmake/vcpkg.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "abcmake",
3+
"version": "6.4.0",
4+
"description": "Simple, component-first CMake helper for small & medium C/C++ projects",
5+
"homepage": "https://github.com/an-dr/abcmake",
6+
"license": "MIT",
7+
"dependencies": [
8+
{
9+
"name": "vcpkg-cmake",
10+
"host": true
11+
}
12+
]
13+
}

ports/ada-idna/portfile.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ vcpkg_from_github(
22
OUT_SOURCE_PATH SOURCE_PATH
33
REPO ada-url/idna
44
REF "${VERSION}"
5-
SHA512 e9887102e10b5963518ef4dc62b2538b941201e099eb80ee1c3a6742a370a7bbf600005363f665ffdc438b09ced9a30158b33c93032fc7d491ea54f158190db6
5+
SHA512 d161ca25d37746b6127ff7dadf6a6475e73802575fd75362f46259512f7f2c9a73154ad6faf9411fd73fbdf46e6e7c49fccfdeec5883d069025789742137db55
66
HEAD_REF main
77
PATCHES
88
install.patch

ports/ada-idna/vcpkg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ada-idna",
3-
"version": "0.3.4",
3+
"version": "0.4.0",
44
"description": "C++ library implementing the to_ascii and to_unicode functions from the Unicode Technical Standard.",
55
"homepage": "https://github.com/ada-url/idna",
66
"license": "Apache-2.0 AND MIT",

ports/ada-url/no-cpm.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
diff --git a/CMakeLists.txt b/CMakeLists.txt
2-
index 1b55e39..23ce61f 100644
2+
index d525b59..116095b 100644
33
--- a/CMakeLists.txt
44
+++ b/CMakeLists.txt
5-
@@ -22,7 +22,6 @@ set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/scripts/cmake)
5+
@@ -26,7 +26,6 @@ option(ADA_USE_SIMDUTF "Whether to use SIMDUTF for IDNA" OFF)
66
# errors due to CPM, so this is here to support disabling all the testing
77
# and tooling for ada if one only wishes to use the ada library.
8-
if(ADA_TESTING OR ADA_BENCHMARKS OR ADA_TOOLS)
8+
if(ADA_TESTING OR ADA_BENCHMARKS OR ADA_TOOLS OR ADA_USE_SIMDUTF)
99
- include(cmake/CPM.cmake)
1010
# CPM requires git as an implicit dependency
1111
# We use googletest in the tests
1212
if(ADA_TESTING)
1313
diff --git a/tools/cli/CMakeLists.txt b/tools/cli/CMakeLists.txt
14-
index 397b428..4b49928 100644
14+
index 5e7ffe0..f60a2d5 100644
1515
--- a/tools/cli/CMakeLists.txt
1616
+++ b/tools/cli/CMakeLists.txt
17-
@@ -8,12 +8,8 @@ if(MSVC AND BUILD_SHARED_LIBS)
17+
@@ -37,12 +37,8 @@ if(MSVC AND BUILD_SHARED_LIBS)
1818
"$<TARGET_FILE:ada>" # <--this is in-file
1919
"$<TARGET_FILE_DIR:adaparse>") # <--this is out-file path
2020
endif()

0 commit comments

Comments
 (0)