diff --git a/ports/azure-iot-sdk-c/portfile.cmake b/ports/azure-iot-sdk-c/portfile.cmake index dafefb6500c501..79a0639075f610 100644 --- a/ports/azure-iot-sdk-c/portfile.cmake +++ b/ports/azure-iot-sdk-c/portfile.cmake @@ -10,6 +10,7 @@ if("public-preview" IN_LIST FEATURES) PATCHES improve-external-deps.patch fix-cmake.patch + remove-werror.patch ) else() vcpkg_from_github( @@ -21,6 +22,7 @@ else() PATCHES improve-external-deps.patch fix-cmake.patch + remove-werror.patch ) endif() diff --git a/ports/azure-iot-sdk-c/remove-werror.patch b/ports/azure-iot-sdk-c/remove-werror.patch new file mode 100644 index 00000000000000..694ae7929e89af --- /dev/null +++ b/ports/azure-iot-sdk-c/remove-werror.patch @@ -0,0 +1,18 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -34,14 +34,11 @@ + if (MSVC) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4 /wd4232") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W4 /wd4232") + # Make warning as error +- add_definitions(/WX) + else() + # Make warning as error +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") +- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror") + endif() + + IF(WIN32) + # windows needs this define + add_definitions(-D_CRT_SECURE_NO_WARNINGS) + diff --git a/ports/azure-iot-sdk-c/vcpkg.json b/ports/azure-iot-sdk-c/vcpkg.json index 78a74e518218aa..a574edf84f5f05 100644 --- a/ports/azure-iot-sdk-c/vcpkg.json +++ b/ports/azure-iot-sdk-c/vcpkg.json @@ -1,7 +1,7 @@ { "name": "azure-iot-sdk-c", "version-date": "2020-12-09", - "port-version": 1, + "port-version": 2, "description": "A C99 SDK for connecting devices to Microsoft Azure IoT services", "homepage": "https://github.com/Azure/azure-iot-sdk-c", "dependencies": [ diff --git a/ports/coroutine/add-noexcept-to-frame.patch b/ports/coroutine/add-noexcept-to-frame.patch new file mode 100644 index 00000000000000..fe5c6c6d34997b --- /dev/null +++ b/ports/coroutine/add-noexcept-to-frame.patch @@ -0,0 +1,13 @@ +--- a/interface/coroutine/frame.h ++++ a/interface/coroutine/frame.h +@@ -119,8 +119,8 @@ + return *this; + } + // 17.12.3.2, export/import +- static /*constexpr*/ coroutine_handle from_address(void* _Addr) { ++ static /*constexpr*/ coroutine_handle from_address(void* _Addr) noexcept { + coroutine_handle _Result{}; + _Result._Ptr = reinterpret_cast(_Addr); + return _Result; + } + diff --git a/ports/coroutine/portfile.cmake b/ports/coroutine/portfile.cmake index 3c5f27b72caaab..1326b5a7dd5993 100644 --- a/ports/coroutine/portfile.cmake +++ b/ports/coroutine/portfile.cmake @@ -10,7 +10,9 @@ vcpkg_from_github( REF 1.5.0 SHA512 61b91fdc641b6905b884e99c5bf193ec2cf6962144ab3baafdb9432115757d96f3797f116b30356f0d21417b23082bc908f75042721caeab3329c4910b654594 HEAD_REF master - PATCHES fix-errorC7651.patch + PATCHES + fix-errorC7651.patch + add-noexcept-to-frame.patch ) vcpkg_configure_cmake( diff --git a/ports/coroutine/vcpkg.json b/ports/coroutine/vcpkg.json index 4e71341284ef76..8c557f6fa91578 100644 --- a/ports/coroutine/vcpkg.json +++ b/ports/coroutine/vcpkg.json @@ -1,7 +1,7 @@ { "name": "coroutine", "version-string": "1.5.0", - "port-version": 1, + "port-version": 2, "description": "C++ 20 Coroutines helper/example library", "homepage": "https://github.com/luncliff/coroutine", "supports": "!uwp", diff --git a/ports/itpp/portfile.cmake b/ports/itpp/portfile.cmake index 52e8b05f5bed00..a87cedcb7db359 100644 --- a/ports/itpp/portfile.cmake +++ b/ports/itpp/portfile.cmake @@ -7,10 +7,12 @@ vcpkg_from_sourceforge( FILENAME "itpp-${ITPP_VERSION}.tar.bz2" SHA512 b46d048fa7f33e80d2291a5e38e205c159791ea200f92c70d69e8ad8447ac2f0c847fece566a99af739853a1643cb16e226b4200c8bf115417f324e6d38c66bd PATCHES - msvc2013.patch - fix-uwp.patch - fix-linux.patch + msvc2013.patch + fix-uwp.patch + fix-linux.patch + rename-version.patch ) +file(RENAME "${SOURCE_PATH}/VERSION" "${SOURCE_PATH}/VERSION.txt") vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} diff --git a/ports/itpp/rename-version.patch b/ports/itpp/rename-version.patch new file mode 100644 index 00000000000000..0750ed4cebe6e7 --- /dev/null +++ b/ports/itpp/rename-version.patch @@ -0,0 +1,12 @@ +--- a/autogen.sh ++++ b/autogen.sh +@@ -25,6 +25,6 @@ + +-PV=$(cat VERSION | cut -d' ' -f1) +-LV=$(cat VERSION | cut -d' ' -f2) +-if test "x$(cat VERSION | cut -d' ' -f3)" = "xsvn"; then ++PV=$(cat VERSION.txt | cut -d' ' -f1) ++LV=$(cat VERSION.txt | cut -d' ' -f2) ++if test "x$(cat VERSION.txt | cut -d' ' -f3)" = "xsvn"; then + if test -d ".git/svn"; then + REV=$(LC_ALL=C git svn find-rev HEAD) diff --git a/ports/itpp/vcpkg.json b/ports/itpp/vcpkg.json index 130cda581cc962..00ac96b67f2f3f 100644 --- a/ports/itpp/vcpkg.json +++ b/ports/itpp/vcpkg.json @@ -1,7 +1,7 @@ { "name": "itpp", "version-semver": "4.3.1", - "port-version": 6, + "port-version": 7, "description": "IT++ is a C++ library of mathematical, signal processing and communication classes and functions. Its main use is in simulation of communication systems and for performing research in the area of communications.", "homepage": "http://itpp.sourceforge.net" } diff --git a/ports/libodb-boost/CONTROL b/ports/libodb-boost/CONTROL index 3dec8410355757..23e3d913fbde95 100644 --- a/ports/libodb-boost/CONTROL +++ b/ports/libodb-boost/CONTROL @@ -1,4 +1,5 @@ Source: libodb-boost -Version: 2.4.0-3 +Version: 2.4.0 +Port-Version: 4 Description: Description: Boost support for the ODB ORM library Build-Depends: libodb diff --git a/ports/libodb-boost/portfile.cmake b/ports/libodb-boost/portfile.cmake index 08689fb1316bb4..adf571bea7e891 100644 --- a/ports/libodb-boost/portfile.cmake +++ b/ports/libodb-boost/portfile.cmake @@ -8,6 +8,7 @@ vcpkg_extract_source_archive_ex( OUT_SOURCE_PATH SOURCE_PATH ARCHIVE ${ARCHIVE} ) +file(REMOVE "${SOURCE_PATH}/version") file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt diff --git a/ports/libodb-mysql/portfile.cmake b/ports/libodb-mysql/portfile.cmake index cc0d7c58ccbf58..ac78846ddd39f0 100644 --- a/ports/libodb-mysql/portfile.cmake +++ b/ports/libodb-mysql/portfile.cmake @@ -11,6 +11,7 @@ vcpkg_extract_source_archive_ex( adapter_mysql_8.0.patch fix-redefinttion.patch ) +file(REMOVE "${SOURCE_PATH}/version") file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt diff --git a/ports/libodb-mysql/vcpkg.json b/ports/libodb-mysql/vcpkg.json index 8d6ca1fd79accc..c0fa1b01d07d7c 100644 --- a/ports/libodb-mysql/vcpkg.json +++ b/ports/libodb-mysql/vcpkg.json @@ -1,7 +1,7 @@ { "name": "libodb-mysql", "version": "2.4.0", - "port-version": 8, + "port-version": 9, "description": "MySQL support for the ODB ORM library", "homepage": "https://www.codesynthesis.com/products/odb/", "dependencies": [ diff --git a/ports/libodb-pgsql/CONTROL b/ports/libodb-pgsql/CONTROL index a6988eeb0c5a7a..5268b44dc86acf 100644 --- a/ports/libodb-pgsql/CONTROL +++ b/ports/libodb-pgsql/CONTROL @@ -1,5 +1,6 @@ Source: libodb-pgsql -Version: 2.4.0-3 +Version: 2.4.0 +Port-Version: 4 Homepage: https://www.codesynthesis.com/products/odb/ Description: Description: PostgreSQL support for the ODB ORM library Build-Depends: libodb, libpq diff --git a/ports/libodb-pgsql/portfile.cmake b/ports/libodb-pgsql/portfile.cmake index 29e58fd13c334a..cf84b650aadf91 100644 --- a/ports/libodb-pgsql/portfile.cmake +++ b/ports/libodb-pgsql/portfile.cmake @@ -8,6 +8,7 @@ vcpkg_extract_source_archive_ex( OUT_SOURCE_PATH SOURCE_PATH ARCHIVE ${ARCHIVE} ) +file(REMOVE "${SOURCE_PATH}/version") file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt diff --git a/ports/libodb-sqlite/CONTROL b/ports/libodb-sqlite/CONTROL index ae35fc37219ab1..99b38824e3f090 100644 --- a/ports/libodb-sqlite/CONTROL +++ b/ports/libodb-sqlite/CONTROL @@ -1,6 +1,6 @@ Source: libodb-sqlite Version: 2.4.0 -Port-Version: 7 +Port-Version: 8 Homepage: https://www.codesynthesis.com/products/odb/ Description: Sqlite support for the ODB ORM library Build-Depends: libodb, sqlite3 diff --git a/ports/libodb-sqlite/portfile.cmake b/ports/libodb-sqlite/portfile.cmake index d99001a09fbcd9..58fbb3a377c2ee 100644 --- a/ports/libodb-sqlite/portfile.cmake +++ b/ports/libodb-sqlite/portfile.cmake @@ -8,6 +8,7 @@ vcpkg_extract_source_archive_ex( OUT_SOURCE_PATH SOURCE_PATH ARCHIVE ${ARCHIVE} ) +file(REMOVE "${SOURCE_PATH}/version") file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt @@ -30,4 +31,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) vcpkg_copy_pdbs() -file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) diff --git a/ports/libodb/portfile.cmake b/ports/libodb/portfile.cmake index e790ef554044bf..c7046bc8210dc8 100644 --- a/ports/libodb/portfile.cmake +++ b/ports/libodb/portfile.cmake @@ -10,6 +10,7 @@ vcpkg_extract_source_archive_ex( OUT_SOURCE_PATH SOURCE_PATH ARCHIVE ${ARCHIVE} ) +file(REMOVE "${SOURCE_PATH}/version") file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt diff --git a/ports/libodb/vcpkg.json b/ports/libodb/vcpkg.json index e45b478d48276b..5c3fe94c21c7a1 100644 --- a/ports/libodb/vcpkg.json +++ b/ports/libodb/vcpkg.json @@ -1,7 +1,7 @@ { "name": "libodb", "version": "2.4.0", - "port-version": 7, + "port-version": 8, "description": "ODB library, base runtime for the ODB ORM solution", "homepage": "https://www.codesynthesis.com/products/odb/" } diff --git a/ports/libunistring/fix-for-automake-1.16.4.patch b/ports/libunistring/fix-for-automake-1.16.4.patch new file mode 100644 index 00000000000000..2e9a2ebda0962b --- /dev/null +++ b/ports/libunistring/fix-for-automake-1.16.4.patch @@ -0,0 +1,13 @@ +--- a/m4/init-package-version.m4 ++++ b/m4/init-package-version.m4 +@@ -82,9 +82,9 @@ + [AC_SUBST([PACKAGE], [$1]) + AC_SUBST([VERSION], [$2]) + ]) + m4_define([AM_INIT_AUTOMAKE], + m4_defn([gl_RPL_INIT_AUTOMAKE])) + ]) +-m4_define([gl_INIT_DUMMY], []) ++m4_define([gl_INIT_DUMMY], [dummy]) + AC_DEFUN([gl_RPL_INIT_AUTOMAKE], [ + m4_ifval([$2], diff --git a/ports/libunistring/portfile.cmake b/ports/libunistring/portfile.cmake index a443ec9ccc88bc..e9eef0641d09a9 100644 --- a/ports/libunistring/portfile.cmake +++ b/ports/libunistring/portfile.cmake @@ -17,6 +17,7 @@ vcpkg_extract_source_archive_ex( OUT_SOURCE_PATH SOURCE_PATH ARCHIVE "${ARCHIVE}" REF ${LIBUNISTRING_VERSION} + PATCHES fix-for-automake-1.16.4.patch # automake 1.16.4 uses m4_ifset instead of m4_ifdef ) vcpkg_configure_make( diff --git a/ports/libunistring/vcpkg.json b/ports/libunistring/vcpkg.json index b11bbb6fa9b116..585ddca79423ac 100644 --- a/ports/libunistring/vcpkg.json +++ b/ports/libunistring/vcpkg.json @@ -1,6 +1,7 @@ { "name": "libunistring", "version": "0.9.10", + "port-version": 1, "description": "GNU libunistring provides functions for manipulating Unicode strings and for manipulating C strings according to the Unicode standard.", "homepage": "https://www.gnu.org/software/libunistring/", "supports": "!windows", diff --git a/ports/nanodbc/CONTROL b/ports/nanodbc/CONTROL deleted file mode 100644 index 339e2125106100..00000000000000 --- a/ports/nanodbc/CONTROL +++ /dev/null @@ -1,6 +0,0 @@ -Source: nanodbc -Version: 2.13.0 -Port-Version: 3 -Homepage: https://github.com/nanodbc/nanodbc -Description: A small C++ wrapper for the native C ODBC API. -Build-Depends: unixodbc(!windows) diff --git a/ports/nanodbc/portfile.cmake b/ports/nanodbc/portfile.cmake index 94ffb08936bdcc..dfdba7caa9ff2e 100644 --- a/ports/nanodbc/portfile.cmake +++ b/ports/nanodbc/portfile.cmake @@ -8,7 +8,9 @@ vcpkg_from_github( REF 7404a4dd7697e188df5724ab95a7553d2fc404eb # v2.13.0 SHA512 35ca098e783d771f3df611bce84e9b8207a6a5b72c492d2f3909977bc91a7c22bb262c34768b0d97ebfbdf12eeda0214064a8ea171e7bdda7b759f93ff346f45 HEAD_REF master + PATCHES rename-version.patch ) +file(RENAME "${SOURCE_PATH}/VERSION" "${SOURCE_PATH}/VERSION.txt") if(DEFINED NANODBC_ODBC_VERSION) set(NANODBC_ODBC_VERSION -DNANODBC_ODBC_VERSION=${NANODBC_ODBC_VERSION}) diff --git a/ports/nanodbc/rename-version.patch b/ports/nanodbc/rename-version.patch new file mode 100644 index 00000000000000..a236cf896172b5 --- /dev/null +++ b/ports/nanodbc/rename-version.patch @@ -0,0 +1,13 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -20,8 +20,8 @@ + ######################################## + ## nanodbc version + ######################################## +-file(STRINGS VERSION NANODBC_VERSION REGEX "[0-9]+\\.[0-9]+\\.[0-9]+") ++file(STRINGS "VERSION.txt" NANODBC_VERSION REGEX "[0-9]+\\.[0-9]+\\.[0-9]+") + string(REGEX REPLACE "^([0-9]+)\\.[0-9]+\\.[0-9]+" "\\1" NANODBC_VERSION_MAJOR "${NANODBC_VERSION}") + string(REGEX REPLACE "^[0-9]+\\.([0-9])+\\.[0-9]+" "\\1" NANODBC_VERSION_MINOR "${NANODBC_VERSION}") + string(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.([0-9]+)" "\\1" NANODBC_VERSION_PATCH "${NANODBC_VERSION}") + message(STATUS "nanodbc version: ${NANODBC_VERSION}") + diff --git a/ports/nanodbc/vcpkg.json b/ports/nanodbc/vcpkg.json new file mode 100644 index 00000000000000..d577f7e8afd38a --- /dev/null +++ b/ports/nanodbc/vcpkg.json @@ -0,0 +1,13 @@ +{ + "name": "nanodbc", + "version": "2.13.0", + "port-version": 4, + "description": "A small C++ wrapper for the native C ODBC API.", + "homepage": "https://github.com/nanodbc/nanodbc", + "dependencies": [ + { + "name": "unixodbc", + "platform": "!windows" + } + ] +} diff --git a/ports/plplot/CONTROL b/ports/plplot/CONTROL deleted file mode 100644 index 67a70e365b2668..00000000000000 --- a/ports/plplot/CONTROL +++ /dev/null @@ -1,9 +0,0 @@ -Source: plplot -Version: 5.13.0 -Port-Version: 9 -Build-Depends: freetype, zlib, libpng, bzip2 -Description: PLplot is a cross-platform software package for creating scientific plots whose (UTF-8) plot symbols and text are limited in practice only by what Unicode-aware system fonts are installed on a user's computer. - -Feature: wxwidgets -Build-Depends: wxwidgets -Description: plplot wxwidgets module \ No newline at end of file diff --git a/ports/plplot/portfile.cmake b/ports/plplot/portfile.cmake index 4e7a55799f4483..eb20f613c5c33e 100644 --- a/ports/plplot/portfile.cmake +++ b/ports/plplot/portfile.cmake @@ -25,10 +25,11 @@ vcpkg_configure_cmake( PREFER_NINJA OPTIONS -DENABLE_tcl=OFF - -DPL_HAVE_QHULL=OFF + -DENABLE_d=OFF -DENABLE_qt=OFF - -DPLPLOT_USE_QT5=OFF -DENABLE_ocaml=OFF + -DPL_HAVE_QHULL=OFF + -DPLPLOT_USE_QT5=OFF -DPL_DOUBLE=ON -DPLD_wxwidgets=${BUILD_with_wxwidgets} -DENABLE_DYNDRIVERS=OFF diff --git a/ports/plplot/vcpkg.json b/ports/plplot/vcpkg.json new file mode 100644 index 00000000000000..a4d0cf1cfe287c --- /dev/null +++ b/ports/plplot/vcpkg.json @@ -0,0 +1,20 @@ +{ + "name": "plplot", + "version-string": "5.13.0", + "port-version": 10, + "description": "PLplot is a cross-platform software package for creating scientific plots whose (UTF-8) plot symbols and text are limited in practice only by what Unicode-aware system fonts are installed on a user's computer.", + "dependencies": [ + "bzip2", + "freetype", + "libpng", + "zlib" + ], + "features": { + "wxwidgets": { + "description": "plplot wxwidgets module", + "dependencies": [ + "wxwidgets" + ] + } + } +} diff --git a/ports/selene/portfile.cmake b/ports/selene/portfile.cmake index a7216be1b8e552..d300f5f839cb26 100644 --- a/ports/selene/portfile.cmake +++ b/ports/selene/portfile.cmake @@ -9,6 +9,7 @@ vcpkg_from_github( PATCHES disable_x86_intrinsics_on_arm.patch tiff-deprecated-typedefs.patch + trivial-pixel.patch ) vcpkg_check_features( diff --git a/ports/selene/trivial-pixel.patch b/ports/selene/trivial-pixel.patch new file mode 100644 index 00000000000000..9aeb7e44e17eae --- /dev/null +++ b/ports/selene/trivial-pixel.patch @@ -0,0 +1,23 @@ +--- a/selene/img/pixel/Pixel.hpp ++++ b/selene/img/pixel/Pixel.hpp +@@ -45,6 +45,6 @@ + constexpr Pixel() noexcept = default; ///< Default constructor. Pixel values are uninitialized. + +- template > +- constexpr Pixel(Args... args) noexcept; ++ template > ++ constexpr Pixel(Arg1 arg1, Args... args) noexcept; + + constexpr explicit Pixel(const std::array& arr) noexcept; +@@ -216,8 +216,8 @@ + template +-template +-constexpr Pixel::Pixel(Args... args) noexcept +- : data_{{static_cast(args)...}} ++template ++constexpr Pixel::Pixel(Arg1 arg1, Args... args) noexcept ++ : data_{{static_cast(arg1), static_cast(args)...}} + { + static_assert(std::is_trivial>::value, "Pixel type is not trivial"); + static_assert(std::is_standard_layout>::value, + "Pixel type is not standard layout"); diff --git a/ports/selene/vcpkg.json b/ports/selene/vcpkg.json index 0d70c7c403b250..71bcb2514063d6 100644 --- a/ports/selene/vcpkg.json +++ b/ports/selene/vcpkg.json @@ -1,7 +1,7 @@ { "name": "selene", "version": "0.3.1", - "port-version": 4, + "port-version": 5, "description": "A C++17 image representation, processing and I/O library.", "homepage": "https://github.com/kmhofmann/selene", "dependencies": [ diff --git a/ports/sentencepiece/CONTROL b/ports/sentencepiece/CONTROL deleted file mode 100644 index 41db3d5ff384dc..00000000000000 --- a/ports/sentencepiece/CONTROL +++ /dev/null @@ -1,3 +0,0 @@ -Source: sentencepiece -Version: v0.1.82 -Description: SentencePiece is an unsupervised text tokenizer and detokenizer mainly for Neural Network-based text generation systems where the vocabulary size is predetermined prior to the neural model training \ No newline at end of file diff --git a/ports/sentencepiece/portfile.cmake b/ports/sentencepiece/portfile.cmake index 138d7181edd578..e554a0d5a23716 100644 --- a/ports/sentencepiece/portfile.cmake +++ b/ports/sentencepiece/portfile.cmake @@ -8,7 +8,9 @@ vcpkg_from_github( REF v0.1.82 SHA512 669d6a1e86c44587d725b1e93f11b707e510a180dec08afb79268158f5de009cb20ffccc72c501c84f032360e52e53ae227504f3538f59978629433e0d6fcf65 HEAD_REF master + PATCHES rename-version.patch ) +file(RENAME "${SOURCE_PATH}/VERSION" "${SOURCE_PATH}/VERSION.txt") vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} @@ -29,4 +31,4 @@ endif() configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY) -vcpkg_copy_pdbs() \ No newline at end of file +vcpkg_copy_pdbs() diff --git a/ports/sentencepiece/rename-version.patch b/ports/sentencepiece/rename-version.patch new file mode 100644 index 00000000000000..823a1b9b0206c4 --- /dev/null +++ b/ports/sentencepiece/rename-version.patch @@ -0,0 +1,8 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -15,4 +15,4 @@ + cmake_minimum_required(VERSION 3.1 FATAL_ERROR) +-file(STRINGS "VERSION" SPM_VERSION) ++file(STRINGS "VERSION.txt" SPM_VERSION) + message(STATUS "VERSION: ${SPM_VERSION}") + project(sentencepiece VERSION ${SPM_VERSION} LANGUAGES CXX) diff --git a/ports/sentencepiece/vcpkg.json b/ports/sentencepiece/vcpkg.json new file mode 100644 index 00000000000000..cdd93888585c4a --- /dev/null +++ b/ports/sentencepiece/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "sentencepiece", + "version": "0.1.82", + "port-version": 1, + "description": "SentencePiece is an unsupervised text tokenizer and detokenizer mainly for Neural Network-based text generation systems where the vocabulary size is predetermined prior to the neural model training" +} diff --git a/ports/xlnt/CONTROL b/ports/xlnt/CONTROL deleted file mode 100644 index 88ebdddf61f106..00000000000000 --- a/ports/xlnt/CONTROL +++ /dev/null @@ -1,5 +0,0 @@ -Source: xlnt -Version: 1.5.0 -Port-Version: 1 -Homepage: https://github.com/tfussell/xlnt -Description: Cross-platform user-friendly xlsx library for C++14 diff --git a/ports/xlnt/portfile.cmake b/ports/xlnt/portfile.cmake index eb4147f8edfbfa..29101c2010724d 100644 --- a/ports/xlnt/portfile.cmake +++ b/ports/xlnt/portfile.cmake @@ -14,6 +14,7 @@ vcpkg_from_github( "fix-not-found-include.patch" ${win_patch} ) +file(REMOVE "${SOURCE_PATH}/third-party/libstudxml/version") if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) set(STATIC OFF) diff --git a/ports/xlnt/vcpkg.json b/ports/xlnt/vcpkg.json new file mode 100644 index 00000000000000..df61b6066421f2 --- /dev/null +++ b/ports/xlnt/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "xlnt", + "version": "1.5.0", + "port-version": 2, + "description": "Cross-platform user-friendly xlsx library for C++14", + "homepage": "https://github.com/tfussell/xlnt" +} diff --git a/scripts/azure-pipelines/azure-pipelines.yml b/scripts/azure-pipelines/azure-pipelines.yml index 3d89b3793927c7..9b509ea1f88e4f 100644 --- a/scripts/azure-pipelines/azure-pipelines.yml +++ b/scripts/azure-pipelines/azure-pipelines.yml @@ -4,7 +4,7 @@ variables: windows-pool: 'PrWin-2021-07-14' linux-pool: 'PrLin-2021-07-14' - osx-pool: 'PrOsx-2021-04-16' + osx-pool: 'PrOsx-2021-07-27' stages: - stage: FormatChecks diff --git a/scripts/azure-pipelines/osx/README.md b/scripts/azure-pipelines/osx/README.md index 9f253a06c27334..9d6fb40b74a4a9 100644 --- a/scripts/azure-pipelines/osx/README.md +++ b/scripts/azure-pipelines/osx/README.md @@ -155,18 +155,18 @@ Run the following commands: ```sh $ cd ~/Parallels $ echo '{ "provider": "parallels" }' >metadata.json -$ tar zgvf .box ./metadata.json ./.pvm +$ tar zcvf .box ./metadata.json ./.pvm ``` This will create a box file which contains all the necessary data. You can delete the `metadata.json` file after. Once you've done that, you can upload it to the fileshare, -under `share/boxes/vcpkg-ci-base`, add it to `share/boxes/vcpkg-ci-base.json`, +under `share/boxes/macos-base`, add it to `share/boxes/macos-base.json`, and finally add it to vagrant: ```sh -$ vagrant box add ~/vagrant/share/boxes/vcpkg-ci-base.json +$ vagrant box add ~/vagrant/share/boxes/macos-base.json ``` Then, we'll create the final box, @@ -184,9 +184,9 @@ $ vagrant package This will create a `package.box`, which is the box file for the base VM. Once you've created this box, if you're making it the new box for the CI, -upload it to the fileshare, under `share/boxes/vcpkg-ci`. +upload it to the fileshare, under `share/boxes/macos-ci`. Then, add the metadata about the box (the name and version) to -`share/boxes/vcpkg-ci.json`. +`share/boxes/macos-ci.json`. Once you've done that, add the software versions under [VM Software Versions](#vm-software-versions). [base-box-instructions]: https://parallels.github.io/vagrant-parallels/docs/boxes/base.html @@ -199,6 +199,9 @@ Once you've done that, add the software versions under [VM Software Versions](#v * 2021-04-16: * macOS: 11.2.3 * Xcode CLTs: 12.4 +* 2021-07-27: + * macOS: 11.5.1 + * Xcode CLTs: 12.5.1 ### (Internal) Accessing the macOS fileshare diff --git a/scripts/azure-pipelines/osx/Utilities.psm1 b/scripts/azure-pipelines/osx/Utilities.psm1 index 1b70d61f7a2652..620ec7f4b06eac 100644 --- a/scripts/azure-pipelines/osx/Utilities.psm1 +++ b/scripts/azure-pipelines/osx/Utilities.psm1 @@ -79,7 +79,7 @@ function Get-RemoteFile if ($actualHash.Hash -ne $Sha256) { throw @" Invalid hash for file $OutFile; - expected: $Hash + expected: $Sha256 found: $($actualHash.Hash) Please make sure that the hash in the powershell file is correct. "@ diff --git a/scripts/azure-pipelines/osx/azure-pipelines.yml b/scripts/azure-pipelines/osx/azure-pipelines.yml index 38eb7fa7b34879..154247da47481b 100644 --- a/scripts/azure-pipelines/osx/azure-pipelines.yml +++ b/scripts/azure-pipelines/osx/azure-pipelines.yml @@ -14,9 +14,9 @@ jobs: value: /Users/vagrant/Data - name: VCPKG_DOWNLOADS value: /Users/vagrant/Data/downloads - - group: osx-2021-04-16 + - group: osx-binary-caching-credentials - name: BINARY_SOURCE_STUB - value: "x-azblob,$(azblob-root-url),$(azblob-test-sas)" + value: "x-azblob,$(root-url),$(sas)" - group: vcpkg-asset-caching-credentials - name: X_VCPKG_ASSET_SOURCES value: "x-azurl,$(root-url),$(sas),readwrite" diff --git a/scripts/azure-pipelines/osx/configuration/Vagrantfile-box.rb b/scripts/azure-pipelines/osx/configuration/Vagrantfile-box.rb index 90ad6c4c558a21..cbe76a72076ff5 100644 --- a/scripts/azure-pipelines/osx/configuration/Vagrantfile-box.rb +++ b/scripts/azure-pipelines/osx/configuration/Vagrantfile-box.rb @@ -3,8 +3,7 @@ configuration = JSON.parse(File.read("#{__dir__}/vagrant-box-configuration.json")) Vagrant.configure('2') do |config| - config.vm.box = 'vcpkg/macos-ci-base' - config.vm.box_version = configuration['box_version'] + config.vm.box = 'vcpkg/macos-base' config.vm.synced_folder '.', '/Users/vagrant/shared' config.vm.provision 'shell', diff --git a/scripts/azure-pipelines/osx/configuration/installables.json b/scripts/azure-pipelines/osx/configuration/installables.json index 1b2c2d015b40fc..179b03f15ea197 100644 --- a/scripts/azure-pipelines/osx/configuration/installables.json +++ b/scripts/azure-pipelines/osx/configuration/installables.json @@ -6,18 +6,18 @@ "Name": "vagrant", "VersionCommand": [ "vagrant", "-v" ], "VersionRegex": "Vagrant (.*)", - "Version": "2.2.15", - "DmgUrl": "https://releases.hashicorp.com/vagrant/2.2.15/vagrant_2.2.15_x86_64.dmg", - "Sha256": "5C2B290C4FA2371E255C56B1E96DED3D0C838D54CB7F0E8E6CF154E9F206A20E", + "Version": "2.2.18", + "DmgUrl": "https://releases.hashicorp.com/vagrant/2.2.18/vagrant_2.2.18_x86_64.dmg", + "Sha256": "B4E8103AABDF29F18F592CD6DE4FA03BF182FBC192A0757B5E18156CB18FA672", "InstallerPath": "vagrant.pkg" }, { "Name": "osxfuse", "VersionCommand": [ "cat", "/Library/Filesystems/macfuse.fs/Contents/version.plist" ], "VersionRegex": "CFBundleVersion[\\n\\t ]*([0-9.]+)", - "Version": "4.1.0", - "DmgUrl": "https://github.com/osxfuse/osxfuse/releases/download/macfuse-4.1.0/macfuse-4.1.0.dmg", - "Sha256": "3CB6A49406FD036C50EF1B4AD717A377F4DCF182811BDE172D69F1C289791085", + "Version": "4.1.2", + "DmgUrl": "https://github.com/osxfuse/osxfuse/releases/download/macfuse-4.1.2/macfuse-4.1.2.dmg", + "Sha256": "9FF344DE38BAD5AC5ECA5194DA00A2BA35DD6AFDB9039133B5446168F8EDAFDB", "InstallerPath": "Install macFUSE.pkg" }, { @@ -34,7 +34,7 @@ "VagrantPlugins": [ { "Name": "vagrant-parallels", - "Version": "2.2.1" + "Version": "2.2.3" } ] } diff --git a/versions/a-/azure-iot-sdk-c.json b/versions/a-/azure-iot-sdk-c.json index f70e69627c4baf..21dd2f34a4d5d5 100644 --- a/versions/a-/azure-iot-sdk-c.json +++ b/versions/a-/azure-iot-sdk-c.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "07dbca4b72d51fb97f55b032e1b412add4054973", + "version-date": "2020-12-09", + "port-version": 2 + }, { "git-tree": "5dadcecafd0c3ffdfcf438c1f5f8b106002e14d0", "version-date": "2020-12-09", diff --git a/versions/baseline.json b/versions/baseline.json index 23329bde0bdad6..6d87c0bc1c82e0 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -282,7 +282,7 @@ }, "azure-iot-sdk-c": { "baseline": "2020-12-09", - "port-version": 1 + "port-version": 2 }, "azure-kinect-sensor-sdk": { "baseline": "1.4.1", @@ -1394,7 +1394,7 @@ }, "coroutine": { "baseline": "1.5.0", - "port-version": 1 + "port-version": 2 }, "corrade": { "baseline": "2020.06", @@ -2746,7 +2746,7 @@ }, "itpp": { "baseline": "4.3.1", - "port-version": 6 + "port-version": 7 }, "ixwebsocket": { "baseline": "11.2.6", @@ -3426,23 +3426,23 @@ }, "libodb": { "baseline": "2.4.0", - "port-version": 7 + "port-version": 8 }, "libodb-boost": { - "baseline": "2.4.0-3", - "port-version": 0 + "baseline": "2.4.0", + "port-version": 4 }, "libodb-mysql": { "baseline": "2.4.0", - "port-version": 8 + "port-version": 9 }, "libodb-pgsql": { - "baseline": "2.4.0-3", - "port-version": 0 + "baseline": "2.4.0", + "port-version": 4 }, "libodb-sqlite": { "baseline": "2.4.0", - "port-version": 7 + "port-version": 8 }, "libogg": { "baseline": "1.3.5", @@ -3694,7 +3694,7 @@ }, "libunistring": { "baseline": "0.9.10", - "port-version": 0 + "port-version": 1 }, "liburing": { "baseline": "2.0", @@ -4294,7 +4294,7 @@ }, "nanodbc": { "baseline": "2.13.0", - "port-version": 3 + "port-version": 4 }, "nanoflann": { "baseline": "1.3.1", @@ -4950,7 +4950,7 @@ }, "plplot": { "baseline": "5.13.0", - "port-version": 9 + "port-version": 10 }, "plustache": { "baseline": "0.4.0-1", @@ -5766,11 +5766,11 @@ }, "selene": { "baseline": "0.3.1", - "port-version": 4 + "port-version": 5 }, "sentencepiece": { - "baseline": "v0.1.82", - "port-version": 0 + "baseline": "0.1.82", + "port-version": 1 }, "sentry-native": { "baseline": "0.4.11", @@ -6786,7 +6786,7 @@ }, "xlnt": { "baseline": "1.5.0", - "port-version": 1 + "port-version": 2 }, "xlsxio": { "baseline": "2021-03-24", diff --git a/versions/c-/coroutine.json b/versions/c-/coroutine.json index 96c52d448b58fe..3bb9ab69b7c838 100644 --- a/versions/c-/coroutine.json +++ b/versions/c-/coroutine.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "14f8ad97489e980329f98d4c95146dafb32cedb9", + "version-string": "1.5.0", + "port-version": 2 + }, { "git-tree": "da458b763cbbbbba0acf20b1895ddd4ee4ff8d0b", "version-string": "1.5.0", diff --git a/versions/i-/itpp.json b/versions/i-/itpp.json index 6c3a4abd91b11a..488d58ee064a9c 100644 --- a/versions/i-/itpp.json +++ b/versions/i-/itpp.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "e10390b026b73c352e32bdf11ea58230a7e51d53", + "version-semver": "4.3.1", + "port-version": 7 + }, { "git-tree": "ef6b3ce5f6b2522df8dc27959244a73581a44b6d", "version-semver": "4.3.1", diff --git a/versions/l-/libodb-boost.json b/versions/l-/libodb-boost.json index 9370253dd48a0a..3bc2015e2d5ccc 100644 --- a/versions/l-/libodb-boost.json +++ b/versions/l-/libodb-boost.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "facc25e5e4f72028b75da7be4b88208615b172cb", + "version-string": "2.4.0", + "port-version": 4 + }, { "git-tree": "70c909cead2fcecc32b1be6da761fd8aaf74a95a", "version-string": "2.4.0-3", diff --git a/versions/l-/libodb-mysql.json b/versions/l-/libodb-mysql.json index 6806250f6b4c62..4333d95364ec7f 100644 --- a/versions/l-/libodb-mysql.json +++ b/versions/l-/libodb-mysql.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "bf081744ced44cfa3da6d34d959a63fdaacaf69f", + "version": "2.4.0", + "port-version": 9 + }, { "git-tree": "208d05d2a1a41329632318e2950c1300cf75eb51", "version": "2.4.0", diff --git a/versions/l-/libodb-pgsql.json b/versions/l-/libodb-pgsql.json index e6638b0b7dd0e6..0647a39493aade 100644 --- a/versions/l-/libodb-pgsql.json +++ b/versions/l-/libodb-pgsql.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "dfe9698df72847f118144c93dbcc25e2f0e0b16d", + "version-string": "2.4.0", + "port-version": 4 + }, { "git-tree": "a16d0a534195ac98f6f44b21a42f626cbb5c9a6e", "version-string": "2.4.0-3", diff --git a/versions/l-/libodb-sqlite.json b/versions/l-/libodb-sqlite.json index a40556d2001d20..10f0bb1b5d0860 100644 --- a/versions/l-/libodb-sqlite.json +++ b/versions/l-/libodb-sqlite.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "d24a8283229f618903b2d446e7e22e4a0cf3f69f", + "version-string": "2.4.0", + "port-version": 8 + }, { "git-tree": "6c3f8c74462e65898e335eef5ab9fabc0a3b222f", "version-string": "2.4.0", diff --git a/versions/l-/libodb.json b/versions/l-/libodb.json index 5254d3af86ec4e..4bd5b20282bbc0 100644 --- a/versions/l-/libodb.json +++ b/versions/l-/libodb.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "8296035980f67a96a49e7277dc91149172555750", + "version": "2.4.0", + "port-version": 8 + }, { "git-tree": "6be9a8547e11c2b30077c90504c6dc714f854076", "version": "2.4.0", diff --git a/versions/l-/libunistring.json b/versions/l-/libunistring.json index 800afe50cc7179..3651b41cfc3cb9 100644 --- a/versions/l-/libunistring.json +++ b/versions/l-/libunistring.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "7e74b9d781041b3a5c09b72f77b8e79ea6add168", + "version": "0.9.10", + "port-version": 1 + }, { "git-tree": "586bf47f6b9ee55aa3eb9ec7c7ff36363e39980b", "version": "0.9.10", diff --git a/versions/n-/nanodbc.json b/versions/n-/nanodbc.json index d5a9e7b9dcacc8..28b825696bbe19 100644 --- a/versions/n-/nanodbc.json +++ b/versions/n-/nanodbc.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "3549b9a15615f77ec718e9071309482707ad3779", + "version": "2.13.0", + "port-version": 4 + }, { "git-tree": "2c22ba3957ee9a1a2c6d893c746b6a51bf38435c", "version-string": "2.13.0", diff --git a/versions/p-/plplot.json b/versions/p-/plplot.json index ca18d910ce0dc9..cce975d7432edf 100644 --- a/versions/p-/plplot.json +++ b/versions/p-/plplot.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "d3b92bbff064890556b4d4f759d2cea20041e79d", + "version-string": "5.13.0", + "port-version": 10 + }, { "git-tree": "3a66c489f5aa8d94b9b171561bfe15b65fb71396", "version-string": "5.13.0", diff --git a/versions/s-/selene.json b/versions/s-/selene.json index 443e010d0ab37c..c1635f9df68277 100644 --- a/versions/s-/selene.json +++ b/versions/s-/selene.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "a7e77d03f1d4e5a4d24e10c3ffc1ac326df1791e", + "version": "0.3.1", + "port-version": 5 + }, { "git-tree": "414a898c6d7a263608c56e4bdddfc69936a6b9d7", "version": "0.3.1", diff --git a/versions/s-/sentencepiece.json b/versions/s-/sentencepiece.json index 08fc471893e362..fe93e69d264075 100644 --- a/versions/s-/sentencepiece.json +++ b/versions/s-/sentencepiece.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "80fecc6a62e7e634b59ec58f737202c0773fa73e", + "version": "0.1.82", + "port-version": 1 + }, { "git-tree": "90b2ef495290ecbf5894d437a1d03d3735d9bf4d", "version-string": "v0.1.82", diff --git a/versions/x-/xlnt.json b/versions/x-/xlnt.json index e078174a4fb35f..c12760bf18991e 100644 --- a/versions/x-/xlnt.json +++ b/versions/x-/xlnt.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "e6bb2b46d0e6bf4e603c93c974bd2eb704e3a520", + "version": "1.5.0", + "port-version": 2 + }, { "git-tree": "1e9127d56c2d772d64454b5aef80f93689f70242", "version-string": "1.5.0",