GNU bug report logs -
#30977
[PATCH] gnu: Add duperemove.
Previous Next
Reported by: Vasile Dumitrascu <va511e <at> yahoo.com>
Date: Wed, 28 Mar 2018 19:26:02 UTC
Severity: normal
Tags: patch
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30977 in the body.
You can then email your comments to 30977 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#30977
; Package
guix-patches
.
(Wed, 28 Mar 2018 19:26:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Vasile Dumitrascu <va511e <at> yahoo.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 28 Mar 2018 19:26:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/disk.scm (duperemove): New variable.
---
gnu/packages/disk.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 96c3a56e7..de829cd24 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -9,6 +9,7 @@
;;; Copyright ?? 2016, 2017 Marius Bakke <mbakke <at> fastmail.com>
;;; Copyright ?? 2017 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
;;; Copyright ?? 2017 Stefan Reich??r <stefan <at> xsteve.at>
+;;; Copyright ?? 2018 Vasile Dumitrascu <va511e <at> yahoo.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -34,6 +35,7 @@
#:use-module (guix build-system python)
#:use-module (gnu packages)
#:use-module (gnu packages base)
+ #:use-module (gnu packages databases)
#:use-module (gnu packages docbook)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
@@ -456,3 +458,45 @@ a card with a smaller capacity than stated.")
(define-public python2-parted
(package-with-python2 python-parted))
+
+(define-public duperemove
+ (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"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("pkg-config" ,pkg-config)
+ ("glib" ,glib)
+ ("sqlite" ,sqlite)))
+ (arguments
+ `(#:tests? #f ;no test suite
+ #:phases
+ (modify-phases %standard-phases
+ ;; no configure script
+ (delete 'configure))
+ #: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.
+
+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 also take input from the fdupes program.")
+ (license license:gpl2)))
--
2.16.3
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Thu, 29 Mar 2018 12:01:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Vasile Dumitrascu <va511e <at> yahoo.com>
:
bug acknowledged by developer.
(Thu, 29 Mar 2018 12:01:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 30977-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
Vasile Dumitrascu <va511e <at> yahoo.com> skribis:
> * gnu/packages/disk.scm (duperemove): New variable.
Applied with the following changes, mostly to placate ‘guix lint’.
Thanks,
Ludo’.
[Message part 2 (text/x-patch, inline)]
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)))
Information forwarded
to
guix-patches <at> gnu.org
:
bug#30977
; Package
guix-patches
.
(Thu, 29 Mar 2018 14:20:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 30977-done <at> debbugs.gnu.org (full text, mbox):
Hello
Thank you for the merge,
Vasile
Ludovic Courtès:
> Hello,
>
> Vasile Dumitrascu <va511e <at> yahoo.com> 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)))
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 27 Apr 2018 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 56 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.