diff --git a/CMakeLists.txt b/CMakeLists.txt
index c8fb1fae..2ddcecbd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -62,12 +62,13 @@ ENDIF(NOT LibXML_FOUND)
CONFIGURE_FILE(typelib.pc.in typelib.pc @ONLY)
INSTALL(FILES ${CMAKE_BINARY_DIR}/typelib.pc DESTINATION lib/pkgconfig)
+INSTALL(FILES package.xml DESTINATION share/typelib)
LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/typelib)
INCLUDE_DIRECTORIES(BEFORE ${CMAKE_SOURCE_DIR})
INCLUDE_DIRECTORIES(BEFORE ${CMAKE_BINARY_DIR})
-FIND_PACKAGE(Boost COMPONENTS unit_test_framework system filesystem)
+FIND_PACKAGE(Boost COMPONENTS unit_test_framework system filesystem thread)
IF(NOT Boost_FOUND)
MESSAGE(FATAL_ERROR "please install boost or check BOOST_ROOT setting -- before building typelib")
ELSE(NOT Boost_FOUND)
diff --git a/Makefile b/Makefile
deleted file mode 100644
index ad406688..00000000
--- a/Makefile
+++ /dev/null
@@ -1,16 +0,0 @@
-ifdef ROS_ROOT
-default: install
-include $(shell rospack find mk)/cmake.mk
-include $(shell rospack find rtt)/../env.mk
-EXTRA_CMAKE_FLAGS=-DCMAKE_INSTALL_PREFIX=`rospack find rtt`/../install\
- -DLIBRARY_OUTPUT_PATH=`rospack find typelib`/lib
-
-ifdef ROS_STACK_DIR_FINAL
-EXTRA_CMAKE_FLAGS +=-DTYPELIB_PLUGIN_PATH="${ROS_STACK_DIR_FINAL}/orocos_toolchain/install/lib/typelib"
-endif
-
-install: all
- mkdir -p build && cd build && cmake .. && ${MAKE} install
-else
-$(warning This Makefile only works with ROS rosmake. Without rosmake, create a build directory and run cmake ..)
-endif
diff --git a/bindings/ruby/lib/typelib/gccxml.rb b/bindings/ruby/lib/typelib/gccxml.rb
index 8206105e..d078122e 100644
--- a/bindings/ruby/lib/typelib/gccxml.rb
+++ b/bindings/ruby/lib/typelib/gccxml.rb
@@ -1000,6 +1000,11 @@ def self.gccxml(file, options)
if raw = options[:rawflags]
cmdline.concat(raw)
end
+ if 1.size == 4
+ cmdline << "-m32"
+ else
+ cmdline << "-m64"
+ end
if defs = options[:define]
defs.each do |str|
diff --git a/manifest.xml b/manifest.xml
index f9991ca4..18573137 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -23,12 +23,12 @@
-->
-
-
-
-
-
-
+
+
+
+
+
+
stable
diff --git a/package.xml b/package.xml
index 12c6034b..66830b37 100644
--- a/package.xml
+++ b/package.xml
@@ -1,6 +1,6 @@
typelib
- 1.1.1
+ 2.9.0
This library offers an introspection mechanism for C/C++ value-types. I.e.
it offers a way to represent types, and to manipulate in-memory values
diff --git a/typelib/CMakeLists.txt b/typelib/CMakeLists.txt
index 2b809add..7492358f 100644
--- a/typelib/CMakeLists.txt
+++ b/typelib/CMakeLists.txt
@@ -15,7 +15,7 @@ endif (NOT TYPELIB_HARDCODED_PLUGIN_PATH)
set_source_files_properties(endianness.cc PROPERTIES
COMPILE_FLAGS -fno-strict-aliasing)
-target_link_libraries(typeLib ${CMAKE_DL_LIBS} ${Boost_FILESYSTEM_LIBRARIES} ${Boost_SYSTEM_LIBRARIES})
+target_link_libraries(typeLib pthread ${CMAKE_DL_LIBS} ${Boost_FILESYSTEM_LIBRARIES} ${Boost_SYSTEM_LIBRARIES} ${Boost_THREAD_LIBRARIES})
#TARGET_LINK_LIBRARIES(typeLib typeLang_c typeLang_tlb typeLang_idl)
install(TARGETS typeLib