Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/octomap/
Date: Tue, 28 Feb 2017 11:27:16
Message-Id: 1488281211.6a4b07fb26999efa7b5627ed31fad3732fa0860c.aballier@gentoo
1 commit: 6a4b07fb26999efa7b5627ed31fad3732fa0860c
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 28 10:53:39 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 28 11:26:51 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a4b07fb
7
8 sci-libs/octomap: Bump to 1.8.1 and install package.xml in our custom gentoo path from ebuild instead of patching.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 sci-libs/octomap/Manifest | 1 +
13 sci-libs/octomap/{octomap-9999.ebuild => octomap-1.8.1.ebuild} | 10 ++++++++--
14 sci-libs/octomap/octomap-9999.ebuild | 10 ++++++++--
15 3 files changed, 17 insertions(+), 4 deletions(-)
16
17 diff --git a/sci-libs/octomap/Manifest b/sci-libs/octomap/Manifest
18 index 3d1141a389..228b4b3140 100644
19 --- a/sci-libs/octomap/Manifest
20 +++ b/sci-libs/octomap/Manifest
21 @@ -1 +1,2 @@
22 DIST octomap-1.8.0.tar.gz 1584799 SHA256 158f66af55bb660a2aa7d0a00c60c9e5320f6594bd0924748af1471d315d5633 SHA512 61ceeee80de8bcdcfde69c3dd30a218ec7f9e4362b1bae8e80d29dde74875a717cc1cbcfba1a7c3ee7ec0ee954297796ac35052782b98af36448f5c3305bdfa9 WHIRLPOOL 12d1dd64d0b7999aa41c5ed878af63385f25536a32a38b28d168a10560dc6de5ce1148d6f20c310082da765066a8f3f826860f481ae11e1669aa9a15f6365b71
23 +DIST octomap-1.8.1.tar.gz 1679526 SHA256 8b18ef7693e87f1400b9a8bc41f86e3b28259ac98c0b458037232652380aa6af SHA512 e35567da0d6741747abbc87de49733d0e92bae8aedfe66a63766740cc6566f3cfdbc3c986369177497cc9a8fb208ed9b727da496cec48e2ad23328df06fbc8d6 WHIRLPOOL 7bad33e4bb01ef0d0599d4e7ea6b323e4aacb06d9f5e8d4a05b52aa0be72d205735402ed25f2ff3fcad6636f838124453f61bff1808fbe75154a4e7d32d1ded3
24
25 diff --git a/sci-libs/octomap/octomap-9999.ebuild b/sci-libs/octomap/octomap-1.8.1.ebuild
26 similarity index 87%
27 copy from sci-libs/octomap/octomap-9999.ebuild
28 copy to sci-libs/octomap/octomap-1.8.1.ebuild
29 index 19df370fdb..a80cadce5c 100644
30 --- a/sci-libs/octomap/octomap-9999.ebuild
31 +++ b/sci-libs/octomap/octomap-1.8.1.ebuild
32 @@ -1,4 +1,4 @@
33 -# Copyright 1999-2016 Gentoo Foundation
34 +# Copyright 1999-2017 Gentoo Foundation
35 # Distributed under the terms of the GNU General Public License v2
36 # $Id$
37
38 @@ -40,7 +40,6 @@ DEPEND="${RDEPEND}
39 media-gfx/graphviz
40 )
41 "
42 -PATCHES=( "${FILESDIR}/gentoo.patch" )
43
44 src_prepare() {
45 sed -e 's/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/' \
46 @@ -79,4 +78,11 @@ src_install() {
47 doins -r "${S}/dynamicEDT3D/doc/html/"*
48 fi
49 fi
50 +
51 + insinto /usr/share/ros_packages/${PN}
52 + doins "${ED}/usr/share/${PN}/package.xml"
53 + if use qt4; then
54 + insinto /usr/share/ros_packages/octovis
55 + doins "${ED}/usr/share/octovis/package.xml"
56 + fi
57 }
58
59 diff --git a/sci-libs/octomap/octomap-9999.ebuild b/sci-libs/octomap/octomap-9999.ebuild
60 index 19df370fdb..a80cadce5c 100644
61 --- a/sci-libs/octomap/octomap-9999.ebuild
62 +++ b/sci-libs/octomap/octomap-9999.ebuild
63 @@ -1,4 +1,4 @@
64 -# Copyright 1999-2016 Gentoo Foundation
65 +# Copyright 1999-2017 Gentoo Foundation
66 # Distributed under the terms of the GNU General Public License v2
67 # $Id$
68
69 @@ -40,7 +40,6 @@ DEPEND="${RDEPEND}
70 media-gfx/graphviz
71 )
72 "
73 -PATCHES=( "${FILESDIR}/gentoo.patch" )
74
75 src_prepare() {
76 sed -e 's/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/' \
77 @@ -79,4 +78,11 @@ src_install() {
78 doins -r "${S}/dynamicEDT3D/doc/html/"*
79 fi
80 fi
81 +
82 + insinto /usr/share/ros_packages/${PN}
83 + doins "${ED}/usr/share/${PN}/package.xml"
84 + if use qt4; then
85 + insinto /usr/share/ros_packages/octovis
86 + doins "${ED}/usr/share/octovis/package.xml"
87 + fi
88 }