[gentoo-commits] repo/proj/guru:dev commit in: sci-libs/dart/
commit: c205c4604e1b40836de233fa6108e546c5eb Author: Andrew Ammerlaan gentoo org> AuthorDate: Thu Sep 8 10:23:21 2022 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Thu Sep 8 10:23:21 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c205c460 sci-libs/dart: quote ED variables Signed-off-by: Andrew Ammerlaan gentoo.org> sci-libs/dart/dart-6.12.1-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-libs/dart/dart-6.12.1-r2.ebuild b/sci-libs/dart/dart-6.12.1-r2.ebuild index 29966aa83..1bb3e986c 100644 --- a/sci-libs/dart/dart-6.12.1-r2.ebuild +++ b/sci-libs/dart/dart-6.12.1-r2.ebuild @@ -160,7 +160,7 @@ src_install() { # use python && cmake_build install-dartpy mv "${ED}/usr/share/doc/dart/data" "${ED}/usr/share/${PN}" || die if [[ -d "${ED}/usr/share/doc/dart" ]] ; then - if [[ "$(ls -A ${ED}/usr/share/doc/dart)" ]] ; then + if [[ "$(ls -A "${ED}"/usr/share/doc/dart)" ]] ; then mv "${ED}"/usr/share/doc/dart/* "${ED}/usr/share/doc/${PF}" || die fi fi
[gentoo-commits] repo/proj/guru:dev commit in: sci-libs/dart/
commit: c66c7f7266ece446a486e46f08ae1dd48af59a60 Author: Alessandro Barbieri gmail com> AuthorDate: Tue Jun 7 09:01:51 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Tue Jun 7 12:01:46 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c66c7f72 sci-libs/dart: add subslot rebuild Signed-off-by: Alessandro Barbieri gmail.com> sci-libs/dart/dart-6.12.1-r2.ebuild | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sci-libs/dart/dart-6.12.1-r2.ebuild b/sci-libs/dart/dart-6.12.1-r2.ebuild index 88cfb066a..29966aa83 100644 --- a/sci-libs/dart/dart-6.12.1-r2.ebuild +++ b/sci-libs/dart/dart-6.12.1-r2.ebuild @@ -30,25 +30,25 @@ cpu_flags_ppc_altivec cpu_flags_arm_neon cpu_flags_arm_iwmmxt cpu_flags_arm_iwmm RDEPEND=" app-arch/lz4 >=dev-cpp/eigen-3.0.5 - dev-games/ode + dev-games/ode:= dev-libs/boost:= - dev-libs/tinyxml2 - dev-libs/urdfdom + dev-libs/tinyxml2:= + dev-libs/urdfdom:= >=media-libs/assimp-3.0.0:= media-libs/freeglut media-libs/imgui:=[glut(-),opengl(-)] - media-libs/lodepng:= + media-libs/lodepng >=sci-libs/libccd-2.0 - >=sci-libs/fcl-0.2.9 + >=sci-libs/fcl-0.2.9:= sci-libs/flann - sci-libs/ipopt + sci-libs/ipopt:= >=sci-libs/nlopt-2.4.1 - sci-libs/octomap - sci-physics/bullet + sci-libs/octomap:= + sci-physics/bullet:= virtual/opengl examples? ( dev-cpp/tiny-dnn:= ) - osg? ( dev-games/openscenegraph ) + osg? ( dev-games/openscenegraph:= ) python? ( ${PYTHON_DEPS} $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')
[gentoo-commits] repo/proj/guru:dev commit in: sci-libs/dart/
commit: d020edd81b09f3a0ac57d4128863701f01158f6f Author: Alessandro Barbieri gmail com> AuthorDate: Sun Jun 5 13:14:21 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Sun Jun 5 20:57:58 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d020edd8 sci-libs/dart: add some subslot rebuild Signed-off-by: Alessandro Barbieri gmail.com> sci-libs/dart/dart-6.12.1-r2.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sci-libs/dart/dart-6.12.1-r2.ebuild b/sci-libs/dart/dart-6.12.1-r2.ebuild index d1e91fb44..88cfb066a 100644 --- a/sci-libs/dart/dart-6.12.1-r2.ebuild +++ b/sci-libs/dart/dart-6.12.1-r2.ebuild @@ -31,10 +31,10 @@ RDEPEND=" app-arch/lz4 >=dev-cpp/eigen-3.0.5 dev-games/ode - dev-libs/boost + dev-libs/boost:= dev-libs/tinyxml2 dev-libs/urdfdom - >=media-libs/assimp-3.0.0 + >=media-libs/assimp-3.0.0:= media-libs/freeglut media-libs/imgui:=[glut(-),opengl(-)] media-libs/lodepng:= @@ -47,7 +47,7 @@ RDEPEND=" sci-physics/bullet virtual/opengl - examples? ( dev-cpp/tiny-dnn ) + examples? ( dev-cpp/tiny-dnn:= ) osg? ( dev-games/openscenegraph ) python? ( ${PYTHON_DEPS}
[gentoo-commits] repo/proj/guru:dev commit in: sci-libs/dart/
commit: c095b9684f8fe35cc92fff9a2fd3fc6d4b62a950 Author: Alessandro Barbieri gmail com> AuthorDate: Tue May 3 20:11:34 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Tue May 3 20:21:35 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c095b968 sci-libs/dart: reduce number of useflags Signed-off-by: Alessandro Barbieri gmail.com> sci-libs/dart/Manifest | 1 - sci-libs/dart/dart-6.10.1-r2.ebuild| 91 -- ...dart-6.12.1-r1.ebuild => dart-6.12.1-r2.ebuild} | 50 sci-libs/dart/metadata.xml | 9 +-- 4 files changed, 18 insertions(+), 133 deletions(-) diff --git a/sci-libs/dart/Manifest b/sci-libs/dart/Manifest index 46b234018..c5e174080 100644 --- a/sci-libs/dart/Manifest +++ b/sci-libs/dart/Manifest @@ -1,2 +1 @@ -DIST dart-6.10.1.tar.gz 15867405 BLAKE2B 64c42ce1d808a88df53f4292df30c0bc58b52f864342ac0b353ad0496d41bd4986ad231cb08869058a16591350acf0fc0c12ae15d574d919c1c27f102028f608 SHA512 8abbf883628442ed5166e436349de8caaaf72a0ecfa88e75b986a550d617bd9b5df8ff32e32395e941ba12b7ad359be15b2ab2f566d99aa6c603bd0ebade1df0 DIST dart-6.12.1.tar.gz 15990308 BLAKE2B d361dfad70745aa3747ea09f9f80a0b52051cb3e5d9a961995d469ab33086bf8d4068f95dbd4af8d0e2b23d5fbb0fa49dc63d823ffa52bbe750745093a6b54eb SHA512 f386f646f13989dad66efbe126691553b280bf6441edad1c03059d6ae650384652da538edd3d27f3404ba76b9d6f9348e5b1c0998d7673e856cc488b91a677ff diff --git a/sci-libs/dart/dart-6.10.1-r2.ebuild b/sci-libs/dart/dart-6.10.1-r2.ebuild deleted file mode 100644 index d475a1738..0 --- a/sci-libs/dart/dart-6.10.1-r2.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit cmake python-single-r1 - -DESCRIPTION="Dynamic Animation and Robotics Toolkit" -HOMEPAGE="https://dartsim.github.io"; -SRC_URI="https://github.com/dartsim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="bullet doc examples extras glut +ipopt +nlopt ode openscenegraph python test tests tutorials urdfdom" -#TODO: pagmo -#TODO: unbundle imgui -RESTRICT="!test? ( test )" - -PATCHES=( "${FILESDIR}/${PN}-respect-ldflags.patch" ) -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - - || ( ipopt nlopt ) -" - -RDEPEND=" - app-arch/lz4 - >=dev-cpp/eigen-3.0.5 - dev-libs/boost - dev-libs/tinyxml2 - >=sci-libs/libccd-2.0 - >=media-libs/assimp-3.0.0 - >=sci-libs/fcl-0.2.9 - sci-libs/flann - sci-libs/octomap - virtual/opengl - x11-libs/libXi - x11-libs/libXmu - - bullet? ( sci-physics/bullet ) - examples? ( dev-games/openscenegraph ) - glut? ( media-libs/freeglut ) - ipopt? ( sci-libs/ipopt ) - nlopt? ( >=sci-libs/nlopt-2.4.1 ) - ode? ( dev-games/ode ) - openscenegraph? ( dev-games/openscenegraph ) - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/pybind11[${PYTHON_USEDEP}] - ') - ) - urdfdom? ( dev-libs/urdfdom ) -" -DEPEND=" - ${RDEPEND} - urdfdom? ( dev-libs/urdfdom_headers ) -" -BDEPEND="doc? ( app-doc/doxygen )" - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_configure() { - local mycmakeargs=( - -DDART_VERBOSE=ON - - -DDART_BUILD_DARTPY=$(usex python) - -DDART_BUILD_EXTRAS=$(usex extras) - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - use examples && cmake_build examples - use python && cmake_build dartpy # no work to do ... - use test && cmake_build tests - use tutorials && cmake_build tutorials -} - -src_install() { - cmake_src_install - #TODO: python examples tests tutorials - mv "${ED}/usr/share/doc/dart" "${ED}/usr/share/doc/${PF}" || die - docompress -x "/usr/share/doc/${PF}" -} diff --git a/sci-libs/dart/dart-6.12.1-r1.ebuild b/sci-libs/dart/dart-6.12.1-r2.ebuild similarity index 84% rename from sci-libs/dart/dart-6.12.1-r1.ebuild rename to sci-libs/dart/dart-6.12.1-r2.ebuild index 9d972ee8f..9fbd064b4 100644 --- a/sci-libs/dart/dart-6.12.1-r1.ebuild +++ b/sci-libs/dart/dart-6.12.1-r2.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/dartsim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64" -IUSE="bullet doc examples extras glut gui +ipopt +nlopt ode python test tests tutorials urdfdom +IUSE="doc examples extras osg python test tutorials cpu_flags_x86_mmx cpu_flags_x86_mmxext cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4a cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x8
[gentoo-commits] repo/proj/guru:dev commit in: sci-libs/dart/
commit: d8a747ec3f9f0bdd2466b907b618ea8b7b6d5b75 Author: Alessandro Barbieri gmail com> AuthorDate: Sun Apr 24 15:21:27 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Sun Apr 24 16:01:14 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d8a747ec sci-libs/dart: mv only if files found Closes: https://bugs.gentoo.org/840466 Signed-off-by: Alessandro Barbieri gmail.com> sci-libs/dart/dart-6.12.1-r1.ebuild | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sci-libs/dart/dart-6.12.1-r1.ebuild b/sci-libs/dart/dart-6.12.1-r1.ebuild index 58aa8a47e..9d972ee8f 100644 --- a/sci-libs/dart/dart-6.12.1-r1.ebuild +++ b/sci-libs/dart/dart-6.12.1-r1.ebuild @@ -176,6 +176,10 @@ src_install() { fi # use python && cmake_build install-dartpy mv "${ED}/usr/share/doc/dart/data" "${ED}/usr/share/${PN}" || die - mv "${ED}"/usr/share/doc/dart/* "${ED}/usr/share/doc/${PF}" || die + if [[ -d "${ED}/usr/share/doc/dart" ]] ; then + if [[ "$(ls -A ${ED}/usr/share/doc/dart)" ]] ; then + mv "${ED}"/usr/share/doc/dart/* "${ED}/usr/share/doc/${PF}" || die + fi + fi docompress -x "/usr/share/doc/${PF}" }
[gentoo-commits] repo/proj/guru:dev commit in: sci-libs/dart/, sci-libs/dart/files/
commit: 8983c9529f931d9e61c41e5d863b881d7cf95ac3 Author: Alessandro Barbieri gmail com> AuthorDate: Sat Apr 23 00:52:47 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Sat Apr 23 01:52:55 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8983c952 sci-libs/dart: fix examples/tutorials installation Signed-off-by: Alessandro Barbieri gmail.com> .../{dart-6.12.1.ebuild => dart-6.12.1-r1.ebuild} | 36 -- .../files/dart-6.12.1-no-deprecated-examples.patch | 9 ++ 2 files changed, 35 insertions(+), 10 deletions(-) diff --git a/sci-libs/dart/dart-6.12.1.ebuild b/sci-libs/dart/dart-6.12.1-r1.ebuild similarity index 83% rename from sci-libs/dart/dart-6.12.1.ebuild rename to sci-libs/dart/dart-6.12.1-r1.ebuild index 9186f3021..58aa8a47e 100644 --- a/sci-libs/dart/dart-6.12.1.ebuild +++ b/sci-libs/dart/dart-6.12.1-r1.ebuild @@ -5,6 +5,8 @@ EAPI=8 PYTHON_COMPAT=( python3_{8..10} ) +CMAKE_BUILD_TYPE="Release" + inherit cmake python-single-r1 DESCRIPTION="Dynamic Animation and Robotics Toolkit" @@ -45,7 +47,7 @@ RDEPEND=" glut? ( media-libs/freeglut ) gui? ( dev-games/openscenegraph - media-libs/imgui:=[opengl(-)] + media-libs/imgui:=[glut(-)?,opengl(-)] media-libs/lodepng:= virtual/opengl x11-libs/libXi @@ -67,10 +69,7 @@ DEPEND=" dev-cpp/gtest dev-libs/urdfdom_headers ) - test? ( - dev-cpp/gtest - python? ( $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]') ) - ) + test? ( dev-cpp/gtest ) urdfdom? ( dev-libs/urdfdom_headers ) " BDEPEND=" @@ -81,6 +80,7 @@ BDEPEND=" RESTRICT="!test? ( test )" PATCHES=( + "${FILESDIR}/${P}-no-deprecated-examples.patch" "${FILESDIR}/${PN}-respect-ldflags.patch" "${FILESDIR}/${P}-respect-cflags.patch" "${FILESDIR}/${P}-use-system-gtest.patch" @@ -88,6 +88,7 @@ PATCHES=( ) REQUIRED_USE=" examples? ( gui ) + gui? ( glut ) python? ( ${PYTHON_REQUIRED_USE} gui @@ -101,9 +102,11 @@ pkg_setup() { } src_prepare() { - # delete bundled gtest + # delete bundled libs rm -r unittests/gtest || die rm -r dart/external/{imgui,lodepng} || die + # delete deprecated examples + rm -r examples/deprecated_examples || die dos2unix unittests/CMakeLists.txt || die cmake_src_prepare } @@ -135,9 +138,10 @@ src_configure() { use cpu_flags_arm_iwmmxt2 && simd=ON use cpu_flags_arm_neon && simd=ON + export ODE_DIR="${EPREFIX}/usr" + local mycmakeargs=( -DBUILD_SHARED_LIBS=ON - -DCMAKE_BUILD_TYPE=Release -DDART_CODECOV=OFF -DDART_VERBOSE=ON -DDART_TREAT_WARNINGS_AS_ERRORS=OFF @@ -152,14 +156,26 @@ src_configure() { src_compile() { cmake_src_compile use examples && cmake_build examples - use python && cmake_build dartpy # no work to do ... + use python && cmake_build dartpy use test && cmake_build tests use tutorials && cmake_build tutorials } src_install() { cmake_src_install - #TODO: python examples tests tutorials - mv "${ED}/usr/share/doc/dart" "${ED}/usr/share/doc/${PF}" || die + #TODO: python (?) + if ! use examples ; then + rm -rf "${ED}/usr/share/doc/dart/examples" || die + fi + if ! use tutorials ; then + rm -rf "${ED}/usr/share/doc/dart/tutorials" || die + fi + if use examples || use tutorials ; then + exeinto "/usr/libexec/${PN}" + doexe "${BUILD_DIR}"/bin/* + fi +# use python && cmake_build install-dartpy + mv "${ED}/usr/share/doc/dart/data" "${ED}/usr/share/${PN}" || die + mv "${ED}"/usr/share/doc/dart/* "${ED}/usr/share/doc/${PF}" || die docompress -x "/usr/share/doc/${PF}" } diff --git a/sci-libs/dart/files/dart-6.12.1-no-deprecated-examples.patch b/sci-libs/dart/files/dart-6.12.1-no-deprecated-examples.patch new file mode 100644 index 0..a16045d94 --- /dev/null +++ b/sci-libs/dart/files/dart-6.12.1-no-deprecated-examples.patch @@ -0,0 +1,9 @@ +--- a/examples/CMakeLists.txt b/examples/CMakeLists.txt +@@ -27,6 +27,3 @@ + + # MJCF model based examples + add_subdirectory(fetch) +- +-# Deprecated examples +-add_subdirectory(deprecated_examples)
[gentoo-commits] repo/proj/guru:dev commit in: sci-libs/dart/
commit: 7fac7a7c93298b7a7bd3a74dd0d694da6077dc36 Author: Alessandro Barbieri gmail com> AuthorDate: Tue Mar 29 09:47:31 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Tue Mar 29 09:47:31 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7fac7a7c sci-libs/dart: add gtest dep for extras Signed-off-by: Alessandro Barbieri gmail.com> sci-libs/dart/dart-6.12.1.ebuild | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sci-libs/dart/dart-6.12.1.ebuild b/sci-libs/dart/dart-6.12.1.ebuild index aac4ae640..9186f3021 100644 --- a/sci-libs/dart/dart-6.12.1.ebuild +++ b/sci-libs/dart/dart-6.12.1.ebuild @@ -63,7 +63,10 @@ RDEPEND=" DEPEND=" ${RDEPEND} examples? ( dev-libs/urdfdom_headers ) - extras? ( dev-libs/urdfdom_headers ) + extras? ( + dev-cpp/gtest + dev-libs/urdfdom_headers + ) test? ( dev-cpp/gtest python? ( $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]') )
[gentoo-commits] repo/proj/guru:dev commit in: sci-libs/dart/, sci-libs/dart/files/
commit: ef1f64452bc61dc3139696482eef10e875e331b9 Author: Alessandro Barbieri gmail com> AuthorDate: Sun Mar 27 20:26:32 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Sun Mar 27 21:28:24 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ef1f6445 sci-libs/dart: add 6.12.1 Signed-off-by: Alessandro Barbieri gmail.com> sci-libs/dart/Manifest | 1 + sci-libs/dart/dart-6.12.1.ebuild | 162 + .../dart/files/dart-6.12.1-respect-cflags.patch| 11 ++ .../dart/files/dart-6.12.1-use-system-gtest.patch | 31 .../dart-6.12.1-use-system-lodepng-imgui.patch | 149 +++ sci-libs/dart/metadata.xml | 1 + 6 files changed, 355 insertions(+) diff --git a/sci-libs/dart/Manifest b/sci-libs/dart/Manifest index 461c20c15..46b234018 100644 --- a/sci-libs/dart/Manifest +++ b/sci-libs/dart/Manifest @@ -1 +1,2 @@ DIST dart-6.10.1.tar.gz 15867405 BLAKE2B 64c42ce1d808a88df53f4292df30c0bc58b52f864342ac0b353ad0496d41bd4986ad231cb08869058a16591350acf0fc0c12ae15d574d919c1c27f102028f608 SHA512 8abbf883628442ed5166e436349de8caaaf72a0ecfa88e75b986a550d617bd9b5df8ff32e32395e941ba12b7ad359be15b2ab2f566d99aa6c603bd0ebade1df0 +DIST dart-6.12.1.tar.gz 15990308 BLAKE2B d361dfad70745aa3747ea09f9f80a0b52051cb3e5d9a961995d469ab33086bf8d4068f95dbd4af8d0e2b23d5fbb0fa49dc63d823ffa52bbe750745093a6b54eb SHA512 f386f646f13989dad66efbe126691553b280bf6441edad1c03059d6ae650384652da538edd3d27f3404ba76b9d6f9348e5b1c0998d7673e856cc488b91a677ff diff --git a/sci-libs/dart/dart-6.12.1.ebuild b/sci-libs/dart/dart-6.12.1.ebuild new file mode 100644 index 0..aac4ae640 --- /dev/null +++ b/sci-libs/dart/dart-6.12.1.ebuild @@ -0,0 +1,162 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit cmake python-single-r1 + +DESCRIPTION="Dynamic Animation and Robotics Toolkit" +HOMEPAGE=" + https://dartsim.github.io + https://github.com/dartsim/dart +" +SRC_URI="https://github.com/dartsim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="bullet doc examples extras glut gui +ipopt +nlopt ode python test tests tutorials urdfdom +cpu_flags_x86_mmx cpu_flags_x86_mmxext cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 +cpu_flags_x86_ssse3 cpu_flags_x86_sse4a cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx +cpu_flags_x86_avx2 cpu_flags_x86_avx512dq cpu_flags_x86_avx512f cpu_flags_x86_avx512vl +cpu_flags_x86_3dnow cpu_flags_x86_3dnowext cpu_flags_ppc_vsx cpu_flags_ppc_vsx2 cpu_flags_ppc_vsx3 +cpu_flags_ppc_altivec cpu_flags_arm_neon cpu_flags_arm_iwmmxt cpu_flags_arm_iwmmxt2 cpu_flags_arm_neon" +#TODO: pagmo + +RDEPEND=" + app-arch/lz4 + >=dev-cpp/eigen-3.0.5 + dev-libs/boost + dev-libs/tinyxml2 + >=sci-libs/libccd-2.0 + >=media-libs/assimp-3.0.0 + >=sci-libs/fcl-0.2.9 + sci-libs/flann + sci-libs/octomap + + bullet? ( sci-physics/bullet ) + examples? ( + dev-cpp/tiny-dnn + dev-libs/urdfdom + ) + extras? ( dev-libs/urdfdom ) + glut? ( media-libs/freeglut ) + gui? ( + dev-games/openscenegraph + media-libs/imgui:=[opengl(-)] + media-libs/lodepng:= + virtual/opengl + x11-libs/libXi + x11-libs/libXmu + ) + ipopt? ( sci-libs/ipopt ) + nlopt? ( >=sci-libs/nlopt-2.4.1 ) + ode? ( dev-games/ode ) + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]') + ) + urdfdom? ( dev-libs/urdfdom ) +" +DEPEND=" + ${RDEPEND} + examples? ( dev-libs/urdfdom_headers ) + extras? ( dev-libs/urdfdom_headers ) + test? ( + dev-cpp/gtest + python? ( $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]') ) + ) + urdfdom? ( dev-libs/urdfdom_headers ) +" +BDEPEND=" + app-text/dos2unix + doc? ( app-doc/doxygen ) + test? ( python? ( $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]') ) ) +" + +RESTRICT="!test? ( test )" +PATCHES=( + "${FILESDIR}/${PN}-respect-ldflags.patch" + "${FILESDIR}/${P}-respect-cflags.patch" + "${FILESDIR}/${P}-use-system-gtest.patch" + "${FILESDIR}/${P}-use-system-lodepng-imgui.patch" +) +REQUIRED_USE=" + examples? ( gui ) + python? ( + ${PYTHON_REQUIRED_USE} + gui + ) + + || ( ipopt nlopt ) +" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + # delete bundled gtest + rm -r unittests/gtest || die + rm -r dart/external/{imgui,lodepng} || die + dos2unix unittests/C
[gentoo-commits] repo/proj/guru:dev commit in: sci-libs/dart/files/, sci-libs/dart/
commit: bc0713ed1c017d0fd46ee9ae30a755c0852e65db Author: Alessandro Barbieri gmail com> AuthorDate: Tue Sep 7 10:44:49 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Tue Sep 7 10:47:50 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bc0713ed sci-libs/dart: respect LDFLAGS Closes: https://bugs.gentoo.org/791418 Signed-off-by: Alessandro Barbieri gmail.com> sci-libs/dart/dart-6.10.1-r2.ebuild| 13 +++-- sci-libs/dart/files/dart-respect-ldflags.patch | 11 +++ sci-libs/dart/metadata.xml | 1 + 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/sci-libs/dart/dart-6.10.1-r2.ebuild b/sci-libs/dart/dart-6.10.1-r2.ebuild index a0947f03b..d475a1738 100644 --- a/sci-libs/dart/dart-6.10.1-r2.ebuild +++ b/sci-libs/dart/dart-6.10.1-r2.ebuild @@ -14,10 +14,12 @@ SRC_URI="https://github.com/dartsim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64" -IUSE="bullet doc examples extras glut +ipopt +nlopt ode openscenegraph python test tutorials urdfdom" +IUSE="bullet doc examples extras glut +ipopt +nlopt ode openscenegraph python test tests tutorials urdfdom" #TODO: pagmo +#TODO: unbundle imgui RESTRICT="!test? ( test )" +PATCHES=( "${FILESDIR}/${PN}-respect-ldflags.patch" ) REQUIRED_USE=" python? ( ${PYTHON_REQUIRED_USE} ) @@ -28,7 +30,6 @@ RDEPEND=" app-arch/lz4 >=dev-cpp/eigen-3.0.5 dev-libs/boost - dev-libs/tinyxml dev-libs/tinyxml2 >=sci-libs/libccd-2.0 >=media-libs/assimp-3.0.0 @@ -76,10 +77,10 @@ src_configure() { src_compile() { cmake_src_compile - use examples && cmake_src_compile examples -# use python && cmake_src_compile dartpy -# use test && cmake_src_compile tests -# use tutorials && cmake_src_compile tutorials + use examples && cmake_build examples + use python && cmake_build dartpy # no work to do ... + use test && cmake_build tests + use tutorials && cmake_build tutorials } src_install() { diff --git a/sci-libs/dart/files/dart-respect-ldflags.patch b/sci-libs/dart/files/dart-respect-ldflags.patch new file mode 100644 index 0..0fa4397cd --- /dev/null +++ b/sci-libs/dart/files/dart-respect-ldflags.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -220,7 +220,7 @@ + endif() + set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE} ${CMAKE_CXX_FLAGS_DEBUG}") + set(CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_DEBUG} -pg") +- set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined") ++ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined") + + # Enforce to colorize compilation output + if(${DART_FORCE_COLORED_OUTPUT}) diff --git a/sci-libs/dart/metadata.xml b/sci-libs/dart/metadata.xml index 98e526744..486eef082 100644 --- a/sci-libs/dart/metadata.xml +++ b/sci-libs/dart/metadata.xml @@ -17,6 +17,7 @@ NLopt Optimization Support ODE Collision Detector Support OpenSceneGraph GUI and examples + Build the tests Build the tutorials URDF parser
[gentoo-commits] repo/proj/guru:dev commit in: sci-libs/dart/
commit: 1caf2d9fef31e76fc6771b3d874d9900e595368c Author: Alessandro Barbieri gmail com> AuthorDate: Sat Jul 10 04:08:51 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Sat Jul 10 04:08:51 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1caf2d9f sci-libs/dart: fix doc install path Closes: https://bugs.gentoo.org/800974 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri gmail.com> sci-libs/dart/{dart-6.10.1-r1.ebuild => dart-6.10.1-r2.ebuild} | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sci-libs/dart/dart-6.10.1-r1.ebuild b/sci-libs/dart/dart-6.10.1-r2.ebuild similarity index 92% rename from sci-libs/dart/dart-6.10.1-r1.ebuild rename to sci-libs/dart/dart-6.10.1-r2.ebuild index 9c8461607..a0947f03b 100644 --- a/sci-libs/dart/dart-6.10.1-r1.ebuild +++ b/sci-libs/dart/dart-6.10.1-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit cmake python-single-r1 @@ -44,14 +44,14 @@ RDEPEND=" glut? ( media-libs/freeglut ) ipopt? ( sci-libs/ipopt ) nlopt? ( >=sci-libs/nlopt-2.4.1 ) + ode? ( dev-games/ode ) + openscenegraph? ( dev-games/openscenegraph ) python? ( ${PYTHON_DEPS} $(python_gen_cond_dep ' dev-python/pybind11[${PYTHON_USEDEP}] ') ) - ode? ( dev-games/ode ) - openscenegraph? ( dev-games/openscenegraph ) urdfdom? ( dev-libs/urdfdom ) " DEPEND=" @@ -85,6 +85,6 @@ src_compile() { src_install() { cmake_src_install #TODO: python examples tests tutorials - mv "${ED}/usr/share/doc/dart" "${ED}/usr/share/doc/${P}" || die - docompress -x "/usr/share/doc/${P}" + mv "${ED}/usr/share/doc/dart" "${ED}/usr/share/doc/${PF}" || die + docompress -x "/usr/share/doc/${PF}" }
[gentoo-commits] repo/proj/guru:dev commit in: sci-libs/dart/
commit: 6e545bb1ea40479bc0c3792a23fd44462a17a3a7 Author: Andrew Ammerlaan gentoo org> AuthorDate: Wed May 19 20:35:32 2021 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Wed May 19 20:35:32 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6e545bb1 sci-libs/dart: fix typo Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> sci-libs/dart/dart-6.10.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-libs/dart/dart-6.10.1-r1.ebuild b/sci-libs/dart/dart-6.10.1-r1.ebuild index 4775af2f8..9c8461607 100644 --- a/sci-libs/dart/dart-6.10.1-r1.ebuild +++ b/sci-libs/dart/dart-6.10.1-r1.ebuild @@ -16,7 +16,7 @@ SLOT="0" KEYWORDS="~amd64" IUSE="bullet doc examples extras glut +ipopt +nlopt ode openscenegraph python test tutorials urdfdom" #TODO: pagmo -RESTRIC="!test? ( test )" +RESTRICT="!test? ( test )" REQUIRED_USE=" python? ( ${PYTHON_REQUIRED_USE} )
[gentoo-commits] repo/proj/guru:dev commit in: sci-libs/dart/
commit: 4f83fa147bbc26d65c4159a03de4f0c831489007 Author: Alessandro Barbieri gmail com> AuthorDate: Wed May 19 19:59:22 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Wed May 19 20:00:18 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f83fa14 sci-libs/dart: remove tests from metadata Signed-off-by: Alessandro Barbieri gmail.com> sci-libs/dart/metadata.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/sci-libs/dart/metadata.xml b/sci-libs/dart/metadata.xml index 486eef082..98e526744 100644 --- a/sci-libs/dart/metadata.xml +++ b/sci-libs/dart/metadata.xml @@ -17,7 +17,6 @@ NLopt Optimization Support ODE Collision Detector Support OpenSceneGraph GUI and examples - Build the tests Build the tutorials URDF parser
[gentoo-commits] repo/proj/guru:dev commit in: sci-libs/dart/
commit: ddb397be87e7c39398d587dbd1b0fb28e440304a Author: Alessandro Barbieri gmail com> AuthorDate: Wed May 19 17:35:01 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Wed May 19 17:36:04 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ddb397be sci-libs/dart: improved dependencies, WIP Signed-off-by: Alessandro Barbieri gmail.com> .../{dart-6.10.1.ebuild => dart-6.10.1-r1.ebuild}| 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/sci-libs/dart/dart-6.10.1.ebuild b/sci-libs/dart/dart-6.10.1-r1.ebuild similarity index 76% rename from sci-libs/dart/dart-6.10.1.ebuild rename to sci-libs/dart/dart-6.10.1-r1.ebuild index 8a66abbff..4775af2f8 100644 --- a/sci-libs/dart/dart-6.10.1.ebuild +++ b/sci-libs/dart/dart-6.10.1-r1.ebuild @@ -14,8 +14,9 @@ SRC_URI="https://github.com/dartsim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64" -IUSE="bullet examples extras glut ipopt +nlopt ode openscenegraph python tests tutorials urdfdom" +IUSE="bullet doc examples extras glut +ipopt +nlopt ode openscenegraph python test tutorials urdfdom" #TODO: pagmo +RESTRIC="!test? ( test )" REQUIRED_USE=" python? ( ${PYTHON_REQUIRED_USE} ) @@ -41,9 +42,14 @@ RDEPEND=" bullet? ( sci-physics/bullet ) examples? ( dev-games/openscenegraph ) glut? ( media-libs/freeglut ) - ipopt? ( >=sci-libs/ipopt-3.11.9 ) + ipopt? ( sci-libs/ipopt ) nlopt? ( >=sci-libs/nlopt-2.4.1 ) - python? ( ${PYTHON_DEPS} ) + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/pybind11[${PYTHON_USEDEP}] + ') + ) ode? ( dev-games/ode ) openscenegraph? ( dev-games/openscenegraph ) urdfdom? ( dev-libs/urdfdom ) @@ -52,6 +58,7 @@ DEPEND=" ${RDEPEND} urdfdom? ( dev-libs/urdfdom_headers ) " +BDEPEND="doc? ( app-doc/doxygen )" pkg_setup() { use python && python-single-r1_pkg_setup @@ -69,9 +76,10 @@ src_configure() { src_compile() { cmake_src_compile -# use examples && emake examples -# use tests && emake tests -# use tutorials && emake tutorials + use examples && cmake_src_compile examples +# use python && cmake_src_compile dartpy +# use test && cmake_src_compile tests +# use tutorials && cmake_src_compile tutorials } src_install() {
[gentoo-commits] repo/proj/guru:dev commit in: sci-libs/dart/
commit: 9adc0ea1222632d9b65a23fe5e3641f5e5e0f252 Author: Alessandro Barbieri gmail com> AuthorDate: Tue May 18 01:19:11 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Tue May 18 01:19:46 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9adc0ea1 sci-libs/dart: new package WIP Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri gmail.com> sci-libs/dart/Manifest | 1 + sci-libs/dart/dart-6.10.1.ebuild | 82 sci-libs/dart/metadata.xml | 24 3 files changed, 107 insertions(+) diff --git a/sci-libs/dart/Manifest b/sci-libs/dart/Manifest new file mode 100644 index 0..461c20c15 --- /dev/null +++ b/sci-libs/dart/Manifest @@ -0,0 +1 @@ +DIST dart-6.10.1.tar.gz 15867405 BLAKE2B 64c42ce1d808a88df53f4292df30c0bc58b52f864342ac0b353ad0496d41bd4986ad231cb08869058a16591350acf0fc0c12ae15d574d919c1c27f102028f608 SHA512 8abbf883628442ed5166e436349de8caaaf72a0ecfa88e75b986a550d617bd9b5df8ff32e32395e941ba12b7ad359be15b2ab2f566d99aa6c603bd0ebade1df0 diff --git a/sci-libs/dart/dart-6.10.1.ebuild b/sci-libs/dart/dart-6.10.1.ebuild new file mode 100644 index 0..8a66abbff --- /dev/null +++ b/sci-libs/dart/dart-6.10.1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit cmake python-single-r1 + +DESCRIPTION="Dynamic Animation and Robotics Toolkit" +HOMEPAGE="https://dartsim.github.io"; +SRC_URI="https://github.com/dartsim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="bullet examples extras glut ipopt +nlopt ode openscenegraph python tests tutorials urdfdom" +#TODO: pagmo + +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) + + || ( ipopt nlopt ) +" + +RDEPEND=" + app-arch/lz4 + >=dev-cpp/eigen-3.0.5 + dev-libs/boost + dev-libs/tinyxml + dev-libs/tinyxml2 + >=sci-libs/libccd-2.0 + >=media-libs/assimp-3.0.0 + >=sci-libs/fcl-0.2.9 + sci-libs/flann + sci-libs/octomap + virtual/opengl + x11-libs/libXi + x11-libs/libXmu + + bullet? ( sci-physics/bullet ) + examples? ( dev-games/openscenegraph ) + glut? ( media-libs/freeglut ) + ipopt? ( >=sci-libs/ipopt-3.11.9 ) + nlopt? ( >=sci-libs/nlopt-2.4.1 ) + python? ( ${PYTHON_DEPS} ) + ode? ( dev-games/ode ) + openscenegraph? ( dev-games/openscenegraph ) + urdfdom? ( dev-libs/urdfdom ) +" +DEPEND=" + ${RDEPEND} + urdfdom? ( dev-libs/urdfdom_headers ) +" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DDART_VERBOSE=ON + + -DDART_BUILD_DARTPY=$(usex python) + -DDART_BUILD_EXTRAS=$(usex extras) + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile +# use examples && emake examples +# use tests && emake tests +# use tutorials && emake tutorials +} + +src_install() { + cmake_src_install + #TODO: python examples tests tutorials + mv "${ED}/usr/share/doc/dart" "${ED}/usr/share/doc/${P}" || die + docompress -x "/usr/share/doc/${P}" +} diff --git a/sci-libs/dart/metadata.xml b/sci-libs/dart/metadata.xml new file mode 100644 index 0..486eef082 --- /dev/null +++ b/sci-libs/dart/metadata.xml @@ -0,0 +1,24 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + lssndrbarbi...@gmail.com + Alessandro Barbieri + + + https://github.com/dartsim/dart/issues + dartsim/dart + + + Bullet Collision Detector Support + Build the examples + Build the experimental projects that are derived from the core DART project + IPopt Optimization Support + NLopt Optimization Support + ODE Collision Detector Support + OpenSceneGraph GUI and examples + Build the tests + Build the tutorials + URDF parser + +