notbugIf you buy from Amazon USA, please support us by using this link.
Port details
s2tc Subset of a well-known texture compression scheme
1.0+20151228_1 graphics on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: search for ports maintained by this maintainer
Port Added: 2016-03-20 19:38:16
Last Update: 2018-11-10 19:57:08
SVN Revision: 484640
License: MIT
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.

SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (15 items)
  1. /usr/local/share/licenses/s2tc-1.0+20151228_1/
  2. /usr/local/share/licenses/s2tc-1.0+20151228_1/LICENSE
  3. /usr/local/share/licenses/s2tc-1.0+20151228_1/MIT
  4. bin/s2tc_compress
  5. bin/s2tc_decompress
  6. bin/s2tc_from_s3tc
  7. include/txc_dxtn.h
  8. lib/libtxc_dxtn.a
  9. lib/
  10. libdata/pkgconfig/txc_dxtn.pc
  11. man/man1/s2tc_compress.1.gz
  12. man/man1/s2tc_decompress.1.gz
  13. man/man1/s2tc_from_s3tc.1.gz
  14. @postexec /usr/sbin/service ldconfig restart > /dev/null
  15. @postunexec /usr/sbin/service ldconfig restart > /dev/null
  16. Collapse this list.

Dependency line: s2tc>0:graphics/s2tc

To install the port: cd /usr/ports/graphics/s2tc/ && make install clean
To add the package: pkg install s2tc


There is no flavor information for this port.


SHA256 (divVerent-s2tc-1.0+20151228-f6ec862_GH0.tar.gz) = 5785b81e2254e08f810ddb26acc5c6fd39631f94e9993fc0ee5807d802a2d4cb
SIZE (divVerent-s2tc-1.0+20151228-f6ec862_GH0.tar.gz) = 1398883

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. mesa-libs>=0 : graphics/mesa-libs
  2. autoconf>=2.69 : devel/autoconf
  3. automake>=1.16.1 : devel/automake
  4. libtoolize : devel/libtool

This port is required by:

for Libraries * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
     No options to configure

autoreconf libtool pathfix

Master Sites:
Port Moves

Number of commits found: 6

Commit History - (may be incomplete: see SVNWeb link above for full details)
10 Nov 2018 19:57:08
Original commit files touched by this commit  1.0+20151228_1
kwm search for other commits by this committer
Update ImageMagick to [1]

* Add PKGNAMESUFFIX and rename the directory. This was done to show
  that IM6 is not the "main" version. But still fully supported by upstream.
* Convert a number of options to optionhelpers.
* Add option for ISO/IEC 23008-12:2017 HEIF suport
* Add comment to pkg-descr explaining IM6's "legacy" tag.
* Add comment to the patch-config_policy.xml file why it still needed.

Please note that IM7 is not a drop in replacement due to library API and
command arguments changes. And as a result ports need to decide for themself
which version to use.

Chase these changes in all the ports that using IM6.

PR:		225102 (based on, only the version update) [1]
Submitted by:	Pascal Christen <>
12 May 2017 18:46:53
Original commit files touched by this commit  1.0+20151228
rezny search for other commits by this committer
Consolidate the Mesa ports, update to 17.0.4, and add Wayland option

* libGL, libEGL, libglesv2, libglapi, and gbm have been moved into mesa-libs,
  graphics/dri has been renamed to mesa-dri, and USE_GL has been adjusted
* mesa-libs has a new WAYLAND option that enables platform support in libEGL
* mesa-dri now depends on graphics/s2tc for compressed texture support [1]
* re-remove obsolete dependency on makedepends [2]
* correct sed fix backported from 17.1 [3]

PR:		218799 (exp-run), 212762 [1], 218552 [2], 218562 [3]
Submitted by:	dbn [1], jbeich [2,3]
Reported by: [1]
Reviewed by:	kwm,
Approved by:	portmgr, swills (mentor)
Differential Revision:
21 Oct 2016 15:21:13
Original commit files touched by this commit  1.0+20151228
mat search for other commits by this committer
Use USES=pathfix where applicable.

PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:
01 Apr 2016 14:00:57
Original commit files touched by this commit  1.0+20151228
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
20 Mar 2016 21:30:28
Original commit files touched by this commit  1.0+20151228
dbn search for other commits by this committer
graphics/s2tc: update to latest GIT commit.

The upstream code has been in slow development since the last official
release, however there does not appear to be new release coming.
20 Mar 2016 19:38:08
Original commit files touched by this commit  1.0
dbn search for other commits by this committer
graphics/s2tc: add new port.

Add a port that implements a subset of the Color Cell Compression texture
compression scheme.

Number of commits found: 6

User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
How big is it?
The latest upgrade!

Enter Keywords:

Latest Vulnerabilities
apache24Jan 23
mod_dav_svnJan 23
joomla3Jan 20
drupal7Jan 19
drupal8Jan 19
helmJan 18
gitlab-ceJan 17
jenkinsJan 16
jenkins-ltsJan 16
py-matrix-synapseJan 15
irssiJan 10
giteaJan 06
uriparserJan 06
chromiumJan 05
chromiumJan 05

9 vulnerabilities affecting 54 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-01-23 15:11:17

Deleted ports
Sanity Test Failures

NEW Graphs (Javascript)

Calculated hourly:
Port count 36044
Broken 120
Deprecated 412
Ignore 334
Forbidden 3
Restricted 162
Vulnerable 34
Expired 5
Set to expire 385
Interactive 0
new 24 hours 3
new 48 hours9
new 7 days41
new fortnight69
new month150

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.