public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gn] rawhide: Update to version 2517
@ 2026-08-17  7:24 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-17  7:24 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gn
Branch : rawhide
Commit : 91fba1e8e42ba0f8bb47c79347cbc23f2c9a7c41
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-08-17T08:20:50+01:00
Stats  : +57/-16 in 7 file(s)
URL    : https://src.fedoraproject.org/rpms/gn/c/91fba1e8e42ba0f8bb47c79347cbc23f2c9a7c41?branch=rawhide

Log:
Update to version 2517

---
diff --git a/.gitignore b/.gitignore
index 957a0be..58871f9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -135,3 +135,4 @@ vs-chromium-project.txt
 /gn-8d35b83847d1.tar.gz
 /gn-3fd3b0624d8c.tar.gz
 /gn-64cfb8344ec3.tar.gz
+/gn-e8a8e0932a5e.tar.gz

diff --git a/0001-Downstream-only-do-not-override-optimization-flags.patch b/0001-Downstream-only-do-not-override-optimization-flags.patch
index 2b97a74..322b6d0 100644
--- a/0001-Downstream-only-do-not-override-optimization-flags.patch
+++ b/0001-Downstream-only-do-not-override-optimization-flags.patch
@@ -1,7 +1,7 @@
-From 8969bb39cc827bd36a9fd5b5742eb645fb2c4bf6 Mon Sep 17 00:00:00 2001
+From 81c20b70dfb7b56b170b34fe2521ad2ed1947d9e Mon Sep 17 00:00:00 2001
 From: "Benjamin A. Beasley" <code@musicinmybrain.net>
 Date: Thu, 30 May 2024 08:49:32 -0400
-Subject: [PATCH 1/2] Downstream-only: do not override optimization flags
+Subject: [PATCH 1/3] Downstream-only: do not override optimization flags
 
 Stop overriding optimization flags; not sent upstream because this is
 intentional on their part.
@@ -12,10 +12,10 @@ https://docs.fedoraproject.org/en-US/packaging-guidelines/#_compiler_flags
  1 file changed, 2 deletions(-)
 
 diff --git a/build/gen.py b/build/gen.py
-index 6f3652ee..2cb433bc 100755
+index 5cb10156..14271053 100755
 --- a/build/gen.py
 +++ b/build/gen.py
-@@ -432,10 +432,8 @@ def WriteGNNinja(path, platform, host, options, args_list):
+@@ -521,10 +521,8 @@ def WriteGNNinja(path, platform, host, options, args_list):
          cflags.extend(['-D_LIBCPP_DEBUG=1', '-D_GLIBCXX_DEBUG=1'])
      else:
        cflags.append('-DNDEBUG')
@@ -27,5 +27,5 @@ index 6f3652ee..2cb433bc 100755
        # or data item into its own section so --gc-sections can eliminate any
        # unused functions and data items.
 -- 
-2.44.0
+2.55.0
 

diff --git a/0002-Downstream-only-do-not-build-with-Wno-format.patch b/0002-Downstream-only-do-not-build-with-Wno-format.patch
index b93237e..72b3001 100644
--- a/0002-Downstream-only-do-not-build-with-Wno-format.patch
+++ b/0002-Downstream-only-do-not-build-with-Wno-format.patch
@@ -1,7 +1,7 @@
-From 8bbbd89be97178be941bd11071c009145d3caf4b Mon Sep 17 00:00:00 2001
+From ab2e5c61e531b2282345c8d1dc346947438d1d69 Mon Sep 17 00:00:00 2001
 From: "Benjamin A. Beasley" <code@musicinmybrain.net>
 Date: Thu, 30 May 2024 08:56:58 -0400
-Subject: [PATCH 2/2] Downstream-only: do not build with -Wno-format
+Subject: [PATCH 2/3] Downstream-only: do not build with -Wno-format
 
 This conflicts with -Werror=format-security.
 ---
@@ -9,10 +9,10 @@ This conflicts with -Werror=format-security.
  1 file changed, 1 deletion(-)
 
 diff --git a/build/gen.py b/build/gen.py
-index 2cb433bc..155c579f 100755
+index 14271053..cdae2626 100755
 --- a/build/gen.py
 +++ b/build/gen.py
-@@ -513,7 +513,6 @@ def WriteGNNinja(path, platform, host, options, args_list):
+@@ -606,7 +606,6 @@ def WriteGNNinja(path, platform, host, options, args_list):
          '-Wno-implicit-fallthrough',
          '-Wno-redundant-move',
          '-Wno-unused-variable',
@@ -21,5 +21,5 @@ index 2cb433bc..155c579f 100755
          '-Wno-cast-function-type', # Casting FARPROC to RegDeleteKeyExPtr
        ])
 -- 
-2.44.0
+2.55.0
 

diff --git a/0003-Downstream-only-omit-check_formatter-test.patch b/0003-Downstream-only-omit-check_formatter-test.patch
new file mode 100644
index 0000000..b2e7917
--- /dev/null
+++ b/0003-Downstream-only-omit-check_formatter-test.patch
@@ -0,0 +1,35 @@
+From e6ad5a4f7acaefb5ecabd298b0447044d9009417 Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Mon, 17 Aug 2026 08:18:32 +0100
+Subject: [PATCH 3/3] =?UTF-8?q?Downstream-only:=20omit=20=E2=80=9Ccheck=5F?=
+ =?UTF-8?q?formatter=E2=80=9D=20test?=
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This is only suitable for upstream CI; our version of clang-format may
+not produce identical results.
+---
+ build/gen.py | 6 ------
+ 1 file changed, 6 deletions(-)
+
+diff --git a/build/gen.py b/build/gen.py
+index cdae2626..086b2940 100755
+--- a/build/gen.py
++++ b/build/gen.py
+@@ -440,12 +440,6 @@ def WriteGenericNinja(path, static_libraries, executables,
+   ninja.Phony(
+       'check_all',
+       inputs=[
+-          ninja.RunBinary(
+-              'check_formatter',
+-              inputs=[ninja.source_file('tools/run_formatter.sh')],
+-              implicit_inputs=ninja.directory(ninja.source_file('src'), ['target']),
+-              args='--diff',
+-          ),
+           ninja.RunBinary(
+               'check_reference',
+               inputs=[ninja.source_file('tools/update_reference.sh')],
+-- 
+2.55.0
+

diff --git a/gn.spec b/gn.spec
index dd2270c..48bed72 100644
--- a/gn.spec
+++ b/gn.spec
@@ -26,10 +26,10 @@ Name:           gn
 #  7. Commit the changes
 #
 # See https://gn.googlesource.com/gn/+log for the latest changes.
-%global commit 64cfb8344ec3e8585a89a3836716a026e2771fcb
-%global access 20260808
+%global commit e8a8e0932a5e42a99e5896aa58e3b8290f4e5b8c
+%global access 20260817
 %global shortcommit %{sub %{commit} 1 12}
-%global position 2509
+%global position 2517
 Version:        %{position}^%{access}.%{shortcommit}
 Release:        %autorelease
 Summary:        Meta-build system that generates build files for Ninja
@@ -88,6 +88,11 @@ Patch:          0001-Downstream-only-do-not-override-optimization-flags.patch
 #
 # This conflicts with -Werror=format-security.
 Patch:          0002-Downstream-only-do-not-build-with-Wno-format.patch
+# Downstream-only: omit “check_formatter” test
+#
+# This is only suitable for upstream CI; our version of clang-format may not
+# produce identical results.
+Patch:          0003-Downstream-only-omit-check_formatter-test.patch
 
 # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
 ExcludeArch:    %{ix86}

diff --git a/last_commit_position.h b/last_commit_position.h
index e0754ef..8eeab1f 100644
--- a/last_commit_position.h
+++ b/last_commit_position.h
@@ -3,7 +3,7 @@
 #ifndef OUT_LAST_COMMIT_POSITION_H_
 #define OUT_LAST_COMMIT_POSITION_H_
 
-#define LAST_COMMIT_POSITION_NUM 2509
-#define LAST_COMMIT_POSITION "2509 (64cfb8344ec3)"
+#define LAST_COMMIT_POSITION_NUM 2517
+#define LAST_COMMIT_POSITION "2517 (e8a8e0932a5e)"
 
 #endif  // OUT_LAST_COMMIT_POSITION_H_

diff --git a/sources b/sources
index 10dc9dc..4e8094b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gn-64cfb8344ec3.tar.gz) = aa8762a567365d05006350a3932675a50915d291afd5d1c0f4964ae7aa78e0806daf2736e6781a0d066c22e7874a77ab36dc5e93ace035756aeb8f617acb8e25
+SHA512 (gn-e8a8e0932a5e.tar.gz) = ea74f03efccae586521527e8c07b1408981ca2e72c08f760b67c9950cb9241308b4b6174392cab8cdd0f690763d3dcfa77b453a841ae40c7ced331bde484caae

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-17  7:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-17  7:24 [rpms/gn] rawhide: Update to version 2517 Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox