diff options
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst | 4 | ||||
-rw-r--r-- | bitbake/lib/bb/cooker.py | 6 | ||||
-rw-r--r-- | bitbake/lib/bb/utils.py | 51 | ||||
-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 |
11 files changed, 54 insertions, 146 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst index a2c2432db1..4762d2637a 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst | |||
@@ -436,8 +436,8 @@ This fetcher supports the following parameters: | |||
436 | "nobranch" is set to "1", this is a mandatory parameter. The number of | 436 | "nobranch" is set to "1", this is a mandatory parameter. The number of |
437 | branch parameters must match the number of name parameters. | 437 | branch parameters must match the number of name parameters. |
438 | 438 | ||
439 | - *"rev":* The revision to use for the checkout. The default is | 439 | - *"rev":* The revision to use for the checkout. If :term:`SRCREV` is also set, |
440 | "master". | 440 | this parameter must match its value. |
441 | 441 | ||
442 | - *"tag":* Specifies a tag to use for the checkout. To correctly | 442 | - *"tag":* Specifies a tag to use for the checkout. To correctly |
443 | resolve tags, BitBake must access the network. For that reason, tags | 443 | resolve tags, BitBake must access the network. For that reason, tags |
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index fe33a4f34c..0ad79bd53e 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -2241,9 +2241,9 @@ class CookerParser(object): | |||
2241 | profiles.append(logfile) | 2241 | profiles.append(logfile) |
2242 | 2242 | ||
2243 | if profiles: | 2243 | if profiles: |
2244 | pout = "profile-parse.log.processed" | 2244 | fn_out = "profile-parse.log.report" |
2245 | bb.utils.process_profilelog(profiles, pout = pout) | 2245 | bb.utils.process_profilelog(profiles, fn_out=fn_out) |
2246 | print("Processed parsing statistics saved to %s" % (pout)) | 2246 | print("Processed parsing statistics saved to %s" % (fn_out)) |
2247 | 2247 | ||
2248 | def final_cleanup(self): | 2248 | def final_cleanup(self): |
2249 | if self.syncthread: | 2249 | if self.syncthread: |
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index f688f7dd68..c288c826c0 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py | |||
@@ -1441,29 +1441,43 @@ def profile_function(profile, function, output_fn, process=True): | |||
1441 | prof.dump_stats(output_fn) | 1441 | prof.dump_stats(output_fn) |
1442 | if process: | 1442 | if process: |
1443 | process_profilelog(output_fn) | 1443 | process_profilelog(output_fn) |
1444 | serverlog("Raw profiling information saved to %s and processed statistics to %s.processed" % (output_fn, output_fn)) | 1444 | serverlog("Raw profiling information saved to %s and processed statistics to %s.report*" % (output_fn, output_fn)) |
1445 | return ret | 1445 | return ret |
1446 | else: | 1446 | else: |
1447 | return function() | 1447 | return function() |
1448 | 1448 | ||
1449 | def process_profilelog(fn, pout = None): | 1449 | def process_profilelog(fn, fn_out = None): |
1450 | # Either call with a list of filenames and set pout or a filename and optionally pout. | 1450 | # Either call with a list of filenames and set pout or a filename and optionally pout. |
1451 | if not pout: | 1451 | import pstats |
1452 | pout = fn + '.processed' | ||
1453 | 1452 | ||
1454 | with open(pout, 'w') as pout: | 1453 | if not fn_out: |
1455 | import pstats | 1454 | fn_out = fn + '.report' |
1455 | |||
1456 | def pstatopen(): | ||
1456 | if isinstance(fn, list): | 1457 | if isinstance(fn, list): |
1457 | p = pstats.Stats(*fn, stream=pout) | 1458 | return pstats.Stats(*fn, stream=pout) |
1458 | else: | 1459 | return pstats.Stats(fn, stream=pout) |
1459 | p = pstats.Stats(fn, stream=pout) | 1460 | |
1461 | with open(fn_out + '.time', 'w') as pout: | ||
1462 | p = pstatopen() | ||
1460 | p.sort_stats('time') | 1463 | p.sort_stats('time') |
1461 | p.print_stats() | 1464 | p.print_stats() |
1465 | |||
1466 | with open(fn_out + '.time-callers', 'w') as pout: | ||
1467 | p = pstatopen() | ||
1468 | p.sort_stats('time') | ||
1462 | p.print_callers() | 1469 | p.print_callers() |
1470 | |||
1471 | with open(fn_out + '.cumulative', 'w') as pout: | ||
1472 | p = pstatopen() | ||
1463 | p.sort_stats('cumulative') | 1473 | p.sort_stats('cumulative') |
1464 | p.print_stats() | 1474 | p.print_stats() |
1465 | 1475 | ||
1466 | pout.flush() | 1476 | with open(fn_out + '.cumulative-callers', 'w') as pout: |
1477 | p = pstatopen() | ||
1478 | p.sort_stats('cumulative') | ||
1479 | p.print_callers() | ||
1480 | |||
1467 | 1481 | ||
1468 | # | 1482 | # |
1469 | # Was present to work around multiprocessing pool bugs in python < 2.7.3 | 1483 | # Was present to work around multiprocessing pool bugs in python < 2.7.3 |
@@ -2226,6 +2240,15 @@ def path_is_descendant(descendant, ancestor): | |||
2226 | 2240 | ||
2227 | return False | 2241 | return False |
2228 | 2242 | ||
2243 | # Recomputing the sets in signal.py is expensive (bitbake -pP idle) | ||
2244 | # so try and use _signal directly to avoid it | ||
2245 | valid_signals = signal.valid_signals() | ||
2246 | try: | ||
2247 | import _signal | ||
2248 | sigmask = _signal.pthread_sigmask | ||
2249 | except ImportError: | ||
2250 | sigmask = signal.pthread_sigmask | ||
2251 | |||
2229 | # If we don't have a timeout of some kind and a process/thread exits badly (for example | 2252 | # If we don't have a timeout of some kind and a process/thread exits badly (for example |
2230 | # OOM killed) and held a lock, we'd just hang in the lock futex forever. It is better | 2253 | # OOM killed) and held a lock, we'd just hang in the lock futex forever. It is better |
2231 | # we exit at some point than hang. 5 minutes with no progress means we're probably deadlocked. | 2254 | # we exit at some point than hang. 5 minutes with no progress means we're probably deadlocked. |
@@ -2235,7 +2258,7 @@ def path_is_descendant(descendant, ancestor): | |||
2235 | @contextmanager | 2258 | @contextmanager |
2236 | def lock_timeout(lock): | 2259 | def lock_timeout(lock): |
2237 | try: | 2260 | try: |
2238 | s = signal.pthread_sigmask(signal.SIG_BLOCK, signal.valid_signals()) | 2261 | s = sigmask(signal.SIG_BLOCK, valid_signals) |
2239 | held = lock.acquire(timeout=5*60) | 2262 | held = lock.acquire(timeout=5*60) |
2240 | if not held: | 2263 | if not held: |
2241 | bb.server.process.serverlog("Couldn't get the lock for 5 mins, timed out, exiting.\n%s" % traceback.format_stack()) | 2264 | bb.server.process.serverlog("Couldn't get the lock for 5 mins, timed out, exiting.\n%s" % traceback.format_stack()) |
@@ -2243,17 +2266,17 @@ def lock_timeout(lock): | |||
2243 | yield held | 2266 | yield held |
2244 | finally: | 2267 | finally: |
2245 | lock.release() | 2268 | lock.release() |
2246 | signal.pthread_sigmask(signal.SIG_SETMASK, s) | 2269 | sigmask(signal.SIG_SETMASK, s) |
2247 | 2270 | ||
2248 | # A version of lock_timeout without the check that the lock was locked and a shorter timeout | 2271 | # A version of lock_timeout without the check that the lock was locked and a shorter timeout |
2249 | @contextmanager | 2272 | @contextmanager |
2250 | def lock_timeout_nocheck(lock): | 2273 | def lock_timeout_nocheck(lock): |
2251 | l = False | 2274 | l = False |
2252 | try: | 2275 | try: |
2253 | s = signal.pthread_sigmask(signal.SIG_BLOCK, signal.valid_signals()) | 2276 | s = sigmask(signal.SIG_BLOCK, valid_signals) |
2254 | l = lock.acquire(timeout=10) | 2277 | l = lock.acquire(timeout=10) |
2255 | yield l | 2278 | yield l |
2256 | finally: | 2279 | finally: |
2257 | if l: | 2280 | if l: |
2258 | lock.release() | 2281 | lock.release() |
2259 | signal.pthread_sigmask(signal.SIG_SETMASK, s) | 2282 | sigmask(signal.SIG_SETMASK, s) |
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 | ||