guix-commits
[Top][All Lists]
Advanced

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

02/05: gnu: icecat: Use libjpeg-turbo instead of bundled libjpeg.


From: Tobias Geerinckx-Rice
Subject: 02/05: gnu: icecat: Use libjpeg-turbo instead of bundled libjpeg.
Date: Tue, 29 Nov 2016 18:15:52 +0000 (UTC)

nckx pushed a commit to branch master
in repository guix.

commit 7cba7647a5f2ca5f0be7b30414d80f0ccd7cd480
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sat Nov 26 19:06:48 2016 +0100

    gnu: icecat: Use libjpeg-turbo instead of bundled libjpeg.
    
    * gnu/packages/gnuzilla.scm (icecat)[source]: Remove bundled libjpeg, which
    is actually libjpeg-turbo.
    [inputs]: Add libjpeg-turbo.
    [arguments]: Use it.
---
 gnu/packages/gnuzilla.scm |   13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 3b00d3c..f7a8c7d 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -403,6 +403,7 @@ standards.")
                       "modules/zlib"
                       "modules/libbz2"
                       "ipc/chromium/src/third_party/libevent"
+                      "media/libjpeg"
                       "media/libvpx"
                       "security/nss"
                       "gfx/cairo"
@@ -432,6 +433,7 @@ standards.")
        ("hunspell" ,hunspell)
        ("libcanberra" ,libcanberra)
        ("libgnome" ,libgnome)
+       ("libjpeg-turbo" ,libjpeg-turbo)
        ("libxft" ,libxft)
        ("libevent" ,libevent)
        ("libxinerama" ,libxinerama)
@@ -497,6 +499,7 @@ standards.")
                            ;; Avoid bundled libraries.
                            "--with-system-zlib"
                            "--with-system-bz2"
+                           "--with-system-jpeg"        ; must be libjpeg-turbo
                            "--with-system-libevent"
                            "--with-system-libvpx"
                            "--with-system-icu"
@@ -517,16 +520,6 @@ standards.")
                            ;; Network Graphics (PNG) format";
                            ;; we probably do not wish to support it.
                            ;; "--with-system-png"
-
-                           ;; Fails with "libjpeg-turbo JCS_EXTENSIONS
-                           ;; required".
-                           ;; According to
-                           ;; http://sourceforge.net/projects/libjpeg-turbo/ ,
-                           ;; "libjpeg-turbo is a derivative of libjpeg that
-                           ;; uses MMX, SSE, SSE2, and NEON SIMD instructions
-                           ;; to accelerate baseline JPEG compression/
-                           ;; decompression", so we had better not use it
-                           ;; "--with-system-jpeg"
                            )
 
        #:modules ((ice-9 ftw)



reply via email to

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