public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Julian Sikorski <belegdol@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/mame] f43: Update to 0.289
Date: Fri, 31 Jul 2026 21:26:24 GMT	[thread overview]
Message-ID: <178553318494.1.7234558022369228631.rpms-mame-9954c70f5229@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/mame
Branch : f43
Commit : 9954c70f52297f4e1a925d8cc5c95508cf34dbe1
Author : Julian Sikorski <belegdol@fedoraproject.org>
Date   : 2026-07-31T23:26:20+02:00
Stats  : +5/-66 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/mame/c/9954c70f52297f4e1a925d8cc5c95508cf34dbe1?branch=f43

Log:
Update to 0.289

---
diff --git a/.gitignore b/.gitignore
index 4bcdc92..1d91dc5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -226,3 +226,5 @@
 /whatsnew_0287.txt
 /mame-mame0288.tar.gz
 /whatsnew_0288.txt
+/mame-mame0289.tar.gz
+/whatsnew_0289.txt

diff --git a/0001-genie-disable-command-line-string-escaping-fixes-131.patch b/0001-genie-disable-command-line-string-escaping-fixes-131.patch
deleted file mode 100644
index a14f34b..0000000
--- a/0001-genie-disable-command-line-string-escaping-fixes-131.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From b4acb19eb68c5a515c7a701dcb77ba6e53462674 Mon Sep 17 00:00:00 2001
-From: Patrick Mackinlay <pmackinlay@hotmail.com>
-Date: Thu, 2 Jan 2025 13:26:11 +0700
-Subject: [PATCH] genie: disable command line string escaping, fixes #13150
-
-(cherry picked from commit e745009c30879e63c628b9c2556a6b6e22c5af17)
----
- 3rdparty/genie/src/actions/make/_make.lua | 18 ++++--------------
- 3rdparty/genie/src/host/scripts.c         |  7 +++----
- 2 files changed, 7 insertions(+), 18 deletions(-)
-
-diff --git a/3rdparty/genie/src/actions/make/_make.lua b/3rdparty/genie/src/actions/make/_make.lua
-index 0f1a4b60519..598c31bab9c 100644
---- a/3rdparty/genie/src/actions/make/_make.lua
-+++ b/3rdparty/genie/src/actions/make/_make.lua
-@@ -36,21 +36,11 @@
- --
- -- Escape quoted string so it can be passed as define via command line.
- --
--
-+-- FIXME: this simplistic function doesn't work properly with embedded escapes
-+-- and quoted strings, nor with Windows Command Prompt quoting and escaping
-+-- rules. It causes build problems on both Windows and Linux and has been disabled.
- 	function _MAKE.escquote(value)
--		local result
--		if (type(value) == "table") then
--			result = { }
--			for _,v in ipairs(value) do
--				table.insert(result, _MAKE.escquote(v))
--			end
--			return result
--		else
--			-- handle simple replacements
--			result = value:gsub(" ", "\\ ")
--			result = result:gsub("\"", "\\\"")
--			return result
--		end
-+		return value
- 	end
- 
- 
-diff --git a/3rdparty/genie/src/host/scripts.c b/3rdparty/genie/src/host/scripts.c
-index 10f380bc60c..19e647554ce 100644
---- a/3rdparty/genie/src/host/scripts.c
-+++ b/3rdparty/genie/src/host/scripts.c
-@@ -238,10 +238,9 @@ const char* builtin_scripts[] = {
- 	"                end\n            end\n        end\n    end\n    _p('')\nend",
- 
- 	/* actions/make/_make.lua */
--	"_MAKE = { }\npremake.make = { }\nlocal make = premake.make\nfunction _MAKE.esc(value)\nlocal result\nif (type(value) == \"table\") then\nresult = { }\nfor _,v in ipairs(value) do\ntable.insert(result, _MAKE.esc(v))\nend\nreturn result\nelse\nresult = value:gsub(\"\\\\\", \"\\\\\\\\\")\nresult = result:gsub(\" \", \"\\\\ \")\nresult = result:gsub(\"%%(\", \"\\\\%(\")\nresult = result:gsub(\"%%)\", \"\\\\%)\")\nresult = result:gsub(\"$\\\\%((.-)\\\\%)\", \"$%(%1%)\")\nreturn result\nend\nend\nfunction _MAKE.escquote(value)\nlocal result\nif (type(value) == \"table\") then\nresult = { }\nfor _,v in ipairs(value) do\ntable.insert(result, _MAKE.escquote(v))\nend\nreturn result\nelse\nresult = value:gsub(\" \", \"\\\\ \")\nresult = result:gsub(\"\\\"\", \"\\\\\\\"\")\nreturn result\nend\nend\nfunction premake.make_copyrule(source, target)\n_p('%s: %s', target, source)\n_p('\\t@echo Copying $(notdir %s)', target)\n_p('\\t-$(call COPY,%s,%s)', source, target)\nend\nfunction premake.make_mkdirrule(var)\n_p('\\t@echo Cr"
--	"eating %s', var)\n_p('\\t-$(call MKDIR,%s)', var)\n_p('')\nend\nfunction make.list(value)\nif #value > 0 then\nreturn \" \" .. table.concat(value, \" \")\nelse\nreturn \"\"\nend\nend\nfunction _MAKE.getmakefilename(this, searchprjs)\nlocal count = 0\nfor sln in premake.solution.each() do\nif (sln.location == this.location) then count = count + 1 end\nif (searchprjs) then\nfor _,prj in ipairs(sln.projects) do\nif (prj.location == this.location) then count = count + 1 end\nend\nend\nend\nif (count == 1) then\nreturn \"Makefile\"\nelse\nreturn this.name .. \".make\"\nend\nend\nfunction _MAKE.getnames(tbl)\nlocal result = table.extract(tbl, \"name\")\nfor k,v in pairs(result) do\nresult[k] = _MAKE.esc(v)\nend\nreturn result\nend\nfunction make.settings(cfg, cc)\nif #cfg.makesettings > 0 then\nfor _, value in ipairs(cfg.makesettings) do\n_p(value)\nend\nend\nlocal toolsettings = cc.platforms[cfg.platform].cfgsettings\nif toolsettings then\n_p(toolsettings)\nend\nend\nnewaction {\ntrigger         = \"gmake\",\nshort"
--	"name       = \"GNU Make\",\ndescription     = \"Generate GNU makefiles for POSIX, MinGW, and Cygwin\",\nvalid_kinds     = { \"ConsoleApp\", \"WindowedApp\", \"StaticLib\", \"SharedLib\", \"Bundle\" },\nvalid_languages = { \"C\", \"C++\", \"C#\", \"Vala\", \"Swift\" },\nvalid_tools     = {\ncc     = { \"gcc\", \"ghs\" },\ndotnet = { \"mono\", \"msnet\", \"pnet\" },\nvalac  = { \"valac\" },\nswift  = { \"swift\" },\n},\nonsolution = function(sln)\npremake.generate(sln, _MAKE.getmakefilename(sln, false), premake.make_solution)\nend,\nonproject = function(prj)\nlocal makefile = _MAKE.getmakefilename(prj, true)\nif premake.isdotnetproject(prj) then\npremake.generate(prj, makefile, premake.make_csharp)\nelseif premake.iscppproject(prj) then\npremake.generate(prj, makefile, premake.make_cpp)\nelseif premake.isswiftproject(prj) then\npremake.generate(prj, makefile, premake.make_swift)\nelse\npremake.generate(prj, makefile, premake.make_vala)\nend\nend,\noncleansolution = function(sln)\npremake.clean.file(sln, _MAKE.ge"
--	"tmakefilename(sln, false))\nend,\noncleanproject = function(prj)\npremake.clean.file(prj, _MAKE.getmakefilename(prj, true))\nend,\ngmake = {}\n}\n",
-+	"_MAKE = { }\npremake.make = { }\nlocal make = premake.make\nfunction _MAKE.esc(value)\nlocal result\nif (type(value) == \"table\") then\nresult = { }\nfor _,v in ipairs(value) do\ntable.insert(result, _MAKE.esc(v))\nend\nreturn result\nelse\nresult = value:gsub(\"\\\\\", \"\\\\\\\\\")\nresult = result:gsub(\" \", \"\\\\ \")\nresult = result:gsub(\"%%(\", \"\\\\%(\")\nresult = result:gsub(\"%%)\", \"\\\\%)\")\nresult = result:gsub(\"$\\\\%((.-)\\\\%)\", \"$%(%1%)\")\nreturn result\nend\nend\nfunction _MAKE.escquote(value)\nreturn value\nend\nfunction premake.make_copyrule(source, target)\n_p('%s: %s', target, source)\n_p('\\t@echo Copying $(notdir %s)', target)\n_p('\\t-$(call COPY,%s,%s)', source, target)\nend\nfunction premake.make_mkdirrule(var)\n_p('\\t@echo Creating %s', var)\n_p('\\t-$(call MKDIR,%s)', var)\n_p('')\nend\nfunction make.list(value)\nif #value > 0 then\nreturn \" \" .. table.concat(value, \" \")\nelse\nreturn \"\"\nend\nend\nfunction _MAKE.getmakefilename(this, searchprjs)\nlocal count = 0\n"
-+	"for sln in premake.solution.each() do\nif (sln.location == this.location) then count = count + 1 end\nif (searchprjs) then\nfor _,prj in ipairs(sln.projects) do\nif (prj.location == this.location) then count = count + 1 end\nend\nend\nend\nif (count == 1) then\nreturn \"Makefile\"\nelse\nreturn this.name .. \".make\"\nend\nend\nfunction _MAKE.getnames(tbl)\nlocal result = table.extract(tbl, \"name\")\nfor k,v in pairs(result) do\nresult[k] = _MAKE.esc(v)\nend\nreturn result\nend\nfunction make.settings(cfg, cc)\nif #cfg.makesettings > 0 then\nfor _, value in ipairs(cfg.makesettings) do\n_p(value)\nend\nend\nlocal toolsettings = cc.platforms[cfg.platform].cfgsettings\nif toolsettings then\n_p(toolsettings)\nend\nend\nnewaction {\ntrigger         = \"gmake\",\nshortname       = \"GNU Make\",\ndescription     = \"Generate GNU makefiles for POSIX, MinGW, and Cygwin\",\nvalid_kinds     = { \"ConsoleApp\", \"WindowedApp\", \"StaticLib\", \"SharedLib\", \"Bundle\" },\nvalid_languages = { \"C\", \"C++\", \"C#\", \"Val"
-+	"a\", \"Swift\" },\nvalid_tools     = {\ncc     = { \"gcc\", \"ghs\" },\ndotnet = { \"mono\", \"msnet\", \"pnet\" },\nvalac  = { \"valac\" },\nswift  = { \"swift\" },\n},\nonsolution = function(sln)\npremake.generate(sln, _MAKE.getmakefilename(sln, false), premake.make_solution)\nend,\nonproject = function(prj)\nlocal makefile = _MAKE.getmakefilename(prj, true)\nif premake.isdotnetproject(prj) then\npremake.generate(prj, makefile, premake.make_csharp)\nelseif premake.iscppproject(prj) then\npremake.generate(prj, makefile, premake.make_cpp)\nelseif premake.isswiftproject(prj) then\npremake.generate(prj, makefile, premake.make_swift)\nelse\npremake.generate(prj, makefile, premake.make_vala)\nend\nend,\noncleansolution = function(sln)\npremake.clean.file(sln, _MAKE.getmakefilename(sln, false))\nend,\noncleanproject = function(prj)\npremake.clean.file(prj, _MAKE.getmakefilename(prj, true))\nend,\ngmake = {}\n}\n",
- 
- 	/* actions/make/make_solution.lua */
- 	"function premake.make_solution(sln)\nlocal cc = premake[_OPTIONS.cc]\nlocal platforms = premake.filterplatforms(sln, cc.platforms, \"Native\")\n_p('# %s solution makefile autogenerated by GENie', premake.action.current().shortname)\n_p('# https://github.com/bkaradzic/GENie')\n_p('# Type \"make help\" for usage help')\n_p('')\n_p('ifndef config')\n_p('  config=%s', _MAKE.esc(premake.getconfigname(sln.configurations[1], platforms[1], true)))\n_p('endif')\n_p('export config')\n_p('')\nlocal projects = table.extract(sln.projects, \"name\")\ntable.sort(projects)\n_p('PROJECTS := %s', table.concat(_MAKE.esc(projects), \" \"))\n_p('')\n_p('.PHONY: all clean help $(PROJECTS)')\n_p('')\n_p('all: $(PROJECTS)')\n_p('')\nfor _, prj in ipairs(sln.projects) do\n_p('%s: %s', _MAKE.esc(prj.name), table.concat(_MAKE.esc(table.extract(premake.getdependencies(prj), \"name\")), \" \"))\nif (not sln.messageskip) or (not table.contains(sln.messageskip, \"SkipBuildingMessage\")) then\n_p('\\t@echo \"==== Building %s ($(config)) ===="
--- 
-2.54.0
-

diff --git a/mame.spec b/mame.spec
index f8ef77c..979cbdd 100644
--- a/mame.spec
+++ b/mame.spec
@@ -1,7 +1,7 @@
 #The debug build is disabled by default, please use # --with debug to override
 %bcond_with debug
 
-%global baseversion 288
+%global baseversion 289
 
 %undefine _auto_set_build_flags
 
@@ -22,7 +22,6 @@ Source0:        https://github.com/mamedev/%{name}/archive/%{name}0%{baseversion
 Source1:        https://mamedev.org/releases/whatsnew_0%{baseversion}.txt
 Patch0:         0001-Ensure-_FORTIFY_SOURCE-define-stays-enabled.patch
 Patch1:         0001-Hack-allowing-bgfx-to-initialise-in-absence-of-dx9-s.patch
-Patch2:         0001-genie-disable-command-line-string-escaping-fixes-131.patch
 
 # %%{arm}:
 # https://bugzilla.redhat.com/show_bug.cgi?id=1627625

diff --git a/sources b/sources
index c834ded..62f83b5 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (mame-mame0288.tar.gz) = 1241c413eaf7cb1c7336bedfafb8a4b269214e32dba00e9bdf5dc61bb47be3b966f3c656d8efe6b99c2d2ef81e4ae94965d2b59c5d75da1b0d97f36342baec2f
-SHA512 (whatsnew_0288.txt) = 5e701a66440662e60dcf7d6bd6753eb090c9dbf26e0f5aaf01b12649e4da07f618b31e7f302941ca0c6386df5498100541f9e88cc4c59d3ac8897749fc3a3e39
+SHA512 (mame-mame0289.tar.gz) = d113b8a9b00bd00744e254f57d6d255ea085e46e6067ca83520556cc1b691f9be0ed5a2cbe91915c7167e49b0319127cfc626edcc9290b1d0aca54225f6e5a4e
+SHA512 (whatsnew_0289.txt) = 0475856f8293233046cdb7b4b8959b5b71e24576ba3a2689aec556cc56bcfce53a36a6bd3703ce32d2e3b41ee90167cacbe0965728bc7889f261a0291b8c7ac0

                 reply	other threads:[~2026-07-31 21:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178553318494.1.7234558022369228631.rpms-mame-9954c70f5229@fedoraproject.org \
    --to=belegdol@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox