diff mbox series

ninja: upgrade 1.12.1 -> 1.13.0

Message ID 20250626002130.791664-1-Randy.MacLeod@windriver.com
State Accepted, archived
Commit 79f1b70dacfcd841aa8252fba77df5f6b11e3c96
Headers show
Series ninja: upgrade 1.12.1 -> 1.13.0 | expand

Commit Message

Randy MacLeod June 26, 2025, 12:21 a.m. UTC
From: Randy MacLeod <Randy.MacLeod@windriver.com>

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.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
---
 .../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%)

Comments

Alexander Kanavin June 26, 2025, 5:13 a.m. UTC | #1
On Thu, 26 Jun 2025 at 02:21, Randy MacLeod via lists.openembedded.org
<randy.macleod=windriver.com@lists.openembedded.org> wrote:
> -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
Richard Purdie June 26, 2025, 7:11 a.m. UTC | #2
On Thu, 2025-06-26 at 07:13 +0200, Alexander Kanavin via
lists.openembedded.org wrote:
> On Thu, 26 Jun 2025 at 02:21, Randy MacLeod via
> lists.openembedded.org
> <randy.macleod=windriver.com@lists.openembedded.org> wrote:
> > -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
Randy MacLeod June 26, 2025, 9:35 p.m. UTC | #3
On 2025-06-26 3:11 a.m., Richard Purdie wrote:
> On Thu, 2025-06-26 at 07:13 +0200, Alexander Kanavin via
> lists.openembedded.org wrote:
>> On Thu, 26 Jun 2025 at 02:21, Randy MacLeod via
>> lists.openembedded.org
>> <randy.macleod=windriver.com@lists.openembedded.org> wrote:
>>> -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.
> 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




>
> Cheers,
>
> Richard
diff mbox series

Patch

diff --git a/meta/recipes-devtools/ninja/ninja_1.12.1.bb b/meta/recipes-devtools/ninja/ninja_1.13.0.bb
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
--- a/meta/recipes-devtools/ninja/ninja_1.12.1.bb
+++ b/meta/recipes-devtools/ninja/ninja_1.13.0.bb
@@ -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>.*)"