Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	51a6e3b05ae1e749683681363ba2bab047b3d049abbd15a78abb6f9794a33dd0
Browse files- third-party/DPVO/Pangolin/scripts/vcpkg/ports/antlr4/fix_utfcpp_dependency.patch +31 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/antlr4/fixed_build.patch +38 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/antlr4/portfile.cmake +82 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/antlr4/uuid_discovery_fix.patch +35 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/antlr4/vcpkg.json +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/any-lite/portfile.cmake +21 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/any-lite/vcpkg.json +15 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/anyrpc/portfile.cmake +28 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/anyrpc/vcpkg.json +6 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aom/aom-install.diff +75 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aom/aom-rename-static.diff +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aom/aom-uninitialized-pointer.diff +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aom/portfile.cmake +49 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aom/vcpkg.json +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/approval-tests-cpp/portfile.cmake +14 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/approval-tests-cpp/vcpkg.json +6 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/apr-util/apr.patch +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/apr-util/portfile.cmake +89 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/apr-util/use-vcpkg-expat.patch +124 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/apr-util/vcpkg.json +17 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/apr/portfile.cmake +94 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/apr/vcpkg.json +20 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/apsi/portfile.cmake +34 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/apsi/vcpkg.json +58 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/arb/fix-build-error.patch +14 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/arb/portfile.cmake +25 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/arb/vcpkg.json +19 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/arcus/0001-fix-protobuf-deprecated.patch +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/arcus/portfile.cmake +29 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/arcus/vcpkg.json +19 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/argagg/portfile.cmake +25 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/argagg/vcpkg.json +6 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/argh/portfile.cmake +34 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/argh/remove_unnamespaced_license_file.patch +67 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/argh/vcpkg.json +6 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/argparse/portfile.cmake +24 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/argparse/vcpkg.json +17 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/args/portfile.cmake +24 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/args/vcpkg.json +17 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/argtable2/0001-fix-install-dirs.patch +35 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/argtable2/0002-include-correct-headers.patch +60 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/argtable2/portfile.cmake +26 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/argtable2/vcpkg.json +8 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/argtable3/portfile.cmake +29 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/argtable3/vcpkg.json +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/argumentum/portfile.cmake +27 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/argumentum/vcpkg.json +7 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aricpp/portfile.cmake +21 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/aricpp/vcpkg.json +20 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/armadillo/add-disable-find-package.patch +60 -0
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/antlr4/fix_utfcpp_dependency.patch
    ADDED
    
    | @@ -0,0 +1,31 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            diff -urN a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt
         | 
| 2 | 
            +
            --- a/runtime/CMakeLists.txt
         | 
| 3 | 
            +
            +++ b/runtime/CMakeLists.txt
         | 
| 4 | 
            +
            @@ -51,27 +51,6 @@ else()
         | 
| 5 | 
            +
             
         | 
| 6 | 
            +
               if (utf8cpp_HEADER)
         | 
| 7 | 
            +
                 include_directories(${utf8cpp_HEADER})
         | 
| 8 | 
            +
            -  else()
         | 
| 9 | 
            +
            -    include(${CMAKE_ROOT}/Modules/ExternalProject.cmake)
         | 
| 10 | 
            +
            -    set(THIRDPARTY_DIR ${CMAKE_BINARY_DIR}/runtime/thirdparty)
         | 
| 11 | 
            +
            -    set(UTFCPP_DIR ${THIRDPARTY_DIR}/utfcpp)
         | 
| 12 | 
            +
            -    ExternalProject_Add(
         | 
| 13 | 
            +
            -      utf8cpp
         | 
| 14 | 
            +
            -      GIT_REPOSITORY        "https://github.com/nemtrif/utfcpp"
         | 
| 15 | 
            +
            -      GIT_TAG               "v3.1.1"
         | 
| 16 | 
            +
            -      SOURCE_DIR            ${UTFCPP_DIR}
         | 
| 17 | 
            +
            -      UPDATE_DISCONNECTED   1
         | 
| 18 | 
            +
            -      CMAKE_ARGS            -DCMAKE_INSTALL_PREFIX=${UTFCPP_DIR}/install -DUTF8_TESTS=off -DUTF8_SAMPLES=off
         | 
| 19 | 
            +
            -      STEP_TARGETS          build)
         | 
| 20 | 
            +
            -
         | 
| 21 | 
            +
            -    include_directories(
         | 
| 22 | 
            +
            -      ${UTFCPP_DIR}/install/include/utf8cpp
         | 
| 23 | 
            +
            -      ${UTFCPP_DIR}/install/include/utf8cpp/utf8
         | 
| 24 | 
            +
            -      )
         | 
| 25 | 
            +
            -
         | 
| 26 | 
            +
            -    add_dependencies(antlr4_shared utf8cpp)
         | 
| 27 | 
            +
            -    add_dependencies(antlr4_static utf8cpp)
         | 
| 28 | 
            +
            -    set(INSTALL_utf8cpp TRUE)
         | 
| 29 | 
            +
               endif()
         | 
| 30 | 
            +
             endif()
         | 
| 31 | 
            +
             
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/antlr4/fixed_build.patch
    ADDED
    
    | @@ -0,0 +1,38 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            diff -urN a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt
         | 
| 2 | 
            +
            --- a/runtime/CMakeLists.txt
         | 
| 3 | 
            +
            +++ b/runtime/CMakeLists.txt
         | 
| 4 | 
            +
            @@ -25,7 +25,7 @@
         | 
| 5 | 
            +
             add_library(antlr4_shared SHARED ${libantlrcpp_SRC})
         | 
| 6 | 
            +
             add_library(antlr4_static STATIC ${libantlrcpp_SRC})
         | 
| 7 | 
            +
             | 
| 8 | 
            +
            -set(LIB_OUTPUT_DIR "${CMAKE_HOME_DIRECTORY}/dist") # put generated libraries here.
         | 
| 9 | 
            +
            +# set(LIB_OUTPUT_DIR "${CMAKE_HOME_DIRECTORY}/dist") # put generated libraries here.
         | 
| 10 | 
            +
             message(STATUS "Output libraries to ${LIB_OUTPUT_DIR}")
         | 
| 11 | 
            +
             | 
| 12 | 
            +
             # make sure 'make' works fine even if ${LIB_OUTPUT_DIR} is deleted.
         | 
| 13 | 
            +
            @@ -63,15 +63,15 @@
         | 
| 14 | 
            +
               set(extra_share_compile_flags "-DANTLR4CPP_EXPORTS")
         | 
| 15 | 
            +
               set(extra_static_compile_flags "-DANTLR4CPP_STATIC")
         | 
| 16 | 
            +
             endif(WIN32)
         | 
| 17 | 
            +
            -if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
         | 
| 18 | 
            +
            -  if(WITH_STATIC_CRT)
         | 
| 19 | 
            +
            -    target_compile_options(antlr4_shared PRIVATE "/MT$<$<CONFIG:Debug>:d>")
         | 
| 20 | 
            +
            -    target_compile_options(antlr4_static PRIVATE "/MT$<$<CONFIG:Debug>:d>")
         | 
| 21 | 
            +
            -  else()
         | 
| 22 | 
            +
            -    target_compile_options(antlr4_shared PRIVATE "/MD$<$<CONFIG:Debug>:d>")
         | 
| 23 | 
            +
            -    target_compile_options(antlr4_static PRIVATE "/MD$<$<CONFIG:Debug>:d>")
         | 
| 24 | 
            +
            -  endif()
         | 
| 25 | 
            +
            -endif()
         | 
| 26 | 
            +
            +# if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
         | 
| 27 | 
            +
            +#   if(WITH_STATIC_CRT)
         | 
| 28 | 
            +
            +#     target_compile_options(antlr4_shared PRIVATE "/MT$<$<CONFIG:Debug>:d>")
         | 
| 29 | 
            +
            +#     target_compile_options(antlr4_static PRIVATE "/MT$<$<CONFIG:Debug>:d>")
         | 
| 30 | 
            +
            +#   else()
         | 
| 31 | 
            +
            +#     target_compile_options(antlr4_shared PRIVATE "/MD$<$<CONFIG:Debug>:d>")
         | 
| 32 | 
            +
            +#     target_compile_options(antlr4_static PRIVATE "/MD$<$<CONFIG:Debug>:d>")
         | 
| 33 | 
            +
            +#   endif()
         | 
| 34 | 
            +
            +# endif()
         | 
| 35 | 
            +
             | 
| 36 | 
            +
             set(static_lib_suffix "")
         | 
| 37 | 
            +
             if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
         | 
| 38 | 
            +
             
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/antlr4/portfile.cmake
    ADDED
    
    | @@ -0,0 +1,82 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            set(VERSION 4.9.3)
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            vcpkg_download_distfile(ARCHIVE
         | 
| 4 | 
            +
                URLS "https://www.antlr.org/download/antlr4-cpp-runtime-${VERSION}-source.zip"
         | 
| 5 | 
            +
                FILENAME "antlr4-cpp-runtime-${VERSION}-source.zip"
         | 
| 6 | 
            +
                SHA512 23995a6fa661ff038142fa7220a195db3a9a26744d516011dedc3192f152b06a8e31f6cc8f969f8927b86392a960d03e89572e753f033f950839a5bd38d4c722
         | 
| 7 | 
            +
            )
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            # license not exist in antlr folder.
         | 
| 10 | 
            +
            vcpkg_download_distfile(LICENSE
         | 
| 11 | 
            +
                URLS https://raw.githubusercontent.com/antlr/antlr4/${VERSION}/LICENSE.txt
         | 
| 12 | 
            +
                FILENAME "antlr4-copyright-${VERSION}"
         | 
| 13 | 
            +
                SHA512 1e8414de5fdc211e3188a8ec3276c6b3c55235f5edaf48522045ae18fa79fd9049719cb8924d25145016f223ac9a178defada1eeb983ccff598a08b0c0f67a3b
         | 
| 14 | 
            +
            )
         | 
| 15 | 
            +
             | 
| 16 | 
            +
            vcpkg_extract_source_archive_ex(
         | 
| 17 | 
            +
                OUT_SOURCE_PATH SOURCE_PATH
         | 
| 18 | 
            +
                ARCHIVE ${ARCHIVE}
         | 
| 19 | 
            +
                NO_REMOVE_ONE_LEVEL
         | 
| 20 | 
            +
                REF ${VERSION}
         | 
| 21 | 
            +
                PATCHES
         | 
| 22 | 
            +
                    fixed_build.patch
         | 
| 23 | 
            +
                    uuid_discovery_fix.patch
         | 
| 24 | 
            +
                    export_guid.patch
         | 
| 25 | 
            +
                    fix_utfcpp_dependency.patch
         | 
| 26 | 
            +
            )
         | 
| 27 | 
            +
             | 
| 28 | 
            +
            vcpkg_cmake_configure(
         | 
| 29 | 
            +
                SOURCE_PATH ${SOURCE_PATH}
         | 
| 30 | 
            +
                OPTIONS_DEBUG -DLIB_OUTPUT_DIR=${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/dist
         | 
| 31 | 
            +
                OPTIONS_RELEASE -DLIB_OUTPUT_DIR=${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/dist
         | 
| 32 | 
            +
            )
         | 
| 33 | 
            +
             | 
| 34 | 
            +
            vcpkg_cmake_install()
         | 
| 35 | 
            +
             | 
| 36 | 
            +
            file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/doc
         | 
| 37 | 
            +
                                ${CURRENT_PACKAGES_DIR}/debug/share
         | 
| 38 | 
            +
                                ${CURRENT_PACKAGES_DIR}/debug/include
         | 
| 39 | 
            +
            )
         | 
| 40 | 
            +
             | 
| 41 | 
            +
            if (NOT VCPKG_CMAKE_SYSTEM_NAME)
         | 
| 42 | 
            +
                if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
         | 
| 43 | 
            +
                    file(REMOVE ${CURRENT_PACKAGES_DIR}/lib/antlr4-runtime-static.lib
         | 
| 44 | 
            +
                                ${CURRENT_PACKAGES_DIR}/debug/lib/antlr4-runtime-static.lib
         | 
| 45 | 
            +
                    )
         | 
| 46 | 
            +
             | 
| 47 | 
            +
                    file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
         | 
| 48 | 
            +
                    file(RENAME ${CURRENT_PACKAGES_DIR}/lib/antlr4-runtime.dll ${CURRENT_PACKAGES_DIR}/bin/antlr4-runtime.dll)
         | 
| 49 | 
            +
                    file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/antlr4-runtime.dll ${CURRENT_PACKAGES_DIR}/debug/bin/antlr4-runtime.dll)
         | 
| 50 | 
            +
                else()
         | 
| 51 | 
            +
                    file(REMOVE ${CURRENT_PACKAGES_DIR}/lib/antlr4-runtime.lib
         | 
| 52 | 
            +
                                ${CURRENT_PACKAGES_DIR}/lib/antlr4-runtime.dll
         | 
| 53 | 
            +
                                ${CURRENT_PACKAGES_DIR}/debug/lib/antlr4-runtime.lib
         | 
| 54 | 
            +
                                ${CURRENT_PACKAGES_DIR}/debug/lib/antlr4-runtime.dll
         | 
| 55 | 
            +
                    )
         | 
| 56 | 
            +
             | 
| 57 | 
            +
                    file(RENAME ${CURRENT_PACKAGES_DIR}/lib/antlr4-runtime-static.lib ${CURRENT_PACKAGES_DIR}/lib/antlr4-runtime.lib)
         | 
| 58 | 
            +
                    file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/antlr4-runtime-static.lib ${CURRENT_PACKAGES_DIR}/debug/lib/antlr4-runtime.lib)
         | 
| 59 | 
            +
                endif()
         | 
| 60 | 
            +
            else()
         | 
| 61 | 
            +
                if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
         | 
| 62 | 
            +
                    file(REMOVE ${CURRENT_PACKAGES_DIR}/lib/libantlr4-runtime.a
         | 
| 63 | 
            +
                                ${CURRENT_PACKAGES_DIR}/debug/lib/libantlr4-runtime.a
         | 
| 64 | 
            +
                    )
         | 
| 65 | 
            +
                elseif(VCPKG_CMAKE_SYSTEM_NAME STREQUAL Linux)
         | 
| 66 | 
            +
                    file(REMOVE ${CURRENT_PACKAGES_DIR}/lib/libantlr4-runtime.so
         | 
| 67 | 
            +
                                ${CURRENT_PACKAGES_DIR}/lib/libantlr4-runtime.so.${VERSION}
         | 
| 68 | 
            +
                                ${CURRENT_PACKAGES_DIR}/debug/lib/libantlr4-runtime.so
         | 
| 69 | 
            +
                                ${CURRENT_PACKAGES_DIR}/debug/lib/libantlr4-runtime.so.${VERSION}
         | 
| 70 | 
            +
                    )
         | 
| 71 | 
            +
                else()
         | 
| 72 | 
            +
                    file(REMOVE ${CURRENT_PACKAGES_DIR}/lib/libantlr4-runtime.dylib
         | 
| 73 | 
            +
                                ${CURRENT_PACKAGES_DIR}/lib/libantlr4-runtime.${VERSION}.dylib
         | 
| 74 | 
            +
                                ${CURRENT_PACKAGES_DIR}/debug/lib/libantlr4-runtime.dylib
         | 
| 75 | 
            +
                                ${CURRENT_PACKAGES_DIR}/debug/lib/libantlr4-runtime.${VERSION}.dylib
         | 
| 76 | 
            +
                    )
         | 
| 77 | 
            +
                endif()
         | 
| 78 | 
            +
            endif()
         | 
| 79 | 
            +
             | 
| 80 | 
            +
            vcpkg_copy_pdbs()
         | 
| 81 | 
            +
             | 
| 82 | 
            +
            file(INSTALL ${LICENSE} DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/antlr4/uuid_discovery_fix.patch
    ADDED
    
    | @@ -0,0 +1,35 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            diff -urN a/CMakeLists.txt b/CMakeLists.txt
         | 
| 2 | 
            +
            --- a/CMakeLists.txt
         | 
| 3 | 
            +
            +++ b/CMakeLists.txt
         | 
| 4 | 
            +
            @@ -42,8 +42,10 @@ if(CMAKE_VERSION VERSION_EQUAL "3.3.0" OR
         | 
| 5 | 
            +
             endif()
         | 
| 6 | 
            +
             
         | 
| 7 | 
            +
             if(CMAKE_SYSTEM_NAME MATCHES "Linux")
         | 
| 8 | 
            +
            -  find_package(PkgConfig REQUIRED)
         | 
| 9 | 
            +
            -  pkg_check_modules(UUID REQUIRED uuid)
         | 
| 10 | 
            +
            +  find_path(UUID_INCLUDE_DIR uuid/uuid.h)
         | 
| 11 | 
            +
            +  find_library(UUID_LIBRARY NAMES uuid)
         | 
| 12 | 
            +
            +  include_directories(${UUID_INCLUDE_DIR})
         | 
| 13 | 
            +
            +  link_libraries(${UUID_LIBRARY})
         | 
| 14 | 
            +
             endif()
         | 
| 15 | 
            +
             if(APPLE)
         | 
| 16 | 
            +
               find_library(COREFOUNDATION_LIBRARY CoreFoundation)
         | 
| 17 | 
            +
            diff --git a/runtime/src/support/Guid.cpp b/runtime/src/support/Guid.cpp
         | 
| 18 | 
            +
            --- a/runtime/src/support/Guid.cpp
         | 
| 19 | 
            +
            +++ b/runtime/src/support/Guid.cpp
         | 
| 20 | 
            +
            @@ -24,6 +24,7 @@
         | 
| 21 | 
            +
             
         | 
| 22 | 
            +
             #include <algorithm>
         | 
| 23 | 
            +
             
         | 
| 24 | 
            +
            +#include "antlr4-common.h"
         | 
| 25 | 
            +
             #include "Guid.h"
         | 
| 26 | 
            +
             
         | 
| 27 | 
            +
             #ifdef GUID_LIBUUID
         | 
| 28 | 
            +
            @@ -35,6 +36,7 @@
         | 
| 29 | 
            +
             #endif
         | 
| 30 | 
            +
             
         | 
| 31 | 
            +
             #ifdef GUID_WINDOWS
         | 
| 32 | 
            +
            +#define NOMINMAX
         | 
| 33 | 
            +
             #include <objbase.h>
         | 
| 34 | 
            +
             #endif
         | 
| 35 | 
            +
             
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/antlr4/vcpkg.json
    ADDED
    
    | @@ -0,0 +1,18 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "name": "antlr4",
         | 
| 3 | 
            +
              "version": "4.9.3",
         | 
| 4 | 
            +
              "port-version": 1,
         | 
| 5 | 
            +
              "description": "ANother Tool for Language Recognition",
         | 
| 6 | 
            +
              "homepage": "https://www.antlr.org",
         | 
| 7 | 
            +
              "supports": "!uwp",
         | 
| 8 | 
            +
              "dependencies": [
         | 
| 9 | 
            +
                {
         | 
| 10 | 
            +
                  "name": "libuuid",
         | 
| 11 | 
            +
                  "platform": "!uwp & !windows & !osx"
         | 
| 12 | 
            +
                },
         | 
| 13 | 
            +
                {
         | 
| 14 | 
            +
                  "name": "vcpkg-cmake",
         | 
| 15 | 
            +
                  "host": true
         | 
| 16 | 
            +
                }
         | 
| 17 | 
            +
              ]
         | 
| 18 | 
            +
            }
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/any-lite/portfile.cmake
    ADDED
    
    | @@ -0,0 +1,21 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            vcpkg_from_github(
         | 
| 2 | 
            +
                OUT_SOURCE_PATH SOURCE_PATH
         | 
| 3 | 
            +
                REPO martinmoene/any-lite
         | 
| 4 | 
            +
                REF d45a83b8e49d09ff5e5b66c10a56c997946436d9  #v0.4.0
         | 
| 5 | 
            +
                SHA512 b73fe2d1e6de24e143337ef72f71949bf2ae4157a58a5c7e45dd0e9412dd798da6ef929fa09d104305483e769a603b37babd7ba65ab854a33483ab3ec8a921ec
         | 
| 6 | 
            +
            )
         | 
| 7 | 
            +
             | 
| 8 | 
            +
            vcpkg_cmake_configure(
         | 
| 9 | 
            +
                SOURCE_PATH "${SOURCE_PATH}"
         | 
| 10 | 
            +
                OPTIONS
         | 
| 11 | 
            +
                    -DANY_LITE_OPT_BUILD_TESTS=OFF
         | 
| 12 | 
            +
                    -DANY_LITE_OPT_BUILD_EXAMPLES=OFF
         | 
| 13 | 
            +
            )
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            vcpkg_cmake_install()
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/any-lite/vcpkg.json
    ADDED
    
    | @@ -0,0 +1,15 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "name": "any-lite",
         | 
| 3 | 
            +
              "version-semver": "0.4.0",
         | 
| 4 | 
            +
              "description": "A C++17-like any, a type-safe container for single values of any type for C++98, C++11 and later in a single-file header-only library",
         | 
| 5 | 
            +
              "dependencies": [
         | 
| 6 | 
            +
                {
         | 
| 7 | 
            +
                  "name": "vcpkg-cmake",
         | 
| 8 | 
            +
                  "host": true
         | 
| 9 | 
            +
                },
         | 
| 10 | 
            +
                {
         | 
| 11 | 
            +
                  "name": "vcpkg-cmake-config",
         | 
| 12 | 
            +
                  "host": true
         | 
| 13 | 
            +
                }
         | 
| 14 | 
            +
              ]
         | 
| 15 | 
            +
            }
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/anyrpc/portfile.cmake
    ADDED
    
    | @@ -0,0 +1,28 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            vcpkg_from_github(
         | 
| 2 | 
            +
                OUT_SOURCE_PATH SOURCE_PATH
         | 
| 3 | 
            +
                REPO sgieseking/anyrpc
         | 
| 4 | 
            +
                REF b1949b3d40849229055ae75cf5334b9d08579502
         | 
| 5 | 
            +
                SHA512 8c674d29e80ec2522d6c1ec959663958ab4e1bf1135727c3c2aaa19e62a81ddbbd1e6a46f3e4679ee02894ad2ab26e70ca7e1e6c8750f3289994311069221b53
         | 
| 6 | 
            +
                HEAD_REF master
         | 
| 7 | 
            +
                FILE_DISAMBIGUATOR 1
         | 
| 8 | 
            +
            )
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" ANYRPC_LIB_BUILD_SHARED)
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            vcpkg_configure_cmake(
         | 
| 13 | 
            +
                SOURCE_PATH "${SOURCE_PATH}"
         | 
| 14 | 
            +
                PREFER_NINJA
         | 
| 15 | 
            +
                DISABLE_PARALLEL_CONFIGURE
         | 
| 16 | 
            +
                OPTIONS
         | 
| 17 | 
            +
                    -DBUILD_EXAMPLES=OFF
         | 
| 18 | 
            +
                    -DBUILD_TESTS=OFF
         | 
| 19 | 
            +
                    -DBUILD_WITH_LOG4CPLUS=OFF
         | 
| 20 | 
            +
                    -DANYRPC_LIB_BUILD_SHARED=${ANYRPC_LIB_BUILD_SHARED}
         | 
| 21 | 
            +
            )
         | 
| 22 | 
            +
             | 
| 23 | 
            +
            vcpkg_install_cmake()
         | 
| 24 | 
            +
             | 
| 25 | 
            +
            file(INSTALL "${SOURCE_PATH}/license" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
         | 
| 26 | 
            +
            file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
         | 
| 27 | 
            +
             | 
| 28 | 
            +
            vcpkg_copy_pdbs()
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/anyrpc/vcpkg.json
    ADDED
    
    | @@ -0,0 +1,6 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "name": "anyrpc",
         | 
| 3 | 
            +
              "version-date": "2021-08-24",
         | 
| 4 | 
            +
              "description": "A multiprotocol remote procedure call system for C++.",
         | 
| 5 | 
            +
              "homepage": "https://github.com/sgieseking/anyrpc"
         | 
| 6 | 
            +
            }
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/aom/aom-install.diff
    ADDED
    
    | @@ -0,0 +1,75 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            diff --git a/CMakeLists.txt b/CMakeLists.txt
         | 
| 2 | 
            +
            index 18190f647..f4b1b359d 100644
         | 
| 3 | 
            +
            --- a/CMakeLists.txt
         | 
| 4 | 
            +
            +++ b/CMakeLists.txt
         | 
| 5 | 
            +
            @@ -23,6 +23,9 @@ endif()
         | 
| 6 | 
            +
             
         | 
| 7 | 
            +
             project(AOM C CXX)
         | 
| 8 | 
            +
             
         | 
| 9 | 
            +
            +include(GNUInstallDirs)
         | 
| 10 | 
            +
            +include(CMakePackageConfigHelpers)
         | 
| 11 | 
            +
            +
         | 
| 12 | 
            +
             # GENERATED source property global visibility.
         | 
| 13 | 
            +
             if(POLICY CMP0118)
         | 
| 14 | 
            +
               cmake_policy(SET CMP0118 NEW)
         | 
| 15 | 
            +
            @@ -302,6 +305,52 @@ if(BUILD_SHARED_LIBS)
         | 
| 16 | 
            +
               set(AOM_LIB_TARGETS ${AOM_LIB_TARGETS} aom_static)
         | 
| 17 | 
            +
             endif()
         | 
| 18 | 
            +
             
         | 
| 19 | 
            +
            +set(PUBLIC_HEADERS
         | 
| 20 | 
            +
            +    aom/aom.h
         | 
| 21 | 
            +
            +    aom/aom_codec.h
         | 
| 22 | 
            +
            +    aom/aom_decoder.h
         | 
| 23 | 
            +
            +    aom/aom_encoder.h
         | 
| 24 | 
            +
            +    aom/aom_frame_buffer.h
         | 
| 25 | 
            +
            +    aom/aom_image.h
         | 
| 26 | 
            +
            +    aom/aom_integer.h
         | 
| 27 | 
            +
            +    aom/aomcx.h
         | 
| 28 | 
            +
            +    aom/aomdx.h
         | 
| 29 | 
            +
            +)
         | 
| 30 | 
            +
            +
         | 
| 31 | 
            +
            +set_target_properties(aom PROPERTIES
         | 
| 32 | 
            +
            +                          PUBLIC_HEADER "${PUBLIC_HEADERS}")
         | 
| 33 | 
            +
            +
         | 
| 34 | 
            +
            +
         | 
| 35 | 
            +
            +target_include_directories(aom
         | 
| 36 | 
            +
            +                            PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
         | 
| 37 | 
            +
            +                                   $<INSTALL_INTERFACE:include>)
         | 
| 38 | 
            +
            +
         | 
| 39 | 
            +
            +install(TARGETS aom
         | 
| 40 | 
            +
            +        EXPORT unofficial-aom-targets
         | 
| 41 | 
            +
            +        ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
         | 
| 42 | 
            +
            +        LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
         | 
| 43 | 
            +
            +        RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
         | 
| 44 | 
            +
            +        PUBLIC_HEADER DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/aom")
         | 
| 45 | 
            +
            +
         | 
| 46 | 
            +
            +install(EXPORT unofficial-aom-targets
         | 
| 47 | 
            +
            +        FILE unofficial-aom-targets.cmake
         | 
| 48 | 
            +
            +        NAMESPACE unofficial::
         | 
| 49 | 
            +
            +        DESTINATION lib/cmake/aom)
         | 
| 50 | 
            +
            +
         | 
| 51 | 
            +
            +configure_package_config_file(cmake/aom-config.cmake.in
         | 
| 52 | 
            +
            +                              ${CMAKE_CURRENT_BINARY_DIR}/aom-config.cmake
         | 
| 53 | 
            +
            +                              INSTALL_DESTINATION lib/cmake/aom
         | 
| 54 | 
            +
            +                              NO_SET_AND_CHECK_MACRO
         | 
| 55 | 
            +
            +                              NO_CHECK_REQUIRED_COMPONENTS_MACRO)
         | 
| 56 | 
            +
            +
         | 
| 57 | 
            +
            +write_basic_package_version_file(${CMAKE_CURRENT_BINARY_DIR}/aom-config-version.cmake
         | 
| 58 | 
            +
            +                                 VERSION ${SO_FILE_VERSION}
         | 
| 59 | 
            +
            +                                 COMPATIBILITY SameMajorVersion)
         | 
| 60 | 
            +
            +
         | 
| 61 | 
            +
            +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/aom-config.cmake
         | 
| 62 | 
            +
            +              ${CMAKE_CURRENT_BINARY_DIR}/aom-config-version.cmake
         | 
| 63 | 
            +
            +        DESTINATION lib/cmake/aom)
         | 
| 64 | 
            +
            +
         | 
| 65 | 
            +
             # Setup dependencies.
         | 
| 66 | 
            +
             if(CONFIG_THREE_PASS)
         | 
| 67 | 
            +
               setup_ivf_dec_targets()
         | 
| 68 | 
            +
            diff --git a/cmake/aom-config.cmake.in b/cmake/aom-config.cmake.in
         | 
| 69 | 
            +
            new file mode 100644
         | 
| 70 | 
            +
            index 000000000..91cac3b5b
         | 
| 71 | 
            +
            --- /dev/null
         | 
| 72 | 
            +
            +++ b/cmake/aom-config.cmake.in
         | 
| 73 | 
            +
            @@ -0,0 +1,2 @@
         | 
| 74 | 
            +
            +@PACKAGE_INIT@
         | 
| 75 | 
            +
            +include(${CMAKE_CURRENT_LIST_DIR}/unofficial-aom-targets.cmake)
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/aom/aom-rename-static.diff
    ADDED
    
    | @@ -0,0 +1,12 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            diff -pruN aom-3.0.0.o/CMakeLists.txt aom-3.0.0/CMakeLists.txt
         | 
| 2 | 
            +
            --- aom-3.0.0.o/CMakeLists.txt	2021-04-15 20:05:52.695181200 +0300
         | 
| 3 | 
            +
            +++ aom-3.0.0/CMakeLists.txt	2021-04-15 22:34:16.147522600 +0300
         | 
| 4 | 
            +
            @@ -249,7 +249,7 @@ endif()
         | 
| 5 | 
            +
             add_library(aom ${AOM_SOURCES} $<TARGET_OBJECTS:aom_rtcd>)
         | 
| 6 | 
            +
             if(BUILD_SHARED_LIBS)
         | 
| 7 | 
            +
               add_library(aom_static STATIC ${AOM_SOURCES} $<TARGET_OBJECTS:aom_rtcd>)
         | 
| 8 | 
            +
            -  set_target_properties(aom_static PROPERTIES OUTPUT_NAME aom)
         | 
| 9 | 
            +
            +  set_target_properties(aom_static PROPERTIES OUTPUT_NAME aom_static)
         | 
| 10 | 
            +
             
         | 
| 11 | 
            +
               if(NOT MSVC)
         | 
| 12 | 
            +
                 # Extract version string and set VERSION/SOVERSION for the aom target.
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/aom/aom-uninitialized-pointer.diff
    ADDED
    
    | @@ -0,0 +1,13 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            diff --git a/build/cmake/aom_configure.cmake b/build/cmake/aom_configure.cmake
         | 
| 2 | 
            +
            index 43d60ae..35c510b 100644
         | 
| 3 | 
            +
            --- a/build/cmake/aom_configure.cmake
         | 
| 4 | 
            +
            +++ b/build/cmake/aom_configure.cmake
         | 
| 5 | 
            +
            @@ -265,6 +265,8 @@ if(MSVC)
         | 
| 6 | 
            +
             
         | 
| 7 | 
            +
               # Disable MSVC warnings that suggest making code non-portable.
         | 
| 8 | 
            +
               add_compiler_flag_if_supported("/wd4996")
         | 
| 9 | 
            +
            +  # Disable MSVC warnings for potentially uninitialized local pointer variable.
         | 
| 10 | 
            +
            +  add_compiler_flag_if_supported("/wd4703")
         | 
| 11 | 
            +
               if(ENABLE_WERROR)
         | 
| 12 | 
            +
                 add_compiler_flag_if_supported("/WX")
         | 
| 13 | 
            +
               endif()
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/aom/portfile.cmake
    ADDED
    
    | @@ -0,0 +1,49 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            # NASM is required to build AOM
         | 
| 2 | 
            +
            vcpkg_find_acquire_program(NASM)
         | 
| 3 | 
            +
            get_filename_component(NASM_EXE_PATH ${NASM} DIRECTORY)
         | 
| 4 | 
            +
            vcpkg_add_to_path(${NASM_EXE_PATH})
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            # Perl is required to build AOM
         | 
| 7 | 
            +
            vcpkg_find_acquire_program(PERL)
         | 
| 8 | 
            +
            get_filename_component(PERL_PATH ${PERL} DIRECTORY)
         | 
| 9 | 
            +
            vcpkg_add_to_path(${PERL_PATH})
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            vcpkg_from_git(
         | 
| 12 | 
            +
                OUT_SOURCE_PATH SOURCE_PATH
         | 
| 13 | 
            +
                URL "https://aomedia.googlesource.com/aom"
         | 
| 14 | 
            +
                REF 6bbe6ae701d65bdf36bb72053db9b71f9739a083
         | 
| 15 | 
            +
                TAG v3.2.0
         | 
| 16 | 
            +
                PATCHES
         | 
| 17 | 
            +
                    aom-rename-static.diff
         | 
| 18 | 
            +
                    # Can be dropped when https://bugs.chromium.org/p/aomedia/issues/detail?id=3029 is merged into the upstream
         | 
| 19 | 
            +
                    aom-install.diff
         | 
| 20 | 
            +
                    aom-uninitialized-pointer.diff
         | 
| 21 | 
            +
            )
         | 
| 22 | 
            +
             | 
| 23 | 
            +
            vcpkg_cmake_configure(
         | 
| 24 | 
            +
                SOURCE_PATH ${SOURCE_PATH}
         | 
| 25 | 
            +
                OPTIONS
         | 
| 26 | 
            +
                    -DENABLE_DOCS=OFF
         | 
| 27 | 
            +
                    -DENABLE_EXAMPLES=OFF
         | 
| 28 | 
            +
                    -DENABLE_TESTDATA=OFF
         | 
| 29 | 
            +
                    -DENABLE_TESTS=OFF
         | 
| 30 | 
            +
                    -DENABLE_TOOLS=OFF
         | 
| 31 | 
            +
            )
         | 
| 32 | 
            +
             | 
| 33 | 
            +
            vcpkg_cmake_install()
         | 
| 34 | 
            +
             | 
| 35 | 
            +
            vcpkg_copy_pdbs()
         | 
| 36 | 
            +
             | 
| 37 | 
            +
            vcpkg_fixup_pkgconfig()
         | 
| 38 | 
            +
             | 
| 39 | 
            +
            # Move cmake configs
         | 
| 40 | 
            +
            vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
         | 
| 41 | 
            +
             | 
| 42 | 
            +
            # Remove duplicate files
         | 
| 43 | 
            +
            file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include
         | 
| 44 | 
            +
                                ${CURRENT_PACKAGES_DIR}/debug/share)
         | 
| 45 | 
            +
             | 
| 46 | 
            +
            # Handle copyright
         | 
| 47 | 
            +
            file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
         | 
| 48 | 
            +
             | 
| 49 | 
            +
            vcpkg_fixup_pkgconfig()
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/aom/vcpkg.json
    ADDED
    
    | @@ -0,0 +1,18 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "name": "aom",
         | 
| 3 | 
            +
              "version-semver": "3.2.0",
         | 
| 4 | 
            +
              "port-version": 2,
         | 
| 5 | 
            +
              "description": "AV1 codec library",
         | 
| 6 | 
            +
              "homepage": "https://aomedia.googlesource.com/aom",
         | 
| 7 | 
            +
              "supports": "!(windows & arm & !uwp)",
         | 
| 8 | 
            +
              "dependencies": [
         | 
| 9 | 
            +
                {
         | 
| 10 | 
            +
                  "name": "vcpkg-cmake",
         | 
| 11 | 
            +
                  "host": true
         | 
| 12 | 
            +
                },
         | 
| 13 | 
            +
                {
         | 
| 14 | 
            +
                  "name": "vcpkg-cmake-config",
         | 
| 15 | 
            +
                  "host": true
         | 
| 16 | 
            +
                }
         | 
| 17 | 
            +
              ]
         | 
| 18 | 
            +
            }
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/approval-tests-cpp/portfile.cmake
    ADDED
    
    | @@ -0,0 +1,14 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            vcpkg_download_distfile(single_header
         | 
| 2 | 
            +
                URLS https://github.com/approvals/ApprovalTests.cpp/releases/download/v.10.12.2/ApprovalTests.v.10.12.2.hpp
         | 
| 3 | 
            +
                FILENAME ApprovalTests.v.10.12.2.hpp
         | 
| 4 | 
            +
                SHA512 ed59736f52afff246409dcf435ad12a8f15697ae80962c456ca877fbf8adcb99af1bb71424ebcb214df719506015aac27006c1cfec174700b1833db64efb3568
         | 
| 5 | 
            +
            )
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            vcpkg_download_distfile(license_file
         | 
| 8 | 
            +
                URLS https://raw.githubusercontent.com/approvals/ApprovalTests.cpp/v.10.12.2/LICENSE
         | 
| 9 | 
            +
                FILENAME ApprovalTestsLicense.v.10.12.2
         | 
| 10 | 
            +
                SHA512 dc6b68d13b8cf959644b935f1192b02c71aa7a5cf653bd43b4480fa89eec8d4d3f16a2278ec8c3b40ab1fdb233b3173a78fd83590d6f739e0c9e8ff56c282557
         | 
| 11 | 
            +
            )
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            file(INSTALL "${single_header}" DESTINATION "${CURRENT_PACKAGES_DIR}/include" RENAME ApprovalTests.hpp)
         | 
| 14 | 
            +
            file(INSTALL "${license_file}" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/approval-tests-cpp/vcpkg.json
    ADDED
    
    | @@ -0,0 +1,6 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "name": "approval-tests-cpp",
         | 
| 3 | 
            +
              "version": "10.12.2",
         | 
| 4 | 
            +
              "description": "Approval Tests allow you to verify a chunk of output (such as a file) in one operation as opposed to writing test assertions for each element.",
         | 
| 5 | 
            +
              "homepage": "https://github.com/approvals/ApprovalTests.cpp"
         | 
| 6 | 
            +
            }
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/apr-util/apr.patch
    ADDED
    
    | @@ -0,0 +1,13 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            diff --git a/CMakeLists.txt b/CMakeLists.txt
         | 
| 2 | 
            +
            index 69e45541..19b86129 100644
         | 
| 3 | 
            +
            --- a/CMakeLists.txt	
         | 
| 4 | 
            +
            +++ b/CMakeLists.txt
         | 
| 5 | 
            +
            @@ -35,7 +35,7 @@ IF(NOT EXISTS "${APR_INCLUDE_DIR}/apr.h")
         | 
| 6 | 
            +
               MESSAGE(FATAL_ERROR "APR include directory ${APR_INCLUDE_DIR} is not correct.")
         | 
| 7 | 
            +
             ENDIF()
         | 
| 8 | 
            +
             FOREACH(onelib ${APR_LIBRARIES})
         | 
| 9 | 
            +
            -  IF(NOT EXISTS ${onelib})
         | 
| 10 | 
            +
            +  IF(${onelib} MATCHES "NOTFOUND")
         | 
| 11 | 
            +
                 MESSAGE(FATAL_ERROR "APR library ${onelib} was not found.")
         | 
| 12 | 
            +
               ENDIF()
         | 
| 13 | 
            +
             ENDFOREACH()
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/apr-util/portfile.cmake
    ADDED
    
    | @@ -0,0 +1,89 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            vcpkg_download_distfile(ARCHIVE
         | 
| 2 | 
            +
                URLS "https://archive.apache.org/dist/apr/apr-util-1.6.1.tar.bz2"
         | 
| 3 | 
            +
                FILENAME "apr-util-1.6.1.tar.bz2"
         | 
| 4 | 
            +
                SHA512 40eff8a37c0634f7fdddd6ca5e596b38de15fd10767a34c30bbe49c632816e8f3e1e230678034f578dd5816a94f246fb5dfdf48d644829af13bf28de3225205d
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            )
         | 
| 7 | 
            +
             | 
| 8 | 
            +
            if(VCPKG_TARGET_IS_WINDOWS)
         | 
| 9 | 
            +
                vcpkg_extract_source_archive_ex(
         | 
| 10 | 
            +
                    OUT_SOURCE_PATH SOURCE_PATH
         | 
| 11 | 
            +
                    ARCHIVE "${ARCHIVE}"
         | 
| 12 | 
            +
                    PATCHES
         | 
| 13 | 
            +
                        use-vcpkg-expat.patch
         | 
| 14 | 
            +
                        apr.patch
         | 
| 15 | 
            +
                )
         | 
| 16 | 
            +
             | 
| 17 | 
            +
                if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
         | 
| 18 | 
            +
                  set(APU_DECLARE_EXPORT ON)
         | 
| 19 | 
            +
                  set(APU_DECLARE_STATIC OFF)
         | 
| 20 | 
            +
                else()
         | 
| 21 | 
            +
                  set(APU_DECLARE_EXPORT OFF)
         | 
| 22 | 
            +
                  set(APU_DECLARE_STATIC ON)
         | 
| 23 | 
            +
                endif()
         | 
| 24 | 
            +
             | 
| 25 | 
            +
                vcpkg_cmake_configure(
         | 
| 26 | 
            +
                  SOURCE_PATH "${SOURCE_PATH}"
         | 
| 27 | 
            +
                  OPTIONS
         | 
| 28 | 
            +
                    -DAPU_DECLARE_EXPORT=${APU_DECLARE_EXPORT}
         | 
| 29 | 
            +
                    -DAPU_DECLARE_STATIC=${APU_DECLARE_STATIC}
         | 
| 30 | 
            +
                  OPTIONS_DEBUG
         | 
| 31 | 
            +
                    -DDISABLE_INSTALL_HEADERS=ON
         | 
| 32 | 
            +
                )
         | 
| 33 | 
            +
             | 
| 34 | 
            +
                vcpkg_cmake_install()
         | 
| 35 | 
            +
                vcpkg_copy_pdbs()
         | 
| 36 | 
            +
             | 
| 37 | 
            +
                file(READ ${CURRENT_PACKAGES_DIR}/include/apu.h  APU_H)
         | 
| 38 | 
            +
                if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
         | 
| 39 | 
            +
                  string(REPLACE "defined(APU_DECLARE_EXPORT)" "1" APU_H "${APU_H}")
         | 
| 40 | 
            +
                else()
         | 
| 41 | 
            +
                  string(REPLACE "defined(APU_DECLARE_STATIC)" "1" APU_H "${APU_H}")
         | 
| 42 | 
            +
                endif()
         | 
| 43 | 
            +
                file(WRITE ${CURRENT_PACKAGES_DIR}/include/apu.h "${APU_H}")
         | 
| 44 | 
            +
             | 
| 45 | 
            +
            else()
         | 
| 46 | 
            +
                vcpkg_extract_source_archive_ex(
         | 
| 47 | 
            +
                    OUT_SOURCE_PATH SOURCE_PATH
         | 
| 48 | 
            +
                    ARCHIVE ${ARCHIVE} 
         | 
| 49 | 
            +
                )
         | 
| 50 | 
            +
             | 
| 51 | 
            +
                # To cross-compile you will need a triplet file that locates the tool chain and sets --host and --cache parameters of "./configure".
         | 
| 52 | 
            +
                # The ${VCPKG_PLATFORM_TOOLSET}.cache file must have been generated on the targeted host using "./configure -C".
         | 
| 53 | 
            +
                # For example, to target aarch64-linux-gnu, triplets/aarch64-linux-gnu.cmake should contain (beyond the standard content):
         | 
| 54 | 
            +
                # set(VCPKG_PLATFORM_TOOLSET aarch64-linux-gnu)
         | 
| 55 | 
            +
                # set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE ${MY_CROSS_DIR}/cmake/Toolchain-${VCPKG_PLATFORM_TOOLSET}.cmake)
         | 
| 56 | 
            +
                # set(CONFIGURE_PARAMETER_1 --host=${VCPKG_PLATFORM_TOOLSET})
         | 
| 57 | 
            +
                # set(CONFIGURE_PARAMETER_2 --cache-file=${MY_CROSS_DIR}/autoconf/${VCPKG_PLATFORM_TOOLSET}.cache)
         | 
| 58 | 
            +
                if(CONFIGURE_PARAMETER_1)
         | 
| 59 | 
            +
                    message(STATUS "Configuring apr-util with ${CONFIGURE_PARAMETER_1} ${CONFIGURE_PARAMETER_2} ${CONFIGURE_PARAMETER_3}")
         | 
| 60 | 
            +
                else()
         | 
| 61 | 
            +
                    message(STATUS "Configuring apr-util")
         | 
| 62 | 
            +
                endif()
         | 
| 63 | 
            +
             | 
| 64 | 
            +
                vcpkg_configure_make(
         | 
| 65 | 
            +
                    SOURCE_PATH "${SOURCE_PATH}"
         | 
| 66 | 
            +
                    OPTIONS 
         | 
| 67 | 
            +
                        "--prefix=${CURRENT_INSTALLED_DIR}"
         | 
| 68 | 
            +
                        "--with-apr=${CURRENT_INSTALLED_DIR}/tools/apr"
         | 
| 69 | 
            +
                        "--with-openssl=${CURRENT_INSTALLED_DIR}"
         | 
| 70 | 
            +
                        "-with-expat=${CURRENT_INSTALLED_DIR}"
         | 
| 71 | 
            +
                        "${CONFIGURE_PARAMETER_1}"
         | 
| 72 | 
            +
                        "${CONFIGURE_PARAMETER_2}"
         | 
| 73 | 
            +
                        "${CONFIGURE_PARAMETER_3}"
         | 
| 74 | 
            +
                )
         | 
| 75 | 
            +
             | 
| 76 | 
            +
                vcpkg_install_make()
         | 
| 77 | 
            +
             | 
| 78 | 
            +
                vcpkg_fixup_pkgconfig()
         | 
| 79 | 
            +
                vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/apr-util/bin/apu-1-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../..")
         | 
| 80 | 
            +
                vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/apr-util/bin/apu-1-config" "${CURRENT_BUILDTREES_DIR}" "not/existing")
         | 
| 81 | 
            +
                if(NOT VCPKG_BUILD_TYPE)
         | 
| 82 | 
            +
                  vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/apr-util/debug/bin/apu-1-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../../..")
         | 
| 83 | 
            +
                  vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/apr-util/debug/bin/apu-1-config" "${CURRENT_BUILDTREES_DIR}" "not/existing")
         | 
| 84 | 
            +
                endif()
         | 
| 85 | 
            +
             | 
| 86 | 
            +
            endif()
         | 
| 87 | 
            +
             | 
| 88 | 
            +
            # Handle copyright
         | 
| 89 | 
            +
            file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/apr-util/use-vcpkg-expat.patch
    ADDED
    
    | @@ -0,0 +1,124 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            diff --git a/CMakeLists.txt b/CMakeLists.txt
         | 
| 2 | 
            +
            index 9ae90b1..71a50b0 100644
         | 
| 3 | 
            +
            --- a/CMakeLists.txt
         | 
| 4 | 
            +
            +++ b/CMakeLists.txt
         | 
| 5 | 
            +
            @@ -21,16 +21,14 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
         | 
| 6 | 
            +
             
         | 
| 7 | 
            +
             FIND_PACKAGE(OpenSSL)
         | 
| 8 | 
            +
             
         | 
| 9 | 
            +
            -FIND_PACKAGE(expat)
         | 
| 10 | 
            +
            -
         | 
| 11 | 
            +
             OPTION(APU_HAVE_CRYPTO      "Crypto support"                            OFF)
         | 
| 12 | 
            +
             OPTION(APU_HAVE_ODBC        "Build ODBC DBD driver"                     ON)
         | 
| 13 | 
            +
             OPTION(APR_HAS_LDAP         "LDAP support"                              ON)
         | 
| 14 | 
            +
             OPTION(INSTALL_PDB          "Install .pdb files (if generated)"         ON)
         | 
| 15 | 
            +
             OPTION(APR_BUILD_TESTAPR    "Build the test suite"                      OFF)
         | 
| 16 | 
            +
             OPTION(TEST_STATIC_LIBS     "Test programs use APR static libraries instead of shared libraries?" OFF)
         | 
| 17 | 
            +
            -SET(APR_INCLUDE_DIR         "${CMAKE_INSTALL_PREFIX}/include"           CACHE STRING "Directory with APR include files")
         | 
| 18 | 
            +
            -SET(APR_LIBRARIES           "${CMAKE_INSTALL_PREFIX}/lib/libapr-1.lib"  CACHE STRING "APR library to link with")
         | 
| 19 | 
            +
            +find_path(APR_INCLUDE_DIR apr.h)
         | 
| 20 | 
            +
            +find_library(APR_LIBRARIES NAMES libapr-1 apr-1)
         | 
| 21 | 
            +
             
         | 
| 22 | 
            +
             IF(NOT EXISTS "${APR_INCLUDE_DIR}/apr.h")
         | 
| 23 | 
            +
               MESSAGE(FATAL_ERROR "APR include directory ${APR_INCLUDE_DIR} is not correct.")
         | 
| 24 | 
            +
            @@ -61,13 +59,13 @@ IF(APR_HAS_LDAP)
         | 
| 25 | 
            +
               SET(apr_has_ldap_10 1)
         | 
| 26 | 
            +
             ENDIF()
         | 
| 27 | 
            +
             
         | 
| 28 | 
            +
            -IF(NOT EXPAT_FOUND)
         | 
| 29 | 
            +
            +find_package(expat)
         | 
| 30 | 
            +
            +set(XMLLIB_INCLUDE_DIR ${EXPAT_INCLUDE_DIRS})
         | 
| 31 | 
            +
            +set(XMLLIB_LIBRARIES ${EXPAT_LIBRARIES})
         | 
| 32 | 
            +
            +IF(NOT XMLLIB_LIBRARIES)
         | 
| 33 | 
            +
               MESSAGE(FATAL_ERROR "Expat is required, and it wasn't found!")
         | 
| 34 | 
            +
             ENDIF()
         | 
| 35 | 
            +
             
         | 
| 36 | 
            +
            -SET(XMLLIB_INCLUDE_DIR   ${EXPAT_INCLUDE_DIRS})
         | 
| 37 | 
            +
            -SET(XMLLIB_LIBRARIES     ${EXPAT_LIBRARIES})
         | 
| 38 | 
            +
            -
         | 
| 39 | 
            +
             SET(LDAP_LIBRARIES)
         | 
| 40 | 
            +
             IF(APR_HAS_LDAP)
         | 
| 41 | 
            +
               SET(LDAP_LIBRARIES wldap32)
         | 
| 42 | 
            +
            @@ -229,17 +227,21 @@ SET(dbd_drivers)
         | 
| 43 | 
            +
             # Note: The WINNT definition on some targets is used only by libaprutil.rc.
         | 
| 44 | 
            +
             
         | 
| 45 | 
            +
             # libaprutil-1 is shared, aprutil-1 is static
         | 
| 46 | 
            +
            +if(BUILD_SHARED_LIBS)
         | 
| 47 | 
            +
             ADD_LIBRARY(libaprutil-1 SHARED ${APR_SOURCES} ${APR_PUBLIC_HEADERS_GENERATED} libaprutil.rc)
         | 
| 48 | 
            +
             SET(install_targets ${install_targets} libaprutil-1)
         | 
| 49 | 
            +
             SET(install_bin_pdb ${install_bin_pdb} ${PROJECT_BINARY_DIR}/libaprutil-1.pdb)
         | 
| 50 | 
            +
             TARGET_LINK_LIBRARIES(libaprutil-1 ${APR_LIBRARIES} ${XMLLIB_LIBRARIES})
         | 
| 51 | 
            +
            -SET_TARGET_PROPERTIES(libaprutil-1 PROPERTIES COMPILE_DEFINITIONS "APU_DECLARE_EXPORT;APR_DECLARE_EXPORT;XML_STATIC;WINNT")
         | 
| 52 | 
            +
            +SET_TARGET_PROPERTIES(libaprutil-1 PROPERTIES COMPILE_DEFINITIONS "APU_DECLARE_EXPORT;APR_DECLARE_IMPORT;XML_STATIC;WINNT")
         | 
| 53 | 
            +
             
         | 
| 54 | 
            +
            +else(BUILD_SHARED_LIBS)
         | 
| 55 | 
            +
             ADD_LIBRARY(aprutil-1 STATIC ${APR_SOURCES} ${APR_PUBLIC_HEADERS_GENERATED})
         | 
| 56 | 
            +
             SET(install_targets ${install_targets} aprutil-1)
         | 
| 57 | 
            +
             TARGET_LINK_LIBRARIES(aprutil-1 ${APR_LIBRARIES} ${XMLLIB_LIBRARIES})
         | 
| 58 | 
            +
             SET_TARGET_PROPERTIES(aprutil-1 PROPERTIES COMPILE_DEFINITIONS "APU_DECLARE_STATIC;APR_DECLARE_STATIC;APU_DSO_MODULE_BUILD;XML_STATIC")
         | 
| 59 | 
            +
            +endif(BUILD_SHARED_LIBS)
         | 
| 60 | 
            +
             
         | 
| 61 | 
            +
            +if(BUILD_SHARED_LIBS)
         | 
| 62 | 
            +
             IF(APU_HAVE_CRYPTO)
         | 
| 63 | 
            +
               IF(NOT OPENSSL_FOUND)
         | 
| 64 | 
            +
                 MESSAGE(FATAL_ERROR "Only OpenSSL-based crypto is currently implemented in the cmake build")
         | 
| 65 | 
            +
            @@ -249,7 +251,7 @@ IF(APU_HAVE_CRYPTO)
         | 
| 66 | 
            +
               SET(install_bin_pdb ${install_bin_pdb} ${PROJECT_BINARY_DIR}/apr_crypto_openssl-1.pdb)
         | 
| 67 | 
            +
               SET_TARGET_PROPERTIES(apr_crypto_openssl-1 PROPERTIES INCLUDE_DIRECTORIES "${APR_INCLUDE_DIRECTORIES};${OPENSSL_INCLUDE_DIR}")
         | 
| 68 | 
            +
               SET_TARGET_PROPERTIES(apr_crypto_openssl-1 PROPERTIES COMPILE_DEFINITIONS "WINNT")
         | 
| 69 | 
            +
            -  SET_TARGET_PROPERTIES(apr_crypto_openssl-1 PROPERTIES COMPILE_FLAGS "-DAPR_DECLARE_EXPORT=1 -DAPU_DECLARE_EXPORT=1 -DDLL_NAME=apr_crypto_openssl")
         | 
| 70 | 
            +
            +  SET_TARGET_PROPERTIES(apr_crypto_openssl-1 PROPERTIES COMPILE_FLAGS "-DAPR_DECLARE_IMPORT -DAPU_DECLARE_IMPORT -DDLL_NAME=apr_crypto_openssl")
         | 
| 71 | 
            +
               TARGET_LINK_LIBRARIES(apr_crypto_openssl-1 libaprutil-1 ${APR_LIBRARIES} ${OPENSSL_LIBRARIES})
         | 
| 72 | 
            +
             ENDIF()
         | 
| 73 | 
            +
             
         | 
| 74 | 
            +
            @@ -260,8 +262,8 @@ IF(APU_HAVE_ODBC)
         | 
| 75 | 
            +
               SET(dbd_drivers ${dbd_drivers} odbc)
         | 
| 76 | 
            +
               TARGET_LINK_LIBRARIES(apr_dbd_odbc-1 libaprutil-1 ${APR_LIBRARIES} odbc32 odbccp32)
         | 
| 77 | 
            +
               SET_PROPERTY(TARGET apr_dbd_odbc-1 APPEND PROPERTY LINK_FLAGS /export:apr_dbd_odbc_driver)
         | 
| 78 | 
            +
            -  SET_TARGET_PROPERTIES(apr_dbd_odbc-1 PROPERTIES COMPILE_DEFINITIONS "APU_HAVE_ODBC;HAVE_SQL_H;APU_DECLARE_EXPORT;APR_DECLARE_EXPORT;APU_DSO_MODULE_BUILD;WINNT")
         | 
| 79 | 
            +
            -  SET_TARGET_PROPERTIES(apr_dbd_odbc-1 PROPERTIES COMPILE_FLAGS "-DAPR_DECLARE_EXPORT=1 -DAPU_DECLARE_EXPORT=1 -DDLL_NAME=apr_dbd_odbc")
         | 
| 80 | 
            +
            +  SET_TARGET_PROPERTIES(apr_dbd_odbc-1 PROPERTIES COMPILE_DEFINITIONS "APU_HAVE_ODBC;HAVE_SQL_H;APU_DECLARE_IMPORT;APR_DECLARE_IMPORT;APU_DSO_MODULE_BUILD;WINNT")
         | 
| 81 | 
            +
            +  SET_TARGET_PROPERTIES(apr_dbd_odbc-1 PROPERTIES COMPILE_FLAGS "-DAPR_DECLARE_IMPORT  -DAPU_DECLARE_IMPORT -DDLL_NAME=apr_dbd_odbc")
         | 
| 82 | 
            +
             ENDIF()
         | 
| 83 | 
            +
             
         | 
| 84 | 
            +
             IF(APR_HAS_LDAP)
         | 
| 85 | 
            +
            @@ -271,11 +273,12 @@ IF(APR_HAS_LDAP)
         | 
| 86 | 
            +
               SET(install_bin_pdb ${install_bin_pdb} ${PROJECT_BINARY_DIR}/apr_ldap-1.pdb)
         | 
| 87 | 
            +
               TARGET_LINK_LIBRARIES(apr_ldap-1 libaprutil-1 ${APR_LIBRARIES} ${LDAP_LIBRARIES})
         | 
| 88 | 
            +
               SET_TARGET_PROPERTIES(apr_ldap-1 PROPERTIES COMPILE_DEFINITIONS "WINNT")
         | 
| 89 | 
            +
            -  SET_TARGET_PROPERTIES(apr_ldap-1 PROPERTIES COMPILE_FLAGS "-DAPR_DECLARE_EXPORT=1 -DAPU_DECLARE_EXPORT=1 -DDLL_NAME=apr_ldap")
         | 
| 90 | 
            +
            +  SET_TARGET_PROPERTIES(apr_ldap-1 PROPERTIES COMPILE_FLAGS "-DAPR_DECLARE_IMPORT -DAPU_DECLARE_IMPORT -DDLL_NAME=apr_ldap")
         | 
| 91 | 
            +
               SET(apr_ldap_libraries apr_ldap-1)
         | 
| 92 | 
            +
             ELSE()
         | 
| 93 | 
            +
               SET(apr_ldap_libraries)
         | 
| 94 | 
            +
             ENDIF()
         | 
| 95 | 
            +
            +endif(BUILD_SHARED_LIBS)
         | 
| 96 | 
            +
             
         | 
| 97 | 
            +
             IF(APR_BUILD_TESTAPR)
         | 
| 98 | 
            +
               ENABLE_TESTING()
         | 
| 99 | 
            +
            @@ -289,7 +292,7 @@ IF(APR_BUILD_TESTAPR)
         | 
| 100 | 
            +
                               ${PROJECT_SOURCE_DIR}/test/data/billion-laughs.xml
         | 
| 101 | 
            +
                               ${PROJECT_BINARY_DIR}/data/billion-laughs.xml)
         | 
| 102 | 
            +
             
         | 
| 103 | 
            +
            -  IF(TEST_STATIC_LIBS)
         | 
| 104 | 
            +
            +  IF(NOT BUILD_SHARED_LIBS)
         | 
| 105 | 
            +
                 SET(whichapr    aprutil-1)
         | 
| 106 | 
            +
                 SET(apiflag     "-DAPR_DECLARE_STATIC -DAPU_DECLARE_STATIC")
         | 
| 107 | 
            +
               ELSE()
         | 
| 108 | 
            +
            @@ -325,13 +328,9 @@ INSTALL(TARGETS ${install_targets}
         | 
| 109 | 
            +
                     ARCHIVE DESTINATION lib
         | 
| 110 | 
            +
                    )
         | 
| 111 | 
            +
             
         | 
| 112 | 
            +
            -IF(INSTALL_PDB)
         | 
| 113 | 
            +
            -  INSTALL(FILES ${install_bin_pdb}
         | 
| 114 | 
            +
            -          DESTINATION bin
         | 
| 115 | 
            +
            -          CONFIGURATIONS RelWithDebInfo Debug)
         | 
| 116 | 
            +
            -ENDIF()
         | 
| 117 | 
            +
            -
         | 
| 118 | 
            +
            -INSTALL(FILES ${APR_PUBLIC_HEADERS_STATIC} ${APR_PUBLIC_HEADERS_GENERATED} DESTINATION include)
         | 
| 119 | 
            +
            +if(NOT DISABLE_INSTALL_HEADERS)
         | 
| 120 | 
            +
            +  INSTALL(FILES ${APR_PUBLIC_HEADERS_STATIC} ${APR_PUBLIC_HEADERS_GENERATED} DESTINATION include)
         | 
| 121 | 
            +
            +endif()
         | 
| 122 | 
            +
             
         | 
| 123 | 
            +
             STRING(TOUPPER "${CMAKE_BUILD_TYPE}" buildtype)
         | 
| 124 | 
            +
             MESSAGE(STATUS "")
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/apr-util/vcpkg.json
    ADDED
    
    | @@ -0,0 +1,17 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "name": "apr-util",
         | 
| 3 | 
            +
              "version": "1.6.1",
         | 
| 4 | 
            +
              "port-version": 7,
         | 
| 5 | 
            +
              "description": "Apache Portable Runtime (APR) project  mission is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementation",
         | 
| 6 | 
            +
              "homepage": "https://apr.apache.org/",
         | 
| 7 | 
            +
              "dependencies": [
         | 
| 8 | 
            +
                "apr",
         | 
| 9 | 
            +
                "expat",
         | 
| 10 | 
            +
                "openssl",
         | 
| 11 | 
            +
                {
         | 
| 12 | 
            +
                  "name": "vcpkg-cmake",
         | 
| 13 | 
            +
                  "host": true,
         | 
| 14 | 
            +
                  "platform": "windows"
         | 
| 15 | 
            +
                }
         | 
| 16 | 
            +
              ]
         | 
| 17 | 
            +
            }
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/apr/portfile.cmake
    ADDED
    
    | @@ -0,0 +1,94 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
             | 
| 2 | 
            +
            set(VERSION 1.7.0)
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            vcpkg_download_distfile(ARCHIVE
         | 
| 5 | 
            +
                URLS "https://www.apache.org/dist/apr/apr-${VERSION}.tar.bz2"
         | 
| 6 | 
            +
                FILENAME "apr-${VERSION}.tar.bz2"
         | 
| 7 | 
            +
                SHA512 3dc42d5caf17aab16f5c154080f020d5aed761e22db4c5f6506917f6bfd2bf8becfb40af919042bd4ce1077d5de74aa666f5edfba7f275efba78e8893c115148
         | 
| 8 | 
            +
            )
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            vcpkg_extract_source_archive_ex(
         | 
| 11 | 
            +
                OUT_SOURCE_PATH SOURCE_PATH
         | 
| 12 | 
            +
                ARCHIVE "${ARCHIVE}"
         | 
| 13 | 
            +
            )
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            if (VCPKG_TARGET_IS_WINDOWS)
         | 
| 16 | 
            +
                vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
         | 
| 17 | 
            +
                    FEATURES
         | 
| 18 | 
            +
                        private-headers INSTALL_PRIVATE_H
         | 
| 19 | 
            +
                )
         | 
| 20 | 
            +
             | 
| 21 | 
            +
                vcpkg_cmake_configure(
         | 
| 22 | 
            +
                    SOURCE_PATH "${SOURCE_PATH}"
         | 
| 23 | 
            +
                    OPTIONS
         | 
| 24 | 
            +
                        -DINSTALL_PDB=OFF
         | 
| 25 | 
            +
                        -DMIN_WINDOWS_VER=Windows7
         | 
| 26 | 
            +
                        -DAPR_HAVE_IPV6=ON
         | 
| 27 | 
            +
                        -DAPR_INSTALL_PRIVATE_H=${INSTALL_PRIVATE_H}
         | 
| 28 | 
            +
                        ${FEATURE_OPTIONS}
         | 
| 29 | 
            +
                )
         | 
| 30 | 
            +
             | 
| 31 | 
            +
                vcpkg_cmake_install()
         | 
| 32 | 
            +
             | 
| 33 | 
            +
                # There is no way to suppress installation of the headers in debug builds.
         | 
| 34 | 
            +
                file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
         | 
| 35 | 
            +
             | 
| 36 | 
            +
                # Both dynamic and static are built, so keep only the one needed
         | 
| 37 | 
            +
                if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
         | 
| 38 | 
            +
                    file(REMOVE "${CURRENT_PACKAGES_DIR}/lib/apr-1.lib"
         | 
| 39 | 
            +
                                "${CURRENT_PACKAGES_DIR}/lib/aprapp-1.lib"
         | 
| 40 | 
            +
                                "${CURRENT_PACKAGES_DIR}/debug/lib/apr-1.lib"
         | 
| 41 | 
            +
                                "${CURRENT_PACKAGES_DIR}/debug/lib/aprapp-1.lib")
         | 
| 42 | 
            +
                else()
         | 
| 43 | 
            +
                    file(REMOVE "${CURRENT_PACKAGES_DIR}/lib/libapr-1.lib"
         | 
| 44 | 
            +
                                "${CURRENT_PACKAGES_DIR}/lib/libaprapp-1.lib"
         | 
| 45 | 
            +
                                "${CURRENT_PACKAGES_DIR}/debug/lib/libapr-1.lib"
         | 
| 46 | 
            +
                                "${CURRENT_PACKAGES_DIR}/debug/lib/libaprapp-1.lib")
         | 
| 47 | 
            +
                    file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
         | 
| 48 | 
            +
                endif()
         | 
| 49 | 
            +
             | 
| 50 | 
            +
                vcpkg_copy_pdbs()
         | 
| 51 | 
            +
            else()
         | 
| 52 | 
            +
                # To cross-compile you will need a triplet file that locates the tool chain and sets --host and --cache parameters of "./configure".
         | 
| 53 | 
            +
                # The ${VCPKG_PLATFORM_TOOLSET}.cache file must have been generated on the targeted host using "./configure -C".
         | 
| 54 | 
            +
                # For example, to target aarch64-linux-gnu, triplets/aarch64-linux-gnu.cmake should contain (beyond the standard content):
         | 
| 55 | 
            +
                # set(VCPKG_PLATFORM_TOOLSET aarch64-linux-gnu)
         | 
| 56 | 
            +
                # set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE ${MY_CROSS_DIR}/cmake/Toolchain-${VCPKG_PLATFORM_TOOLSET}.cmake)
         | 
| 57 | 
            +
                # set(CONFIGURE_PARAMETER_1 --host=${VCPKG_PLATFORM_TOOLSET})
         | 
| 58 | 
            +
                # set(CONFIGURE_PARAMETER_2 --cache-file=${MY_CROSS_DIR}/autoconf/${VCPKG_PLATFORM_TOOLSET}.cache)
         | 
| 59 | 
            +
                if(CONFIGURE_PARAMETER_1)
         | 
| 60 | 
            +
                    message(STATUS "Configuring apr with ${CONFIGURE_PARAMETER_1} ${CONFIGURE_PARAMETER_2} ${CONFIGURE_PARAMETER_3}")
         | 
| 61 | 
            +
                else()
         | 
| 62 | 
            +
                    message(STATUS "Configuring apr")
         | 
| 63 | 
            +
                endif()
         | 
| 64 | 
            +
                set(ENV{CFLAGS} "$ENV{CFLAGS} -Wno-error=implicit-function-declaration")
         | 
| 65 | 
            +
                vcpkg_configure_make(
         | 
| 66 | 
            +
                    SOURCE_PATH "${SOURCE_PATH}"
         | 
| 67 | 
            +
                    OPTIONS
         | 
| 68 | 
            +
                        "--prefix=${CURRENT_INSTALLED_DIR}"
         | 
| 69 | 
            +
                        "${CONFIGURE_PARAMETER_1}"
         | 
| 70 | 
            +
                        "${CONFIGURE_PARAMETER_2}"
         | 
| 71 | 
            +
                        "${CONFIGURE_PARAMETER_3}"
         | 
| 72 | 
            +
                )
         | 
| 73 | 
            +
             | 
| 74 | 
            +
                vcpkg_install_make()
         | 
| 75 | 
            +
             | 
| 76 | 
            +
                vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/apr-1.pc"
         | 
| 77 | 
            +
                    "-lapr-\${APR_MAJOR_VERSION}" "-lapr-1"
         | 
| 78 | 
            +
                )
         | 
| 79 | 
            +
                vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/apr-1.pc"
         | 
| 80 | 
            +
                    "-lapr-\${APR_MAJOR_VERSION}" "-lapr-1"
         | 
| 81 | 
            +
                )
         | 
| 82 | 
            +
                vcpkg_fixup_pkgconfig(SYSTEM_LIBRARIES pthread rt dl uuid crypt)
         | 
| 83 | 
            +
             | 
| 84 | 
            +
                vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/apr-1-config" "\"${CURRENT_INSTALLED_DIR}\"" "`dirname $0`/../../..")
         | 
| 85 | 
            +
                vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/apr-1-config" "APR_SOURCE_DIR=\"${SOURCE_PATH}\"" "")
         | 
| 86 | 
            +
                vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/apr-1-config" "APR_BUILD_DIR=\"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel\"" "")
         | 
| 87 | 
            +
                vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin/apr-1-config" "\"${CURRENT_INSTALLED_DIR}/debug\"" "`dirname $0`/../../../..")
         | 
| 88 | 
            +
                vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin/apr-1-config" "APR_SOURCE_DIR=\"${SOURCE_PATH}\"" "")
         | 
| 89 | 
            +
                vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin/apr-1-config" "APR_BUILD_DIR=\"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg\"" "")
         | 
| 90 | 
            +
            endif()
         | 
| 91 | 
            +
             | 
| 92 | 
            +
            # Handle copyright
         | 
| 93 | 
            +
            file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
         | 
| 94 | 
            +
             | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/apr/vcpkg.json
    ADDED
    
    | @@ -0,0 +1,20 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "name": "apr",
         | 
| 3 | 
            +
              "version": "1.7.0",
         | 
| 4 | 
            +
              "port-version": 7,
         | 
| 5 | 
            +
              "description": "The Apache Portable Runtime (APR) is a C library that forms a system portability layer that covers many operating systems.",
         | 
| 6 | 
            +
              "homepage": "https://apr.apache.org/",
         | 
| 7 | 
            +
              "supports": "!uwp",
         | 
| 8 | 
            +
              "dependencies": [
         | 
| 9 | 
            +
                {
         | 
| 10 | 
            +
                  "name": "vcpkg-cmake",
         | 
| 11 | 
            +
                  "host": true,
         | 
| 12 | 
            +
                  "platform": "windows"
         | 
| 13 | 
            +
                }
         | 
| 14 | 
            +
              ],
         | 
| 15 | 
            +
              "features": {
         | 
| 16 | 
            +
                "private-headers": {
         | 
| 17 | 
            +
                  "description": "Install non-standard files required for building Apache httpd"
         | 
| 18 | 
            +
                }
         | 
| 19 | 
            +
              }
         | 
| 20 | 
            +
            }
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/apsi/portfile.cmake
    ADDED
    
    | @@ -0,0 +1,34 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            vcpkg_from_github(
         | 
| 4 | 
            +
                OUT_SOURCE_PATH SOURCE_PATH
         | 
| 5 | 
            +
                REPO microsoft/APSI
         | 
| 6 | 
            +
                REF 6365cb774b81a2a731334c656db21e5fdfb92870
         | 
| 7 | 
            +
                SHA512 f21d710a345663aeb35035565c55fd900076589d087a03a1ad7df8b8004ae0e059196f3c94ee63b5ad815a858e5404eea34ae203f7778d4190fd323fd08b7084
         | 
| 8 | 
            +
                HEAD_REF main
         | 
| 9 | 
            +
            )
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
         | 
| 12 | 
            +
                FEATURES
         | 
| 13 | 
            +
                    log4cplus APSI_USE_LOG4CPLUS
         | 
| 14 | 
            +
                    zeromq APSI_USE_ZMQ
         | 
| 15 | 
            +
            )
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            vcpkg_cmake_configure(
         | 
| 18 | 
            +
                SOURCE_PATH ${SOURCE_PATH}
         | 
| 19 | 
            +
                DISABLE_PARALLEL_CONFIGURE
         | 
| 20 | 
            +
                OPTIONS
         | 
| 21 | 
            +
                    "-DAPSI_BUILD_TESTS=OFF"
         | 
| 22 | 
            +
                    "-DAPSI_BUILD_CLI=OFF"
         | 
| 23 | 
            +
                    ${FEATURE_OPTIONS}
         | 
| 24 | 
            +
            )
         | 
| 25 | 
            +
             | 
| 26 | 
            +
            vcpkg_cmake_install()
         | 
| 27 | 
            +
             | 
| 28 | 
            +
            vcpkg_cmake_config_fixup(PACKAGE_NAME "APSI" CONFIG_PATH "lib/cmake/APSI-0.7")
         | 
| 29 | 
            +
             | 
| 30 | 
            +
            file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
         | 
| 31 | 
            +
             | 
| 32 | 
            +
            file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME "copyright")
         | 
| 33 | 
            +
             | 
| 34 | 
            +
            vcpkg_copy_pdbs()
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/apsi/vcpkg.json
    ADDED
    
    | @@ -0,0 +1,58 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "name": "apsi",
         | 
| 3 | 
            +
              "version-semver": "0.7.0",
         | 
| 4 | 
            +
              "port-version": 2,
         | 
| 5 | 
            +
              "description": "APSI is a research library for asymmetric private set intersection.",
         | 
| 6 | 
            +
              "homepage": "https://github.com/microsoft/APSI",
         | 
| 7 | 
            +
              "supports": "static & !(arm & osx)",
         | 
| 8 | 
            +
              "dependencies": [
         | 
| 9 | 
            +
                "flatbuffers",
         | 
| 10 | 
            +
                "jsoncpp",
         | 
| 11 | 
            +
                "kuku",
         | 
| 12 | 
            +
                {
         | 
| 13 | 
            +
                  "name": "seal",
         | 
| 14 | 
            +
                  "features": [
         | 
| 15 | 
            +
                    "no-throw-tran"
         | 
| 16 | 
            +
                  ]
         | 
| 17 | 
            +
                },
         | 
| 18 | 
            +
                {
         | 
| 19 | 
            +
                  "name": "vcpkg-cmake",
         | 
| 20 | 
            +
                  "host": true
         | 
| 21 | 
            +
                },
         | 
| 22 | 
            +
                {
         | 
| 23 | 
            +
                  "name": "vcpkg-cmake-config",
         | 
| 24 | 
            +
                  "host": true
         | 
| 25 | 
            +
                }
         | 
| 26 | 
            +
              ],
         | 
| 27 | 
            +
              "default-features": [
         | 
| 28 | 
            +
                "log4cplus",
         | 
| 29 | 
            +
                "zeromq"
         | 
| 30 | 
            +
              ],
         | 
| 31 | 
            +
              "features": {
         | 
| 32 | 
            +
                "hexl": {
         | 
| 33 | 
            +
                  "description": "Use Intel® HEXL to accelerate Microsoft SEAL.",
         | 
| 34 | 
            +
                  "dependencies": [
         | 
| 35 | 
            +
                    {
         | 
| 36 | 
            +
                      "name": "seal",
         | 
| 37 | 
            +
                      "features": [
         | 
| 38 | 
            +
                        "hexl",
         | 
| 39 | 
            +
                        "no-throw-tran"
         | 
| 40 | 
            +
                      ],
         | 
| 41 | 
            +
                      "platform": "x64"
         | 
| 42 | 
            +
                    }
         | 
| 43 | 
            +
                  ]
         | 
| 44 | 
            +
                },
         | 
| 45 | 
            +
                "log4cplus": {
         | 
| 46 | 
            +
                  "description": "Use log4cplus for logging.",
         | 
| 47 | 
            +
                  "dependencies": [
         | 
| 48 | 
            +
                    "log4cplus"
         | 
| 49 | 
            +
                  ]
         | 
| 50 | 
            +
                },
         | 
| 51 | 
            +
                "zeromq": {
         | 
| 52 | 
            +
                  "description": "Use ZeroMQ for networking.",
         | 
| 53 | 
            +
                  "dependencies": [
         | 
| 54 | 
            +
                    "cppzmq"
         | 
| 55 | 
            +
                  ]
         | 
| 56 | 
            +
                }
         | 
| 57 | 
            +
              }
         | 
| 58 | 
            +
            }
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/arb/fix-build-error.patch
    ADDED
    
    | @@ -0,0 +1,14 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            diff --git a/CMakeLists.txt b/CMakeLists.txt
         | 
| 2 | 
            +
            index d6136a8..9e260eb 100644
         | 
| 3 | 
            +
            --- a/CMakeLists.txt
         | 
| 4 | 
            +
            +++ b/CMakeLists.txt
         | 
| 5 | 
            +
            @@ -76,7 +76,8 @@ set (pthreads_header pthread.h)
         | 
| 6 | 
            +
             set (flint2_header flint/flint.h)
         | 
| 7 | 
            +
             
         | 
| 8 | 
            +
             if(MSVC)
         | 
| 9 | 
            +
            -    set(DEPS ${DEPS} pthreads)
         | 
| 10 | 
            +
            +    find_package(pthreads REQUIRED)
         | 
| 11 | 
            +
            +    set(PTHREADS_LIBRARIES PThreads4W::PThreads4W)
         | 
| 12 | 
            +
             else()
         | 
| 13 | 
            +
                 option(CMAKE_THREAD_PREFER_PTHREAD "Prefer pthreads" yes)
         | 
| 14 | 
            +
                 option(THREADS_PREFER_PTHREAD_FLAG "Prefer -pthread flag" yes)
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/arb/portfile.cmake
    ADDED
    
    | @@ -0,0 +1,25 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            vcpkg_from_github(
         | 
| 2 | 
            +
                OUT_SOURCE_PATH SOURCE_PATH
         | 
| 3 | 
            +
                REPO fredrik-johansson/arb
         | 
| 4 | 
            +
                REF e3a633dcc1adafeb7ca9648669f2b1fa2f433ee1 # 2.21.1
         | 
| 5 | 
            +
                SHA512 af864ea4f849d12dbaadec8cda7e6b1a7d349b7aa776966ec7f61ad7a5186dc3f280512218bcff28901e2d55d6c976525746e6de13925a9942ed947ac2253af6
         | 
| 6 | 
            +
                HEAD_REF master
         | 
| 7 | 
            +
                PATCHES fix-build-error.patch
         | 
| 8 | 
            +
            )
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" MSVC_USE_MT)
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            vcpkg_cmake_configure(
         | 
| 13 | 
            +
                SOURCE_PATH "${SOURCE_PATH}"
         | 
| 14 | 
            +
                OPTIONS
         | 
| 15 | 
            +
                    -DMSVC_USE_MT=${MSVC_USE_MT}
         | 
| 16 | 
            +
            )
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            vcpkg_cmake_install()
         | 
| 19 | 
            +
            vcpkg_copy_pdbs()
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            # Remove duplicate headers
         | 
| 22 | 
            +
            file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
         | 
| 23 | 
            +
             | 
| 24 | 
            +
            # Handle copyright
         | 
| 25 | 
            +
            file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/arb/vcpkg.json
    ADDED
    
    | @@ -0,0 +1,19 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "name": "arb",
         | 
| 3 | 
            +
              "version": "2.21.1",
         | 
| 4 | 
            +
              "port-version": 1,
         | 
| 5 | 
            +
              "description": "a C library for arbitrary-precision interval arithmetic",
         | 
| 6 | 
            +
              "homepage": "https://github.com/fredrik-johansson/arb",
         | 
| 7 | 
            +
              "license": "LGPL-2.1",
         | 
| 8 | 
            +
              "dependencies": [
         | 
| 9 | 
            +
                "flint",
         | 
| 10 | 
            +
                {
         | 
| 11 | 
            +
                  "name": "pthreads",
         | 
| 12 | 
            +
                  "platform": "windows"
         | 
| 13 | 
            +
                },
         | 
| 14 | 
            +
                {
         | 
| 15 | 
            +
                  "name": "vcpkg-cmake",
         | 
| 16 | 
            +
                  "host": true
         | 
| 17 | 
            +
                }
         | 
| 18 | 
            +
              ]
         | 
| 19 | 
            +
            }
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/arcus/0001-fix-protobuf-deprecated.patch
    ADDED
    
    | @@ -0,0 +1,13 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            diff --git a/src/Socket_p.h b/src/Socket_p.h
         | 
| 2 | 
            +
            index 9c3c084..9ccabda 100644
         | 
| 3 | 
            +
            --- a/src/Socket_p.h
         | 
| 4 | 
            +
            +++ b/src/Socket_p.h
         | 
| 5 | 
            +
            @@ -548,7 +548,7 @@ namespace Arcus
         | 
| 6 | 
            +
             
         | 
| 7 | 
            +
                     google::protobuf::io::ArrayInputStream array(wire_message->data, wire_message->size);
         | 
| 8 | 
            +
                     google::protobuf::io::CodedInputStream stream(&array);
         | 
| 9 | 
            +
            -        stream.SetTotalBytesLimit(message_size_maximum, message_size_warning);
         | 
| 10 | 
            +
            +        stream.SetTotalBytesLimit(message_size_maximum);
         | 
| 11 | 
            +
                     if(!message->ParseFromCodedStream(&stream))
         | 
| 12 | 
            +
                     {
         | 
| 13 | 
            +
                         error(ErrorCode::ParseFailedError, "Failed to parse message:" + std::string(wire_message->data));
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/arcus/portfile.cmake
    ADDED
    
    | @@ -0,0 +1,29 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            vcpkg_from_github(
         | 
| 2 | 
            +
                OUT_SOURCE_PATH SOURCE_PATH
         | 
| 3 | 
            +
                REPO Ultimaker/libArcus
         | 
| 4 | 
            +
                REF 617f6f71572090f73cb44592b12f49567b539e5b #v4.10.0
         | 
| 5 | 
            +
                SHA512 cf0954d8b10d9f94165aa5c086d0e58c2925464f9fbe4252535c36d7e6bb12b767d89efb816c9e642f9cd7f0ec0d66d61ca21c5121a05340499d38d5d851f73b
         | 
| 6 | 
            +
                HEAD_REF master
         | 
| 7 | 
            +
                PATCHES
         | 
| 8 | 
            +
                    0001-fix-protobuf-deprecated.patch
         | 
| 9 | 
            +
            )
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" ENABLE_STATIC)
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            vcpkg_cmake_configure(
         | 
| 14 | 
            +
                SOURCE_PATH "${SOURCE_PATH}"
         | 
| 15 | 
            +
                OPTIONS
         | 
| 16 | 
            +
                    -DBUILD_PYTHON=OFF
         | 
| 17 | 
            +
                    -DBUILD_EXAMPLES=OFF
         | 
| 18 | 
            +
                    -DBUILD_STATIC=${ENABLE_STATIC}
         | 
| 19 | 
            +
            )
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            vcpkg_cmake_install()
         | 
| 22 | 
            +
             | 
| 23 | 
            +
            vcpkg_copy_pdbs()
         | 
| 24 | 
            +
             | 
| 25 | 
            +
            vcpkg_cmake_config_fixup(PACKAGE_NAME Arcus CONFIG_PATH lib/cmake/Arcus)
         | 
| 26 | 
            +
             | 
| 27 | 
            +
            file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
         | 
| 28 | 
            +
             | 
| 29 | 
            +
            configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/arcus/vcpkg.json
    ADDED
    
    | @@ -0,0 +1,19 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "name": "arcus",
         | 
| 3 | 
            +
              "version-semver": "4.10.0",
         | 
| 4 | 
            +
              "port-version": 2,
         | 
| 5 | 
            +
              "description": "This library contains C++ bindings for creating a socket in a thread and using this socket to send and receive messages based on the Protocol Buffers library.",
         | 
| 6 | 
            +
              "homepage": "https://github.com/Ultimaker/libArcus",
         | 
| 7 | 
            +
              "supports": "!uwp",
         | 
| 8 | 
            +
              "dependencies": [
         | 
| 9 | 
            +
                "protobuf",
         | 
| 10 | 
            +
                {
         | 
| 11 | 
            +
                  "name": "vcpkg-cmake",
         | 
| 12 | 
            +
                  "host": true
         | 
| 13 | 
            +
                },
         | 
| 14 | 
            +
                {
         | 
| 15 | 
            +
                  "name": "vcpkg-cmake-config",
         | 
| 16 | 
            +
                  "host": true
         | 
| 17 | 
            +
                }
         | 
| 18 | 
            +
              ]
         | 
| 19 | 
            +
            }
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/argagg/portfile.cmake
    ADDED
    
    | @@ -0,0 +1,25 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            # header-only library
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            vcpkg_from_github(
         | 
| 4 | 
            +
                OUT_SOURCE_PATH SOURCE_PATH
         | 
| 5 | 
            +
                REPO vietjtnguyen/argagg
         | 
| 6 | 
            +
                REF 0.4.6
         | 
| 7 | 
            +
                SHA512 7d8cf04a7c679518f01120830637c68719dd67a765457789eb4afedbead7be9efadc6bcdf640999329aaaf8659a5e5d1896f66587068cc668a7c49703aca3070
         | 
| 8 | 
            +
                HEAD_REF master
         | 
| 9 | 
            +
            )
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            vcpkg_configure_cmake(
         | 
| 12 | 
            +
                SOURCE_PATH ${SOURCE_PATH}
         | 
| 13 | 
            +
                PREFER_NINJA
         | 
| 14 | 
            +
                OPTIONS
         | 
| 15 | 
            +
                    -DARGAGG_BUILD_EXAMPLES=OFF
         | 
| 16 | 
            +
                    -DARGAGG_BUILD_TESTS=OFF
         | 
| 17 | 
            +
                    -DARGAGG_BUILD_DOCS=OFF
         | 
| 18 | 
            +
            )
         | 
| 19 | 
            +
             | 
| 20 | 
            +
            vcpkg_install_cmake()
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
         | 
| 23 | 
            +
             | 
| 24 | 
            +
            # Handle copyright
         | 
| 25 | 
            +
            configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/argagg/vcpkg.json
    ADDED
    
    | @@ -0,0 +1,6 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "name": "argagg",
         | 
| 3 | 
            +
              "version-string": "0.4.6",
         | 
| 4 | 
            +
              "port-version": 1,
         | 
| 5 | 
            +
              "description": "A simple C++11 command line argument parser"
         | 
| 6 | 
            +
            }
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/argh/portfile.cmake
    ADDED
    
    | @@ -0,0 +1,34 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            # header-only library
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            vcpkg_from_github(
         | 
| 4 | 
            +
                OUT_SOURCE_PATH SOURCE_PATH
         | 
| 5 | 
            +
                REPO adishavit/argh
         | 
| 6 | 
            +
                REF a1edee559757e076e570b8f6c2f555d8d00b373c
         | 
| 7 | 
            +
                SHA512 a100c7ff20ef9ed39d53efeac5507a6ed59fb99ccba36ac4b5f8f5aaac6782f8e951b2f26b9b50f6c6fdbc53b5bceaabbb9dd9b9539f968fc1037733342e17a6
         | 
| 8 | 
            +
                HEAD_REF master
         | 
| 9 | 
            +
                PATCHES
         | 
| 10 | 
            +
                    remove_unnamespaced_license_file.patch # https://github.com/adishavit/argh/pull/51
         | 
| 11 | 
            +
            )
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            vcpkg_configure_cmake(
         | 
| 14 | 
            +
                SOURCE_PATH ${SOURCE_PATH}
         | 
| 15 | 
            +
                PREFER_NINJA
         | 
| 16 | 
            +
                DISABLE_PARALLEL_CONFIGURE
         | 
| 17 | 
            +
                OPTIONS
         | 
| 18 | 
            +
                    -DBUILD_TESTS=OFF
         | 
| 19 | 
            +
                    -DBUILD_EXAMPLES=OFF
         | 
| 20 | 
            +
            )
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            vcpkg_install_cmake()
         | 
| 23 | 
            +
             | 
| 24 | 
            +
            if(EXISTS ${CURRENT_PACKAGES_DIR}/CMake)
         | 
| 25 | 
            +
                vcpkg_fixup_cmake_targets(CONFIG_PATH CMake)
         | 
| 26 | 
            +
            elseif(EXISTS ${CURRENT_PACKAGES_DIR}/lib/cmake/${PORT})
         | 
| 27 | 
            +
                vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
         | 
| 28 | 
            +
            endif()
         | 
| 29 | 
            +
             | 
| 30 | 
            +
            file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
         | 
| 31 | 
            +
            file(REMOVE ${CURRENT_PACKAGES_DIR}/README.md)
         | 
| 32 | 
            +
             | 
| 33 | 
            +
            # Handle copyright
         | 
| 34 | 
            +
            configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/argh/remove_unnamespaced_license_file.patch
    ADDED
    
    | @@ -0,0 +1,67 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            From 83f364a2eb1b137453772ae9fcf5d7973770637f Mon Sep 17 00:00:00 2001
         | 
| 2 | 
            +
            From: Billy Robert O'Neal III <bion@microsoft.com>
         | 
| 3 | 
            +
            Date: Wed, 29 Apr 2020 13:01:31 -0700
         | 
| 4 | 
            +
            Subject: [PATCH] Don't install 'LICENSE' or 'README.md' directly to the
         | 
| 5 | 
            +
             installation directory.
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            This change unconditionally uses GNUInstallDirs which will correctly 'namespace' these files with the 'argh' project name.
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            =========
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            The names 'LICENSE' and 'README.md' are extremely common and likely to be taken by other ports. This happened in a recent full vcpkg catalog rebuild:
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            Starting package 757/1254: qt-advanced-docking-system:x86-windows
         | 
| 14 | 
            +
            Building package qt-advanced-docking-system[core]:x86-windows...
         | 
| 15 | 
            +
            Could not locate cached archive: C:\agent\_work\1\s\archives\a1\a1507296ead5788137561997571557204aaac78f.zip
         | 
| 16 | 
            +
            -- Downloading https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System/archive/661d0c4356ab61d155b53718aa1bf6bab86dad13.tar.gz...
         | 
| 17 | 
            +
            -- Extracting source C:/agent/_work/1/s/downloads/githubuser0xFFFF-Qt-Advanced-Docking-System-661d0c4356ab61d155b53718aa1bf6bab86dad13.tar.gz
         | 
| 18 | 
            +
            -- Applying patch config_changes.patch
         | 
| 19 | 
            +
            -- Using source at C:/agent/_work/1/s/buildtrees/qt-advanced-docking-system/src/bab86dad13-3088149a9b
         | 
| 20 | 
            +
            -- Configuring x86-windows
         | 
| 21 | 
            +
            -- Building x86-windows-dbg
         | 
| 22 | 
            +
            -- Building x86-windows-rel
         | 
| 23 | 
            +
            -- Installing: C:/agent/_work/1/s/packages/qt-advanced-docking-system_x86-windows/share/qt-advanced-docking-system/copyright
         | 
| 24 | 
            +
            -- Performing post-build validation
         | 
| 25 | 
            +
            -- Performing post-build validation done
         | 
| 26 | 
            +
            Stored binary cache: C:\agent\_work\1\s\archives\a1\a1507296ead5788137561997571557204aaac78f.zip
         | 
| 27 | 
            +
            Building package qt-advanced-docking-system[core]:x86-windows... done
         | 
| 28 | 
            +
            Installing package qt-advanced-docking-system[core]:x86-windows...
         | 
| 29 | 
            +
            The following files are already installed in C:/agent/_work/1/s/installed/x86-windows and are in conflict with qt-advanced-docking-system:x86-windows
         | 
| 30 | 
            +
             | 
| 31 | 
            +
            Installed by argh:x86-windows
         | 
| 32 | 
            +
                license/LICENSE
         | 
| 33 | 
            +
             | 
| 34 | 
            +
            Elapsed time for package qt-advanced-docking-system:x86-windows: 11.09 s
         | 
| 35 | 
            +
            ---
         | 
| 36 | 
            +
             CMakeLists.txt | 12 +++++-------
         | 
| 37 | 
            +
             1 file changed, 5 insertions(+), 7 deletions(-)
         | 
| 38 | 
            +
             | 
| 39 | 
            +
            diff --git a/CMakeLists.txt b/CMakeLists.txt
         | 
| 40 | 
            +
            index 13bc879..f6264f3 100644
         | 
| 41 | 
            +
            --- a/CMakeLists.txt
         | 
| 42 | 
            +
            +++ b/CMakeLists.txt
         | 
| 43 | 
            +
            @@ -36,19 +36,17 @@ endif()
         | 
| 44 | 
            +
             
         | 
| 45 | 
            +
             install(TARGETS argh EXPORT arghTargets)
         | 
| 46 | 
            +
             
         | 
| 47 | 
            +
            +include(GNUInstallDirs)
         | 
| 48 | 
            +
            +install(FILES "${CMAKE_CURRENT_LIST_DIR}/argh.h" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
         | 
| 49 | 
            +
            +install(FILES "${CMAKE_CURRENT_LIST_DIR}/LICENSE" DESTINATION ${CMAKE_INSTALL_DOCDIR})
         | 
| 50 | 
            +
            +install(FILES "${CMAKE_CURRENT_LIST_DIR}/README.md" DESTINATION ${CMAKE_INSTALL_DOCDIR})
         | 
| 51 | 
            +
            +
         | 
| 52 | 
            +
             if(CMAKE_SYSTEM_NAME STREQUAL Linux)
         | 
| 53 | 
            +
             # this might be a bit too restrictive, since for other (BSD, ...) this might apply also
         | 
| 54 | 
            +
             # but this can be fixed later in extra pull requests from people on the platform
         | 
| 55 | 
            +
            -	include(GNUInstallDirs)
         | 
| 56 | 
            +
            -	install(FILES "${CMAKE_CURRENT_LIST_DIR}/argh.h" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
         | 
| 57 | 
            +
            -	install(FILES "${CMAKE_CURRENT_LIST_DIR}/LICENSE" DESTINATION ${CMAKE_INSTALL_DOCDIR})
         | 
| 58 | 
            +
            -	install(FILES "${CMAKE_CURRENT_LIST_DIR}/README.md" DESTINATION ${CMAKE_INSTALL_DOCDIR})
         | 
| 59 | 
            +
             	install(FILES argh-config.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/argh)
         | 
| 60 | 
            +
             	install(EXPORT arghTargets DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/argh)
         | 
| 61 | 
            +
             else()
         | 
| 62 | 
            +
            -	install(FILES "${CMAKE_CURRENT_LIST_DIR}/argh.h" DESTINATION include)
         | 
| 63 | 
            +
            -	install(FILES "${CMAKE_CURRENT_LIST_DIR}/LICENSE" DESTINATION license)
         | 
| 64 | 
            +
            -	install(FILES "${CMAKE_CURRENT_LIST_DIR}/README.md" DESTINATION .)
         | 
| 65 | 
            +
             	install(FILES argh-config.cmake DESTINATION CMake)
         | 
| 66 | 
            +
             	install(EXPORT arghTargets DESTINATION CMake)
         | 
| 67 | 
            +
             endif()
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/argh/vcpkg.json
    ADDED
    
    | @@ -0,0 +1,6 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "name": "argh",
         | 
| 3 | 
            +
              "version-string": "2018-12-18",
         | 
| 4 | 
            +
              "port-version": 3,
         | 
| 5 | 
            +
              "description": "Argh! A minimalist argument handler."
         | 
| 6 | 
            +
            }
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/argparse/portfile.cmake
    ADDED
    
    | @@ -0,0 +1,24 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            # header-only library
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            vcpkg_from_github(
         | 
| 4 | 
            +
                OUT_SOURCE_PATH SOURCE_PATH
         | 
| 5 | 
            +
                REPO p-ranav/argparse
         | 
| 6 | 
            +
                REF b0cb28ab177cdbd19d439c02cdc217bdfc508ba9 # v2.2
         | 
| 7 | 
            +
                SHA512 247f27aa45994ee4629b947e3fe1b1df8fae4e773992c740a7c3d544e45ce83a68ecdcfdedf38c461ccb81cf93d88dfee21dc4f7d027677a3c7d930170446971
         | 
| 8 | 
            +
                HEAD_REF master
         | 
| 9 | 
            +
            )
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            vcpkg_cmake_configure(
         | 
| 12 | 
            +
                SOURCE_PATH "${SOURCE_PATH}"
         | 
| 13 | 
            +
                OPTIONS
         | 
| 14 | 
            +
                    -DARGPARSE_BUILD_TESTS=OFF
         | 
| 15 | 
            +
            )
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            vcpkg_cmake_install()
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
         | 
| 22 | 
            +
             | 
| 23 | 
            +
            # Handle copyright
         | 
| 24 | 
            +
            configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/argparse/vcpkg.json
    ADDED
    
    | @@ -0,0 +1,17 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "name": "argparse",
         | 
| 3 | 
            +
              "version": "2.2",
         | 
| 4 | 
            +
              "description": "Argument parser for modern C++",
         | 
| 5 | 
            +
              "homepage": "https://github.com/p-ranav/argparse",
         | 
| 6 | 
            +
              "license": "MIT",
         | 
| 7 | 
            +
              "dependencies": [
         | 
| 8 | 
            +
                {
         | 
| 9 | 
            +
                  "name": "vcpkg-cmake",
         | 
| 10 | 
            +
                  "host": true
         | 
| 11 | 
            +
                },
         | 
| 12 | 
            +
                {
         | 
| 13 | 
            +
                  "name": "vcpkg-cmake-config",
         | 
| 14 | 
            +
                  "host": true
         | 
| 15 | 
            +
                }
         | 
| 16 | 
            +
              ]
         | 
| 17 | 
            +
            }
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/args/portfile.cmake
    ADDED
    
    | @@ -0,0 +1,24 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            #header-only library
         | 
| 2 | 
            +
            vcpkg_from_github(
         | 
| 3 | 
            +
                OUT_SOURCE_PATH SOURCE_PATH
         | 
| 4 | 
            +
                REPO Taywee/args
         | 
| 5 | 
            +
                REF 6.3.0
         | 
| 6 | 
            +
                SHA512 7d554719781d5a096883e37cd5c1706782d06c2c4d7a9598142aec7f2e38d63438e82960b60a705baeb2aa5d31143c83fa6c0d1331a36b16f564a5ea56ad451d
         | 
| 7 | 
            +
                HEAD_REF master
         | 
| 8 | 
            +
            )
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            vcpkg_cmake_configure(
         | 
| 11 | 
            +
                SOURCE_PATH "${SOURCE_PATH}"
         | 
| 12 | 
            +
                OPTIONS
         | 
| 13 | 
            +
                -DARGS_BUILD_UNITTESTS=OFF
         | 
| 14 | 
            +
                -DARGS_BUILD_EXAMPLE=OFF
         | 
| 15 | 
            +
            )
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            vcpkg_cmake_install()
         | 
| 18 | 
            +
            vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
         | 
| 19 | 
            +
            vcpkg_fixup_pkgconfig()
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            # Put the licence file where vcpkg expects it
         | 
| 22 | 
            +
            file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
         | 
| 23 | 
            +
             | 
| 24 | 
            +
            file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/args/vcpkg.json
    ADDED
    
    | @@ -0,0 +1,17 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "name": "args",
         | 
| 3 | 
            +
              "version": "6.3.0",
         | 
| 4 | 
            +
              "description": "A simple header-only C++ argument parser library.",
         | 
| 5 | 
            +
              "homepage": "https://github.com/Taywee/args",
         | 
| 6 | 
            +
              "license": "MIT",
         | 
| 7 | 
            +
              "dependencies": [
         | 
| 8 | 
            +
                {
         | 
| 9 | 
            +
                  "name": "vcpkg-cmake",
         | 
| 10 | 
            +
                  "host": true
         | 
| 11 | 
            +
                },
         | 
| 12 | 
            +
                {
         | 
| 13 | 
            +
                  "name": "vcpkg-cmake-config",
         | 
| 14 | 
            +
                  "host": true
         | 
| 15 | 
            +
                }
         | 
| 16 | 
            +
              ]
         | 
| 17 | 
            +
            }
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/argtable2/0001-fix-install-dirs.patch
    ADDED
    
    | @@ -0,0 +1,35 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            From 6594abbd953d0e26105fd6c982990eb702f27804 Mon Sep 17 00:00:00 2001
         | 
| 2 | 
            +
            From: Nicole Mazzuca <mazzucan@outlook.com>
         | 
| 3 | 
            +
            Date: Tue, 22 Sep 2020 15:22:00 -0700
         | 
| 4 | 
            +
            Subject: [PATCH 1/2] fix install dirs
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            ---
         | 
| 7 | 
            +
             src/CMakeLists.txt | 11 +++++++----
         | 
| 8 | 
            +
             1 file changed, 7 insertions(+), 4 deletions(-)
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
         | 
| 11 | 
            +
            index 773c4c8..03e112c 100644
         | 
| 12 | 
            +
            --- a/src/CMakeLists.txt
         | 
| 13 | 
            +
            +++ b/src/CMakeLists.txt
         | 
| 14 | 
            +
            @@ -1,5 +1,4 @@
         | 
| 15 | 
            +
            -# for now, install in subdirectory of source directory by default
         | 
| 16 | 
            +
            -SET( CMAKE_INSTALL_PREFIX .. )
         | 
| 17 | 
            +
            +include(GNUInstallDirs)
         | 
| 18 | 
            +
             
         | 
| 19 | 
            +
             IF( WIN32 )
         | 
| 20 | 
            +
             	ADD_LIBRARY( argtable2 arg_dbl.c arg_end.c arg_file.c arg_int.c arg_lit.c arg_rem.c arg_str.c argtable2.c argtable2.h getopt.c getopt.h getopt1.c )
         | 
| 21 | 
            +
            @@ -7,5 +6,9 @@ ELSE( WIN32 )
         | 
| 22 | 
            +
             	ADD_LIBRARY( argtable2 arg_date.c arg_dbl.c arg_end.c arg_file.c arg_int.c arg_lit.c arg_rem.c arg_rex.c arg_str.c argtable2.c argtable2.h getopt.c getopt.h getopt1.c )
         | 
| 23 | 
            +
             ENDIF( WIN32 )
         | 
| 24 | 
            +
             
         | 
| 25 | 
            +
            -INSTALL( TARGETS argtable2 ARCHIVE DESTINATION lib)
         | 
| 26 | 
            +
            -SET_TARGET_PROPERTIES( argtable2 PROPERTIES DEBUG_POSTFIX d )
         | 
| 27 | 
            +
            +INSTALL(TARGETS argtable2
         | 
| 28 | 
            +
            +        RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
         | 
| 29 | 
            +
            +        LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
         | 
| 30 | 
            +
            +        ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
         | 
| 31 | 
            +
            +)
         | 
| 32 | 
            +
            +INSTALL(FILES argtable2.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
         | 
| 33 | 
            +
            -- 
         | 
| 34 | 
            +
            2.24.3 (Apple Git-128)
         | 
| 35 | 
            +
             | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/argtable2/0002-include-correct-headers.patch
    ADDED
    
    | @@ -0,0 +1,60 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            From 271423adb2900c8bf4aad5d73d7ef1efbb5c35d8 Mon Sep 17 00:00:00 2001
         | 
| 2 | 
            +
            From: Nicole Mazzuca <mazzucan@outlook.com>
         | 
| 3 | 
            +
            Date: Tue, 22 Sep 2020 15:17:18 -0700
         | 
| 4 | 
            +
            Subject: [PATCH 2/2] include correct headers
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            ---
         | 
| 7 | 
            +
             src/arg_date.c | 4 +++-
         | 
| 8 | 
            +
             src/arg_int.c  | 1 +
         | 
| 9 | 
            +
             src/getopt.c   | 1 +
         | 
| 10 | 
            +
             3 files changed, 5 insertions(+), 1 deletion(-)
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            diff --git a/src/arg_date.c b/src/arg_date.c
         | 
| 13 | 
            +
            index 22b59e2..5004b42 100644
         | 
| 14 | 
            +
            --- a/src/arg_date.c
         | 
| 15 | 
            +
            +++ b/src/arg_date.c
         | 
| 16 | 
            +
            @@ -37,6 +37,8 @@ USA.
         | 
| 17 | 
            +
             #include <strings.h>
         | 
| 18 | 
            +
             #endif
         | 
| 19 | 
            +
             
         | 
| 20 | 
            +
            +#include <string.h>
         | 
| 21 | 
            +
            +
         | 
| 22 | 
            +
             #include "argtable2.h"
         | 
| 23 | 
            +
             
         | 
| 24 | 
            +
             /* local error codes  */
         | 
| 25 | 
            +
            @@ -112,7 +114,7 @@ static void errorfn(struct arg_date *parent, FILE *fp, int errorcode, const char
         | 
| 26 | 
            +
                         char buff[200];           
         | 
| 27 | 
            +
             
         | 
| 28 | 
            +
                         fprintf(fp,"illegal timestamp format \"%s\"\n",argval);
         | 
| 29 | 
            +
            -            bzero(&tm,sizeof(tm));
         | 
| 30 | 
            +
            +            memset(&tm, 0, sizeof(tm));
         | 
| 31 | 
            +
                         strptime("1999-12-31 23:59:59","%F %H:%M:%S",&tm);
         | 
| 32 | 
            +
                         strftime(buff, sizeof(buff), parent->format, &tm);
         | 
| 33 | 
            +
                         printf("correct format is \"%s\"\n", buff);                        
         | 
| 34 | 
            +
            diff --git a/src/arg_int.c b/src/arg_int.c
         | 
| 35 | 
            +
            index 29c20e5..bc10012 100644
         | 
| 36 | 
            +
            --- a/src/arg_int.c
         | 
| 37 | 
            +
            +++ b/src/arg_int.c
         | 
| 38 | 
            +
            @@ -30,6 +30,7 @@ USA.
         | 
| 39 | 
            +
             
         | 
| 40 | 
            +
             #include "argtable2.h"
         | 
| 41 | 
            +
             #include <limits.h>
         | 
| 42 | 
            +
            +#include <ctype.h>
         | 
| 43 | 
            +
             
         | 
| 44 | 
            +
             /* local error codes */
         | 
| 45 | 
            +
             enum {EMINCOUNT=1,EMAXCOUNT,EBADINT,EOVERFLOW};
         | 
| 46 | 
            +
            diff --git a/src/getopt.c b/src/getopt.c
         | 
| 47 | 
            +
            index b208529..b13acc6 100644
         | 
| 48 | 
            +
            --- a/src/getopt.c
         | 
| 49 | 
            +
            +++ b/src/getopt.c
         | 
| 50 | 
            +
            @@ -47,6 +47,7 @@
         | 
| 51 | 
            +
             #endif
         | 
| 52 | 
            +
             
         | 
| 53 | 
            +
             #include <stdio.h>
         | 
| 54 | 
            +
            +#include <string.h>
         | 
| 55 | 
            +
             
         | 
| 56 | 
            +
             /* Comment out all this code if we are using the GNU C Library, and are not
         | 
| 57 | 
            +
                actually compiling the library itself.  This code is part of the GNU C
         | 
| 58 | 
            +
            -- 
         | 
| 59 | 
            +
            2.24.3 (Apple Git-128)
         | 
| 60 | 
            +
             | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/argtable2/portfile.cmake
    ADDED
    
    | @@ -0,0 +1,26 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            vcpkg_from_sourceforge(
         | 
| 4 | 
            +
                OUT_SOURCE_PATH SOURCE_PATH
         | 
| 5 | 
            +
                REPO argtable/argtable
         | 
| 6 | 
            +
                REF argtable-2.13
         | 
| 7 | 
            +
                FILENAME "argtable2-13.tar.gz"
         | 
| 8 | 
            +
                SHA512 3d8303f3ba529e3241d918c0127a16402ece951efb964d14a06a3a7d29a252812ad3c44e96da28798871e9923e73a2cfe7ebc84139c1397817d632cae25c4585
         | 
| 9 | 
            +
                PATCHES
         | 
| 10 | 
            +
                    0001-fix-install-dirs.patch
         | 
| 11 | 
            +
                    0002-include-correct-headers.patch
         | 
| 12 | 
            +
            )
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            vcpkg_configure_cmake(
         | 
| 15 | 
            +
                SOURCE_PATH ${SOURCE_PATH}
         | 
| 16 | 
            +
                PREFER_NINJA
         | 
| 17 | 
            +
                OPTIONS
         | 
| 18 | 
            +
                    -DCMAKE_DEBUG_POSTFIX=d
         | 
| 19 | 
            +
            )
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            vcpkg_install_cmake()
         | 
| 22 | 
            +
            vcpkg_copy_pdbs()
         | 
| 23 | 
            +
             | 
| 24 | 
            +
            file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
         | 
| 25 | 
            +
             | 
| 26 | 
            +
            file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/argtable2/vcpkg.json
    ADDED
    
    | @@ -0,0 +1,8 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "name": "argtable2",
         | 
| 3 | 
            +
              "version-string": "2.13",
         | 
| 4 | 
            +
              "port-version": 9,
         | 
| 5 | 
            +
              "description": "Argtable is an ANSI C library for parsing GNU style command line options with a minimum of fuss.",
         | 
| 6 | 
            +
              "homepage": "http://argtable.sourceforge.net",
         | 
| 7 | 
            +
              "supports": "!uwp"
         | 
| 8 | 
            +
            }
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/argtable3/portfile.cmake
    ADDED
    
    | @@ -0,0 +1,29 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            vcpkg_from_github(
         | 
| 2 | 
            +
                OUT_SOURCE_PATH SOURCE_PATH
         | 
| 3 | 
            +
                REPO argtable/argtable3
         | 
| 4 | 
            +
                REF 7704006f3cbb556e11da80a5b97469075a32892e # 3.2.1 + minor patches including ARGTABLE3_ENABLE_EXAMPLES support
         | 
| 5 | 
            +
                SHA512 c51aa0a33a247c3801e36ca5d9523acefa31f21a34c1e86965a39290c1b437785e4d7e0ae80a65d811803b8fcbbc3a96ba3d6aefaea9bda15abc0f38bd1f45cc
         | 
| 6 | 
            +
                HEAD_REF master
         | 
| 7 | 
            +
            )
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            vcpkg_cmake_configure(
         | 
| 10 | 
            +
                SOURCE_PATH "${SOURCE_PATH}"
         | 
| 11 | 
            +
                OPTIONS
         | 
| 12 | 
            +
                    -DARGTABLE3_ENABLE_CONAN=OFF
         | 
| 13 | 
            +
                    -DARGTABLE3_ENABLE_TESTS=OFF
         | 
| 14 | 
            +
                    -DARGTABLE3_ENABLE_EXAMPLES=OFF
         | 
| 15 | 
            +
            )
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            vcpkg_cmake_install()
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            vcpkg_copy_pdbs()
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            if(EXISTS "${CURRENT_PACKAGES_DIR}/cmake")
         | 
| 22 | 
            +
                vcpkg_cmake_config_fixup(CONFIG_PATH cmake)
         | 
| 23 | 
            +
            elseif(EXISTS "${CURRENT_PACKAGES_DIR}/lib/cmake/${PORT}")
         | 
| 24 | 
            +
                vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
         | 
| 25 | 
            +
            endif()
         | 
| 26 | 
            +
             | 
| 27 | 
            +
            file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
         | 
| 28 | 
            +
             | 
| 29 | 
            +
            file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/argtable3/vcpkg.json
    ADDED
    
    | @@ -0,0 +1,18 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "name": "argtable3",
         | 
| 3 | 
            +
              "version": "3.2.1",
         | 
| 4 | 
            +
              "port-version": 2,
         | 
| 5 | 
            +
              "description": "A single-file, ANSI C, command-line parsing library that parses GNU-style command-line options",
         | 
| 6 | 
            +
              "homepage": "https://www.argtable.org/",
         | 
| 7 | 
            +
              "license": "BSD-2-Clause-FreeBSD",
         | 
| 8 | 
            +
              "dependencies": [
         | 
| 9 | 
            +
                {
         | 
| 10 | 
            +
                  "name": "vcpkg-cmake",
         | 
| 11 | 
            +
                  "host": true
         | 
| 12 | 
            +
                },
         | 
| 13 | 
            +
                {
         | 
| 14 | 
            +
                  "name": "vcpkg-cmake-config",
         | 
| 15 | 
            +
                  "host": true
         | 
| 16 | 
            +
                }
         | 
| 17 | 
            +
              ]
         | 
| 18 | 
            +
            }
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/argumentum/portfile.cmake
    ADDED
    
    | @@ -0,0 +1,27 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            vcpkg_from_github(
         | 
| 4 | 
            +
                OUT_SOURCE_PATH SOURCE_PATH
         | 
| 5 | 
            +
                REPO mmahnic/argumentum
         | 
| 6 | 
            +
                REF v0.3.1
         | 
| 7 | 
            +
                SHA512 96f3a2077dacabf95d06120e24a50147b153090ddb0b6da17c960f8fe6724567bcd3337409f4729e1d8d15058550ed9f34a861da16fb6c999207554154e411c1
         | 
| 8 | 
            +
                HEAD_REF master
         | 
| 9 | 
            +
            )
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            vcpkg_configure_cmake(
         | 
| 12 | 
            +
                SOURCE_PATH ${SOURCE_PATH}
         | 
| 13 | 
            +
                PREFER_NINJA
         | 
| 14 | 
            +
                OPTIONS
         | 
| 15 | 
            +
                    -DARGUMENTUM_BUILD_EXAMPLES=OFF
         | 
| 16 | 
            +
                    -DARGUMENTUM_BUILD_TESTS=OFF
         | 
| 17 | 
            +
            )
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            vcpkg_install_cmake()
         | 
| 20 | 
            +
            vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/Argumentum)
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
         | 
| 23 | 
            +
             | 
| 24 | 
            +
            # Handle copyright
         | 
| 25 | 
            +
            file(INSTALL ${SOURCE_PATH}/LICENSE
         | 
| 26 | 
            +
                DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
         | 
| 27 | 
            +
                RENAME copyright)
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/argumentum/vcpkg.json
    ADDED
    
    | @@ -0,0 +1,7 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "name": "argumentum",
         | 
| 3 | 
            +
              "version-string": "0.3.1",
         | 
| 4 | 
            +
              "port-version": 1,
         | 
| 5 | 
            +
              "description": "A C++17 command line argument parser inspired by Python argparse",
         | 
| 6 | 
            +
              "homepage": "https://github.com/mmahnic/argumentum"
         | 
| 7 | 
            +
            }
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/aricpp/portfile.cmake
    ADDED
    
    | @@ -0,0 +1,21 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            vcpkg_from_github(
         | 
| 2 | 
            +
                OUT_SOURCE_PATH SOURCE_PATH
         | 
| 3 | 
            +
                REPO daniele77/aricpp
         | 
| 4 | 
            +
                REF v1.1.1
         | 
| 5 | 
            +
                SHA512 b1e02b9ba9afc1f3315e238cd61b98a8d28eee08ddbaccaf171aa77d27ecec2b3abfaa5aae6905f9c2a1c83b0095a135f2186c977a0ae0cfafb48e3690814183 
         | 
| 6 | 
            +
                HEAD_REF master
         | 
| 7 | 
            +
            )
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            vcpkg_cmake_configure(
         | 
| 10 | 
            +
                SOURCE_PATH ${SOURCE_PATH}
         | 
| 11 | 
            +
            )
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            vcpkg_cmake_install()
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            vcpkg_copy_pdbs()
         | 
| 16 | 
            +
            vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/aricpp)
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
         | 
| 19 | 
            +
            file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            vcpkg_fixup_pkgconfig()
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/aricpp/vcpkg.json
    ADDED
    
    | @@ -0,0 +1,20 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "name": "aricpp",
         | 
| 3 | 
            +
              "version-semver": "1.1.1",
         | 
| 4 | 
            +
              "port-version": 1,
         | 
| 5 | 
            +
              "description": "Asterisk ARI interface bindings for modern C++",
         | 
| 6 | 
            +
              "homepage": "https://github.com/daniele77/aricpp",
         | 
| 7 | 
            +
              "dependencies": [
         | 
| 8 | 
            +
                "boost-asio",
         | 
| 9 | 
            +
                "boost-beast",
         | 
| 10 | 
            +
                "boost-system",
         | 
| 11 | 
            +
                {
         | 
| 12 | 
            +
                  "name": "vcpkg-cmake",
         | 
| 13 | 
            +
                  "host": true
         | 
| 14 | 
            +
                },
         | 
| 15 | 
            +
                {
         | 
| 16 | 
            +
                  "name": "vcpkg-cmake-config",
         | 
| 17 | 
            +
                  "host": true
         | 
| 18 | 
            +
                }
         | 
| 19 | 
            +
              ]
         | 
| 20 | 
            +
            }
         | 
    	
        third-party/DPVO/Pangolin/scripts/vcpkg/ports/armadillo/add-disable-find-package.patch
    ADDED
    
    | @@ -0,0 +1,60 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            diff --git a/cmake_aux/Modules/ARMA_FindARPACK.cmake b/cmake_aux/Modules/ARMA_FindARPACK.cmake
         | 
| 2 | 
            +
            index 1a709ad..3029c25 100644
         | 
| 3 | 
            +
            --- a/cmake_aux/Modules/ARMA_FindARPACK.cmake
         | 
| 4 | 
            +
            +++ b/cmake_aux/Modules/ARMA_FindARPACK.cmake
         | 
| 5 | 
            +
            @@ -4,6 +4,10 @@
         | 
| 6 | 
            +
             #  ARPACK_FOUND        - system has ARPACK
         | 
| 7 | 
            +
             #  ARPACK_LIBRARY      - Link this to use ARPACK
         | 
| 8 | 
            +
             
         | 
| 9 | 
            +
            +if(CMAKE_DISABLE_FIND_PACKAGE_ARPACK)
         | 
| 10 | 
            +
            +  set(ARPACK_FOUND NO)
         | 
| 11 | 
            +
            +  return()
         | 
| 12 | 
            +
            +endif()
         | 
| 13 | 
            +
             
         | 
| 14 | 
            +
             find_library(ARPACK_LIBRARY
         | 
| 15 | 
            +
               NAMES arpack
         | 
| 16 | 
            +
            diff --git a/cmake_aux/Modules/ARMA_FindATLAS.cmake b/cmake_aux/Modules/ARMA_FindATLAS.cmake
         | 
| 17 | 
            +
            index 491a361..e40a0ff 100644
         | 
| 18 | 
            +
            --- a/cmake_aux/Modules/ARMA_FindATLAS.cmake
         | 
| 19 | 
            +
            +++ b/cmake_aux/Modules/ARMA_FindATLAS.cmake
         | 
| 20 | 
            +
            @@ -1,3 +1,8 @@
         | 
| 21 | 
            +
            +if(CMAKE_DISABLE_FIND_PACKAGE_ATLAS)
         | 
| 22 | 
            +
            +  set(ATLAS_FOUND NO)
         | 
| 23 | 
            +
            +  return()
         | 
| 24 | 
            +
            +endif()
         | 
| 25 | 
            +
            +
         | 
| 26 | 
            +
             find_path(ATLAS_CBLAS_INCLUDE_DIR
         | 
| 27 | 
            +
             NAMES cblas.h
         | 
| 28 | 
            +
             PATHS /usr/include/atlas/ /usr/include/ /usr/local/include/atlas/ /usr/local/include/
         | 
| 29 | 
            +
            diff --git a/cmake_aux/Modules/ARMA_FindMKL.cmake b/cmake_aux/Modules/ARMA_FindMKL.cmake
         | 
| 30 | 
            +
            index 0fd5b06..d6bcd49 100644
         | 
| 31 | 
            +
            --- a/cmake_aux/Modules/ARMA_FindMKL.cmake
         | 
| 32 | 
            +
            +++ b/cmake_aux/Modules/ARMA_FindMKL.cmake
         | 
| 33 | 
            +
            @@ -6,6 +6,11 @@
         | 
| 34 | 
            +
             ## the link below explains why we're linking only with mkl_rt
         | 
| 35 | 
            +
             ## https://software.intel.com/en-us/articles/a-new-linking-model-single-dynamic-library-mkl_rt-since-intel-mkl-103
         | 
| 36 | 
            +
             
         | 
| 37 | 
            +
            +if(CMAKE_DISABLE_FIND_PACKAGE_MKL)
         | 
| 38 | 
            +
            +  set(MKL_FOUND NO)
         | 
| 39 | 
            +
            +  return()
         | 
| 40 | 
            +
            +endif()
         | 
| 41 | 
            +
            +
         | 
| 42 | 
            +
             set(MKL_NAMES ${MKL_NAMES} mkl_rt)
         | 
| 43 | 
            +
             #set(MKL_NAMES ${MKL_NAMES} mkl_lapack)
         | 
| 44 | 
            +
             #set(MKL_NAMES ${MKL_NAMES} mkl_intel_thread)
         | 
| 45 | 
            +
            diff --git a/cmake_aux/Modules/ARMA_FindSuperLU5.cmake b/cmake_aux/Modules/ARMA_FindSuperLU5.cmake
         | 
| 46 | 
            +
            index abf046d..e496cb0 100644
         | 
| 47 | 
            +
            --- a/cmake_aux/Modules/ARMA_FindSuperLU5.cmake
         | 
| 48 | 
            +
            +++ b/cmake_aux/Modules/ARMA_FindSuperLU5.cmake
         | 
| 49 | 
            +
            @@ -5,6 +5,11 @@
         | 
| 50 | 
            +
             #  SuperLU_LIBRARY      - Link this to use SuperLU
         | 
| 51 | 
            +
             #  SuperLU_INCLUDE_DIR  - directory of SuperLU headers
         | 
| 52 | 
            +
             
         | 
| 53 | 
            +
            +if(CMAKE_DISABLE_FIND_PACKAGE_SuperLU)
         | 
| 54 | 
            +
            +  set(SuperLU_FOUND OFF)
         | 
| 55 | 
            +
            +  return()
         | 
| 56 | 
            +
            +endif()
         | 
| 57 | 
            +
            +
         | 
| 58 | 
            +
             find_path(SuperLU_INCLUDE_DIR slu_ddefs.h
         | 
| 59 | 
            +
               /usr/include/superlu/
         | 
| 60 | 
            +
               /usr/include/SuperLU/
         | 
