summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/poco/poco/0001-Don-t-try-to-install-non-existing-Encodings-testsuit.patch31
-rw-r--r--meta-oe/recipes-support/poco/poco/0001-riscv-Enable-double-operations-when-using-double-flo.patch28
-rw-r--r--meta-oe/recipes-support/poco/poco_1.10.1.bb (renamed from meta-oe/recipes-support/poco/poco_1.9.4.bb)14
3 files changed, 6 insertions, 67 deletions
diff --git a/meta-oe/recipes-support/poco/poco/0001-Don-t-try-to-install-non-existing-Encodings-testsuit.patch b/meta-oe/recipes-support/poco/poco/0001-Don-t-try-to-install-non-existing-Encodings-testsuit.patch
deleted file mode 100644
index f4a358f47f..0000000000
--- a/meta-oe/recipes-support/poco/poco/0001-Don-t-try-to-install-non-existing-Encodings-testsuit.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From fa079dfc5e1d22ea35762bf4c5b09999bdc5e731 Mon Sep 17 00:00:00 2001
2From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
3Date: Wed, 22 Aug 2018 21:42:09 +0200
4Subject: [PATCH] Don't try to install non existing Encodings/testsuite/data
5
6Upstream-Status: Backport [https://github.com/pocoproject/poco/pull/2437]
7---
8 Encodings/testsuite/CMakeLists.txt | 5 +----
9 1 file changed, 1 insertion(+), 4 deletions(-)
10
11diff --git a/Encodings/testsuite/CMakeLists.txt b/Encodings/testsuite/CMakeLists.txt
12index 7508e5522..79495ae02 100644
13--- a/Encodings/testsuite/CMakeLists.txt
14+++ b/Encodings/testsuite/CMakeLists.txt
15@@ -19,12 +19,9 @@ POCO_SOURCES_AUTO_PLAT( TEST_SRCS WINCE
16 add_executable( ${TESTUNIT} ${TEST_SRCS} )
17 if(ANDROID)
18 add_test(NAME ${LIBNAME} WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
19- COMMAND ${CMAKE_COMMAND} -DANDROID_NDK=${ANDROID_NDK} "-DTEST_FILES=${CMAKE_CURRENT_SOURCE_DIR}/data;" -DLIBRARY_DIR=${CMAKE_BINARY_DIR}/lib -DUNITTEST=${CMAKE_BINARY_DIR}/bin/${TESTUNIT} -DTEST_PARAMETER=-all -P ${CMAKE_SOURCE_DIR}/cmake/ExecuteOnAndroid.cmake)
20+ COMMAND ${CMAKE_COMMAND} -DANDROID_NDK=${ANDROID_NDK} -DLIBRARY_DIR=${CMAKE_BINARY_DIR}/lib -DUNITTEST=${CMAKE_BINARY_DIR}/bin/Encodings-testrunner -DTEST_PARAMETER=-all -P ${CMAKE_SOURCE_DIR}/cmake/ExecuteOnAndroid.cmake)
21 else()
22 add_test(NAME ${LIBNAME} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${TESTUNIT} -all)
23- # The test is run in the build directory. So the test data is copied there too
24- add_custom_command(TARGET ${TESTUNIT} POST_BUILD
25- COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/data ${CMAKE_CURRENT_BINARY_DIR}/data )
26 endif()
27 #set_target_properties( ${TESTUNIT} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
28 target_link_libraries( ${TESTUNIT} PocoEncodings PocoFoundation CppUnit )
29--
302.18.0
31
diff --git a/meta-oe/recipes-support/poco/poco/0001-riscv-Enable-double-operations-when-using-double-flo.patch b/meta-oe/recipes-support/poco/poco/0001-riscv-Enable-double-operations-when-using-double-flo.patch
deleted file mode 100644
index c0de32dafe..0000000000
--- a/meta-oe/recipes-support/poco/poco/0001-riscv-Enable-double-operations-when-using-double-flo.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 589a5442a841b156a1890bc2d26e7a5103e2f672 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 1 Nov 2019 17:53:50 -0700
4Subject: [PATCH] riscv: Enable double operations when using double float abi
5
6Upstream-Status: Submitted [https://github.com/pocoproject/poco/pull/2825]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 Foundation/src/utils.h | 3 ++-
10 1 file changed, 2 insertions(+), 1 deletion(-)
11
12diff --git a/Foundation/src/utils.h b/Foundation/src/utils.h
13index 69cea1aca..ff7a5c9ce 100644
14--- a/Foundation/src/utils.h
15+++ b/Foundation/src/utils.h
16@@ -63,7 +63,8 @@
17 defined(__SH4__) || defined(__alpha__) || \
18 defined(_MIPS_ARCH_MIPS32R2) || \
19 defined(__AARCH64EL__) || \
20- defined(nios2) || defined(__nios2) || defined(__nios2__)
21+ defined(nios2) || defined(__nios2) || defined(__nios2__) || \
22+ (defined(__riscv) && defined(__riscv_float_abi_double))
23 #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
24 #elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
25 #if defined(_WIN32)
26--
272.23.0
28
diff --git a/meta-oe/recipes-support/poco/poco_1.9.4.bb b/meta-oe/recipes-support/poco/poco_1.10.1.bb
index fcd5219759..3f51e61187 100644
--- a/meta-oe/recipes-support/poco/poco_1.9.4.bb
+++ b/meta-oe/recipes-support/poco/poco_1.10.1.bb
@@ -10,11 +10,9 @@ DEPENDS = "libpcre zlib"
10 10
11SRC_URI = " \ 11SRC_URI = " \
12 git://github.com/pocoproject/poco.git;branch=poco-${PV} \ 12 git://github.com/pocoproject/poco.git;branch=poco-${PV} \
13 file://0001-Don-t-try-to-install-non-existing-Encodings-testsuit.patch \
14 file://0001-riscv-Enable-double-operations-when-using-double-flo.patch \
15 file://run-ptest \ 13 file://run-ptest \
16 " 14 "
17SRCREV = "b95393dcc3640807838e8323b4e600e54d2e8116" 15SRCREV = "a3d827d80eb7f3329c58e73eb2906cb7ba829019"
18 16
19UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P<pver>\d+(\.\d+)+)" 17UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P<pver>\d+(\.\d+)+)"
20 18
@@ -25,16 +23,17 @@ inherit cmake ptest
25# By default the most commonly used poco components are built 23# By default the most commonly used poco components are built
26# Foundation is built anyway and doesn't need to be listed explicitly 24# Foundation is built anyway and doesn't need to be listed explicitly
27# these don't have dependencies outside oe-core 25# these don't have dependencies outside oe-core
28PACKAGECONFIG ??= "XML JSON MongoDB PDF Util Net NetSSL Crypto Data DataSQLite Zip Encodings Redis" 26PACKAGECONFIG ??= "XML JSON MongoDB PDF Util Net NetSSL Crypto JWT Data DataSQLite Zip Encodings Redis"
29 27
30PACKAGECONFIG[XML] = "-DENABLE_XML=ON -DEXPAT_LIBRARY:STRING=expat,-DENABLE_XML=OFF,expat" 28PACKAGECONFIG[XML] = "-DENABLE_XML=ON,-DENABLE_XML=OFF,expat"
31PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF" 29PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF"
32PACKAGECONFIG[MongoDB] = "-DENABLE_MONGODB=ON,-DENABLE_MONGODB=OFF" 30PACKAGECONFIG[MongoDB] = "-DENABLE_MONGODB=ON,-DENABLE_MONGODB=OFF"
33PACKAGECONFIG[PDF] = "-DENABLE_PDF=ON,-DENABLE_PDF=OFF,zlib" 31PACKAGECONFIG[PDF] = "-DENABLE_PDF=ON,-DENABLE_PDF=OFF,zlib"
34PACKAGECONFIG[Util] = "-DENABLE_UTIL=ON,-DENABLE_UTIL=OFF" 32PACKAGECONFIG[Util] = "-DENABLE_UTIL=ON,-DENABLE_UTIL=OFF"
35PACKAGECONFIG[Net] = "-DENABLE_NET=ON,-DENABLE_NET=OFF" 33PACKAGECONFIG[Net] = "-DENABLE_NET=ON,-DENABLE_NET=OFF"
36PACKAGECONFIG[NetSSL] = "-DENABLE_NETSSL=ON -DOPENSSL_SSL_LIBRARY:STRING=ssl -DOPENSSL_CRYPTO_LIBRARY:STRING=crypto,-DENABLE_NETSSL=OFF,openssl" 34PACKAGECONFIG[NetSSL] = "-DENABLE_NETSSL=ON,-DENABLE_NETSSL=OFF,openssl"
37PACKAGECONFIG[Crypto] = "-DENABLE_CRYPTO=ON -DOPENSSL_SSL_LIBRARY:STRING=ssl -DOPENSSL_CRYPTO_LIBRARY:STRING=crypto,-DENABLE_CRYPTO=OFF,openssl" 35PACKAGECONFIG[Crypto] = "-DENABLE_CRYPTO=ON,-DENABLE_CRYPTO=OFF,openssl"
36PACKAGECONFIG[JWT] = "-DENABLE_JWT=ON,-DENABLE_JWT=OFF,openssl"
38PACKAGECONFIG[Data] = "-DENABLE_DATA=ON,-DENABLE_DATA=OFF" 37PACKAGECONFIG[Data] = "-DENABLE_DATA=ON,-DENABLE_DATA=OFF"
39PACKAGECONFIG[DataSQLite] = "-DENABLE_DATA_SQLITE=ON -DSQLITE3_LIBRARY:STRING=sqlite3,-DENABLE_DATA_SQLITE=OFF,sqlite3" 38PACKAGECONFIG[DataSQLite] = "-DENABLE_DATA_SQLITE=ON -DSQLITE3_LIBRARY:STRING=sqlite3,-DENABLE_DATA_SQLITE=OFF,sqlite3"
40PACKAGECONFIG[Zip] = "-DENABLE_ZIP=ON,-DENABLE_ZIP=OFF" 39PACKAGECONFIG[Zip] = "-DENABLE_ZIP=ON,-DENABLE_ZIP=OFF"
@@ -53,7 +52,6 @@ PACKAGECONFIG[PageCompilerFile2Page] = "-DENABLE_PAGECOMPILER_FILE2PAGE=ON,-DENA
53PACKAGECONFIG[SevenZip] = "-DENABLE_SEVENZIP=ON,-DENABLE_SEVENZIP=OFF" 52PACKAGECONFIG[SevenZip] = "-DENABLE_SEVENZIP=ON,-DENABLE_SEVENZIP=OFF"
54 53
55EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=RelWithDebInfo -DPOCO_UNBUNDLED=ON \ 54EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=RelWithDebInfo -DPOCO_UNBUNDLED=ON \
56 -DZLIB_LIBRARY_RELEASE:STRING=z -DPCRE_LIBRARY:STRING=pcre \
57 -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ 55 -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \
58 ${@bb.utils.contains('PTEST_ENABLED', '1', '-DENABLE_TESTS=ON ', '', d)}" 56 ${@bb.utils.contains('PTEST_ENABLED', '1', '-DENABLE_TESTS=ON ', '', d)}"
59 57