diff -u zsnes-1.510/debian/rules zsnes-1.510/debian/rules --- zsnes-1.510/debian/rules +++ zsnes-1.510/debian/rules @@ -2,6 +2,22 @@ # debian/rules for zsnes # 2001-2005 Aaron Lehmann # 2006 Joshua Kwan +# 2007 William Pitcock + +# XXX: ugly hack to avoid FTBFS on amd64 with ia32-libs binary. +# XXX: bork bork bork! this at least allows it to build. this one is a bug in ia32-libs tho. +ifeq ($(DEB_HOST_ARCH),amd64) + CFLAGS = -m32 + ifneq ($(shell test -e /usr/lib32/libSDL.so && echo ok),ok) + MAKE_LINKS = mkdir -p lib \ + && ln -sf /usr/lib32/libao.so.2 lib/libao.so \ + && ln -sf /usr/lib32/libSDL-1.2.so.0 lib/libSDL.so \ + && ln -sf /usr/lib32/libGL.so.1 lib/libGL.so \ + && ln -sf /usr/lib32/libpng12.so.0 lib/libpng.so + LDFLAGS = -L../lib -L/usr/lib32 + endif +endif + patch-stamp: dpatch apply-all @@ -15,7 +31,8 @@ build-stamp: dh_testdir - cd src && ./configure --enable-opengl --disable-cpucheck --enable-release --disable-debugger --enable-libao force_arch=i486 && $(MAKE) + $(MAKE_LINKS) + cd src && CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --enable-opengl --disable-cpucheck --enable-release --disable-debugger --enable-libao force_arch=i486 && $(MAKE) touch $@ diff -u zsnes-1.510/debian/zsnes.desktop zsnes-1.510/debian/zsnes.desktop --- zsnes-1.510/debian/zsnes.desktop +++ zsnes-1.510/debian/zsnes.desktop @@ -2,8 +2,9 @@ -Encoding=UTF-8 -Name=zsnes -Comment=A Super Nintendo Entertainment System (TM) emulator +Name=ZSNES Emulator +Name[ru_RU]=Эмулятор ZSNES +Comment=Play Super Nintendo (SNES) games +Comment[ru_RU]=Запуск игр для Super Nintendo (SNES) Exec=zsnes -Icon=zsnes.xpm +Icon=zsnes Terminal=false Type=Application -Categories=Application;Game;2DGraphics;Emulator +Categories=Game;Emulator; diff -u zsnes-1.510/debian/control zsnes-1.510/debian/control --- zsnes-1.510/debian/control +++ zsnes-1.510/debian/control @@ -4,15 +4,15 @@ -Maintainer: Joshua Kwan -Build-Depends: debhelper (>= 4), nasm, libsdl1.2-dev (>= 1.2.2-3.1), zlib1g-dev, sharutils, xutils, libpng12-dev | libpng-dev, xlibmesa-gl-dev, dpatch, libao-dev +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Joshua Kwan +Build-Depends: debhelper (>= 4), nasm, libsdl1.2-dev (>= 1.2.2-3.1), zlib1g-dev, sharutils, xutils, libpng12-dev | libpng-dev, xlibmesa-gl-dev, dpatch, libao-dev, ia32-libs [amd64], lib32z1-dev [amd64], lib32stdc++6 [amd64], gcc-multilib [amd64], g++-multilib [amd64] Standards-Version: 3.7.3 Package: zsnes -Architecture: i386 +Architecture: i386 amd64 Depends: ${shlibs:Depends} -Description: Emulator of the Super Nintendo Entertainment System (TM) - ZSNES allows you to play classic games written for the "SNES" game - console on a GNU/Linux system. It supports advanced features such as +Description: Emulator of the Super Nintendo Entertainment System + ZSNES allows you to play classic games written for the Super Nintendo (SNES) + game console on a GNU/Linux system. It supports advanced features such as multiplayer gameplay over a TCP/IP network. . - Please note that many separately-available games playable under this - emulator are non-free. See /usr/share/doc/zsnes/README.Debian for more - information. + Please note that many separately-available games playable under this emulator + are non-free. See /usr/share/doc/zsnes/README.Debian for more information. diff -u zsnes-1.510/debian/changelog zsnes-1.510/debian/changelog --- zsnes-1.510/debian/changelog +++ zsnes-1.510/debian/changelog @@ -1,3 +1,13 @@ +zsnes (1.510-2ubuntu1) hardy; urgency=low + + * Build amd64 package on Ubuntu (thanks to William Pitcock). + * New .desktop file. + * Fix some inaccuracies in deb-control file. + * Reassign maintainership to Ubuntu MOTU team due to local changes, + and follow DebianMaintainer spec. + + -- Kirill Chunaev Wed, 13 Feb 2008 17:53:40 +0300 + zsnes (1.510-2) unstable; urgency=low * Acknowledge NMU, closes: #447366