Skip to content
Snippets Groups Projects
Commit 3c588ae3 authored by Anthony Mallet's avatar Anthony Mallet
Browse files

[wip/kineo-pp] Delete: same package as path/kineo-pp

Ok florent.
parent 465ebad2
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,6 @@ SUBDIR+= boost-log
SUBDIR+= hpp
SUBDIR+= hpp-template-corba
SUBDIR+= hpp-util
SUBDIR+= kineo-pp
SUBDIR+= mk
SUBDIR+= morse
SUBDIR+= openvrml
......
KineoWorks is an on-the-shelf software component dedicated to motion
planning. Developed by Kineo CAM, it benefits from years of research
conducted at LAAS, a lab of the French Institutes for Scientific Research
CNRS. It enables 'automatic motion' of any mechanical system or virtual
artefact in a 3D environment in a realistic way, which means managing
collision avoidance and kinematical constraints of the system. The
KineoWorks APIs have been designed to be easy to integrate in any
software.
#
# Copyright (c) 2006-2010 LAAS/CNRS
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# 1. Redistributions of source code must retain the above copyright
# notice and this list of conditions.
# 2. Redistributions in binary form must reproduce the above copyright
# notice and this list of conditions in the documentation and/or
# other materials provided with the distribution.
#
# Anthony Mallet on Sat Dec 9 2006
#
KPPVERSION= 2.04
KPPPATCH= 502
PKGNAME= kineo-pp-${KPPVERSION}.${KPPPATCH}
DISTNAME= KPPSDK$(subst .,,${KPPVERSION})${KPPPATCH}
EXTRACT_SUFX= .tgz
WRKSRC= ${WRKDIR}/KPPSDK$(subst .,,${KPPVERSION})${KPPPATCH}
CATEGORIES= path
MASTER_SITES= ${MASTER_SITE_OPENROBOTS}
MAINTAINER= openrobots@laas.fr
HOMEPAGE= http://www.kineocam.org/
COMMENT= Software component dedicated to motion planning.
LICENSE= kineocam-license
SUBST_CLASSES+= kineopc
SUBST_STAGE.kineopc= pre-configure
SUBST_MESSAGE.kineopc= Generating pkg-config files.
SUBST_SED.kineopc= \
-e 's|@PREFIX@|${PREFIX}|g' \
-e 's|@KPPVERSION@|${KPPVERSION}|g' \
-e 's|@KPPPATCH@|${KPPPATCH}|g'
SUBST_FILES.kineopc= \
KineoController.pc \
KineoPathPlanner.pc
INTERACTIVE_STAGE= fetch
FETCH_MESSAGE+= " The file ${DISTNAME}${EXTRACT_SUFX} containing KPP ${KPPVERSION}"
FETCH_MESSAGE+= ""
FETCH_MESSAGE+= " must be put manually into:"
FETCH_MESSAGE+= " ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"
NO_BUILD= yes
INSTALLATION_DIRS=\
bin \
${KINEO_DIR}/bin \
${KINEO_DIR}/include \
${KINEO_DIR}/lib/modules \
${KINEO_DIR}/res \
${KINEO_DIR}/share/doc \
${KINEO_DIR}/share/demos \
${KINEO_DIR}/share/examples
GCC_REQUIRED+= >=4.0
include ../../pkgtools/pax/depend.mk
include ../../mk/robotpkg.mk
KINEO_DIR= ${PREFIX}/kineo
post-extract:
${CHMOD} -R u+w ${WRKSRC}
${CP} ${FILESDIR}/KineoController.pc ${WRKSRC}
${CP} ${FILESDIR}/KineoPathPlanner.pc ${WRKSRC}
${CP} ${FILESDIR}/KineoSetDebug ${WRKSRC}/bin/i386-linux/.
do-install:
${PAX} -rw -pm -s '|${WRKSRC}/bin/i386-linux||' ${WRKSRC}/bin/i386-linux/Kineo* ${KINEO_DIR}/bin
${PAX} -rw -pm -s '|${WRKSRC}/bin/i386-linux||' ${WRKSRC}/bin/i386-linux/*.sh ${KINEO_DIR}/bin
${PAX} -rw -pm -s '|${WRKSRC}/bin/i386-linux/dynlib||' ${WRKSRC}/bin/i386-linux/dynlib ${KINEO_DIR}/lib
${PAX} -rw -pm -s '|${WRKSRC}/bin/i386-linux/modules||' ${WRKSRC}/bin/i386-linux/modules ${KINEO_DIR}/lib/modules
${PAX} -rw -pm -s '|${WRKSRC}/bin/i386-linux/debugModules||' ${WRKSRC}/bin/i386-linux/debugModules ${KINEO_DIR}/lib/modules
${PAX} -rw -pm -s '|${WRKSRC}/interfaces||' ${WRKSRC}/interfaces ${KINEO_DIR}/include
${PAX} -rw -pm -s '|${WRKSRC}/lib||' ${WRKSRC}/lib ${KINEO_DIR}/lib
${PAX} -rw -pm -s '|${WRKSRC}/res||' ${WRKSRC}/res ${KINEO_DIR}/res
${PAX} -rw -pm -s '|${WRKSRC}/doc||' ${WRKSRC}/doc ${KINEO_DIR}/share/doc
${PAX} -rw -pm -s '|${WRKSRC}/demos||' ${WRKSRC}/demos ${KINEO_DIR}/share/demos
${PAX} -rw -pm -s '|${WRKSRC}/examples||' ${WRKSRC}/examples ${KINEO_DIR}/share/examples
for f in \
KineoAddonBuilder \
KineoPathPlannerd \
KineoPathPlanner; do \
${SED} -e 's|@KINEO_DIR@|${KINEO_DIR}|' \
< ${FILESDIR}/wrapper.sh > ${PREFIX}/bin/$$f; \
${CHMOD} a+x ${PREFIX}/bin/$$f; \
done
for f in \
KineoController.pc \
KineoPathPlanner.pc; do \
${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/lib/pkgconfig/$$f;\
done
This diff is collapsed.
# $LAAS: depend.mk 2009/02/03 01:04:12 tho $
#
# Copyright (c) 2008-2009 LAAS/CNRS
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# 1. Redistributions of source code must retain the above copyright
# notice and this list of conditions.
# 2. Redistributions in binary form must reproduce the above copyright
# notice and this list of conditions in the documentation and/or
# other materials provided with the distribution.
#
# Anthony Mallet on Tue May 13 2008
#
DEPEND_DEPTH:= ${DEPEND_DEPTH}+
KINEO_PP_DEPEND_MK:= ${KINEO_PP_DEPEND_MK}+
ifeq (+,$(DEPEND_DEPTH))
DEPEND_PKG+= kineo-pp
endif
ifeq (+,$(KINEO_PP_DEPEND_MK)) # -------------------------------------
PREFER.kineo-pp?= robotpkg
DEPEND_USE+= kineo-pp
DEPEND_ABI.kineo-pp?= kineo-pp>=2.04.501r1
DEPEND_DIR.kineo-pp?= ../../wip/kineo-pp
endif # KINEO_PP_DEPEND_MK -------------------------------------------
DEPEND_DEPTH:= ${DEPEND_DEPTH:+=}
GCC_REQUIRED+= >=4.0
include ../../devel/boost-headers/depend.mk
SHA1 (KPPSDK204502.tgz) = a80edf6ffeafbe368cf3086ec8672188d57870b3
RMD160 (KPPSDK204502.tgz) = 31cb3bd7b4e063f9454c34426576adcc6ec8a0fd
Size (KPPSDK204502.tgz) = 95049329 bytes
prefix=@PREFIX@/kineo
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: kineoController
Description: Layer above KineoWorks and KCD to deal with kppComponents.
Version: @KPPVERSION@.@KPPPATCH@
Libs: -Wl,-R${libdir} -L${libdir} -lKineoController -lKineoParser2 -lKineoParser203XML -lKineoParser2TTF -lKineoParser2VRML -lKineoParser2XML -lKineoModuleManager -lKineoModel -lKineoKCDModel -lKineoWorks2 -lkcd2 -lkwsKcd2 -lKineoUtility -ldl -pthread
Debug: -Wl,-R${libdir} -L${libdir} -lKineoControllerd -lKineoParser2d -lKineoParser203XMLd -lKineoParser2TTFd -lKineoParser2VRMLd -lKineoParser2XMLd -lKineoModuleManagerd -lKineoModeld -lKineoKCDModeld -lKineoWorks2d -lkcd2d -lkwsKcd2d -lKineoUtilityd -ldl -pthread
Cflags: -I${includedir} -DKD_UNIX
prefix=@PREFIX@/kineo
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: KineoPathPlanner
Description: Softare platform with interface and controller for motion planning
Version: @KPPVERSION@.@KPPPATCH@
Requires: KineoController
Libs: -lKineoGUI -lKineoView -lKineoWX
Debug: -lKineoGUId -lKineoViewd -lKineoWXd
Cflags: -D__x86__ -D__linux__ -D__OSVERSION__=2 -I${libdir}/wx/include/gtk2-ansi-release-2.8 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA
#!/bin/sh
KINEOPREFIX=`pkg-config KineoPathPlanner --variable=prefix` || { echo 'cannot find Kineo in PKG_CONFIG_PATH' && exit 2; }
SAVEDIR=${KINEOPREFIX}/lib/save-so
flist="\
libKineoController \
libKineoGUI \
libKineoKCDModel \
libKineoModel \
libKineoModuleManager \
libKineoParser203XML \
libKineoParser2TTF \
libKineoParser2VRML \
libKineoParser2XML \
libKineoParser2 \
libKineoUtility \
libKineoView \
libKineoWX \
libKineoWorks2 \
libkcd2 \
libkwsKcd2 \
"
setdebug ()
{
test -d ${SAVEDIR} && { echo 'already configured for debug' && exit 2; }
mkdir ${SAVEDIR}
for f in $flist; do
mv ${KINEOPREFIX}/lib/$f.so ${SAVEDIR}/.
done
for f in $flist; do
c="ln -s ${KINEOPREFIX}/lib/${f}d.so ${KINEOPREFIX}/lib/$f.so"
echo $c && $c
done
}
unsetdebug ()
{
test -d ${SAVEDIR} || { echo 'debug already disabled' && exit 0; }
for f in $flist; do
test -h ${KINEOPREFIX}/lib/$f.so && rm ${KINEOPREFIX}/lib/$f.so
done
for f in $flist; do
c="mv ${SAVEDIR}/$f.so ${KINEOPREFIX}/lib/."
echo $c && $c
done
rmdir ${SAVEDIR}
}
case $1 in
on)
setdebug
echo "linked with debug libraries"
;;
off)
unsetdebug
echo "disabled debug libraries"
;;
*)
echo "usage: $0 on|off"
exit 1
;;
esac
#!/bin/sh
export KPP_INSTALL_DIR=@KINEO_DIR@
if [ -z "$LD_LIBRARY_PATH" ]; then
LD_LIBRARY_PATH=${KPP_INSTALL_DIR}/lib
else
LD_LIBRARY_PATH=${KPP_INSTALL_DIR}/lib:${LD_LIBRARY_PATH}
fi
export LD_LIBRARY_PATH
exec ${KPP_INSTALL_DIR}/bin/`basename $0` $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment