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/, sci-libs/octomap/files/
Date: Tue, 28 Feb 2017 11:27:17
Message-Id: 1488281211.c21b9fe833b34c7bd3c3f75ea51995f279b790a9.aballier@gentoo
1 commit: c21b9fe833b34c7bd3c3f75ea51995f279b790a9
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 28 10:54:06 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=c21b9fe8
7
8 sci-libs/octomap: remove old
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 sci-libs/octomap/Manifest | 1 -
13 sci-libs/octomap/files/gentoo.patch | 39 ---------------
14 sci-libs/octomap/octomap-1.8.0-r2.ebuild | 82 --------------------------------
15 3 files changed, 122 deletions(-)
16
17 diff --git a/sci-libs/octomap/Manifest b/sci-libs/octomap/Manifest
18 index 228b4b3140..20840feed3 100644
19 --- a/sci-libs/octomap/Manifest
20 +++ b/sci-libs/octomap/Manifest
21 @@ -1,2 +1 @@
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/files/gentoo.patch b/sci-libs/octomap/files/gentoo.patch
26 deleted file mode 100644
27 index 0fe7426c28..0000000000
28 --- a/sci-libs/octomap/files/gentoo.patch
29 +++ /dev/null
30 @@ -1,39 +0,0 @@
31 -Index: octomap-1.8.0/dynamicEDT3D/CMakeLists.txt
32 -===================================================================
33 ---- octomap-1.8.0.orig/dynamicEDT3D/CMakeLists.txt
34 -+++ octomap-1.8.0/dynamicEDT3D/CMakeLists.txt
35 -@@ -62,7 +62,7 @@ file(GLOB dynamicEDT3D_HDRS ${PROJECT_SO
36 - install(FILES ${dynamicEDT3D_HDRS} DESTINATION include/dynamicEDT3D)
37 -
38 - # Install catkin package.xml, attention package.xml names the catkin package "dynamic_edt_3d", so this is also the location where it needs to be installed to (and not "dynamicEDT3D")
39 --install(FILES package.xml DESTINATION share/dynamic_edt_3d)
40 -+install(FILES package.xml DESTINATION share/ros_packages/dynamic_edt_3d)
41 -
42 - #TODO: this conflicts with the octomap uninstall
43 - #it is not only a target name problem, also both will use the same manifest file
44 -Index: octomap-1.8.0/octomap/CMakeLists.txt
45 -===================================================================
46 ---- octomap-1.8.0.orig/octomap/CMakeLists.txt
47 -+++ octomap-1.8.0/octomap/CMakeLists.txt
48 -@@ -65,7 +65,7 @@ file(GLOB octomap_math_HDRS ${PROJECT_SO
49 - install(FILES ${octomap_math_HDRS} DESTINATION include/octomap/math)
50 -
51 - # Install catkin package.xml
52 --install(FILES package.xml DESTINATION share/octomap)
53 -+install(FILES package.xml DESTINATION share/ros_packages/octomap)
54 -
55 - # uninstall target
56 - configure_file(
57 -Index: octomap-1.8.0/octovis/CMakeLists.txt
58 -===================================================================
59 ---- octomap-1.8.0.orig/octovis/CMakeLists.txt
60 -+++ octomap-1.8.0/octovis/CMakeLists.txt
61 -@@ -126,7 +126,7 @@ IF(BUILD_VIEWER)
62 - install(FILES ${octovis_HDRS} DESTINATION include/octovis)
63 -
64 - # Install catkin package.xml
65 -- install(FILES package.xml DESTINATION share/octovis)
66 -+ install(FILES package.xml DESTINATION share/ros_packages/octovis)
67 -
68 - ELSE()
69 - MESSAGE ( "Unfortunately, the viewer (octovis) can not be built because some requirements are missing.")
70
71 diff --git a/sci-libs/octomap/octomap-1.8.0-r2.ebuild b/sci-libs/octomap/octomap-1.8.0-r2.ebuild
72 deleted file mode 100644
73 index 19df370fdb..0000000000
74 --- a/sci-libs/octomap/octomap-1.8.0-r2.ebuild
75 +++ /dev/null
76 @@ -1,82 +0,0 @@
77 -# Copyright 1999-2016 Gentoo Foundation
78 -# Distributed under the terms of the GNU General Public License v2
79 -# $Id$
80 -
81 -EAPI=5
82 -
83 -SCM=""
84 -if [ "${PV#9999}" != "${PV}" ] ; then
85 - SCM="git-r3"
86 - EGIT_REPO_URI="https://github.com/OctoMap/octomap"
87 -fi
88 -
89 -inherit ${SCM} cmake-utils
90 -
91 -if [ "${PV#9999}" != "${PV}" ] ; then
92 - KEYWORDS=""
93 - SRC_URI=""
94 -else
95 - KEYWORDS="~amd64 ~arm"
96 - SRC_URI="https://github.com/OctoMap/octomap/archive/v${PV}.tar.gz -> ${P}.tar.gz"
97 -fi
98 -
99 -DESCRIPTION="An Efficient Probabilistic 3D Mapping Framework Based on Octrees"
100 -HOMEPAGE="http://octomap.github.io/"
101 -IUSE="qt4 dynamicEDT3D doc"
102 -LICENSE="BSD qt4? ( GPL-2 )"
103 -SLOT="0"
104 -
105 -RDEPEND="
106 - qt4? (
107 - virtual/opengl
108 - dev-qt/qtcore:4
109 - dev-qt/qtgui:4
110 - x11-libs/libQGLViewer:=
111 - )
112 -"
113 -DEPEND="${RDEPEND}
114 - doc? (
115 - app-doc/doxygen
116 - media-gfx/graphviz
117 - )
118 -"
119 -PATCHES=( "${FILESDIR}/gentoo.patch" )
120 -
121 -src_prepare() {
122 - sed -e 's/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/' \
123 - -i */CMakeLists.txt \
124 - -i */CMakeModules/InstallPkgConfigFile.cmake || die
125 - cmake-utils_src_prepare
126 -}
127 -
128 -src_configure() {
129 - local mycmakeargs=(
130 - "-DBUILD_OCTOVIS_SUBPROJECT=$(usex qt4 ON OFF)"
131 - "-DBUILD_DYNAMICETD3D_SUBPROJECT=$(usex dynamicEDT3D ON OFF)"
132 - )
133 - cmake-utils_src_configure
134 -}
135 -
136 -src_compile() {
137 - cmake-utils_src_compile
138 - if use doc ; then
139 - cd "${BUILD_DIR}/octomap"
140 - emake docs
141 - if use dynamicEDT3D ; then
142 - cd "${BUILD_DIR}/dynamicEDT3D"
143 - emake docs_dynamicEDT3D
144 - fi
145 - fi
146 -}
147 -
148 -src_install() {
149 - cmake-utils_src_install
150 - if use doc ; then
151 - insinto /usr/share/doc/${PF}/html/octomap
152 - doins -r "${S}/octomap/doc/html/"*
153 - if use dynamicEDT3D ; then
154 - insinto /usr/share/doc/${PF}/html/dynamicEDT3D
155 - doins -r "${S}/dynamicEDT3D/doc/html/"*
156 - fi
157 - fi
158 -}