From owner-svn-ports-head@freebsd.org Sun Mar 20 19:38:10 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A1E3AD7108; Sun, 20 Mar 2016 19:38:10 +0000 (UTC) (envelope-from dbn@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1357F1DCB; Sun, 20 Mar 2016 19:38:10 +0000 (UTC) (envelope-from dbn@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2KJc9qD046290; Sun, 20 Mar 2016 19:38:09 GMT (envelope-from dbn@FreeBSD.org) Received: (from dbn@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2KJc8r7046284; Sun, 20 Mar 2016 19:38:08 GMT (envelope-from dbn@FreeBSD.org) Message-Id: <201603201938.u2KJc8r7046284@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dbn set sender to dbn@FreeBSD.org using -f From: David Naylor Date: Sun, 20 Mar 2016 19:38:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411515 - in head/graphics: . s2tc s2tc/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2016 19:38:10 -0000 Author: dbn Date: Sun Mar 20 19:38:08 2016 New Revision: 411515 URL: https://svnweb.freebsd.org/changeset/ports/411515 Log: graphics/s2tc: add new port. Add a port that implements a subset of the Color Cell Compression texture compression scheme. Added: head/graphics/s2tc/ head/graphics/s2tc/Makefile (contents, props changed) head/graphics/s2tc/distinfo (contents, props changed) head/graphics/s2tc/files/ head/graphics/s2tc/files/patch-Makefile.am (contents, props changed) head/graphics/s2tc/pkg-descr (contents, props changed) head/graphics/s2tc/pkg-plist (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Sun Mar 20 19:11:52 2016 (r411514) +++ head/graphics/Makefile Sun Mar 20 19:38:08 2016 (r411515) @@ -959,6 +959,7 @@ SUBDIR += rubygem-ruby-graphviz SUBDIR += rubygem-scruffy SUBDIR += s10sh + SUBDIR += s2tc SUBDIR += sage SUBDIR += sam2p SUBDIR += sampleicc Added: head/graphics/s2tc/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/s2tc/Makefile Sun Mar 20 19:38:08 2016 (r411515) @@ -0,0 +1,26 @@ +# Created by: David Naylor +# $FreeBSD$ + +PORTNAME= s2tc +PORTVERSION= 1.0 +DISTVERSIONPREFIX= v +CATEGORIES= graphics + +MAINTAINER= dbn@FreeBSD.org +COMMENT= S2TC is a subset of a wellknown texture compression scheme + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= autoreconf libtool +USE_GL= gl +USE_GITHUB= yes + +GH_ACCOUNT= divVerent +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip + +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +.include Added: head/graphics/s2tc/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/s2tc/distinfo Sun Mar 20 19:38:08 2016 (r411515) @@ -0,0 +1,2 @@ +SHA256 (divVerent-s2tc-v1.0_GH0.tar.gz) = a21c5babd3810af4f7d4e8099e830f545b4e5f5dc0aadf375ed09d23566c6e45 +SIZE (divVerent-s2tc-v1.0_GH0.tar.gz) = 1397232 Added: head/graphics/s2tc/files/patch-Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/s2tc/files/patch-Makefile.am Sun Mar 20 19:38:08 2016 (r411515) @@ -0,0 +1,11 @@ +--- Makefile.am.orig 2016-03-20 18:59:03 UTC ++++ Makefile.am +@@ -10,8 +10,6 @@ s2tc_from_s3tc_SOURCES = s2tc_from_s3tc. + s2tc_compress_SOURCES = s2tc_compress.cpp txc_dxtn.h s2tc_license.h + s2tc_decompress_SOURCES = s2tc_decompress.cpp txc_dxtn.h s2tc_license.h + if ENABLE_RUNTIME_LINKING +-s2tc_compress_LDADD = -ldl +-s2tc_decompress_LDADD = -ldl + else + if ENABLE_LIB + s2tc_compress_LDADD = libtxc_dxtn.la Added: head/graphics/s2tc/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/s2tc/pkg-descr Sun Mar 20 19:38:08 2016 (r411515) @@ -0,0 +1,14 @@ +S2TC's format specification is very easy to implement, so it is not hard to make +a working compressor or decompressor for it. It is based on Color Cell +Compression[1] from 1986, and decoding is done entirely using the methods from +there. Encoding is done using a search and refinement method that is derived +from the methods described in that paper. + +This also makes this format a great platform for learning about texture +compression and how to tune a compressor for best quality. + +S2TC is especially well suited for runtime (on-load) compression of textures, as +it is - in low quality settings - way faster than any other texture compressors +out there. + +WWW: https://github.com/divVerent/s2tc/wiki Added: head/graphics/s2tc/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/s2tc/pkg-plist Sun Mar 20 19:38:08 2016 (r411515) @@ -0,0 +1,9 @@ +bin/s2tc_compress +bin/s2tc_decompress +bin/s2tc_from_s3tc +include/txc_dxtn.h +lib/libtxc_dxtn.a +lib/libtxc_dxtn.so +lib/libtxc_dxtn.so.0 +lib/libtxc_dxtn.so.0.0.0 +lib/pkgconfig/txc_dxtn.pc