Friday, August 22, 2008

Howto Kiba-Dock With Physics

This howto is heavily based on this one. The difference is mattgaunt's tutorial shows how to compile the latest version, which doesn't include physics because of a bad implementation and my tutorial shows how to compile the last version that included physics (602). This was tested with Linux Mint 4.0 and Linux Mint 5

Now let's get started :)

First, we need to enable the "Hardy-Proposed" repository in /etc/apt/sources.list:
Code: Select all
sudo gedit /etc/apt/sources.list

-That will open sources.list in a text editor, locate this section:
Code: Select all
## +++ Backports & Proposed (not as stable) +++
## deb http://archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse
## deb http://archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse

-And uncomment (delete the #'s) that third line. Example:
Code: Select all
## +++ Backports & Proposed (not as stable) +++
## deb http://archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse

-Save and exit
-Run:
Code: Select all
sudo apt-get update


Now, let's get the build dependencies:
Code: Select all
sudo apt-get install fakeroot automake1.9 build-essential libpango1.0-dev libgtk2.0-dev libgconf2-dev libglitz-glx1-dev librsvg2-dev libglade2-dev libxcomposite-dev subversion libtool libgtop2-dev python-gtk2-dev libgnome-menu-dev libgnomeui-dev libgnomevfs2-dev intltool libxml2-dev libglitz1-dev libcairo2 libdbus-1-dev libgtop2-7 libgnomevfs2-0 libgnomeui-0 librsvg2-2 python-feedparser libasound2-dev libsdl1.2-dev libdbus-glib-1-dev libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev libgstreamer0.10-0 pidgin-dev libpurple-dev


Let all that finish installing, then grab the source:
Code: Select all
svn co -r 602 https://kibadock.svn.sourceforge.net/svnroot/kibadock/trunk kiba


Now it's time to compile. Run each of the following commands ONE LINE AT A TIME:

Code: Select all
cd ~/kiba/akamaru
./autogen.sh --prefix=/usr --exec-prefix=/usr
sudo make install
cd ..


Code: Select all
cd kiba-dock/
./autogen.sh
sudo make install
cd ..


Code: Select all
cd kiba-plugins/
./autogen.sh
sudo make install
cd ..


Code: Select all
cd kiba-dbus-plugins/
./autogen.sh
sudo make install
cd ..



Now you're done, kiba-dock should be in your applications menu under Accessories.

You'll probably want Kiba to start up at boot, to do this:

Go to MintMenu>Preferences>Sessions

Click Add

Name: Kiba Dock
Command: kiba-dock
Comment: Dock with physics





How to uninstall (ONE LINE AT A TIME):

Code: Select all
cd ~/kiba/akamaru
sudo make uninstall
cd ..


Code: Select all
cd kiba-dock/
sudo make uninstall
cd ..


Code: Select all
cd kiba-plugins/
sudo make uninstall
cd ..


Code: Select all
cd kiba-dbus-plugins/
sudo make uninstall
cd ..


Code: Select all
rm -rf ~/kiba


Code: Select all
rm -rf ~/.kiba


And that should do it

Like I said before, this is heavily based on mattgaunt's tutorial and I don't deserve much credit for it.

















NEW EASY WAY:
I made debs!
http://files.filefront.com/Kiba+debs+FI ... einfo.html

Just install in this order:
Akamaru
Kiba Dock
Kiba Plugins
Kiba Dbus Plugins

No comments: