s. hier:
http://ubuntuforums.org/showthread.php?t=749793
Die wesentlichen Schritte:
We will compile projectM with libvisual and pulseaudio support. First thing we will need to do is install the dependencies:
With the dependencies in place, it's time to download the source:
NOTE: Svn can take a long time to fetch all the code, so be patient while it downloads.
When it has finished, change to the source directory:
ProjectM does NOT use autoconf, so there is no ./configure to do, we will use cmake instead:
NOTE: See the '.' above? That's important! You must include it in your command or it won't work.
Now cmake will load. Press "c" to configure projectM. Highlight the CMAKE_BUILD_TYPE field, press enter and type "Release" there. Press enter again. Then highlight the CMAKE_INSTALL_PREFIX field and change /usr/local to /usr/. Then press "c" again to configure it with those parameters. If you want to use projectM with jack or xmms, you will need to hunt down the dependencies for these on your own, they aren't covered here (yet?).
NOTE: If you run into dependency problems when trying to configure cmake, it can usually be solved by doing "rm CMakeCache.txt" in the src directory.
Now that cmake has got it's configuration right, press "g" to generate a makefile and exit.
Then it's a simple:
NOTE: If you get build errors, please see the build errors section at the bottom of the guide.
Great! ProjectM should be installed.
NOTE: I used to suggest testing projectm with projectm-test or projectm-test-texture here, but it really isn't necessary unless you are a developer or debugging and in which case already know what you are doing. There used to be an issue with projectm-test where it locked up the mouse cursor, but I think this is fixed in the latest svn. Either way there isn't really any need for a normal user to run either of these commands anyway.
Now that it's working, you can finally use projectM with some music! Put a good tune on (I recommend some pink floyd) go to applications/sound and video and click on projectm-pulseaudio.
NOTE: You can also run it from a terminal using:
NOTE 2: The first time I tried it, my fonts looked disgusting. This is due to a bug in qt4, so you may want to check out the workaround here.
Woo! We have funky visuals! Now on to...
Usage:
You can launch projectM-pulseaudio from the terminal or from the gnome menu under sound and video.
Controls (these are listed in the menu under "hotkeys":
m - brings up a menu
f - toggles fullscreen on/off
l - "locks" to a particular preset
y - toggles shuffle mode
n - next preset
p - previous preset
r - selects random preset
F1 - Help menu
F2 - Toggles song title on/off (doesn't work in libvisual or pulseaudio as far as I can tell)
F3 - Toggle preset name on/off
F4 - Toggel rendering info on/off
F5 - Shows fps
http://ubuntuforums.org/showthread.php?t=749793
Die wesentlichen Schritte:
We will compile projectM with libvisual and pulseaudio support. First thing we will need to do is install the dependencies:
With the dependencies in place, it's time to download the source:
Code:
cd ~
mkdir projectm
cd projectm
svn co https://projectm.svn.sf.net/svnroot/projectm/trunk projectM-Trunk
NOTE: Svn can take a long time to fetch all the code, so be patient while it downloads.
When it has finished, change to the source directory:
Code:
cd projectM-Trunk/src
Code:
ccmake .
NOTE: See the '.' above? That's important! You must include it in your command or it won't work.
Now cmake will load. Press "c" to configure projectM. Highlight the CMAKE_BUILD_TYPE field, press enter and type "Release" there. Press enter again. Then highlight the CMAKE_INSTALL_PREFIX field and change /usr/local to /usr/. Then press "c" again to configure it with those parameters. If you want to use projectM with jack or xmms, you will need to hunt down the dependencies for these on your own, they aren't covered here (yet?).
NOTE: If you run into dependency problems when trying to configure cmake, it can usually be solved by doing "rm CMakeCache.txt" in the src directory.
Now that cmake has got it's configuration right, press "g" to generate a makefile and exit.
Then it's a simple:
Code:
make && sudo make install
Great! ProjectM should be installed.
NOTE: I used to suggest testing projectm with projectm-test or projectm-test-texture here, but it really isn't necessary unless you are a developer or debugging and in which case already know what you are doing. There used to be an issue with projectm-test where it locked up the mouse cursor, but I think this is fixed in the latest svn. Either way there isn't really any need for a normal user to run either of these commands anyway.
Now that it's working, you can finally use projectM with some music! Put a good tune on (I recommend some pink floyd) go to applications/sound and video and click on projectm-pulseaudio.
NOTE: You can also run it from a terminal using:
Code:
projectM-pulseaudio
Woo! We have funky visuals! Now on to...
Usage:
You can launch projectM-pulseaudio from the terminal or from the gnome menu under sound and video.
Controls (these are listed in the menu under "hotkeys":
m - brings up a menu
f - toggles fullscreen on/off
l - "locks" to a particular preset
y - toggles shuffle mode
n - next preset
p - previous preset
r - selects random preset
F1 - Help menu
F2 - Toggles song title on/off (doesn't work in libvisual or pulseaudio as far as I can tell)
F3 - Toggle preset name on/off
F4 - Toggel rendering info on/off
F5 - Shows fps
Code:
sudo aptitude install libglew1.5 libglew1.5-dev ftgl-dev libpulse-dev subversion cmake libvisual-0.4-dev libsdl-dev libqt4-dev build-essential
Kommentare
Is this possible?