From Tango Desktop Project
Revision as of 20:50, 6 December 2005 by Straw (talk) (Overall changes for readability)

Jump to: navigation, search

Installing Tango is intended to be straight forward, however this guide will help if you have any difficulties.

From CVS

You will need the following packages for a successful installation:

  • GNU Automake and friends
  • XML::Simple Perl Module
  • ImageMagick Development Packages

A recent version of librsvg or kdelibs is also suggested for generating PNGs. For now, rsvg from librsvg is the preferred method as it produces much better quality PNGs when compared to ksvgtopng.

Icon Naming Utilities

First, we need to install icon-naming-utils. The naming utilities generate the icon files appropriate to the desktop environment you use. It should be noted, when icon-naming-utils is updated, tango-icon-theme should also be updated.

So, let's grab icon-naming-utils. When prompted for a password at CVS, just press enter. This will give you an anonymous login.

cvs login
cvs co icon-naming-utils

cd icon-naming-utils

Now, we build icon-naming-utils (in the standard way):

./configure --prefix  (optional)
make install (with administrator privileges)

It's worth noting that icon-naming-utils can be installed and used with user privileges as well.

Tango Icon Theme

Now we get to the fun part! First, lets grab Tango. Make sure you've left the icon-naming-utils directory. This is the same process as before:

cvs login
cvs co tango-icon-theme

cd tango-icon-theme

Now, onto installing Tango. This is generally the same as icon-naming-utils, except you will want to pay closer attention to ./configure flags. First, we need to review what flags are available:

./configure --help

If you use KDE, you will want to generate PNG images. For GNOME, a standard ./configure should suffice. So, let's back to the fun stuff! Note that the chosen --prefix needs to point to a location that allows your chosen desktop environment to find it (usually /usr or /opt, depending on how you've installed a given destop environment).

./configure --prefix 
make install (with administrator privileges)

Tango can also be installed with user privileges, using --prefix=$HOME/.icons. In KDE's case, --prefix=$HOME/.kde/share/icons can be used.

Finally, you should now be able to choose Tango from your desktop environment's theme manager. Enjoy!