guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: texlive-bin: Fix FTBFS with Poppler >= 0.58.


From: Marius Bakke
Subject: 01/01: gnu: texlive-bin: Fix FTBFS with Poppler >= 0.58.
Date: Thu, 5 Oct 2017 18:51:45 -0400 (EDT)

mbakke pushed a commit to branch staging
in repository guix.

commit 594156ec6f0132c81c734dd3b790989623ef7632
Author: Marius Bakke <address@hidden>
Date:   Fri Oct 6 00:49:50 2017 +0200

    gnu: texlive-bin: Fix FTBFS with Poppler >= 0.58.
    
    * gnu/packages/tex.scm (texlive-bin)[source](patches): Add patch from Arch 
Linux.
    [arguments]<#:configure-flags>: Add CXXFLAGS=-std=gnu++11.
---
 gnu/packages/tex.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index a38b2af..fef81c6 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2016 Thomas Danckaert <address@hidden>
 ;;; Copyright © 2016, 2017 Ricardo Wurmus <address@hidden>
 ;;; Copyright © 2017 Leo Famulari <address@hidden>
+;;; Copyright © 2017 Marius Bakke <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -87,6 +88,20 @@
      (method url-fetch)
       (uri (string-append "ftp://tug.org/historic/systems/texlive/2017/";
                           "texlive-" version "-source.tar.xz"))
+      (patches
+       (list
+        ;; This is required for compatibility with Poppler >= 0.58.
+        ;; See 
<http://tutex.tug.org/pipermail/tex-k/2017-September/002809.html>
+        ;; and <https://bugs.archlinux.org/task/55720> for some discussion.
+        (origin
+          (method url-fetch)
+          (uri (string-append 
"https://git.archlinux.org/svntogit/packages.git/plain";
+                              
"/trunk/texlive-poppler-0.59.patch?h=packages/texlive-bin"
+                              "&id=ba2de374e2b21ecc4b85cc9777f2f15c4d356c61"))
+          (file-name "texlive-poppler-compat.patch")
+          (sha256
+           (base32
+            "1c4ikq4kxw48bi3i33bzpabrjvbk01fwjr2lz20gkc9kv8l0bg3n")))))
       (sha256 (base32
                "1amjrxyasplv4alfwcxwnw4nrx7dz2ydmddkq16k6hg90i9njq81"))))
    (build-system gnu-build-system)
@@ -123,6 +138,9 @@
     `(#:out-of-source? #t
       #:configure-flags
        `("--disable-native-texlive-build"
+         ;; XXX: This is needed because recent Poppler requires C++11 or later.
+         ;; Remove after switch to GCC >= 6.
+         "CXXFLAGS=-std=gnu++11"
          "--with-system-cairo"
          "--with-system-freetype2"
          "--with-system-gd"



reply via email to

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