Re: gnome-shell-build-setup Fedora patch



I updated the build patch to include the suggestions you made, and I
also updated it to include libwnck-devel as a dependency.
-- 
Mads Villadsen <maxx krakoa dk>
--- gnome-shell-build-setup.sh	2009-01-18 01:12:49.000000000 +0100
+++ gnome-shell-build-setup.sh.fedora	2009-01-23 19:26:11.000000000 +0100
@@ -47,7 +47,12 @@
     echo
 fi
 
-system=`lsb_release -is`
+if which lsb_release > /dev/null 2>&1; then
+  system=`lsb_release -is`
+elif [ -f /etc/fedora-release ] ; then
+  system=Fedora
+fi
+
 if test x$system = xUbuntu -o x$system = xDebian ; then
   reqd=""
   for pkg in build-essential automake gnome-common flex bison curl \
@@ -64,5 +69,19 @@
   fi
 fi
 
+if test x$system = xFedora ; then
+  reqd=""
+  for pkg in libffi-devel libXdamage-devel gnome-doc-utils xulrunner-devel \
+    librsvg2-devel libgnomeui-devel xterm xorg-x11-apps xorg-x11-server-Xephyr \
+    libwnck-devel; do
+      if ! rpm -q $pkg > /dev/null 2>&1; then
+        reqd="$pkg $reqd"
+      fi
+  done
+  if test ! "x$reqd" = x; then
+    gpk-install-package-name $reqd
+  fi
+fi
+
 echo "Done."
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]