guix-commits
[Top][All Lists]
Advanced

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

01/17: gnu: rsync: Enable zstd & lz4 compression.


From: guix-commits
Subject: 01/17: gnu: rsync: Enable zstd & lz4 compression.
Date: Thu, 23 Sep 2021 12:20:52 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 6b035ad2fa028d923ea09c8e2a363b318df91538
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue Sep 21 21:30:41 2021 +0200

    gnu: rsync: Enable zstd & lz4 compression.
    
    Both are ridiculously more suited to this role than the old zlib
    compressor.  The closure size increase is negligible (1 MiB or 1.3% for
    zstd, 1.7 MiB for both).
    
    * gnu/packages/rsync.scm (rsync-next)[inputs]: Add zstd:lib and lz4.
    [arguments]: Remove the corresponding "--disable-zstd" and
    "--disable-lz4" #:configure-flags.
---
 gnu/packages/rsync.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/rsync.scm b/gnu/packages/rsync.scm
index 59460f1..956c942 100644
--- a/gnu/packages/rsync.scm
+++ b/gnu/packages/rsync.scm
@@ -87,16 +87,16 @@ files in the destination.")
       (list "--without-included-zlib"
             "--without-included-popt"
             ;; Avoid these dependencies for now.
-            "--disable-lz4"
-            "--disable-openssl"
-            "--disable-zstd")))
+            "--disable-openssl")))
    (native-inputs
     `(("perl" ,perl)))
    (inputs
     `(("acl" ,acl)
+      ("lz4" ,lz4)
       ("popt" ,popt)
       ("xxhash" ,xxhash)
-      ("zlib" ,zlib)))
+      ("zlib" ,zlib)
+      ("zstd:lib" ,zstd "lib")))
    (synopsis "Remote (and local) file copying tool")
    (description
     "Rsync is a fast and versatile file copying tool.  It can copy locally,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]