From 48abea04875fc3b24abfa0028847efecb584a59a Mon Sep 17 00:00:00 2001
From: Vivien Alger <algervivie@tiolive.com>
Date: Fri, 22 Jul 2011 13:11:04 +0200
Subject: [PATCH] Added expat library

---
 software/selenium/software.cfg | 45 ++++++++++++++++++++--------------
 1 file changed, 26 insertions(+), 19 deletions(-)

diff --git a/software/selenium/software.cfg b/software/selenium/software.cfg
index ff7ea26d3..4f7fde1f6 100644
--- a/software/selenium/software.cfg
+++ b/software/selenium/software.cfg
@@ -31,14 +31,20 @@ filename = selenium-server.jar
 [libMesa]
 recipe = hexagonit.recipe.cmmi
 url = ftp://ftp.freedesktop.org/pub/mesa/7.10/MesaLib-7.10.tar.bz2
+configure-options =
+  --disable-dri
 environment =
-  PKG_CONFIG_PATH=${libdrm:location}/lib/pkgconfig:${talloc:location}/lib/pkgconfig:${dri2proto:location}/lib/pkgconfig:${glproto:location}/lib/pkgconfig
-  LD_LIBRARY_PATH=${libdrm:location}/lib:${talloc:location}/lib:${dri2proto:location}/lib:${glproto:location}/lib
-  LD_RUN_PATH=${libdrm:location}/lib:${talloc:location}/lib:${dri2proto:location}/lib:${glproto:location}/lib
-  CPPFLAGS=-I${talloc:location}/include -I${glproto:location}/include
+  PKG_CONFIG_PATH=${libdrm:location}/lib/pkgconfig:${talloc:location}/lib/pkgconfig:${dri2proto:location}/lib/pkgconfig:${glproto:location}/lib/pkgconfig:${libexpat:location}/lib/pkgconfig
+  LD_LIBRARY_PATH=${libdrm:location}/lib:${talloc:location}/lib:${dri2proto:location}/lib:${glproto:location}/lib:${libexpat:location}/lib
+  LD_RUN_PATH=${libdrm:location}/lib:${talloc:location}/lib:${dri2proto:location}/lib:${glproto:location}/lib:${libexpat:location}/lib
+  CPPFLAGS=-I${talloc:location}/include -I${glproto:location}/include -I${libexpat:location}/include
   PYTHONPATH=${libxml2:location}/lib/python2.6/site-packages:%(PYTHONPATH)s
   PATH=${makedepend:location}/bin:${pkgconfig:location}/bin:%(PATH)s
 
+[libexpat]
+recipe = hexagonit.recipe.cmmi
+url = http://sourceforge.net/projects/expat/files/expat/2.0.1/expat-2.0.1.tar.gz/download
+
 [glproto]
 recipe = hexagonit.recipe.cmmi
 url = http://www.x.org/releases/X11R7.6/src/proto/glproto-1.4.12.tar.bz2    
@@ -167,21 +173,22 @@ url = http://www.x.org/releases/X11R7.6/src/everything/libfontenc-1.1.0.tar.bz2
 
 [firefox]
 recipe = hexagonit.recipe.cmmi
-url = ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/5.0/source/firefox-5.0.source.tar.bz2
-configure-options =
-  --disable-webm
-  --disable-ogg
-  --disable-wave
-  --disable-libjpeg-turbo
-  --disable-necko-wifi
-  --disable-pango
-environment =
-  PKG_CONFIG_PATH=${libnotify:location}/lib/pkgconfig:${GTK:location}/lib/pkgconfig:${glib:location}/lib/pkgconfig:${cairo:location}/lib/pkgconfig:${pixman:location}/lib/pkgconfig:${fontconfig:location}/lib/pkgconfig:${freetype:location}/lib/pkgconfig:${libpng:location}/lib/pkgconfig:${libXrender:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig:${libxcb:location}/lib/pkgconfig:${xorg-libpthread-stubs:location}/lib/pkgconfig:${libXau:location}/lib/pkgconfig:${atk:location}/lib/pkgconfig:${dbus-1:location}/lib/pkgconfig:${dbus-glib:location}/lib/pkgconfig:${libIDL:location}/lib/pkgconfig:${pango:location}/lib/pkgconfig
-  LD_LIBRARY_PATH=${libnotify:location}/lib:${GTK:location}/lib:${glib:location}/lib:${cairo:location}/lib:${pixman:location}/lib/:${fontconfig:location}/lib:${freetype:location}/lib:${libpng:location}/lib:${libXrender:location}/lib:${libX11:location}/lib:${xproto:location}/lib:${libxcb:location}/lib:${xorg-libpthread-stubs:location}/lib:${libXau:location}/lib:${atk:location}/lib:${dbus-1:location}/lib:${dbus-glib:location}/lib:${libIDL:location}/lib:${pango:location}/lib
-  LD_RUN_PATH=${libnotify:location}/lib:${GTK:location}/lib:${glib:location}/lib:${cairo:location}/lib:${pixman:location}/lib/:${fontconfig:location}/lib:${freetype:location}/lib:${libpng:location}/lib:${libXrender:location}/lib:${libX11:location}/lib:${xproto:location}/lib:${libxcb:location}/lib:${xorg-libpthread-stubs:location}/lib:${libXau:location}/lib:${atk:location}/lib:${dbus-1:location}/lib:${dbus-glib:location}/lib:${libIDL:location}/lib:${pango:location}/lib
-  CPPFLAGS=-I${curl:location}/include -I${libnotify:location}/include -I${GTK:location}/include -I${glib:location}/include -I${cairo:location}/include -I${pixman:location}/include/ -I${fontconfig:location}/include -I${freetype:location}/include -I${libpng:location}/include -I${libXrender:location}/include -I${libX11:location}/include -I${xproto:location}/include -I${libxcb:location}/include -I${xorg-libpthread-stubs:location}/include -I${libXau:location}/include -I${atk:location}/include -I${dbus-1:location}/include -I${dbus-glib:location}/include -I${libIDL:location}/include -I${pango:location}/include
-  LDFLAGS=-Wl,-rpath -Wl,${gettext:location}/share
-  PATH=${pkgconfig:location}/bin:${glib:location}/bin:%(PATH)s
+url = ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/3.6.9/source/firefox-3.6.9.source.tar.bz2
+
+#url = ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/5.0/source/firefox-5.0.source.tar.bz2
+#configure-options =
+#  --disable-webm
+#  --disable-ogg
+#  --disable-wave
+#  --disable-libjpeg-turbo
+#  --disable-necko-wifi
+#  --disable-pango
+#environment =
+#  PKG_CONFIG_PATH=${libnotify:location}/lib/pkgconfig:${GTK:location}/lib/pkgconfig:${glib:location}/lib/pkgconfig:${cairo:location}/lib/pkgconfig:${pixman:location}/lib/pkgconfig:${fontconfig:location}/lib/pkgconfig:${freetype:location}/lib/pkgconfig:${libpng:location}/lib/pkgconfig:${libXrender:location}/lib/pkgconfig:${libX11:location}/lib/pkgconfig:${xproto:location}/lib/pkgconfig:${libxcb:location}/lib/pkgconfig:${xorg-libpthread-stubs:location}/lib/pkgconfig:#${libXau:location}/lib/pkgconfig:${atk:location}/lib/pkgconfig:${dbus-1:location}/lib/pkgconfig:${dbus-glib:location}/lib/pkgconfig:${libIDL:location}/lib/pkgconfig:${pango:location}/lib/pkgconfig:${gettext:location}/lib/pkgconfig
+#  LD_LIBRARY_PATH=${libnotify:location}/lib:${GTK:location}/lib:${glib:location}/lib:${cairo:location}/lib:${pixman:location}/lib/:${fontconfig:location}/lib:${freetype:location}/lib:${libpng:location}/lib:${libXrender:location}/lib:${libX11:location}/lib:${xproto:location}/lib:${libxcb:location}/lib:${xorg-libpthread-stubs:location}/lib:${libXau:location}/lib:${atk:location}/lib:${dbus-1:location}/lib:${dbus-glib:location}/lib:${libIDL:location}/lib:${pango:location}/lib:${gettext:location}/lib/libintl.so
+#  LD_RUN_PATH=${libnotify:location}/lib:${GTK:location}/lib:${glib:location}/lib:${cairo:location}/lib:${pixman:location}/lib/:${fontconfig:location}/lib:${freetype:location}/lib:${libpng:location}/lib:${libXrender:location}/lib:${libX11:location}/lib:${xproto:location}/lib:${libxcb:location}/lib:${xorg-libpthread-stubs:location}/lib:${libXau:location}/lib:${atk:location}/lib:${dbus-1:location}/lib:${dbus-glib:location}/lib:${libIDL:location}/lib:${pango:location}/lib:${gettext:location}/lib/libintl.so
+#  CPPFLAGS=-I${curl:location}/include -I${libnotify:location}/include -I${GTK:location}/include -I${glib:location}/include -I${cairo:location}/include -I${pixman:location}/include/ -I${fontconfig:location}/include -I${freetype:location}/include -I${libpng:location}/include -I${libXrender:location}/include -I${libX11:location}/include -I${xproto:location}/include -I${libxcb:location}/include -I${xorg-libpthread-stubs:location}/include -I${libXau:location}/include -I${atk:location}/include -I${dbus-1:location}/include -I${dbus-glib:location}/include -I${libIDL:location}/include -I${pango:location}/include -I${gettext:location}/include
+#  PATH=${pkgconfig:location}/bin:${glib:location}/bin:%(PATH)s
 
 [libnotify]
 recipe = hexagonit.recipe.cmmi
-- 
2.30.9