diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/ccache.bbclass | 3 | ||||
-rw-r--r-- | meta/recipes-core/systemd/systemd_257.6.bb | 12 | ||||
-rw-r--r-- | meta/recipes-extended/stress-ng/stress-ng_0.19.02.bb (renamed from meta/recipes-extended/stress-ng/stress-ng_0.18.12.bb) | 5 | ||||
-rw-r--r-- | meta/recipes-graphics/harfbuzz/harfbuzz/0001-Use-Os-to-compile-hb-subset-plan-layout.cc.patch | 72 | ||||
-rw-r--r-- | meta/recipes-graphics/harfbuzz/harfbuzz_11.2.1.bb | 6 | ||||
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gst-examples_1.26.3.bb | 3 | ||||
-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 |
8 files changed, 12 insertions, 127 deletions
diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass index 262db6672c..fc014bf71d 100644 --- a/meta/classes/ccache.bbclass +++ b/meta/classes/ccache.bbclass | |||
@@ -37,9 +37,6 @@ CCACHE_NATIVE_RECIPES_ALLOWED ?= "" | |||
37 | # in different builds. | 37 | # in different builds. |
38 | export CCACHE_BASEDIR ?= "${TMPDIR}" | 38 | export CCACHE_BASEDIR ?= "${TMPDIR}" |
39 | 39 | ||
40 | # Used for sharing cache files after compiler is rebuilt | ||
41 | export CCACHE_COMPILERCHECK ?= "%compiler% -dumpspecs" | ||
42 | |||
43 | export CCACHE_CONFIGPATH ?= "${COREBASE}/meta/conf/ccache.conf" | 40 | export CCACHE_CONFIGPATH ?= "${COREBASE}/meta/conf/ccache.conf" |
44 | 41 | ||
45 | export CCACHE_DIR ?= "${CCACHE_TOP_DIR}/${MULTIMACH_TARGET_SYS}/${PN}" | 42 | export CCACHE_DIR ?= "${CCACHE_TOP_DIR}/${MULTIMACH_TARGET_SYS}/${PN}" |
diff --git a/meta/recipes-core/systemd/systemd_257.6.bb b/meta/recipes-core/systemd/systemd_257.6.bb index 9092d02c51..f1064f07c5 100644 --- a/meta/recipes-core/systemd/systemd_257.6.bb +++ b/meta/recipes-core/systemd/systemd_257.6.bb | |||
@@ -92,7 +92,6 @@ PACKAGECONFIG ??= " \ | |||
92 | quotacheck \ | 92 | quotacheck \ |
93 | randomseed \ | 93 | randomseed \ |
94 | resolved \ | 94 | resolved \ |
95 | serial-getty-generator \ | ||
96 | set-time-epoch \ | 95 | set-time-epoch \ |
97 | sysusers \ | 96 | sysusers \ |
98 | timedated \ | 97 | timedated \ |
@@ -125,11 +124,6 @@ TARGET_CC_ARCH:append:libc-musl = " -D__UAPI_DEF_ETHHDR=0 -D_LARGEFILE64_SOURCE" | |||
125 | # Some of the dependencies are weak-style recommends - if not available at runtime, | 124 | # Some of the dependencies are weak-style recommends - if not available at runtime, |
126 | # systemd won't fail but the library-related feature will be skipped with a warning. | 125 | # systemd won't fail but the library-related feature will be skipped with a warning. |
127 | 126 | ||
128 | # Use the upstream systemd serial-getty@.service and rely on | ||
129 | # systemd-getty-generator instead of using the OE-core specific | ||
130 | # systemd-serialgetty.bb - not enabled by default. | ||
131 | PACKAGECONFIG[serial-getty-generator] = "" | ||
132 | |||
133 | PACKAGECONFIG[acl] = "-Dacl=enabled,-Dacl=disabled,acl" | 127 | PACKAGECONFIG[acl] = "-Dacl=enabled,-Dacl=disabled,acl" |
134 | PACKAGECONFIG[audit] = "-Daudit=enabled,-Daudit=disabled,audit" | 128 | PACKAGECONFIG[audit] = "-Daudit=enabled,-Daudit=disabled,audit" |
135 | PACKAGECONFIG[apparmor] = "-Dapparmor=enabled,-Dapparmor=disabled,apparmor" | 129 | PACKAGECONFIG[apparmor] = "-Dapparmor=enabled,-Dapparmor=disabled,apparmor" |
@@ -290,12 +284,6 @@ do_install() { | |||
290 | fi | 284 | fi |
291 | install -d ${D}/${base_sbindir} | 285 | install -d ${D}/${base_sbindir} |
292 | 286 | ||
293 | if ! ${@bb.utils.contains('PACKAGECONFIG', 'serial-getty-generator', 'true', 'false', d)}; then | ||
294 | # Remove the serial-getty generator and instead use explicit services | ||
295 | # created by the systemd-serialgetty recipe | ||
296 | find ${D} -name \*getty-generator\* -delete | ||
297 | fi | ||
298 | |||
299 | # Provide support for initramfs | 287 | # Provide support for initramfs |
300 | [ ! -e ${D}/init ] && ln -s ${nonarch_libdir}/systemd/systemd ${D}/init | 288 | [ ! -e ${D}/init ] && ln -s ${nonarch_libdir}/systemd/systemd ${D}/init |
301 | [ ! -e ${D}/${base_sbindir}/udevd ] && ln -s ${nonarch_libdir}/systemd/systemd-udevd ${D}/${base_sbindir}/udevd | 289 | [ ! -e ${D}/${base_sbindir}/udevd ] && ln -s ${nonarch_libdir}/systemd/systemd-udevd ${D}/${base_sbindir}/udevd |
diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.18.12.bb b/meta/recipes-extended/stress-ng/stress-ng_0.19.02.bb index 85a0d6a709..dd8d3a8406 100644 --- a/meta/recipes-extended/stress-ng/stress-ng_0.18.12.bb +++ b/meta/recipes-extended/stress-ng/stress-ng_0.19.02.bb | |||
@@ -5,9 +5,8 @@ HOMEPAGE = "https://github.com/ColinIanKing/stress-ng#readme" | |||
5 | LICENSE = "GPL-2.0-only" | 5 | LICENSE = "GPL-2.0-only" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
7 | 7 | ||
8 | SRC_URI = "git://github.com/ColinIanKing/stress-ng.git;protocol=https;branch=master;tag=V${PV} \ | 8 | SRC_URI = "git://github.com/ColinIanKing/stress-ng.git;protocol=https;branch=master;tag=V${PV}" |
9 | " | 9 | SRCREV = "8d5399b282225f758606cd2b522382f65d947a8d" |
10 | SRCREV = "d4eef982dc98fe915aa82303c0a24070d0a51b00" | ||
11 | 10 | ||
12 | DEPENDS = "coreutils-native libbsd" | 11 | DEPENDS = "coreutils-native libbsd" |
13 | 12 | ||
diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz/0001-Use-Os-to-compile-hb-subset-plan-layout.cc.patch b/meta/recipes-graphics/harfbuzz/harfbuzz/0001-Use-Os-to-compile-hb-subset-plan-layout.cc.patch deleted file mode 100644 index 38ff58fce5..0000000000 --- a/meta/recipes-graphics/harfbuzz/harfbuzz/0001-Use-Os-to-compile-hb-subset-plan-layout.cc.patch +++ /dev/null | |||
@@ -1,72 +0,0 @@ | |||
1 | From a4325b6f6ddbebf3ecaee8f3825a2f03096adb6d Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 27 Apr 2025 15:26:09 -0700 | ||
4 | Subject: [PATCH] Use -Os to compile hb-subset-plan-layout.cc | ||
5 | |||
6 | This helps compiling with GCC 15 | ||
7 | |||
8 | Reported upstream with GH Issues [1] | ||
9 | |||
10 | [1] https://github.com/harfbuzz/harfbuzz/issues/5306 | ||
11 | |||
12 | Upstream-Status: Inappropriate [GCC-15 workaround] | ||
13 | |||
14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
15 | --- | ||
16 | src/meson.build | 15 ++++++++++++--- | ||
17 | 1 file changed, 12 insertions(+), 3 deletions(-) | ||
18 | |||
19 | diff --git a/src/meson.build b/src/meson.build | ||
20 | index cbe5d9e..d7fc764 100644 | ||
21 | --- a/src/meson.build | ||
22 | +++ b/src/meson.build | ||
23 | @@ -398,7 +398,6 @@ hb_subset_sources = files( | ||
24 | 'hb-subset-instancer-solver.hh', | ||
25 | 'hb-subset-instancer-solver.cc', | ||
26 | 'hb-subset-plan.cc', | ||
27 | - 'hb-subset-plan-layout.cc', | ||
28 | 'hb-subset-plan-var.cc', | ||
29 | 'hb-subset-plan.hh', | ||
30 | 'hb-subset-plan-member-list.hh', | ||
31 | @@ -415,6 +414,10 @@ hb_subset_sources = files( | ||
32 | 'hb-subset.hh', | ||
33 | ) | ||
34 | |||
35 | +hb_subset_sources_os = files( | ||
36 | + 'hb-subset-plan-layout.cc', | ||
37 | +) | ||
38 | + | ||
39 | hb_subset_headers = files( | ||
40 | 'hb-subset.h', | ||
41 | 'hb-subset-serialize.h' | ||
42 | @@ -629,6 +632,12 @@ endif | ||
43 | |||
44 | darwin_versions = [hb_version_int, '@0@.0.0'.format(hb_version_int)] | ||
45 | |||
46 | +special_subset_layout_lib = static_library('special_subset_layout', | ||
47 | + 'hb-subset-plan-layout.cc', | ||
48 | + include_directories: incconfig, | ||
49 | + cpp_args: cpp_args + extra_hb_cpp_args + ['-Os'], # <== compile this one with -Os | ||
50 | +) | ||
51 | + | ||
52 | libharfbuzz = library('harfbuzz', hb_sources, | ||
53 | include_directories: incconfig, | ||
54 | dependencies: harfbuzz_deps, | ||
55 | @@ -656,7 +665,7 @@ defs_list += [harfbuzz_subset_def] | ||
56 | libharfbuzz_subset = library('harfbuzz-subset', hb_subset_sources, | ||
57 | include_directories: incconfig, | ||
58 | dependencies: [m_dep], | ||
59 | - link_with: [libharfbuzz], | ||
60 | + link_with: [libharfbuzz] + [special_subset_layout_lib], | ||
61 | cpp_args: cpp_args + extra_hb_cpp_args, | ||
62 | soversion: hb_so_version, | ||
63 | version: version, | ||
64 | @@ -668,7 +677,7 @@ libharfbuzz_subset = library('harfbuzz-subset', hb_subset_sources, | ||
65 | custom_target('harfbuzz-subset.cc', | ||
66 | build_by_default: true, | ||
67 | output: 'harfbuzz-subset.cc', | ||
68 | - input: hb_base_sources + hb_subset_sources, | ||
69 | + input: hb_base_sources + hb_subset_sources + hb_subset_sources_os, | ||
70 | command: [find_program('gen-harfbuzzcc.py'), | ||
71 | '@OUTPUT@', meson.current_source_dir(), '@INPUT@'], | ||
72 | ) | ||
diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz_11.2.1.bb b/meta/recipes-graphics/harfbuzz/harfbuzz_11.2.1.bb index 71eada7f28..2c8a1363d0 100644 --- a/meta/recipes-graphics/harfbuzz/harfbuzz_11.2.1.bb +++ b/meta/recipes-graphics/harfbuzz/harfbuzz_11.2.1.bb | |||
@@ -9,7 +9,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b98429b8e8e3c2a67cfef01e99e4893d \ | |||
9 | " | 9 | " |
10 | 10 | ||
11 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BPN}-${PV}.tar.xz" | 11 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BPN}-${PV}.tar.xz" |
12 | SRC_URI += "file://0001-Use-Os-to-compile-hb-subset-plan-layout.cc.patch" | ||
13 | SRC_URI[sha256sum] = "093714c8548a285094685f0bdc999e202d666b59eeb3df2ff921ab68b8336a49" | 12 | SRC_URI[sha256sum] = "093714c8548a285094685f0bdc999e202d666b59eeb3df2ff921ab68b8336a49" |
14 | 13 | ||
15 | DEPENDS += "glib-2.0-native" | 14 | DEPENDS += "glib-2.0-native" |
@@ -21,6 +20,11 @@ GIR_MESON_DISABLE_FLAG = 'disabled' | |||
21 | GTKDOC_MESON_ENABLE_FLAG = 'enabled' | 20 | GTKDOC_MESON_ENABLE_FLAG = 'enabled' |
22 | GTKDOC_MESON_DISABLE_FLAG = 'disabled' | 21 | GTKDOC_MESON_DISABLE_FLAG = 'disabled' |
23 | 22 | ||
23 | # As per upstream CONFIG.md, it is recommended to always build with -Os. | ||
24 | FULL_OPTIMIZATION = "-Os ${DEBUG_LEVELFLAG}" | ||
25 | |||
26 | EXTRA_OEMESON = "-Dtests=disabled" | ||
27 | |||
24 | PACKAGECONFIG ??= "cairo freetype glib icu" | 28 | PACKAGECONFIG ??= "cairo freetype glib icu" |
25 | PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" | 29 | PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" |
26 | PACKAGECONFIG[chafa] = "-Dchafa=enabled,-Dchafa=disabled,chafa" | 30 | PACKAGECONFIG[chafa] = "-Dchafa=enabled,-Dchafa=disabled,chafa" |
diff --git a/meta/recipes-multimedia/gstreamer/gst-examples_1.26.3.bb b/meta/recipes-multimedia/gstreamer/gst-examples_1.26.3.bb index 8835b7d97b..df8fd4bd26 100644 --- a/meta/recipes-multimedia/gstreamer/gst-examples_1.26.3.bb +++ b/meta/recipes-multimedia/gstreamer/gst-examples_1.26.3.bb | |||
@@ -18,6 +18,9 @@ S = "${UNPACKDIR}/${BP}/subprojects/gst-examples" | |||
18 | 18 | ||
19 | inherit meson pkgconfig features_check | 19 | inherit meson pkgconfig features_check |
20 | 20 | ||
21 | # gtk-play has runtime errors otherwise | ||
22 | TARGET_LDFLAGS += "-rdynamic" | ||
23 | |||
21 | UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)" | 24 | UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)" |
22 | 25 | ||
23 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | 26 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
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 | ||