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 |
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
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
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 --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>.*)"