From 5a87cb6679a8d1c6a115277831d4f251181fd121 Mon Sep 17 00:00:00 2001 From: Randy MacLeod Date: Thu, 26 Jun 2025 17:28:02 -0400 Subject: ninja: upgrade 1.12.1 -> 1.13.0 Changelog: ========== - Ninja now automatically joins a GNU Make jobserver as a client (version 4.4 on non-Windows systems required for "fifo" style) #1139 - Print exit code of failed subcommands #1507 - ninja -t compdb accepts a target #1544 - Support for ANSI (color) escape codes in NINJA_STATUS #713 See: https://github.com/ninja-build/ninja/milestone/8?closed=1 for a complete list of changes. Add tag to SRC_URI as is now required. Also line-wrap the DESCRIPTION. (From OE-Core rev: 79f1b70dacfcd841aa8252fba77df5f6b11e3c96) Signed-off-by: Randy MacLeod Signed-off-by: Richard Purdie --- meta/recipes-devtools/ninja/ninja_1.12.1.bb | 31 ------------------------- meta/recipes-devtools/ninja/ninja_1.13.0.bb | 35 +++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 31 deletions(-) delete mode 100644 meta/recipes-devtools/ninja/ninja_1.12.1.bb create mode 100644 meta/recipes-devtools/ninja/ninja_1.13.0.bb diff --git a/meta/recipes-devtools/ninja/ninja_1.12.1.bb b/meta/recipes-devtools/ninja/ninja_1.12.1.bb deleted file mode 100644 index 5aff82edec..0000000000 --- a/meta/recipes-devtools/ninja/ninja_1.12.1.bb +++ /dev/null @@ -1,31 +0,0 @@ -SUMMARY = "Ninja is a small build system with a focus on speed." -HOMEPAGE = "https://ninja-build.org/" -DESCRIPTION = "Ninja is a small build system with a focus on speed. It differs from other build systems in two major respects: it is designed to have its input files generated by a higher-level build system, and it is designed to run builds as fast as possible." -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://COPYING;md5=a81586a64ad4e476c791cda7e2f2c52e" - -DEPENDS = "re2c-native ninja-native" - -SRCREV = "2daa09ba270b0a43e1929d29b073348aa985dfaa" - -SRC_URI = "git://github.com/ninja-build/ninja.git;branch=release;protocol=https" -UPSTREAM_CHECK_GITTAGREGEX = "v(?P.*)" - -do_configure[noexec] = "1" - -do_compile:class-native() { - python3 ./configure.py --bootstrap -} - -do_compile() { - python3 ./configure.py - ninja -} - -do_install() { - install -D -m 0755 ${S}/ninja ${D}${bindir}/ninja -} - -BBCLASSEXTEND = "native nativesdk" - -CVE_STATUS[CVE-2021-4336] = "cpe-incorrect: This is a different Ninja" diff --git a/meta/recipes-devtools/ninja/ninja_1.13.0.bb b/meta/recipes-devtools/ninja/ninja_1.13.0.bb new file mode 100644 index 0000000000..a5fa8f1c9e --- /dev/null +++ b/meta/recipes-devtools/ninja/ninja_1.13.0.bb @@ -0,0 +1,35 @@ +SUMMARY = "Ninja is a small build system with a focus on speed." +HOMEPAGE = "https://ninja-build.org/" +DESCRIPTION = "Ninja is a small build system with a focus on speed. \ +It differs from other build systems in two major respects: \ +it is designed to have its input files generated by a higher-level build system, \ +and it is designed to run builds as fast as possible." + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=a81586a64ad4e476c791cda7e2f2c52e" + +DEPENDS = "re2c-native ninja-native" + +SRCREV = "b4d51f6ed5bed09dd2b70324df0d9cb4ecad2638" + +SRC_URI = "git://github.com/ninja-build/ninja.git;branch=release;protocol=https;tag=v${PV}" +UPSTREAM_CHECK_GITTAGREGEX = "v(?P.*)" + +do_configure[noexec] = "1" + +do_compile:class-native() { + python3 ./configure.py --bootstrap +} + +do_compile() { + python3 ./configure.py + ninja +} + +do_install() { + install -D -m 0755 ${S}/ninja ${D}${bindir}/ninja +} + +BBCLASSEXTEND = "native nativesdk" + +CVE_STATUS[CVE-2021-4336] = "cpe-incorrect: This is a different Ninja" -- cgit v1.2.3-54-g00ecf