debian/0000755000000000000000000000000012073125305007164 5ustar debian/README.Debian0000644000000000000000000000113211340222034011213 0ustar Due to license restrictions no songs are distributed with the Debian package. If you know any appropriately licensed songs, please let us know. Downloaded songs have to be put into /usr/share/fofix/data/songs/. Upstream is currently working on implementing more than one configurable directories. Good resources to get help and songs for this game are: * The unofficial FretsOnFire Forum at http://www.fretsonfire.net * The FretsOnFire Wiki at http://fretsonfire.wikidot.com/ The above sites also feature tutorials how to make your own fofix songs from existing mp3 files and guitar/drum tabs. debian/fofix.desktop0000644000000000000000000000015511340207141011666 0ustar [Desktop Entry] Name=FoFiX Exec=/usr/games/fofix Icon=fofix Terminal=false Type=Application Categories=Game; debian/fofix.60000644000000000000000000000615211340207141010365 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH FOFIX 6 "October 4, 2009" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME fofix \- Rock Band(tm)-like OpenGL rhythm game .SH SYNOPSIS .B fofix .RI [ options ] .SH DESCRIPTION .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBfofix\fP (Frets on Fire X) is a rhythm game in the style of Guitar Hero(tm) and Rock Band(tm). It supports the simulation of playing guitar, bass guitar, and drums and supports vocal input using a microphone. More than one player can play, cooperatively or competitively. \fBfofix\fP is written in Python using pygame and OpenGL. .SH OPTIONS This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. .TP \fB\-h\fP, \fB\-\-help\fP Show summary of options. .TP \fB\-v\fP, \fB\-\-verbose\fP Outputs log to stdout in addition to the usual logfile. .TP \fB\-d\fP, \fB\-\-debug\fP Writes debugging information to a debug file. .TP \fB\-c\fP, \fB\-\-config\fP=\fIFILE\fP Specifies a configuration file to use instead of the usual one. .TP \fB\-f\fP, \fB\-\-fullscreen\fP=\fI[true|false]\fP Specify whether the game runs in fullscreen mode. .TP \fB\-r\fP, \fB\-\-resolution\fP=\fIRESOLUTION\fP Specify the resolution used by the game. .TP \fB\-t\fP, \fB\-\-theme\fP=\fITHEME\fP Specifies the theme to use. .TP \fB\-s\fP, \fB\-\-song\fP=\fISONGDIR\fP Skips the menu and just starts gameplay using the song present in SONGDIR. .P The following settings only apply if a song is specified: .TP \fB\-l\fP, \fB\-\-diff\fP=\fIDIFFICULTY\fP Specifies the difficulty to use. 0: Expert, 1: Hard, 2: Medium, 3: Easy .TP \fB\-p\fP, \fB\-\-part\fP=\fIPART\fP Specifies the part to use. 0: Guitar, 1: Rhythm, 2: Bass, 3: Lead, 4: Drum, 5: Vocals .TP \fB\-m\fP, \fB\-\-mode\fP=\fIMODE\fP Specifies the game mode to use. 0: Quickplay, 1: Practice, 2: Career .SH ENVIRONMENT .TP .B PYTHON Specifies the .BR python (1) binary used to run the game. .TP .B FOFIX_PYTHON_FLAGS Specifies extra options for .BR python (1). Defaults to \fB-OO\fP. .SH SEE ALSO .BR fretsonfire (6), .BR python (1). .SH AUTHOR FoFiX was forked from a project developed by Sami Kyöstilä, Joonas Kerttula, and Tommi Inkilä and is now developed by Chris Paiano, Pascal Giard, Tom Skinner, John Stumpo, Nicholas Hydock, Harris Worthington, and many others. .PP This manual page was written by John Stumpo , for the Debian project (and may be used by others). debian/fofix.menu0000644000000000000000000000020711340207141011157 0ustar !C menu-2 ?package(fofix): needs="X11" section="Games/Action" title="fofix" command="/usr/games/fofix" ; debian/README.source0000644000000000000000000000122511340214713011341 0ustar == Patches == This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. See /usr/share/doc/quilt/README.source for a detailed explanation. == Dependencies == The original unofficial package had a dependency to python-pygame (>= 1.9) but only 1.8 is currently in Debian unstable. -- 2010-02-20, ch@debian.org == License Issues == According to doc/copyright "Distribution, modification or commercial usage of the songs is not allowed." due to which the tutorial/bangbang had to be removed from the orig.tar.gz. -- 2010-02-21, ch@debian.org debian/fofix.dirs0000644000000000000000000000006711340207141011160 0ustar usr/games usr/share/pixmaps usr/share/fofix/data/songs debian/compat0000644000000000000000000000000211340207141010355 0ustar 7 debian/rules0000755000000000000000000000173711340220347010252 0ustar #!/usr/bin/make -f # -*- makefile -*- export DH_VERBOSE=1 include /usr/share/quilt/quilt.make build: build-stamp build-stamp: $(QUILT_STAMPFN) dh_testdir clean: unpatch dh_testdir dh_testroot dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs install -m0755 debian/fofix.sh debian/fofix/usr/games/fofix install -m0644 svg/fofix_icon.svg debian/fofix/usr/share/pixmaps/fofix.svg binary-arch: install # We have nothing to do by default. binary-indep: install dh_testdir dh_testroot dh_installchangelogs doc/changelog.txt dh_installdocs dh_install dh_installmenu dh_pysupport dh_installman debian/fofix.6 dh_compress # Upstream tarball had x permission for most files find debian/fofix/ -type f -print0 | xargs -0 chmod a-x chmod +x debian/fofix/usr/games/fofix dh_fixperms dh_installdeb dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install patch unpatch debian/copyright0000644000000000000000000000335311340207141011116 0ustar This package was debianized by John Stumpo on Wed, 30 Sep 2009 00:47:11 -0400. It was downloaded from: http://fofix.googlecode.com/files/fofix-3.120.tar.gz Upstream Authors: Original Frets on Fire: Sami Kyöstilä Joonas Kerttula Tommi Inkilä Frets on Fire X: Chris Paiano Pascal Giard Tom Skinner John Stumpo Nicholas Hydock Harris Worthington and many others... Copyright: Copyright (C) 2006-2007 Unreal Voodoo Copyright (C) 2008-2009 FoFiX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License with the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; if not, write to the Free Software Foundation, Inc., 51 Franklin St., Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the complete text of the GNU General Public License can be found in the file `/usr/share/common-licenses/GPL'. The Debian packaging is copyright 2009, John Stumpo and is licensed under the GPL version 2 or later; see above. debian/control0000644000000000000000000000163611376463502010606 0ustar Source: fofix-dfsg Section: games Priority: optional Maintainer: Christian Hammers Build-Depends: debhelper (>= 7), python-support, quilt Standards-Version: 3.8.4 Homepage: http://code.google.com/p/fofix/ Package: fofix Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python (>= 2.5) | python-pysqlite2, python-pygame (>= 1.8), python-opengl, python-imaging, python-numpy Recommends: python-ogg, python-pyvorbis, python-pyaudio Suggests: python-psyco Description: rhythm game in the style of Rock Band(tm) and Guitar Hero(tm) FoFiX (Frets on Fire X) is a fork of Frets on Fire with many added features. The object of the game is to accurately play guitar, bass, or drums using the keyboard (or guitar and drum controllers from Guitar Hero(tm) and Rock Band(tm)) and to sing lyrics as accurately as possible. Many different single-player and multi-player game modes are available. debian/fofix.sh0000644000000000000000000000014511340207141010626 0ustar #!/bin/sh -e cd /usr/share/fofix/src exec ${PYTHON:-python} ${FOFIX_PYTHON_FLAGS:--OO} FoFiX.py "$@" debian/changelog0000644000000000000000000000225612073125305011043 0ustar fofix-dfsg (3.121-3) unstable; urgency=low * Removed Debian specific no_numeric_module patch as it introduced bugs and the program runs fine without it. Thanks to Alessio Gaeta. Closes: #696641 -- Christian Hammers Wed, 09 Jan 2013 00:24:42 +0100 fofix-dfsg (3.121-2) unstable; urgency=low * Removed architecture tag [amd64] from python-pygame dependency as this was not policy compliant for an architecture all package. Was not necessary for the current version anyway. Also removed architecture tag from Suggests. Closes: #581305 * Adjusted debian/watch for current code.google.com page. -- Christian Hammers Mon, 24 May 2010 13:23:10 +0200 fofix-dfsg (3.121-1) unstable; urgency=low * First Debian release based on the unofficial package by John Stumpo. Closes: #525986 * New upstream release. * Lowered dependency to python-pygame to 1.8 as 1.9 is not yet in unstable. * Switch to dpkg-source 3.0 (quilt) format -- Christian Hammers Sun, 21 Feb 2010 12:09:32 +0100 fofix (3.120-1) unstable; urgency=low * Initial release -- John Stumpo Wed, 05 Oct 2009 00:47:11 -0400 debian/fofix.install0000644000000000000000000000017111340207141011661 0ustar data CREDITS usr/share/fofix src/*.py src/*.pot src/midi usr/share/fofix/src debian/fofix.desktop usr/share/applications debian/patches/0000755000000000000000000000000012073125266010621 5ustar debian/patches/series0000644000000000000000000000002612073125250012025 0ustar player-cache-location debian/patches/player-cache-location0000644000000000000000000000220311340217300014667 0ustar # # Modified cache and stats files belong to $HOME not /usr/share/fofix # --- old/src/Player.py 2009-10-04 19:55:41.000000000 -0400 +++ old/src/Player.py 2009-10-04 20:11:17.000000000 -0400 @@ -31,6 +31,7 @@ import Scorekeeper import os import sys +import shutil from Language import _ #import Dialogs import Microphone #stump @@ -230,6 +231,19 @@ controlpath = os.path.join("..",controlpath) playerpath = os.path.join("..",playerpath) +#stump: permission fix for read-only system-wide installation +if not os.path.isfile(os.path.join(playerpath, 'FoFiX-players.cache')): + baseuserpath = os.path.join(Resource.getWritableResourcePath(), 'users') + newcontrolpath = os.path.join(baseuserpath, 'controllers') + newplayerpath = os.path.join(baseuserpath, 'players') + for old, new in [(controlpath, newcontrolpath), (playerpath, newplayerpath)]: + if not os.path.isdir(new): + os.makedirs(new) + for f in os.listdir(old): + shutil.copy(os.path.join(old, f), os.path.join(new, f)) + controlpath = newcontrolpath + playerpath = newplayerpath + control0 = None control1 = None control2 = None debian/watch0000644000000000000000000000033711376462247010236 0ustar version=3 opts=\ downloadurlmangle=s|.*[?]name=(.*?)&.*|http://fofix.googlecode.com/files/$1|,\ filenamemangle=s|[^/]+[?]name=(.*?)&.*|$1| \ http://code.google.com/p/fofix/downloads/detail[?]name=fofix-([0-9.]+).tar.gz&.* debian/source/0000755000000000000000000000000011340212153010456 5ustar debian/source/format0000644000000000000000000000001411351442414011673 0ustar 3.0 (quilt)