본문 바로가기

Study/Linux

Install Kiba-Dock on Gutsy

******** I have managed to get Ubuntu 7.10 Gutsy Gibbon to install kiba-dock with this how-to ********



******** This is not for beginners ********



******** You need to have beryl / compiz - fusion working to install kiba-dock ********



Note For 64-Bit users
If you are using a 64 bit version of ubuntu I have added a small section to the how-to specifically for you, most steps are same both 32 bit and 64 bit apart one section of the code so please only do 64-bit stuff
Warning : I myself do not use a 64-bit version of ubuntu so this is all done from help from other users - Please feel free to message me if any changes need to be made

Hey everyone

I just managed to get kiba-dock installed and working on my computer and this is how i did it.

I must warn you - Im very new to compiling programs and this is my first how-to, i just hope this works for some people

p.s. the first part is from price-childs orig. thread on installing kiba-dock but has the python-gtk2-dev package added to end of the installed build packages- So thank you for this

First of all install the build depencies

Code:
sudo aptitude remove automake1.4
Code:
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
Then make the directory to install kiba-dock into

Code:
mkdir kiba-dock
cd kiba-dock
Code:
svn co https://kibadock.svn.sourceforge.net/svnroot/kibadock/trunk/akamaru/ akamaru
Code:
svn co https://kibadock.svn.sourceforge.net/svnroot/kibadock/trunk/kiba-dock/ kiba-dock
Code:
svn co https://kibadock.svn.sourceforge.net/svnroot/kibadock/trunk/kiba-plugins/ kiba-plugins
Code:
svn co https://kibadock.svn.sourceforge.net/svnroot/kibadock/trunk/kiba-dbus-plugins/ kiba-dbus-plugins
************************ Not necessary to make Kiba-Dock to Work *********************************

I know the first SVN repo of the 2 below is for a gaim plugin, if you don't have gaim, then you don't need to worry about it - kiba-dock will run without.
I dont know what the ephy-extension is for and i didnt need to make it work.

Code:
svn co https://kibadock.svn.sourceforge.net/svnroot/kibadock/trunk/kiba-gaim-plugin kiba-gaim-plugin
svn co https://kibadock.svn.sourceforge.net/svnroot/kibadock/trunk/kiba-ephy-extension kiba-ephy-extension
************************************************** ************************************************** *************

************************************************** ************************************************** *************
32-Bit Ubuntu Users

Next just do the following - Typing each line at a time
Code:
cd akamaru/
./autogen.sh --prefix=/usr --exec-prefix=/usr
sudo make install
cd ..
Code:
cd kiba-dock/
./autogen.sh
sudo make install
cd ..
Code:
cd kiba-plugins/
./autogen.sh
sudo make install
cd ..
Code:
cd kiba-dbus-plugins/
./autogen.sh
sudo make install
cd ..
************************************************** ************************************************** *************

************************************************** ************************************************** *************
64-Bit Ubuntu Users

Code:
cd akamaru/ &&
./autogen.sh --prefix=/usr --exec-prefix=/usr --libdir=/usr/lib64 &&
sudo make install &&
cd .. &&
Code:
cd kiba-dock/ &&
./autogen.sh --prefix=/usr --libdir=/usr/lib64 &&
sudo make install &&
cd .. &&
Code:
cd kiba-plugins/ &&
CC="gcc -fPIC" ./autogen.sh --prefix=/usr --libdir=/usr/lib64 &&
sudo make install &&
cd .. &&
Code:
cd kiba-dbus-plugins/ &&
./autogen.sh --prefix=/usr --libdir=/usr/lib64 &&
sudo make install &&
cd ..
************************************************** ************************************************** *************

Now it should be installed and working ok (Fingers crossed)

Now all you have to do is type the following into a terminal and ur done

Code:
 kiba-dock

**************************************** Adding To Start-Up ************************************************** ***************

Most people want to have kiba-dock to start up with there computer - here is how

Go to System -> Preferences -> Sessions and click add new under the start-up tab.

Name = Kiba-Dock
Command = kiba-dock

************************************************** ************************************************** *************

If you have any problems (i.e. compiler errors i would suggest just typing a chunk of the error message into the search for the forums at www.kiba-dock.org

***************** Un-Install ************************************

If for some reason you wish to un-install kiba-dock then so the following:

(You may need to change the cd command (Change Directory) if you installed kiba-dock in a different file to the one in the How-To)

Go into each sub-directory of kiba-dock folder and and type sudo make uninstall

Code:
cd kiba-dock/kiba-dbus-plugins
sudo make uninstall
cd ..
Code:
cd kiba-dock/kiba-plugins
sudo make uninstall
cd..
Code:
cd kiba-dock/kiba-dock
sudo make uninstall
cd..
Code:
cd kiba-dock/akamaru
sudo make uninstall
and your done

Hope this helps

Matt

http://ph.ubuntuforums.com/showthread.php?t=554127