From 3186b916d6e144b3cb0dd8230990ad5aae45925b Mon Sep 17 00:00:00 2001 From: David Bucciarelli Date: Wed, 29 Nov 2017 17:49:49 +0100 Subject: [PATCH] Initial release --- .gitattributes | 5 +++ distfiles/boost_1_56_0.tar.bz2 | 3 ++ distfiles/bzip2-1.0.6.tar.gz | 3 ++ distfiles/embree-bin-2.4_linux.zip | 3 ++ distfiles/fftw-3.3.3.tar.gz | 3 ++ distfiles/freetype-2.4.11.tar.bz2 | 3 ++ distfiles/glew-1.13.0.tgz | 3 ++ distfiles/ilmbase-2.1.0.tar.gz | 3 ++ distfiles/jpegsrc.v6b.tar.gz | 3 ++ distfiles/libpng-1.5.26.tar.xz | 3 ++ distfiles/oiio-Release-1.3.14.tar.gz | 3 ++ distfiles/openexr-2.1.0.tar.gz | 3 ++ .../qt-everywhere-opensource-src-4.8.6.tar.gz | 3 ++ distfiles/tiff-4.0.3.tar.gz | 3 ++ distfiles/xz-5.0.5.tar.xz | 3 ++ distfiles/zlib-1.2.8.tar.gz | 3 ++ download.sh | 33 +++++++++++++++++++ files | 15 +++++++++ 18 files changed, 98 insertions(+) create mode 100644 .gitattributes create mode 100644 distfiles/boost_1_56_0.tar.bz2 create mode 100644 distfiles/bzip2-1.0.6.tar.gz create mode 100644 distfiles/embree-bin-2.4_linux.zip create mode 100644 distfiles/fftw-3.3.3.tar.gz create mode 100644 distfiles/freetype-2.4.11.tar.bz2 create mode 100644 distfiles/glew-1.13.0.tgz create mode 100644 distfiles/ilmbase-2.1.0.tar.gz create mode 100644 distfiles/jpegsrc.v6b.tar.gz create mode 100644 distfiles/libpng-1.5.26.tar.xz create mode 100644 distfiles/oiio-Release-1.3.14.tar.gz create mode 100644 distfiles/openexr-2.1.0.tar.gz create mode 100644 distfiles/qt-everywhere-opensource-src-4.8.6.tar.gz create mode 100644 distfiles/tiff-4.0.3.tar.gz create mode 100644 distfiles/xz-5.0.5.tar.xz create mode 100644 distfiles/zlib-1.2.8.tar.gz create mode 100755 download.sh create mode 100644 files diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..8a4f306 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +*.gz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text diff --git a/distfiles/boost_1_56_0.tar.bz2 b/distfiles/boost_1_56_0.tar.bz2 new file mode 100644 index 0000000..7f10ce6 --- /dev/null +++ b/distfiles/boost_1_56_0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:134732acaf3a6e7eba85988118d943f0fa6b7f0850f65131fff89823ad30ff1d +size 94777674 diff --git a/distfiles/bzip2-1.0.6.tar.gz b/distfiles/bzip2-1.0.6.tar.gz new file mode 100644 index 0000000..2825c06 --- /dev/null +++ b/distfiles/bzip2-1.0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd +size 782025 diff --git a/distfiles/embree-bin-2.4_linux.zip b/distfiles/embree-bin-2.4_linux.zip new file mode 100644 index 0000000..cf06ad5 --- /dev/null +++ b/distfiles/embree-bin-2.4_linux.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9d9ae4a0e6288b9174592e9006ce2a99a2352cbaae024967092135a9c69b56a +size 13060960 diff --git a/distfiles/fftw-3.3.3.tar.gz b/distfiles/fftw-3.3.3.tar.gz new file mode 100644 index 0000000..aea2d1b --- /dev/null +++ b/distfiles/fftw-3.3.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:85cdfc0a0ba10d8fa4f0f8e733aac1a5936c859832a9e3d5c0731fb5c54a97f3 +size 3920661 diff --git a/distfiles/freetype-2.4.11.tar.bz2 b/distfiles/freetype-2.4.11.tar.bz2 new file mode 100644 index 0000000..827bec6 --- /dev/null +++ b/distfiles/freetype-2.4.11.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef9d0bcb64647d9e5125dc7534d7ca371c98310fec87677c410f397f71ffbe3f +size 1546087 diff --git a/distfiles/glew-1.13.0.tgz b/distfiles/glew-1.13.0.tgz new file mode 100644 index 0000000..c4cb489 --- /dev/null +++ b/distfiles/glew-1.13.0.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa25dc48ed84b0b64b8d41cdd42c8f40f149c37fa2ffa39cd97f42c78d128bc7 +size 616070 diff --git a/distfiles/ilmbase-2.1.0.tar.gz b/distfiles/ilmbase-2.1.0.tar.gz new file mode 100644 index 0000000..462d1ff --- /dev/null +++ b/distfiles/ilmbase-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e841ad89c5761940b07a125e6909ad22fe9fe0f99eadef45e0cca4efc6819b4 +size 557552 diff --git a/distfiles/jpegsrc.v6b.tar.gz b/distfiles/jpegsrc.v6b.tar.gz new file mode 100644 index 0000000..4e22d0a --- /dev/null +++ b/distfiles/jpegsrc.v6b.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75c3ec241e9996504fe02a9ed4d12f16b74ade713972f3db9e65ce95cd27e35d +size 613261 diff --git a/distfiles/libpng-1.5.26.tar.xz b/distfiles/libpng-1.5.26.tar.xz new file mode 100644 index 0000000..915c58a --- /dev/null +++ b/distfiles/libpng-1.5.26.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7ba4d85efb79e60d7a8a84bca6a0b925e043bfb5c8a47a1b878ab4d3bcd6714d +size 748164 diff --git a/distfiles/oiio-Release-1.3.14.tar.gz b/distfiles/oiio-Release-1.3.14.tar.gz new file mode 100644 index 0000000..01de05f --- /dev/null +++ b/distfiles/oiio-Release-1.3.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21f7bc254fdbbc3886ad1a0d629d8285d83483e2fa3b8f87d5c5d5c7262cc076 +size 14840801 diff --git a/distfiles/openexr-2.1.0.tar.gz b/distfiles/openexr-2.1.0.tar.gz new file mode 100644 index 0000000..6ad9568 --- /dev/null +++ b/distfiles/openexr-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:54486b454073c1dcb5ae9892cf0f730ffefe62f38176325281505093fd218a14 +size 13680816 diff --git a/distfiles/qt-everywhere-opensource-src-4.8.6.tar.gz b/distfiles/qt-everywhere-opensource-src-4.8.6.tar.gz new file mode 100644 index 0000000..f29dce2 --- /dev/null +++ b/distfiles/qt-everywhere-opensource-src-4.8.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b14dd91b52862e09b8e6a963507b74bc2580787d171feda197badfa7034032c +size 241623667 diff --git a/distfiles/tiff-4.0.3.tar.gz b/distfiles/tiff-4.0.3.tar.gz new file mode 100644 index 0000000..cdf6bb4 --- /dev/null +++ b/distfiles/tiff-4.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea1aebe282319537fb2d4d7805f478dd4e0e05c33d0928baba76a7c963684872 +size 2051630 diff --git a/distfiles/xz-5.0.5.tar.xz b/distfiles/xz-5.0.5.tar.xz new file mode 100644 index 0000000..a8959ae --- /dev/null +++ b/distfiles/xz-5.0.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3515c74d170d0f6ec00820de63106ad16c07bae55a59c174b4741242c76264a4 +size 928700 diff --git a/distfiles/zlib-1.2.8.tar.gz b/distfiles/zlib-1.2.8.tar.gz new file mode 100644 index 0000000..a0e23b0 --- /dev/null +++ b/distfiles/zlib-1.2.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d +size 571091 diff --git a/download.sh b/download.sh new file mode 100755 index 0000000..11a6f10 --- /dev/null +++ b/download.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +DIST=distfiles + +function verify_hash() { + local hash=$1 + local filepath=$2 + echo "$hash $filepath" | sha1sum --status -c - + return $? +} + +echo " * Checking distfiles" +for LINE in `cat files` ; do + FILE=`echo $LINE | cut -d'@' -f1` + HASH=`echo $LINE | cut -d'@' -f2` + URL=`echo $LINE | cut -d'@' -f3` + if [ ! -f $DIST/$FILE ] ; then + echo " * Downloading $FILE" + wget -O $DIST/$FILE $URL + fi + verify_hash $HASH "$DIST/$FILE" + if [ $? != 0 ] ; then + echo " * Resume downloading $FILE" + wget -c -O $DIST/$FILE $URL + + verify_hash $HASH "$DIST/$FILE" + if [ $? != 0 ] ; then + echo " !!! Hash mismatch for $FILE" + exit 1 + fi + fi +done +echo " * Done checking distfiles" diff --git a/files b/files new file mode 100644 index 0000000..91e19a0 --- /dev/null +++ b/files @@ -0,0 +1,15 @@ +zlib-1.2.8.tar.gz@a4d316c404ff54ca545ea71a27af7dbc29817088@http://zlib.net/zlib-1.2.8.tar.gz +bzip2-1.0.6.tar.gz@3f89f861209ce81a6bab1fd1998c0ef311712002@http://bzip.org/1.0.6/bzip2-1.0.6.tar.gz +xz-5.0.5.tar.xz@56f1d78117f0c32bbb1cfd40117aa7f55bee8765@http://tukaani.org/xz/xz-5.0.5.tar.xz +glew-1.13.0.tgz@d5b1c499f429aa91c466193b4e8ea94a84019e37@http://downloads.sourceforge.net/glew/glew-1.13.0.tgz +boost_1_56_0.tar.bz2@f94bb008900ed5ba1994a1072140590784b9b5df@http://gentoo.mirrors.tds.net/gentoo/distfiles/boost_1_56_0.tar.bz2 +freetype-2.4.11.tar.bz2@b15e5a0b30c1e854484b410340f6429ad1253c74@http://download.savannah.gnu.org/releases/freetype/freetype-2.4.11.tar.bz2 +oiio-Release-1.3.14.tar.gz@cc46c3d08d848706ff914c2d5e6fda0cb4be049c@https://github.com/OpenImageIO/oiio/archive/Release-1.3.14.tar.gz +jpegsrc.v6b.tar.gz@7079f0d6c42fad0cfba382cf6ad322add1ace8f9@http://www.ijg.org/files/jpegsrc.v6b.tar.gz +libpng-1.5.26.tar.xz@eb1f924c92ddd8ee2e0b4d87a3880d626021765a@ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng15/libpng-1.5.26.tar.xz +qt-everywhere-opensource-src-4.8.6.tar.gz@ddf9c20ca8309a116e0466c42984238009525da6@http://gentoo.mirrors.tds.net/gentoo/distfiles/qt-everywhere-opensource-src-4.8.6.tar.gz +tiff-4.0.3.tar.gz@652e97b78f1444237a82cbcfe014310e776eb6f0@http://gentoo.mirrors.tds.net/gentoo/distfiles/tiff-4.0.3.tar.gz +fftw-3.3.3.tar.gz@11487180928d05746d431ebe7a176b52fe205cf9@ftp://ftp.fftw.org/pub/fftw/fftw-3.3.3.tar.gz +ilmbase-2.1.0.tar.gz@306d76e7a2ac619c2f641f54b59dd95576525192@http://download.savannah.nongnu.org/releases/openexr/ilmbase-2.1.0.tar.gz +openexr-2.1.0.tar.gz@4a3db5ea527856145844556e0ee349f45ed4cbc7@http://download.savannah.nongnu.org/releases/openexr/openexr-2.1.0.tar.gz +embree-bin-2.4_linux.zip@32e8851bb2bcaab2d01264a8a28baf5c9f3a5897@http://github.com/embree/embree-bin/archive/v2.4_linux.zip