[gentoo-commits] repo/gentoo:master commit in: sci-libs/orocos_kdl/
commit: 27722b173205693d6c6a514501a99d7006b58106 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Dec 18 11:25:19 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Dec 18 16:11:44 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27722b17 sci-libs/orocos_kdl: drop 1.5.0 Overshadowed by newer stable version. Signed-off-by: Andreas Sturmlechner gentoo.org> sci-libs/orocos_kdl/Manifest| 1 - sci-libs/orocos_kdl/orocos_kdl-1.5.0.ebuild | 73 - 2 files changed, 74 deletions(-) diff --git a/sci-libs/orocos_kdl/Manifest b/sci-libs/orocos_kdl/Manifest index c36020bca434..6da107deeaef 100644 --- a/sci-libs/orocos_kdl/Manifest +++ b/sci-libs/orocos_kdl/Manifest @@ -1,2 +1 @@ -DIST orocos_kinematics_dynamics-1.5.0.tar.gz 251515 BLAKE2B 53c14354b0833867b6fd030cde91c9524b6f0537ea0d0f3977e7aeb8482030edd5723a571030e8b78e4d6d01eba38c6a8e5c49d66c49c4b1b0f2e7a3d8159c74 SHA512 5fc9c336d6ed31ad59a5bdf6ee06444cac29beae090b9026b34f35a3cb4cdf1cd6c33af621205b8d6a5201070e679531c8b5bbdeb8a91cd1d8061153b0e47e49 DIST orocos_kinematics_dynamics-1.5.1.tar.gz 251074 BLAKE2B 6be8171c3ce3bc6613fc342b8d3c772de766bfab78c5530364339ce2f9c4a37e6bc5519482f30939b210d9cb9e7899b3da66784a5c301653493212bc690917a8 SHA512 9774b76b755ea81168390643813789783f60d0b1cdb46cd250e3e0d27f75a6cf2fd3bfd2081c04e30a14ff4fc70d0080c9b43b82ee181c2dda82f23f052b338d diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.5.0.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.5.0.ebuild deleted file mode 100644 index bb20a06d821c.. --- a/sci-libs/orocos_kdl/orocos_kdl-1.5.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Kinematics and Dynamics Library (KDL)" -HOMEPAGE="https://www.orocos.org/kdl; - -if [[ ${PV} = * ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/orocos/orocos_kinematics_dynamics; - S="${WORKDIR}/${P}/${PN}" -else - SRC_URI="https://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz" - KEYWORDS="~amd64 ~arm ~x86" - S="${WORKDIR}/orocos_kinematics_dynamics-${PV}/${PN}" -fi - -LICENSE="LGPL-2.1" -SLOT="0/15" -IUSE="doc examples models test" -REQUIRED_USE="examples? ( models )" -RESTRICT="!test? ( test )" - -RDEPEND="dev-cpp/eigen:3" -DEPEND="${RDEPEND}" -BDEPEND=" - doc? ( app-doc/doxygen[dot] ) - test? ( dev-util/cppunit ) -" - -src_configure() { - # disable catkin support - sed -e 's/find_package(catkin/find_package(NoTcatkin/' -i CMakeLists.txt || die - local mycmakeargs=( - -DBUILD_MODELS=$(usex models ON OFF) - -DENABLE_EXAMPLES=$(usex examples) - -DENABLE_TESTS=$(usex test) - ) - if use examples; then - mycmakeargs+=( - -DBUILD_MODELS_DEMO=ON - ) - fi - cmake_src_configure -} - -src_compile() { - cmake_src_compile - if use doc; then - cmake_build docs - rm "${BUILD_DIR}/doc/kdl.tag" || die - fi -} - -src_test() { - pushd "${BUILD_DIR}" > /dev/null || die - eninja check - popd > /dev/null || die -} - -src_install() { - use doc && local HTML_DOCS=( "${BUILD_DIR}/doc/api/html/." ) - cmake_src_install - - if use examples; then - docompress -x /usr/share/doc/${PF}/examples - docinto examples - dodoc -r "${S}"/examples/. - fi -}
[gentoo-commits] repo/gentoo:master commit in: sci-libs/orocos_kdl/
commit: b4e7bab8e81e9cee177d8430c5e9b4e6ae9ef5f4 Author: Joonas Niilola gentoo org> AuthorDate: Thu May 19 12:10:53 2022 + Commit: Joonas Niilola gentoo org> CommitDate: Thu May 19 12:10:53 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4e7bab8 sci-libs/orocos_kdl: Stabilize 1.5.1 amd64, #829841 Signed-off-by: Joonas Niilola gentoo.org> sci-libs/orocos_kdl/orocos_kdl-1.5.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.5.1.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.5.1.ebuild index bb20a06d821c..a0120f6e86a1 100644 --- a/sci-libs/orocos_kdl/orocos_kdl-1.5.1.ebuild +++ b/sci-libs/orocos_kdl/orocos_kdl-1.5.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ if [[ ${PV} = * ]]; then S="${WORKDIR}/${P}/${PN}" else SRC_URI="https://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz" - KEYWORDS="~amd64 ~arm ~x86" + KEYWORDS="amd64 ~arm ~x86" S="${WORKDIR}/orocos_kinematics_dynamics-${PV}/${PN}" fi
[gentoo-commits] repo/gentoo:master commit in: sci-libs/orocos_kdl/
commit: c42e3b9020b12de193409e939111ef9919828461 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Nov 3 06:24:44 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Nov 3 06:53:04 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c42e3b90 sci-libs/orocos_kdl: add 1.5.1 All tests pass, and reviewed upstream commits Straight ebuild copy from ebuild Signed-off-by: Arthur Zamarin gentoo.org> sci-libs/orocos_kdl/Manifest| 1 + sci-libs/orocos_kdl/orocos_kdl-1.5.1.ebuild | 73 + 2 files changed, 74 insertions(+) diff --git a/sci-libs/orocos_kdl/Manifest b/sci-libs/orocos_kdl/Manifest index 4e6fd68874c..c36020bca43 100644 --- a/sci-libs/orocos_kdl/Manifest +++ b/sci-libs/orocos_kdl/Manifest @@ -1 +1,2 @@ DIST orocos_kinematics_dynamics-1.5.0.tar.gz 251515 BLAKE2B 53c14354b0833867b6fd030cde91c9524b6f0537ea0d0f3977e7aeb8482030edd5723a571030e8b78e4d6d01eba38c6a8e5c49d66c49c4b1b0f2e7a3d8159c74 SHA512 5fc9c336d6ed31ad59a5bdf6ee06444cac29beae090b9026b34f35a3cb4cdf1cd6c33af621205b8d6a5201070e679531c8b5bbdeb8a91cd1d8061153b0e47e49 +DIST orocos_kinematics_dynamics-1.5.1.tar.gz 251074 BLAKE2B 6be8171c3ce3bc6613fc342b8d3c772de766bfab78c5530364339ce2f9c4a37e6bc5519482f30939b210d9cb9e7899b3da66784a5c301653493212bc690917a8 SHA512 9774b76b755ea81168390643813789783f60d0b1cdb46cd250e3e0d27f75a6cf2fd3bfd2081c04e30a14ff4fc70d0080c9b43b82ee181c2dda82f23f052b338d diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.5.1.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.5.1.ebuild new file mode 100644 index 000..bb20a06d821 --- /dev/null +++ b/sci-libs/orocos_kdl/orocos_kdl-1.5.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Kinematics and Dynamics Library (KDL)" +HOMEPAGE="https://www.orocos.org/kdl; + +if [[ ${PV} = * ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/orocos/orocos_kinematics_dynamics; + S="${WORKDIR}/${P}/${PN}" +else + SRC_URI="https://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz" + KEYWORDS="~amd64 ~arm ~x86" + S="${WORKDIR}/orocos_kinematics_dynamics-${PV}/${PN}" +fi + +LICENSE="LGPL-2.1" +SLOT="0/15" +IUSE="doc examples models test" +REQUIRED_USE="examples? ( models )" +RESTRICT="!test? ( test )" + +RDEPEND="dev-cpp/eigen:3" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( app-doc/doxygen[dot] ) + test? ( dev-util/cppunit ) +" + +src_configure() { + # disable catkin support + sed -e 's/find_package(catkin/find_package(NoTcatkin/' -i CMakeLists.txt || die + local mycmakeargs=( + -DBUILD_MODELS=$(usex models ON OFF) + -DENABLE_EXAMPLES=$(usex examples) + -DENABLE_TESTS=$(usex test) + ) + if use examples; then + mycmakeargs+=( + -DBUILD_MODELS_DEMO=ON + ) + fi + cmake_src_configure +} + +src_compile() { + cmake_src_compile + if use doc; then + cmake_build docs + rm "${BUILD_DIR}/doc/kdl.tag" || die + fi +} + +src_test() { + pushd "${BUILD_DIR}" > /dev/null || die + eninja check + popd > /dev/null || die +} + +src_install() { + use doc && local HTML_DOCS=( "${BUILD_DIR}/doc/api/html/." ) + cmake_src_install + + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + docinto examples + dodoc -r "${S}"/examples/. + fi +}
[gentoo-commits] repo/gentoo:master commit in: sci-libs/orocos_kdl/, sci-libs/orocos_kdl/files/
commit: 01e128e3a34c87c5d8dca408bd48153e9a4894a0 Author: Alexis Ballier gentoo org> AuthorDate: Fri Aug 6 14:02:23 2021 + Commit: Alexis Ballier gentoo org> CommitDate: Fri Aug 6 14:35:49 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01e128e3 sci-libs/orocos_kdl: remove catkin support and unused patches and bump subslot Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alexis Ballier gentoo.org> ...kdl-1.4.0-0001-don-t-install-kdl.tag-file.patch | 22 -- 0-0002-add-LIB_SUFFIX-in-pkg-config-file.patch | 27 -- sci-libs/orocos_kdl/orocos_kdl-1.5.0.ebuild| 13 +++ sci-libs/orocos_kdl/orocos_kdl-.ebuild | 12 +++--- 4 files changed, 6 insertions(+), 68 deletions(-) diff --git a/sci-libs/orocos_kdl/files/orocos_kdl-1.4.0-0001-don-t-install-kdl.tag-file.patch b/sci-libs/orocos_kdl/files/orocos_kdl-1.4.0-0001-don-t-install-kdl.tag-file.patch deleted file mode 100644 index d3205b55628..000 --- a/sci-libs/orocos_kdl/files/orocos_kdl-1.4.0-0001-don-t-install-kdl.tag-file.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 719735a7d36f079f63c4be06bf3118581f628562 Mon Sep 17 00:00:00 2001 -From: Bernd Waibel -Date: Sat, 3 Apr 2021 18:39:42 +0200 -Subject: [PATCH] don't install kdl.tag file - -Signed-off-by: Bernd Waibel - doc/CMakeLists.txt | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt -index dcc81b0..cc1774e 100644 a/doc/CMakeLists.txt -+++ b/doc/CMakeLists.txt -@@ -1,4 +1,3 @@ - - CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in" "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile" IMMEDIATE @ONLY) - ADD_CUSTOM_TARGET(docs "doxygen" "Doxyfile") --INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/kdl.tag DESTINATION share/doc/liborocos-kdl/ OPTIONAL) # only installs if found. --- -2.31.1 - diff --git a/sci-libs/orocos_kdl/files/orocos_kdl-1.4.0-0002-add-LIB_SUFFIX-in-pkg-config-file.patch b/sci-libs/orocos_kdl/files/orocos_kdl-1.4.0-0002-add-LIB_SUFFIX-in-pkg-config-file.patch deleted file mode 100644 index fe7eb126f84..000 --- a/sci-libs/orocos_kdl/files/orocos_kdl-1.4.0-0002-add-LIB_SUFFIX-in-pkg-config-file.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 54e66339b734639dc42b63b65a8a4b100f2549c3 Mon Sep 17 00:00:00 2001 -From: Bernd Waibel -Date: Sat, 3 Apr 2021 18:46:42 +0200 -Subject: [PATCH] add LIB_SUFFIX in pkg-config file - -Add the LIB_SUFFIX suffix to the libdir variable -in the kdl.pc.in file. - -Signed-off-by: Bernd Waibel - src/kdl.pc.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/kdl.pc.in b/src/kdl.pc.in -index 49e2ab9..1650e2e 100644 a/src/kdl.pc.in -+++ b/src/kdl.pc.in -@@ -1,5 +1,5 @@ - prefix=@CMAKE_INSTALL_PREFIX@ --libdir=${prefix}/lib -+libdir=${prefix}/lib@LIB_SUFFIX@ - includedir=${prefix}/include - - Name: orocos-kdl --- -2.31.1 - diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.5.0.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.5.0.ebuild index 175baf488d1..bb20a06d821 100644 --- a/sci-libs/orocos_kdl/orocos_kdl-1.5.0.ebuild +++ b/sci-libs/orocos_kdl/orocos_kdl-1.5.0.ebuild @@ -19,7 +19,7 @@ else fi LICENSE="LGPL-2.1" -SLOT="0/14" +SLOT="0/15" IUSE="doc examples models test" REQUIRED_USE="examples? ( models )" RESTRICT="!test? ( test )" @@ -31,12 +31,9 @@ BDEPEND=" test? ( dev-util/cppunit ) " -PATCHES=( - "${FILESDIR}"/${P}-0001-don-t-install-kdl.tag-file.patch - "${FILESDIR}"/${P}-0002-add-LIB_SUFFIX-in-pkg-config-file.patch -) - src_configure() { + # disable catkin support + sed -e 's/find_package(catkin/find_package(NoTcatkin/' -i CMakeLists.txt || die local mycmakeargs=( -DBUILD_MODELS=$(usex models ON OFF) -DENABLE_EXAMPLES=$(usex examples) @@ -73,8 +70,4 @@ src_install() { docinto examples dodoc -r "${S}"/examples/. fi - - # Need to have package.xml in our custom gentoo path - insinto /usr/share/ros_packages/${PN} - doins "${ED}/usr/share/${PN}/package.xml" } diff --git a/sci-libs/orocos_kdl/orocos_kdl-.ebuild b/sci-libs/orocos_kdl/orocos_kdl-.ebuild index d50c631a39c..bb20a06d821 100644 --- a/sci-libs/orocos_kdl/orocos_kdl-.ebuild +++ b/sci-libs/orocos_kdl/orocos_kdl-.ebuild @@ -19,7 +19,7 @@ else fi LICENSE="LGPL-2.1" -SLOT="0/14" +SLOT="0/15" IUSE="doc examples models test" REQUIRED_USE="examples? ( models )" RESTRICT="!test? ( test )" @@ -31,11 +31,9 @@ BDEPEND=" test? ( dev-util/cppunit ) " -PATCHES=( - "${FILESDIR}"/${PN}-1.4.0-0001-don-t-install-kdl.tag-file.patch -) - src_configure() { + # disable catkin support + sed -e 's/find_package(catkin/find_package(NoTcatkin/' -i CMakeLists.txt || die local mycmakeargs=( -DBUILD_MODELS=$(usex models ON OFF) -DENABLE_EXAMPLES=$(usex examples) @@ -72,8 +70,4 @@
[gentoo-commits] repo/gentoo:master commit in: sci-libs/orocos_kdl/
commit: 141c788f5a7f60ee3c347afeed8b3b0f426839ee Author: Alexis Ballier gentoo org> AuthorDate: Fri Aug 6 13:46:30 2021 + Commit: Alexis Ballier gentoo org> CommitDate: Fri Aug 6 14:35:49 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=141c788f sci-libs/orocos_kdl: bump to 1.5.0 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alexis Ballier gentoo.org> sci-libs/orocos_kdl/Manifest| 2 +- .../orocos_kdl/{orocos_kdl-1.4.0-r2.ebuild => orocos_kdl-1.5.0.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-libs/orocos_kdl/Manifest b/sci-libs/orocos_kdl/Manifest index 1e4e4131ca2..4e6fd68874c 100644 --- a/sci-libs/orocos_kdl/Manifest +++ b/sci-libs/orocos_kdl/Manifest @@ -1 +1 @@ -DIST orocos_kinematics_dynamics-1.4.0.tar.gz 215004 BLAKE2B 02ca44195af2ae2bd5c2293869893c56846501e2055ca1cacef602ffdd44824fc618ed528d351ee2212b7c087ff5e69438ab87e9fb8813d8a4eb4c143fdbfd27 SHA512 7156465e2aff02f472933617512069355836a03a02d4587cfe03c1b1d667a9762a4e3ed6e055b2a44f1fce1b6746179203c7204389626a7b458dcab1b28930d8 +DIST orocos_kinematics_dynamics-1.5.0.tar.gz 251515 BLAKE2B 53c14354b0833867b6fd030cde91c9524b6f0537ea0d0f3977e7aeb8482030edd5723a571030e8b78e4d6d01eba38c6a8e5c49d66c49c4b1b0f2e7a3d8159c74 SHA512 5fc9c336d6ed31ad59a5bdf6ee06444cac29beae090b9026b34f35a3cb4cdf1cd6c33af621205b8d6a5201070e679531c8b5bbdeb8a91cd1d8061153b0e47e49 diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.4.0-r2.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.5.0.ebuild similarity index 100% rename from sci-libs/orocos_kdl/orocos_kdl-1.4.0-r2.ebuild rename to sci-libs/orocos_kdl/orocos_kdl-1.5.0.ebuild
[gentoo-commits] repo/gentoo:master commit in: sci-libs/orocos_kdl/
commit: 9a2f8cc2f18966c6b60fd8c978724643e34a137d Author: Bernd Waibel posteo net> AuthorDate: Sat Apr 3 17:44:48 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Apr 4 21:30:55 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a2f8cc2 sci-libs/orocos_kdl: port 1.4.0 changes to live Backport changes from 1.4.0-r1 and update ebuild: - bump to EAPI 7 - port to cmake.eclass using ninja Bugday 2021-04-03 Closes: https://bugs.gentoo.org/770595 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Bernd Waibel posteo.net> Signed-off-by: Andreas Sturmlechner gentoo.org> sci-libs/orocos_kdl/orocos_kdl-.ebuild | 82 -- 1 file changed, 45 insertions(+), 37 deletions(-) diff --git a/sci-libs/orocos_kdl/orocos_kdl-.ebuild b/sci-libs/orocos_kdl/orocos_kdl-.ebuild index da34c196985..d50c631a39c 100644 --- a/sci-libs/orocos_kdl/orocos_kdl-.ebuild +++ b/sci-libs/orocos_kdl/orocos_kdl-.ebuild @@ -1,71 +1,79 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -SCM="" -if [ "${PV#}" != "${PV}" ] ; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/orocos/orocos_kinematics_dynamics; -fi +inherit cmake -inherit ${SCM} cmake-utils +DESCRIPTION="Kinematics and Dynamics Library (KDL)" +HOMEPAGE="https://www.orocos.org/kdl; -if [ "${PV#}" != "${PV}" ] ; then - SRC_URI="" +if [[ ${PV} = * ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/orocos/orocos_kinematics_dynamics; + S="${WORKDIR}/${P}/${PN}" else - KEYWORDS="~amd64 ~arm ~x86" SRC_URI="https://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz" + KEYWORDS="~amd64 ~arm ~x86" + S="${WORKDIR}/orocos_kinematics_dynamics-${PV}/${PN}" fi -DESCRIPTION="Kinematics and Dynamics Library (KDL)" -HOMEPAGE="https://www.orocos.org/kdl; LICENSE="LGPL-2.1" SLOT="0/14" -IUSE="doc test examples models" +IUSE="doc examples models test" +REQUIRED_USE="examples? ( models )" RESTRICT="!test? ( test )" RDEPEND="dev-cpp/eigen:3" -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( app-doc/doxygen[dot] ) test? ( dev-util/cppunit ) - doc? ( app-doc/doxygen )" -REQUIRED_USE="examples? ( models )" +" -DOCS=( README ) - -if [ "${PV#}" != "${PV}" ] ; then - S=${WORKDIR}/${P}/orocos_kdl -else - S=${WORKDIR}/orocos_kinematics_dynamics-${PV}/orocos_kdl -fi +PATCHES=( + "${FILESDIR}"/${PN}-1.4.0-0001-don-t-install-kdl.tag-file.patch +) src_configure() { local mycmakeargs=( - "$(cmake-utils_use_enable test TESTS)" - "$(cmake-utils_use_enable examples EXAMPLES)" - "-DBUILD_MODELS=$(usex models ON OFF)" + -DBUILD_MODELS=$(usex models ON OFF) + -DENABLE_EXAMPLES=$(usex examples) + -DENABLE_TESTS=$(usex test) ) - cmake-utils_src_configure + if use examples; then + mycmakeargs+=( + -DBUILD_MODELS_DEMO=ON + ) + fi + cmake_src_configure } src_compile() { - cmake-utils_src_compile - cd "${BUILD_DIR}" - use doc && emake docs + cmake_src_compile + if use doc; then + cmake_build docs + rm "${BUILD_DIR}/doc/kdl.tag" || die + fi } src_test() { - cd "${BUILD_DIR}" - emake check + pushd "${BUILD_DIR}" > /dev/null || die + eninja check + popd > /dev/null || die } src_install() { - cmake-utils_src_install - cd "${BUILD_DIR}" - use doc && dohtml -r doc/api/html/* - use examples && dobin "${BUILD_DIR}/examples/"{geometry,trajectory_example,chainiksolverpos_lma_demo} + use doc && local HTML_DOCS=( "${BUILD_DIR}/doc/api/html/." ) + cmake_src_install + + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + docinto examples + dodoc -r "${S}"/examples/. + fi # Need to have package.xml in our custom gentoo path insinto /usr/share/ros_packages/${PN} - doins "${ED}/usr/share/${PN}/package.xml" + doins "${S}/package.xml" }
[gentoo-commits] repo/gentoo:master commit in: sci-libs/orocos_kdl/
commit: 6262afbda6028d80e00e5807fc4aea60eed8be21 Author: Bernd Waibel posteo net> AuthorDate: Sat Apr 3 17:16:08 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Apr 4 21:28:05 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6262afbd sci-libs/orocos_kdl: drop 1.4.0 Bugday 2021-04-03 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Bernd Waibel posteo.net> Signed-off-by: Andreas Sturmlechner gentoo.org> sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild | 71 - 1 file changed, 71 deletions(-) diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild deleted file mode 100644 index da34c196985..000 --- a/sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -SCM="" -if [ "${PV#}" != "${PV}" ] ; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/orocos/orocos_kinematics_dynamics; -fi - -inherit ${SCM} cmake-utils - -if [ "${PV#}" != "${PV}" ] ; then - SRC_URI="" -else - KEYWORDS="~amd64 ~arm ~x86" - SRC_URI="https://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz" -fi - -DESCRIPTION="Kinematics and Dynamics Library (KDL)" -HOMEPAGE="https://www.orocos.org/kdl; -LICENSE="LGPL-2.1" -SLOT="0/14" -IUSE="doc test examples models" -RESTRICT="!test? ( test )" - -RDEPEND="dev-cpp/eigen:3" -DEPEND="${RDEPEND} - test? ( dev-util/cppunit ) - doc? ( app-doc/doxygen )" -REQUIRED_USE="examples? ( models )" - -DOCS=( README ) - -if [ "${PV#}" != "${PV}" ] ; then - S=${WORKDIR}/${P}/orocos_kdl -else - S=${WORKDIR}/orocos_kinematics_dynamics-${PV}/orocos_kdl -fi - -src_configure() { - local mycmakeargs=( - "$(cmake-utils_use_enable test TESTS)" - "$(cmake-utils_use_enable examples EXAMPLES)" - "-DBUILD_MODELS=$(usex models ON OFF)" - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile - cd "${BUILD_DIR}" - use doc && emake docs -} - -src_test() { - cd "${BUILD_DIR}" - emake check -} - -src_install() { - cmake-utils_src_install - cd "${BUILD_DIR}" - use doc && dohtml -r doc/api/html/* - use examples && dobin "${BUILD_DIR}/examples/"{geometry,trajectory_example,chainiksolverpos_lma_demo} - - # Need to have package.xml in our custom gentoo path - insinto /usr/share/ros_packages/${PN} - doins "${ED}/usr/share/${PN}/package.xml" -}
[gentoo-commits] repo/gentoo:master commit in: sci-libs/orocos_kdl/files/, sci-libs/orocos_kdl/
commit: af1f8224368ed2ad5dc3fe32a17b4c909076c959 Author: Bernd Waibel posteo net> AuthorDate: Sat Apr 3 17:14:47 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Apr 4 21:28:05 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af1f8224 sci-libs/orocos_kdl: bump to EAPI 7 Port to cmake.eclass using ninja Bugday 2021-04-03 Bug: https://bugs.gentoo.org/770595 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Bernd Waibel posteo.net> Closes: https://github.com/gentoo/gentoo/pull/20248 Signed-off-by: Andreas Sturmlechner gentoo.org> ...kdl-1.4.0-0001-don-t-install-kdl.tag-file.patch | 22 ++ 0-0002-add-LIB_SUFFIX-in-pkg-config-file.patch | 27 sci-libs/orocos_kdl/orocos_kdl-1.4.0-r1.ebuild | 81 ++ 3 files changed, 130 insertions(+) diff --git a/sci-libs/orocos_kdl/files/orocos_kdl-1.4.0-0001-don-t-install-kdl.tag-file.patch b/sci-libs/orocos_kdl/files/orocos_kdl-1.4.0-0001-don-t-install-kdl.tag-file.patch new file mode 100644 index 000..d3205b55628 --- /dev/null +++ b/sci-libs/orocos_kdl/files/orocos_kdl-1.4.0-0001-don-t-install-kdl.tag-file.patch @@ -0,0 +1,22 @@ +From 719735a7d36f079f63c4be06bf3118581f628562 Mon Sep 17 00:00:00 2001 +From: Bernd Waibel +Date: Sat, 3 Apr 2021 18:39:42 +0200 +Subject: [PATCH] don't install kdl.tag file + +Signed-off-by: Bernd Waibel +--- + doc/CMakeLists.txt | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt +index dcc81b0..cc1774e 100644 +--- a/doc/CMakeLists.txt b/doc/CMakeLists.txt +@@ -1,4 +1,3 @@ + + CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in" "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile" IMMEDIATE @ONLY) + ADD_CUSTOM_TARGET(docs "doxygen" "Doxyfile") +-INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/kdl.tag DESTINATION share/doc/liborocos-kdl/ OPTIONAL) # only installs if found. +-- +2.31.1 + diff --git a/sci-libs/orocos_kdl/files/orocos_kdl-1.4.0-0002-add-LIB_SUFFIX-in-pkg-config-file.patch b/sci-libs/orocos_kdl/files/orocos_kdl-1.4.0-0002-add-LIB_SUFFIX-in-pkg-config-file.patch new file mode 100644 index 000..fe7eb126f84 --- /dev/null +++ b/sci-libs/orocos_kdl/files/orocos_kdl-1.4.0-0002-add-LIB_SUFFIX-in-pkg-config-file.patch @@ -0,0 +1,27 @@ +From 54e66339b734639dc42b63b65a8a4b100f2549c3 Mon Sep 17 00:00:00 2001 +From: Bernd Waibel +Date: Sat, 3 Apr 2021 18:46:42 +0200 +Subject: [PATCH] add LIB_SUFFIX in pkg-config file + +Add the LIB_SUFFIX suffix to the libdir variable +in the kdl.pc.in file. + +Signed-off-by: Bernd Waibel +--- + src/kdl.pc.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/kdl.pc.in b/src/kdl.pc.in +index 49e2ab9..1650e2e 100644 +--- a/src/kdl.pc.in b/src/kdl.pc.in +@@ -1,5 +1,5 @@ + prefix=@CMAKE_INSTALL_PREFIX@ +-libdir=${prefix}/lib ++libdir=${prefix}/lib@LIB_SUFFIX@ + includedir=${prefix}/include + + Name: orocos-kdl +-- +2.31.1 + diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.4.0-r1.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.4.0-r1.ebuild new file mode 100644 index 000..175a5740937 --- /dev/null +++ b/sci-libs/orocos_kdl/orocos_kdl-1.4.0-r1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Kinematics and Dynamics Library (KDL)" +HOMEPAGE="https://www.orocos.org/kdl; + +if [[ ${PV} = * ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/orocos/orocos_kinematics_dynamics; + S="${WORKDIR}/${P}/${PN}" +else + SRC_URI="https://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz" + KEYWORDS="~amd64 ~arm ~x86" + S="${WORKDIR}/orocos_kinematics_dynamics-${PV}/${PN}" +fi + +LICENSE="LGPL-2.1" +SLOT="0/14" +IUSE="doc examples models test" +REQUIRED_USE="examples? ( models )" +RESTRICT="!test? ( test )" + +RDEPEND="dev-cpp/eigen:3" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( app-doc/doxygen[dot] ) + test? ( dev-util/cppunit ) +" + +PATCHES=( + "${FILESDIR}"/${P}-0001-don-t-install-kdl.tag-file.patch + "${FILESDIR}"/${P}-0002-add-LIB_SUFFIX-in-pkg-config-file.patch +) + +src_configure() { + local mycmakeargs=( + -DBUILD_MODELS=$(usex models ON OFF) + -DENABLE_EXAMPLES=$(usex examples) + -DENABLE_TESTS=$(usex test) + ) + if use examples; then + mycmakeargs+=( + -DBUILD_MODELS_DEMO=ON + ) + fi + cmake_src_configure +} + +src_compile() { + cmake_src_compile + if use doc; then + cmake_build docs + rm "${BUILD_DIR}/doc/kdl.tag" || die + fi +} + +src_test() { + pushd "${BUILD_DIR}" > /dev/null || die + eninja check + popd > /dev/null || die +} + +src_install() { + use doc &&
[gentoo-commits] repo/gentoo:master commit in: sci-libs/orocos_kdl/
commit: 04e111a7ad7379f9f972dbb149ad4b7ac5716763 Author: Sam James gentoo org> AuthorDate: Sun Feb 14 23:18:53 2021 + Commit: Sam James gentoo org> CommitDate: Mon Feb 15 00:31:54 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04e111a7 sci-libs/orocos_kdl: fix double KEYWORDS Double KEYWORDS lines break tools like ekeyword and Nattka. As per PMS, blank/empty KEYWORDS is implied by not defining the variable. See: https://projects.gentoo.org/qa/policy-guide/ebuild-format.html#pg0105 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild | 3 +-- sci-libs/orocos_kdl/orocos_kdl-.ebuild | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild index 80637a8fa22..da34c196985 100644 --- a/sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild +++ b/sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -12,7 +12,6 @@ fi inherit ${SCM} cmake-utils if [ "${PV#}" != "${PV}" ] ; then - KEYWORDS="" SRC_URI="" else KEYWORDS="~amd64 ~arm ~x86" diff --git a/sci-libs/orocos_kdl/orocos_kdl-.ebuild b/sci-libs/orocos_kdl/orocos_kdl-.ebuild index 80637a8fa22..da34c196985 100644 --- a/sci-libs/orocos_kdl/orocos_kdl-.ebuild +++ b/sci-libs/orocos_kdl/orocos_kdl-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -12,7 +12,6 @@ fi inherit ${SCM} cmake-utils if [ "${PV#}" != "${PV}" ] ; then - KEYWORDS="" SRC_URI="" else KEYWORDS="~amd64 ~arm ~x86"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/orocos_kdl/
commit: e952c4a041908c42b44f8a0928515a0ff074f4e2 Author: Alexis Ballier gentoo org> AuthorDate: Sat Apr 7 13:38:16 2018 + Commit: Alexis Ballier gentoo org> CommitDate: Sat Apr 7 14:08:16 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e952c4a0 sci-libs/orocos_kdl: addsubslot Package-Manager: Portage-2.3.28, Repoman-2.3.9 sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild | 2 +- sci-libs/orocos_kdl/orocos_kdl-.ebuild | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild index 7ea47c627d7..aa74627a9e4 100644 --- a/sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild +++ b/sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild @@ -22,7 +22,7 @@ fi DESCRIPTION="Kinematics and Dynamics Library (KDL)" HOMEPAGE="http://www.orocos.org/kdl; LICENSE="LGPL-2.1" -SLOT="0" +SLOT="0/14" IUSE="doc test examples models" RDEPEND="dev-cpp/eigen:3" diff --git a/sci-libs/orocos_kdl/orocos_kdl-.ebuild b/sci-libs/orocos_kdl/orocos_kdl-.ebuild index e2fe4f9b475..aa74627a9e4 100644 --- a/sci-libs/orocos_kdl/orocos_kdl-.ebuild +++ b/sci-libs/orocos_kdl/orocos_kdl-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -22,7 +22,7 @@ fi DESCRIPTION="Kinematics and Dynamics Library (KDL)" HOMEPAGE="http://www.orocos.org/kdl; LICENSE="LGPL-2.1" -SLOT="0" +SLOT="0/14" IUSE="doc test examples models" RDEPEND="dev-cpp/eigen:3"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/orocos_kdl/
commit: 6b89e025288ea1720b27da71e42d8224436f70c1 Author: Alexis Ballier gentoo org> AuthorDate: Sat Apr 7 13:36:29 2018 + Commit: Alexis Ballier gentoo org> CommitDate: Sat Apr 7 14:08:16 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b89e025 sci-libs/orocos_kdl: bump to 1.4.0 Package-Manager: Portage-2.3.28, Repoman-2.3.9 sci-libs/orocos_kdl/Manifest| 1 + sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild | 71 + 2 files changed, 72 insertions(+) diff --git a/sci-libs/orocos_kdl/Manifest b/sci-libs/orocos_kdl/Manifest index 79956d17a9a..40912926d34 100644 --- a/sci-libs/orocos_kdl/Manifest +++ b/sci-libs/orocos_kdl/Manifest @@ -1 +1,2 @@ DIST orocos_kinematics_dynamics-1.3.1.tar.gz 202471 BLAKE2B 46b7bdb62c09e9077b84d914b4d780995f27d486d9c734ef2ee1f8b8c2219265cdba5e63830225e2435b5760b79f00d478670e95b71666959afa773f8bcfe5ce SHA512 93abd9dd5aef3710f784f9db8eea4738458bffa5295923993e2d77656c18f7354559412fb7eb5f1e9da7112de19aa36d3f0f68f149852f955bce960fd3b719e7 +DIST orocos_kinematics_dynamics-1.4.0.tar.gz 215004 BLAKE2B 02ca44195af2ae2bd5c2293869893c56846501e2055ca1cacef602ffdd44824fc618ed528d351ee2212b7c087ff5e69438ab87e9fb8813d8a4eb4c143fdbfd27 SHA512 7156465e2aff02f472933617512069355836a03a02d4587cfe03c1b1d667a9762a4e3ed6e055b2a44f1fce1b6746179203c7204389626a7b458dcab1b28930d8 diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild new file mode 100644 index 000..7ea47c627d7 --- /dev/null +++ b/sci-libs/orocos_kdl/orocos_kdl-1.4.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +SCM="" +if [ "${PV#}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/orocos/orocos_kinematics_dynamics; +fi + +inherit ${SCM} cmake-utils + +if [ "${PV#}" != "${PV}" ] ; then + KEYWORDS="" + SRC_URI="" +else + KEYWORDS="~amd64 ~arm ~x86" + SRC_URI="https://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz" +fi + +DESCRIPTION="Kinematics and Dynamics Library (KDL)" +HOMEPAGE="http://www.orocos.org/kdl; +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="doc test examples models" + +RDEPEND="dev-cpp/eigen:3" +DEPEND="${RDEPEND} + test? ( dev-util/cppunit ) + doc? ( app-doc/doxygen )" +REQUIRED_USE="examples? ( models )" + +DOCS=( README ) + +if [ "${PV#}" != "${PV}" ] ; then + S=${WORKDIR}/${P}/orocos_kdl +else + S=${WORKDIR}/orocos_kinematics_dynamics-${PV}/orocos_kdl +fi + +src_configure() { + local mycmakeargs=( + "$(cmake-utils_use_enable test TESTS)" + "$(cmake-utils_use_enable examples EXAMPLES)" + "-DBUILD_MODELS=$(usex models ON OFF)" + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + cd "${BUILD_DIR}" + use doc && emake docs +} + +src_test() { + cd "${BUILD_DIR}" + emake check +} + +src_install() { + cmake-utils_src_install + cd "${BUILD_DIR}" + use doc && dohtml -r doc/api/html/* + use examples && dobin "${BUILD_DIR}/examples/"{geometry,trajectory_example,chainiksolverpos_lma_demo} + + # Need to have package.xml in our custom gentoo path + insinto /usr/share/ros_packages/${PN} + doins "${ED}/usr/share/${PN}/package.xml" +}
[gentoo-commits] repo/gentoo:master commit in: sci-libs/orocos_kdl/
commit: 39cd089b994f2667573c7b6cd351270ca0bb497e Author: Alexey Shvetsov gentoo org> AuthorDate: Wed Jul 26 13:14:46 2017 + Commit: Alexey Shvetsov gentoo org> CommitDate: Wed Jul 26 17:04:23 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39cd089b sci-libs/orocos_kdl: Works for me on ~x86 machine Package-Manager: Portage-2.3.6, Repoman-2.3.3 sci-libs/orocos_kdl/metadata.xml | 16 sci-libs/orocos_kdl/orocos_kdl-1.3.1-r1.ebuild | 2 +- sci-libs/orocos_kdl/orocos_kdl-.ebuild | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/sci-libs/orocos_kdl/metadata.xml b/sci-libs/orocos_kdl/metadata.xml index b03df4a03a8..8e818f01bbf 100644 --- a/sci-libs/orocos_kdl/metadata.xml +++ b/sci-libs/orocos_kdl/metadata.xml @@ -6,14 +6,14 @@ Alexis Ballier -The Kinematics and Dynamics Library (KDL) develops an application -independent framework for modelling and computation of kinematic chains, -such as robots, biomechanical human models, computer-animated figures, -machine tools, etc. It provides class libraries for geometrical objects -(point, frame, line,... ), kinematic chains of various families (serial, -humanoid, parallel, mobile,... ), and their motion specification and -interpolation. - + The Kinematics and Dynamics Library (KDL) develops an application + independent framework for modelling and computation of kinematic chains, + such as robots, biomechanical human models, computer-animated figures, + machine tools, etc. It provides class libraries for geometrical objects + (point, frame, line,... ), kinematic chains of various families (serial, + humanoid, parallel, mobile,... ), and their motion specification and + interpolation. + Build models for some well known robots. diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.3.1-r1.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.3.1-r1.ebuild index bb0ffd627b4..e2fe4f9b475 100644 --- a/sci-libs/orocos_kdl/orocos_kdl-1.3.1-r1.ebuild +++ b/sci-libs/orocos_kdl/orocos_kdl-1.3.1-r1.ebuild @@ -15,7 +15,7 @@ if [ "${PV#}" != "${PV}" ] ; then KEYWORDS="" SRC_URI="" else - KEYWORDS="~amd64 ~arm" + KEYWORDS="~amd64 ~arm ~x86" SRC_URI="https://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz" fi diff --git a/sci-libs/orocos_kdl/orocos_kdl-.ebuild b/sci-libs/orocos_kdl/orocos_kdl-.ebuild index bb0ffd627b4..e2fe4f9b475 100644 --- a/sci-libs/orocos_kdl/orocos_kdl-.ebuild +++ b/sci-libs/orocos_kdl/orocos_kdl-.ebuild @@ -15,7 +15,7 @@ if [ "${PV#}" != "${PV}" ] ; then KEYWORDS="" SRC_URI="" else - KEYWORDS="~amd64 ~arm" + KEYWORDS="~amd64 ~arm ~x86" SRC_URI="https://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz" fi
[gentoo-commits] repo/gentoo:master commit in: sci-libs/orocos_kdl/, sci-libs/orocos_kdl/files/
commit: f44f9b521150adead631fdee000f8136f29fb977 Author: Alexis Ballier gentoo org> AuthorDate: Tue Feb 28 10:41:51 2017 + Commit: Alexis Ballier gentoo org> CommitDate: Tue Feb 28 11:26:50 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f44f9b52 sci-libs/orocos_kdl: Install package.xml in our custom gentoo path from ebuild instead of patching Package-Manager: Portage-2.3.3, Repoman-2.3.1 sci-libs/orocos_kdl/files/gentoo.patch | 10 -- .../{orocos_kdl-1.3.1.ebuild => orocos_kdl-1.3.1-r1.ebuild}| 7 +-- sci-libs/orocos_kdl/orocos_kdl-.ebuild | 7 +-- 3 files changed, 10 insertions(+), 14 deletions(-) diff --git a/sci-libs/orocos_kdl/files/gentoo.patch b/sci-libs/orocos_kdl/files/gentoo.patch deleted file mode 100644 index 3766e12f58..00 --- a/sci-libs/orocos_kdl/files/gentoo.patch +++ /dev/null @@ -1,10 +0,0 @@ -Index: orocos_kdl/CMakeLists.txt -=== orocos_kdl.orig/CMakeLists.txt -+++ orocos_kdl/CMakeLists.txt -@@ -114,4 +114,4 @@ INSTALL(FILES ${PROJECT_BINARY_DIR}/oroc - INSTALL(FILES ${PROJECT_BINARY_DIR}/orocos_kdl-config-version.cmake DESTINATION share/orocos_kdl) - INSTALL(EXPORT OrocosKDLTargets DESTINATION share/orocos_kdl) - --INSTALL(FILES package.xml DESTINATION share/orocos_kdl) -+INSTALL(FILES package.xml DESTINATION share/ros_packages/orocos_kdl) diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.3.1.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.3.1-r1.ebuild similarity index 89% rename from sci-libs/orocos_kdl/orocos_kdl-1.3.1.ebuild rename to sci-libs/orocos_kdl/orocos_kdl-1.3.1-r1.ebuild index fac689144b..8207c1ea2f 100644 --- a/sci-libs/orocos_kdl/orocos_kdl-1.3.1.ebuild +++ b/sci-libs/orocos_kdl/orocos_kdl-1.3.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -33,7 +33,6 @@ DEPEND="${RDEPEND} REQUIRED_USE="examples? ( models )" DOCS=( README ) -PATCHES=( "${FILESDIR}/gentoo.patch" ) if [ "${PV#}" != "${PV}" ] ; then S=${WORKDIR}/${P}/orocos_kdl @@ -66,4 +65,8 @@ src_install() { cd "${BUILD_DIR}" use doc && dohtml -r doc/api/html/* use examples && dobin "${BUILD_DIR}/examples/"{geometry,trajectory_example,chainiksolverpos_lma_demo} + + # Need to have package.xml in our custom gentoo path + insinto /usr/share/ros_packages/${PN} + doins "${ED}/usr/share/${PN}/package.xml" } diff --git a/sci-libs/orocos_kdl/orocos_kdl-.ebuild b/sci-libs/orocos_kdl/orocos_kdl-.ebuild index fac689144b..8207c1ea2f 100644 --- a/sci-libs/orocos_kdl/orocos_kdl-.ebuild +++ b/sci-libs/orocos_kdl/orocos_kdl-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -33,7 +33,6 @@ DEPEND="${RDEPEND} REQUIRED_USE="examples? ( models )" DOCS=( README ) -PATCHES=( "${FILESDIR}/gentoo.patch" ) if [ "${PV#}" != "${PV}" ] ; then S=${WORKDIR}/${P}/orocos_kdl @@ -66,4 +65,8 @@ src_install() { cd "${BUILD_DIR}" use doc && dohtml -r doc/api/html/* use examples && dobin "${BUILD_DIR}/examples/"{geometry,trajectory_example,chainiksolverpos_lma_demo} + + # Need to have package.xml in our custom gentoo path + insinto /usr/share/ros_packages/${PN} + doins "${ED}/usr/share/${PN}/package.xml" }
[gentoo-commits] repo/gentoo:master commit in: sci-libs/orocos_kdl/
commit: 19679196acf370f1d313d3cf92f46b5d9f39ed85 Author: Alexis Ballier gentoo org> AuthorDate: Tue Feb 28 10:28:53 2017 + Commit: Alexis Ballier gentoo org> CommitDate: Tue Feb 28 11:26:50 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19679196 sci-libs/orocos_kdl: remove old Package-Manager: Portage-2.3.3, Repoman-2.3.1 sci-libs/orocos_kdl/Manifest | 1 - sci-libs/orocos_kdl/orocos_kdl-1.3.0-r1.ebuild | 69 -- 2 files changed, 70 deletions(-) diff --git a/sci-libs/orocos_kdl/Manifest b/sci-libs/orocos_kdl/Manifest index a695dc0384..a441a3f027 100644 --- a/sci-libs/orocos_kdl/Manifest +++ b/sci-libs/orocos_kdl/Manifest @@ -1,2 +1 @@ -DIST orocos_kinematics_dynamics-1.3.0.tar.gz 200229 SHA256 7be2dd5e4f4c1ceac2cdf1f4fae3d94d4ffd9fc1af8d483c05f04e80ef84b3f9 SHA512 09ff63f74f1eac3ee8b1090364e0d95b4ae96c9d4435ca34adacb3ded7385f948ddca9be2c1c2c2214c9342b17bbffb7da89ba9b7cd402e7fd4f2c6dbd06a930 WHIRLPOOL 4085fa4aba77e0c24a3c1aab4ab5f98e8b349037525e6a596ff027075ea1dcd33c4f13fa3abd61bbe6a2a3bd13b62616d7b614c030ecda8343be3ed59406bae6 DIST orocos_kinematics_dynamics-1.3.1.tar.gz 202471 SHA256 aff361d2b4e2c6d30ae959308a124022eeef5dc5bea2ce779900f9b36b0537bd SHA512 93abd9dd5aef3710f784f9db8eea4738458bffa5295923993e2d77656c18f7354559412fb7eb5f1e9da7112de19aa36d3f0f68f149852f955bce960fd3b719e7 WHIRLPOOL b7b4d897f4d5f170b73fe5bb48e357051ae37a244b9c44e8c2f120d71fc75c80cc1f69d30cb1463bbe10658ba0af98965f18f3055436910f24ebaab0ce1bd8e7 diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.3.0-r1.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.3.0-r1.ebuild deleted file mode 100644 index fac689144b..00 --- a/sci-libs/orocos_kdl/orocos_kdl-1.3.0-r1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -SCM="" -if [ "${PV#}" != "${PV}" ] ; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/orocos/orocos_kinematics_dynamics; -fi - -inherit ${SCM} cmake-utils - -if [ "${PV#}" != "${PV}" ] ; then - KEYWORDS="" - SRC_URI="" -else - KEYWORDS="~amd64 ~arm" - SRC_URI="https://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz" -fi - -DESCRIPTION="Kinematics and Dynamics Library (KDL)" -HOMEPAGE="http://www.orocos.org/kdl; -LICENSE="LGPL-2.1" -SLOT="0" -IUSE="doc test examples models" - -RDEPEND="dev-cpp/eigen:3" -DEPEND="${RDEPEND} - test? ( dev-util/cppunit ) - doc? ( app-doc/doxygen )" -REQUIRED_USE="examples? ( models )" - -DOCS=( README ) -PATCHES=( "${FILESDIR}/gentoo.patch" ) - -if [ "${PV#}" != "${PV}" ] ; then - S=${WORKDIR}/${P}/orocos_kdl -else - S=${WORKDIR}/orocos_kinematics_dynamics-${PV}/orocos_kdl -fi - -src_configure() { - local mycmakeargs=( - "$(cmake-utils_use_enable test TESTS)" - "$(cmake-utils_use_enable examples EXAMPLES)" - "-DBUILD_MODELS=$(usex models ON OFF)" - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile - cd "${BUILD_DIR}" - use doc && emake docs -} - -src_test() { - cd "${BUILD_DIR}" - emake check -} - -src_install() { - cmake-utils_src_install - cd "${BUILD_DIR}" - use doc && dohtml -r doc/api/html/* - use examples && dobin "${BUILD_DIR}/examples/"{geometry,trajectory_example,chainiksolverpos_lma_demo} -}
[gentoo-commits] repo/gentoo:master commit in: sci-libs/orocos_kdl/
commit: 58a5d17ed65050caf4a1f8006a72578ef17a5eac Author: Alexis Ballier gentoo org> AuthorDate: Sat Dec 31 12:00:33 2016 + Commit: Alexis Ballier gentoo org> CommitDate: Sat Dec 31 12:01:44 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58a5d17e sci-libs/orocos_kdl: bump to 1.3.1, bug #604130 Package-Manager: Portage-2.3.3, Repoman-2.3.1 sci-libs/orocos_kdl/Manifest| 1 + sci-libs/orocos_kdl/orocos_kdl-1.3.1.ebuild | 69 + 2 files changed, 70 insertions(+) diff --git a/sci-libs/orocos_kdl/Manifest b/sci-libs/orocos_kdl/Manifest index 1e0cce1..a695dc0 100644 --- a/sci-libs/orocos_kdl/Manifest +++ b/sci-libs/orocos_kdl/Manifest @@ -1 +1,2 @@ DIST orocos_kinematics_dynamics-1.3.0.tar.gz 200229 SHA256 7be2dd5e4f4c1ceac2cdf1f4fae3d94d4ffd9fc1af8d483c05f04e80ef84b3f9 SHA512 09ff63f74f1eac3ee8b1090364e0d95b4ae96c9d4435ca34adacb3ded7385f948ddca9be2c1c2c2214c9342b17bbffb7da89ba9b7cd402e7fd4f2c6dbd06a930 WHIRLPOOL 4085fa4aba77e0c24a3c1aab4ab5f98e8b349037525e6a596ff027075ea1dcd33c4f13fa3abd61bbe6a2a3bd13b62616d7b614c030ecda8343be3ed59406bae6 +DIST orocos_kinematics_dynamics-1.3.1.tar.gz 202471 SHA256 aff361d2b4e2c6d30ae959308a124022eeef5dc5bea2ce779900f9b36b0537bd SHA512 93abd9dd5aef3710f784f9db8eea4738458bffa5295923993e2d77656c18f7354559412fb7eb5f1e9da7112de19aa36d3f0f68f149852f955bce960fd3b719e7 WHIRLPOOL b7b4d897f4d5f170b73fe5bb48e357051ae37a244b9c44e8c2f120d71fc75c80cc1f69d30cb1463bbe10658ba0af98965f18f3055436910f24ebaab0ce1bd8e7 diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.3.1.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.3.1.ebuild new file mode 100644 index ..fac6891 --- /dev/null +++ b/sci-libs/orocos_kdl/orocos_kdl-1.3.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +SCM="" +if [ "${PV#}" != "${PV}" ] ; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/orocos/orocos_kinematics_dynamics; +fi + +inherit ${SCM} cmake-utils + +if [ "${PV#}" != "${PV}" ] ; then + KEYWORDS="" + SRC_URI="" +else + KEYWORDS="~amd64 ~arm" + SRC_URI="https://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz" +fi + +DESCRIPTION="Kinematics and Dynamics Library (KDL)" +HOMEPAGE="http://www.orocos.org/kdl; +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="doc test examples models" + +RDEPEND="dev-cpp/eigen:3" +DEPEND="${RDEPEND} + test? ( dev-util/cppunit ) + doc? ( app-doc/doxygen )" +REQUIRED_USE="examples? ( models )" + +DOCS=( README ) +PATCHES=( "${FILESDIR}/gentoo.patch" ) + +if [ "${PV#}" != "${PV}" ] ; then + S=${WORKDIR}/${P}/orocos_kdl +else + S=${WORKDIR}/orocos_kinematics_dynamics-${PV}/orocos_kdl +fi + +src_configure() { + local mycmakeargs=( + "$(cmake-utils_use_enable test TESTS)" + "$(cmake-utils_use_enable examples EXAMPLES)" + "-DBUILD_MODELS=$(usex models ON OFF)" + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + cd "${BUILD_DIR}" + use doc && emake docs +} + +src_test() { + cd "${BUILD_DIR}" + emake check +} + +src_install() { + cmake-utils_src_install + cd "${BUILD_DIR}" + use doc && dohtml -r doc/api/html/* + use examples && dobin "${BUILD_DIR}/examples/"{geometry,trajectory_example,chainiksolverpos_lma_demo} +}
[gentoo-commits] repo/gentoo:master commit in: sci-libs/orocos_kdl/files/, sci-libs/orocos_kdl/
commit: faad8baa62c9fda9111f38990441bf1df37ebf85 Author: Alexis Ballier gentoo org> AuthorDate: Fri Oct 7 16:01:54 2016 + Commit: Alexis Ballier gentoo org> CommitDate: Fri Oct 7 16:16:40 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faad8baa sci-libs/orocos_kdl: install package.xml file in /usr/share/ros_packages/$PN Package-Manager: portage-2.3.1 sci-libs/orocos_kdl/files/gentoo.patch | 10 ++ .../{orocos_kdl-1.3.0.ebuild => orocos_kdl-1.3.0-r1.ebuild}| 3 ++- sci-libs/orocos_kdl/orocos_kdl-.ebuild | 3 ++- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/sci-libs/orocos_kdl/files/gentoo.patch b/sci-libs/orocos_kdl/files/gentoo.patch new file mode 100644 index ..3766e12 --- /dev/null +++ b/sci-libs/orocos_kdl/files/gentoo.patch @@ -0,0 +1,10 @@ +Index: orocos_kdl/CMakeLists.txt +=== +--- orocos_kdl.orig/CMakeLists.txt orocos_kdl/CMakeLists.txt +@@ -114,4 +114,4 @@ INSTALL(FILES ${PROJECT_BINARY_DIR}/oroc + INSTALL(FILES ${PROJECT_BINARY_DIR}/orocos_kdl-config-version.cmake DESTINATION share/orocos_kdl) + INSTALL(EXPORT OrocosKDLTargets DESTINATION share/orocos_kdl) + +-INSTALL(FILES package.xml DESTINATION share/orocos_kdl) ++INSTALL(FILES package.xml DESTINATION share/ros_packages/orocos_kdl) diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.3.0.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.3.0-r1.ebuild similarity index 94% rename from sci-libs/orocos_kdl/orocos_kdl-1.3.0.ebuild rename to sci-libs/orocos_kdl/orocos_kdl-1.3.0-r1.ebuild index 29a3169..fac6891 100644 --- a/sci-libs/orocos_kdl/orocos_kdl-1.3.0.ebuild +++ b/sci-libs/orocos_kdl/orocos_kdl-1.3.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -33,6 +33,7 @@ DEPEND="${RDEPEND} REQUIRED_USE="examples? ( models )" DOCS=( README ) +PATCHES=( "${FILESDIR}/gentoo.patch" ) if [ "${PV#}" != "${PV}" ] ; then S=${WORKDIR}/${P}/orocos_kdl diff --git a/sci-libs/orocos_kdl/orocos_kdl-.ebuild b/sci-libs/orocos_kdl/orocos_kdl-.ebuild index 29a3169..fac6891 100644 --- a/sci-libs/orocos_kdl/orocos_kdl-.ebuild +++ b/sci-libs/orocos_kdl/orocos_kdl-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -33,6 +33,7 @@ DEPEND="${RDEPEND} REQUIRED_USE="examples? ( models )" DOCS=( README ) +PATCHES=( "${FILESDIR}/gentoo.patch" ) if [ "${PV#}" != "${PV}" ] ; then S=${WORKDIR}/${P}/orocos_kdl