Skip to content

Commit

Permalink
[boost] Fix generate ports to match the tree.
Browse files Browse the repository at this point in the history
Added the ability for the 'default' port version to get a value in case they all change at once (as almost happened due to microsoft#29288)

microsoft#28356 did not apply post-source stubs for url and locale. I suspect they were just forgotten to be checked in?
microsoft#28617 did not record the port version change in generate-ports.ps1.

Also fixed all files to have LF line endings. (since changing boost-vcpkg-helper version also changed all the other ports anyway)

Also changed "When changing this file also update and run scripts/boost/generate-ports.ps1" to "Automatically generated by scripts/boost/generate-ports.ps1" because I think that better conveys the consequences (your changes will get nuked).
  • Loading branch information
BillyONeal committed Jan 31, 2023
1 parent b4f29c5 commit 62c66a5
Show file tree
Hide file tree
Showing 463 changed files with 5,032 additions and 4,102 deletions.
24 changes: 12 additions & 12 deletions ports/boost-accumulators/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Automatically generated by scripts/boost/generate-ports.ps1

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO boostorg/accumulators
REF boost-1.81.0
SHA512 960095a14ea202e938132bfdc0e6cf95fa4849b6f81066174ef957d3ca35637e6e52eeb830a164c5b181c33e6b308ae74eece2b2d5ec49fe7f2309f0ddef144a
HEAD_REF master
)

include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
# Automatically generated by scripts/boost/generate-ports.ps1

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO boostorg/accumulators
REF boost-1.81.0
SHA512 960095a14ea202e938132bfdc0e6cf95fa4849b6f81066174ef957d3ca35637e6e52eeb830a164c5b181c33e6b308ae74eece2b2d5ec49fe7f2309f0ddef144a
HEAD_REF master
)

include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
45 changes: 23 additions & 22 deletions ports/boost-accumulators/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,94 +1,95 @@
{
"$comment": "When changing this file also update and run scripts/boost/generate-ports.ps1",
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-accumulators",
"version": "1.81.0",
"port-version": 1,
"description": "Boost accumulators module",
"homepage": "https://github.com/boostorg/accumulators",
"license": "BSL-1.0",
"dependencies": [
{
"name": "boost-array",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-assert",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-circular-buffer",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-concept-check",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-config",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-core",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-fusion",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-iterator",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-mpl",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-numeric-conversion",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-parameter",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-preprocessor",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-range",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-serialization",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-static-assert",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-throw-exception",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-tuple",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-type-traits",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-typeof",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-ublas",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-vcpkg-helpers",
"version>=": "1.81.0"
"version>=": "1.81.0#2"
}
]
}
24 changes: 12 additions & 12 deletions ports/boost-algorithm/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Automatically generated by scripts/boost/generate-ports.ps1

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO boostorg/algorithm
REF boost-1.81.0
SHA512 f46a57798924682e053fcb21f136811963c36798db6dc2a9e6f594e95c77d4645406f5b20b0cadb0dcf28987fad7b62587ec5a82994cd5637d4daec49f2352d3
HEAD_REF master
)

include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
# Automatically generated by scripts/boost/generate-ports.ps1

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO boostorg/algorithm
REF boost-1.81.0
SHA512 f46a57798924682e053fcb21f136811963c36798db6dc2a9e6f594e95c77d4645406f5b20b0cadb0dcf28987fad7b62587ec5a82994cd5637d4daec49f2352d3
HEAD_REF master
)

include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
39 changes: 20 additions & 19 deletions ports/boost-algorithm/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,82 +1,83 @@
{
"$comment": "When changing this file also update and run scripts/boost/generate-ports.ps1",
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-algorithm",
"version": "1.81.0",
"port-version": 1,
"description": "Boost algorithm module",
"homepage": "https://github.com/boostorg/algorithm",
"license": "BSL-1.0",
"dependencies": [
{
"name": "boost-array",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-assert",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-bind",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-concept-check",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-config",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-core",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-exception",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-function",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-iterator",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-mpl",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-range",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-regex",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-static-assert",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-throw-exception",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-tuple",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-type-traits",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-unordered",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-vcpkg-helpers",
"version>=": "1.81.0"
"version>=": "1.81.0#2"
}
]
}
24 changes: 12 additions & 12 deletions ports/boost-align/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Automatically generated by scripts/boost/generate-ports.ps1

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO boostorg/align
REF boost-1.81.0
SHA512 5d13df60dc85e6a0e8c03e1939044e63169d7a963ccfe74e20d6bbfbd3f52a41b43544ea8a9e730c0412061087a5ad7b7742707c0c0f98990cab78abceaff7d0
HEAD_REF master
)

include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
# Automatically generated by scripts/boost/generate-ports.ps1

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO boostorg/align
REF boost-1.81.0
SHA512 5d13df60dc85e6a0e8c03e1939044e63169d7a963ccfe74e20d6bbfbd3f52a41b43544ea8a9e730c0412061087a5ad7b7742707c0c0f98990cab78abceaff7d0
HEAD_REF master
)

include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
13 changes: 7 additions & 6 deletions ports/boost-align/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
{
"$comment": "When changing this file also update and run scripts/boost/generate-ports.ps1",
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-align",
"version": "1.81.0",
"port-version": 1,
"description": "Boost align module",
"homepage": "https://github.com/boostorg/align",
"license": "BSL-1.0",
"dependencies": [
{
"name": "boost-assert",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-config",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-core",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-static-assert",
"version>=": "1.81.0"
"version>=": "1.81.0#1"
},
{
"name": "boost-vcpkg-helpers",
"version>=": "1.81.0"
"version>=": "1.81.0#2"
}
]
}
24 changes: 12 additions & 12 deletions ports/boost-any/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Automatically generated by scripts/boost/generate-ports.ps1

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO boostorg/any
REF boost-1.81.0
SHA512 9ab99e2cf74f895a41b1efe637ba68f1afac2190a45aab67a9de10d919875e95b90851c2ddb3458b5fdab73da1adee3a58d5fd630080c3ec2c7639daabede42e
HEAD_REF master
)

include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
# Automatically generated by scripts/boost/generate-ports.ps1

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO boostorg/any
REF boost-1.81.0
SHA512 9ab99e2cf74f895a41b1efe637ba68f1afac2190a45aab67a9de10d919875e95b90851c2ddb3458b5fdab73da1adee3a58d5fd630080c3ec2c7639daabede42e
HEAD_REF master
)

include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
Loading

0 comments on commit 62c66a5

Please sign in to comment.