--- yabause-0.9.7.orig/debian/yabause-qt.prerm +++ yabause-0.9.7/debian/yabause-qt.prerm @@ -0,0 +1,12 @@ +#!/bin/sh -e + +if [ "$1" = "remove" ] || [ "$1" = upgrade ]; then + update-alternatives --remove yabause /usr/bin/yabause-qt +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- yabause-0.9.7.orig/debian/control +++ yabause-0.9.7/debian/control @@ -0,0 +1,65 @@ +Source: yabause +Section: utils +Priority: optional +Maintainer: Debian Games Team +Uploaders: Evgeni Golov +Build-Depends: debhelper (>= 6), autotools-dev, pkg-config, quilt (>= 0.40), + freeglut3-dev, libgl1-mesa-dev, libglu1-mesa-dev, libsdl1.2-dev, + libglib2.0-dev, libgtk2.0-dev, libgtkglext1-dev, + libqt4-dev, libqt4-opengl-dev +Standards-Version: 3.8.0 +Homepage: http://yabause.org +Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/yabause/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/yabause/ + +Package: yabause +Architecture: all +Depends: yabause-qt | yabause-gtk +Description: Yet Another Buggy And Uncomplete Saturn Emulator + Yabause is a Sega Saturn emulator. It has the following features: + * booting games from CD-ROM and ISO files + * booting games with either an emulated or original BIOS + * screenshot support + * savegame backups + * cheat system + * fullscreen playing + * multiple debugging options + * joystick support + * region select + . + This package is a metapackage, which installs either the Qt or the Gtk + version of Yabause. + +Package: yabause-gtk +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Yet Another Buggy And Uncomplete Saturn Emulator - Gtk port + Yabause is a Sega Saturn emulator. It has the following features: + * booting games from CD-ROM and ISO files + * booting games with either an emulated or original BIOS + * screenshot support + * savegame backups + * cheat system + * fullscreen playing + * multiple debugging options + * joystick support + * region select + . + This package contains the Gtk version of Yabause. + +Package: yabause-qt +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Yet Another Buggy And Uncomplete Saturn Emulator - Qt port + Yabause is a Sega Saturn emulator. It has the following features: + * booting games from CD-ROM and ISO files + * booting games with either an emulated or original BIOS + * screenshot support + * savegame backups + * cheat system + * fullscreen playing + * multiple debugging options + * joystick support + * region select + . + This package contains the Qt version of Yabause. --- yabause-0.9.7.orig/debian/README.Debian +++ yabause-0.9.7/debian/README.Debian @@ -0,0 +1,23 @@ +Yabause for Debian +================== + +1. Do I need a BIOS? +-------------------- +Yabause usually can emulate the Sega Saturn BIOS quite well, so you can play +games without specifying a BIOS file in the preferences. +However there are games which will need an original BIOS from a Sega Saturn. +As this one is non-free, it cannot be shipped inside this package and you will +need to obtain one by yourself. + +2. Where can I get games? +------------------------- +If you have original Sega Saturn games, you can play them directly from CD-ROM. +You also can get many free games on the Internet. Rockin-B has some of those +on his homepage [1][2], but they seem to be only free as in beer. If you want +free as in speech games, you can obtain some under the GPL from SSMTF [3]. + +[1] http://rockin-b.de/saturn.html +[2] http://rockin-b.de/c4-2005-cd.html +[3] http://vieille.merde.free.fr/ + + -- Evgeni Golov Wed, 09 Jul 2008 09:37:54 +0200 --- yabause-0.9.7.orig/debian/watch +++ yabause-0.9.7/debian/watch @@ -0,0 +1,4 @@ +version=3 +http://sf.net/yabause/yabause-(.*)\.tar\.gz + + --- yabause-0.9.7.orig/debian/yabause-gtk.postinst +++ yabause-0.9.7/debian/yabause-gtk.postinst @@ -0,0 +1,15 @@ +#!/bin/sh -e + +if [ "$1" = configure ]; then + update-alternatives --install /usr/bin/yabause \ + yabause /usr/bin/yabause-gtk 40 \ + --slave /usr/share/man/man1/yabause.1.gz \ + yabause.1.gz /usr/share/man/man1/yabause-gtk.1.gz +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- yabause-0.9.7.orig/debian/yabause-gtk.prerm +++ yabause-0.9.7/debian/yabause-gtk.prerm @@ -0,0 +1,12 @@ +#!/bin/sh -e + +if [ "$1" = "remove" ] || [ "$1" = upgrade ]; then + update-alternatives --remove yabause /usr/bin/yabause-gtk +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- yabause-0.9.7.orig/debian/rules +++ yabause-0.9.7/debian/rules @@ -0,0 +1,122 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) + CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else + CROSS= --build $(DEB_BUILD_GNU_TYPE) +endif + +config-common: patch + dh_testdir +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + +config-gtk: config-stamp-gtk +config-stamp-gtk: config-common + dh_testdir + ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info --with-port=gtk \ + CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs -Wl,--as-needed" + touch $@ + +config-qt: config-stamp-qt +config-stamp-qt: config-common + dh_testdir + ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info --with-port=qt \ + CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs -Wl,--as-needed" + touch $@ + +build-gtk: build-stamp-gtk +build-stamp-gtk: config-gtk + dh_testdir + $(MAKE) + touch $@ + +build-qt: build-stamp-qt +build-stamp-qt: config-qt + dh_testdir + $(MAKE) + touch $@ + +build: build-gtk build-qt + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp-gtk build-stamp-qt config-stamp-gtk config-stamp-qt + + [ ! -f Makefile ] || $(MAKE) distclean + [ ! -f src/qt/Makefile ] || $(MAKE) -C src/qt distclean + [ ! -f src/gtk/Makefile ] || $(MAKE) -C src/gtk distclean + rm -f config.sub config.guess + + dh_clean + +install: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # install yabause-gtk + install -D src/gtk/yabause $(CURDIR)/debian/yabause-gtk/usr/bin/yabause-gtk + install -D doc/yabause.1 $(CURDIR)/debian/yabause-gtk/usr/share/man/man1/yabause-gtk.1 + install -D src/gtk/yabause.desktop $(CURDIR)/debian/yabause-gtk/usr/share/applications/yabause-gtk.desktop + install -D -m 0644 src/gtk/yabause.png $(CURDIR)/debian/yabause-gtk/usr/share/pixmaps/yabause-gtk.png + sed -i -e 's,yabause,yabause-gtk,' $(CURDIR)/debian/yabause-gtk/usr/share/applications/yabause-gtk.desktop + + # install yabause-qt + install -D src/qt/yabause $(CURDIR)/debian/yabause-qt/usr/bin/yabause-qt + install -D doc/yabause.1 $(CURDIR)/debian/yabause-qt/usr/share/man/man1/yabause-qt.1 + install -D src/qt/yabause.desktop $(CURDIR)/debian/yabause-qt/usr/share/applications/yabause-qt.desktop + install -D -m 0644 src/qt/resources/icons/yabause.png $(CURDIR)/debian/yabause-qt/usr/share/pixmaps/yabause-qt.png + sed -i -e 's,yabause,yabause-qt,' $(CURDIR)/debian/yabause-qt/usr/share/applications/yabause-qt.desktop + +# Build architecture-independent files here. +binary-indep: + dh_testdir + dh_testroot + dh_clean -i -k + dh_installchangelogs -i + dh_installdocs -i + dh_compress -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs -a ChangeLog + dh_installdocs -a + dh_installman -a + dh_desktop -a + dh_link -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- yabause-0.9.7.orig/debian/copyright +++ yabause-0.9.7/debian/copyright @@ -0,0 +1,151 @@ +Upstream-Author: Theo Berkau, Guillaume Duhamel, Fabien Coulon +Packaged-By: Evgeni Golov +Packaged-Date: Sun, 25 May 2008 13:06:03 +0200 +Original-Source-Location: http://sourceforge.net/projects/yabause/ + +Files: * +Copyright: © 2004-2008 Theo Berkau, 2003-2008 Guillaume Duhamel, + 2005-2006 Fabien Coulon +License: GPL-2+ + +Files: src/{cdbase.*,cd-linux.c,cd-freebsd.c,cd-netbsd.c} +Copyright: © 2004-2008 Theo Berkau, 2004-2006 Guillaume Duhamel, + 2005 Joost Peters +License: GPL-2+ + +Files: src/cd-macosx.c +Copyright: © 2005 Weston Yager, 2006-2008 Guillaume Duhamel, + 2004-2005 Theo Berkau, 2004-2005 Lucas Newman +License: GPL-2+ + +Files: src/cs0.c +Copyright: © 2006 Ex-Cyber, 2005 Guillaume Duhamel, 2004-2005 Theo Berkau +License: GPL-2+ + +Files: src/profile.* +Copyright: © Patrick Kooman, 2002 +License: other + The header of these files says "You are free to use, modify, + re-distribute this code.", which wasn't enough in my understanding, + so I asked Patrick about it. This is what I got as a reply: + . + From: "Patrick Kooman" + To: "Evgeni Golov" + Subject: Re: license of your profile.(c|h) + Date: Mon, 30 Jun 2008 15:43:27 +0200 + . + [...]feel free to use the code like you'd use any MIT licensed stuff[...] + +Files: src/scsp.c +Copyright: © 2004 Stephane Dallongeville, 2004-2007 Theo Berkau, + 2006 Guillaume Duhamel +License: GPL-2+ + +Files: src/scsp.h +Copyright: © 2004 Stephane Dallongeville, 2004-2006 Theo Berkau +Lincense: GPL-2+ + +Files: src/sh2d.c +Copyright: © 2000 Bart Trzynadlowski +License: PD + +Files: src/sh2idle.c +Copyright: © 2005-2006 Fabien Coulon +License: GPL-2+ + +Files: src/sh2int.c +Copyright: © 2004-2007 Theo Berkau, 2003-2005 Guillaume Duhamel, + 2005 Fabien Coulon +License: GPL-2+ + +Files: src/{vidogl.c,vdp1.c} +Copyright: © 2003-2006 Guillaume Duhamel, 2004-2007 Theo Berkau, + 2004 Lawrence Sebald +License: GPL-2+ + +Files: src/vidsoft.c +Copyright: © 2006 Fabien Coulon, 2004-2008 Theo Berkau, + 2003-2004 Guillaume Duhamel +License: GPL-2+ + +Files: src/yabause.* +Copyright: © 2006 Anders Montonen, 2004-2006 Theo Berkau, + 2003-2005 Guillaume Duhamel +License: GPL-2+ + +Files: src/carbon/{settings.c,main.c} +Copyright: © 2006 Anders Montonen, 2006 Guillaume Duhamel +License: GPL-2+ + +Files: src/carbon/cpustatus.* +Copyright: © 2006 Anders Montonen +License: GPL-2+ + +Files: src/carbon/build_dmg.sh +Copyright: © 2007 Anders Montonen, 2006 Lawrence Sebald, + 2006 Guillaume Duhamel +License: GPL-2+ + +Files: src/c68k/{c68kexec.c,gen68k.c,c68k.c} +Copyright: © 2003-2004 Stephane Dallongeville +License: GPL-2+ + +Files: src/c68k/{c68k.h,gen68k.h} +Copyright: © 2004 Theo Berkau, 2003-2004 Stephane Dallongeville +License: GPL-2+ + +Files: src/dreamcast/localtime.c +Copyright: none +License: PD + Derived from code in the public domain, see + http://yabause.cvs.sourceforge.net/yabause/yabause/src/dreamcast/localtime.c?revision=1.2&view=markup + for details. + +Files: src/dreamcast/yui.c +Copyright: © 2004-2008 Lawrence Sebald, 2003 Guillaume Duhamel +License: GPL-2+ + +Files: src/dreamcast/viddc.c +Copyright: © 2006 Fabien Coulon, 2003-2006 Guillaume Duhamel, + 2004-2006 Theo Berkau, 2004-2007 Lawrence Sebald +License: GPL-2+ + +Files: src/dreamcast/{perdc.*,viddc.h} +Copyright: © 2005-2008 Lawrence Sebald +License: GPL-2+ + +Files: src/gtk/main.c +Copyright: © 2006 Fabien Coulon, 2006 Guillaume Duhamel, 2005 Joost Peters +License: GPL-2+ + +Files: src/qt/{Settings.*,UIAbout.*,UIYabause.*,UISettings.*, + YabauseThread.*,QtYabause.*,YabauseGL.*,PerQt.*,main.*}, + src/persdljoy.c +Copyright: © 2005-2006 Theo Berkau, + 2008 Filipe Azevedo , 2005 Guillaume Duhamel +License: GPL-2+ + +Files: src/qt/{CommonDialogs.*,UICheatRaw.*,UIWaitInput.*,UIBackupRam.*, + UICheatAR.*,UICheats.*},src/qt/scripts/yabause_dmg.sh +Copyright: © 2008 Filipe Azevedo +License: GPL-2+ + +Files: src/qt/mkspecs/win32-{osx,x11}-g++/qplatformdefs.h +Copyright: © 1992-2007 Trolltech ASA +License: GPL-2 + +Files: src/windows/{yui.c,yuidebug.c} +Copyright: © 2004-2008 Theo Berkau, 2004 Guillaume Duhamel, + 2005 Joost Peters +License: GPL-2+ + +Files: src/windows/cd.h, src/cd-windows.c +Copyright: © 2004-2005 Theo Berkau, 2005 Joost Peters +License: GPL-2+ + +Files: debian/* +Copyright: © 2008 Evgeni Golov +License: GPL-2+ + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. --- yabause-0.9.7.orig/debian/compat +++ yabause-0.9.7/debian/compat @@ -0,0 +1 @@ +6 --- yabause-0.9.7.orig/debian/yabause-qt.postinst +++ yabause-0.9.7/debian/yabause-qt.postinst @@ -0,0 +1,15 @@ +#!/bin/sh -e + +if [ "$1" = configure ]; then + update-alternatives --install /usr/bin/yabause \ + yabause /usr/bin/yabause-qt 50 \ + --slave /usr/share/man/man1/yabause.1.gz \ + yabause.1.gz /usr/share/man/man1/yabause-qt.1.gz +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- yabause-0.9.7.orig/debian/changelog +++ yabause-0.9.7/debian/changelog @@ -0,0 +1,20 @@ +yabause (0.9.7-1) unstable; urgency=low + + * New upstream release. + + Drop patches/updates_from_cvs_since_0.9.6.patch. + + -- Evgeni Golov Thu, 04 Sep 2008 00:05:47 +0200 + +yabause (0.9.6-2) unstable; urgency=low + + * Import some changes from upstream CVS to improve stability and the GUI. + + Use quilt for handling this patch. + + Add README.Debian about quilt-usage. + + -- Evgeni Golov Fri, 08 Aug 2008 21:45:46 +0200 + +yabause (0.9.6-1) unstable; urgency=low + + * Initial release (Closes: #483124) + + -- Evgeni Golov Wed, 09 Jul 2008 09:37:54 +0200 --- yabause-0.9.7.orig/debian/README.source +++ yabause-0.9.7/debian/README.source @@ -0,0 +1,2 @@ +This package uses quilt for patch management, for more information see +the file /usr/share/doc/quilt/README.source in the quilt package.