pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libaec: Adaptive entropy coding library (drop in replacement for szip)



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Sat Apr 20 10:59:58 2019 -0500
Changeset:	e7e38495edf427663049dbdd40c0eee2ff32b765

Modified Files:
	Makefile
Added Files:
	libaec/DESCR
	libaec/Makefile
	libaec/PLIST
	libaec/buildlink3.mk
	libaec/distinfo

Log Message:
libaec: Adaptive entropy coding library (drop in replacement for szip)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e7e38495edf427663049dbdd40c0eee2ff32b765

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile             |  1 +
 libaec/DESCR         | 13 +++++++++++++
 libaec/Makefile      | 28 ++++++++++++++++++++++++++++
 libaec/PLIST         |  9 +++++++++
 libaec/buildlink3.mk | 12 ++++++++++++
 libaec/distinfo      |  6 ++++++
 6 files changed, 69 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index d7e0a6f42a..69e5e2de9d 100644
--- a/Makefile
+++ b/Makefile
@@ -1796,6 +1796,7 @@ SUBDIR+=	lhapdf
 SUBDIR+=	lhs2tex
 SUBDIR+=	libGenome
 SUBDIR+=	libLLVM38
+SUBDIR+=	libaec
 SUBDIR+=	libalkimia
 SUBDIR+=	libanimal
 SUBDIR+=	libansilove
diff --git a/libaec/DESCR b/libaec/DESCR
new file mode 100644
index 0000000000..1e3376ce93
--- /dev/null
+++ b/libaec/DESCR
@@ -0,0 +1,13 @@
+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.
diff --git a/libaec/Makefile b/libaec/Makefile
new file mode 100644
index 0000000000..c456eef603
--- /dev/null
+++ b/libaec/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD$
+#
+###########################################################
+#                  Generated by fbsd2pkg                  #
+#              Sat Apr 20 10:44:54 CDT 2019               #
+###########################################################
+
+#CONFLICTS_INSTALL=	hdf-szip
+#USE_LDCONFIG=	yes
+
+DISTNAME=	libaec-1.0.4
+CATEGORIES=	archivers
+MASTER_SITES=	https://gitlab.dkrz.de/k202009/libaec/uploads/ea0b7d197a950b0c110da8dfdecbb71f/
+
+MAINTAINER=	bacon%NetBSD.org@localhost
+HOMEPAGE=	https://gitlab.dkrz.de/k202009/libaec
+COMMENT=	Adaptive entropy coding library
+LICENSE=	2-clause-bsd
+
+USE_TOOLS+=	autoconf automake autoreconf
+USE_LIBTOOL=	yes
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+
+pre-configure:
+	cd ${WRKSRC} && autoreconf -if
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/libaec/PLIST b/libaec/PLIST
new file mode 100644
index 0000000000..0f1e7c9867
--- /dev/null
+++ b/libaec/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD$
+bin/aec
+include/libaec.h
+include/szlib.h
+lib/libaec.la
+lib/libsz.la
+man/man1/aec.1
+@pkgdir share/examples
+@pkgdir share/doc
diff --git a/libaec/buildlink3.mk b/libaec/buildlink3.mk
new file mode 100644
index 0000000000..f509fbe4ec
--- /dev/null
+++ b/libaec/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	libaec
+
+.if !defined(LIBAEC_BUILDLINK3_MK)
+LIBAEC_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libaec+=	libaec>=1.0.4
+BUILDLINK_PKGSRCDIR.libaec?=	../../wip/libaec
+.endif	# LIBAEC_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libaec
diff --git a/libaec/distinfo b/libaec/distinfo
new file mode 100644
index 0000000000..76d9e37eb4
--- /dev/null
+++ b/libaec/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (libaec-1.0.4.tar.gz) = 17a3972aee6d5d4c46c724f3a8a57f8e0161a806
+RMD160 (libaec-1.0.4.tar.gz) = e41987d68a1bd5325c9016bb161b51a2b845f81a
+SHA512 (libaec-1.0.4.tar.gz) = 3873b51986f8a05202c44ea3eb0f2f9125869a29367473dc3f6de4d67a0ecc4245787eaf979760254001ae289ffe588cf065c73153a0ef9eb8ed20641bcbf0ad
+Size (libaec-1.0.4.tar.gz) = 3120061 bytes


Home | Main Index | Thread Index | Old Index