From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1YPN-00061M-Nh for guix-patches@gnu.org; Thu, 29 Mar 2018 10:20:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1YPK-0000X5-IG for guix-patches@gnu.org; Thu, 29 Mar 2018 10:20:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50918) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f1YPK-0000Wq-EI for guix-patches@gnu.org; Thu, 29 Mar 2018 10:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f1YPK-0003Vc-3H for guix-patches@gnu.org; Thu, 29 Mar 2018 10:20:02 -0400 Subject: [bug#30977] [PATCH] gnu: Add duperemove. Resent-Message-ID: References: <20180328192505.10613-1-va511e@yahoo.com> <87h8ozw0pu.fsf@gnu.org> From: Vasile Dumitrascu Message-ID: Date: Thu, 29 Mar 2018 14:14:00 +0000 MIME-Version: 1.0 In-Reply-To: <87h8ozw0pu.fsf@gnu.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30977-done@debbugs.gnu.org   Hello Thank you for the merge,   Vasile Ludovic Courtès: > Hello, > > Vasile Dumitrascu skribis: > >> * gnu/packages/disk.scm (duperemove): New variable. > Applied with the following changes, mostly to placate ‘guix lint’. > > Thanks, > Ludo’. > > > > diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm > index de829cd24..595000bf8 100644 > --- a/gnu/packages/disk.scm > +++ b/gnu/packages/disk.scm > @@ -463,21 +463,23 @@ a card with a smaller capacity than stated.") > (package > (name "duperemove") > (version "v0.11.beta4") > - (source > - (origin > - (method url-fetch) > - (uri (string-append "https://github.com/markfasheh/duperemove/archive/" > - version ".tar.gz")) > - (sha256 > - (base32 > - "1h5nk03kflfnzihvn2rvfz1h623x1zpkn9hp29skd7n3f2bc5k7x")))) > + (source (origin > + (method url-fetch) > + (uri (string-append > + "https://github.com/markfasheh/duperemove/archive/" > + version ".tar.gz")) > + (sha256 > + (base32 > + "1h5nk03kflfnzihvn2rvfz1h623x1zpkn9hp29skd7n3f2bc5k7x")) > + (file-name (string-append name "-" version ".tar.gz")))) > (build-system gnu-build-system) > + (native-inputs > + `(("pkg-config" ,pkg-config))) > (inputs > - `(("pkg-config" ,pkg-config) > - ("glib" ,glib) > + `(("glib" ,glib) > ("sqlite" ,sqlite))) > (arguments > - `(#:tests? #f ;no test suite > + `(#:tests? #f ;no test suite > #:phases > (modify-phases %standard-phases > ;; no configure script > @@ -485,18 +487,18 @@ a card with a smaller capacity than stated.") > #:make-flags (list (string-append "PREFIX=" %output) > "CC=gcc"))) > (home-page "https://github.com/markfasheh/duperemove") > - (synopsis "Tools for deduping file systems") > - (description "Duperemove is a simple tool for finding duplicated extents and > -submitting them for deduplication. When given a list of files it will hash their > -contents on a block by block basis and compare those hashes to each other, > -finding and categorizing blocks that match each other. When given the -d option, > -duperemove will submit those extents for deduplication using the Linux kernel > -extent-same ioctl. > + (synopsis "Tools for de-duplicating file system data") > + (description "Duperemove is a simple tool for finding duplicated extents > +and submitting them for deduplication. When given a list of files it will > +hash their contents on a block by block basis and compare those hashes to each > +other, finding and categorizing blocks that match each other. When given the > +@option{-d} option, duperemove will submit those extents for deduplication > +using the Linux kernel extent-same @code{ioctl}. > > -Duperemove can store the hashes it computes in a 'hashfile'. If given an > -existing hashfile, duperemove will only compute hashes for those files which > -have changed since the last run. Thus you can run duperemove repeatedly on your > -data as it changes, without having to re-checksum unchanged data. > +Duperemove can store the hashes it computes in a @dfn{hash file}. If given an > +existing hash file, duperemove will only compute hashes for those files which > +have changed since the last run. Thus you can run duperemove repeatedly on > +your data as it changes, without having to re-checksum unchanged data. > > -Duperemove can also take input from the fdupes program.") > +Duperemove can also take input from the @command{fdupes} program.") > (license license:gpl2)))