From 2fd1ab2214b5294d45d782a43e1bb1a493d2e738 Mon Sep 17 00:00:00 2001
From: Aurelie Clodic <aurelie.clodic@gmail.com>
Date: Wed, 4 Dec 2013 09:45:54 +0100
Subject: [PATCH] [wip/ros-realtime-tools] Release 1.8.2

First robotpkg release.

This package contains a set of tools that can be used from a hard realtime thread, without breaking the realtime behavior. The tools currently only provides the realtime publisher,
which makes it possible to publish messages to a ROS topic from a realtime thread.
---
 Makefile                     |  1 +
 ros-realtime-tools/DESCR     |  1 +
 ros-realtime-tools/Makefile  | 21 +++++++++++++++++++++
 ros-realtime-tools/PLIST     | 12 ++++++++++++
 ros-realtime-tools/depend.mk | 35 +++++++++++++++++++++++++++++++++++
 ros-realtime-tools/distinfo  |  3 +++
 6 files changed, 73 insertions(+)
 create mode 100755 ros-realtime-tools/DESCR
 create mode 100755 ros-realtime-tools/Makefile
 create mode 100755 ros-realtime-tools/PLIST
 create mode 100755 ros-realtime-tools/depend.mk
 create mode 100755 ros-realtime-tools/distinfo

diff --git a/Makefile b/Makefile
index 95ec654d..8ecd80ac 100644
--- a/Makefile
+++ b/Makefile
@@ -74,6 +74,7 @@ SUBDIR+=	rednav-genom
 SUBDIR+=	rfid-genom
 SUBDIR+=	robotModelParser-libs
 SUBDIR+=	robot-viewer
+SUBDIR+=	ros-realtime-tools
 SUBDIR+= 	rtslam-genom
 SUBDIR+=	spark-genom
 SUBDIR+=	sparkyarp-genom
diff --git a/ros-realtime-tools/DESCR b/ros-realtime-tools/DESCR
new file mode 100755
index 00000000..1434f2b7
--- /dev/null
+++ b/ros-realtime-tools/DESCR
@@ -0,0 +1 @@
+This package contains a set of tools that can be used from a hard realtime thread, without breaking the realtime behavior. The tools currently only provides the realtime publisher, which makes it possible to publish messages to a ROS topic from a realtime thread.
\ No newline at end of file
diff --git a/ros-realtime-tools/Makefile b/ros-realtime-tools/Makefile
new file mode 100755
index 00000000..40084853
--- /dev/null
+++ b/ros-realtime-tools/Makefile
@@ -0,0 +1,21 @@
+# robotpkg Makefile for:	devel/ros-realtime-tools
+# Created:			Aurelie Clodic on Thu, 28 Nov 2013
+#
+
+ROS_PKG=	realtime_tools
+ROS_VERSION=	1.8.2
+ROS_REPO=	ros-controls
+
+CATEGORIES=	devel
+ROS_COMMENT=	provides a realtime publisher, which makes it possible to publish messages to a ROS topic from a reatime thread
+HOMEPAGE=	wiki.ros.org/realtime_tools
+
+include ../../meta-pkgs/ros-base/Makefile.common
+
+CMAKE_ARGS+=	-DTINYXML_ROOT=${PREFIX.tinyxml}
+
+include ../../devel/ros-catkin/depend.mk
+include ../../middleware/ros-comm/depend.mk
+include ../../mk/sysdep/tinyxml.mk
+include ../../mk/robotpkg.mk
+
diff --git a/ros-realtime-tools/PLIST b/ros-realtime-tools/PLIST
new file mode 100755
index 00000000..852d3925
--- /dev/null
+++ b/ros-realtime-tools/PLIST
@@ -0,0 +1,12 @@
+@comment Tue Dec 3 07:35:41 CET 2013
+include/realtime_tools/realtime_box.h
+include/realtime_tools/realtime_buffer.h
+include/realtime_tools/realtime_clock.h
+include/realtime_tools/realtime_publisher.h
+include/realtime_tools/realtime_server_goal_handle.h
+lib/librealtime_tools.so
+lib/pkgconfig/realtime_tools.pc
+lib/realtime_tools/channelecho.py
+share/realtime_tools/cmake/realtime_toolsConfig-version.cmake
+share/realtime_tools/cmake/realtime_toolsConfig.cmake
+share/realtime_tools/package.xml
diff --git a/ros-realtime-tools/depend.mk b/ros-realtime-tools/depend.mk
new file mode 100755
index 00000000..555d81b2
--- /dev/null
+++ b/ros-realtime-tools/depend.mk
@@ -0,0 +1,35 @@
+# robotpkg depend.mk for:	devel/ros-realtime-tools
+# Created:			Aurelie Clodic on Thu, 28 Nov 2013
+#
+
+DEPEND_DEPTH:=			${DEPEND_DEPTH}+
+ROS_REALTIMETOOLS_DEPEND_MK:=	${ROS_REALTIMETOOLS_DEPEND_MK}+
+
+ifeq (+,$(DEPEND_DEPTH))
+DEPEND_PKG+=			ros-realtime-tools
+endif
+
+ifeq (+,$(ROS_REALTIMETOOLS_DEPEND_MK)) # --------------------------------------
+
+include ../../meta-pkgs/ros-base/depend.common
+PREFER.ros-reatime-tools?=		${PREFER.ros-base}
+SYSTEM_PREFIX.ros-realtime-tools?=	${SYSTEM_PREFIX.ros-base}
+
+DEPEND_USE+=			ros-realtime-tools
+ROS_DEPEND_USE+=		ros-realtime-tools
+
+DEPEND_ABI.ros+=		ros>=hydro
+
+DEPEND_ABI.ros-realtime-tools?=	ros-realtime-tools>=1.8.2
+DEPEND_DIR.ros-realtime-tools?=	../../devel/ros-reatime-tools
+
+DEPEND_ABI.ros-reatime-tools.hydro?=	ros-realtime-tools>=1.8.2
+
+SYSTEM_SEARCH.ros-realtime-tools=\
+  'include/realtime_tools/realtime_box.h'				\
+  'share/realtime_tools/${ROS_STACKAGE}:/<version>/s/[^0-9.]//gp'	\
+  'lib/pkgconfig/realtime_tools.pc:/Version/s/[^0-9.]//gp'
+
+endif # ROS_REALTIMETOOLS_DEPEND_MK --------------------------------------------
+
+DEPEND_DEPTH:=		${DEPEND_DEPTH:+=}
diff --git a/ros-realtime-tools/distinfo b/ros-realtime-tools/distinfo
new file mode 100755
index 00000000..ad0ea863
--- /dev/null
+++ b/ros-realtime-tools/distinfo
@@ -0,0 +1,3 @@
+SHA1 (ros/realtime_tools-1.8.2.tar.gz) = a27c6fe2febf45d85d0cdb0ad5510036f2540bd2
+RMD160 (ros/realtime_tools-1.8.2.tar.gz) = bc652eab5b42c6e8a233418bf187d67af689c921
+Size (ros/realtime_tools-1.8.2.tar.gz) = 7119 bytes
-- 
GitLab