[vcpkg baseline][graphviz/think-cell-range/geotrans] Fix download error (#31772)

This commit is contained in:
Lily Wang 2023-07-10 15:20:45 -07:00 committed by GitHub
parent 64a47e8ede
commit 6b8459636c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 39 additions and 29 deletions

View File

@ -4,8 +4,8 @@ set(VCPKG_LIBRARY_LINKAGE "dynamic")
# which we re-build anyway. There is no source only package provided or it would be preferred (and smaller).
vcpkg_download_distfile(ARCHIVE
URLS "https://earth-info.nga.mil/php/download.php?file=wgs-mastertgz"
FILENAME "geotrans-3.9-master.tgz"
SHA512 b0bd5ca6eb584eebf0adc89eb86ec949f372bb4ea92c559f74f2055b0f121369b3d8de0bcff7b7db9abc57ac5a129d5c283d67f098e4af12d91b41747a76e541
FILENAME "geotrans-3.9-master-adf1935.tgz"
SHA512 adf19357edc62681a2515e7210a752b0e09214b6ce69024e60150e0780059c08a9ab5a162a0562dbc37127438783a24bcde1adb88b559bc95ff9a5bea0eb8b39
)
vcpkg_extract_source_archive(

View File

@ -1,6 +1,7 @@
{
"name": "geotrans",
"version": "3.9",
"port-version": 1,
"description": "GEOTRANS is an application that allows you to convert geographic coordinates among a wide variety of coordinate systems, map projections, grids, and datums. GEOTRANS runs in Microsoft Windows and LINUX environments.",
"homepage": "https://earth-info.nga.mil/GandG/update/index.php?action=home",
"license": null,

View File

@ -1,7 +1,5 @@
set(VCPKG_POLICY_DLLS_IN_STATIC_LIBRARY enabled) # for plugins
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
vcpkg_from_gitlab(
GITLAB_URL https://gitlab.com
OUT_SOURCE_PATH SOURCE_PATH
@ -26,7 +24,7 @@ vcpkg_list(SET OPTIONS)
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
vcpkg_download_distfile(
LTDL_H_PATH
URLS "https://gitlab.com/graphviz/graphviz-windows-dependencies/-/raw/141d3a21be904fa8dc2ae3ed01d36684db07a35d/${VCPKG_TARGET_ARCHITECTURE}/include/ltdl.h"
URLS "https://gitlab.com/graphviz/graphviz-windows-dependencies/-/raw/141d3a21be904fa8dc2ae3ed01d36684db07a35d/x64/include/ltdl.h"
FILENAME graphviz-ltdl-141d3a21.h
SHA512 f2d20e849e35060536265f47014c40eb70e57dacd600a9db112fc465fbfa6a66217b44a8c3dc33039c260a27f09d9034b329b03cc28c32a22ec503fcd17b78cd
)
@ -105,4 +103,4 @@ else()
file(COPY "${CURRENT_PACKAGES_DIR}/lib/graphviz" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}")
endif()
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,7 +1,7 @@
{
"name": "graphviz",
"version-semver": "7.0.0",
"port-version": 1,
"port-version": 2,
"description": "Graph Visualization Tools",
"homepage": "https://graphviz.org/",
"license": "EPL-1.0",

View File

@ -1,15 +1,14 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO think-cell/range
REF 498839d41519d38bb81089f7d0f517026bd042cc
SHA512 1292ba4dd994aab2cb620c24ebd03437a47e426368ed803579dad13a3fa52762cefe42c77c9921d5c4bcbd6592775714191de63097c230e50f9b59b9498005e5
HEAD_REF master
REPO think-cell/think-cell-library
REF "${VERSION}"
SHA512 dbb391982fc8050a020c9597fa8608abf87f351b84b7060cfadac4670fd4564f34836a8862f42647983f601a21d6d8bbda95429fc6e2788e94a343fbba09ae99
HEAD_REF main
)
file(INSTALL ${SOURCE_PATH}/range DESTINATION ${CURRENT_PACKAGES_DIR}/include/think-cell FILES_MATCHING PATTERN "*.h")
file(INSTALL "${SOURCE_PATH}/tc/range" DESTINATION "${CURRENT_PACKAGES_DIR}/include/think-cell" FILES_MATCHING PATTERN "*.h")
file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/think-cell-range)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/think-cell-range/COPYING ${CURRENT_PACKAGES_DIR}/share/think-cell-range/copyright)
file(COPY ${SOURCE_PATH}/README.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/think-cell-range)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE_1_0.txt")
file(COPY "${SOURCE_PATH}/README.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
file(COPY ${SOURCE_PATH}/range/range.example.cpp DESTINATION ${CURRENT_PACKAGES_DIR}/share/think-cell-range)
file(COPY "${SOURCE_PATH}/range.example.cpp" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")

View File

@ -1,9 +1,9 @@
{
"name": "think-cell-range",
"version-string": "498839d",
"port-version": 2,
"version": "2023.1",
"description": "think-cell's range library",
"homepage": "https://github.com/think-cell/range",
"homepage": "https://github.com/think-cell/think-cell-library",
"license": "BSL-1.0",
"dependencies": [
"boost"
]

View File

@ -452,12 +452,9 @@ gemmlowp:x64-android=fail
gherkin-c:arm-neon-android=fail
gherkin-c:arm64-android=fail
gherkin-c:x64-android=fail
# Port geotrans source ftp://ftp.nga.mil server
# extremely slow may take several hours to download
geotrans:x64-linux = skip
geotrans:x64-windows = skip
geotrans:x86-windows = skip
geotrans:arm-neon-android=fail
geotrans:arm64-android=fail
geotrans:x64-android=fail
getopt:arm-uwp=fail
getopt:x64-uwp=fail
gflags:arm-uwp=fail

View File

@ -2790,7 +2790,7 @@
},
"geotrans": {
"baseline": "3.9",
"port-version": 0
"port-version": 1
},
"getdns": {
"baseline": "1.7.0",
@ -2986,7 +2986,7 @@
},
"graphviz": {
"baseline": "7.0.0",
"port-version": 1
"port-version": 2
},
"greatest": {
"baseline": "1.5.0",
@ -8017,8 +8017,8 @@
"port-version": 9
},
"think-cell-range": {
"baseline": "498839d",
"port-version": 2
"baseline": "2023.1",
"port-version": 0
},
"thor": {
"baseline": "2022-04-16",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b392617570c01a75595f982080630925b27ba3bf",
"version": "3.9",
"port-version": 1
},
{
"git-tree": "2649a6e046a3e72681606d14a091512447aade75",
"version": "3.9",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "793ff2f4883ca15332814044876e57a9b0921c43",
"version-semver": "7.0.0",
"port-version": 2
},
{
"git-tree": "2a730e87b6af42e6fbf3af0fc7e5c4dc6785e9df",
"version-semver": "7.0.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "98fd2e4c5e01f3c8396c5bb35cfbdd81da45f47f",
"version": "2023.1",
"port-version": 0
},
{
"git-tree": "e39d38661e62f2c36eaa0026eabfb21e827e8456",
"version-string": "498839d",