diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-30 11:44:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-30 11:44:06 +0100 |
commit | f516638b7fe9592837389826a6152a7e1b251c54 (patch) | |
tree | 8bfecb640b7b6403d7a3d662d923eed630033da7 /sci-electronics/gazebo | |
parent | 1a61119f9f7b057830e2ce0563f913ec86f282ad (diff) |
gentoo resync : 30.05.2020
Diffstat (limited to 'sci-electronics/gazebo')
-rw-r--r-- | sci-electronics/gazebo/Manifest | 4 | ||||
-rw-r--r-- | sci-electronics/gazebo/files/boost173.patch | 135 | ||||
-rw-r--r-- | sci-electronics/gazebo/files/cmake.patch | 24 | ||||
-rw-r--r-- | sci-electronics/gazebo/gazebo-11.0.0.ebuild | 80 |
4 files changed, 243 insertions, 0 deletions
diff --git a/sci-electronics/gazebo/Manifest b/sci-electronics/gazebo/Manifest index cfa34d6d5ddf..5495a61611af 100644 --- a/sci-electronics/gazebo/Manifest +++ b/sci-electronics/gazebo/Manifest @@ -1,6 +1,10 @@ +AUX boost173.patch 7177 BLAKE2B 45b8b5bda4274727bf9e55ab5a7d3eb1ccc403a91f1a6988fb2f6cc3c02a13c1d7cb921a483d793d2f6cb78a23724407a33dc40a6bcadd77c0b9e1b7f104bef9 SHA512 a7caa36a35087db455e06bf745d4b4e2ba20ddc4396a6e6998b609a6c9f0d0806630d1c38bae6da6ef264a9a4cfa8219d39e8f54fb88f6a1cb8d7d0927e649fb +AUX cmake.patch 699 BLAKE2B 64edc9a3e51952ca5e15488a4fa148028d77bbb3a294937d9df263e8f0d78c59e6d2a40574534aa12911d79b8871901ff5fd16af236f32f0e580b7e86a3f8198 SHA512 95693482c14ddbc759af20c7ef30d1660e8630b21cf52d15ca14e8ef08d3631483c736e67423e2cabf1a8c8b834e8e25ece8a7bd15f71b38853b71d2fdcbce8f AUX oal.patch 653 BLAKE2B 22389b9ac60c471905140e5001f3a43bfeab878633d70e2476242112e55994bde8eea0fc58be39b331b5e9ebacf5f470cb0d1829cab49994bdbfcbf23daf79c3 SHA512 883f752c43b7bf05d23850184130a93667c1e4e98adbaa48da468abce4601cfc42f4c9d8f78a9ff6b1332c1bbdaf5655fa9fbfcc4586420f74097e7d6fd97016 AUX qtmoc.patch 1176 BLAKE2B d1397e9cd3787c933b43f86d5638971a0806f24496063950fccaad268593eec213e81051cbc035993ac973f3a236941821b2b88e97d6d5d2f366abb3caf8c10d SHA512 35077f09d2e138cfaeec0805a0c6c88b0fb28b863af61283b88002930cf6b26b351d9911d48e9bff253f6e5fce4255fb0cf4426e8a7b459d530dd10c934e9772 AUX qwt.patch 2136 BLAKE2B 3ab69581d1dac006ebd493c82bebee7df34fc00accf7957411a143ce1ba6fffebdffe3468ada7c1e51375cb55adca5d1b28c7a6d1708355d60508f85422e2494 SHA512 4a9edac8565bc7a77644d9b6adeec61187c34dcf72f309066eb6575de7baef5cb59668c70bf5b51fb22a8e5bad00da4d664d279b1d22aae5dbb8fe07f69ae91b DIST gazebo-10.1.0.tar.bz2 52723379 BLAKE2B c7902c1797efef80b3110e988e1c01d171f652803a2ac28b880d5a01e2f981655db2d9925263030948d351e95af39d435b8618bf703f56a29033db05f0b29e2f SHA512 8febea84240eeb2367d783b36e4c626145ccf13177837ccb73b6ed87f8b264a337c6f8dc53d8583ce5d903b6152eaa5234ec2015ee292a1681800af2800d9eb7 +DIST gazebo-11.0.0.tar.bz2 53806265 BLAKE2B 0658bdfd7d1f130767bd38cc2b33379f66f8cd92a9e6496581cd660638fb0307f87af19bcd5bd9ec2edb2be980e964297241ab4c1cec855751fdd7b394c717e9 SHA512 7c6cbb17c52829bb553f57a4bc2d515211aefa105d97cd5e71ff239244e49312562af1c901dac6c88b982986dd1318c0bb780c0a68f10ce78f25e12f031ba934 EBUILD gazebo-10.1.0.ebuild 1883 BLAKE2B 9b883c5acad6ddf919dc90e62033b5765c44ada1baf2895cd88eabe27fed50bfcf01215bd6864c90064cbe445eabd03f9b0f1872c8c39f7546e1c5a28d086de6 SHA512 7fb81bb5907891630607cc5f1132ad0ba57edaf3dd988cd0eadc42de79901f8dc780d8a8b27ba0c218272593988f66a690cf3f60d6b1843c8d635f346fc9bd17 +EBUILD gazebo-11.0.0.ebuild 1874 BLAKE2B 73dc639ada965f845ef175f1f0d4b47ba822656fafcb75ee74d9438b1a3fbe76fb629291e06f51ece553da22153aafb5f59d3a1ec8c8f71d5b2c111862635e4c SHA512 afaea2b8c4b95cd2d05cf2ae0723b2aee602fedcd554d98b0ca7cbf6bf7a23062f4345ef78fc244060b372dece3efc84bb14a430d1838f1cb12dd89fd3cf8663 MISC metadata.xml 243 BLAKE2B 13c40383778472fec33f877963b2be8d44c354e5449e3ac38dfba06cb38e4cfb6a63d5d73c5acb1e02a1c8ee783131c46c8b56eb14de786de7f77635f15d18d7 SHA512 c9d5c1cdd2874fe293f21f7584c6e15ef9439bd82b0d2e862e3e34c9a9e0e3191370fee2727b9d4d8647fb85cf56a39fdd6c1e0003ada1554496aad311ef335c diff --git a/sci-electronics/gazebo/files/boost173.patch b/sci-electronics/gazebo/files/boost173.patch new file mode 100644 index 000000000000..618f6f1b5349 --- /dev/null +++ b/sci-electronics/gazebo/files/boost173.patch @@ -0,0 +1,135 @@ +Index: gazebo-11.0.0/gazebo/gui/model/ModelTreeWidget.cc +=================================================================== +--- gazebo-11.0.0.orig/gazebo/gui/model/ModelTreeWidget.cc ++++ gazebo-11.0.0/gazebo/gui/model/ModelTreeWidget.cc +@@ -162,7 +162,7 @@ ModelTreeWidget::ModelTreeWidget(QWidget + // Connections + this->connections.push_back( + gui::model::Events::ConnectSaveModel( +- boost::bind(&ModelTreeWidget::OnSaveModel, this, _1))); ++ boost::bind(&ModelTreeWidget::OnSaveModel, this, boost::placeholders::_1))); + + this->connections.push_back( + gui::model::Events::ConnectNewModel( +@@ -170,11 +170,11 @@ ModelTreeWidget::ModelTreeWidget(QWidget + + this->connections.push_back( + gui::model::Events::ConnectModelPropertiesChanged( +- boost::bind(&ModelTreeWidget::OnModelPropertiesChanged, this, _1, _2))); ++ boost::bind(&ModelTreeWidget::OnModelPropertiesChanged, this, boost::placeholders::_1, boost::placeholders::_2))); + + this->connections.push_back( + gui::model::Events::ConnectModelNameChanged( +- boost::bind(&ModelTreeWidget::OnModelNameChanged, this, _1))); ++ boost::bind(&ModelTreeWidget::OnModelNameChanged, this, boost::placeholders::_1))); + + this->connections.push_back( + gui::model::Events::ConnectNestedModelInserted( +@@ -183,51 +183,51 @@ ModelTreeWidget::ModelTreeWidget(QWidget + + this->connections.push_back( + gui::model::Events::ConnectLinkInserted( +- boost::bind(&ModelTreeWidget::OnLinkInserted, this, _1))); ++ boost::bind(&ModelTreeWidget::OnLinkInserted, this, boost::placeholders::_1))); + + this->connections.push_back( + gui::model::Events::ConnectJointInserted( +- boost::bind(&ModelTreeWidget::OnJointInserted, this, _1, _2, _3, _4))); ++ boost::bind(&ModelTreeWidget::OnJointInserted, this, boost::placeholders::_1, boost::placeholders::_2, boost::placeholders::_3, boost::placeholders::_4))); + + this->connections.push_back( + gui::model::Events::ConnectModelPluginInserted( +- boost::bind(&ModelTreeWidget::OnModelPluginInserted, this, _1))); ++ boost::bind(&ModelTreeWidget::OnModelPluginInserted, this, boost::placeholders::_1))); + + this->connections.push_back( + gui::model::Events::ConnectNestedModelRemoved( +- boost::bind(&ModelTreeWidget::OnNestedModelRemoved, this, _1))); ++ boost::bind(&ModelTreeWidget::OnNestedModelRemoved, this, boost::placeholders::_1))); + + this->connections.push_back( + gui::model::Events::ConnectLinkRemoved( +- boost::bind(&ModelTreeWidget::OnLinkRemoved, this, _1))); ++ boost::bind(&ModelTreeWidget::OnLinkRemoved, this, boost::placeholders::_1))); + + this->connections.push_back( + gui::model::Events::ConnectJointRemoved( +- boost::bind(&ModelTreeWidget::OnJointRemoved, this, _1))); ++ boost::bind(&ModelTreeWidget::OnJointRemoved, this, boost::placeholders::_1))); + + this->connections.push_back( + gui::model::Events::ConnectModelPluginRemoved( +- boost::bind(&ModelTreeWidget::OnModelPluginRemoved, this, _1))); ++ boost::bind(&ModelTreeWidget::OnModelPluginRemoved, this, boost::placeholders::_1))); + + this->connections.push_back( + gui::model::Events::ConnectJointNameChanged( +- boost::bind(&ModelTreeWidget::OnJointNameChanged, this, _1, _2))); ++ boost::bind(&ModelTreeWidget::OnJointNameChanged, this, boost::placeholders::_1, boost::placeholders::_2))); + + this->connections.push_back( + event::Events::ConnectSetSelectedEntity( +- boost::bind(&ModelTreeWidget::OnDeselectAll, this, _1, _2))); ++ boost::bind(&ModelTreeWidget::OnDeselectAll, this, boost::placeholders::_1, boost::placeholders::_2))); + + this->connections.push_back( + gui::model::Events::ConnectSetSelectedEntity( +- boost::bind(&ModelTreeWidget::OnSetSelectedEntity, this, _1, _2))); ++ boost::bind(&ModelTreeWidget::OnSetSelectedEntity, this, boost::placeholders::_1, boost::placeholders::_2))); + + this->connections.push_back( + gui::model::Events::ConnectSetSelectedJoint( +- boost::bind(&ModelTreeWidget::OnSetSelectedJoint, this, _1, _2))); ++ boost::bind(&ModelTreeWidget::OnSetSelectedJoint, this, boost::placeholders::_1, boost::placeholders::_2))); + + this->connections.push_back( + gui::model::Events::ConnectSetSelectedModelPlugin( +- boost::bind(&ModelTreeWidget::OnSetSelectedModelPlugin, this, _1, _2))); ++ boost::bind(&ModelTreeWidget::OnSetSelectedModelPlugin, this, boost::placeholders::_1, boost::placeholders::_2))); + + this->ClearModelTree(); + } +Index: gazebo-11.0.0/gazebo/gui/model/SchematicViewWidget.cc +=================================================================== +--- gazebo-11.0.0.orig/gazebo/gui/model/SchematicViewWidget.cc ++++ gazebo-11.0.0/gazebo/gui/model/SchematicViewWidget.cc +@@ -83,31 +83,31 @@ void SchematicViewWidget::Reset() + void SchematicViewWidget::Init() + { + this->connections.push_back(gui::model::Events::ConnectLinkInserted( +- boost::bind(&SchematicViewWidget::AddNode, this, _1))); ++ boost::bind(&SchematicViewWidget::AddNode, this, boost::placeholders::_1))); + + this->connections.push_back(gui::model::Events::ConnectLinkRemoved( +- boost::bind(&SchematicViewWidget::RemoveNode, this, _1))); ++ boost::bind(&SchematicViewWidget::RemoveNode, this, boost::placeholders::_1))); + + this->connections.push_back(gui::model::Events::ConnectJointInserted( +- boost::bind(&SchematicViewWidget::AddEdge, this, _1, _2, _3, _4, _5))); ++ boost::bind(&SchematicViewWidget::AddEdge, this, boost::placeholders::_1, boost::placeholders::_2, boost::placeholders::_3, boost::placeholders::_4, boost::placeholders::_5))); + + this->connections.push_back(gui::model::Events::ConnectJointRemoved( +- boost::bind(&SchematicViewWidget::RemoveEdge, this, _1))); ++ boost::bind(&SchematicViewWidget::RemoveEdge, this, boost::placeholders::_1))); + + this->connections.push_back(gui::model::Events::ConnectJointChanged( +- boost::bind(&SchematicViewWidget::UpdateEdge, this, _1, _2, _3, _4, _5))); ++ boost::bind(&SchematicViewWidget::UpdateEdge, this, boost::placeholders::_1, boost::placeholders::_2, boost::placeholders::_3, boost::placeholders::_4, boost::placeholders::_5))); + + this->connections.push_back( + event::Events::ConnectSetSelectedEntity( +- boost::bind(&SchematicViewWidget::OnDeselectAll, this, _1, _2))); ++ boost::bind(&SchematicViewWidget::OnDeselectAll, this, boost::placeholders::_1, boost::placeholders::_2))); + + this->connections.push_back( + gui::model::Events::ConnectSetSelectedEntity( +- boost::bind(&SchematicViewWidget::OnSetSelectedEntity, this, _1, _2))); ++ boost::bind(&SchematicViewWidget::OnSetSelectedEntity, this, boost::placeholders::_1, boost::placeholders::_2))); + + this->connections.push_back( + gui::model::Events::ConnectSetSelectedJoint( +- boost::bind(&SchematicViewWidget::OnSetSelectedJoint, this, _1, _2))); ++ boost::bind(&SchematicViewWidget::OnSetSelectedJoint, this, boost::placeholders::_1, boost::placeholders::_2))); + } + + ///////////////////////////////////////////////// diff --git a/sci-electronics/gazebo/files/cmake.patch b/sci-electronics/gazebo/files/cmake.patch new file mode 100644 index 000000000000..192a4c9c571d --- /dev/null +++ b/sci-electronics/gazebo/files/cmake.patch @@ -0,0 +1,24 @@ +From 9fe44347eac29da2afe6e49646310a51641d3182 Mon Sep 17 00:00:00 2001 +From: Silvio Traversaro <silvio.traversaro@iit.it> +Date: Sun, 15 Mar 2020 16:24:17 +0000 +Subject: [PATCH] Fix problem with automoc in CMake 3.17 + +--- + CMakeLists.txt | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e93d65cc52..51f072bc8a 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -5,6 +5,10 @@ if(COMMAND CMAKE_POLICY) + CMAKE_POLICY(SET CMP0004 NEW) + endif(COMMAND CMAKE_POLICY) + ++if(POLICY CMP0100) ++ cmake_policy(SET CMP0100 NEW) ++endif() ++ + project (Gazebo) + string (TOLOWER ${PROJECT_NAME} PROJECT_NAME_LOWER) + string (TOUPPER ${PROJECT_NAME} PROJECT_NAME_UPPER) diff --git a/sci-electronics/gazebo/gazebo-11.0.0.ebuild b/sci-electronics/gazebo/gazebo-11.0.0.ebuild new file mode 100644 index 000000000000..d0014afc5573 --- /dev/null +++ b/sci-electronics/gazebo/gazebo-11.0.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils flag-o-matic + +DESCRIPTION="A 3D multiple robot simulator with dynamics" +HOMEPAGE="http://gazebosim.org/" +SRC_URI="https://osrf-distributions.s3.amazonaws.com/gazebo/releases/${P}.tar.bz2" + +LICENSE="Apache-2.0" +# Subslot = major version = soname of libs +SLOT="0/11" +KEYWORDS="~amd64" +IUSE="cpu_flags_x86_sse2 test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/protobuf-2:= + virtual/opengl + media-libs/openal + net-misc/curl + dev-libs/tinyxml + >=dev-libs/tinyxml2-6:= + dev-libs/libtar + dev-cpp/tbb + >=dev-games/ogre-1.7.4:=[freeimage] + <dev-games/ogre-1.10 + >=media-libs/freeimage-3.15.4[png] + sci-libs/libccd + >=media-video/ffmpeg-2.6:0= + sci-libs/gts + >=sci-physics/bullet-2.82 + >=dev-libs/sdformat-9.1:= + dev-qt/qtwidgets:5 + dev-qt/qtcore:5 + dev-qt/qtopengl:5 + dev-libs/boost:=[threads] + sci-libs/gdal:= + virtual/libusb:1 + dev-libs/libspnav + media-libs/freeimage + sci-libs/hdf5:=[cxx] + sys-apps/util-linux + media-gfx/graphviz + net-libs/ignition-msgs:5= + sci-libs/ignition-math:6= + net-libs/ignition-transport:8= + sci-libs/ignition-common:3= + sci-libs/ignition-fuel-tools:4= + x11-libs/qwt:6=[qt5(+)] +" +DEPEND="${RDEPEND} + dev-qt/qttest:5 + x11-apps/mesa-progs + test? ( dev-libs/libxslt ) +" +BDEPEND=" + app-text/ronn + app-arch/gzip + virtual/pkgconfig +" +CMAKE_BUILD_TYPE=RelWithDebInfo +PATCHES=( "${FILESDIR}/qwt.patch" "${FILESDIR}/boost173.patch" "${FILESDIR}/cmake.patch" ) + +src_configure() { + # doesnt build with as-needed + #append-ldflags "-Wl,--no-as-needed" + + local mycmakeargs=( + "-DUSE_UPSTREAM_CFLAGS=OFF" + "-DSSE2_FOUND=$(usex cpu_flags_x86_sse2 TRUE FALSE)" + "-DUSE_HOST_CFLAGS=FALSE" + "-DBUILD_TESTING=$(usex test TRUE FALSE)" + "-DENABLE_SCREEN_TESTS=FALSE" + "-DUSE_EXTERNAL_TINYXML2=TRUE" + ) + cmake-utils_src_configure +} |