Sugar on Fedora

From OLPC
Revision as of 12:16, 1 December 2008 by Bert (talk | contribs) (→‎Step 1: Install the build prerequisites: add libmatchbox matchbox-window-manager xulrunner-python-devel xulrunner-devel-unstable hippo-canvas-python pyabiword hippo-canvas-python)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
  This page is monitored by the OLPC team.
  Please copy/paste "{{Translationlist | xx | origlang=en | translated={{{translated}}}}}" (where xx is ISO 639 language code for your translation) to Sugar on Fedora/translations HowTo [ID# 183315]  +/-  
Developer's Setup
 Fedora
 Ubuntu
 Debian
 Gentoo
 Slackware
Wiki Category
modify 

These instructions apply to Fedora 7, 8, and 9 32- and 64-bit.

This is preferred method for core Sugar developers, as dependencies change continually.

Requirements

A full build using sugar-jhbuild will require about 3 Gig of disk space.

Step 1: Install the build prerequisites

sudo yum -y update
sudo yum -y groupinstall "Development Tools"
sudo yum -y groupinstall "X Software Development"
sudo yum -y install git intltool darcs xorg-x11-server-Xephyr \
    gstreamer-devel gstreamer-plugins-base-devel gstreamer-python \
    fribidi-devel enchant-devel openssl-devel sqlite-devel python-devel \
    ncurses-devel expat-devel boost-devel libvorbis-devel libtheora-devel speex-devel \
    docbook-style-xsl GConf2-devel gettext-devel libgsf-devel gnutls-devel liboil-devel \
    avahi-devel avahi-glib-devel poppler-devel gtk-doc gnome-python2-rsvg gnome-python2-libwnck \
    gnome-common libxslt-devel pango-devel gtk2-devel atk-devel libglade2-devel \
    pycairo-devel pygtk2-devel avahi-tools dbus-glib-devel python-json python-cjson numpy \
    automake17 bison libjpeg-devel libtiff-devel libXt-devel libXres-devel gnome-doc-utils \
    libtool flex gcc-c++ alsa-utils alsa-lib-devel gnome-python2-gnomevfs gnome-vfs2-devel \
    gnome-python2-gconf libidn-devel python-simplejson wv wv-devel libcroco-devel \
    librsvg2-devel xapian-bindings-python xapian-core-libs avahi-gobject-devel \
    icon-naming-utils loudmouth-devel icon-slicer popt-devel dejavu-fonts xorg-x11-utils \
    libmatchbox matchbox-window-manager xulrunner-python-devel xulrunner-devel-unstable \
    hippo-canvas-python pyabiword hippo-canvas-python
NOTE
the dependency check will fail if you don't have a DISPLAY set.
NOTE
If you are trying to install Fedora under emulation check out Emulated Sugar-jhbuild.

Step 2: version-specific steps

Fedora 9 64-bit

Fedora 9 rawhide package solves the Xephyr problem on 64-bit Fedora

yum --enablerepo=rawhide update xorg-x11-server-Xephyr

At the time of this writing the new Xephyr version was xorg-x11-server-Xephyr-1.4.99.906-5.fc10.x86_64

Step 3: Follow the standard build instructions

Follow the standard build instructions