[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/11: gnu: Add brotli.
From: |
Eric Bavier |
Subject: |
04/11: gnu: Add brotli. |
Date: |
Fri, 15 Apr 2016 05:39:57 +0000 |
bavier pushed a commit to branch master
in repository guix.
commit 69d9792a94c443069e1580497dd10d4a8213eee2
Author: Eric Bavier <address@hidden>
Date: Sat Apr 2 01:48:30 2016 -0500
gnu: Add brotli.
* gnu/packages/compression.scm (brotli): New variable.
---
gnu/packages/compression.scm | 45 +++++++++++++++++++++++++++++++++++++++++-
1 files changed, 44 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 938d4b8..de5d03a 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -3,7 +3,7 @@
;;; Copyright © 2013 Andreas Enge <address@hidden>
;;; Copyright © 2014, 2015 Mark H Weaver <address@hidden>
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <address@hidden>
-;;; Copyright © 2015 Eric Bavier <address@hidden>
+;;; Copyright © 2015, 2016 Eric Bavier <address@hidden>
;;; Copyright © 2015 Ricardo Wurmus <address@hidden>
;;; Copyright © 2015 Leo Famulari <address@hidden>
;;; Copyright © 2015 Jeff Mickey <address@hidden>
@@ -33,6 +33,7 @@
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system perl)
+ #:use-module (gnu packages autotools)
#:use-module (gnu packages backup)
#:use-module (gnu packages base)
#:use-module (gnu packages perl)
@@ -688,3 +689,45 @@ a collection of smaller blocks which makes random access
to the original data
possible and can compress in parallel. This is especially useful for large
tarballs.")
(license license:bsd-2)))
+
+(define-public brotli
+ (let ((commit "e992cce7a174d6e2b3486616499d26bb0bad6448")
+ (revision "1"))
+ (package
+ (name "brotli")
+ (version (string-append "0.1-" revision "."
+ (string-take commit 7)))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/bagder/libbrotli.git")
+ (commit commit)
+ (recursive? #t)))
+ (file-name (string-append name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1qxxsasvwbbbh6dl3138y9h3fg0q2v7xdk5jjc690bdg7g1wrj6n"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; This is a recursive submodule that is unnecessary for this
+ ;; package, so delete it.
+ '(delete-file-recursively "brotli/terryfy"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)))
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'autogen
+ (lambda _
+ (mkdir "m4")
+ (zero? (system* "autoreconf" "-vfi")))))))
+ (home-page "https://github.com/bagder/libbrotli/")
+ (synopsis "Implementation of the Brotli compression algorithm")
+ (description
+ "Brotli is a general-purpose lossless compression algorithm. It is
+similar in speed to deflate but offers denser compression. This package
+provides encoder and a decoder libraries: libbrotlienc and libbrotlidec,
+respectively, based on the reference implementation from Google.")
+ (license license:expat))))
- branch master updated (08fbfa8 -> de94602), Eric Bavier, 2016/04/15
- 03/11: gnu: Add ttf2eot., Eric Bavier, 2016/04/15
- 02/11: gnu: Add woff-tools., Eric Bavier, 2016/04/15
- 04/11: gnu: Add brotli.,
Eric Bavier <=
- 09/11: gnu: fontforge: Install 'showttf' tool., Eric Bavier, 2016/04/15
- 11/11: gnu: fontforge: Swap giflib input for libungif., Eric Bavier, 2016/04/15
- 05/11: gnu: Add woff2., Eric Bavier, 2016/04/15
- 10/11: gnu: fontforge: Remove 'patch-configure' phase., Eric Bavier, 2016/04/15
- 06/11: gnu: fontforge: Make SVG builds reproducible., Eric Bavier, 2016/04/15
- 01/11: gnu: Add ttfautohint., Eric Bavier, 2016/04/15
- 07/11: gnu: Add font-fantasque-sans., Eric Bavier, 2016/04/15
- 08/11: gnu: fontforge: Use modify-phases., Eric Bavier, 2016/04/15