* [gentoo-commits] repo/gentoo:master commit in: dev-ros/filters/, dev-ros/filters/files/
@ 2015-09-22 19:22 Alexis Ballier
0 siblings, 0 replies; 2+ messages in thread
From: Alexis Ballier @ 2015-09-22 19:22 UTC (permalink / raw
To: gentoo-commits
commit: afa5c8cb58bbb2d4b5024a9b24c8a1880a7fa730
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 22 19:18:12 2015 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Sep 22 19:22:08 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afa5c8cb
dev-ros/filters: Initial import. Ebuild by me.
Package-Manager: portage-2.2.21
dev-ros/filters/Manifest | 1 +
dev-ros/filters/files/tests.patch | 23 +++++++++++++++++++++++
dev-ros/filters/filters-1.7.4.ebuild | 21 +++++++++++++++++++++
dev-ros/filters/filters-9999.ebuild | 21 +++++++++++++++++++++
dev-ros/filters/metadata.xml | 5 +++++
5 files changed, 71 insertions(+)
diff --git a/dev-ros/filters/Manifest b/dev-ros/filters/Manifest
new file mode 100644
index 0000000..a63337f
--- /dev/null
+++ b/dev-ros/filters/Manifest
@@ -0,0 +1 @@
+DIST filters-1.7.4.tar.gz 16979 SHA256 fb71f1fbeaf89726877fce66dce1db8957c5cc6dffa1973d6a104a10233f8237 SHA512 74a0b64b7225f0b28e369f58fe9e5d639ed80acd18db849b1519e725b7566e6299b01e07559105c3072a781ba56b54d6a5887b02145700e046aeeb2740cbcc80 WHIRLPOOL 336f915d81b52f5b56d55026478ed60d3aa4a67cf281368213b446046edaf8b092f006818dbd54a7f7dc87b5575eda565d5ab8845b1c2f5e5be6d13ea24b3876
diff --git a/dev-ros/filters/files/tests.patch b/dev-ros/filters/files/tests.patch
new file mode 100644
index 0000000..ee1f862
--- /dev/null
+++ b/dev-ros/filters/files/tests.patch
@@ -0,0 +1,23 @@
+Upstream status: Merged.
+https://github.com/ros/filters/commit/2607c82034cdfbf96fe372c9637b0133b6ba6970
+
+Index: filters-1.7.4/CMakeLists.txt
+===================================================================
+--- filters-1.7.4.orig/CMakeLists.txt
++++ filters-1.7.4/CMakeLists.txt
+@@ -40,6 +40,7 @@ target_link_libraries(median ${catkin_LI
+ add_library(transfer_function src/transfer_function.cpp)
+ target_link_libraries(transfer_function ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+
++if(CATKIN_ENABLE_TESTING)
+ # Test median filter
+ add_executable(median_test EXCLUDE_FROM_ALL test/test_median.cpp )
+ target_link_libraries(median_test median ${catkin_LIBRARIES} ${Boost_LIBRARIES} ${GTEST_LIBRARIES})
+@@ -67,6 +68,7 @@ add_rostest(test/test_chain.launch)
+
+ # Test realtime safe buffer class
+ catkin_add_gtest(realtime_buffer_test EXCLUDE_FROM_ALL test/test_realtime_circular_buffer.cpp)
++endif()
+
+ ##############################################################################
+ # Install
diff --git a/dev-ros/filters/filters-1.7.4.ebuild b/dev-ros/filters/filters-1.7.4.ebuild
new file mode 100644
index 0000000..4b50ee0
--- /dev/null
+++ b/dev-ros/filters/filters-1.7.4.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+ROS_REPO_URI="https://github.com/ros/filters"
+KEYWORDS="~amd64 ~arm"
+
+inherit ros-catkin
+
+DESCRIPTION="Standardized interface for processing data as a sequence of filters"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND="dev-ros/roscpp
+ dev-ros/pluginlib"
+DEPEND="${RDEPEND}
+ test? ( dev-ros/rostest dev-cpp/gtest )"
+PATCHES=( "${FILESDIR}/tests.patch" )
diff --git a/dev-ros/filters/filters-9999.ebuild b/dev-ros/filters/filters-9999.ebuild
new file mode 100644
index 0000000..4b50ee0
--- /dev/null
+++ b/dev-ros/filters/filters-9999.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+ROS_REPO_URI="https://github.com/ros/filters"
+KEYWORDS="~amd64 ~arm"
+
+inherit ros-catkin
+
+DESCRIPTION="Standardized interface for processing data as a sequence of filters"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND="dev-ros/roscpp
+ dev-ros/pluginlib"
+DEPEND="${RDEPEND}
+ test? ( dev-ros/rostest dev-cpp/gtest )"
+PATCHES=( "${FILESDIR}/tests.patch" )
diff --git a/dev-ros/filters/metadata.xml b/dev-ros/filters/metadata.xml
new file mode 100644
index 0000000..c42ea5b
--- /dev/null
+++ b/dev-ros/filters/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ros</herd>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-ros/filters/, dev-ros/filters/files/
@ 2015-10-07 10:48 Alexis Ballier
0 siblings, 0 replies; 2+ messages in thread
From: Alexis Ballier @ 2015-10-07 10:48 UTC (permalink / raw
To: gentoo-commits
commit: c7ecbb327a1586d4c6c5ca2e6e45b2efd049db8f
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 7 10:47:58 2015 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Oct 7 10:48:09 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7ecbb32
dev-ros/filters: Backport upstream fix to build without rostest when tests are not enabled. Bug #562466.
Package-Manager: portage-2.2.22
dev-ros/filters/files/rostest.patch | 27 +++++++++++++++++++++++++++
dev-ros/filters/filters-1.7.4.ebuild | 2 +-
2 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/dev-ros/filters/files/rostest.patch b/dev-ros/filters/files/rostest.patch
new file mode 100644
index 0000000..6a266fd
--- /dev/null
+++ b/dev-ros/filters/files/rostest.patch
@@ -0,0 +1,27 @@
+commit 5aef0d6619394df17bffe743071295ad041b5794
+Author: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
+Date: Tue Feb 4 16:02:09 2014 +0100
+
+ make rostest in CMakeLists optional (ros/rosdistro#3010)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index ccb54f9..97eea51 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -5,7 +5,7 @@ project(filters)
+ # Find dependencies
+ ##############################################################################
+
+-find_package(catkin REQUIRED COMPONENTS pluginlib roslib roscpp rosconsole rostest)
++find_package(catkin REQUIRED COMPONENTS pluginlib roslib roscpp rosconsole)
+ find_package(Boost COMPONENTS system filesystem thread REQUIRED)
+
+ include_directories(
+@@ -41,6 +41,7 @@ add_library(transfer_function src/transfer_function.cpp)
+ target_link_libraries(transfer_function ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+
+ if(CATKIN_ENABLE_TESTING)
++ find_package(rostest)
+ # Test median filter
+ add_executable(median_test EXCLUDE_FROM_ALL test/test_median.cpp )
+ target_link_libraries(median_test median ${catkin_LIBRARIES} ${Boost_LIBRARIES} ${GTEST_LIBRARIES})
diff --git a/dev-ros/filters/filters-1.7.4.ebuild b/dev-ros/filters/filters-1.7.4.ebuild
index 4b50ee0..d718f2d 100644
--- a/dev-ros/filters/filters-1.7.4.ebuild
+++ b/dev-ros/filters/filters-1.7.4.ebuild
@@ -18,4 +18,4 @@ RDEPEND="dev-ros/roscpp
dev-ros/pluginlib"
DEPEND="${RDEPEND}
test? ( dev-ros/rostest dev-cpp/gtest )"
-PATCHES=( "${FILESDIR}/tests.patch" )
+PATCHES=( "${FILESDIR}/tests.patch" "${FILESDIR}/rostest.patch" )
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-07 10:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-22 19:22 [gentoo-commits] repo/gentoo:master commit in: dev-ros/filters/, dev-ros/filters/files/ Alexis Ballier
-- strict thread matches above, loose matches on Subject: below --
2015-10-07 10:48 Alexis Ballier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox