home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Enlightenment / enl_DR-0.10.tar.gz / enl_DR-0.10.tar / enl / INSTALL < prev    next >
Text File  |  1997-05-07  |  3KB  |  96 lines

  1. #!/bin/bash
  2.  
  3. # edit this if necessary
  4. if [ -d /usr/local/X11 ]; then
  5.   X11BASE=/usr/local/X11
  6. fi
  7. if [ -d /usr/local/X11R6 ]; then
  8.   X11BASE=/usr/local/X11R6
  9. fi
  10. if [ -d /usr/X11 ]; then
  11.   X11BASE=/usr/X11
  12. fi
  13. if [ -d /usr/X11R6 ]; then
  14.   X11BASE=/usr/X11R6
  15. fi
  16.  
  17. # see if the libgr package is insatlled. djpeg from thsi package is needed.
  18. if [ -e $X11BASE/lib/libIm.so ]; then
  19.   echo "GODD. I have found Imlib installed on your system."
  20. else
  21.   echo "You havent god Imlib installed on your machine, well at least it"
  22.   echo "isnt in $X11BASE/lib. You must have Imib installed to compile"
  23.   echo "Enlightenment"
  24. fi
  25.  
  26. CMD=xmkmf
  27. if [ -n `which $CMD` >&/dev/null ]; then
  28.   echo "GOOD. You have $CMD"
  29. else
  30.   echo "----------------------------------------------------------------"
  31.   echo "You do not have the $CMD command installed, or it is not in the"
  32.   echo "default path for /bin/bash."
  33.   echo "You need this to proceed with the install."
  34.   exit
  35. fi
  36.  
  37. CMD=make
  38. if [ -n `which $CMD` >&/dev/null ]; then
  39.   echo "GOOD. You have $CMD"
  40. else
  41.   echo "----------------------------------------------------------------"
  42.   echo "You do not have the $CMD command installed, or it is not in the"
  43.   echo "default path for /bin/bash."
  44.   echo "You need this to proceed with the install."
  45.   exit
  46. fi
  47.  
  48. echo "****** READ THIS READ THIS!!!!! ******"
  49. echo "I am about to delete your /usr/local/enlightenment directory."
  50. echo "This is necessary to ensure that you get a clean install."
  51. echo "If you do not like this, press ctrl-C NOW. If this is OK, the press"
  52. echo "ctrl-D"
  53. cat > /dev/null
  54. echo "about to delete /usr/local/enlightenment"
  55. sleep 5
  56. rm -rf /usr/local/enlightenment
  57. echo "------------------------------------------------------------"
  58. echo "Enlightenment will be installed in /usr/local . If you want it to"
  59. echo "install elsewhere, press ctrl-C now and edit the Imakefile in the enl"
  60. echo "dir.."
  61. sleep 10
  62. echo "------------------------------------------------------------"
  63.  
  64. # compile & install
  65. make clean
  66. xmkmf -a
  67. make install
  68.  
  69. echo "DONE!"
  70. echo "Now all you have to do is edit your .xinitrc, or .xsession file"
  71. echo "so that it runs /usr/local/enlightenment/bin/enlightenment"
  72. echo "as the windowmanager. For example:"
  73. echo " "
  74. echo "--8<-------------------------------------------------------------------"
  75. echo " "
  76. echo "/usr/local/enlightenment/bin/enlightenment"
  77. echo " "
  78. echo "--8<-------------------------------------------------------------------"
  79. echo " "
  80. echo "NOTE: you do NOT need to run xv or any other program to set the root"
  81. echo "window background. Enlightenment will do this all for you."
  82. sleep 15
  83. echo " "
  84. echo "Also please note. This is a project that is *** IN DEVELOPMENT ***"
  85. echo "dont send bug reports. I know it has bugs and I mostly know what they are."
  86. echo "I have developed this under Linux, and for Linux. It can run on other"
  87. echo "Unicies, but you will have fend for yourself."
  88. echo " "
  89. echo "In the dot_files directory you will find a .enlightenment directory"
  90. echo "If you want to customise your own users setup, copy these files into"
  91. echo "--------------------------------------"
  92. echo " have fun and enjoy......."
  93. echo " The Rasterman"
  94. echo "--------------------------------------"
  95.  
  96.