diff --git a/.ci_support/win_64_.yaml b/.ci_support/win_64_.yaml index e8a62efb..bdd15b3a 100644 --- a/.ci_support/win_64_.yaml +++ b/.ci_support/win_64_.yaml @@ -29,5 +29,3 @@ qt: - '5.12' target_platform: - win-64 -tbb_devel: -- '2020' diff --git a/recipe/2906.patch b/recipe/2906.patch deleted file mode 100644 index 5a86ad14..00000000 --- a/recipe/2906.patch +++ /dev/null @@ -1,36 +0,0 @@ -From d05c6a0782bf02651a8e1d971fc42601a6adfb15 Mon Sep 17 00:00:00 2001 -From: Silvio Traversaro -Date: Sat, 12 Dec 2020 15:57:49 +0100 -Subject: [PATCH] Fix find_package(gazebo) on Windows - -Fix https://github.com/osrf/gazebo/issues/2905 ---- - CMakeLists.txt | 15 +++++++++++++-- - 1 file changed, 13 insertions(+), 2 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 84489b6f9f..277aac87e1 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -434,8 +434,19 @@ else (build_errors) - # Order is important, if A depends on B, please add B after A. - # The list should have at the very end the libraries - # without internal interdependencies -- set(PKG_LIBRARIES -- gazebo -+ -+ # The gazebo library on Windows is called libgazebo to avoid -+ # conflicts with the gazebo executable -+ if(NOT WIN32) -+ set(PKG_LIBRARIES -+ gazebo -+ ) -+ else() -+ set(PKG_LIBRARIES -+ libgazebo -+ ) -+ endif() -+ set(PKG_LIBRARIES ${PKG_LIBRARIES} - gazebo_client - gazebo_gui - gazebo_sensors diff --git a/recipe/bld.bat b/recipe/bld.bat index 0e5cae1d..a7b2eece 100644 --- a/recipe/bld.bat +++ b/recipe/bld.bat @@ -17,6 +17,7 @@ cmake ^ -DTBB_INCLUDEDIR=%LIBRARY_PREFIX%\include ^ -DTBB_LIBRARY_DIR=%LIBRARY_PREFIX%\lib ^ -DUSE_EXTERNAL_TINY_PROCESS_LIBRARY=ON ^ + -DHAVE_OPENAL:BOOL=OFF ^ %SRC_DIR% if errorlevel 1 exit 1 diff --git a/recipe/build.sh b/recipe/build.sh index 8199cfe9..11a67531 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -8,7 +8,8 @@ cmake .. \ -DCMAKE_INSTALL_PREFIX=$PREFIX \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBoost_NO_BOOST_CMAKE=OFF \ - -DBoost_DEBUG=OFF + -DBoost_DEBUG=OFF \ + -DHAVE_OPENAL:BOOL=OFF cmake --build . --config $BUILD_TYPE -- -j$CPU_COUNT cmake --build . --config $BUILD_TYPE --target install diff --git a/recipe/cmake_129_workaround.patch b/recipe/cmake_129_workaround.patch deleted file mode 100644 index 6a33ea3b..00000000 --- a/recipe/cmake_129_workaround.patch +++ /dev/null @@ -1,29 +0,0 @@ -From dfea6a5a16660177af31884c5ffa13d2009bbd5a Mon Sep 17 00:00:00 2001 -From: Silvio Traversaro -Date: Sun, 29 Nov 2020 19:24:43 +0100 -Subject: [PATCH] Do not overwrite default linker flags - ---- - cmake/DefaultCFlags.cmake | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/cmake/DefaultCFlags.cmake b/cmake/DefaultCFlags.cmake -index ca02ba295d..a6a11b5fd8 100644 ---- a/cmake/DefaultCFlags.cmake -+++ b/cmake/DefaultCFlags.cmake -@@ -37,10 +37,10 @@ endif() - - ##################################### - # Set all the global build flags --set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}") --set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}") --set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}") --set (CMAKE_MODULE_LINKER_FLAGS "${CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}") -+set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}") -+set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}") -+set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}") -+set (CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE_UPPERCASE}}") - - # Compiler-specific C++11 activation. - if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") - diff --git a/recipe/disable-openal.patch b/recipe/disable-openal.patch deleted file mode 100644 index fd43378e..00000000 --- a/recipe/disable-openal.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/cmake/SearchForStuff.cmake b/cmake/SearchForStuff.cmake -index 3d87f4305d..ee4978c4db 100644 ---- a/cmake/SearchForStuff.cmake -+++ b/cmake/SearchForStuff.cmake -@@ -71,13 +71,14 @@ else () - endif () - - ######################################## --include (FindOpenAL) --if (NOT OPENAL_FOUND) -- BUILD_WARNING ("OpenAL not found, audio support will be disabled.") -- set (HAVE_OPENAL OFF CACHE BOOL "HAVE OpenAL" FORCE) --else () -- set (HAVE_OPENAL ON CACHE BOOL "HAVE OpenAL" FORCE) --endif () -+# include (FindOpenAL) -+# if (NOT OPENAL_FOUND) -+# BUILD_WARNING ("OpenAL not found, audio support will be disabled.") -+# set (HAVE_OPENAL OFF CACHE BOOL "HAVE OpenAL" FORCE) -+# else () -+# set (HAVE_OPENAL ON CACHE BOOL "HAVE OpenAL" FORCE) -+# endif () -+set (HAVE_OPENAL OFF CACHE BOOL "HAVE OpenAL" FORCE) - - ######################################## - find_package(HDF5 COMPONENTS C CXX) diff --git a/recipe/fix_boost_include.patch b/recipe/fix_boost_include.patch deleted file mode 100644 index 807e1dba..00000000 --- a/recipe/fix_boost_include.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff --git a/plugins/SimpleTrackedVehiclePlugin.cc b/plugins/SimpleTrackedVehiclePlugin.cc -index f7890c0ed0..33bb9cf0ba 100644 ---- a/plugins/SimpleTrackedVehiclePlugin.cc -+++ b/plugins/SimpleTrackedVehiclePlugin.cc -@@ -29,6 +29,7 @@ - - #include "plugins/SimpleTrackedVehiclePlugin.hh" - -+#if BOOST_VERSION < 107300 - namespace std { - template - class hash> { -@@ -37,6 +38,7 @@ class hash> { - } - }; - } -+#endif - - namespace gazebo - { - -diff --git a/gazebo/gui/ConfigWidget.cc b/gazebo/gui/ConfigWidget.cc -index 5fd736adfc..9128404852 100644 ---- a/gazebo/gui/ConfigWidget.cc -+++ b/gazebo/gui/ConfigWidget.cc -@@ -15,6 +15,8 @@ - * - */ - -+#include -+ - #include - #include - #include - diff --git a/recipe/fix_build.patch b/recipe/fix_build.patch index df05583f..ff1e2e12 100644 --- a/recipe/fix_build.patch +++ b/recipe/fix_build.patch @@ -1,16 +1,3 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 7322874cdc..4fc5c596c1 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -283,7 +283,7 @@ endif() - - # Visual Studio enables c++11 support by default - if (NOT MSVC) -- set(UNFILTERED_FLAGS "-std=c++11") -+ set(UNFILTERED_FLAGS "-std=c++17") - endif() - - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${VALID_CXX_FLAGS} ${UNFILTERED_FLAGS}") diff --git a/cmake/SearchForStuff.cmake b/cmake/SearchForStuff.cmake index 2b79fd4be3..d55e8ce8e3 100644 --- a/cmake/SearchForStuff.cmake @@ -79,15 +66,3 @@ index 4fa403cfde..b571840557 100644 if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" AND "${CMAKE_SYSTEM_NAME}" MATCHES "Darwin") -diff --git a/plugins/rest_web/RestApi.cc b/plugins/rest_web/RestApi.cc -index 06790ae3b5..0f5cd85a90 100644 ---- a/plugins/rest_web/RestApi.cc -+++ b/plugins/rest_web/RestApi.cc -@@ -18,7 +18,7 @@ - #include - #include - #include --#include -+#include - - #include "RestApi.hh" diff --git a/recipe/link_openal.patch b/recipe/link_openal.patch deleted file mode 100644 index 6f08d112..00000000 --- a/recipe/link_openal.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 075c13de5c5553f6290c1a53a39d9165fc8cfd76 Mon Sep 17 00:00:00 2001 -From: Silvio Traversaro -Date: Tue, 2 Mar 2021 19:13:27 +0100 -Subject: [PATCH] Fix missing link to OpenAL in gazebo_util library - ---- - gazebo/util/CMakeLists.txt | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/gazebo/util/CMakeLists.txt b/gazebo/util/CMakeLists.txt -index 2c69f2b250..5831fc1aab 100644 ---- a/gazebo/util/CMakeLists.txt -+++ b/gazebo/util/CMakeLists.txt -@@ -85,6 +85,10 @@ target_link_libraries(gazebo_util - ${IGNITION-MSGS_LIBRARIES} - ) - -+if (HAVE_OPENAL) -+ target_link_libraries(gazebo_util ${OPENAL_LIBRARY}) -+endif() -+ - # define if tinxml2 major version >= 6 - # https://github.com/ignitionrobotics/ign-common/issues/28 - if (NOT tinyxml2_VERSION VERSION_LESS "6.0.0") - diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 5fac6027..3e0da521 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,5 +1,5 @@ {% set name = "gazebo" %} -{% set version = "11.3.0" %} +{% set version = "11.4.0" %} package: name: {{ name }} @@ -7,17 +7,14 @@ package: source: - url: https://github.com/osrf/{{ name }}/archive/{{ name }}{{ version.split('.')[0] }}_{{ version }}.tar.gz - sha256: b3c14fc1a123be2992b880efa11d362d3d06c77d8c9624a14c487357ec7623f1 + sha256: 7ea73e73115a27092ed502351c00ef43413ffc0cf53970a49605dabf5b3c0c62 patches: - fix_build.patch # [unix] - use-external-libs-config.patch - normalize-ogre-path.patch - - cmake_129_workaround.patch # [unix] - - 2906.patch - - disable-openal.patch build: - number: 11 + number: 0 skip: false run_exports: - {{ pin_subpackage('gazebo', max_pin='x') }} @@ -58,7 +55,7 @@ requirements: - libignition-cmake2 - libignition-math6 - libignition-transport8 - - libignition-common3 + - libignition-common3 - libignition-fuel-tools4 - qt - ogre 1.10.* diff --git a/recipe/qwt-fix.patch b/recipe/qwt-fix.patch deleted file mode 100644 index 9927c1aa..00000000 --- a/recipe/qwt-fix.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- gazebo/gui/plot/qwt_gazebo.h -+++ gazebo/gui/plot/qwt_gazebo.h -@@ -23,24 +23,24 @@ - #pragma clang diagnostic push - #pragma clang diagnostic ignored "-Wfloat-equal" - --#include --#include --#include --#include --#include --#include --#include --#include --#include --#include --#include --#include --#include --#include --#include --#include --#include --#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include - - #pragma clang diagnostic pop -