2013-07-29 22:14:57 +08:00
|
|
|
DESCRIPTION = "POCO C++ Libraries"
|
|
|
|
HOMEPAGE = "http://pocoproject.org"
|
|
|
|
LICENSE = "BSL-1.0"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=e4224ccaecb14d942c71d31bef20d78c"
|
2013-07-29 21:06:35 +08:00
|
|
|
|
2013-08-04 14:59:17 +08:00
|
|
|
DEPENDS = "expat zlib libpcre openssl"
|
2013-07-29 21:06:35 +08:00
|
|
|
|
2013-07-29 22:06:50 +08:00
|
|
|
SRC_URI = "${SOURCEFORGE_MIRROR}/poco/poco-${PV}-all.tar.bz2 \
|
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-29 22:20:33 +08:00
|
|
|
file://OE \
|
|
|
|
file://add_pcre_utf8_objects.patch"
|
2013-07-29 22:06:50 +08:00
|
|
|
SRC_URI[md5sum] = "2598b53d481e2bd3fb92bd23172abe53"
|
|
|
|
SRC_URI[sha256sum] = "95af0382257614c70841629c928184cddc228831a8bfc4c57399931bed8a16f8"
|
|
|
|
|
|
|
|
S = "${WORKDIR}/poco-${PV}-all"
|
2013-07-29 21:06:35 +08:00
|
|
|
|
|
|
|
inherit autotools binconfig pkgconfig
|
|
|
|
|
|
|
|
TARGET_CC_ARCH += "${LDFLAGS}"
|
|
|
|
|
2013-07-29 22:14:57 +08:00
|
|
|
EXTRA_OECONF += "--config=OE --no-samples --no-wstring --no-tests --unbundled \
|
|
|
|
--omit=Data/MySQL,Data/SQLite,Data/ODBC,PageCompiler \
|
2013-07-29 21:06:35 +08:00
|
|
|
"
|
|
|
|
|
|
|
|
do_configure_prepend() {
|
|
|
|
install ${WORKDIR}/OE ${S}/build/config/OE
|
|
|
|
export POCO_TARGET_OSARCH=${TARGET_ARCH}
|
|
|
|
}
|