Skip to content

Commit

Permalink
set tag version to compoent profile version, see Issue 181
Browse files Browse the repository at this point in the history
git-svn-id: https://hrpsys-base.googlecode.com/svn/trunk@983 a991ac11-fb38-5095-8c12-a1ddb0715245
  • Loading branch information
k-okada committed Feb 18, 2014
1 parent 1a284f7 commit a66c478
Show file tree
Hide file tree
Showing 41 changed files with 42 additions and 40 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ install(FILES
${CMAKE_CURRENT_BINARY_DIR}/hrpsys-base.pc
DESTINATION lib/pkgconfig)

add_definitions(-DHRPSYS_PACKAGE_VERSION=\"\\"${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}\\"\")

if(COMPILE_JAVA_STUFF)
add_subdirectory(jython)
endif()
Expand Down
2 changes: 1 addition & 1 deletion rtc/AbsoluteForceSensor/AbsoluteForceSensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ static const char* absoluteforcesensor_spec[] =
"implementation_id", "AbsoluteForceSensor",
"type_name", "AbsoluteForceSensor",
"description", "null component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/AutoBalancer/AutoBalancer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static const char* autobalancer_spec[] =
"implementation_id", "AutoBalancer",
"type_name", "AutoBalancer",
"description", "autobalancer component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/CameraImageViewer/CameraImageViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static const char* cameraimageviewercomponent_spec[] =
"implementation_id", "CameraImageViewer",
"type_name", "CameraImageViewer",
"description", "camera image viewer component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/CollisionDetector/CollisionDetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ static const char* component_spec[] =
"implementation_id", "CollisionDetector",
"type_name", "CollisionDetector",
"description", "collisoin detector component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/DataLogger/DataLogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ static const char* nullcomponent_spec[] =
"implementation_id", "DataLogger",
"type_name", "DataLogger",
"description", "data logger component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/ExtractCameraImage/ExtractCameraImage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static const char* extractcameraimage_spec[] =
"implementation_id", "ExtractCameraImage",
"type_name", "ExtractCameraImage",
"description", "extractcameraimage component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/ForwardKinematics/ForwardKinematics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ static const char* nullcomponent_spec[] =
"implementation_id", "ForwardKinematics",
"type_name", "ForwardKinematics",
"description", "forward kinematics component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/GraspController/GraspController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static const char* softerrorlimiter_spec[] =
"implementation_id", "GraspController",
"type_name", "GraspController",
"description", "soft error limiter",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/HGcontroller/HGcontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static const char* hgcontroller_spec[] =
"implementation_id", "HGcontroller",
"type_name", "HGcontroller",
"description", "high gain joint controller component for OpenHRP",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/ImageData2CameraImage/ImageData2CameraImage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static const char* imagedata2cameraimage_spec[] =
"implementation_id", "ImageData2CameraImage",
"type_name", "ImageData2CameraImage",
"description", "imagedata2cameraimage component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/ImpedanceController/ImpedanceController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static const char* impedancecontroller_spec[] =
"implementation_id", "ImpedanceController",
"type_name", "ImpedanceController",
"description", "impedance controller component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/Joystick/Joystick.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ static const char* joystick_spec[] =
"implementation_id", "Joystick",
"type_name", "Joystick",
"description", "Access a joystick control device.",
"version", "1.0.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "Human input",
"activity_type", "PERIODIC",
Expand Down
2 changes: 1 addition & 1 deletion rtc/Joystick2PanTiltAngles/Joystick2PanTiltAngles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ static const char* joystick2velocity_spec[] =
"implementation_id", "Joystick2PanTiltAngles",
"type_name", "Joystick2PanTiltAngles",
"description", "joystick output to velocity converter",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/Joystick2Velocity2D/Joystick2Velocity2D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ static const char* joystick2velocity_spec[] =
"implementation_id", "Joystick2Velocity2D",
"type_name", "Joystick2Velocity2D",
"description", "joystick output to velocity converter",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/Joystick2Velocity3D/Joystick2Velocity3D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ static const char* joystick2velocity_spec[] =
"implementation_id", "Joystick2Velocity3D",
"type_name", "Joystick2Velocity3D",
"description", "joystick output to velocity converter",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/JpegDecoder/JpegDecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ static const char* jpegdecoder_spec[] =
"implementation_id", "JpegDecoder",
"type_name", "JpegDecoder",
"description", "null component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/JpegEncoder/JpegEncoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ static const char* jpegdecoder_spec[] =
"implementation_id", "JpegEncoder",
"type_name", "JpegEncoder",
"description", "null component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/KalmanFilter/KalmanFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ static const char* kalmanfilter_spec[] =
"implementation_id", "KalmanFilter",
"type_name", "KalmanFilter",
"description", "kalman filter",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/NullComponent/NullComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ static const char* nullcomponent_spec[] =
"implementation_id", "NullComponent",
"type_name", "NullComponent",
"description", "null component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/OGMap3DViewer/OGMap3DViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ static const char* nullcomponent_spec[] =
"implementation_id", "OGMap3DViewer",
"type_name", "OGMap3DViewer",
"description", "null component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/OccupancyGridMap3D/OccupancyGridMap3D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static const char* occupancygridmap3d_spec[] =
"implementation_id", "OccupancyGridMap3D",
"type_name", "OccupancyGridMap3D",
"description", "null component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/RGB2Gray/RGB2Gray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ static const char* jpegdecoder_spec[] =
"implementation_id", "RGB2Gray",
"type_name", "RGB2Gray",
"description", "rgb2gray component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/Range2PointCloud/Range2PointCloud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ static const char* range2pointcloud_spec[] =
"implementation_id", "Range2PointCloud",
"type_name", "Range2PointCloud",
"description", "range2pointcloud component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/ResizeImage/ResizeImage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ static const char* jpegdecoder_spec[] =
"implementation_id", "ResizeImage",
"type_name", "ResizeImage",
"description", "resize image component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/RobotHardware/RobotHardware.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ static const char* robothardware_spec[] =
"implementation_id", "RobotHardware",
"type_name", "RobotHardware",
"description", "RobotHardware",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/SequencePlayer/SequencePlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ static const char* sequenceplayer_spec[] =
"implementation_id", "SequencePlayer",
"type_name", "SequencePlayer",
"description", "sequence player component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/ServoController/ServoController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ static const char* nullcomponent_spec[] =
"implementation_id", "ServoController",
"type_name", "ServoController",
"description", "null component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/Simulator/Simulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ static const char* component_spec[] =
"implementation_id", "Simulator",
"type_name", "Simulator",
"description", "dynamics simulator component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/SoftErrorLimiter/SoftErrorLimiter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ static const char* softerrorlimiter_spec[] =
"implementation_id", "SoftErrorLimiter",
"type_name", "SoftErrorLimiter",
"description", "soft error limiter",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/Stabilizer/Stabilizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ static const char* stabilizer_spec[] =
"implementation_id", "Stabilizer",
"type_name", "Stabilizer",
"description", "stabilizer",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/StateHolder/StateHolder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ static const char* stateholder_spec[] =
"implementation_id", "StateHolder",
"type_name", "StateHolder",
"description", "state holder",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/ThermoEstimator/ThermoEstimator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static const char* thermoestimator_spec[] =
"implementation_id", "ThermoEstimator",
"type_name", "ThermoEstimator",
"description", "null component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/ThermoLimiter/ThermoLimiter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ static const char* thermolimiter_spec[] =
"implementation_id", "ThermoLimiter",
"type_name", "ThermoLimiter",
"description", "null component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/TorqueController/TorqueController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ static const char* torquecontroller_spec[] =
"implementation_id", "TorqueController",
"type_name", "TorqueController",
"description", "null component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/TorqueFilter/TorqueFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ static const char* torquefilter_spec[] =
"implementation_id", "TorqueFilter",
"type_name", "TorqueFilter",
"description", "null component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/VideoCapture/VideoCapture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static const char* videocapture_spec[] =
"implementation_id", "VideoCapture",
"type_name", "VideoCapture",
"description", "video capture component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "JSK",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/Viewer/Viewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ static const char* component_spec[] =
"implementation_id", "Viewer",
"type_name", "Viewer",
"description", "viewer component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/VirtualCamera/VirtualCamera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ static const char* virtualcamera_spec[] =
"implementation_id", "VirtualCamera",
"type_name", "VirtualCamera",
"description", "virtual camera component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/VirtualForceSensor/VirtualForceSensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ static const char* virtualforcesensor_spec[] =
"implementation_id", "VirtualForceSensor",
"type_name", "VirtualForceSensor",
"description", "null component",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down
2 changes: 1 addition & 1 deletion rtc/WavPlayer/WavPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static const char* wavplayer_spec[] =
"implementation_id", "WavPlayer",
"type_name", "WavPlayer",
"description", "wave file player",
"version", "1.0",
"version", HRPSYS_PACKAGE_VERSION,
"vendor", "AIST",
"category", "example",
"activity_type", "DataFlowComponent",
Expand Down

0 comments on commit a66c478

Please sign in to comment.