Skip to contentSkip to conversation

ninja: upgrade 1.12.1 -> 1.13.0

PATCH Superseded [email protected] 3 participants 4 messages Jun 26, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ninja: upgrade 1.12.1 -> 1.13.0

From: Randy MacLeod <[email protected]>

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.

Also line-wrap the DESCRIPTION.

---
 .../ninja/{ninja_1.12.1.bb => ninja_1.13.0.bb}            | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/ninja/{ninja_1.12.1.bb => ninja_1.13.0.bb} (74%)
meta/recipes-devtools/ninja/ninja_1.13.0.bb renamed from meta/recipes-devtools/ninja/ninja_1.12.1.bb +6 -2
similarity index 74%
rename from meta/recipes-devtools/ninja/ninja_1.12.1.bb
rename to meta/recipes-devtools/ninja/ninja_1.13.0.bb
index 5aff82edec..70d665c251 100644
@@ -1,12 +1,16 @@
 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."
+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"
+SRCREV = "b4d51f6ed5bed09dd2b70324df0d9cb4ecad2638"
 
 SRC_URI = "git://github.com/ninja-build/ninja.git;branch=release;protocol=https"
 UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)"
Signature · 1 line
2.34.1
#1 lore raw

meta/recipes-devtools/ninja/ninja_1.13.0.bb line 15

Quoted 4 lines · Randy MacLeod via lists.openembedded.org
meta/recipes-devtools/ninja/ninja_1.13.0.bb renamed from meta/recipes-devtools/ninja/ninja_1.12.1.bb +1 -1
-SRCREV = "2daa09ba270b0a43e1929d29b073348aa985dfaa"
+SRCREV = "b4d51f6ed5bed09dd2b70324df0d9cb4ecad2638"
 
 SRC_URI = "git://github.com/ninja-build/ninja.git;branch=release;protocol=https"

tag=... should be added here at the same time.

Alex

#2 lore raw
Quoted 10 lines · Alexander Kanavin via lists.openembedded.org
Quoted 5 lines · Randy MacLeod via lists.openembedded.org
meta/recipes-devtools/ninja/ninja_1.13.0.bb renamed from meta/recipes-devtools/ninja/ninja_1.12.1.bb +1 -1
-SRCREV = "2daa09ba270b0a43e1929d29b073348aa985dfaa"
+SRCREV = "b4d51f6ed5bed09dd2b70324df0d9cb4ecad2638"

 SRC_URI = "git://github.com/ninja-
build/ninja.git;branch=release;protocol=https"

tag=... should be added here at the same time.

FWIW after the patch on the bitbake list, we could just go through and update the exiting urls too...

Cheers,

Richard

#3 lore raw
Quoted 11 lines · Richard Purdie
Quoted 9 lines · Alexander Kanavin via lists.openembedded.org
Quoted 5 lines · Randy MacLeod via lists.openembedded.org
meta/recipes-devtools/ninja/ninja_1.13.0.bb renamed from meta/recipes-devtools/ninja/ninja_1.12.1.bb +1 -1
-SRCREV = "2daa09ba270b0a43e1929d29b073348aa985dfaa"
+SRCREV = "b4d51f6ed5bed09dd2b70324df0d9cb4ecad2638"
 
  SRC_URI = "git://github.com/ninja-

build/ninja.git;branch=release;protocol=https"

tag=... should be added here at the same time.

Okay, v2 sent.

Quoted 2 lines

FWIW after the patch on the bitbake list, we could just go through and update the exiting urls too...

There are  ~161 such cases for oe-core:

❯ rg SRC_URI.*git.*branch  meta/ | rg -v tag | wc -l 161

and for meta-oe.git:
❯ rg SRC_URI.*git.*branch  meta-* | rg -v tag | wc -l 731

and for meta-virt:

❯ rg SRC_URI.*git.*branch   | rg -v tag | wc -l
812

It's not easily script-able since everyone has their own tag prefix/postfix style. Fun! There's probably a way to get the format of the tag with a bit of scripting...

I'll likely work on and send these changes for oe-core by recipe-foo sub-directory unless I get it fully automated.

../Randy

Quoted 4 lines

Cheers,

Richard

Signature · 2 lines
# Randy MacLeod
# Wind River Linux