[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55809] trunk/blender/build_files/ build_environment/install_deps.sh: First fix for install_deps and ubuntu 10 .04 (no libtiff5, only libtiff4, wonder why this package does not work as jpeg or png ones)...

Bastien Montagne montagne29 at wanadoo.fr
Fri Apr 5 14:37:49 CEST 2013


Revision: 55809
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55809
Author:   mont29
Date:     2013-04-05 12:37:48 +0000 (Fri, 05 Apr 2013)
Log Message:
-----------
First fix for install_deps and ubuntu 10.04 (no libtiff5, only libtiff4, wonder why this package does not work as jpeg or png ones)...

This allows compilation of OIIO, install_deps.sh still working though (on this old OS, all libs have to be compiled, takes time... :/).

Modified Paths:
--------------
    trunk/blender/build_files/build_environment/install_deps.sh

Modified: trunk/blender/build_files/build_environment/install_deps.sh
===================================================================
--- trunk/blender/build_files/build_environment/install_deps.sh	2013-04-05 11:45:33 UTC (rev 55808)
+++ trunk/blender/build_files/build_environment/install_deps.sh	2013-04-05 12:37:48 UTC (rev 55809)
@@ -1303,10 +1303,16 @@
   if [ $? -eq 0 ]; then
     _packages="$_packages $TIFF-dev"
   else
-    TIFF="libtiff"
+    TIFF="libtiff4"  # Some old distro, like e.g. ubuntu 10.04 :/
     check_package_DEB $TIFF
     if [ $? -eq 0 ]; then
       _packages="$_packages $TIFF-dev"
+    else
+      TIFF="libtiff"
+      check_package_DEB $TIFF
+      if [ $? -eq 0 ]; then
+        _packages="$_packages $TIFF-dev"
+      fi
     fi
   fi
 




More information about the Bf-blender-cvs mailing list