Package: xmame
Version: 0.101-1
Severity: wishlist
Tags: patch

This patch adds the xmess-sdl binary package.

Bruno Barrera C. <[EMAIL PROTECTED]> [051113]:
> On Sun, 2005-11-13 at 19:59 +0100, Antony Lesuisse wrote:
> > I'm wondering why only one xmess packages is built form the xmame
> > source whereas differents binaries xmame-sdl -x -gl etc.. are beeing
> > built.
> >
> > If it's possible to build those binaries i would open a wishlist bug
> > asking for those.
> >
> > Thank you.
>
> Yes, it's possible. (I haven't made those packages because I have been
> busy working in to have the current one in a good shape first. I
> imagine you know about the bad state of Xmame before me as
> Maintainer).
>
> Feel free to open a wishlist bug.

-- 
Antony Lesuisse
diff -urN debian/control debian-patch/control
--- debian/control      2005-11-23 15:26:43.000000000 +0100
+++ debian-patch/control        2005-11-23 15:10:41.000000000 +0100
@@ -150,3 +150,21 @@
  .
  This package provides binaries for the X version of xmess.
  It is compiled with XVideo, DGA and OpenGL support.
+
+Package: xmess-sdl
+Section: non-free/games
+Priority: optional
+Architecture: any
+Depends: xmess-common (= ${Source-Version}), ${misc:Depends}, ${shlibs:Depends}
+Provides: xmess
+Description: SDL binaries for the Multi Emulator Super System
+ XMESS is an emulator for various consoles and computing systems, sharing
+ a lot of codebase with the MAME project.
+ .
+ Some of the well known consoles and computers emulated are the Atari 2600,
+ Lynx, NES, SNES, GameBoy, Sega Master System, Sega Megadrive, Game Gear,
+ Colecovision, Vectrex, Apple II, Atari 400/800, Commodore 64/128, 
+ IBM PC XT and AT (MDA and CGA), ZX80, ZX Spectrum, TI99/4, TRS-80, 
+ and the MSX.
+ .
+ This package provides binaries for the SDL version of xmess.
diff -urN debian/rules debian-patch/rules
--- debian/rules        2005-11-23 15:26:43.000000000 +0100
+++ debian-patch/rules  2005-11-20 20:15:25.000000000 +0100
@@ -22,7 +22,7 @@
 
 # Add xmess packages if mess is selected
 ifeq ($(DEB_BUILD_MESS),yes)
-DEB_BINARY_PACKAGES += -pxmess-x
+DEB_BINARY_PACKAGES += -pxmess-x -pxmess-sdl
 DEB_BINARY_INDEP_PACKAGES += -pxmess-common
 endif
 
@@ -87,6 +87,7 @@
 
 ifeq ($(DEB_BUILD_MESS),yes)
        $(MAKE) $(DEB_XMESS_OPTS) $(DEB_COMMON_OPTS) $(DEB_X11_OPTS)
+       $(MAKE) $(DEB_XMESS_OPTS) $(DEB_COMMON_OPTS) $(DEB_SDL_OPTS)
 endif
 
        touch build
diff -urN debian/xmess-sdl.dirs debian-patch/xmess-sdl.dirs
--- debian/xmess-sdl.dirs       1970-01-01 01:00:00.000000000 +0100
+++ debian-patch/xmess-sdl.dirs 2005-11-23 15:10:41.000000000 +0100
@@ -0,0 +1,3 @@
+usr/games
+usr/share/doc
+usr/share/man/man6
diff -urN debian/xmess-sdl.install debian-patch/xmess-sdl.install
--- debian/xmess-sdl.install    1970-01-01 01:00:00.000000000 +0100
+++ debian-patch/xmess-sdl.install      2005-11-23 15:10:41.000000000 +0100
@@ -0,0 +1,2 @@
+xmess.SDL usr/games
+
diff -urN debian/xmess-sdl.links debian-patch/xmess-sdl.links
--- debian/xmess-sdl.links      1970-01-01 01:00:00.000000000 +0100
+++ debian-patch/xmess-sdl.links        2005-11-23 15:10:41.000000000 +0100
@@ -0,0 +1,2 @@
+usr/share/man/man6/xmess.6.gz usr/share/man/man6/xmess.SDL.6.gz
+usr/share/doc/xmess-common usr/share/doc/xmess-sdl
diff -urN debian/xmess-sdl.postinst debian-patch/xmess-sdl.postinst
--- debian/xmess-sdl.postinst   1970-01-01 01:00:00.000000000 +0100
+++ debian-patch/xmess-sdl.postinst     2005-11-23 15:10:41.000000000 +0100
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+update-alternatives --install /usr/games/xmess \
+   xmess /usr/games/xmess.SDL 8
+
+#DEBHELPER#
diff -urN debian/xmess-sdl.prerm debian-patch/xmess-sdl.prerm
--- debian/xmess-sdl.prerm      1970-01-01 01:00:00.000000000 +0100
+++ debian-patch/xmess-sdl.prerm        2005-11-23 15:10:41.000000000 +0100
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+update-alternatives --remove xmess /usr/games/xmess.SDL
+
+#DEBHELPER#

Reply via email to