diff options
Diffstat (limited to 'meta-oe')
11 files changed, 147 insertions, 9 deletions
diff --git a/meta-oe/recipes-connectivity/zeromq/cppzmq_4.11.0.bb b/meta-oe/recipes-connectivity/zeromq/cppzmq_4.11.0.bb index 10a132c0c9..012dbe5f57 100644 --- a/meta-oe/recipes-connectivity/zeromq/cppzmq_4.11.0.bb +++ b/meta-oe/recipes-connectivity/zeromq/cppzmq_4.11.0.bb | |||
@@ -14,3 +14,5 @@ inherit cmake | |||
14 | EXTRA_OECMAKE = "-DCPPZMQ_BUILD_TESTS=OFF" | 14 | EXTRA_OECMAKE = "-DCPPZMQ_BUILD_TESTS=OFF" |
15 | 15 | ||
16 | ALLOW_EMPTY:${PN} = "1" | 16 | ALLOW_EMPTY:${PN} = "1" |
17 | |||
18 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-oe/recipes-connectivity/zeromq/zeromq_4.3.5.bb b/meta-oe/recipes-connectivity/zeromq/zeromq_4.3.5.bb index 7569d3200d..eb4ee2f4fc 100644 --- a/meta-oe/recipes-connectivity/zeromq/zeromq_4.3.5.bb +++ b/meta-oe/recipes-connectivity/zeromq/zeromq_4.3.5.bb | |||
@@ -27,3 +27,5 @@ do_install_ptest () { | |||
27 | } | 27 | } |
28 | 28 | ||
29 | FILES:${PN}-doc += "${datadir}/zmq/*.txt" | 29 | FILES:${PN}-doc += "${datadir}/zmq/*.txt" |
30 | |||
31 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-oe/recipes-devtools/json-schema-validator/json-schema-validator_2.2.0.bb b/meta-oe/recipes-devtools/json-schema-validator/json-schema-validator_2.2.0.bb index 241fd328d8..c6e910a137 100644 --- a/meta-oe/recipes-devtools/json-schema-validator/json-schema-validator_2.2.0.bb +++ b/meta-oe/recipes-devtools/json-schema-validator/json-schema-validator_2.2.0.bb | |||
@@ -16,3 +16,5 @@ DEPENDS += "nlohmann-json" | |||
16 | 16 | ||
17 | inherit cmake | 17 | inherit cmake |
18 | EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DJSON_VALIDATOR_BUILD_TESTS=OFF -DJSON_VALIDATOR_BUILD_EXAMPLES=OFF" | 18 | EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DJSON_VALIDATOR_BUILD_TESTS=OFF -DJSON_VALIDATOR_BUILD_EXAMPLES=OFF" |
19 | |||
20 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb b/meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb index 679acafabf..4bc829f140 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb | |||
@@ -6,11 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b4f41dcacabc8f07b9ca7dee2f188a00" | |||
6 | CVE_PRODUCT = "nodejs node.js" | 6 | CVE_PRODUCT = "nodejs node.js" |
7 | 7 | ||
8 | DEPENDS = "openssl openssl-native file-replacement-native python3-packaging-native" | 8 | DEPENDS = "openssl openssl-native file-replacement-native python3-packaging-native" |
9 | DEPENDS:append:class-target = " qemu-native" | ||
9 | DEPENDS:append:class-native = " c-ares-native" | 10 | DEPENDS:append:class-native = " c-ares-native" |
10 | 11 | ||
11 | inherit pkgconfig python3native ptest siteinfo | 12 | inherit pkgconfig python3native qemu ptest siteinfo |
12 | inherit_defer ${@bb.utils.contains('HOST_AND_TARGET_SAME_WIDTH', '0', 'qemu', '', d)} | ||
13 | |||
14 | 13 | ||
15 | COMPATIBLE_MACHINE:armv4 = "(!.*armv4).*" | 14 | COMPATIBLE_MACHINE:armv4 = "(!.*armv4).*" |
16 | COMPATIBLE_MACHINE:armv5 = "(!.*armv5).*" | 15 | COMPATIBLE_MACHINE:armv5 = "(!.*armv5).*" |
@@ -109,11 +108,11 @@ python do_create_v8_qemu_wrapper () { | |||
109 | on the host.""" | 108 | on the host.""" |
110 | qemu_libdirs = [d.expand('${STAGING_DIR_HOST}${libdir}'), | 109 | qemu_libdirs = [d.expand('${STAGING_DIR_HOST}${libdir}'), |
111 | d.expand('${STAGING_DIR_HOST}${base_libdir}')] | 110 | d.expand('${STAGING_DIR_HOST}${base_libdir}')] |
112 | qemu_cmd = "" | 111 | qemu_cmd = qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'), |
112 | qemu_libdirs) | ||
113 | 113 | ||
114 | if d.getVar("HOST_AND_TARGET_SAME_WIDTH") == "0": | 114 | if d.getVar("HOST_AND_TARGET_SAME_WIDTH") == "1": |
115 | qemu_cmd = qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'), | 115 | qemu_cmd = "" |
116 | qemu_libdirs) | ||
117 | 116 | ||
118 | wrapper_path = d.expand('${B}/v8-qemu-wrapper.sh') | 117 | wrapper_path = d.expand('${B}/v8-qemu-wrapper.sh') |
119 | with open(wrapper_path, 'w') as wrapper_file: | 118 | with open(wrapper_path, 'w') as wrapper_file: |
@@ -210,7 +209,6 @@ python __anonymous () { | |||
210 | # 32 bit target and 64 bit host (x86-64 or aarch64) have different bit width | 209 | # 32 bit target and 64 bit host (x86-64 or aarch64) have different bit width |
211 | if d.getVar("SITEINFO_BITS") == "32" and "64" in d.getVar("BUILD_ARCH"): | 210 | if d.getVar("SITEINFO_BITS") == "32" and "64" in d.getVar("BUILD_ARCH"): |
212 | d.setVar("HOST_AND_TARGET_SAME_WIDTH", "0") | 211 | d.setVar("HOST_AND_TARGET_SAME_WIDTH", "0") |
213 | d.appendVar("DEPENDS:class-target", " qemu-native") | ||
214 | else: | 212 | else: |
215 | d.setVar("HOST_AND_TARGET_SAME_WIDTH", "1") | 213 | d.setVar("HOST_AND_TARGET_SAME_WIDTH", "1") |
216 | } | 214 | } |
diff --git a/meta-oe/recipes-devtools/pstack/files/0001-tests-fix-the-issue-of-cross-compilation-failure.patch b/meta-oe/recipes-devtools/pstack/files/0001-tests-fix-the-issue-of-cross-compilation-failure.patch new file mode 100644 index 0000000000..2b54750e7a --- /dev/null +++ b/meta-oe/recipes-devtools/pstack/files/0001-tests-fix-the-issue-of-cross-compilation-failure.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From a8c3996d3f8d9b8f3a2888b7062c1139263c5aba Mon Sep 17 00:00:00 2001 | ||
2 | From: Wen Yang <yellowriver2010@hotmail.com> | ||
3 | Date: Mon, 23 Jun 2025 02:06:53 +0800 | ||
4 | Subject: [PATCH] tests: fix the issue of cross compilation failure | ||
5 | |||
6 | By replacing objcopy with MAKE_OBJCOPY, pstack could support both | ||
7 | native and cross compilation. | ||
8 | |||
9 | Upstream-Status: Backport [https://github.com/peadar/pstack/pull/38] | ||
10 | --- | ||
11 | tests/CMakeLists.txt | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt | ||
15 | index 71a62a7..bf11a04 100644 | ||
16 | --- a/tests/CMakeLists.txt | ||
17 | +++ b/tests/CMakeLists.txt | ||
18 | @@ -38,7 +38,7 @@ SET_TARGET_PROPERTIES(noreturn PROPERTIES COMPILE_FLAGS "-O2 -g") | ||
19 | |||
20 | add_custom_command( | ||
21 | OUTPUT basic-no-unwind-gen | ||
22 | - COMMAND objcopy --strip-debug --remove-section .eh_frame basic basic-no-unwind | ||
23 | + COMMAND ${CMAKE_OBJCOPY} --strip-debug --remove-section .eh_frame basic basic-no-unwind | ||
24 | VERBATIM ) | ||
25 | |||
26 | add_custom_target(basic-no-unwind ALL DEPENDS basic basic-no-unwind-gen) | ||
27 | -- | ||
28 | 2.25.1 | ||
diff --git a/meta-oe/recipes-devtools/pstack/pstack.inc b/meta-oe/recipes-devtools/pstack/pstack.inc new file mode 100644 index 0000000000..9831a74d1a --- /dev/null +++ b/meta-oe/recipes-devtools/pstack/pstack.inc | |||
@@ -0,0 +1,39 @@ | |||
1 | SUMMARY = "A utility to print stack traces of running processes" | ||
2 | DESCRIPTION = "A from-scratch implementation of pstack using DWARF debugging and unwind information. \ | ||
3 | Works for C/C++, Go, Rust, and Python. A traditional pstack command can generally print a backtrace \ | ||
4 | of each thread in a running program, and sometimes from a core file. This version of pstack uses its \ | ||
5 | own self contained ELF and DWARF parsing library, libdwelf to parse the DWARF debug and unwind \ | ||
6 | information, to get a stack trace." | ||
7 | HOMEPAGE = "https://github.com/peadar/pstack" | ||
8 | SECTION = "devel" | ||
9 | LICENSE = "BSD-2-Clause" | ||
10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=671019a96ba80415b696240ed2ca5e80" | ||
11 | |||
12 | inherit cmake | ||
13 | |||
14 | S = "${UNPACKDIR}/${BPN}-${PV}" | ||
15 | DEPENDS += "zlib xz libunwind elfutils" | ||
16 | |||
17 | RDEPENDS:${PN} += "elfutils" | ||
18 | |||
19 | do_install() { | ||
20 | install -d ${D}${bindir} | ||
21 | install -m 0755 ${B}/pstack ${D}${bindir}/pstack | ||
22 | |||
23 | install -d ${D}${libdir} | ||
24 | install -m 0755 ${B}/libprocman.so.${PV} ${D}${libdir}/libprocman.so.${PV} | ||
25 | ln -sf libprocman.so.${PV} ${D}${libdir}/libprocman.so | ||
26 | install -m 0755 ${B}/libdwelf.so.${PV} ${D}${libdir}/libdwelf.so.${PV} | ||
27 | ln -sf libdwelf.so.${PV} ${D}${libdir}/libdwelf.so | ||
28 | } | ||
29 | |||
30 | PACKAGES = "${PN}" | ||
31 | FILES:${PN} = "${bindir}/pstack" | ||
32 | FILES:${PN} += "${libdir}/libprocman.so.${PV}" | ||
33 | FILES:${PN} += "${libdir}/libdwelf.so.${PV}" | ||
34 | |||
35 | PACKAGES += "${PN}-dbg" | ||
36 | FILES:${PN}-dbg += "${base_bindir}/.debug ${base_sbindir}/.debug ${bindir}/.debug ${sbindir}/.debug" | ||
37 | |||
38 | PACKAGES += "${PN}-dev" | ||
39 | FILES:${PN}-dev += "${base_libdir}/*.so" | ||
diff --git a/meta-oe/recipes-devtools/pstack/pstack_2.10.bb b/meta-oe/recipes-devtools/pstack/pstack_2.10.bb new file mode 100644 index 0000000000..cebc13d36c --- /dev/null +++ b/meta-oe/recipes-devtools/pstack/pstack_2.10.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | SUMMARY = "A from-scratch implementation of pstack using DWARF debugging \ | ||
2 | and unwind information. Works for C/C++, Go, Rust, and Python." | ||
3 | |||
4 | HOMEPAGE = "https://github.com/peadar/pstack" | ||
5 | SECTION = "devel/pstack" | ||
6 | |||
7 | LICENSE = "BSD-2-Clause" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ea061f8731d5e6a5761dfad951ef5f5f" | ||
9 | |||
10 | DEPENDS = "tcl virtual/libx11 libxt zip-native" | ||
11 | |||
12 | SRC_URI = "git://github.com/peadar/pstack;branch=master;tag=v${PV};protocol=https" | ||
13 | SRCREV = "a310df637d74917a1d3570c540bf3aef899d7e63" | ||
14 | |||
15 | S = "${WORKDIR}/${BPN}${PV}" | ||
16 | |||
17 | PACKAGES =+ "${PN}-lib" | ||
18 | |||
19 | SOLIBS = ".so" | ||
20 | FILES_SOLIBSDEV = "" | ||
21 | |||
22 | # isn't getting picked up by shlibs code | ||
23 | RDEPENDS:${PN} += "tk-lib" | ||
24 | RDEPENDS:${PN}:class-native = "" | ||
25 | |||
26 | BBCLASSEXTEND = "native nativesdk" | ||
27 | |||
28 | inherit binconfig | ||
29 | |||
30 | SYSROOT_DIRS += "${bindir_crossscripts}" | ||
31 | |||
32 | # Fix some paths that might be used by Tcl extensions | ||
33 | BINCONFIG_GLOB = "*Config.sh" | ||
diff --git a/meta-oe/recipes-devtools/pstack/pstack_git.bb b/meta-oe/recipes-devtools/pstack/pstack_git.bb new file mode 100644 index 0000000000..cc6721f9e3 --- /dev/null +++ b/meta-oe/recipes-devtools/pstack/pstack_git.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | require pstack.inc | ||
2 | |||
3 | SRCREV = "1e1734be3adb6d9c81b57c5cc3d0c8fbc43bdee3" | ||
4 | PV = "2.11" | ||
5 | |||
6 | SRC_URI = "git://github.com/peadar/pstack.git;branch=master;protocol=https \ | ||
7 | file://0001-tests-fix-the-issue-of-cross-compilation-failure.patch \ | ||
8 | " | ||
diff --git a/meta-oe/recipes-extended/boinc/boinc-client_7.20.5.bb b/meta-oe/recipes-extended/boinc/boinc-client_7.20.5.bb index b2cfd9b874..3e626f32d9 100644 --- a/meta-oe/recipes-extended/boinc/boinc-client_7.20.5.bb +++ b/meta-oe/recipes-extended/boinc/boinc-client_7.20.5.bb | |||
@@ -77,7 +77,10 @@ do_install:prepend() { | |||
77 | } | 77 | } |
78 | 78 | ||
79 | do_install:append() { | 79 | do_install:append() { |
80 | sed -i -e 's#${S}##g' ${D}${includedir}/boinc/svn_version.h | 80 | # By default, the SVN_VERSION definition looks like: |
81 | #define SVN_VERSION "$SHA1 [https://github.com/BOINC/boinc] ($HOSTNAME:$S [client_release/7/7.20]) [Server-Release: server_release/1.1/1.1.0]" | ||
82 | # ... remove HOSTNAME and S to make it reproducible. | ||
83 | sed -i -e '/^#define SVN_VERSION /s#(\S*:\S* \[#([#g' ${D}${includedir}/boinc/svn_version.h | ||
81 | } | 84 | } |
82 | 85 | ||
83 | SYSTEMD_SERVICE:${PN} = "boinc-client.service" | 86 | SYSTEMD_SERVICE:${PN} = "boinc-client.service" |
diff --git a/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb b/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb new file mode 100644 index 0000000000..dab11a02bc --- /dev/null +++ b/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | SUMMARY = "Lightweight image viewer for X" | ||
2 | DESCRIPTION = "GPicView is a simple, lightweight and fast GTK+ based image \ | ||
3 | viewer with minimal lib dependency and desktop independent." | ||
4 | HOMEPAGE = "https://github.com/lxde/gpicview" | ||
5 | BUGTRACKER = "https://github.com/lxde/gpicview/issues" | ||
6 | SECTION = "x11" | ||
7 | |||
8 | LICENSE = "GPL-2.0-only" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | ||
10 | |||
11 | DEPENDS = "glib-2.0-native intltool-native jpeg" | ||
12 | |||
13 | SRC_URI = "git://github.com/lxde/gpicview.git;protocol=https;branch=master;tag=${PV}" | ||
14 | SRCREV = "ca13623c6176585db4759ce4371fbf89c56fa630" | ||
15 | |||
16 | inherit autotools mime-xdg pkgconfig | ||
17 | |||
18 | PACKAGECONFIG ?= "gtk3" | ||
19 | PACKAGECONFIG[gtk2] = ",,gtk+" | ||
20 | PACKAGECONFIG[gtk3] = "--enable-gtk3,,gtk+3" | ||
21 | |||
22 | FILES:${PN} += "${datadir}/icons" | ||
diff --git a/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.122.bb b/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.122.bb index f912686c41..0b87c1b21a 100644 --- a/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.122.bb +++ b/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.122.bb | |||
@@ -13,6 +13,7 @@ DEPENDS = " \ | |||
13 | gperf-native \ | 13 | gperf-native \ |
14 | gtk+3 \ | 14 | gtk+3 \ |
15 | gdk-pixbuf \ | 15 | gdk-pixbuf \ |
16 | libtirpc \ | ||
16 | tcl \ | 17 | tcl \ |
17 | tk \ | 18 | tk \ |
18 | bzip2 \ | 19 | bzip2 \ |