Sugar on SUSE: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
Line 10: Line 10:
# mozilla-nss-devel: you can't install it with the default packages on package manager, but you can download it directly from [http://download.opensuse.org/distribution/SL-10.1/inst-source/suse/i586/ suse's online repository]
# mozilla-nss-devel: you can't install it with the default packages on package manager, but you can download it directly from [http://download.opensuse.org/distribution/SL-10.1/inst-source/suse/i586/ suse's online repository]
# gecko-sdk: This is the equivelent of the xulrunner-devel in fedora talk, and you can get it from [http://download.opensuse.org/distribution/SL-10.1/inst-source/suse/i586/ suse's online repository] as well
# gecko-sdk: This is the equivelent of the xulrunner-devel in fedora talk, and you can get it from [http://download.opensuse.org/distribution/SL-10.1/inst-source/suse/i586/ suse's online repository] as well
# Had to compile avahi and install it. '''no details, if someone went through this recently, please update the details'''
# Had to compile avahi and install it. '''no details, if someone went through this recently, please update with details'''


=== compile geck embed ===
=== compile geck embed ===

Revision as of 05:20, 16 June 2006

I had to jump through few hoops to get Sugar to run on suse 10.1. Here are some of my notes. Note that this is a brain dump, so I most probably missed some issues that I had to solve or packages that I had to install. If you face a problem, shoot me an email and if I fixed it, I will point you in the right direction and update this page. If you solved it yourself, then just go ahead and update the page directly :)

This is known to work as of 6/15/06.

gecko-embed

pre-requisites

I checked out gecko embed and compiled it, but before I did that I had to install a set of packages:

  1. mozilla-xulrunner: you can install it from the yast package manager
  2. mozilla-nss-devel: you can't install it with the default packages on package manager, but you can download it directly from suse's online repository
  3. gecko-sdk: This is the equivelent of the xulrunner-devel in fedora talk, and you can get it from suse's online repository as well
  4. Had to compile avahi and install it. no details, if someone went through this recently, please update with details

compile geck embed

  • First you need to check it out from cvs. Use the following command:
cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome co gecko-embed
  • cd into the gecko-embed folder and run autogen.sh (./autogen.sh)
  • run make
  • run "make install" as root (or use sudo if you're a good linux citizen)

Sugar

  • If you don't have mercurial, get it from here. This is not where I installed it from, but this will do
  • to check out sugar, use:
hg clone http://hg.fedoraproject.org/hg/olpc/applications/sugar--devel
  • autogen.sh
  • make
  • run "avahi-daemon -D" (if you haven't configured it to run as a service)
  • run sugar/sugar

The first time I ran sugar, it seg-faulted. We traced the problem down to an issue loading the olpc theme. I am running KDE on suse, so there might be some misconfiguration of gnome there, I'll figure it out later, right now I am happy with the workaround even if the interface doesn't look as shakadelic.

The workaround is to comment out the following two lines in sugar/__init__.py

if settings.get_property('gtk-theme-name') != 'olpc':
      settings.set_string_property('gtk-theme-name', 'olpc', )