Sunday, August 24, 2008

Google Gadgets on Fedora 9 x86_64


If you have Fedora 9 64 bit and want to check out the google gadgets then read on.

Google Gadgets is very much like the Windows Vista sidebar. You can add all sorts of little toys to the side bar. I have a resource meter, news feed and pictures gadget.

Installing the gadgets application was relatively simple.

Here are some links to get you started:
  1. http://code.google.com/p/google-gadgets-for-linux/ - The homepage
  2. http://code.google.com/p/google-gadgets-for-linux/wiki/HowToBuild - Official Build instructions
  3. http://groups.google.com/group/google-gadgets-for-linux-user/web/building-instructions-addendum - Build instructions for different distros.
So here is a little command line script to make the instructions work.

( I executed this a root - and I run gnome so didn't worry about the QT stuff. )
# yum install dbus-devel js-devel libxml2-devel gstreamer-plugins-base-devel gstreamer-devel libtool-ltdl  xulrunner-devel xulrunner-devel-unstable gtk2-devel librsvg2-devel curl-devel
I decided to ignore the comments on the addendum about requiring a patched version of js-devel and I am glad I did. It worked fine without it.

The next step is to get the latest version from the subversion repository. I followed the second half of the instructions from http://penguinenclave.blogspot.com/2008/06/installing-google-gadgets-in-fedora-9.html

# cd /usr/local/src
# svn checkout http://google-gadgets-for-linux.googlecode.com/svn/trunk/ google-gadgets-for-linux-read-only
# cd google-gadgets-for-linux-read-only/
# sh autotools/bootstrap.sh
# cp /usr/share/automake-1.10/mkinstalldirs ./libltdl/

# ./configure
# make
# make install
If you ever want to uninstall it again, then leave the source directory in place and remove it with the following:
# cd /usr/local/src/google-gadgets-for-linux-read-only/
# make uninstall
Once it is all installed, you will find launcher in the Applications -> Accessories menu.

Have fun.
Post a Comment