Hello community, here is the log from the commit of package gn for openSUSE:Factory checked in at 2020-04-07 10:23:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gn (Old) and /work/SRC/openSUSE:Factory/.gn.new.3248 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gn" Tue Apr 7 10:23:45 2020 rev:8 rq:790859 version:0.1726 Changes: -------- --- /work/SRC/openSUSE:Factory/gn/gn.changes 2019-10-23 15:54:27.294928387 +0200 +++ /work/SRC/openSUSE:Factory/.gn.new.3248/gn.changes 2020-04-07 10:23:53.518000625 +0200 @@ -1,0 +2,9 @@ +Thu Apr 2 11:11:45 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 0.1726: + * no upstream changelog +- Rebase patches: + * gn-always-python3.patch + * gn-flags.patch + +------------------------------------------------------------------- Old: ---- gn-0.1616.tar.gz New: ---- gn-0.1726.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gn.spec ++++++ --- /var/tmp/diff_new_pack.HeCyL0/_old 2020-04-07 10:23:54.822002075 +0200 +++ /var/tmp/diff_new_pack.HeCyL0/_new 2020-04-07 10:23:54.826002079 +0200 @@ -1,7 +1,7 @@ # # spec file for package gn # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,12 +17,12 @@ Name: gn -Version: 0.1616 +Version: 0.1726 Release: 0 Summary: A meta-build system that generates build files for Ninja License: BSD-3-Clause URL: https://gn.googlesource.com/ -Source: https://dev.gentoo.org/~floppym/dist/%{name}-%{version}.tar.gz +Source: https://dev.gentoo.org/~floppym/dist/%{name}-%{version}.tar.xz Patch0: gn-flags.patch Patch1: gn-always-python3.patch BuildRequires: gcc-c++ @@ -50,10 +50,15 @@ %endif export CXXFLAGS="%{optflags}" # bootstrap -python3 build/gen.py --no-last-commit-position +python3 build/gen.py \ + --no-strip \ + --no-last-commit-position \ + --no-static-libstdc++ +PV=%{version} cat >out/last_commit_position.h <<-EOF #ifndef OUT_LAST_COMMIT_POSITION_H_ #define OUT_LAST_COMMIT_POSITION_H_ + #define LAST_COMMIT_POSITION_NUM ${PV##0.} #define LAST_COMMIT_POSITION "${PV}" #endif // OUT_LAST_COMMIT_POSITION_H_ EOF ++++++ gn-always-python3.patch ++++++ --- /var/tmp/diff_new_pack.HeCyL0/_old 2020-04-07 10:23:54.846002102 +0200 +++ /var/tmp/diff_new_pack.HeCyL0/_new 2020-04-07 10:23:54.846002102 +0200 @@ -1,7 +1,7 @@ -Index: gn-0.1616/tools/gn/exec_process_unittest.cc +Index: gn-0.1616/src/gn/exec_process_unittest.cc =================================================================== ---- gn-0.1616.orig/tools/gn/exec_process_unittest.cc -+++ gn-0.1616/tools/gn/exec_process_unittest.cc +--- gn-0.1616.orig/src/gn/exec_process_unittest.cc ++++ gn-0.1616/src/gn/exec_process_unittest.cc @@ -33,7 +33,7 @@ bool ExecPython(const std::string& comma args.push_back(L"-c"); args.push_back(base::UTF8ToUTF16(command)); ++++++ gn-flags.patch ++++++ --- /var/tmp/diff_new_pack.HeCyL0/_old 2020-04-07 10:23:54.854002111 +0200 +++ /var/tmp/diff_new_pack.HeCyL0/_new 2020-04-07 10:23:54.854002111 +0200 @@ -7,11 +7,11 @@ build/gen.py | 9 --------- 1 file changed, 9 deletions(-) -diff --git a/build/gen.py b/build/gen.py -index a7142fab..06d5e2b3 100755 ---- a/build/gen.py -+++ b/build/gen.py -@@ -278,11 +278,6 @@ def WriteGNNinja(path, platform, host, options): +Index: gn-0.1726/build/gen.py +=================================================================== +--- gn-0.1726.orig/build/gen.py ++++ gn-0.1726/build/gen.py +@@ -288,11 +288,6 @@ def WriteGNNinja(path, platform, host, o if options.debug: cflags.extend(['-O0', '-g']) else: @@ -23,7 +23,7 @@ # Use -fdata-sections and -ffunction-sections to place each function # or data item into its own section so --gc-sections can eliminate any # unused functions and data items. -@@ -311,7 +306,6 @@ def WriteGNNinja(path, platform, host, options): +@@ -325,7 +320,6 @@ def WriteGNNinja(path, platform, host, o '-D_FILE_OFFSET_BITS=64', '-D__STDC_CONSTANT_MACROS', '-D__STDC_FORMAT_MACROS', '-pthread', @@ -31,18 +31,13 @@ '-fno-exceptions', '-fno-rtti', '-fdiagnostics-color', -@@ -320,11 +314,8 @@ def WriteGNNinja(path, platform, host, options): +@@ -341,9 +335,6 @@ def WriteGNNinja(path, platform, host, o + if not options.no_static_libstdcpp: + ldflags.append('-static-libstdc++') - if platform.is_linux(): - ldflags.extend([ -- '-static-libstdc++', - '-Wl,--as-needed', - ]) - # This is needed by libc++. -- libs.append('-ldl') +- if not platform.is_mingw(): +- libs.append('-ldl') elif platform.is_darwin(): min_mac_version_flag = '-mmacosx-version-min=10.9' cflags.append(min_mac_version_flag) --- -2.21.0 -