BSD Ports

science/libaec 1.1.3 MidnightBSD

Adaptive entropy coding library

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd2
Categories
science

Description

Libaec provides fast lossless compression of 1 up to 32 bit wide signed or unsigned integers (samples). The library achieves best results for low entropy data as often encountered in space imaging instrument data or numerical model output from weather or climate simulations. While floating point representations are not directly supported, they can also be efficiently coded by grouping exponents and mantissa.

Libaec implements Golomb-Rice coding as defined in the Space Data System Standard documents 121.0-B-2 and 120.0-G-2.

Libaec includes a free drop-in replacement for the SZIP library. Just replace SZIP's shared library libsz.so* with libaec.so* and libsz.so* from libaec. Code which is dynamically linked with SZIP such as HDF5 should continue to work with libaec. No re-compilation required. HDF5 files which contain SZIP encoded data can be decoded by HDF5 using libaec and vice versa.

In the other systems

SystemPortVersion
MidnightBSDscience/libaec1.1.3
FreeBSDscience/libaec1.1.7
OpenBSDarchivers/libaec1.1.7
NetBSDarchivers/libaec1.1.3
DragonFlyscience/libaec1.1.3

Install

Binary package:

mport install libaec

From mports:

cd /usr/mports/science/libaec && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libaec>0:science/libaec
LIB_DEPENDS=	libaec.so:science/libaec

Dependencies

Configuration

No options to configure.

USES
cmake:testing
Service scripts
none

Files

pkg-plist 12
  • cmake/libaec-config-version.cmake
  • cmake/libaec-config.cmake
  • include/libaec.h
  • include/szlib.h
  • lib/libaec.a
  • lib/libaec.so
  • lib/libaec.so.0
  • lib/libaec.so.0.1.3
  • lib/libsz.a
  • lib/libsz.so
  • lib/libsz.so.2
  • lib/libsz.so.2.0.1
distinfo 1
FileSizeSHA256
libaec-1.1.3.tar.gz3.137647e+06bd8bea8b69ca602796b2daf17b0a7de019ce3c3bd0ad56fa9ef4a631a4088058
Master sites 2
  • https://github.com/MathisRosenhauer/libaec/releases/download/v1.1.3/
  • https://gitlab.dkrz.de/k202009/libaec/uploads/3847727cd2e8c941f0d68f6822a73ed7/