The package rpms/mame.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/mame.git/commit/?id=eb04af99b288f498....
Change: -ExcludeArch: %{power64}
Thanks.
Full change: ============
commit eb04af99b288f498f29d393d42cd1b7bad24c6e2 Author: Julian Sikorski belegdol@fedoraproject.org Date: Thu Apr 27 20:08:11 2023 +0200
Update to 0.254
- update to 0.254 - drop included patches - drop obsolete disstag conditional
diff --git a/.gitignore b/.gitignore index a3509fc..b1d264a 100644 --- a/.gitignore +++ b/.gitignore @@ -156,3 +156,5 @@ /whatsnew_0252.txt /mame-mame0253.tar.gz /whatsnew_0253.txt +/mame-mame0254.tar.gz +/whatsnew_0254.txt diff --git a/mame.spec b/mame.spec index c87b10a..7a56347 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 253 +%global baseversion 254
%undefine _auto_set_build_flags
@@ -22,7 +22,6 @@ Source0: https://github.com/mamedev/%%7Bname%7D/archive/%%7Bname%7D0%%7Bbaseversion Source1: https://mamedev.org/releases/whatsnew_0%%7Bbaseversion%7D.txt Patch0: %{name}-fortify.patch Patch1: 0001-Hack-allowing-bgfx-to-initialise-in-absence-of-dx9-s.patch -Patch2: ppc64le-validation-failure-fix.patch Patch3: 0001-If-combination-of-wayland-videodriver-and-bgfx-video.patch
# %%{arm}: @@ -30,12 +29,6 @@ Patch3: 0001-If-combination-of-wayland-videodriver-and-bgfx-video.patch # %%{ix86} # https://bugzilla.redhat.com/show_bug.cgi?id=1884122 ExcludeArch: %{arm} %{ix86} -# %%{power64}: -# https://github.com/mamedev/mame/issues/3157 -# https://bugzilla.redhat.com/show_bug.cgi?id=1541613 -%if 0%{?fedora} <= 35 -ExcludeArch: %{power64} -%endif
%if 0%{?fedora} >= 37 BuildRequires: asio-devel diff --git a/ppc64le-validation-failure-fix.patch b/ppc64le-validation-failure-fix.patch deleted file mode 100644 index 5e93d0b..0000000 --- a/ppc64le-validation-failure-fix.patch +++ /dev/null @@ -1,363 +0,0 @@ -diff --git a/src/emu/video/rgbvmx.cpp b/src/emu/video/rgbvmx.cpp -index 608f7024565..62bd25b3578 100644 ---- a/src/emu/video/rgbvmx.cpp -+++ b/src/emu/video/rgbvmx.cpp -@@ -190,7 +190,7 @@ void rgbaint_t::scale_and_clamp(const rgbaint_t& scale) - clamp_to_uint8(); - } - --void rgbaint_t::scale_imm_and_clamp(const s32 scale) -+void rgbaint_t::scale_imm_and_clamp(s32 scale) - { - mul_imm(scale); - sra_imm(8); -diff --git a/src/emu/video/rgbvmx.h b/src/emu/video/rgbvmx.h -index 05d26cd9e21..dd1946bfa28 100644 ---- a/src/emu/video/rgbvmx.h -+++ b/src/emu/video/rgbvmx.h -@@ -76,7 +76,7 @@ public: - } - - // This function sets all elements to the same val -- void set_all(const s32& val) { set(val, val, val, val); } -+ void set_all(const s32 &val) { set(val, val, val, val); } - // This function zeros all elements - void zero() { set_all(0); } - // This function zeros only the alpha element -@@ -100,31 +100,31 @@ public: - return result; - } - -- void set_a16(const s32 value) -+ void set_a16(s32 value) - { - const VECS32 temp = { value, value, value, value }; - m_value = vec_perm(m_value, temp, alpha_perm); - } - -- void set_a(const s32 value) -+ void set_a(s32 value) - { - const VECS32 temp = { value, value, value, value }; - m_value = vec_perm(m_value, temp, alpha_perm); - } - -- void set_r(const s32 value) -+ void set_r(s32 value) - { - const VECS32 temp = { value, value, value, value }; - m_value = vec_perm(m_value, temp, red_perm); - } - -- void set_g(const s32 value) -+ void set_g(s32 value) - { - const VECS32 temp = { value, value, value, value }; - m_value = vec_perm(m_value, temp, green_perm); - } - -- void set_b(const s32 value) -+ void set_b(s32 value) - { - const VECS32 temp = { value, value, value, value }; - m_value = vec_perm(m_value, temp, blue_perm); -@@ -229,13 +229,13 @@ public: - m_value = vec_add(m_value, color2.m_value); - } - -- inline void add_imm(const s32 imm) -+ inline void add_imm(s32 imm) - { - const VECS32 temp = { imm, imm, imm, imm }; - m_value = vec_add(m_value, temp); - } - -- inline void add_imm_rgba(const s32 a, const s32 r, const s32 g, const s32 b) -+ inline void add_imm_rgba(s32 a, s32 r, s32 g, s32 b) - { - #ifdef __LITTLE_ENDIAN__ - const VECS32 temp = { b, g, r, a }; -@@ -250,13 +250,13 @@ public: - m_value = vec_sub(m_value, color2.m_value); - } - -- inline void sub_imm(const s32 imm) -+ inline void sub_imm(s32 imm) - { - const VECS32 temp = { imm, imm, imm, imm }; - m_value = vec_sub(m_value, temp); - } - -- inline void sub_imm_rgba(const s32 a, const s32 r, const s32 g, const s32 b) -+ inline void sub_imm_rgba(s32 a, s32 r, s32 g, s32 b) - { - #ifdef __LITTLE_ENDIAN__ - const VECS32 temp = { b, g, r, a }; -@@ -271,13 +271,13 @@ public: - m_value = vec_sub(color2.m_value, m_value); - } - -- inline void subr_imm(const s32 imm) -+ inline void subr_imm(s32 imm) - { - const VECS32 temp = { imm, imm, imm, imm }; - m_value = vec_sub(temp, m_value); - } - -- inline void subr_imm_rgba(const s32 a, const s32 r, const s32 g, const s32 b) -+ inline void subr_imm_rgba(s32 a, s32 r, s32 g, s32 b) - { - #ifdef __LITTLE_ENDIAN__ - const VECS32 temp = { b, g, r, a }; -@@ -298,7 +298,7 @@ public: - #endif - } - -- inline void mul_imm(const s32 imm) -+ inline void mul_imm(s32 imm) - { - const VECU32 value = { u32(imm), u32(imm), u32(imm), u32(imm) }; - const VECU32 shift = vec_splat_u32(-16); -@@ -310,7 +310,7 @@ public: - #endif - } - -- inline void mul_imm_rgba(const s32 a, const s32 r, const s32 g, const s32 b) -+ inline void mul_imm_rgba(s32 a, s32 r, s32 g, s32 b) - { - #ifdef __LITTLE_ENDIAN__ - const VECU32 value = { u32(b), u32(g), u32(r), u32(a) }; -@@ -332,10 +332,17 @@ public: - m_value = vec_and(vec_sl(m_value, VECU32(shift.m_value)), vec_cmpgt(limit, VECU32(shift.m_value))); - } - -- inline void shl_imm(const u8 shift) -+ inline void shl_imm(u8 shift) - { -- const VECU32 temp = { shift, shift, shift, shift }; -- m_value = vec_sl(m_value, temp); -+ if (32 > shift) -+ { -+ const VECU32 temp = { shift, shift, shift, shift }; -+ m_value = vec_sl(m_value, temp); -+ } -+ else -+ { -+ m_value = vec_splat_s32(0); -+ } - } - - inline void shr(const rgbaint_t& shift) -@@ -344,10 +351,17 @@ public: - m_value = vec_and(vec_sr(m_value, VECU32(shift.m_value)), vec_cmpgt(limit, VECU32(shift.m_value))); - } - -- inline void shr_imm(const u8 shift) -+ inline void shr_imm(u8 shift) - { -- const VECU32 temp = { shift, shift, shift, shift }; -- m_value = vec_sr(m_value, temp); -+ if (32 > shift) -+ { -+ const VECU32 temp = { shift, shift, shift, shift }; -+ m_value = vec_sr(m_value, temp); -+ } -+ else -+ { -+ m_value = vec_splat_s32(0); -+ } - } - - inline void sra(const rgbaint_t& shift) -@@ -356,8 +370,9 @@ public: - m_value = vec_sra(m_value, vec_min(VECU32(shift.m_value), limit)); - } - -- inline void sra_imm(const u8 shift) -+ inline void sra_imm(u8 shift) - { -+ shift = std::min<u8>(shift, 31); - const VECU32 temp = { shift, shift, shift, shift }; - m_value = vec_sra(m_value, temp); - } -@@ -367,13 +382,13 @@ public: - m_value = vec_or(m_value, color2.m_value); - } - -- inline void or_imm(const s32 value) -+ inline void or_imm(s32 value) - { - const VECS32 temp = { value, value, value, value }; - m_value = vec_or(m_value, temp); - } - -- inline void or_imm_rgba(const s32 a, const s32 r, const s32 g, const s32 b) -+ inline void or_imm_rgba(s32 a, s32 r, s32 g, s32 b) - { - #ifdef __LITTLE_ENDIAN__ - const VECS32 temp = { b, g, r, a }; -@@ -393,13 +408,13 @@ public: - m_value = vec_andc(m_value, color.m_value); - } - -- inline void and_imm(const s32 value) -+ inline void and_imm(s32 value) - { - const VECS32 temp = { value, value, value, value }; - m_value = vec_and(m_value, temp); - } - -- inline void and_imm_rgba(const s32 a, const s32 r, const s32 g, const s32 b) -+ inline void and_imm_rgba(s32 a, s32 r, s32 g, s32 b) - { - #ifdef __LITTLE_ENDIAN__ - const VECS32 temp = { b, g, r, a }; -@@ -414,13 +429,13 @@ public: - m_value = vec_xor(m_value, color2.m_value); - } - -- inline void xor_imm(const s32 value) -+ inline void xor_imm(s32 value) - { - const VECS32 temp = { value, value, value, value }; - m_value = vec_xor(m_value, temp); - } - -- inline void xor_imm_rgba(const s32 a, const s32 r, const s32 g, const s32 b) -+ inline void xor_imm_rgba(s32 a, s32 r, s32 g, s32 b) - { - #ifdef __LITTLE_ENDIAN__ - const VECS32 temp = { b, g, r, a }; -@@ -430,7 +445,7 @@ public: - m_value = vec_xor(m_value, temp); - } - -- inline void clamp_and_clear(const u32 sign) -+ inline void clamp_and_clear(u32 sign) - { - const VECS32 vzero = { 0, 0, 0, 0 }; - VECS32 vsign = { s32(sign), s32(sign), s32(sign), s32(sign) }; -@@ -454,7 +469,7 @@ public: - #endif - } - -- inline void sign_extend(const u32 compare, const u32 sign) -+ inline void sign_extend(u32 compare, u32 sign) - { - const VECS32 compare_vec = { s32(compare), s32(compare), s32(compare), s32(compare) }; - const VECS32 compare_mask = VECS32(vec_cmpeq(vec_and(m_value, compare_vec), compare_vec)); -@@ -462,13 +477,13 @@ public: - m_value = vec_or(m_value, vec_and(sign_vec, compare_mask)); - } - -- inline void min(const s32 value) -+ inline void min(s32 value) - { - const VECS32 temp = { value, value, value, value }; - m_value = vec_min(m_value, temp); - } - -- inline void max(const s32 value) -+ inline void max(s32 value) - { - const VECS32 temp = { value, value, value, value }; - m_value = vec_max(m_value, temp); -@@ -477,7 +492,7 @@ public: - void blend(const rgbaint_t& other, u8 factor); - - void scale_and_clamp(const rgbaint_t& scale); -- void scale_imm_and_clamp(const s32 scale); -+ void scale_imm_and_clamp(s32 scale); - - void scale_add_and_clamp(const rgbaint_t& scale, const rgbaint_t& other) - { -@@ -503,13 +518,13 @@ public: - m_value = VECS32(vec_cmpeq(m_value, value.m_value)); - } - -- inline void cmpeq_imm(const s32 value) -+ inline void cmpeq_imm(s32 value) - { - const VECS32 temp = { value, value, value, value }; - m_value = VECS32(vec_cmpeq(m_value, temp)); - } - -- inline void cmpeq_imm_rgba(const s32 a, const s32 r, const s32 g, const s32 b) -+ inline void cmpeq_imm_rgba(s32 a, s32 r, s32 g, s32 b) - { - #ifdef __LITTLE_ENDIAN__ - const VECS32 temp = { b, g, r, a }; -@@ -524,13 +539,13 @@ public: - m_value = VECS32(vec_cmpgt(m_value, value.m_value)); - } - -- inline void cmpgt_imm(const s32 value) -+ inline void cmpgt_imm(s32 value) - { - const VECS32 temp = { value, value, value, value }; - m_value = VECS32(vec_cmpgt(m_value, temp)); - } - -- inline void cmpgt_imm_rgba(const s32 a, const s32 r, const s32 g, const s32 b) -+ inline void cmpgt_imm_rgba(s32 a, s32 r, s32 g, s32 b) - { - #ifdef __LITTLE_ENDIAN__ - const VECS32 temp = { b, g, r, a }; -@@ -545,13 +560,13 @@ public: - m_value = VECS32(vec_cmplt(m_value, value.m_value)); - } - -- inline void cmplt_imm(const s32 value) -+ inline void cmplt_imm(s32 value) - { - const VECS32 temp = { value, value, value, value }; - m_value = VECS32(vec_cmplt(m_value, temp)); - } - -- inline void cmplt_imm_rgba(const s32 a, const s32 r, const s32 g, const s32 b) -+ inline void cmplt_imm_rgba(s32 a, s32 r, s32 g, s32 b) - { - #ifdef __LITTLE_ENDIAN__ - const VECS32 temp = { b, g, r, a }; -@@ -567,7 +582,7 @@ public: - return *this; - } - -- inline rgbaint_t& operator+=(const s32 other) -+ inline rgbaint_t& operator+=(s32 other) - { - const VECS32 temp = { other, other, other, other }; - m_value = vec_add(m_value, temp); -@@ -592,7 +607,7 @@ public: - return *this; - } - -- inline rgbaint_t& operator*=(const s32 other) -+ inline rgbaint_t& operator*=(s32 other) - { - const VECS32 value = { other, other, other, other }; - const VECU32 shift = vec_splat_u32(-16); -@@ -605,19 +620,20 @@ public: - return *this; - } - -- inline rgbaint_t& operator>>=(const s32 shift) -+ inline rgbaint_t& operator>>=(s32 shift) - { -+ shift = s32(std::min<u32>(shift, 31)); - const VECU32 temp = { u32(shift), u32(shift), u32(shift), u32(shift) }; - m_value = vec_sra(m_value, temp); - return *this; - } - -- inline void merge_alpha16(const rgbaint_t& alpha) -+ inline void merge_alpha16(const rgbaint_t &alpha) - { - m_value = vec_perm(m_value, alpha.m_value, alpha_perm); - } - -- inline void merge_alpha(const rgbaint_t& alpha) -+ inline void merge_alpha(const rgbaint_t &alpha) - { - m_value = vec_perm(m_value, alpha.m_value, alpha_perm); - } diff --git a/sources b/sources index 25fa780..362be13 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (mame-mame0253.tar.gz) = 0cd9a95ef7e79a3d870ad7dc8d4d857e7001e067d10449c94f1ed4e83eb9e930343d4f2fa2a33ce3fd980f8202ffcac2a776c333b8db337120958da8eaeb5dc7 -SHA512 (whatsnew_0253.txt) = dc871acf42e6b7fc5b5127e9c74bb7047db9942c41f634913a5f5cc728ae88c6c7f905a2c04ed03a20f370d228ec5ca73c407595b861871a290f8ff3f489b761 +SHA512 (mame-mame0254.tar.gz) = efb89074229f5662ff23176cfc042c5e5f4732a54498574bac6b74d3726be9bf8e93fc49370e1b94e5f1ed2f7ead8b0a6d46bb965e2a22ef528bcc2131abf8a7 +SHA512 (whatsnew_0254.txt) = 1d9aee40e8a791a1fa0c6b12b2fd503760303d037decb9c8281fd2450842a5726309453a4075edb968f0121e2261196982caf233dda181cecab380d00990ea0c
arch-excludes@lists.fedoraproject.org