[arch-commits] Commit in electron/trunk (2 files)

Nicola Squartini tensor5 at archlinux.org
Mon Feb 19 14:52:47 UTC 2018


    Date: Monday, February 19, 2018 @ 14:52:45
  Author: tensor5
Revision: 296385

electron: sort filenames for deterministic build

Modified:
  electron/trunk/PKGBUILD
  electron/trunk/libchromiumcontent-sort-filenames.patch

-----------------------------------------+
 PKGBUILD                                |    2 +-
 libchromiumcontent-sort-filenames.patch |   14 +++++++++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-19 14:23:38 UTC (rev 296384)
+++ PKGBUILD	2018-02-19 14:52:45 UTC (rev 296385)
@@ -87,7 +87,7 @@
             'c8d0711818d790a4db06163b6f22badbad405aa719f7ffe0f2574f2a49074085949902cd060ff47609fc930cc88d60a25a9ca2cc569702fab4ab4a8a57611a4b'
             '607681ea5a5d62201f37e72b039a370c8b260a4eff14697713124b91383315fdde14ebb028e13ca06da26259f322680f2749fc67b99f1bc6196fa3c1c63f5d65'
             '93a85e826f019b0d3af7d8e9276404d2cbaabd9674c6a36a31518e893ac2759cadd410c9c27af1186ad90fe6bd888546df9567987a04375993c6f776bd508b32'
-            '2a8a7d781a65d9188af0a10665f499aa4cb1c151c626ef8173a9e4e53159173d3943c2fdc806f88730171b285cccd4efe232ca9d32870a10f7cbe485ede0bcf9'
+            '54ded98c95de5c6f6bdc3352b4f34f8b6ea0f527355ccff12b8f88a8dfb8b308301a95d5f4c4f1cdd7333a5c3372045e63e63e524329913d3e339d757721ef01'
             'dd7f6fc0023e867835fe7cabd4b54750ebec0ea91102ca11d73a9c3e7caa92f2c8118795d2f67b3269381a3366b3ff9cf692924bcbb379a5ed7ce36b86b4d8b6'
             '6bc66e6d3df8ef3d616a01fa5ac9270eeed1f705cbb3557dc3d670f9cbd50cf47d4773a334e11494cbb78f850ce2c3f364d8889e7bcfcadec299b354a37cfd6a'
             '8ae7a0c049429191a5092b73ba7e6681ac17b0fe4ac77715e67c9e7c1db63e66731912fb144955108ee1d37848d3bb03d1f5defec2b7b2324784dec1eda898ef'

Modified: libchromiumcontent-sort-filenames.patch
===================================================================
--- libchromiumcontent-sort-filenames.patch	2018-02-19 14:23:38 UTC (rev 296384)
+++ libchromiumcontent-sort-filenames.patch	2018-02-19 14:52:45 UTC (rev 296385)
@@ -1,6 +1,18 @@
+--- a/chromiumcontent/build_libs.py
++++ b/chromiumcontent/build_libs.py
+@@ -13,7 +13,8 @@ def gen_list(out, name, obj_dirs):
+     out.write(name + " = [\n")
+     for base_dir in obj_dirs:
+         for dir, subdirs, files in os.walk(os.path.join('obj', base_dir)):
+-            for f in files:
++            subdirs.sort()
++            for f in sorted(files):
+                 if f.endswith('.obj') or f.endswith('.o'):
+                     out.write('"' + os.path.abspath(os.path.join(dir, f)) + '",\n')
+     out.write("]\n")
 --- a/tools/generate_filenames_gypi.py
 +++ b/tools/generate_filenames_gypi.py
-@@ -98,7 +98,7 @@
+@@ -98,7 +98,7 @@ def main(target_file, code_dir, shared_dir, static_dir):
  
  
  def searh_files(src, suffix, exclude):



More information about the arch-commits mailing list