Commit c4cfd0a8 authored by Anthony Mallet's avatar Anthony Mallet
Browse files

[graphics/rcpdf] Delete package

This depends on graphics/rcpdf-interface, which supports only ros <= groovy,
which is mostly obsolete. This package is probably not used anymore.

OK Florent
parent 3931f751
......@@ -24,7 +24,6 @@ SUBDIR+= openvrml-libs
SUBDIR+= pqp
SUBDIR+= primitiveShapes-libs
SUBDIR+= rcpdf
SUBDIR+= rcpdf-interface
SUBDIR+= robot-capsule-urdf
SUBDIR+= ros-convex-decomposition
SUBDIR+= ros-geometric-shapes
......
Parser for Robot Contact Point Description Format.
# robotpkg Makefile for: graphics/rcpdf
# Created: Florent Lamiraux on Tue, 30 Jul 2013
#
PKGREVISION= 2
VERSION= 0.2
DISTNAME= rcpdf-${VERSION}
MASTER_SITES= ${MASTER_SITE_OPENROBOTS:=rcpdf/}
CATEGORIES= graphics
MAINTAINER= hpp@laas.fr
HOMEPAGE= https://github.com/laas/robot_contact_point
COMMENT= Robot Contact Point Description Format interfaces
LICENSE= 2-clause-bsd
DYNAMIC_PLIST_DIRS+= share/doc/rcpdf
CMAKE_ARGS+= -DTINYXML_ROOT=${PREFIX.tinyxml}
include ../../devel/tinyxml/depend.mk
include ../../graphics/rcpdf-interface/depend.mk
include ../../graphics/ros-robot-model/depend.mk
include ../../graphics/urdfdom-headers/depend.mk
include ../../graphics/urdfdom/depend.mk
include ../../pkgtools/pkg-config/depend.mk
include ../../mk/language/c.mk
include ../../mk/language/c++.mk
include ../../mk/sysdep/cmake.mk
include ../../mk/sysdep/doxygen.mk
include ../../mk/robotpkg.mk
@comment Tue Jul 30 20:16:14 CEST 2013
include/rcpdf/config.h
include/rcpdf/config.hh
include/rcpdf/deprecated.hh
include/rcpdf/parser.hh
include/rcpdf/warning.hh
lib/librcpdf.so
lib/pkgconfig/rcpdf.pc
lib/rcpdf/check_rcpdf
# robotpkg depend.mk for: graphics/rcpdf
# Created: Florent Lamiraux on Tue, 30 Jul 2013
#
DEPEND_DEPTH:= ${DEPEND_DEPTH}+
RPCDF_DEPEND_MK:= ${RPCDF_DEPEND_MK}+
ifeq (+,$(DEPEND_DEPTH))
DEPEND_PKG+= rcpdf
endif
ifeq (+,$(RPCDF_DEPEND_MK)) # --------------------------------------
PREFER.rcpdf?= robotpkg
DEPEND_USE+= rcpdf
DEPEND_ABI.rcpdf?= rcpdf>=0.2
DEPEND_DIR.rcpdf?= ../../graphics/rcpdf
SYSTEM_SEARCH.rcpdf=\
lib/rcpdf/check_rcpdf \
lib/librcpdf.so \
include/rcpdf/parser.hh \
'lib/pkgconfig/rcpdf.pc:/Version/s/[^0-9.]//gp'
endif # RPCDF_DEPEND_MK --------------------------------------------
DEPEND_DEPTH:= ${DEPEND_DEPTH:+=}
SHA1 (rcpdf-0.2.tar.gz) = ccf8ec567c312b52ea54314d255601528d8cfe27
RMD160 (rcpdf-0.2.tar.gz) = 4927e54103145bb047dc1c7d7cb6e68afc70bfa4
Size (rcpdf-0.2.tar.gz) = 76184 bytes
SHA1 (patch-aa) = c7ede709688aafd91b000092d2ae57ad4fcbba00
SHA1 (patch-ab) = 22361851f24e1515d9f680079b7cb81c1e2eb937
tinyxml provides no .pc file
--- CMakeLists.txt~ 2013-07-30 19:52:19.000000000 +0200
+++ CMakeLists.txt 2013-08-02 11:01:35.809403832 +0200
@@ -22,14 +22,19 @@
ADD_REQUIRED_DEPENDENCY("urdfdom >= 0.2")
ADD_REQUIRED_DEPENDENCY("urdfdom_headers >= 0.2")
ADD_REQUIRED_DEPENDENCY("rcpdf_interface >= 0.2")
-ADD_REQUIRED_DEPENDENCY("tinyxml >= 2.6")
+find_file(tinyxml_HEADER tinyxml.h
+ PATH ${TINYXML_ROOT}/include ${TINYXML_ROOT}/include/tinyxml)
+find_library(tinyxml_LIBRARIES libtinyxml.so
+ PATH ${TINYXML_ROOT}/lib)
+get_filename_component(tinyxml_INCLUDE_DIRS ${tinyxml_HEADER} PATH)
+include_directories(include ${tinyxml_INCLUDE_DIRS})
SET(LIBRARY_NAME ${PROJECT_NAME})
ADD_LIBRARY(${LIBRARY_NAME} SHARED
src/parser.cpp
)
-PKG_CONFIG_USE_DEPENDENCY(${LIBRARY_NAME} tinyxml)
+target_link_libraries(${LIBRARY_NAME} ${tinyxml_LIBRARIES})
PKG_CONFIG_USE_DEPENDENCY(${LIBRARY_NAME} urdf)
PKG_CONFIG_USE_DEPENDENCY(${LIBRARY_NAME} urdfdom)
PKG_CONFIG_USE_DEPENDENCY(${LIBRARY_NAME} urdfdom_headers)
@@ -42,7 +47,7 @@
SET(PROGRAM_NAME check_rcpdf)
ADD_EXECUTABLE(${PROGRAM_NAME} src/check_rcpdf.cpp)
TARGET_LINK_LIBRARIES(${PROGRAM_NAME} ${PROJECT_NAME})
-PKG_CONFIG_USE_DEPENDENCY(${PROGRAM_NAME} tinyxml)
+target_link_libraries(${PROGRAM_NAME} ${tinyxml_LIBRARIES})
PKG_CONFIG_USE_DEPENDENCY(${PROGRAM_NAME} urdf)
PKG_CONFIG_USE_DEPENDENCY(${PROGRAM_NAME} urdfdom)
PKG_CONFIG_USE_DEPENDENCY(${PROGRAM_NAME} urdfdom_headers)
Use cmake's idea of the "make" program, so that it can be tuned by robotpkg
https://github.com/jrl-umi3218/jrl-cmakemodules/issues/34
--- cmake/doxygen.cmake~ 2013-07-30 19:48:34.000000000 +0200
+++ cmake/doxygen.cmake 2013-12-14 18:26:08.000000000 +0100
@@ -66,7 +66,7 @@
COMMENT "Generating Doxygen documentation"
)
- INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${MAKE} doc)")
+ INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_MAKE_PROGRAM} doc)")
ENDIF(MSVC)
ADD_CUSTOM_COMMAND(
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment