Techt3o commited on
Commit
dd3025f
·
verified ·
1 Parent(s): b628b29

c1c8cb832a96c61b05dfaf5abe74c8457e824d5c2e077526dac72ffcd745769d

Browse files
Files changed (50) hide show
  1. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake0/portfile.cmake +26 -0
  2. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake0/support-arm64.patch +17 -0
  3. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake0/usage +3 -0
  4. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake0/uuid-do-not-require-pkg-config.patch +30 -0
  5. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake0/vcpkg.json +10 -0
  6. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake2/FindGTS.patch +31 -0
  7. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake2/portfile.cmake +11 -0
  8. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake2/usage +3 -0
  9. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake2/vcpkg.json +10 -0
  10. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-common1/portfile.cmake +6 -0
  11. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-common1/vcpkg.json +30 -0
  12. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-common3/portfile.cmake +12 -0
  13. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-common3/vcpkg.json +24 -0
  14. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-fuel-tools1/link-correct-yaml-target.patch +24 -0
  15. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-fuel-tools1/portfile.cmake +11 -0
  16. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-fuel-tools1/vcpkg.json +14 -0
  17. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-fuel-tools4/portfile.cmake +7 -0
  18. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-fuel-tools4/vcpkg.json +18 -0
  19. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-math4/portfile.cmake +5 -0
  20. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-math4/vcpkg.json +10 -0
  21. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-math6/fix-isspace.patch +12 -0
  22. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-math6/portfile.cmake +6 -0
  23. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-math6/vcpkg.json +12 -0
  24. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-modularscripts/ignition_modular_library.cmake +148 -0
  25. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-modularscripts/portfile.cmake +8 -0
  26. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-modularscripts/vcpkg.json +6 -0
  27. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-msgs1/fix-protobuf-static-link-order.patch +14 -0
  28. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-msgs1/portfile.cmake +23 -0
  29. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-msgs1/vcpkg.json +11 -0
  30. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-msgs5/01-protobuf.patch +13 -0
  31. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-msgs5/portfile.cmake +10 -0
  32. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-msgs5/vcpkg.json +14 -0
  33. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-msgs6/portfile.cmake +8 -0
  34. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-msgs6/vcpkg.json +14 -0
  35. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-plugin1/portfile.cmake +7 -0
  36. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-plugin1/vcpkg.json +15 -0
  37. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-transport4/portfile.cmake +10 -0
  38. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-transport4/uuid-osx.patch +26 -0
  39. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-transport4/vcpkg.json +18 -0
  40. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-transport8/portfile.cmake +7 -0
  41. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-transport8/vcpkg.json +18 -0
  42. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-transport9/portfile.cmake +10 -0
  43. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-transport9/uuid-osx.patch +26 -0
  44. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-transport9/vcpkg.json +18 -0
  45. third-party/DPVO/Pangolin/scripts/vcpkg/ports/igraph/arith_osx.h +12 -0
  46. third-party/DPVO/Pangolin/scripts/vcpkg/ports/igraph/arith_win32.h +8 -0
  47. third-party/DPVO/Pangolin/scripts/vcpkg/ports/igraph/arith_win64.h +9 -0
  48. third-party/DPVO/Pangolin/scripts/vcpkg/ports/igraph/portfile.cmake +66 -0
  49. third-party/DPVO/Pangolin/scripts/vcpkg/ports/igraph/vcpkg.json +32 -0
  50. third-party/DPVO/Pangolin/scripts/vcpkg/ports/iir1/portfile.cmake +21 -0
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake0/portfile.cmake ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake)
2
+
3
+ set(PACKAGE_VERSION "0.6.1")
4
+
5
+ ignition_modular_library(NAME cmake
6
+ VERSION ${PACKAGE_VERSION}
7
+ REF "ignition-cmake_${PACKAGE_VERSION}"
8
+ SHA512 bd57cd43dd944fef264353b67fbbbab989d4bb638b684f80868a8b61fe0b854e156e00852b967c7caa8598315bea60bd8b27ff000410e93c4f04185a13c90489
9
+ # Ensure that gtest is not compiled (backport of https://bitbucket.org/ignitionrobotics/ign-cmake/pull-requests/163)
10
+ PATCHES do-not-compile-gtest.patch
11
+ # Support for ARM64 (backport of https://bitbucket.org/ignitionrobotics/ign-cmake/pull-requests/168)
12
+ support-arm64.patch
13
+ # Do not depend on pkg-config installed to find uuid
14
+ uuid-do-not-require-pkg-config.patch
15
+ # Fix FindIgnCURL.cmake (backport of https://bitbucket.org/ignitionrobotics/ign-cmake/pull-requests/175)
16
+ fix-find-ign-curl.patch
17
+ )
18
+
19
+ # Permit empty include folder
20
+ set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
21
+
22
+ # Remove unneccessary directory, as ignition-cmake is a pure CMake package
23
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib ${CURRENT_PACKAGES_DIR}/debug)
24
+
25
+ # Install custom usage
26
+ configure_file(${CMAKE_CURRENT_LIST_DIR}/usage ${CURRENT_PACKAGES_DIR}/share/${PORT}/usage @ONLY)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake0/support-arm64.patch ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff -r 8a976a308d77 -r 1bea7874cfec cmake/IgnSetCompilerFlags.cmake
2
+ --- a/cmake/IgnSetCompilerFlags.cmake
3
+ +++ b/cmake/IgnSetCompilerFlags.cmake
4
+ @@ -279,13 +279,6 @@
5
+ # Don't pull in the Windows min/max macros
6
+ add_definitions(-DNOMINMAX)
7
+
8
+ - if (MSVC AND CMAKE_SIZEOF_VOID_P EQUAL 8)
9
+ - # Not needed if a proper cmake generator (-G "...Win64") is passed
10
+ - # to cmake. Enable as a second measure to work around bug
11
+ - # http://www.cmake.org/Bug/print_bug_page.php?bug_id=11240
12
+ - set(CMAKE_SHARED_LINKER_FLAGS "/machine:x64")
13
+ - endif()
14
+ -
15
+ if(USE_IGN_RECOMMENDED_FLAGS)
16
+
17
+ # Gy: Prevent errors caused by multiply-defined symbols
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake0/usage ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ The package ignition-cmake0 provides CMake integration:
2
+
3
+ find_package(ignition-cmake0 CONFIG REQUIRED)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake0/uuid-do-not-require-pkg-config.patch ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/cmake/FindUUID.cmake b/cmake/FindUUID.cmake
2
+ index bf055d4..15be822 100644
3
+ --- a/cmake/FindUUID.cmake
4
+ +++ b/cmake/FindUUID.cmake
5
+ @@ -18,4 +18,25 @@
6
+ if (UNIX)
7
+ include(IgnPkgConfig)
8
+ ign_pkg_check_modules(UUID uuid)
9
+ +
10
+ + # If pkg-config is not available in the system,
11
+ + # it is neccessary to manually find uuid
12
+ + if(NOT TARGET UUID::UUID)
13
+ + find_path(UUID_INCLUDE_DIRS NAMES uuid.h PATH_SUFFIXES uuid)
14
+ + mark_as_advanced(UUID_INCLUDE_DIRS)
15
+ +
16
+ + find_library(UUID_LIBRARIES NAMES uuid libuuid)
17
+ + mark_as_advanced(UUID_LIBRARIES)
18
+ +
19
+ + if(NOT UUID_INCLUDE_DIRS OR NOT UUID_LIBRARIES)
20
+ + set(UUID_FOUND false)
21
+ + else()
22
+ + set(UUID_FOUND true)
23
+ + endif()
24
+ +
25
+ + if(UUID_FOUND)
26
+ + include(IgnImportTarget)
27
+ + ign_import_target(UUID)
28
+ + endif()
29
+ + endif()
30
+ endif()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake0/vcpkg.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ignition-cmake0",
3
+ "version-string": "0.6.2",
4
+ "port-version": 3,
5
+ "description": "CMake helper functions for building robotic applications",
6
+ "homepage": "https://ignitionrobotics.org/libs/cmake",
7
+ "dependencies": [
8
+ "ignition-modularscripts"
9
+ ]
10
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake2/FindGTS.patch ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/cmake/FindGTS.cmake b/cmake/FindGTS.cmake
2
+ index ad00a9715..a83d8af40 100644
3
+ --- a/cmake/FindGTS.cmake
4
+ +++ b/cmake/FindGTS.cmake
5
+ @@ -67,6 +67,26 @@ else()
6
+ # 2.1 Need glib library
7
+ find_library(GLIB_LIBRARY glib-2.0)
8
+ list(APPEND GTS_LIBRARIES "${GLIB_LIBRARY}")
9
+ + find_path(GLIB_INCLUDE_DIRS glib.h
10
+ + HINTS
11
+ + ${CMAKE_FIND_ROOT_PATH}
12
+ + PATH
13
+ + ${CMAKE_FIND_ROOT_PATH}
14
+ + PATH_SUFFIXES
15
+ + include
16
+ + include/glib-2.0
17
+ + DOC "glib header include dir"
18
+ + )
19
+ + find_path(GLIB_CONFIG_INCLUDE_DIRS glibconfig.h
20
+ + HINTS
21
+ + ${CMAKE_FIND_ROOT_PATH}
22
+ + PATHS
23
+ + ${CMAKE_FIND_ROOT_PATH}
24
+ + PATH_SUFFIXES
25
+ + lib/glib-2.0/include
26
+ + doc "glib header include dir"
27
+ + )
28
+ + list(APPEND GTS_INCLUDE_DIRS ${GLIB_INCLUDE_DIRS} ${GLIB_CONFIG_INCLUDE_DIRS})
29
+
30
+ if (GTS_FOUND)
31
+ # We need to manually specify the pkgconfig entry (and type of entry),
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake2/portfile.cmake ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake)
2
+
3
+ set(PACKAGE_VERSION "2.5.0")
4
+
5
+ ignition_modular_library(NAME cmake
6
+ VERSION ${PACKAGE_VERSION}
7
+ SHA512 dc546e5e4deabba12faec5fb0162309dfce9b429a6bbd6637c058acdda3eb4fa1e44e9b71f55603d0cff77550117dafc3fc8475621ede65fa8aa915254beb463
8
+ PATCHES FindGTS.patch)
9
+
10
+ # Install custom usage
11
+ configure_file(${CMAKE_CURRENT_LIST_DIR}/usage ${CURRENT_PACKAGES_DIR}/share/${PORT}/usage @ONLY)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake2/usage ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ The package ignition-cmake2 provides CMake integration:
2
+
3
+ find_package(ignition-cmake2 CONFIG REQUIRED)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-cmake2/vcpkg.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ignition-cmake2",
3
+ "version": "2.5.0",
4
+ "port-version": 1,
5
+ "description": "CMake helper functions for building robotic applications",
6
+ "homepage": "https://ignitionrobotics.org/libs/cmake",
7
+ "dependencies": [
8
+ "ignition-modularscripts"
9
+ ]
10
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-common1/portfile.cmake ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake)
2
+
3
+ ignition_modular_library(NAME common
4
+ VERSION "1.1.1"
5
+ REF ignition-common_1.1.1
6
+ SHA512 e96e82dc401281cd31843f4b0ae2c1d23589170869621ea62eb6d6b31b11bd622c14da7046b1993c8fc67a1d39bae9a96b9f8efc8923e305823f963d864975f7)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-common1/vcpkg.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ignition-common1",
3
+ "version-string": "1.1.1",
4
+ "port-version": 2,
5
+ "description": "Common libraries for robotics applications",
6
+ "dependencies": [
7
+ {
8
+ "name": "dlfcn-win32",
9
+ "platform": "windows | uwp"
10
+ },
11
+ {
12
+ "name": "ffmpeg",
13
+ "platform": "!windows & !uwp"
14
+ },
15
+ {
16
+ "name": "freeimage",
17
+ "platform": "!windows & !uwp"
18
+ },
19
+ {
20
+ "name": "gts",
21
+ "platform": "!windows & !uwp"
22
+ },
23
+ "ignition-cmake0",
24
+ "ignition-math4",
25
+ {
26
+ "name": "tinyxml2",
27
+ "platform": "!windows & !uwp"
28
+ }
29
+ ]
30
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-common3/portfile.cmake ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake)
2
+
3
+ ignition_modular_library(NAME common
4
+ VERSION "3.9.0"
5
+ SHA512 8d052850cbb125e334494c9ad9b234c371fe310327dba997515651f29479d747dffa55b0aa822f2a78e6317a4df2d41389c7a07165cdc08894fdfb116e4d9756)
6
+
7
+ # Remove non-relocatable helper scripts (see https://github.com/ignitionrobotics/ign-common/issues/82)
8
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin/ign_remotery_vis" "${CURRENT_PACKAGES_DIR}/debug/bin/ign_remotery_vis")
9
+
10
+ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
11
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
12
+ endif()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-common3/vcpkg.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ignition-common3",
3
+ "version-string": "3.9.0",
4
+ "port-version": 2,
5
+ "description": "Common libraries for robotics applications",
6
+ "homepage": "https://ignitionrobotics.org/libs/common",
7
+ "dependencies": [
8
+ {
9
+ "name": "dlfcn-win32",
10
+ "platform": "windows | uwp"
11
+ },
12
+ "ffmpeg",
13
+ "freeimage",
14
+ "gts",
15
+ "ignition-cmake2",
16
+ "ignition-math6",
17
+ "ignition-modularscripts",
18
+ {
19
+ "name": "libuuid",
20
+ "platform": "!windows & !uwp & !osx"
21
+ },
22
+ "tinyxml2"
23
+ ]
24
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-fuel-tools1/link-correct-yaml-target.patch ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff -r 29939b8a25be -r 8a0a85e63950 CMakeLists.txt
2
+ --- a/CMakeLists.txt
3
+ +++ b/CMakeLists.txt
4
+ @@ -9,7 +9,7 @@
5
+ # Find ignition-cmake
6
+ #============================================================================
7
+ # If you get an error at this line, you need to install ignition-cmake
8
+ -find_package(ignition-cmake0 REQUIRED)
9
+ +find_package(ignition-cmake0 0.4.1 REQUIRED)
10
+
11
+ #============================================================================
12
+ # Configure the project
13
+ diff -r 29939b8a25be -r 8a0a85e63950 src/CMakeLists.txt
14
+ --- a/src/CMakeLists.txt
15
+ +++ b/src/CMakeLists.txt
16
+ @@ -52,7 +52,7 @@
17
+ curl::curl
18
+ ignition-common${IGN_COMMON_MAJOR_VER}::ignition-common${IGN_COMMON_MAJOR_VER}
19
+ ${JSONCPP_TARGET}
20
+ - YAML::YAML
21
+ + ${YAML_TARGET}
22
+ ZIP::ZIP
23
+ )
24
+
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-fuel-tools1/portfile.cmake ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake)
2
+
3
+ ignition_modular_library(NAME fuel-tools
4
+ VERSION "1.2.0"
5
+ CMAKE_PACKAGE_NAME ignition-fuel_tools1
6
+ SHA512 a656fed74fb2138b3bcf7d35b25ad06da95cfb9a3ad7ded2c9c54db385f55ea310fd1a72dcf6400b0a6199e376c1ba2d11ee2a08c66e3c2cc8b2ee1b25406986
7
+ # Ensure yaml is correctly linked (backport of https://bitbucket.org/ignitionrobotics/ign-fuel-tools/pull-requests/103/use-yaml_target-instead-of-yaml-yaml/diff)
8
+ PATCHES link-correct-yaml-target.patch
9
+ # This can be removed when the pc file of curl is fixed
10
+ DISABLE_PKGCONFIG_INSTALL
11
+ )
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-fuel-tools1/vcpkg.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ignition-fuel-tools1",
3
+ "version-string": "1.2.0",
4
+ "port-version": 3,
5
+ "description": "Tools for using fuel API to download robot models",
6
+ "dependencies": [
7
+ "curl",
8
+ "ignition-cmake0",
9
+ "ignition-common1",
10
+ "jsoncpp",
11
+ "libyaml",
12
+ "libzip"
13
+ ]
14
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-fuel-tools4/portfile.cmake ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake)
2
+
3
+ ignition_modular_library(NAME fuel-tools
4
+ VERSION "4.3.0"
5
+ CMAKE_PACKAGE_NAME ignition-fuel_tools4
6
+ SHA512 451d7bcd195a8ce41c3a7d64ad936c8c0812cbc7af03dbe75cbdc359599bf1f828595833c1758d4de8e37c37730bb852de95b2256ff9134af4ab197df2b66a8b
7
+ )
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-fuel-tools4/vcpkg.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ignition-fuel-tools4",
3
+ "version-string": "4.3.0",
4
+ "port-version": 1,
5
+ "description": "Tools for using fuel API to download robot models",
6
+ "homepage": "https://ignitionrobotics.org/libs/fuel_tools",
7
+ "dependencies": [
8
+ "curl",
9
+ "ignition-cmake2",
10
+ "ignition-common3",
11
+ "ignition-modularscripts",
12
+ "ignition-msgs5",
13
+ "jsoncpp",
14
+ "libyaml",
15
+ "libzip",
16
+ "tinyxml2"
17
+ ]
18
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-math4/portfile.cmake ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake)
2
+
3
+ ignition_modular_library(NAME math
4
+ VERSION "4.0.0"
5
+ SHA512 5996af60666a1166fc19b2db9715f7214341becb8eb6071c09315e1f71e759c6de4da99b44312829fc7b2bdef7e0f3671e4d2a92e0d2dd5d5fd782a6c46b012a)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-math4/vcpkg.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ignition-math4",
3
+ "version-string": "4.0.0",
4
+ "port-version": 2,
5
+ "description": "Math API for robotic applications",
6
+ "homepage": "https://ignitionrobotics.org/libs/math",
7
+ "dependencies": [
8
+ "ignition-cmake0"
9
+ ]
10
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-math6/fix-isspace.patch ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/include/ignition/math/Color.hh b/include/ignition/math/Color.hh
2
+ index faf7a08..16758c5 100644
3
+ --- a/include/ignition/math/Color.hh
4
+ +++ b/include/ignition/math/Color.hh
5
+ @@ -18,6 +18,7 @@
6
+ #define IGNITION_MATH_COLOR_HH_
7
+
8
+ #include <iostream>
9
+ +#include <cctype>
10
+
11
+ #include <ignition/math/Helpers.hh>
12
+ #include <ignition/math/Vector3.hh>
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-math6/portfile.cmake ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake)
2
+
3
+ ignition_modular_library(NAME math
4
+ VERSION "6.6.0"
5
+ SHA512 1b5f59b45256daa81cbfb7da4727200d0d6cb4a75fbc3b83b512c18ec6307b5bd78b8ee7a84f0f8a8c334717a1480766f62658bd213e9021c09c0ed22caa921d
6
+ PATCHES fix-isspace.patch)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-math6/vcpkg.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ignition-math6",
3
+ "version-string": "6.6.0",
4
+ "port-version": 2,
5
+ "description": "Math API for robotic applications",
6
+ "homepage": "https://ignitionrobotics.org/libs/math",
7
+ "dependencies": [
8
+ "eigen3",
9
+ "ignition-cmake2",
10
+ "ignition-modularscripts"
11
+ ]
12
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-modularscripts/ignition_modular_library.cmake ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ function(ignition_modular_build_library NAME MAJOR_VERSION SOURCE_PATH CMAKE_PACKAGE_NAME DEFAULT_CMAKE_PACKAGE_NAME IML_DISABLE_PKGCONFIG_INSTALL)
3
+ vcpkg_configure_cmake(
4
+ SOURCE_PATH ${SOURCE_PATH}
5
+ PREFER_NINJA
6
+ DISABLE_PARALLEL_CONFIGURE
7
+ OPTIONS -DBUILD_TESTING=OFF
8
+ )
9
+
10
+ vcpkg_install_cmake(ADD_BIN_TO_PATH)
11
+
12
+ # If necessary, move the CMake config files
13
+ if(EXISTS "${CURRENT_PACKAGES_DIR}/lib/cmake")
14
+ # Some ignition libraries install library subcomponents, that are effectively additional cmake packages
15
+ # with name ${CMAKE_PACKAGE_NAME}-${COMPONENT_NAME}, so it is needed to call vcpkg_fixup_cmake_targets for them as well
16
+ file(GLOB COMPONENTS_CMAKE_PACKAGE_NAMES
17
+ LIST_DIRECTORIES TRUE
18
+ RELATIVE "${CURRENT_PACKAGES_DIR}/lib/cmake/"
19
+ "${CURRENT_PACKAGES_DIR}/lib/cmake/*")
20
+
21
+ foreach(COMPONENT_CMAKE_PACKAGE_NAME IN LISTS COMPONENTS_CMAKE_PACKAGE_NAMES)
22
+ vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake/${COMPONENT_CMAKE_PACKAGE_NAME}"
23
+ TARGET_PATH "share/${COMPONENT_CMAKE_PACKAGE_NAME}"
24
+ DO_NOT_DELETE_PARENT_CONFIG_PATH)
25
+ endforeach()
26
+
27
+ file(GLOB_RECURSE CMAKE_RELEASE_FILES
28
+ "${CURRENT_PACKAGES_DIR}/lib/cmake/${CMAKE_PACKAGE_NAME}/*")
29
+
30
+ file(COPY ${CMAKE_RELEASE_FILES} DESTINATION
31
+ "${CURRENT_PACKAGES_DIR}/share/${CMAKE_PACKAGE_NAME}/")
32
+ endif()
33
+
34
+ # Remove unused files files
35
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/cmake
36
+ ${CURRENT_PACKAGES_DIR}/debug/include
37
+ ${CURRENT_PACKAGES_DIR}/debug/lib/cmake
38
+ ${CURRENT_PACKAGES_DIR}/debug/share)
39
+
40
+ # Make pkg-config files relocatable
41
+ if(NOT IML_DISABLE_PKGCONFIG_INSTALL)
42
+ if(VCPKG_TARGET_IS_LINUX)
43
+ set(SYSTEM_LIBRARIES SYSTEM_LIBRARIES pthread)
44
+ endif()
45
+ vcpkg_fixup_pkgconfig(${SYSTEM_LIBRARIES})
46
+ else()
47
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/pkgconfig
48
+ ${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig)
49
+ endif()
50
+
51
+ # Find the relevant license file and install it
52
+ if(EXISTS "${SOURCE_PATH}/LICENSE")
53
+ set(LICENSE_PATH "${SOURCE_PATH}/LICENSE")
54
+ elseif(EXISTS "${SOURCE_PATH}/README.md")
55
+ set(LICENSE_PATH "${SOURCE_PATH}/README.md")
56
+ endif()
57
+ file(INSTALL ${LICENSE_PATH} DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
58
+ endfunction()
59
+
60
+ ## # ignition_modular_library
61
+ ##
62
+ ## Download and build a library from the Ignition Robotics project ( https://ignitionrobotics.org/ ).
63
+ ##
64
+ ## ## Usage:
65
+ ## ```cmake
66
+ ## ignition_modular_library(NAME <name>
67
+ ## VERSION <version>
68
+ ## SHA512 <sha512>
69
+ ## [REF <ref>]
70
+ ## [HEAD_REF <head_ref>]
71
+ ## [PATCHES <patches>]
72
+ ## [CMAKE_PACKAGE_NAME <cmake_package_name>]
73
+ ## [DISABLE_PKGCONFIG_INSTALL])
74
+ ## ```
75
+ ##
76
+ ## ## Parameters:
77
+ ## ### NAME
78
+ ## The name of the specific ignition library, i.e. `cmake` for `ignition-cmake0`, `math` for `ignition-math4`.
79
+ ##
80
+ ## ### VERSION
81
+ ## The complete version number.
82
+ ##
83
+ ## ### SHA512
84
+ ## The SHA512 hash that should match the downloaded archive. This is forwarded to the `vcpkg_from_github` command.
85
+ ##
86
+ ## ### REF
87
+ ## Reference to the tag of the desired release. This is forwarded to the `vcpkg_from_github` command.
88
+ ## If not specified, defaults to `ignition-${NAME}${MAJOR_VERSION}_${VERSION}`.
89
+ ##
90
+ ## ### HEAD_REF
91
+ ## Reference (tag) to the desired release. This is forwarded to the `vcpkg_from_github` command.
92
+ ## If not specified, defaults to `ign-${NAME}${MAJOR_VERSION}`.
93
+ ##
94
+ ## ### PATCHES
95
+ ## A list of patches to be applied to the extracted sources.
96
+ ## This is forwarded to the `vcpkg_from_github` command.
97
+ ##
98
+ ## ### CMAKE_PACKAGE_NAME
99
+ ## The name of the CMake package for the port.
100
+ ## If not specified, defaults to `ignition-${NAME}${MAJOR_VERSION}`.
101
+ ##
102
+ ## ### DISABLE_PKGCONFIG_INSTALL
103
+ ## If present, disable installation of .pc pkg-config configuration files.
104
+ ##
105
+ ##
106
+ ## ## Examples:
107
+ ##
108
+ ## * [ignition-cmake0](https://github.com/Microsoft/vcpkg/blob/master/ports/ignition-cmake0/portfile.cmake)
109
+ ## * [ignition-math4](https://github.com/Microsoft/vcpkg/blob/master/ports/ignition-math4/portfile.cmake)
110
+ ## * [ignition-fuel-tools1](https://github.com/Microsoft/vcpkg/blob/master/ports/ignition-fuel-tools1/portfile.cmake)
111
+ function(ignition_modular_library)
112
+ set(options DISABLE_PKGCONFIG_INSTALL)
113
+ set(oneValueArgs NAME VERSION SHA512 REF HEAD_REF CMAKE_PACKAGE_NAME)
114
+ set(multiValueArgs PATCHES)
115
+ cmake_parse_arguments(IML "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
116
+
117
+ string(REPLACE "." ";" IML_VERSION_LIST ${IML_VERSION})
118
+ list(GET IML_VERSION_LIST 0 IML_MAJOR_VERSION)
119
+
120
+ # If the REF option is omitted, use the canonical one
121
+ if(NOT DEFINED IML_REF)
122
+ set(IML_REF "ignition-${IML_NAME}${IML_MAJOR_VERSION}_${IML_VERSION}")
123
+ endif()
124
+
125
+ # If the HEAD_REF option is omitted, use the canonical one
126
+ if(NOT DEFINED IML_HEAD_REF)
127
+ set(IML_HEAD_REF "ign-${IML_NAME}${IML_MAJOR_VERSION}")
128
+ endif()
129
+
130
+ # If the CMAKE_PACKAGE_NAME option is omitted, use the canonical one
131
+ set(DEFAULT_CMAKE_PACKAGE_NAME "ignition-${IML_NAME}${IML_MAJOR_VERSION}")
132
+ if(NOT DEFINED IML_CMAKE_PACKAGE_NAME)
133
+ set(IML_CMAKE_PACKAGE_NAME ${DEFAULT_CMAKE_PACKAGE_NAME})
134
+ endif()
135
+
136
+ # Download library from github, to support also the --head option
137
+ vcpkg_from_github(
138
+ OUT_SOURCE_PATH SOURCE_PATH
139
+ REPO ignitionrobotics/ign-${IML_NAME}
140
+ REF ${IML_REF}
141
+ SHA512 ${IML_SHA512}
142
+ HEAD_REF ${IML_HEAD_REF}
143
+ PATCHES ${IML_PATCHES}
144
+ )
145
+
146
+ # Build library
147
+ ignition_modular_build_library(${IML_NAME} ${IML_MAJOR_VERSION} ${SOURCE_PATH} ${IML_CMAKE_PACKAGE_NAME} ${DEFAULT_CMAKE_PACKAGE_NAME} ${IML_DISABLE_PKGCONFIG_INSTALL})
148
+ endfunction()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-modularscripts/portfile.cmake ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ file(COPY
2
+ ${CMAKE_CURRENT_LIST_DIR}/ignition_modular_library.cmake
3
+ DESTINATION
4
+ ${CURRENT_PACKAGES_DIR}/share/ignitionmodularscripts
5
+ )
6
+ file(WRITE ${CURRENT_PACKAGES_DIR}/share/ignitionmodularscripts/copyright "")
7
+
8
+ set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-modularscripts/vcpkg.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ignition-modularscripts",
3
+ "version-string": "2020-11-23",
4
+ "port-version": 1,
5
+ "description": "Vcpkg helpers to package ignition libraries"
6
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-msgs1/fix-protobuf-static-link-order.patch ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
2
+ --- a/src/CMakeLists.txt
3
+ +++ b/src/CMakeLists.txt
4
+ @@ -2,8 +2,8 @@
5
+ # Build a custom protoc plugin
6
+ ign_add_executable(ign_msgs_gen Generator.cc generator_main.cc)
7
+ target_link_libraries(ign_msgs_gen
8
+ - protobuf::libprotobuf
9
+ - protobuf::libprotoc)
10
+ + protobuf::libprotoc
11
+ + protobuf::libprotobuf)
12
+ target_include_directories(ign_msgs_gen PRIVATE ${PROTOBUF_INCLUDE_DIR})
13
+ target_compile_features(ign_msgs_gen PRIVATE ${IGN_CXX_11_FEATURES})
14
+
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-msgs1/portfile.cmake ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake)
2
+
3
+ # Explicitly disable cross-compilation until the upstream discussion
4
+ # https://bitbucket.org/ignitionrobotics/ign-msgs/issues/34/add-support-for-cross-compilation is solved
5
+ if(CMAKE_HOST_WIN32 AND NOT VCPKG_TARGET_ARCHITECTURE MATCHES "x64" AND NOT VCPKG_TARGET_ARCHITECTURE MATCHES "x86")
6
+ set(ignition_msgs_CROSSCOMPILING ON)
7
+ elseif(CMAKE_HOST_WIN32 AND VCPKG_CMAKE_SYSTEM_NAME)
8
+ set(ignition_msgs_CROSSCOMPILING ON)
9
+ else()
10
+ set(ignition_msgs_CROSSCOMPILING OFF)
11
+ endif()
12
+
13
+ if(ignition_msgs_CROSSCOMPILING)
14
+ message(FATAL_ERROR "This port does not currently support triplets that require cross-compilation.")
15
+ endif()
16
+
17
+ ignition_modular_library(NAME msgs
18
+ VERSION "1.0.0"
19
+ # See https://bitbucket.org/ignitionrobotics/ign-msgs/issues/33/the-ignition-msgs1_100-tag-does-not-match
20
+ REF ignition-msgs_1.0.0
21
+ SHA512 3a270f0ac988b947091d4626be48fe8cfed5ddfde5a37b9d0f08fddcbf278099ab231fca11e2dd2296ca54e0350ea14e3f685dc238f0827f18f10ab7b75039de
22
+ # Fix linking order of protobuf libraries (backport of https://bitbucket.org/ignitionrobotics/ign-msgs/pull-requests/151)
23
+ PATCHES fix-protobuf-static-link-order.patch)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-msgs1/vcpkg.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ignition-msgs1",
3
+ "version-string": "1.0.0",
4
+ "port-version": 4,
5
+ "description": "Middleware protobuf messages for robotics",
6
+ "dependencies": [
7
+ "ignition-cmake0",
8
+ "ignition-math4",
9
+ "protobuf"
10
+ ]
11
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-msgs5/01-protobuf.patch ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
2
+ index f68bf3d..d4d1372 100644
3
+ --- a/src/CMakeLists.txt
4
+ +++ b/src/CMakeLists.txt
5
+ @@ -135,6 +135,8 @@ if(MSVC)
6
+ # warning is not important since those members do not need to be interfaced
7
+ # with.
8
+ set_source_files_properties(${gen_sources} COMPILE_FLAGS "/wd4251 /wd4146")
9
+ + # Fix for protobuf 3.12 - allow big object files
10
+ + add_definitions(/bigobj)
11
+ endif()
12
+
13
+ set_source_files_properties(${gen_headers} ${gen_sources} ${gen_ruby_scripts}
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-msgs5/portfile.cmake ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ # Cross-compilation is disabled until the upstream discussion
2
+ # https://github.com/ignitionrobotics/ign-msgs/issues/34 is solved
3
+
4
+ include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake)
5
+
6
+ ignition_modular_library(NAME msgs
7
+ VERSION "5.3.0"
8
+ SHA512 55c167d00b60ae6da0144a9495e9ac8aed61fcbdc61e057e75d31261e335c573543d60e28a7dc195a7c9849c5c6eb0e088d4f4e79fd927e83470a3f1fabef60e
9
+ PATCHES
10
+ "01-protobuf.patch")
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-msgs5/vcpkg.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ignition-msgs5",
3
+ "version": "5.3.0",
4
+ "port-version": 4,
5
+ "description": "Middleware protobuf messages for robotics",
6
+ "supports": "!(arm | uwp)",
7
+ "dependencies": [
8
+ "ignition-cmake2",
9
+ "ignition-math6",
10
+ "ignition-modularscripts",
11
+ "protobuf",
12
+ "tinyxml2"
13
+ ]
14
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-msgs6/portfile.cmake ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ # Cross-compilation is explicitly disabled until the upstream discussion
2
+ # https://github.com/ignitionrobotics/ign-msgs/issues/34 is solved
3
+
4
+ include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake)
5
+
6
+ ignition_modular_library(NAME msgs
7
+ VERSION "6.0.0"
8
+ SHA512 d1d6f6602ae33ec95b36c5df7815b06970f349492ef0309d8aacbaf2dca0c3e7314bbd64890a2554485fbd52f148a90b7bf54dceb0b3a1dd40eeb1f5bdb9613c)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-msgs6/vcpkg.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ignition-msgs6",
3
+ "version": "6.0.0",
4
+ "port-version": 3,
5
+ "description": "Middleware protobuf messages for robotics",
6
+ "supports": "!(arm | uwp)",
7
+ "dependencies": [
8
+ "ignition-cmake2",
9
+ "ignition-math6",
10
+ "ignition-modularscripts",
11
+ "protobuf",
12
+ "tinyxml2"
13
+ ]
14
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-plugin1/portfile.cmake ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake)
2
+
3
+ set(PACKAGE_VERSION "1.1.0")
4
+ ignition_modular_library(NAME plugin
5
+ VERSION ${PACKAGE_VERSION}
6
+ REF "ignition-plugin_${PACKAGE_VERSION}"
7
+ SHA512 0657c5816e67d02329a79364050b8a56957180e5b7481b01696c7369b063cbfedfc93793a8ad92d87d242d24e476283dc7847bd810a3de98d3ec5ae7d640568c)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-plugin1/vcpkg.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ignition-plugin1",
3
+ "version-string": "1.1.0",
4
+ "port-version": 1,
5
+ "description": "Library for registering plugin libraries and dynamically loading them at runtime",
6
+ "homepage": "https://ignitionrobotics.org/libs/plugin",
7
+ "dependencies": [
8
+ {
9
+ "name": "dlfcn-win32",
10
+ "platform": "windows | uwp"
11
+ },
12
+ "ignition-cmake2",
13
+ "ignition-modularscripts"
14
+ ]
15
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-transport4/portfile.cmake ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake)
2
+
3
+ ignition_modular_library(NAME transport
4
+ VERSION "4.0.0"
5
+ SHA512 d4125044c21fdd6754f3b8b06f372df3f858080d5d33e97ed7a8ef8f6fb9857d562082aad41c89ea9146a33b1c3814305d33c5c8f8bcde66a16477b4a01655b4
6
+ # This can be removed when the pc file of libuuid on Windows is fixed
7
+ DISABLE_PKGCONFIG_INSTALL
8
+ PATCHES
9
+ uuid-osx.patch
10
+ )
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-transport4/uuid-osx.patch ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index 5453cd0..10c2ad4 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -58,6 +58,8 @@ ign_find_package(CPPZMQ REQUIRED PRIVATE
6
+ # Find uuid
7
+ if (MSVC)
8
+ message (STATUS "UUID: Using Windows RPC UuidCreate function\n")
9
+ +elseif (APPLE)
10
+ + message (STATUS "Use system uuid header")
11
+ else()
12
+ ign_find_package(UUID REQUIRED)
13
+ endif()
14
+ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
15
+ index 6683e64..33669ab 100644
16
+ --- a/src/CMakeLists.txt
17
+ +++ b/src/CMakeLists.txt
18
+ @@ -18,7 +18,7 @@ target_link_libraries(${PROJECT_LIBRARY_TARGET_NAME}
19
+ )
20
+
21
+ # Windows system library provides UUID
22
+ -if (NOT MSVC)
23
+ +if (NOT MSVC AND NOT APPLE)
24
+ target_link_libraries(${PROJECT_LIBRARY_TARGET_NAME}
25
+ PUBLIC
26
+ UUID::UUID
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-transport4/vcpkg.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ignition-transport4",
3
+ "version": "4.0.0",
4
+ "port-version": 5,
5
+ "description": "Transport middleware for robotics",
6
+ "dependencies": [
7
+ "cppzmq",
8
+ "ignition-cmake0",
9
+ "ignition-modularscripts",
10
+ "ignition-msgs1",
11
+ {
12
+ "name": "libuuid",
13
+ "platform": "!windows & !uwp & !osx"
14
+ },
15
+ "protobuf",
16
+ "zeromq"
17
+ ]
18
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-transport8/portfile.cmake ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake)
2
+
3
+ ignition_modular_library(NAME transport
4
+ VERSION "8.1.0"
5
+ SHA512 eb64f18721190fcb79a5b45746fd44fa24274c6fe6c5021dd9306c15a327873377d07d4aa770633982038b84da650d3d0c8a56169222c0c88fa1318314fc4529
6
+ # This can be removed when the pc file of sqlite3 is available ( https://github.com/microsoft/vcpkg/issues/14327 )
7
+ DISABLE_PKGCONFIG_INSTALL)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-transport8/vcpkg.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ignition-transport8",
3
+ "version-string": "8.1.0",
4
+ "port-version": 2,
5
+ "description": "Transport middleware for robotics",
6
+ "dependencies": [
7
+ "cppzmq",
8
+ "ignition-cmake2",
9
+ "ignition-msgs5",
10
+ {
11
+ "name": "libuuid",
12
+ "platform": "!windows & !uwp & !osx"
13
+ },
14
+ "protobuf",
15
+ "sqlite3",
16
+ "zeromq"
17
+ ]
18
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-transport9/portfile.cmake ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake)
2
+
3
+ ignition_modular_library(NAME transport
4
+ VERSION "9.0.0"
5
+ SHA512 c3edb7a8a063b4aa5826838ae08c8ec2b3d14563492022df632a719409c95272f4f6a43d91f0c317e44b85921b5aedc1685670b81a7baa949f01af3b3534d76e
6
+ # This can be removed when the pc file of sqlite3 is available ( https://github.com/microsoft/vcpkg/issues/14327 )
7
+ DISABLE_PKGCONFIG_INSTALL
8
+ PATCHES
9
+ uuid-osx.patch
10
+ )
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-transport9/uuid-osx.patch ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index 084b6da..6fd212d 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -70,6 +70,8 @@ ign_find_package(CPPZMQ REQUIRED PRIVATE
6
+ # Find uuid
7
+ if (MSVC)
8
+ message (STATUS "UUID: Using Windows RPC UuidCreate function\n")
9
+ +elseif (APPLE)
10
+ + message (STATUS "Use system uuid header")
11
+ else()
12
+ ign_find_package(UUID REQUIRED)
13
+ endif()
14
+ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
15
+ index 9777240..9e860a9 100644
16
+ --- a/src/CMakeLists.txt
17
+ +++ b/src/CMakeLists.txt
18
+ @@ -31,7 +31,7 @@ target_link_libraries(${PROJECT_LIBRARY_TARGET_NAME}
19
+ )
20
+
21
+ # Windows system library provides UUID
22
+ -if (NOT MSVC)
23
+ +if (NOT MSVC AND NOT APPLE)
24
+ target_link_libraries(${PROJECT_LIBRARY_TARGET_NAME}
25
+ PUBLIC
26
+ UUID::UUID
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ignition-transport9/vcpkg.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ignition-transport9",
3
+ "version": "9.0.0",
4
+ "port-version": 3,
5
+ "description": "Transport middleware for robotics",
6
+ "dependencies": [
7
+ "cppzmq",
8
+ "ignition-cmake2",
9
+ "ignition-msgs6",
10
+ {
11
+ "name": "libuuid",
12
+ "platform": "!windows & !uwp & !osx"
13
+ },
14
+ "protobuf",
15
+ "sqlite3",
16
+ "zeromq"
17
+ ]
18
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/igraph/arith_osx.h ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Suitable for macOS on x86_64 and arm64 */
2
+ /* Not suitable for 32-bit macOS */
3
+
4
+ #define IEEE_8087
5
+ #define Arith_Kind_ASL 1
6
+ #define Long int
7
+ #define Intcast (int)(long)
8
+ #define Double_Align
9
+ #define X64_bit_pointers
10
+ #define NANCHECK
11
+ #define QNaN0 0x0
12
+ #define QNaN1 0x7ff80000
third-party/DPVO/Pangolin/scripts/vcpkg/ports/igraph/arith_win32.h ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ /* Windows 32-bit */
2
+
3
+ #define IEEE_8087
4
+ #define Arith_Kind_ASL 1
5
+ #define Double_Align
6
+ #define NANCHECK
7
+ #define QNaN0 0x0
8
+ #define QNaN1 0x7ff80000
third-party/DPVO/Pangolin/scripts/vcpkg/ports/igraph/arith_win64.h ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ /* Windows 64-bit */
2
+
3
+ #define IEEE_8087
4
+ #define Arith_Kind_ASL 1
5
+ #define Double_Align
6
+ #define X64_bit_pointers
7
+ #define NANCHECK
8
+ #define QNaN0 0x0
9
+ #define QNaN1 0x7ff80000
third-party/DPVO/Pangolin/scripts/vcpkg/ports/igraph/portfile.cmake ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ # We use the release tarball from GitHub instead of the sources in the repo because:
3
+ # - igraph will not compile from the git sources unless there is an actual git repository to back it. This is because it detects the version from git tags. The release tarball has the version hard-coded.
4
+ # - The release tarball contains pre-generated parser sources, which eliminates the dependency on bison/flex.
5
+
6
+ vcpkg_download_distfile(ARCHIVE
7
+ URLS "https://github.com/igraph/igraph/releases/download/0.9.8/igraph-0.9.8.tar.gz"
8
+ FILENAME "igraph-0.9.8.tar.gz"
9
+ SHA512 4f0af3e2b4e2ed782064afc8a7aa0f104c683c35de3f71240d41a1b5097dd41101a483d4e5f9ce4dca1a5ca0bb616e1c125d58ccf50066b1405e8188fe4d796f
10
+ )
11
+
12
+ vcpkg_extract_source_archive_ex(
13
+ OUT_SOURCE_PATH SOURCE_PATH
14
+ ARCHIVE ${ARCHIVE}
15
+ )
16
+
17
+ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
18
+ FEATURES
19
+ graphml IGRAPH_GRAPHML_SUPPORT
20
+ openmp IGRAPH_OPENMP_SUPPORT
21
+ )
22
+
23
+ # Allow cross-compilation. See https://igraph.org/c/html/latest/igraph-Installation.html#igraph-Installation-cross-compiling
24
+ set(ARITH_H "")
25
+ if (VCPKG_TARGET_IS_OSX)
26
+ set(ARITH_H ${CURRENT_PORT_DIR}/arith_osx.h)
27
+ elseif (VCPKG_TARGET_IS_WINDOWS OR VCPKG_TARGET_IS_UWP)
28
+ if (VCPKG_TARGET_ARCHITECTURE STREQUAL "x86" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm")
29
+ set(ARITH_H ${CURRENT_PORT_DIR}/arith_win32.h)
30
+ elseif (VCPKG_TARGET_ARCHITECTURE STREQUAL "x64" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64")
31
+ set(ARITH_H ${CURRENT_PORT_DIR}/arith_win64.h)
32
+ endif()
33
+ endif()
34
+
35
+ vcpkg_cmake_configure(
36
+ SOURCE_PATH "${SOURCE_PATH}"
37
+ OPTIONS
38
+ -DIGRAPH_ENABLE_LTO=AUTO
39
+ # ARPACK not yet available in vcpkg.
40
+ -DIGRAPH_USE_INTERNAL_ARPACK=ON
41
+ # OpenBLAS provides BLAS/LAPACK but some tests fail with OpenBLAS on Windows.
42
+ # See https://github.com/igraph/igraph/issues/1491
43
+ -DIGRAPH_USE_INTERNAL_BLAS=ON
44
+ -DIGRAPH_USE_INTERNAL_LAPACK=ON
45
+ -DIGRAPH_USE_INTERNAL_CXSPARSE=OFF
46
+ # GLPK is not yet available in vcpkg.
47
+ -DIGRAPH_USE_INTERNAL_GLPK=ON
48
+ # Currently, external GMP provides no performance or functionality benefits.
49
+ -DIGRAPH_USE_INTERNAL_GMP=ON
50
+ # PLFIT is not yet available in vcpkg.
51
+ -DIGRAPH_USE_INTERNAL_PLFIT=ON
52
+ -DF2C_EXTERNAL_ARITH_HEADER=${ARITH_H}
53
+ ${FEATURE_OPTIONS}
54
+ )
55
+
56
+ vcpkg_cmake_install()
57
+
58
+ vcpkg_copy_pdbs()
59
+
60
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
61
+
62
+ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/igraph)
63
+
64
+ file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
65
+
66
+ vcpkg_fixup_pkgconfig()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/igraph/vcpkg.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "igraph",
3
+ "version": "0.9.8",
4
+ "description": "igraph is a C library for network analysis and graph theory, with an emphasis on efficiency portability and ease of use.",
5
+ "homepage": "https://igraph.org/",
6
+ "license": "GPL-2.0-or-later",
7
+ "dependencies": [
8
+ "suitesparse",
9
+ {
10
+ "name": "vcpkg-cmake",
11
+ "host": true
12
+ },
13
+ {
14
+ "name": "vcpkg-cmake-config",
15
+ "host": true
16
+ }
17
+ ],
18
+ "default-features": [
19
+ "graphml"
20
+ ],
21
+ "features": {
22
+ "graphml": {
23
+ "description": "Support for reading GraphML files",
24
+ "dependencies": [
25
+ "libxml2"
26
+ ]
27
+ },
28
+ "openmp": {
29
+ "description": "Use OpenMP parallelization in some functions"
30
+ }
31
+ }
32
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/iir1/portfile.cmake ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO berndporr/iir1
4
+ REF 1.9.0
5
+ SHA512 9dced1610fbbfd7194874e984f969880dc76df3562df575c07d022b9ac96c67334b542acea395531423dfb5b8d692b14abdaff0235f048ab6ca7221bfc57fdba
6
+ HEAD_REF master
7
+ )
8
+
9
+ vcpkg_cmake_configure(
10
+ SOURCE_PATH "${SOURCE_PATH}"
11
+ )
12
+
13
+ vcpkg_cmake_install()
14
+
15
+ vcpkg_cmake_config_fixup(PACKAGE_NAME iir CONFIG_PATH lib/cmake/iir)
16
+
17
+ vcpkg_copy_pdbs()
18
+
19
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
20
+
21
+ file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)