From 73e7e6d888531fcf0fa7d4edecfd3c368ba05240 Mon Sep 17 00:00:00 2001
From: Anthony Mallet <anthony.mallet@laas.fr>
Date: Mon, 15 Apr 2019 18:07:48 +0200
Subject: [PATCH] [wip/hrp2-computer-monitor] Move to robotpkg/sysutils

---
 Makefile                        |  1 -
 hrp2-bringup/Makefile           |  2 +-
 hrp2-computer-monitor/DESCR     |  1 -
 hrp2-computer-monitor/Makefile  | 32 --------------------------------
 hrp2-computer-monitor/PLIST     | 10 ----------
 hrp2-computer-monitor/depend.mk | 26 --------------------------
 hrp2-computer-monitor/distinfo  |  3 ---
 sot-hrp2/Makefile               |  2 +-
 sot-hrprtc-hrp2/Makefile        |  2 +-
 9 files changed, 3 insertions(+), 76 deletions(-)
 delete mode 100644 hrp2-computer-monitor/DESCR
 delete mode 100644 hrp2-computer-monitor/Makefile
 delete mode 100644 hrp2-computer-monitor/PLIST
 delete mode 100644 hrp2-computer-monitor/depend.mk
 delete mode 100644 hrp2-computer-monitor/distinfo

diff --git a/Makefile b/Makefile
index 3f2e1ac3..b01ff9f2 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,6 @@ SUBDIR+=	hpp-spline
 SUBDIR+=	hpp-universal-robot
 SUBDIR+=	hrp2-14-description
 SUBDIR+=	hrp2-bringup
-SUBDIR+=	hrp2-computer-monitor
 SUBDIR+=	hrp2-dev
 SUBDIR+=	infuse-asn1-conversions
 SUBDIR+=	infuse-asn1-types
diff --git a/hrp2-bringup/Makefile b/hrp2-bringup/Makefile
index 36730d7e..d72054a4 100644
--- a/hrp2-bringup/Makefile
+++ b/hrp2-bringup/Makefile
@@ -20,8 +20,8 @@ DYNAMIC_PLIST_DIRS+=	share/doc/hrp2_bringup
 
 include ../../pkgtools/pkg-config/depend.mk
 include ../../robots/hrp2-machine/depend.mk
+include ../../sysutils/hrp2-computer-monitor/depend.mk
 include ../../wip/hrp2-14-description/depend.mk
-include ../../wip/hrp2-computer-monitor/depend.mk
 include ../../mk/sysdep/cmake.mk
 include ../../mk/sysdep/doxygen.mk
 include ../../mk/sysdep/graphviz.mk
diff --git a/hrp2-computer-monitor/DESCR b/hrp2-computer-monitor/DESCR
deleted file mode 100644
index 753856fa..00000000
--- a/hrp2-computer-monitor/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-HRP-2 monitor package
diff --git a/hrp2-computer-monitor/Makefile b/hrp2-computer-monitor/Makefile
deleted file mode 100644
index 2c3d6c90..00000000
--- a/hrp2-computer-monitor/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-# robotpkg Makefile for:	robots/hrp2-computer-monitor
-# Created:			Olivier Stasse on Wed, 17 Jun 2015
-#
-VERSION=		1.0.2
-DISTNAME=		hrp2-computer-monitor-${VERSION}
-CATEGORIES=		sysutils
-MASTER_SITES=		${MASTER_SITE_JRL}ros/${PKGBASE}/
-MASTER_REPOSITORY=	${MASTER_REPOSITORY_JRL}robots/ros-hrp2/${PKGBASE}
-
-MAINTAINER=		gepetto@laas.fr
-COMMENT=		Hrp2 ros monitoring package
-LICENSE=		openhrp-grx-license
-WRKSRC=			${WRKDIR}/hrp2_computer_monitor-${VERSION}
-
-RESTRICTED=	Redistribution of repackaged binaries not permitted
-NO_PUBLIC_SRC=	${RESTRICTED}
-NO_PUBLIC_BIN=	${RESTRICTED}
-
-DYNAMIC_PLIST_DIRS+=	share/doc/hrp2_computer_monitor
-
-include ../../devel/ros-catkin/depend.mk
-include ../../interfaces/ros-common-msgs/depend.mk
-include ../../interfaces/ros-std-msgs/depend.mk
-include ../../middleware/ros-comm/depend.mk
-include ../../pkgtools/pkg-config/depend.mk
-include ../../mk/sysdep/cmake.mk
-include ../../mk/sysdep/doxygen.mk
-include ../../mk/sysdep/graphviz.mk
-include ../../mk/sysdep/pdflatex.mk
-include ../../mk/language/c.mk
-include ../../mk/language/c++.mk
-include ../../mk/robotpkg.mk
diff --git a/hrp2-computer-monitor/PLIST b/hrp2-computer-monitor/PLIST
deleted file mode 100644
index 1ff1b2d0..00000000
--- a/hrp2-computer-monitor/PLIST
+++ /dev/null
@@ -1,10 +0,0 @@
-@comment Tue May 31 15:04:00 CEST 2016
-include/hrp2/computer/monitor/config.h
-include/hrp2/computer/monitor/config.hh
-include/hrp2/computer/monitor/deprecated.hh
-include/hrp2/computer/monitor/warning.hh
-lib/pkgconfig/hrp2_computer_monitor.pc
-share/hrp2_computer_monitor/package.xml
-share/hrp2_computer_monitor/scripts/cpu_monitor.py
-share/hrp2_computer_monitor/scripts/hd_monitor.py
-share/hrp2_computer_monitor/scripts/ntp_monitor.py
diff --git a/hrp2-computer-monitor/depend.mk b/hrp2-computer-monitor/depend.mk
deleted file mode 100644
index 23b58ae0..00000000
--- a/hrp2-computer-monitor/depend.mk
+++ /dev/null
@@ -1,26 +0,0 @@
-# robotpkg depend.mk for:	robots/hrp2-computer-monitor
-# Created:			Olivier Stasse on Wed, 24 Jun 2015
-#
-
-DEPEND_DEPTH:=		${DEPEND_DEPTH}+
-HRP2_COMPUTER_MONITOR_DEPEND_MK:=	${HRP2_COMPUTER_MONITOR_DEPEND_MK}+
-
-ifeq (+,$(DEPEND_DEPTH))
-DEPEND_PKG+=		hrp2-computer-monitor
-endif
-
-ifeq (+,$(HRP2_COMPUTER_MONITOR_DEPEND_MK)) # ------------------------------
-
-PREFER.hrp2-computer-monitor?=	robotpkg
-
-SYSTEM_SEARCH.hrp2-computer-monitor=\
-	'lib/pkgconfig/hrp2_computer_monitor.pc:/Version/s/[^0-9.]//gp'
-
-DEPEND_USE+=		hrp2-computer-monitor
-
-DEPEND_ABI.hrp2-computer-monitor?=	hrp2-computer-monitor>=1.0.0
-DEPEND_DIR.hrp2-computer-monitor?=	../../wip/hrp2-computer-monitor
-
-endif # HRP2_COMPUTER_MONITOR_DEPEND_MK ------------------------------------
-
-DEPEND_DEPTH:=		${DEPEND_DEPTH:+=}
diff --git a/hrp2-computer-monitor/distinfo b/hrp2-computer-monitor/distinfo
deleted file mode 100644
index 60597eb6..00000000
--- a/hrp2-computer-monitor/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-SHA1 (hrp2-computer-monitor-1.0.2.tar.gz) = ac228d6218f74ec721a0aebad03b8d884780d15c
-RMD160 (hrp2-computer-monitor-1.0.2.tar.gz) = a0b603c6dcb0e078cc36228630b8d4dc6e1885f8
-Size (hrp2-computer-monitor-1.0.2.tar.gz) = 89309 bytes
diff --git a/sot-hrp2/Makefile b/sot-hrp2/Makefile
index bb1ed991..3ccc855f 100644
--- a/sot-hrp2/Makefile
+++ b/sot-hrp2/Makefile
@@ -26,9 +26,9 @@ include ../../robots/hrp2-14/depend.mk
 include ../../robots/hrp2-14/depend.mk
 include ../../robots/hrp2-machine/depend.mk
 include ../../scripts/py-sot-application/depend.mk
+include ../../sysutils/hrp2-computer-monitor/depend.mk
 include ../../wip/hrp2-14-description/depend.mk
 include ../../wip/hrp2-bringup/depend.mk
-include ../../wip/hrp2-computer-monitor/depend.mk
 include ../../wip/sot-dyninv/depend.mk
 include ../../mk/sysdep/cmake.mk
 include ../../mk/sysdep/doxygen.mk
diff --git a/sot-hrprtc-hrp2/Makefile b/sot-hrprtc-hrp2/Makefile
index 31e561c6..0ea15a76 100644
--- a/sot-hrprtc-hrp2/Makefile
+++ b/sot-hrprtc-hrp2/Makefile
@@ -33,9 +33,9 @@ include ../../robots/hrp2-14/depend.mk
 include ../../robots/hrp2-14/depend.mk
 include ../../robots/hrp2-machine/depend.mk
 include ../../scripts/py-sot-application/depend.mk
+include ../../sysutils/hrp2-computer-monitor/depend.mk
 include ../../wip/hrp2-14-description/depend.mk
 include ../../wip/hrp2-bringup/depend.mk
-include ../../wip/hrp2-computer-monitor/depend.mk
 include ../../wip/sot-dyninv/depend.mk
 include ../../wip/sot-hrp2/depend.mk
 include ../../mk/sysdep/cmake.mk
-- 
GitLab