After “killing” my Ubuntu I decided to install Arch Linux with Gnome 3 and start building Empathy.
But this time was very easy. I didn’t have any problem as I did the last time. Everything I needed I found on the wiki of Arch Linux (http://www.archlinux.org). I’m new to Arch Linux and it was a relief that this wiki has every information that I need. So here is how I did it:
I downloaded the PKGBUILD and empathy.install files from the wiki
( http://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/empathy), put them in a folder and open terminal. There you enter the folder and write makepkg.
Makepkg is used for compiling and building packages suitable for installation with pacman, Arch Linux’s package manager. makepkg is a script that automates the building of packages; it can download and validate source files, check dependencies, configure build-time settings, compile the sources, install into a temporary root, make customizations, generate meta-info, and package everything together.
So I after I wrote makepkg I’ve got the list of the missing dependencies. I only missed telepathy-farstream and libchamplan.
The next thing I did was to download the PKGBUILD files of these dependencies. Again open the folder in which you put the PKGBUILD file for the dependence that you want to build and open terminal, enter the folder and write makepkg. This also will give you the dependencies for the package.
If you are not missing anything, you have all the dependencies that you need, the package builds successfully, a package file (pkgname-pkgver.pkg.tar.xz) will be created in the working directory. To install it you should run (as root):
# pacman -U pkgname-pkgver.pkg.tar.xz
or instead of this you can use:
$ makepkg -i
(it has the same role).
After this in the folder where you have putted the PKGBUILD and empathy.install file and the
pkgname-pkgver.pkg.tar.xz file there will be new folders. In the src folder you can find the folder with the empathy code.
If you are makeing some changes to the code and want to compile it, everything you have to do is enter the src folder, than empathy and you can run the standard commands as ./configure, make, sudo make install.
One more thing if you already installed new dependencies and still doesn’t work all you have to do is to change the path with this command:
$export PKG_CONFIG_PATH=/usr/local/lib/pkg_config
the path should containt the place where you have installed the dependencies.
I’m so sorry that I don’t have screenshots to make this more understandable but I hope that this will be somehow useful.