Differences between revisions 22 and 23
Revision 22 as of 2012-05-30 16:03:44
Size: 4017
Comment:
Revision 23 as of 2012-06-04 15:06:45
Size: 4029
Comment:
Deletions are marked like this. Additions are marked like this.
Line 35: Line 35:
mv *.xz ..

Mame: Multiple Arcade Machine Emulator

alt debian game

This is a developer help page for the mame/mess package. See Mame and Mess for the user Readme.


Resources

Getting the packaging code

The development of the package is done on Alioth, inside the pkg-games group. To participate in the packaging work, create an account on alioth, and present yourself on the debian-devel-game mailing list (see Games/VCS)

Building a package

For Mame and Mess >= 0.144

Check out the code

#read only
git clone git://git.debian.org/git/pkg-games/mame.git 

#read write
git clone git+ssh://kdev-guest@git.debian.org/git/pkg-games/mame.git  

Replace here kdev-guest with your Alioth username.

Build a package

# get source code
cd mame
./debian/rules get-orig-source
mv *.xz ..

# get mame version
MAME_VERSION=$(dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
cd ..

# untar
ln -s  mame mame-${MAME_VERSION}
tar hxaf mame_${MAME_VERSION}.orig.tar.xz
tar hxaf mame_${MAME_VERSION}.orig-nplayers.tar.xz -C mame-${MAME_VERSION}
cd mame-${MAME_VERSION}

# for the package maintainer
dpkg-buildpackage -k"your_gpg_key_id"
# for you 
dpkg-buildpackage -us -uc

Upgrade to new release

Increment changelog

dch --newversion 0.142-1 --distribution UNRELEASED "New upstream release"

Find new files

diff -qr mame-0.144/src mame-0.145/src | grep "Only in mame-0.144"
LANG=C; diff -qr mame-0.144/src mame-0.145/src | grep "Only in mame-0.145"

done

  • no done: Add screenshot from mame with Galeco Rally or Mame initial start screen (screenshots.debian.net refuse screenshots from non-free packages)
  • Solve broken upgrade from xmame-x with apt-get
  • Document what has changed since xmame-x package version 0.106
  • Update VCS address to alioth in control file
  • Notify upstream about typo (lintian -I -i warning)cf http://www.mametesters.org/view.php?id=4227. Upstream fixed it !

  • nodone: Test Mame in Xephyr: useless, as Mame has a -window option to start in non-full screen mode
  • Remove useless mame-tools binaries: http://forums.bannister.org/ubbthreads.php?ubb=showflat&Main=6493&Number=66395#Post66395

  • Check if front ends gmameui and kamefu are working with mame / xmame : kamefu has been removed from the archive, and gmameui is broken cf bug report #610483

Current status is:  manu@leonard:~$ ldd /usr/games/mame | wc -l 59  for mame-tools jumped down from 59 to 22

  • Verify of created directories are properly removed when removing the package: OK
  • Look about packaging Gnome Video Arcade which looks like the sanest of the plethora of Mame front ends RFP BUG: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617437

    • Change maintainer to Debian Games Team, move Ludo to uploaders
    • as of 22/03/2010 Mame FTBS from source because of gcc-4.5

make[2]: *** [obj/sdl/mame/libocore.a] Error 1
make[2]: *** Waiting for unfinished jobs....
gcc: error trying to exec 'x86_64-linux-gnu-gcc-4.4': execvp: No such file or directory
gcc: error trying to exec 'x86_64-linux-gnu-gcc-4.4': execvp: No such file or directory

fixed in http://git.debian.org/?p=pkg-games/mame.git;a=commitdiff;h=4a75e1a9ddf15eba63353b99d06c316eb9635735

  • Remove Windows.txt from mame -help and package
  • Notify Ubuntu about our package
  • Upload a source package to mentors
  • Post debian build logs to mame forums
  • send screenshot of gnome video arcade to screenshots.debian.org