Commit Graph

114 Commits

Author SHA1 Message Date
Lukas Bulwahn 68990c8c8d libpoco: compiling with arm64 architecture
During bitbaking core-image-ros-world for v0.2-rc1 release testing,
compiling libpoco for the qemuarm64 machine failed with:

  In file included from [...]/poco-poco-1.5.3-release/Foundation/src/diy-fp.h:31:0,
                   from [...]/poco-poco-1.5.3-release/Foundation/src/diy-fp.cc:29,
                   from [...]/poco-poco-1.5.3-release/Foundation/src/NumericString.cpp:23:
  [...]/poco-poco-1.5.3-release/Foundation/src/utils.h:72:2: error: #error Target architecture was not detected as supported by Double-Conversion.

This issue has been already been reported in the libpoco github issue
tracker [1] and has been resolved with a simple patch [2] in the libpoco
repository and libpoco releases since 1.5.4. Hence, this commit simply
adds this patch to the current libpoco recipe.

To address the libpoco issue, I also considered to update libpoco to
version 1.6.0. However, this was not possible as version 1.6.0 requires
CMake >= 3.0.0 and this would require updating cmake in
OpenEmbedded-Core, which has major impact on all layers. Also, updating
libpoco to 1.5.4 lead to a problem with the OpenEmbedded-Core-provided
pcre 1.5.36 and the POCO_UNBUNDLED setting during compilation:

  In file included from [...]/poco-poco-1.5.4-release/Foundation/src/RegularExpression.cpp:21:0:
  [...]/usr/include/pcre.h:325:26: error: conflicting declaration 'typedef struct real_pcre pcre'
  In file included from [...]/poco-poco-1.5.4-release/Foundation/src/RegularExpression.cpp:17:0:
  [...]/poco-poco-1.5.4-release/Foundation/include/Poco/RegularExpression.h:37:34: note: previous declaration as 'typedef struct real_pcre8_or_16 pcre'

This issue is probably caused by the commit 'PCRE 8.35.0 Update' [3],
which defines types from pcre 8.35 that are incompatible to pcre 8.36.

[1] https://github.com/pocoproject/poco/issues/508
[2] 9258e482d7.patch
[3] 010f7a5370.patch

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2015-04-07 06:47:54 +02:00
Kristof Robot 2ab7e46454 festival: correcting audsp path (resolves #309) 2014-12-24 09:26:50 +01:00
Lukas Bulwahn e6c74f7537 Merge pull request #302 from KristofRobot/QA-fixes
Fixing various QA warnings
2014-12-12 06:43:09 +01:00
Kristof Robot 903265df5b speech-tools: adding perl runtime dependency
Solves following warning:
QA Issue: speech-tools requires /usr/bin/perl,
but no providers in its RDEPENDS [file-rdeps]
2014-12-11 22:06:52 +01:00
Kristof Robot 0964513129 libfreenect: adding bash runtime dependency
Solves following warning:
QA Issue: libfreenect requires /bin/bash,
but no providers in its RDEPENDS [file-rdeps]
2014-11-04 18:55:47 +01:00
Kristof Robot af9e7cb233 libfreenect: backporting upstream patch to stop clobbering CFLAGS
Backporting following libfreenect patch:
https://github.com/OpenKinect/libfreenect/commit/
0cbb86ec982d3e79ad5efa9d1b2b16724ae89bc5

Without this patch, libfreenect would override all compiler flags,
including any machine specific compile flags
(e.g. -mfloat-abi=hard to compile with hard floating point).

We are backporting this patch rather than upgrading to v0.4.1
where this is fixed, as v0.4.0 introduced changes that break
compatibility with the current freenect version (0.3.2).
See https://github.com/OpenKinect/libfreenect/releases/tag/v0.4.0
for the breaking changes.
See https://github.com/ros-drivers/freenect_stack/issues/12
for additional discussion.
2014-11-04 18:46:36 +01:00
Kristof Robot 8658973ce9 wxwidgets: keeping in-source build (resolves #299)
This commit provides the autotools-brokensep class and uses it for
the wxwidgets recipe.
The autotools-brokensep indicates that this package currently cannot
handle out-of-source builds, and hence the in-source build must be
kept until this is resolved.
The autotools-brokensep class is a copy of the autotools-brokensep
class provided in the openembedded-core commit 006b8a78 [1].
To make this commit backwards compatible to even earlier versions
of openembedded-core, we provide this class in meta-ros ourselves.

[1] http://cgit.openembedded.org/openembedded-core/commit/?id=006b8a7808a58713af16c326dc37d07765334b12
2014-10-27 09:36:16 +01:00
Lukas Bulwahn f16f860095 pcl: adding patch to compile with boost 1.56 (resolves #293) 2014-09-10 07:05:40 +02:00
Lukas Bulwahn 0569363ca5 collada-dom: adding libpcre dependency
Executing 'bitbake packagegroup-ros-world' shows the warning:
WARNING: QA Issue: collada-dom rdepends on libpcrecpp but its not a build dependency? [build-deps]

On a clean build, 'bitbake collada-dom' fails with:
| Linking CXX shared library libcollada-dom2.4-dp.so
...
| .../build/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/4.9.1/ld: external-libs/pcre-8.02/libpcre_local.a(pcre_compile.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
| external-libs/pcre-8.02/libpcre_local.a: error adding symbols: Bad value
| collect2: error: ld returned 1 exit status
| make[2]: *** [dom/libcollada-dom2.4-dp.so.2.4.0] Error 1

This commits adds libpcre as dependency, and resolves the issue.
2014-08-04 07:07:15 +02:00
Lukas Bulwahn 168ddc675f libpoco: updating to 1.5.3
This commit updates to version 1.5.3 and removes the local patch
that has been merged in version 1.5.3.
2014-08-04 07:07:04 +02:00
Lukas Bulwahn 078786a259 festival: making install task distro-independent (resolves #285) 2014-08-03 06:32:52 +02:00
Lukas Bulwahn be349dade1 festival: recovering out-of-tree build (resolves #284) 2014-08-03 06:32:52 +02:00
Lukas Bulwahn 9b4b186942 kdl: updating to 1.3.0 2014-08-03 06:32:52 +02:00
Lukas Bulwahn dee2fec9a5 speech-tools: disabling PARALLEL_MAKE (addresses #278) 2014-07-22 07:14:14 +02:00
Lukas Bulwahn 121fe01a41 bfl: packaging test executables in tests 2014-07-22 07:05:52 +02:00
Lukas Bulwahn dd569e243d bfl: packaging solibs in main package (resolves #281) 2014-07-21 19:33:38 +02:00
Lukas Bulwahn 5382caec4b speech-tools: adding ncurses dependency (resolves #279) 2014-06-26 21:56:48 +02:00
Lukas Bulwahn bef6bc5c76 speech-tools: recovering out-of-tree build (resolves #277) 2014-06-26 21:52:06 +02:00
Pascal Bach 87f306bca9 libpoco: use system libraries instead of bundled versions
Poco comes with bundled versions of SQLite3, zlib, expat, etc.
Adding the ``-DPOCO_UNBUNDLED=On`` option to CMake makes it use the ones provided by OE.
2014-06-24 08:57:55 +02:00
Kristof Robot 13008e9b05 libfreenect: updating to 0.2.1 (resolves #248)
Updating to 0.2.1, and correcting shipping of fakenect libraries.
2014-04-27 21:13:07 +02:00
Lukas Bulwahn 2db9ca9805 Merge pull request #249 from KristofRobot/wxWindows
licenses: adding wxWindows license (resolves #247)
2014-04-20 21:37:49 +02:00
Kristof Robot e1315db5ba pocketsphinx: initial commit 2014-04-20 21:17:34 +02:00
Kristof Robot 4f88ffb3ad sphinxbase: initial commit 2014-04-20 21:17:34 +02:00
Kristof Robot 59632d05ab Correcting license from wxWindows to WXwindows (resolves #247) 2014-04-20 21:06:59 +02:00
Kristof Robot 44f5608d6b festival: initial commit (resolves #241) 2014-04-16 20:37:25 +02:00
Kristof Robot 7eb2bfa34e speech-tools: initial commit 2014-04-16 20:37:25 +02:00
Lukas Bulwahn 73174e13cf libpoco: using cmake in version 1.5.2 (resolves #138, #151, #152) 2014-03-05 07:53:17 +01:00
Kristof Robot 995532c656 bfl: initial commit 2014-02-25 18:49:23 +01:00
Kristof Robot 631ff1f2df kdl: updating to version 1.2.1 2013-12-11 20:17:54 +01:00
Kristof Robot b4a902e801 python-orocos-kdl: initial commit (resolves #203) 2013-11-27 20:29:12 +01:00
Kristof Robot b3b478c412 orocos-kdl: added libeigen DEPENDS and cleaned FILES section 2013-11-26 21:00:25 +01:00
Kristof Robot b3dd62ca37 kdl: initial commit
orocos-kdl: moving source info into kdl.inc
to share with python-orocos-kdl recipe
2013-11-26 21:00:25 +01:00
Lukas Bulwahn 27aed4e5a9 collada-dom: ship cmake config files in -dev (resolves #165) 2013-11-13 07:56:24 +01:00
Lukas Bulwahn 0f06004ec0 assimp: ship cmake config files in -dev (resolves #197) 2013-11-13 07:53:58 +01:00
herbrechtsmeier b75bda534f Merge pull request #186 from KristofRobot/pcl-v6
pcl: initial commit (resolves #135)
2013-11-04 03:46:56 -08:00
Kristof Robot 9e473434f2 pcl: initial commit (resolves #135)
Based on initial work by bulwahn: https://github.com/bulwahn/meta-ros/tree/pcl-v4
Extensively discussed at #135
2013-11-04 12:32:27 +01:00
Lukas Bulwahn 86bc7904ce Merge pull request #189 from KristofRobot/freenect-camera
libfreenect: force libraries always into /usr/lib (resolves #187,#188)
2013-11-02 04:10:50 -07:00
Kristof Robot e2f2fca96b libfreenect: force libraries always into /usr/lib (resolves #187,#188) 2013-11-01 21:52:10 +01:00
Lukas Bulwahn a9c7724956 Merge pull request #187 from KristofRobot/freenect-camera
libfreenect: generalizing lib reference (resolves #185)
2013-11-01 11:18:32 -07:00
Kristof Robot db09f82185 libfreenect: generalizing lib reference (resolves #185) 2013-11-01 19:11:41 +01:00
Lukas Bulwahn c194127806 Merge pull request #184 from KristofRobot/freenect-camera
freeglut, libfreenect and freenect-camera
2013-11-01 09:01:25 -07:00
Kristof Robot 4f4cc8ce90 libfreenect: initial commit 2013-11-01 14:00:19 +01:00
Kristof Robot 751ed2a31c freeglut: initial commit 2013-11-01 14:00:19 +01:00
Kristof Robot afd5aa2746 orocos-kdl: initial commit 2013-11-01 13:03:53 +01:00
Lukas Bulwahn ee2c5bc823 assimp: initial commit 2013-10-14 11:08:59 +02:00
Lukas Bulwahn 1b5c6d859d collada-dom: removing redundant RPATH (resolves #166) 2013-10-11 11:42:15 +02:00
Lukas Bulwahn a9d4376dfd qhull: removing redundant RPATH (resolves #169) 2013-10-11 10:42:22 +02:00
Lukas Bulwahn c3f333d9ec eigen: removing recipe that has been added to meta-oe
The eigen recipe has been added to the meta-oe layer with the
name libeigen [1].

[1] http://cgit.openembedded.org/meta-openembedded/commit/?id=424e3c1b930c0103c2cedfd4df1671e84a5256d5
2013-10-11 10:42:22 +02:00
Lukas Bulwahn 92e5acc1a8 moving software not directly related to ROS to extended 2013-10-11 10:42:21 +02:00
Lukas Bulwahn 3f046715d2 qhull: initial commit
The qhull library is shipped under its own license. We add this
special license file in our layer in the directory licenses and
register this license directory in our layer configuration.
2013-09-16 09:15:29 +02:00
Stefan Herbrechtsmeier ad5de7cb9d libpoco: Fix QA issue files were already stripped and directories were installed but not shipped (resolves #89 #88)
Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
2013-08-18 13:32:47 -07:00
Lukas Bulwahn 9faf9c5292 libpoco: openssl required for libpoco when compiling pcl-ros
When compiling pcl-ros, bitbake aborts because for compiling the
Crypto library in libpoco, it needs the openssl headers.

The condensed error output is

** Compiling src/CipherKeyImpl.cpp (debug, shared)
arm-oe-linux-gnueabi-g++  -march=armv5te -marm -mthumb-interwork
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
--sysroot=/home/lukas/oe-core/build/tmp-eglibc/sysroots/qemuarm
-I ... -DPOCO_BUILD_HOST=host -DPOCO_NO_WSTRING -DPOCO_UNBUNDLED
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT -D_THREAD_SAFE
-DPOCO_NO_FPENVIRONMENT  -g -D_DEBUG -fPIC -c src/CipherKeyImpl.cpp
-o ...
In file included from include/Poco/Crypto/CipherKeyImpl.h:44:0,
                 from include/Poco/Crypto/CipherKey.h:44,
                 from src/CipherKey.cpp:37:
include/Poco/Crypto/OpenSSLInitializer.h:45:33: fatal error: openssl/opensslconf.h: No such file or directory
 #include <openssl/opensslconf.h>
                                 ^
compilation terminated.
In file included from include/Poco/Crypto/CipherKeyImpl.h:44:0,
                 from src/CipherKeyImpl.cpp:37:
include/Poco/Crypto/OpenSSLInitializer.h:45:33: fatal error: openssl/opensslconf.h: No such file or directory
 #include <openssl/opensslconf.h>
                                 ^
compilation terminated.
make[1]: *** [.../tmp-eglibc/work/armv5te-oe-linux-gnueabi/libpoco/1.4.6p1-r0/poco-1.4.6p1-all/Crypto/obj/Linux/armv5te/debug_shared/CipherKey.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make -C /home/lukas/oe-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libpoco/1.4.6p1-r0/poco-1.4.6p1-all/Util
make[1]: *** [.../tmp-eglibc/work/armv5te-oe-linux-gnueabi/libpoco/1.4.6p1-r0/poco-1.4.6p1-all/Crypto/obj/Linux/armv5te/debug_shared/CipherKeyImpl.o] Error 1
make[1]: Entering directory `/home/lukas/oe-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libpoco/1.4.6p1-r0/poco-1.4.6p1-all/Util'
2013-08-04 09:33:51 +02:00
Lukas Bulwahn 723caecd6e libpoco: adding a patch to link correctly with pcre
The error message when compiling nodelet, which links the poco library, is:

| Linking CXX executable devel/lib/nodelet/nodelet
| /home/lukas/oe-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/cmake -E cmake_link_script CMakeFiles/nodelet.dir/link.txt --verbose=1
| /home/lukas/oe-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/armv5te-oe-linux-gnueabi/arm-oe-linux-gnueabi-g++    -march=armv5te -marm -mthumb-interwork  --sysroot=/home/lukas/oe-core/build/tmp-eglibc/sysroots/qemuarm  -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -fpermissive  -march=armv5te -marm -mthumb-interwork  --sysroot=/home/lukas/oe-core/build/tmp-eglibc/sysroots/qemuarm  -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/nodelet.dir/src/nodelet.cpp.o  -o devel/lib/nodelet/nodelet -rdynamic devel/lib/libnodeletlib.so -luuid -lbondcpp -luuid -lcpp_common -lroscpp_serialization -lrostime -lboost_date_time-mt -lboost_system-mt -lboost_thread-mt -lroscpp -lboost_signals-mt -lboost_filesystem-mt -lrosconsole -lboost_regex-mt -llog4cxx -lxmlrpcpp -ltinyxml -lclass_loader -lPocoFoundation -ldl -lconsole_bridge -lroslib -Wl,-rpath,/home/lukas/oe-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/nodelet/1.8.0-r0/nodelet_core-1.8.0/nodelet/build/devel/lib:
| /home/lukas/oe-core/build/tmp-eglibc/sysroots/qemuarm/usr/lib/libPocoFoundation.so: undefined reference to `_pcre_ucd_stage1'
| /home/lukas/oe-core/build/tmp-eglibc/sysroots/qemuarm/usr/lib/libPocoFoundation.so: undefined reference to `_pcre_ucd_records'
| /home/lukas/oe-core/build/tmp-eglibc/sysroots/qemuarm/usr/lib/libPocoFoundation.so: undefined reference to `_pcre_ucp_gentype'
| /home/lukas/oe-core/build/tmp-eglibc/sysroots/qemuarm/usr/lib/libPocoFoundation.so: undefined reference to `_pcre_ucd_stage2'
| collect2: error: ld returned 1 exit status
| make[2]: *** [devel/lib/nodelet/nodelet] Error 1
2013-07-31 16:28:23 +02:00
Lukas Bulwahn 9ee3479961 libpoco: formatting the recipe
This commit formats the libpoco recipe to follow the common
OpenEmbedded style more closely and removes a comment that points
to warnings that do not occur with the current recipe.
2013-07-31 16:28:23 +02:00
Lukas Bulwahn 02a63e0365 libpoco: using recipe name for pcre library instead of its alias 2013-07-31 16:28:23 +02:00
Lukas Bulwahn c6f5a883a9 libpoco: updating to current version 1.4.6p1 2013-07-31 16:28:23 +02:00
Lukas Bulwahn 835eb13279 libpoco: replacing license string causing warnings by common OpenEmbedded license string 2013-07-31 16:28:23 +02:00
Lukas Bulwahn 2e6abcbf3b libpoco: replacing our recipe by the external one 2013-07-31 16:28:22 +02:00
Lukas Bulwahn 282821221e libpoco: including an external recipe for the poco library
A previously written recipe for the poco library and
a special OpenEmbedded config file for poco is included from
https://gitorious.digitalstrom.org/dss-oe/dss-oe/blobs/raw/master/dS/meta-dss11-production/recipes-support/poco/poco_1.3.6p2.bb
and https://gitorious.digitalstrom.org/dss-oe/dss-oe/blobs/raw/master/dS/meta-dss11-production/recipes-support/poco/files/OE

This recipe and the config is redistributed here under the same
license agreement as the original.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2013-07-31 16:28:22 +02:00
Lukas Bulwahn ff94057aff libflann: initial commit
The flann library is required by the ROS pcl package.
2013-07-05 10:55:56 +02:00
Lukas Bulwahn 4609253cb2 libpoco: initial commit
The poco library is used by the class loader.
2013-05-29 13:34:10 +02:00
Lukas Bulwahn 220013f17a eigen: initial recipe contributed by Kartik Mohta (resolves #71)
This commit adds the eigen library from Kartik Mohta's OpenEmbedded
layer. Acknowledgements are added in the README file.
2013-05-24 07:05:46 +02:00
Lukas Bulwahn 86850d5c35 moved files to more appropriate place 2012-12-20 14:25:55 +01:00
Lukas Bulwahn a02d2aa527 moved all files from meta to root directory 2012-12-20 14:23:13 +01:00