* [PR PATCH] mame: update to 0249.
@ 2022-11-27 11:22 kruceter
2022-12-19 16:20 ` [PR PATCH] [Updated] " kruceter
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: kruceter @ 2022-11-27 11:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 463 bytes --]
There is a new pull request by kruceter against master on the void-packages repository
https://github.com/kruceter/void-packages mame
https://github.com/void-linux/void-packages/pull/40796
mame: update to 0249.
I am unable to build this package properly due to it hanging my machine in the process.
#### Testing the changes
- I tested the changes in this PR: **NO**
A patch file from https://github.com/void-linux/void-packages/pull/40796.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mame-40796.patch --]
[-- Type: text/x-diff, Size: 3477 bytes --]
From b02fb621745b5f43bbdb87106e9c592595678298 Mon Sep 17 00:00:00 2001
From: Krul Ceter <kruceter@proton.me>
Date: Sun, 27 Nov 2022 13:51:09 +0300
Subject: [PATCH] mame: update to 0249.
---
srcpkgs/mame/patches/musl-netlist.patch | 21 +++++++++++++++++----
srcpkgs/mame/patches/pulse-sound.patch | 12 ++++++++++++
srcpkgs/mame/template | 8 ++++----
3 files changed, 33 insertions(+), 8 deletions(-)
create mode 100644 srcpkgs/mame/patches/pulse-sound.patch
diff --git a/srcpkgs/mame/patches/musl-netlist.patch b/srcpkgs/mame/patches/musl-netlist.patch
index d87a967f806e..cb500ac7dce0 100644
--- a/srcpkgs/mame/patches/musl-netlist.patch
+++ b/srcpkgs/mame/patches/musl-netlist.patch
@@ -1,11 +1,24 @@
--- a/src/lib/netlist/plib/pexception.cpp 2017-01-24 23:44:30.000000000 +0100
+++ b/src/lib/netlist/plib/pexception.cpp 2017-01-25 06:48:09.658604647 +0100
-@@ -10,7 +10,7 @@
- #include "pexception.h"
- #include "pfmtlog.h"
-
+@@ -8,7 +8,7 @@
+ #include <cfloat>
+ #include <iostream>
+
-#if (defined(__x86_64__) || defined(__i386__)) && defined(__linux__)
+#if (defined(__x86_64__) || defined(__i386__)) && defined(__linux__) && defined(__GLIBC__)
#define HAS_FEENABLE_EXCEPT (1)
#else
#define HAS_FEENABLE_EXCEPT (0)
+
+https://git.alpinelinux.org/aports/commit/testing/mame/fix-musl.patch?id=7f174f79c0ccd719a6592d356d1c8db82a426a00
+
+--- a/src/lib/netlist/plib/ppmf.h
++++ b/src/lib/netlist/plib/ppmf.h
+@@ -94,6 +94,7 @@
+ #ifndef PPMF_FORCE_TYPE
+ #define PPMF_FORCE_TYPE -1
+ #endif
++#include "stddef.h"
+
+ namespace plib {
+
diff --git a/srcpkgs/mame/patches/pulse-sound.patch b/srcpkgs/mame/patches/pulse-sound.patch
new file mode 100644
index 000000000000..f4774fefa5d3
--- /dev/null
+++ b/srcpkgs/mame/patches/pulse-sound.patch
@@ -0,0 +1,12 @@
+https://git.alpinelinux.org/aports/commit/testing/mame/fix-musl.patch?id=0ca943c72056e9ce2cc8f26d9ca7797cf5d04575
+
+--- a/src/osd/modules/sound/pulse_sound.cpp
++++ b/src/osd/modules/sound/pulse_sound.cpp
+@@ -19,6 +19,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <poll.h>
++#include <signal.h>
+
+ #include <thread>
+ #include <pulse/pulseaudio.h>
diff --git a/srcpkgs/mame/template b/srcpkgs/mame/template
index 93c5d5f74880..dc358bf5481a 100644
--- a/srcpkgs/mame/template
+++ b/srcpkgs/mame/template
@@ -1,24 +1,24 @@
# Template file for 'mame'
pkgname=mame
-version=0229
+version=0249
revision=1
hostmakedepends="pkg-config python3 qt5-host-tools tar xz which"
makedepends="SDL2_ttf-devel fontconfig-devel glm libgomp-devel libjpeg-turbo-devel
lua-devel libutf8proc-devel libuv-devel portaudio-devel portmidi-devel
- pugixml-devel rapidjson $(vopt_if qt 'qt5-devel')"
+ pugixml-devel rapidjson libXinerama-devel $(vopt_if qt 'qt5-devel')"
depends="liberation-fonts-ttf"
short_desc="Multiple Arcade Machine Emulator"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://mamedev.org"
distfiles="https://github.com/mamedev/mame/archive/mame${version}.tar.gz"
-checksum=414921771ada0804a8c7f3540e33338e8495e16a3bca78a5a2b355abafa51e6a
+checksum=93df1b954c2e6c0fe8b54b3662f642f77d7d460f42c0de0bac0b03ccb86756c4
nodebug=yes
replaces="sdlmame>=0 sdlmess>=0"
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.3"
CXXFLAGS="$CFLAGS"
-[ "$XBPS_TARGET_LIBC" = musl ] && CXXFLAGS+=" -DBX_CRT_MUSL=1"
+[ "$XBPS_TARGET_LIBC" = "musl" ] && CXXFLAGS+=" -DBX_CRT_MUSL=1"
case "$XBPS_TARGET_MACHINE" in
ppc*)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] mame: update to 0249.
2022-11-27 11:22 [PR PATCH] mame: update to 0249 kruceter
@ 2022-12-19 16:20 ` kruceter
2023-01-06 12:27 ` [PR PATCH] [Closed]: mame: update to 0250 kruceter
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: kruceter @ 2022-12-19 16:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 464 bytes --]
There is an updated pull request by kruceter against master on the void-packages repository
https://github.com/kruceter/void-packages mame
https://github.com/void-linux/void-packages/pull/40796
mame: update to 0249.
I am unable to build this package properly due to it hanging my machine in process.
#### Testing the changes
- I tested the changes in this PR: **NO**
A patch file from https://github.com/void-linux/void-packages/pull/40796.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mame-40796.patch --]
[-- Type: text/x-diff, Size: 3477 bytes --]
From 6120ce7b81b91d0f4cbba7c7ea552a7d2462fe04 Mon Sep 17 00:00:00 2001
From: Krul Ceter <kruceter@proton.me>
Date: Sun, 27 Nov 2022 13:51:09 +0300
Subject: [PATCH] mame: update to 0250.
---
srcpkgs/mame/patches/musl-netlist.patch | 21 +++++++++++++++++----
srcpkgs/mame/patches/pulse-sound.patch | 12 ++++++++++++
srcpkgs/mame/template | 8 ++++----
3 files changed, 33 insertions(+), 8 deletions(-)
create mode 100644 srcpkgs/mame/patches/pulse-sound.patch
diff --git a/srcpkgs/mame/patches/musl-netlist.patch b/srcpkgs/mame/patches/musl-netlist.patch
index d87a967f806e..cb500ac7dce0 100644
--- a/srcpkgs/mame/patches/musl-netlist.patch
+++ b/srcpkgs/mame/patches/musl-netlist.patch
@@ -1,11 +1,24 @@
--- a/src/lib/netlist/plib/pexception.cpp 2017-01-24 23:44:30.000000000 +0100
+++ b/src/lib/netlist/plib/pexception.cpp 2017-01-25 06:48:09.658604647 +0100
-@@ -10,7 +10,7 @@
- #include "pexception.h"
- #include "pfmtlog.h"
-
+@@ -8,7 +8,7 @@
+ #include <cfloat>
+ #include <iostream>
+
-#if (defined(__x86_64__) || defined(__i386__)) && defined(__linux__)
+#if (defined(__x86_64__) || defined(__i386__)) && defined(__linux__) && defined(__GLIBC__)
#define HAS_FEENABLE_EXCEPT (1)
#else
#define HAS_FEENABLE_EXCEPT (0)
+
+https://git.alpinelinux.org/aports/commit/testing/mame/fix-musl.patch?id=7f174f79c0ccd719a6592d356d1c8db82a426a00
+
+--- a/src/lib/netlist/plib/ppmf.h
++++ b/src/lib/netlist/plib/ppmf.h
+@@ -94,6 +94,7 @@
+ #ifndef PPMF_FORCE_TYPE
+ #define PPMF_FORCE_TYPE -1
+ #endif
++#include "stddef.h"
+
+ namespace plib {
+
diff --git a/srcpkgs/mame/patches/pulse-sound.patch b/srcpkgs/mame/patches/pulse-sound.patch
new file mode 100644
index 000000000000..f4774fefa5d3
--- /dev/null
+++ b/srcpkgs/mame/patches/pulse-sound.patch
@@ -0,0 +1,12 @@
+https://git.alpinelinux.org/aports/commit/testing/mame/fix-musl.patch?id=0ca943c72056e9ce2cc8f26d9ca7797cf5d04575
+
+--- a/src/osd/modules/sound/pulse_sound.cpp
++++ b/src/osd/modules/sound/pulse_sound.cpp
+@@ -19,6 +19,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <poll.h>
++#include <signal.h>
+
+ #include <thread>
+ #include <pulse/pulseaudio.h>
diff --git a/srcpkgs/mame/template b/srcpkgs/mame/template
index 93c5d5f74880..921cb421fd67 100644
--- a/srcpkgs/mame/template
+++ b/srcpkgs/mame/template
@@ -1,24 +1,24 @@
# Template file for 'mame'
pkgname=mame
-version=0229
+version=0250
revision=1
hostmakedepends="pkg-config python3 qt5-host-tools tar xz which"
makedepends="SDL2_ttf-devel fontconfig-devel glm libgomp-devel libjpeg-turbo-devel
lua-devel libutf8proc-devel libuv-devel portaudio-devel portmidi-devel
- pugixml-devel rapidjson $(vopt_if qt 'qt5-devel')"
+ pugixml-devel rapidjson libXinerama-devel $(vopt_if qt 'qt5-devel')"
depends="liberation-fonts-ttf"
short_desc="Multiple Arcade Machine Emulator"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://mamedev.org"
distfiles="https://github.com/mamedev/mame/archive/mame${version}.tar.gz"
-checksum=414921771ada0804a8c7f3540e33338e8495e16a3bca78a5a2b355abafa51e6a
+checksum=949ec937b1df50af519f594d690832ca56342983f519b62a4be9c2c0b595d3ad
nodebug=yes
replaces="sdlmame>=0 sdlmess>=0"
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.3"
CXXFLAGS="$CFLAGS"
-[ "$XBPS_TARGET_LIBC" = musl ] && CXXFLAGS+=" -DBX_CRT_MUSL=1"
+[ "$XBPS_TARGET_LIBC" = "musl" ] && CXXFLAGS+=" -DBX_CRT_MUSL=1"
case "$XBPS_TARGET_MACHINE" in
ppc*)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Closed]: mame: update to 0250.
2022-11-27 11:22 [PR PATCH] mame: update to 0249 kruceter
2022-12-19 16:20 ` [PR PATCH] [Updated] " kruceter
@ 2023-01-06 12:27 ` kruceter
2023-01-18 22:03 ` [PR PATCH] [Updated] " kruceter
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: kruceter @ 2023-01-06 12:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 309 bytes --]
There's a closed pull request on the void-packages repository
mame: update to 0250.
https://github.com/void-linux/void-packages/pull/40796
Description:
I am unable to build this package properly due to it hanging my machine in process.
#### Testing the changes
- I tested the changes in this PR: **NO**
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] mame: update to 0250.
2022-11-27 11:22 [PR PATCH] mame: update to 0249 kruceter
2022-12-19 16:20 ` [PR PATCH] [Updated] " kruceter
2023-01-06 12:27 ` [PR PATCH] [Closed]: mame: update to 0250 kruceter
@ 2023-01-18 22:03 ` kruceter
2023-01-19 2:37 ` mame: update to 0251 kruceter
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: kruceter @ 2023-01-18 22:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 464 bytes --]
There is an updated pull request by kruceter against master on the void-packages repository
https://github.com/kruceter/void-packages mame
https://github.com/void-linux/void-packages/pull/40796
mame: update to 0250.
I am unable to build this package properly due to it hanging my machine in process.
#### Testing the changes
- I tested the changes in this PR: **NO**
A patch file from https://github.com/void-linux/void-packages/pull/40796.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mame-40796.patch --]
[-- Type: text/x-diff, Size: 3477 bytes --]
From 297577a3979238ca92eaf9d99abb5331e1034a76 Mon Sep 17 00:00:00 2001
From: Krul Ceter <kruceter@proton.me>
Date: Thu, 19 Jan 2023 00:57:43 +0300
Subject: [PATCH] mame: update to 0251.
---
srcpkgs/mame/patches/musl-netlist.patch | 21 +++++++++++++++++----
srcpkgs/mame/patches/pulse-sound.patch | 12 ++++++++++++
srcpkgs/mame/template | 8 ++++----
3 files changed, 33 insertions(+), 8 deletions(-)
create mode 100644 srcpkgs/mame/patches/pulse-sound.patch
diff --git a/srcpkgs/mame/patches/musl-netlist.patch b/srcpkgs/mame/patches/musl-netlist.patch
index d87a967f806e..cb500ac7dce0 100644
--- a/srcpkgs/mame/patches/musl-netlist.patch
+++ b/srcpkgs/mame/patches/musl-netlist.patch
@@ -1,11 +1,24 @@
--- a/src/lib/netlist/plib/pexception.cpp 2017-01-24 23:44:30.000000000 +0100
+++ b/src/lib/netlist/plib/pexception.cpp 2017-01-25 06:48:09.658604647 +0100
-@@ -10,7 +10,7 @@
- #include "pexception.h"
- #include "pfmtlog.h"
-
+@@ -8,7 +8,7 @@
+ #include <cfloat>
+ #include <iostream>
+
-#if (defined(__x86_64__) || defined(__i386__)) && defined(__linux__)
+#if (defined(__x86_64__) || defined(__i386__)) && defined(__linux__) && defined(__GLIBC__)
#define HAS_FEENABLE_EXCEPT (1)
#else
#define HAS_FEENABLE_EXCEPT (0)
+
+https://git.alpinelinux.org/aports/commit/testing/mame/fix-musl.patch?id=7f174f79c0ccd719a6592d356d1c8db82a426a00
+
+--- a/src/lib/netlist/plib/ppmf.h
++++ b/src/lib/netlist/plib/ppmf.h
+@@ -94,6 +94,7 @@
+ #ifndef PPMF_FORCE_TYPE
+ #define PPMF_FORCE_TYPE -1
+ #endif
++#include "stddef.h"
+
+ namespace plib {
+
diff --git a/srcpkgs/mame/patches/pulse-sound.patch b/srcpkgs/mame/patches/pulse-sound.patch
new file mode 100644
index 000000000000..f4774fefa5d3
--- /dev/null
+++ b/srcpkgs/mame/patches/pulse-sound.patch
@@ -0,0 +1,12 @@
+https://git.alpinelinux.org/aports/commit/testing/mame/fix-musl.patch?id=0ca943c72056e9ce2cc8f26d9ca7797cf5d04575
+
+--- a/src/osd/modules/sound/pulse_sound.cpp
++++ b/src/osd/modules/sound/pulse_sound.cpp
+@@ -19,6 +19,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <poll.h>
++#include <signal.h>
+
+ #include <thread>
+ #include <pulse/pulseaudio.h>
diff --git a/srcpkgs/mame/template b/srcpkgs/mame/template
index 93c5d5f74880..402aa08e17d3 100644
--- a/srcpkgs/mame/template
+++ b/srcpkgs/mame/template
@@ -1,24 +1,24 @@
# Template file for 'mame'
pkgname=mame
-version=0229
+version=0251
revision=1
hostmakedepends="pkg-config python3 qt5-host-tools tar xz which"
makedepends="SDL2_ttf-devel fontconfig-devel glm libgomp-devel libjpeg-turbo-devel
lua-devel libutf8proc-devel libuv-devel portaudio-devel portmidi-devel
- pugixml-devel rapidjson $(vopt_if qt 'qt5-devel')"
+ pugixml-devel rapidjson libXinerama-devel $(vopt_if qt 'qt5-devel')"
depends="liberation-fonts-ttf"
short_desc="Multiple Arcade Machine Emulator"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://mamedev.org"
distfiles="https://github.com/mamedev/mame/archive/mame${version}.tar.gz"
-checksum=414921771ada0804a8c7f3540e33338e8495e16a3bca78a5a2b355abafa51e6a
+checksum=6d97db4ebfb269b1eb0e530444495a50d3961d0a60bce13e11dc88bbebb2fbc1
nodebug=yes
replaces="sdlmame>=0 sdlmess>=0"
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.3"
CXXFLAGS="$CFLAGS"
-[ "$XBPS_TARGET_LIBC" = musl ] && CXXFLAGS+=" -DBX_CRT_MUSL=1"
+[ "$XBPS_TARGET_LIBC" = "musl" ] && CXXFLAGS+=" -DBX_CRT_MUSL=1"
case "$XBPS_TARGET_MACHINE" in
ppc*)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mame: update to 0251.
2022-11-27 11:22 [PR PATCH] mame: update to 0249 kruceter
` (2 preceding siblings ...)
2023-01-18 22:03 ` [PR PATCH] [Updated] " kruceter
@ 2023-01-19 2:37 ` kruceter
2023-01-19 2:38 ` kruceter
2023-01-19 5:47 ` [PR PATCH] [Merged]: " the-maldridge
5 siblings, 0 replies; 7+ messages in thread
From: kruceter @ 2023-01-19 2:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 188 bytes --]
New comment by kruceter on void-packages repository
https://github.com/void-linux/void-packages/pull/40796#issuecomment-1396366953
Comment:
Reclassified testing status to "**briefly**".
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mame: update to 0251.
2022-11-27 11:22 [PR PATCH] mame: update to 0249 kruceter
` (3 preceding siblings ...)
2023-01-19 2:37 ` mame: update to 0251 kruceter
@ 2023-01-19 2:38 ` kruceter
2023-01-19 5:47 ` [PR PATCH] [Merged]: " the-maldridge
5 siblings, 0 replies; 7+ messages in thread
From: kruceter @ 2023-01-19 2:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 264 bytes --]
New comment by kruceter on void-packages repository
https://github.com/void-linux/void-packages/pull/40796#issuecomment-1396366953
Comment:
Reclassified testing status to "**briefly**".
Credits to Michael Aldridge for building this package for me to test it.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Merged]: mame: update to 0251.
2022-11-27 11:22 [PR PATCH] mame: update to 0249 kruceter
` (4 preceding siblings ...)
2023-01-19 2:38 ` kruceter
@ 2023-01-19 5:47 ` the-maldridge
5 siblings, 0 replies; 7+ messages in thread
From: the-maldridge @ 2023-01-19 5:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 477 bytes --]
There's a merged pull request on the void-packages repository
mame: update to 0251.
https://github.com/void-linux/void-packages/pull/40796
Description:
~~I am unable to build this package properly due to it hanging my machine in process.~~
Tested it on x86_64-musl by using its embedded sega genesis emulator along with some ROMs randomly picked out from my collection. No errors to report here.
#### Testing the changes
- I tested the changes in this PR: **briefly**
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-01-19 5:47 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-27 11:22 [PR PATCH] mame: update to 0249 kruceter
2022-12-19 16:20 ` [PR PATCH] [Updated] " kruceter
2023-01-06 12:27 ` [PR PATCH] [Closed]: mame: update to 0250 kruceter
2023-01-18 22:03 ` [PR PATCH] [Updated] " kruceter
2023-01-19 2:37 ` mame: update to 0251 kruceter
2023-01-19 2:38 ` kruceter
2023-01-19 5:47 ` [PR PATCH] [Merged]: " the-maldridge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).