guix-commits
[Top][All Lists]
Advanced

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

branch staging updated: gnu: transcode: Build with a newer ImageMagick.


From: guix-commits
Subject: branch staging updated: gnu: transcode: Build with a newer ImageMagick.
Date: Wed, 11 Nov 2020 15:41:18 -0500

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

mbakke pushed a commit to branch staging
in repository guix.

The following commit(s) were added to refs/heads/staging by this push:
     new 4688dc9  gnu: transcode: Build with a newer ImageMagick.
4688dc9 is described below

commit 4688dc9bb89a3b753edcbcfb6bcd5ef0df69e584
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Nov 11 21:33:04 2020 +0100

    gnu: transcode: Build with a newer ImageMagick.
    
    * gnu/packages/imagemagick.scm (imagemagick-next): New public variable.
    * gnu/packages/video.scm (transcode)[inputs]: Change from IMAGEMAGICK to
    IMAGEMAGICK-NEXT.
---
 gnu/packages/imagemagick.scm | 15 +++++++++++++++
 gnu/packages/video.scm       |  2 +-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/imagemagick.scm b/gnu/packages/imagemagick.scm
index e4efea4..a624d7b 100644
--- a/gnu/packages/imagemagick.scm
+++ b/gnu/packages/imagemagick.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
+;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -124,6 +125,20 @@ transform images, adjust image colors, apply various 
special effects, or draw
 text, lines, polygons, ellipses and Bézier curves.")
     (license (license:fsf-free 
"http://www.imagemagick.org/script/license.php";))))
 
+;; XXX: 'transcode' fails to detect the above ImageMagick, so we provide
+;; this newer version.
+(define-public imagemagick-next
+  (package
+    (inherit imagemagick)
+    (version "6.9.11-37")
+    (source (origin
+             (method url-fetch)
+             (uri (string-append "mirror://imagemagick/ImageMagick-"
+                                 version ".tar.xz"))
+             (sha256
+              (base32
+               "19r6fyhr1bycx0p6jz034mil1zh2k7hfr02is40h4g3wf9b9sdni"))))))
+
 (define-public perl-image-magick
   (package
     (name "perl-image-magick")
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 60a3928..04c3687 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -245,7 +245,7 @@
        ("faac" ,faac)
        ("ffmpeg" ,ffmpeg)
        ("freetype" ,freetype)
-       ("imagemagick" ,imagemagick)
+       ("imagemagick" ,imagemagick-next)
        ("lame" ,lame)
        ("liba52" ,liba52)
        ("libdv" ,libdv)



reply via email to

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