Skip to content
Closed
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
2edc4ee
fix pkgconf for linux
talregev May 28, 2022
66e829c
Fix dependency ogre
May 30, 2022
aa79376
add port libtar
May 30, 2022
c4e7c38
remove unnecessary dependencies
May 30, 2022
64559fd
version
May 30, 2022
7f59993
Fix freeimage
May 30, 2022
1f2be0b
Add dependency freeimage
May 30, 2022
bf46d3b
Re-fix dependency freeimage
May 31, 2022
fd9b1d9
Add dependency simbody on non-Windows
May 31, 2022
f9d49bb
Fix dependency simbody
May 31, 2022
560c29e
Merge branch 'master' of https://github.com/microsoft/vcpkg into TalR…
Jun 17, 2022
6ce4a85
Merge branch 'master' of https://github.com/microsoft/vcpkg into TalR…
Jun 24, 2022
db22d08
Fix dependency simdbody and protobuf
Jun 29, 2022
27669ab
Fix build type
Jun 29, 2022
247eea0
Add dependency opengl for tool gazebo
Jun 29, 2022
f1fb243
Add support value !linux temporary
Jul 1, 2022
954941b
versopm
Jul 1, 2022
f1eb05e
fix pkgconf for linux
talregev Jul 7, 2022
cdc066a
Fix dependency ogre
May 30, 2022
d0cea5b
add port libtar
May 30, 2022
3e1225f
remove unnecessary dependencies
May 30, 2022
5a1341a
version
May 30, 2022
5f7ca2c
Fix freeimage
May 30, 2022
3d822c4
Add dependency freeimage
May 30, 2022
4f6e799
Re-fix dependency freeimage
May 31, 2022
1694553
Add dependency simbody on non-Windows
May 31, 2022
3f01142
Fix dependency simbody
May 31, 2022
8e3db63
Fix dependency simdbody and protobuf
Jun 29, 2022
d1bba35
Fix build type
Jun 29, 2022
2c10644
Add dependency opengl for tool gazebo
Jun 29, 2022
513c471
Add support value !linux temporary
Jul 1, 2022
5995a55
versopm
Jul 1, 2022
5f2216f
fix libtar vcpkg.json file.
talregev Jul 2, 2022
7dc9f7f
Fix gazebo version
talregev Jul 2, 2022
ca66961
fix opengl def
talregev Jul 2, 2022
6aa9b5a
Merge branch 'TalR/fix_gazebo' of https://github.com/talregev/vcpkg i…
Jul 11, 2022
f8e8342
Merge branch 'master' of https://github.com/microsoft/vcpkg into TalR…
Jul 11, 2022
487219f
Update
Jul 11, 2022
efcda83
Merge branch 'master' of https://github.com/microsoft/vcpkg into TalR…
Jul 12, 2022
30902c2
Remove supports expression
Jul 12, 2022
9c81851
Fix find dependencies using pkgconfig
Jul 13, 2022
f44ae79
fix libtar description
talregev Jul 13, 2022
38c0aa1
Fix test and plugin
Jul 14, 2022
93128d8
./vcpkg x-add-version --all --overwrite-version
talregev Jul 16, 2022
aa120cb
fix freeimage dependency
talregev Jul 16, 2022
feb8d37
revert fix freeimage dependency
talregev Jul 16, 2022
278c5f2
Add feature tools, re-generate patches, fix feature tool condition
Jul 20, 2022
fbcb869
Merge branch 'master' of https://github.com/microsoft/vcpkg into TalR…
Jul 21, 2022
489ea98
Merge branch 'master' into TalR/fix_gazebo
JackBoosY Aug 4, 2022
7f42da1
Merge branch 'master' into TalR/fix_gazebo
talregev Aug 22, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 67 additions & 9 deletions ports/gazebo/0001-Fix-deps.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,44 @@
diff --git a/cmake/SearchForStuff.cmake b/cmake/SearchForStuff.cmake
index 4085b5aaeb..f89ac88333 100644
diff --git a/cmake/FindFreeimage.cmake b/cmake/FindFreeimage.cmake
index a989ec7..7cc6f44 100644
--- a/cmake/FindFreeimage.cmake
+++ b/cmake/FindFreeimage.cmake
@@ -3,7 +3,7 @@ include (${gazebo_cmake_dir}/GazeboUtils.cmake)

########################################
# Find packages
-if (PKG_CONFIG_FOUND)
+if (false)
pkg_check_modules(freeimage freeimage>=${MIN_FREEIMAGE_VERSION})
if (NOT freeimage_FOUND)
message (STATUS " freeimage.pc not found, trying freeimage_include_dir and freeimage_library_dir flags.")
@@ -11,6 +11,7 @@ if (PKG_CONFIG_FOUND)
endif (PKG_CONFIG_FOUND)

if (NOT freeimage_FOUND)
+ if (false)
find_path(freeimage_INCLUDE_DIRS FreeImage.h)
if (NOT freeimage_INCLUDE_DIRS)
message (STATUS " Looking for FreeImage.h - not found")
@@ -32,7 +33,11 @@ if (NOT freeimage_FOUND)
message (STATUS " Looking for FreeImage.h - found")
endif (NOT FREEIMAGE_RUNS)
endif (NOT freeimage_INCLUDE_DIRS)
+ endif()

+ find_package(freeimage CONFIG REQUIRED)
+ set(freeimage_LIBRARIES freeimage::FreeImage)
+ if (0)
if (WIN32)
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
find_library(freeimage_LIBRARIES FreeImaged)
@@ -49,4 +54,5 @@ if (NOT freeimage_FOUND)
message (STATUS " Looking for libfreeimage - found")
include_directories(${freeimage_INCLUDE_DIRS})
endif (NOT freeimage_LIBRARIES)
+ endif()
endif (NOT freeimage_FOUND)
diff --git a/cmake/SearchForStuff.cmake b/cmake/SearchForStuff.cmake
index 9777a46..11864ff 100644
--- a/cmake/SearchForStuff.cmake
+++ b/cmake/SearchForStuff.cmake
@@ -179,7 +179,7 @@ if (PKG_CONFIG_FOUND)
Expand All @@ -20,7 +59,26 @@ index 4085b5aaeb..f89ac88333 100644
message (STATUS "Using system tinyxml2.")
set (USE_EXTERNAL_TINYXML2 True)
elseif(WIN32)
@@ -513,7 +513,7 @@ if (PKG_CONFIG_FOUND)
@@ -329,6 +329,7 @@ if (PKG_CONFIG_FOUND)
#################################################
# Find OGRE

+ if (false)
pkg_check_modules(OGRE-RTShaderSystem
OGRE-RTShaderSystem>=${MIN_OGRE_VERSION})

@@ -375,8 +376,8 @@ if (PKG_CONFIG_FOUND)
set (OGRE_PLUGINDIR ${_pkgconfig_invoke_result})
endif()
endif()
-
- if (NOT OGRE_FOUND)
+ endif()
+ if (true)
# Workaround for CMake bug https://gitlab.kitware.com/cmake/cmake/issues/17135,
# that prevents to successfully run a find_package(<package>) call if before there
# was a failed call to pkg_check_modules(<package> <package>)
@@ -513,7 +514,7 @@ if (PKG_CONFIG_FOUND)
endif ()

if (libavutil_FOUND AND libavformat_FOUND AND libavcodec_FOUND AND
Expand All @@ -29,7 +87,7 @@ index 4085b5aaeb..f89ac88333 100644
set (HAVE_FFMPEG TRUE)
else ()
set (HAVE_FFMPEG FALSE)
@@ -538,7 +538,7 @@ if (PKG_CONFIG_FOUND)
@@ -538,7 +539,7 @@ if (PKG_CONFIG_FOUND)
########################################
# Find GNU Triangulation Surface Library
pkg_check_modules(gts gts)
Expand All @@ -38,7 +96,7 @@ index 4085b5aaeb..f89ac88333 100644
message (STATUS "Looking for GTS - found")
set (HAVE_GTS TRUE)
else ()
@@ -551,13 +551,14 @@ if (PKG_CONFIG_FOUND)
@@ -551,13 +552,14 @@ if (PKG_CONFIG_FOUND)
# First and preferred option is to look for bullet standard pkgconfig,
# so check it first. if it is not present, check for the OSRF
# custom bullet2.82.pc file
Expand All @@ -54,7 +112,7 @@ index 4085b5aaeb..f89ac88333 100644
add_definitions( -DLIBBULLET_VERSION=${BULLET_VERSION} )
else()
set (HAVE_BULLET FALSE)
@@ -572,7 +573,7 @@ if (PKG_CONFIG_FOUND)
@@ -572,7 +574,7 @@ if (PKG_CONFIG_FOUND)
########################################
# Find libusb
pkg_check_modules(libusb-1.0 libusb-1.0)
Expand All @@ -63,7 +121,7 @@ index 4085b5aaeb..f89ac88333 100644
BUILD_WARNING ("libusb-1.0 not found. USB peripherals support will be disabled.")
set (HAVE_USB OFF CACHE BOOL "HAVE USB" FORCE)
else()
@@ -648,7 +649,7 @@ endif ()
@@ -648,7 +650,7 @@ endif ()
########################################
# Find gdal
include (FindGDAL)
Expand All @@ -72,7 +130,7 @@ index 4085b5aaeb..f89ac88333 100644
message (STATUS "Looking for libgdal - not found")
BUILD_WARNING ("GDAL not found, Digital elevation terrains support will be disabled.")
set (HAVE_GDAL OFF CACHE BOOL "HAVE GDAL" FORCE)
@@ -718,7 +719,7 @@ endif()
@@ -732,7 +734,7 @@ endif()
########################################
# Find graphviz
include (${gazebo_cmake_dir}/FindGraphviz.cmake)
Expand All @@ -82,7 +140,7 @@ index 4085b5aaeb..f89ac88333 100644
BUILD_WARNING ("Graphviz not found, Model editor's schematic view will be disabled.")
set (HAVE_GRAPHVIZ OFF CACHE BOOL "HAVE GRAPHVIZ" FORCE)
diff --git a/cmake/gazebo-config.cmake.in b/cmake/gazebo-config.cmake.in
index b57a90dd76..63ce97095e 100644
index b57a90d..63ce970 100644
--- a/cmake/gazebo-config.cmake.in
+++ b/cmake/gazebo-config.cmake.in
@@ -99,12 +99,13 @@ list(APPEND @PKG_NAME@_CFLAGS -I${GAZEBO_INSTALL_INCLUDE_DIR}/gazebo-@GAZEBO_MAJ
Expand Down
4 changes: 2 additions & 2 deletions ports/gazebo/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ vcpkg_add_to_path("${CURRENT_INSTALLED_DIR}/bin")
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DUSE_EXTERNAL_TINY_PROCESS_LIBRARY=ON
-DPKG_CONFIG_EXECUTABLE=${CURRENT_HOST_INSTALLED_DIR}/tools/pkgconf/pkgconf.exe
${FEATURE_OPTIONS}
-DUSE_EXTERNAL_TINY_PROCESS_LIBRARY=ON
"-DPKG_CONFIG_EXECUTABLE=${CURRENT_HOST_INSTALLED_DIR}/tools/pkgconf/pkgconf${VCPKG_HOST_EXECUTABLE_SUFFIX}"
-DBUILD_TESTING=OFF # Not enabled by default, but to be sure
)

Expand Down
11 changes: 10 additions & 1 deletion ports/gazebo/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gazebo",
"version-date": "2022-01-20",
"port-version": 1,
"port-version": 2,
"description": "Open source robotics simulator.",
"homepage": "http://gazebosim.org",
"license": "Apache-2.0",
Expand All @@ -19,6 +19,7 @@
"boost-thread",
"boost-uuid",
"ccd",
"freeimage",
{
"name": "hdf5",
"features": [
Expand All @@ -30,6 +31,10 @@
"ignition-math6",
"ignition-msgs5",
"ignition-transport8",
{
"name": "libtar",
"platform": "!windows"
},
"ogre",
{
"name": "pkgconf",
Expand All @@ -38,6 +43,10 @@
"protobuf",
"qwt",
"sdformat9",
{
"name": "simbody",
"platform": "!windows"
},
"tbb",
"tiny-process-library",
{
Expand Down
15 changes: 15 additions & 0 deletions ports/libtar/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
vcpkg_from_git(
OUT_SOURCE_PATH SOURCE_PATH
URL https://repo.or.cz/libtar.git
REF 50dcdd27a33444b974d940ed5f225a2444e5aeba
)

vcpkg_configure_make(
SOURCE_PATH "${SOURCE_PATH}"
)

vcpkg_install_make()

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")

file(INSTALL "${SOURCE_PATH}/COPYRIGHT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
8 changes: 8 additions & 0 deletions ports/libtar/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "libtar",
"version": "1.2.20",
"description": "TRE is a lightweight, robust, and efficient POSIX compliant regexp matching library with some exciting features such as approximate (fuzzy) matching.",
Comment thread
talregev marked this conversation as resolved.
Outdated
"homepage": "https://github.com/laurikari/tre",
"license": "ICU",
"supports": "!windows"
}
1 change: 0 additions & 1 deletion scripts/ci.baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ ftgl:x64-uwp=fail
functions-framework-cpp:x64-uwp=fail
fuzzylite:x64-osx=fail

gazebo:x64-linux=fail
# gsoap does not offer stable public source downloads
gsoap:x64-windows = skip
gsoap:x86-windows = skip
Expand Down
6 changes: 5 additions & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2430,7 +2430,7 @@
},
"gazebo": {
"baseline": "2022-01-20",
"port-version": 1
"port-version": 2
},
"gcem": {
"baseline": "1.14.1",
Expand Down Expand Up @@ -4072,6 +4072,10 @@
"baseline": "3.25",
"port-version": 0
},
"libtar": {
"baseline": "1.2.20",
"port-version": 0
},
"libtasn1": {
"baseline": "4.17.0",
"port-version": 3
Expand Down
5 changes: 5 additions & 0 deletions versions/g-/gazebo.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "0575eb88760d8605617cd01db94b58444afccccc",
"version-date": "2022-01-20",
"port-version": 2
},
{
"git-tree": "702a7de5c38ff156813a73a32eac6c7ca73248e4",
"version-date": "2022-01-20",
Expand Down
9 changes: 9 additions & 0 deletions versions/l-/libtar.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "a5593040e54dad7cd9a5b276ce458e6a435fb0b9",
"version": "1.2.20",
"port-version": 0
}
]
}