Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Feb 2016 12:23:28 +0000 (UTC)
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408718 - in head/devel: . libbrotli libbrotli/files
Message-ID:  <201602121223.u1CCNSuJ078218@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: osa
Date: Fri Feb 12 12:23:28 2016
New Revision: 408718
URL: https://svnweb.freebsd.org/changeset/ports/408718

Log:
  Add libbrotli - libraries for the brotli decode and encode sources.

Added:
  head/devel/libbrotli/
  head/devel/libbrotli/Makefile   (contents, props changed)
  head/devel/libbrotli/distinfo   (contents, props changed)
  head/devel/libbrotli/files/
  head/devel/libbrotli/files/patch-Makefile.am   (contents, props changed)
  head/devel/libbrotli/files/patch-autogen.sh   (contents, props changed)
  head/devel/libbrotli/pkg-descr   (contents, props changed)
  head/devel/libbrotli/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Feb 12 12:15:53 2016	(r408717)
+++ head/devel/Makefile	Fri Feb 12 12:23:28 2016	(r408718)
@@ -1123,6 +1123,7 @@
     SUBDIR += libbobcat
     SUBDIR += libbonobo
     SUBDIR += libbonobo-reference
+    SUBDIR += libbrotli
     SUBDIR += libbson
     SUBDIR += libburn
     SUBDIR += libc++

Added: head/devel/libbrotli/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libbrotli/Makefile	Fri Feb 12 12:23:28 2016	(r408718)
@@ -0,0 +1,31 @@
+# Created by: Sergey A. Osokin <osa@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	libbrotli
+PORTVERSION=	${BROTLI_VERSION}
+CATEGORIES=	devel archivers
+
+MAINTAINER=	osa@FreeBSD.org
+COMMENT=	Library for generic-purpose lossless compression algorithm
+
+LICENSE=	MIT
+
+LIBBROTLI_VERSION=	53d53e8
+BROTLI_VERSION=		0.3.0
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	bagder google:brotli
+GH_PROJECT=	brotli:brotli
+GH_TAGNAME=	${LIBBROTLI_VERSION} v${BROTLI_VERSION}:brotli
+
+#USES=		pkgconfig autoreconf libtool compiler:c++0x gmake
+USES=		pkgconfig autoreconf libtool compiler:c++0x
+GNU_CONFIGURE=	yes
+MAKE_JOBS_UNSAFE=	yes
+USE_LDCONFIG=	yes
+
+pre-configure:
+	${RMDIR} ${WRKSRC}/brotli && ${MV} ${WRKDIR}/brotli-${BROTLI_VERSION} ${WRKSRC}/brotli
+	cd ${WRKSRC} && ./autogen.sh
+
+.include <bsd.port.mk>

Added: head/devel/libbrotli/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libbrotli/distinfo	Fri Feb 12 12:23:28 2016	(r408718)
@@ -0,0 +1,4 @@
+SHA256 (bagder-libbrotli-0.3.0-53d53e8_GH0.tar.gz) = fc5b50981ffd7f66dbf9ac398d99bad89e08237d90c7966ff20f4fbe883fb895
+SIZE (bagder-libbrotli-0.3.0-53d53e8_GH0.tar.gz) = 3103
+SHA256 (google-brotli-v0.3.0_GH0.tar.gz) = 5d49eb1a6dd19304dd683c293abf66c8a419728f4c6d0f390fa7deb2a39eaae2
+SIZE (google-brotli-v0.3.0_GH0.tar.gz) = 8035159

Added: head/devel/libbrotli/files/patch-Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libbrotli/files/patch-Makefile.am	Fri Feb 12 12:23:28 2016	(r408718)
@@ -0,0 +1,31 @@
+--- Makefile.am.orig	2016-01-20 21:31:42 UTC
++++ Makefile.am
+@@ -14,8 +14,7 @@ ENCODE = brotli/enc/backward_references.
+  brotli/enc/encode.cc brotli/enc/static_dict.cc				\
+  brotli/enc/encode_parallel.cc brotli/enc/streams.cc			\
+  brotli/enc/entropy_encode.cc brotli/enc/dictionary.cc			\
+- brotli/enc/utf8_util.cc brotli/enc/compress_fragment.cc			\
+- brotli/enc/compress_fragment_two_pass.cc
++ brotli/enc/utf8_util.cc
+ 
+ DECODEHEADERS = brotli/dec/decode.h brotli/dec/state.h			\
+  brotli/dec/streams.h brotli/dec/types.h brotli/dec/bit_reader.h	\
+@@ -32,15 +31,15 @@ ENCODEHEADERS = brotli/enc/encode.h brot
+  brotli/enc/literal_cost.h brotli/enc/cluster.h brotli/enc/bit_cost.h   \
+  brotli/enc/entropy_encode.h brotli/enc/brotli_bit_stream.h             \
+  brotli/enc/write_bits.h brotli/enc/static_dict_lut.h                   \
+- brotli/enc/encode_parallel.h brotli/enc/types.h brotli/enc/utf8_util.h \
+- brotli/enc/compress_fragment.h brotli/enc/compress_fragment_two_pass.h
++ brotli/enc/encode_parallel.h brotli/enc/types.h brotli/enc/utf8_util.h
++
+ 
+ EXTRA_DIST = AUTHORS README
+ 
+ # install headers in $(includedir) with subdirs
+ nobase_include_HEADERS = $(DECODEHEADERS) $(ENCODEHEADERS)
+ 
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(libdir)/../libdata/pkgconfig
+ pkgconfig_DATA = libbrotlienc.pc libbrotlidec.pc
+ pkgincludedir= $(includedir)/brotli
+ pkginclude_HEADERS = 

Added: head/devel/libbrotli/files/patch-autogen.sh
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libbrotli/files/patch-autogen.sh	Fri Feb 12 12:23:28 2016	(r408718)
@@ -0,0 +1,11 @@
+--- autogen.sh.orig	2016-01-20 21:31:42 UTC
++++ autogen.sh
+@@ -12,8 +12,6 @@ if test $? -ne 0; then
+   exit 1
+ fi
+ 
+-$GIT submodule init
+-$GIT submodule update
+ 
+ # create m4 before autoreconf
+ mkdir m4 2>/dev/null

Added: head/devel/libbrotli/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libbrotli/pkg-descr	Fri Feb 12 12:23:28 2016	(r408718)
@@ -0,0 +1,5 @@
+Wrapper scripts and code around the brotli code base.
+Builds libraries out of the brotli decode and encode sources.
+
+WWW: https://github.com/google/brotli
+WWW: https://github.com/bagder/libbrotli

Added: head/devel/libbrotli/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libbrotli/pkg-plist	Fri Feb 12 12:23:28 2016	(r408718)
@@ -0,0 +1,49 @@
+include/brotli/dec/bit_reader.h
+include/brotli/dec/context.h
+include/brotli/dec/decode.h
+include/brotli/dec/dictionary.h
+include/brotli/dec/huffman.h
+include/brotli/dec/port.h
+include/brotli/dec/prefix.h
+include/brotli/dec/state.h
+include/brotli/dec/streams.h
+include/brotli/dec/transform.h
+include/brotli/dec/types.h
+include/brotli/enc/backward_references.h
+include/brotli/enc/bit_cost.h
+include/brotli/enc/block_splitter.h
+include/brotli/enc/brotli_bit_stream.h
+include/brotli/enc/cluster.h
+include/brotli/enc/command.h
+include/brotli/enc/context.h
+include/brotli/enc/dictionary.h
+include/brotli/enc/dictionary_hash.h
+include/brotli/enc/encode.h
+include/brotli/enc/encode_parallel.h
+include/brotli/enc/entropy_encode.h
+include/brotli/enc/fast_log.h
+include/brotli/enc/find_match_length.h
+include/brotli/enc/hash.h
+include/brotli/enc/histogram.h
+include/brotli/enc/literal_cost.h
+include/brotli/enc/metablock.h
+include/brotli/enc/port.h
+include/brotli/enc/prefix.h
+include/brotli/enc/ringbuffer.h
+include/brotli/enc/static_dict.h
+include/brotli/enc/static_dict_lut.h
+include/brotli/enc/streams.h
+include/brotli/enc/transform.h
+include/brotli/enc/types.h
+include/brotli/enc/utf8_util.h
+include/brotli/enc/write_bits.h
+lib/libbrotlidec.a
+lib/libbrotlidec.so
+lib/libbrotlidec.so.1
+lib/libbrotlidec.so.1.0.0
+lib/libbrotlienc.a
+lib/libbrotlienc.so
+lib/libbrotlienc.so.1
+lib/libbrotlienc.so.1.0.0
+libdata/pkgconfig/libbrotlidec.pc
+libdata/pkgconfig/libbrotlienc.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602121223.u1CCNSuJ078218>