Package: gnome-video-arcade
Version: 0.8.3-1
Severity: important
Tags: patch

With mame >= 0.154, the command line options for sound in mame are new.
( I am talking about sdlmame, I don't think anyone is using xmame anymore these 
days)

The attached patch fixes the command line options.
Without it gva is unable to start a specified game properly, as we pass him the 
rom name as if it were a sound option.

-- System Information:
Debian Release: 8.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10.0-8-pve (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnome-video-arcade depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.22.0-1
ii  gsettings-desktop-schemas                    3.14.1-1
ii  libc6                                        2.19-18
ii  libgdk-pixbuf2.0-0                           2.31.1-2+b1
ii  libglib2.0-0                                 2.42.1-1
ii  libgstreamer0.10-0                           0.10.36-1.5
ii  libgtk-3-0                                   3.14.5-1
ii  libpango-1.0-0                               1.36.8-3
ii  libsoup2.4-1                                 2.48.0-1
ii  libsqlite3-0                                 3.8.7.1-1
ii  libwnck-3-0                                  3.4.9-3
ii  mame                                         0.154-3.1

gnome-video-arcade recommends no packages.

Versions of packages gnome-video-arcade suggests:
pn  devhelp  <none>

-- no debconf information
Description: Fix common line arguments of spawned mame process
Author: Emmanuel Kasper <emman...@libera.cc>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=748667
Forwarded: yes
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/gva-mame-common.c
+++ b/src/gva-mame-common.c
@@ -638,9 +638,9 @@
 
                 mute_button = GVA_MUTE_BUTTON (GVA_WIDGET_MAIN_MUTE_BUTTON);
                 if (gva_mute_button_get_muted (mute_button))
-                        g_string_append (arguments, "-nosound ");
+                        g_string_append (arguments, "-sound none ");
                 else
-                        g_string_append (arguments, "-sound ");
+                        g_string_append (arguments, "-sound auto ");
         }
 
         g_string_append_printf (arguments, "%s", name);

Reply via email to