#!/bin/bash
set -e
CURRDIR="$( cd "$( dirname "$( readlink -f "${BASH_SOURCE[0]}" )" )" && pwd )"
. "${CURRDIR}/env.sh"


# downloadFromAliceVisionDependencies TARGET_FULL_NAME INSTALL_PATH
downloadFromAliceVisionDependencies()
{
    download_files_from_tar "https://github.com/alicevision/AliceVisionDependencies/releases/download/$1/$1.tgz" $2
    return 0
}

set -x

downloadFromAliceVisionDependencies boost-1.61.0 ${DEPS_INSTALL_PATH}
downloadFromAliceVisionDependencies eigen-3.3.4 ${DEPS_INSTALL_PATH}
downloadFromAliceVisionDependencies ceres-1.13.0 ${DEPS_INSTALL_PATH}
downloadFromAliceVisionDependencies opencv-3.0.0 ${DEPS_INSTALL_PATH}
downloadFromAliceVisionDependencies opengv-2018.02.26 ${DEPS_INSTALL_PATH}
downloadFromAliceVisionDependencies openexr-2.2.1 ${DEPS_INSTALL_PATH}
downloadFromAliceVisionDependencies openimageio-master ${DEPS_INSTALL_PATH}
downloadFromAliceVisionDependencies geogram-1.6.0 ${DEPS_INSTALL_PATH}

#!/bin/bash
set -e
CURRDIR="$( cd "$( dirname "$( readlink -f "${BASH_SOURCE[0]}" )" )" && pwd )"
. "${CURRDIR}/env.sh"


# downloadFromAliceVisionDependencies TARGET_FULL_NAME INSTALL_PATH
downloadFromAliceVisionDependencies()
{
    download_files_from_tar "https://github.com/alicevision/AliceVisionDependencies/releases/download/$1/$1.tgz" $2
    return 0
}

set -x

downloadFromAliceVisionDependencies boost-1.61.0 ${DEPS_INSTALL_PATH}
downloadFromAliceVisionDependencies eigen-3.2.8 ${DEPS_INSTALL_PATH}
downloadFromAliceVisionDependencies ceres-1.11.0 ${DEPS_INSTALL_PATH}
downloadFromAliceVisionDependencies opencv-3.0.0 ${DEPS_INSTALL_PATH}
downloadFromAliceVisionDependencies opengv-dev ${DEPS_INSTALL_PATH}
downloadFromAliceVisionDependencies openexr-2.2.1 ${DEPS_INSTALL_PATH}
downloadFromAliceVisionDependencies openimageio-master ${DEPS_INSTALL_PATH}

--- 
+++ 
@@ -14,10 +14,9 @@
 set -x
 
 downloadFromAliceVisionDependencies boost-1.61.0 ${DEPS_INSTALL_PATH}
-downloadFromAliceVisionDependencies eigen-3.3.4 ${DEPS_INSTALL_PATH}
-downloadFromAliceVisionDependencies ceres-1.13.0 ${DEPS_INSTALL_PATH}
+downloadFromAliceVisionDependencies eigen-3.2.8 ${DEPS_INSTALL_PATH}
+downloadFromAliceVisionDependencies ceres-1.11.0 ${DEPS_INSTALL_PATH}
 downloadFromAliceVisionDependencies opencv-3.0.0 ${DEPS_INSTALL_PATH}
-downloadFromAliceVisionDependencies opengv-2018.02.26 ${DEPS_INSTALL_PATH}
+downloadFromAliceVisionDependencies opengv-dev ${DEPS_INSTALL_PATH}
 downloadFromAliceVisionDependencies openexr-2.2.1 ${DEPS_INSTALL_PATH}
 downloadFromAliceVisionDependencies openimageio-master ${DEPS_INSTALL_PATH}
-downloadFromAliceVisionDependencies geogram-1.6.0 ${DEPS_INSTALL_PATH}
[travis] Update dependencies and add Geogram 1.6.0

- Use Geogram 1.6.0
- Use Eigen 3.3.4
- Use Ceres 1.13.0
- Use OpenGV master (2018/02/26)
