guix-commits
[Top][All Lists]
Advanced

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

01/08: gnu: genext2fs: Update to 1.4.1-4.


From: guix-commits
Subject: 01/08: gnu: genext2fs: Update to 1.4.1-4.
Date: Tue, 5 Mar 2019 11:02:51 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 083639a5532625f2564d7ea0fb5679528be5a164
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Mar 5 13:01:32 2019 +0100

    gnu: genext2fs: Update to 1.4.1-4.
    
    * gnu/packages/linux.scm (genext2fs): Update to 1.4.1-4.
    [arguments]: Add 'apply-debian-patches' phase.
    [native-inputs]: Add autoconf and automake.
---
 gnu/packages/linux.scm | 25 +++++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 9ed46f8..25c4a70 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5042,17 +5042,34 @@ file systems.")
 (define-public genext2fs
   (package
     (name "genext2fs")
-    (version "1.4.1")
+    (version "1.4.1-4")
     (source (origin
               (method git-fetch)
               (uri (git-reference
                     (url "https://github.com/jeremie-koenig/genext2fs.git";)
-                    (commit (string-append "genext2fs-" version))))
+                    ;; 1.4.1-3 had a VCS tag but 1.4.1-4 doesn't.
+                    (commit "9ee43894634998b0b2b309d636f25c64314c9421")))
               (file-name (git-file-name name version))
               (sha256
-               (base32
-                "1r0n74pyypv63qfqqpvx75dwijcsvcrvqrlv8sldbhv0nwr1gk53"))))
+               (base32 
"0ib5icn78ciz00zhc1bgdlrwaxvsdz7wnplwblng0jirwi9ml7sq"))))
     (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'apply-debian-patches
+           ;; Debian changes (the revision after ‘-’ in VERSION) are
+           ;; maintained as separate patches.  Apply those relevant to us.
+           (lambda _
+             (for-each
+              (lambda (file-name)
+                (invoke "patch" "-p1" "-i"
+                        (string-append "debian/patches/" file-name)))
+              (list "blocksize+creator.diff" ; add -B/-o options
+                    "byteswap_fix.diff"))
+             #t)))))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)))
     (home-page "https://github.com/jeremie-koenig/genext2fs";)
     (synopsis "Generate ext2 filesystem as a normal user")
     (description "This package provides a program to general an ext2



reply via email to

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