diff options
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/diffoscope/diffoscope_301.bb (renamed from meta/recipes-support/diffoscope/diffoscope_298.bb) | 2 | ||||
-rw-r--r-- | meta/recipes-support/icu/icu/0001-ICU-23120-Mask-UnicodeStringTest-TestLargeMemory-on-.patch | 28 | ||||
-rw-r--r-- | meta/recipes-support/icu/icu/0001-test-Add-support-ptest.patch | 84 | ||||
-rwxr-xr-x | meta/recipes-support/icu/icu/run-ptest | 13 | ||||
-rw-r--r-- | meta/recipes-support/icu/icu_77-1.bb | 23 | ||||
-rw-r--r-- | meta/recipes-support/libgit2/libgit2/0001-src-libgit2-CMakeLists.txt-install-cmake-files-into-.patch | 32 | ||||
-rw-r--r-- | meta/recipes-support/libgit2/libgit2_1.9.1.bb (renamed from meta/recipes-support/libgit2/libgit2_1.9.0.bb) | 6 |
7 files changed, 151 insertions, 37 deletions
diff --git a/meta/recipes-support/diffoscope/diffoscope_298.bb b/meta/recipes-support/diffoscope/diffoscope_301.bb index 4a50059c99..c93ff4f588 100644 --- a/meta/recipes-support/diffoscope/diffoscope_298.bb +++ b/meta/recipes-support/diffoscope/diffoscope_301.bb | |||
@@ -12,7 +12,7 @@ PYPI_PACKAGE = "diffoscope" | |||
12 | 12 | ||
13 | inherit pypi setuptools3 | 13 | inherit pypi setuptools3 |
14 | 14 | ||
15 | SRC_URI[sha256sum] = "9644b7e711df71f13c5f50f3d1353c1e6d09f462d342d9771576e75f3dd8c3e1" | 15 | SRC_URI[sha256sum] = "2b46b60afe3fbb9ba79946e5196157b272ddad27692ccf5e4839def1ef3019c6" |
16 | 16 | ||
17 | RDEPENDS:${PN} += "\ | 17 | RDEPENDS:${PN} += "\ |
18 | binutils \ | 18 | binutils \ |
diff --git a/meta/recipes-support/icu/icu/0001-ICU-23120-Mask-UnicodeStringTest-TestLargeMemory-on-.patch b/meta/recipes-support/icu/icu/0001-ICU-23120-Mask-UnicodeStringTest-TestLargeMemory-on-.patch new file mode 100644 index 0000000000..e2e9546679 --- /dev/null +++ b/meta/recipes-support/icu/icu/0001-ICU-23120-Mask-UnicodeStringTest-TestLargeMemory-on-.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 4b3e6888c2aaba6465f1bc96f61b17a2513050f3 Mon Sep 17 00:00:00 2001 | ||
2 | From: David Seifert <soap@gentoo.org> | ||
3 | Date: Sat, 21 Jun 2025 12:28:15 +0200 | ||
4 | Subject: [PATCH] ICU-23120 Mask UnicodeStringTest::TestLargeMemory on 32-bit | ||
5 | platforms | ||
6 | |||
7 | Upstream-Status: Submitted [https://github.com/unicode-org/icu/pull/3496] | ||
8 | Signed-off-by: Daisuke Yamane <yamane07ynct@gmail.com> | ||
9 | --- | ||
10 | test/intltest/ustrtest.cpp | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/test/intltest/ustrtest.cpp b/test/intltest/ustrtest.cpp | ||
14 | index 56976b3e3d2..26225f5b5b5 100644 | ||
15 | --- a/test/intltest/ustrtest.cpp | ||
16 | +++ b/test/intltest/ustrtest.cpp | ||
17 | @@ -2353,7 +2353,7 @@ void UnicodeStringTest::TestUnicodeStringInsertAppendToSelf() { | ||
18 | } | ||
19 | |||
20 | void UnicodeStringTest::TestLargeMemory() { | ||
21 | -#if U_PLATFORM_IS_LINUX_BASED || U_PLATFORM_IS_DARWIN_BASED | ||
22 | +#if (U_PLATFORM_IS_LINUX_BASED || U_PLATFORM_IS_DARWIN_BASED) && (UINTPTR_MAX == 0xFFFFFFFFFFFFFFFF) | ||
23 | if(quick) { return; } | ||
24 | IcuTestErrorCode status(*this, "TestLargeMemory"); | ||
25 | constexpr uint32_t len = 2147483643; | ||
26 | -- | ||
27 | 2.43.0 | ||
28 | |||
diff --git a/meta/recipes-support/icu/icu/0001-test-Add-support-ptest.patch b/meta/recipes-support/icu/icu/0001-test-Add-support-ptest.patch new file mode 100644 index 0000000000..88350c0db5 --- /dev/null +++ b/meta/recipes-support/icu/icu/0001-test-Add-support-ptest.patch | |||
@@ -0,0 +1,84 @@ | |||
1 | From 783d9e0d3d7824fbca53c2c3a80e8e5e23eacc82 Mon Sep 17 00:00:00 2001 | ||
2 | From: Daisuke Yamane <yamane07ynct@gmail.com> | ||
3 | Date: Tue, 1 Jul 2025 18:35:25 +0900 | ||
4 | Subject: [PATCH] test: Add support ptest | ||
5 | |||
6 | Upstream-Status: Inappropriate [oe-core specific] | ||
7 | |||
8 | Signed-off-by: Daisuke Yamane <yamane07ynct@gmail.com> | ||
9 | --- | ||
10 | test/cintltst/Makefile.in | 2 +- | ||
11 | test/intltest/Makefile.in | 2 +- | ||
12 | test/intltest/intltest.cpp | 2 +- | ||
13 | test/iotest/Makefile.in | 2 +- | ||
14 | test/letest/Makefile.in | 2 +- | ||
15 | 5 files changed, 5 insertions(+), 5 deletions(-) | ||
16 | |||
17 | diff --git a/test/cintltst/Makefile.in b/test/cintltst/Makefile.in | ||
18 | index 552a105..9cf3071 100644 | ||
19 | --- a/test/cintltst/Makefile.in | ||
20 | +++ b/test/cintltst/Makefile.in | ||
21 | @@ -39,7 +39,7 @@ CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/ct | ||
22 | ifdef QNX_TARGET | ||
23 | DEFS += -D'ICU_UNICODE_VERSION="$(UNICODE_VERSION)"' -D'ICU_VERSION="@VERSION@"' -D'ICUDATA_NAME="$(ICUDATA_PLATFORM_NAME)"' -D'U_TOPSRCDIR="/var/icu_tests"' -D'U_TOPBUILDDIR="/var/icu_tests/"' | ||
24 | else | ||
25 | -DEFS += -D'ICU_UNICODE_VERSION="$(UNICODE_VERSION)"' -D'ICU_VERSION="@VERSION@"' -D'ICUDATA_NAME="$(ICUDATA_PLATFORM_NAME)"' -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"' | ||
26 | +DEFS += -D'ICU_UNICODE_VERSION="$(UNICODE_VERSION)"' -D'ICU_VERSION="@VERSION@"' -D'ICUDATA_NAME="$(ICUDATA_PLATFORM_NAME)"' -D'U_TOPSRCDIR="$(PTEST_PATH)/"' -D'U_TOPBUILDDIR="$(PTEST_PATH)/"' | ||
27 | endif | ||
28 | LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUTOOLUTIL) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M) | ||
29 | |||
30 | diff --git a/test/intltest/Makefile.in b/test/intltest/Makefile.in | ||
31 | index 5d4a03b..ca4e4cd 100644 | ||
32 | --- a/test/intltest/Makefile.in | ||
33 | +++ b/test/intltest/Makefile.in | ||
34 | @@ -39,7 +39,7 @@ CPPFLAGS += -DUNISTR_FROM_CHAR_EXPLICIT= -DUNISTR_FROM_STRING_EXPLICIT= | ||
35 | ifdef QNX_TARGET | ||
36 | DEFS += -D'U_TOPSRCDIR="/var/icu_tests"' -D'U_TOPBUILDDIR="/var/icu_tests/"' | ||
37 | else | ||
38 | -DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"' | ||
39 | +DEFS += -D'U_TOPSRCDIR="$(PTEST_PATH)/"' -D'U_TOPBUILDDIR="$(PTEST_PATH)/"' | ||
40 | endif | ||
41 | LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M) $(LIB_THREAD) | ||
42 | |||
43 | diff --git a/test/intltest/intltest.cpp b/test/intltest/intltest.cpp | ||
44 | index 3806d0f..33829b0 100644 | ||
45 | --- a/test/intltest/intltest.cpp | ||
46 | +++ b/test/intltest/intltest.cpp | ||
47 | @@ -1713,7 +1713,7 @@ static bool fileExists(const char* fileName) { | ||
48 | * Returns the path to icu/testdata/ | ||
49 | */ | ||
50 | const char *IntlTest::getSharedTestData(UErrorCode& err) { | ||
51 | -#define SOURCE_TARBALL_TOP U_TOPSRCDIR U_FILE_SEP_STRING ".." U_FILE_SEP_STRING | ||
52 | +#define SOURCE_TARBALL_TOP U_TOPSRCDIR U_FILE_SEP_STRING | ||
53 | #define REPO_TOP SOURCE_TARBALL_TOP ".." U_FILE_SEP_STRING | ||
54 | #define FILE_NAME U_FILE_SEP_STRING "message2" U_FILE_SEP_STRING "valid-tests.json" | ||
55 | const char *srcDataDir = nullptr; | ||
56 | diff --git a/test/iotest/Makefile.in b/test/iotest/Makefile.in | ||
57 | index 16c510f..9eeff4b 100644 | ||
58 | --- a/test/iotest/Makefile.in | ||
59 | +++ b/test/iotest/Makefile.in | ||
60 | @@ -39,7 +39,7 @@ CPPFLAGS += -DUNISTR_FROM_CHAR_EXPLICIT= -DUNISTR_FROM_STRING_EXPLICIT= | ||
61 | ifdef QNX_TARGET | ||
62 | DEFS += -D'U_TOPSRCDIR="/var/icu_tests"' -D'U_TOPBUILDDIR="/var/icu_tests/"' | ||
63 | else | ||
64 | -DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"' | ||
65 | +DEFS += -D'U_TOPSRCDIR="$(PTEST_PATH)/"' -D'U_TOPBUILDDIR="$(PTEST_PATH)/"' | ||
66 | endif | ||
67 | LIBS = $(LIBCTESTFW) $(LIBICUTOOLUTIL) $(LIBICUIO) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M) | ||
68 | |||
69 | diff --git a/test/letest/Makefile.in b/test/letest/Makefile.in | ||
70 | index 156c86f..555a820 100644 | ||
71 | --- a/test/letest/Makefile.in | ||
72 | +++ b/test/letest/Makefile.in | ||
73 | @@ -30,7 +30,7 @@ BUILDDIR := $(BUILDDIR:test\\cintltst/../../=) | ||
74 | BUILDDIR := $(BUILDDIR:TEST\\CINTLTST/../../=) | ||
75 | |||
76 | CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/ctestfw -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/layoutex $(ICULE_CFLAGS) $(ICULEHB_CFLAGS) | ||
77 | -DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"' | ||
78 | +DEFS += -D'U_TOPSRCDIR="$(PTEST_PATH)/"' -D'U_TOPBUILDDIR="$(PTEST_PATH)/"' | ||
79 | LIBS = $(LIBICULX) $(LIBICUUC) $(LIBICUI18N) $(LIBCTESTFW) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M) $(ICULEHB_LIBS) | ||
80 | |||
81 | COMMONOBJECTS = SimpleFontInstance.o | ||
82 | -- | ||
83 | 2.43.0 | ||
84 | |||
diff --git a/meta/recipes-support/icu/icu/run-ptest b/meta/recipes-support/icu/icu/run-ptest new file mode 100755 index 0000000000..e5bf27a822 --- /dev/null +++ b/meta/recipes-support/icu/icu/run-ptest | |||
@@ -0,0 +1,13 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | TOPDIR=$(dirname "$(realpath $0)") | ||
4 | cd ${TOPDIR}/test/tests | ||
5 | TESTS=$(find . -executable -type f) | ||
6 | for t in ${TESTS}; do | ||
7 | ./$t | ||
8 | if [ "$?" = "0" ]; then | ||
9 | echo "PASS: $t" | ||
10 | else | ||
11 | echo "FAIL: $t" | ||
12 | fi | ||
13 | done | ||
diff --git a/meta/recipes-support/icu/icu_77-1.bb b/meta/recipes-support/icu/icu_77-1.bb index e655b18ad2..cd81a6c729 100644 --- a/meta/recipes-support/icu/icu_77-1.bb +++ b/meta/recipes-support/icu/icu_77-1.bb | |||
@@ -119,6 +119,9 @@ SRC_URI = "${BASE_SRC_URI};name=code \ | |||
119 | ${DATA_SRC_URI};name=data \ | 119 | ${DATA_SRC_URI};name=data \ |
120 | file://filter.json \ | 120 | file://filter.json \ |
121 | file://0001-icu-Added-armeb-support.patch \ | 121 | file://0001-icu-Added-armeb-support.patch \ |
122 | file://0001-ICU-23120-Mask-UnicodeStringTest-TestLargeMemory-on-.patch \ | ||
123 | file://0001-test-Add-support-ptest.patch \ | ||
124 | file://run-ptest \ | ||
122 | " | 125 | " |
123 | 126 | ||
124 | SRC_URI:append:class-target = "\ | 127 | SRC_URI:append:class-target = "\ |
@@ -160,3 +163,23 @@ do_make_icudata() { | |||
160 | } | 163 | } |
161 | 164 | ||
162 | addtask make_icudata before do_configure after do_patch do_prepare_recipe_sysroot | 165 | addtask make_icudata before do_configure after do_patch do_prepare_recipe_sysroot |
166 | |||
167 | inherit ptest | ||
168 | RDEPENDS:${PN}-ptest += "bash" | ||
169 | |||
170 | do_compile_ptest() { | ||
171 | oe_runmake -C test everything PTEST_PATH=${PTEST_PATH} | ||
172 | } | ||
173 | |||
174 | do_install_ptest() { | ||
175 | install -d ${D}${PTEST_PATH}/test | ||
176 | install -d ${D}${PTEST_PATH}/data | ||
177 | cp -r ${S}/test/testdata ${D}/${PTEST_PATH}/test | ||
178 | cp -r ${S}/data/unidata ${D}/${PTEST_PATH}/data/ | ||
179 | cp -r ${S}/data/sprep ${D}/${PTEST_PATH}/data/ | ||
180 | cp -r ${S}/../testdata ${D}/${PTEST_PATH}/ | ||
181 | cp -r ${B}/test/testdata/out ${D}/${PTEST_PATH}/test/testdata | ||
182 | |||
183 | install -d ${D}${PTEST_PATH}/test/tests | ||
184 | find ${B}/test/ -type f -executable -exec cp {} ${D}${PTEST_PATH}/test/tests \; | ||
185 | } | ||
diff --git a/meta/recipes-support/libgit2/libgit2/0001-src-libgit2-CMakeLists.txt-install-cmake-files-into-.patch b/meta/recipes-support/libgit2/libgit2/0001-src-libgit2-CMakeLists.txt-install-cmake-files-into-.patch deleted file mode 100644 index ae48524e0d..0000000000 --- a/meta/recipes-support/libgit2/libgit2/0001-src-libgit2-CMakeLists.txt-install-cmake-files-into-.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | From 8ca35649c33d0d2fcdcd573ce6a9edd91c77e4da Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Tue, 7 Jan 2025 18:56:19 +0100 | ||
4 | Subject: [PATCH] src/libgit2/CMakeLists.txt: install cmake files into | ||
5 | configured libdir | ||
6 | |||
7 | libdir can be something else than /usr/lib, e.g. /usr/lib64 or similar. | ||
8 | |||
9 | Upstream-Status: Submitted [https://github.com/libgit2/libgit2/pull/7004] | ||
10 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
11 | --- | ||
12 | src/libgit2/CMakeLists.txt | 4 ++-- | ||
13 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/src/libgit2/CMakeLists.txt b/src/libgit2/CMakeLists.txt | ||
16 | index a7d3c7ca4..16b3a23d9 100644 | ||
17 | --- a/src/libgit2/CMakeLists.txt | ||
18 | +++ b/src/libgit2/CMakeLists.txt | ||
19 | @@ -119,11 +119,11 @@ configure_file(config.cmake.in | ||
20 | install(FILES | ||
21 | "${PROJECT_BINARY_DIR}/cmake/${PROJECT_NAME}Config.cmake" | ||
22 | "${PROJECT_BINARY_DIR}/cmake/${PROJECT_NAME}ConfigVersion.cmake" | ||
23 | - DESTINATION "lib/cmake/${PROJECT_NAME}") | ||
24 | + DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}") | ||
25 | install( | ||
26 | EXPORT ${LIBGIT2_TARGETS_EXPORT_NAME} | ||
27 | NAMESPACE "${PROJECT_NAME}::" | ||
28 | - DESTINATION "lib/cmake/${PROJECT_NAME}") | ||
29 | + DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}") | ||
30 | |||
31 | # Install | ||
32 | |||
diff --git a/meta/recipes-support/libgit2/libgit2_1.9.0.bb b/meta/recipes-support/libgit2/libgit2_1.9.1.bb index 66ec62f17a..43957a2087 100644 --- a/meta/recipes-support/libgit2/libgit2_1.9.0.bb +++ b/meta/recipes-support/libgit2/libgit2_1.9.1.bb | |||
@@ -5,10 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8eacfdc17c8f4d219e131a073973b97d" | |||
5 | 5 | ||
6 | DEPENDS = "curl openssl zlib libssh2 libgcrypt libpcre2" | 6 | DEPENDS = "curl openssl zlib libssh2 libgcrypt libpcre2" |
7 | 7 | ||
8 | SRC_URI = "git://github.com/libgit2/libgit2.git;branch=main;protocol=https \ | 8 | SRC_URI = "git://github.com/libgit2/libgit2.git;branch=maint/v1.9;protocol=https;tag=v${PV}" |
9 | file://0001-src-libgit2-CMakeLists.txt-install-cmake-files-into-.patch \ | 9 | SRCREV = "0060d9cf5666f015b1067129bd874c6cc4c9c7ac" |
10 | " | ||
11 | SRCREV = "338e6fb681369ff0537719095e22ce9dc602dbf0" | ||
12 | 10 | ||
13 | inherit cmake | 11 | inherit cmake |
14 | 12 | ||