Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mame for openSUSE:Factory checked in 
at 2023-10-23 23:41:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mame (Old)
 and      /work/SRC/openSUSE:Factory/.mame.new.1945 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mame"

Mon Oct 23 23:41:16 2023 rev:9 rq:1119693 version:0.259

Changes:
--------
--- /work/SRC/openSUSE:Factory/mame/mame.changes        2023-08-31 
13:51:30.396637228 +0200
+++ /work/SRC/openSUSE:Factory/.mame.new.1945/mame.changes      2023-10-23 
23:41:26.248558319 +0200
@@ -1,0 +2,11 @@
+Mon Oct 23 07:14:16 UTC 2023 - Bernhard Wiedemann <bwiedem...@suse.com>
+
+- Updated to 0.259
+  * /usr/share/doc/packages/mame/whatsnew-0.259.txt
+
+-------------------------------------------------------------------
+Sun Oct 22 15:25:45 UTC 2023 - Bernhard Wiedemann <bwiedem...@suse.com>
+
+- Added file reproducible.patch for deterministic output order.
+
+-------------------------------------------------------------------

Old:
----
  mame-mame0258.tar.gz
  whatsnew_0258.txt

New:
----
  mame-mame0259.tar.gz
  reproducible.patch
  whatsnew_0259.txt

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mame.spec ++++++
--- /var/tmp/diff_new_pack.CGZ3nH/_old  2023-10-23 23:41:28.868653431 +0200
+++ /var/tmp/diff_new_pack.CGZ3nH/_new  2023-10-23 23:41:28.868653431 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%define ver     258
+%define ver     259
 Name:           mame
 Version:        0.%{ver}
 Release:        0
@@ -36,6 +36,7 @@
 Patch2:         fix_lua_misspelling.patch
 Patch3:         %{name}-fortify.patch
 Patch4:         %{name}-bgfx.patch
+Patch5:         reproducible.patch
 BuildRequires:  asio-devel
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme

++++++ mame-mame0258.tar.gz -> mame-mame0259.tar.gz ++++++
/work/SRC/openSUSE:Factory/mame/mame-mame0258.tar.gz 
/work/SRC/openSUSE:Factory/.mame.new.1945/mame-mame0259.tar.gz differ: char 15, 
line 1


++++++ reproducible.patch ++++++
https://github.com/mamedev/mame/pull/11651

Author: Bernhard M. Wiedemann <bernhard+gitcommit lsmod.de>
Date:   Sun Oct 22 20:23:29 2023 +0200

Make generation of has_*.h files deterministic

Without this patch, order of entries in 
generated/has_{buses,cpus,formats,machines,sounds,videos}.h varied across 
builds.

This patch was done while working on reproducible builds for openSUSE.


Index: mame-mame0258/scripts/genie.lua
===================================================================
--- mame-mame0258.orig/scripts/genie.lua
+++ mame-mame0258/scripts/genie.lua
@@ -1530,7 +1530,7 @@ function generate_has_header(hashname, h
    file:write(string.format("#ifndef GENERATED_HAS_%s_H\n", hashname))
    file:write(string.format("#define GENERATED_HAS_%s_H\n", hashname))
    file:write("\n")
-   for k, v in pairs(hash) do
+   for k, v in ipairs(hash) do
          if v then
                 file:write(string.format("#define HAS_%s_%s\n", hashname, k))
          end
Index: mame-mame0258/scripts/build/makedep.py
===================================================================
--- mame-mame0258.orig/scripts/build/makedep.py
+++ mame-mame0258/scripts/build/makedep.py
@@ -432,7 +432,7 @@ class DriverFilter:
             elif text:
                 if (len(text) >= 2) and ((text[0] == '"') or (text[0] == "'")) 
and (text[0] == text[-1]):
                     text = text[1:-1]
-                paths = glob.glob(os.path.join(basepath, *text.split('/')))
+                paths = sorted(glob.glob(os.path.join(basepath, 
*text.split('/'))))
                 if not paths:
                     sys.stderr.write('%s:%s: Pattern "%s" did not match any 
source files\n' % (path, parser.input_line, text))
                     sys.exit(1)
@@ -1003,6 +1003,8 @@ def collect_sources(root, sources):
         fullpath = os.path.join(root, source)
         if os.path.isdir(fullpath):
             for subdir, dirs, files in os.walk(fullpath):
+                dirs.sort()
+                files.sort()
                 for candidate in files:
                     if os.path.splitext(candidate)[1] == '.cpp':
                         if subdir != fullpath:

++++++ whatsnew_0258.txt -> whatsnew_0259.txt ++++++
++++ 2802 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/mame/whatsnew_0258.txt
++++ and /work/SRC/openSUSE:Factory/.mame.new.1945/whatsnew_0259.txt

Reply via email to