Make performous Debian packages from current developer source code
Tags debian, microphone, performous, singstar, squeeze
Built the package locally
This uses the official Debian packaging statically.
Import songs
Configuration
Original problems:
Note
duet mode currently not supported by performous (see docs/TODO.txt)
This uses the official Debian packaging statically.
- Change to your working directory and remember it
Code:DIR="$(pwd)"
- Clone upstream git repository
Code:cd $DIR git clone git://git.performous.org/gitroot/performous/performous
- Tell git-buildpackage where the upstream branch is
Code:cd $DIR/performous/ cat <<EOF > .git/gbp.conf [DEFAULT] # this is the upstream branch: upstream=origin EOF
Code:git branch debian
- Switch to debian branch, add Debian's debian/ directory and slightly increase version number
Code:cd $DIR/performous git checkout debian cd $DIR svn co svn://svn.debian.org/svn/pkg-games/packages/trunk/performous/ cd $DIR/performous dch -lgit built from upstream git code git add . git commit -m"Added official Debian packaging"
- Build Debian package
Code:cd $DIR/performous git-buildpackage
Code:dpkg-checkbuilddeps: Unmet build dependencies: libsdl1.2-dev libavcodec-dev libavformat-dev libswscale-dev libpulse-dev portaudio19-dev dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
Code:sudo apt-get build-dep -y performous
- Update
Set DIR to the correct value again, then do
Code:cd $DIR/performous git pull
Import songs
- Get them from original singstar DVDs
Code:some ssextract command
- Fix video name
Code:eval find SingStar -name notes.txt -exec sed -i 's|VIDEO:video.m4v|VIDEO:video.mpg|' '{}' ';'
Configuration
Original problems:
- 4 micros are shown, although none/only 2 are connected
- audio capture doesn't work correctly
- Enable (only) the original dual usb singstar micros :
Code:performous --mics alsa:hw:default,0
~/.config/performous/config.xml:
Code:<?xml version="1.0" encoding="UTF-8"?> <performous> <entry name="audio/capture" type="string_list"> <stringvalue>alsa:hw:default,0</stringvalue> </entry> [...] </performous>
- Activate micro:
[Gnome] Volume Control: USBMIC Serial# 082480410 (Alsa Mixer):
Recording - Microphone: choose appropriate sound level - Use songs:
Code:ln -s /home/user/folder /usr/local/share/games/ultrastar/songs/
Note
duet mode currently not supported by performous (see docs/TODO.txt)
Total Comments 0