summary refs log tree commit diff
path: root/gnu/packages/image.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-12-05 00:43:00 +0100
committerMarius Bakke <mbakke@fastmail.com>2019-12-05 17:59:10 +0100
commitc9d4e14ab4f8d28d72ea64e95272c6b1d63216cb (patch)
treeaa48f752dba6f6c49bd5ee9037102b498fe7bb92 /gnu/packages/image.scm
parent922ed1db45f100d55ad2d526d833eeecd539cc7b (diff)
downloadguix-c9d4e14ab4f8d28d72ea64e95272c6b1d63216cb.tar.gz
gnu: giflib: Update to 5.2.1.
* gnu/packages/patches/giflib-make-reallocarray-private.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/image.scm (giflib): Update to 5.2.1.
[source](uri): Adjust for new file name.
[source](patches): Remove.
[inputs]: Remove, as they were already unused.
[arguments]: Add #:make-flags.  Adjust substitution.  Delete configure phase.
Diffstat (limited to 'gnu/packages/image.scm')
-rw-r--r--gnu/packages/image.scm22
1 files changed, 11 insertions, 11 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 0a2ad5a99a..9ab97fa163 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -782,31 +782,31 @@ error-resilience, a Java-viewer for j2k-images, ...")
 (define-public giflib
   (package
     (name "giflib")
-    (version "5.1.4")
+    (version "5.2.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://sourceforge/giflib/giflib-"
-                                  version ".tar.bz2"))
+                                  version ".tar.gz"))
               (sha256
                (base32
-                "1md83dip8rf29y40cm5r7nn19705f54iraz6545zhwa6y8zyq9yz"))
-              (patches (search-patches
-                        "giflib-make-reallocarray-private.patch"))))
+                "1gbrg03z1b6rlrvjyc6d41bc8j1bsr7rm8206gb1apscyii5bnii"))))
     (build-system gnu-build-system)
     (outputs '("bin"                    ; utility programs
                "out"))                  ; library
-    (inputs `(("libx11" ,libx11)
-              ("libice" ,libice)
-              ("libsm" ,libsm)
-              ("perl" ,perl)))
     (arguments
-     `(#:phases
+     '(#:make-flags (list "CC=gcc"
+                          (string-append "PREFIX="
+                                         (assoc-ref %outputs "out"))
+                          (string-append "BINDIR="
+                                         (assoc-ref %outputs "bin") "/bin"))
+       #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'disable-html-doc-gen
            (lambda _
-             (substitute* "doc/Makefile.in"
+             (substitute* "doc/Makefile"
                (("^all: allhtml manpages") ""))
              #t))
+         (delete 'configure)
          (add-after 'install 'install-manpages
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((bin (assoc-ref outputs "bin"))