LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > jere21
User Name
Password

Notices


Rate this Entry

Make performous Debian packages from current developer source code

Posted 08-17-2010 at 12:31 PM by jere21
Updated 02-17-2011 at 03:01 AM by jere21

Built the package locally
This uses the official Debian packaging statically.
  1. Change to your working directory and remember it
    Code:
    DIR="$(pwd)"
  2. Clone upstream git repository
    Code:
    cd $DIR
    git clone git://git.performous.org/gitroot/performous/performous
  3. 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
    Create debian branch
    Code:
    git branch debian
  4. 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"
  5. Build Debian package
    Code:
    cd $DIR/performous
    git-buildpackage
    If this fails, probably some build-dependencies are not installed. Something like this:
    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.
    Install them manually or with
    Code:
    sudo apt-get build-dep -y performous
  6. Update
    Set DIR to the correct value again, then do
    Code:
    cd $DIR/performous
    git pull
    and repeat steps 4 and 5.

When new Debian packages are available, we will return to the official packages automatically. In order to return to the locally built development versions the Debian packaging needs to be updated.

Import songs
  1. Get them from original singstar DVDs
    Code:
    some ssextract command
  2. 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
  1. Enable (only) the original dual usb singstar micros :
    Code:
    performous --mics alsa:hw:default,0
    --> saving the config in performous then gives:
    ~/.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>
  2. Activate micro:
    [Gnome] Volume Control: USBMIC Serial# 082480410 (Alsa Mixer):
    Recording - Microphone: choose appropriate sound level
  3. 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)
Posted in Uncategorized
Views 1702 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 08:24 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration