Sunday, January 02, 2011

How to build the GNOME theme...

This article is in response to a request for instructions on how to build the theme...

Given that this is currently very experimental code I didn't think an article about how to use it was in order yet since it's not released, but it makes sense to do this nevertheless. :)

Here's how:

  1. Get the code from SVN per the instructions at the gna.org project page.  The URL for the SVN project page is https://gna.org/svn/?group=gnustep 
    1. You should be able to go to the GNUstep project and choose Source Code->Use Subversion and follow the instructions there.   Once you check out, the code should be located at gnustep/modules/plugins/themes/GnomeTheme.
  2. Make certain you have all of the necessary GNOME packages installed as well as their dev equivalents, these include (please let me know if I'm missing anything):
    1. gtk-x11-2.0
    2. gdk-x11-2.0
    3. atk-1.0
    4. pangoft2.1.0
    5. gdk_pixbuf-2.0
    6. pangocairo-1.0
    7. gio-2.0
    8. pango-1.0
    9. gobject-2.0
    10. gmodule-2.0
    11. glib-2.0
    12. gconf-2.0
  3. Build GNUstep's core libraries... there are plenty of tutorials on how to do this.
  4. You should then be able to build the GNOME theme and install it simply by doing: 
    1. make
    2. make install (as root)
  5. Once that's done, you can start using the theme in one of three ways:
    1. defaults write NSGlobalDomain GSTheme GnomeTheme
    2. open the Info panel of the app you want to test the theme with and choose the theme for the application there
    3. open SystemPreferences and go to the Themes module and choose the theme from the list of themes available there. 
Please let me know if there's anything I missed here or if any further information is needed.  GC