Sugar on Fedora Core 5: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Setting up Sugar for Fedora Core 5)
 
m (Reverted edits by 202.108.28.23 (Talk) to last version by Cjl)
 
(77 intermediate revisions by 32 users not shown)
Line 1: Line 1:
==Install required packages==
Sugar Setup on Fedora Core 5


You will need some packages from the [[Fedora Core]] repositories.
Note: This is a work in progress.
You can download the [[Sugar]] environment from here http://hg.fedoraproject.org/hg/olpc/applications/sugar--devel


Or you can use yum, as root, to install them:


yum install git gcc gcc-c++ autoconf automake libtool automake17 mozilla \
Contents [hide]
mozilla-devel avahi avahi-glib avahi-tools xorg-x11-server-Xnest libXdamage-devel \
1 Get and install mercurial
docbook-style-xsl gtk-doc libtiff-devel libjpeg-devel libXt-devel perl-XML-Parser \
2 Get Sugar from repository
gnome-common libgsf-devel libgnomeprint22-devel libgnomeprintui22-devel \
enchant-devel fribidi-devel gstreamer-devel gstreamer-plugins-base-devel \
[edit]gecko-embed
python-pycurl expat-devel
[edit]pre-requisites
I checked out gecko embed and compiled it, but before I did that I had to install a set of packages:


There may be more packages required; if you find any more, please append them to this list.
mozilla-xulrunner: you can install it from the yast package manager

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
==Build==
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

Had to compile avahi and install it. no details, if someone went through this recently, please update with details
The easiest way to build Sugar from sources is to [[Sugar with sugar-jhbuild|use sugar-jhbuild]].
[edit]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
[[Category:Installing Sugar]]
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)

Latest revision as of 01:40, 21 December 2008

Install required packages

You will need some packages from the Fedora Core repositories. You can download the Sugar environment from here http://hg.fedoraproject.org/hg/olpc/applications/sugar--devel

Or you can use yum, as root, to install them:

yum install git gcc gcc-c++ autoconf automake libtool automake17 mozilla \
  mozilla-devel avahi avahi-glib avahi-tools xorg-x11-server-Xnest libXdamage-devel \
  docbook-style-xsl gtk-doc libtiff-devel libjpeg-devel libXt-devel perl-XML-Parser \
  gnome-common libgsf-devel libgnomeprint22-devel  libgnomeprintui22-devel \
  enchant-devel fribidi-devel gstreamer-devel gstreamer-plugins-base-devel \
  python-pycurl expat-devel

There may be more packages required; if you find any more, please append them to this list.

Build

The easiest way to build Sugar from sources is to use sugar-jhbuild.