HI all,

Here's a patch get_e.sh.

First of all, it also checks the /etc/ld.so.conf.d/* directory for
/usr/local/lib.

Second, I hacked in support for Ubuntu Intrepid.

Cheers,
Erik

--- get_e.sh    2008-11-01 15:29:34.000000000 +1100
+++ Hack/E17/get_e.sh   2008-11-01 15:39:20.000000000 +1100
@@ -53,7 +56,7 @@
 
   # check ldo.so.conf
   echo "Check /etc/ld.so.conf sanity"
-  LDCONF=`grep $PREFIX/lib /etc/ld.so.conf`
+  LDCONF=`grep $PREFIX/lib /etc/ld.so.conf /etc/ld.so.conf.d/*`
   if [ -z "$LDCONF" ]; then
     echo "Add "$PREFIX"/lib to /etc/ld.so.conf please."
     exit -1
@@ -74,6 +77,10 @@
        F=`grep "hardy" "/etc/apt/sources.list"`
        if [ -n "$F" ]; then
           DISTRO="ubuntu-hardy"
+      else
+       F=`grep "intrepid" "/etc/apt/sources.list"`
+       if [ -n "$F" ]; then
+          DISTRO="ubuntu-intrepid"
        else
           F=`grep "unstable" "/etc/apt/sources.list"`
           if [ -n "$F" ]; then
@@ -82,6 +89,7 @@
             F=`grep " sid" "/etc/apt/sources.list"`
             if [ -n "$F" ]; then
               DISTRO="debian-unstable"
+                 fi
            fi
          fi
        fi
@@ -138,6 +146,18 @@
       libxft-dev libxfont-dev libxi-dev libxv-dev libxkbfile-dev \
       libxkbui-dev libxres-dev libxtst-dev libltdl3-dev libglu1-xorg-dev \
       libglut3-dev xserver-xephyr libdbus-1-dev
+  elif [ $DISTRO == "ubuntu-intrepid" ]; then
+    #sudo apt-get update
+    sudo apt-get install \
+      xterm make gcc bison flex subversion automake1.10 autoconf autotools-dev 
\
+      autoconf-archive libtool gettext \
+      libpam0g-dev libfreetype6-dev libpng12-dev zlib1g-dev libjpeg62-dev \
+      libtiff4-dev libungif4-dev librsvg2-dev libx11-dev libxcursor-dev \
+      libxrender-dev libxrandr-dev libxfixes-dev libxdamage-dev \
+      libxcomposite-dev libxss-dev libxp-dev libxext-dev libxinerama-dev \
+      libxft-dev libxfont-dev libxi-dev libxv-dev libxkbfile-dev \
+      libxkbui-dev libxres-dev libxtst-dev libltdl7-dev libglu1-xorg-dev \
+      libglut3-dev xserver-xephyr libdbus-1-dev
   elif [ $DISTRO == "sample-distribution" ]; then
     echo "sample distro"
     # FIXME:  put in whatever commands are needed to get a good list of




-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
Automated tests ensure the software is working as designed. Human
tests ensure the design is working.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to