guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: libtiff: Fix documentation directory name in


From: guix-commits
Subject: branch master updated: gnu: libtiff: Fix documentation directory name in grafted replacement.
Date: Fri, 12 Mar 2021 14:10:45 -0500

This is an automated email from the git hooks/post-receive script.

lfam pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 35b3ab8  gnu: libtiff: Fix documentation directory name in grafted 
replacement.
35b3ab8 is described below

commit 35b3ab8e5748d9911ae7a0189065d0c25392895b
Author: Leo Famulari <leo@famulari.name>
AuthorDate: Fri Mar 12 14:07:34 2021 -0500

    gnu: libtiff: Fix documentation directory name in grafted replacement.
    
    Fixes <https://bugs.gnu.org/47107>.
    
    This is a followup to commit 6320700b114f09c09fbe613e2032abe077d28583.
    
    * gnu/packages/image.scm (libtiff/fixed)[name, arguments]: New fields.
---
 gnu/packages/image.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 29e88af..4f249b7 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -616,6 +616,7 @@ collection of tools for doing simple manipulations of TIFF 
images.")
 (define-public libtiff/fixed
   (package
     (inherit libtiff)
+    (name "libtiff")
     (version "4.2.0")
     (source
      (origin
@@ -624,7 +625,14 @@ collection of tools for doing simple manipulations of TIFF 
images.")
                            version ".tar.gz"))
        (sha256
         (base32
-         "1jrkjv0xya9radddn8idxvs2gqzp3l2b1s8knlizmn7ad3jq817b"))))))
+         "1jrkjv0xya9radddn8idxvs2gqzp3l2b1s8knlizmn7ad3jq817b"))))
+    (arguments
+     ;; Instead of using --docdir, this package has its own --with-docdir.
+     `(#:configure-flags (list (string-append "--with-docdir="
+                                              (assoc-ref %outputs "doc")
+                                              "/share/doc/"
+                                              ,name "-" ,version)
+                               "--disable-static")))))
 
 (define-public leptonica
   (package



reply via email to

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