The txc-dxtn library implements the patented S3 Texture Compression algorithm.
By default it won't be used but we add the possibility of setting the USE_TXC_DXTN variable to yes in the travis web UI so it will be installed and used for the scons tests. Signed-off-by: Andres Gomez <[email protected]> Cc: Eric Anholt <[email protected]> Cc: Emil Velikov <[email protected]> Cc: Rhys Kidd <[email protected]> --- .travis.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.travis.yml b/.travis.yml index 3c51c06a73..7a4af863dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,6 +25,7 @@ env: global: - XORG_RELEASES=http://xorg.freedesktop.org/releases/individual - XCB_RELEASES=http://xcb.freedesktop.org/dist + - TXC_DXTN_RELEASES=https://people.freedesktop.org/~cbrill/libtxc_dxtn - XORGMACROS_VERSION=util-macros-1.19.0 - GLPROTO_VERSION=glproto-1.4.17 - DRI2PROTO_VERSION=dri2proto-2.8 @@ -35,6 +36,7 @@ env: - XCBPROTO_VERSION=xcb-proto-1.11 - LIBXCB_VERSION=libxcb-1.11 - LIBXSHMFENCE_VERSION=libxshmfence-1.2 + - TXC_DXTN_VERSION=libtxc_dxtn-1.0.1 - LLVM_VERSION=3.9 - LLVM_CONFIG="llvm-config-${LLVM_VERSION}" - PKG_CONFIG_PATH=$HOME/prefix/lib/pkgconfig @@ -103,6 +105,20 @@ install: # libtxc-dxtn-s2tc0 will make scons check fail so we remove it ... - sudo apt-get purge libtxc-dxtn-s2tc0 + # libtxc-dxtn uses the patented S3 Texture Compression + # algorithm. Therefore, we don't want to use this library but it is + # still possible through setting the USE_TXC_DXTN variable to yes in + # the travis web UI. + # + # According to Wikipedia, the patent expires on October 2, 2017: + # https://en.wikipedia.org/wiki/S3_Texture_Compression#Patent + - if test "x$USE_TXC_DXTN" = xyes; then + wget $TXC_DXTN_RELEASES/$TXC_DXTN_VERSION.tar.bz2; + tar -jxvf $TXC_DXTN_VERSION.tar.bz2; + (cd $TXC_DXTN_VERSION && ./configure --prefix=$HOME/prefix && make install); + export LD_LIBRARY_PATH=$HOME/prefix/lib; + fi + script: - if test "x$BUILD" = xmake; then ./autogen.sh --enable-debug -- 2.11.0 _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
