[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/19: gnu: texlive-bin: Fix build with Poppler 0.86.
From: |
guix-commits |
Subject: |
13/19: gnu: texlive-bin: Fix build with Poppler 0.86. |
Date: |
Thu, 5 Mar 2020 18:10:19 -0500 (EST) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 44a33ee90dbd97abf388fc45a7f4cd41cbc8171f
Author: Marius Bakke <address@hidden>
AuthorDate: Wed Mar 4 11:52:29 2020 +0100
gnu: texlive-bin: Fix build with Poppler 0.86.
* gnu/packages/patches/texlive-bin-poppler-0.86.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/tex.scm (texlive-bin)[source](patches): Add it.
---
gnu/local.mk | 1 +
gnu/packages/patches/texlive-bin-poppler-0.86.patch | 17 +++++++++++++++++
gnu/packages/tex.scm | 3 ++-
3 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 463d671..e452cd8 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1438,6 +1438,7 @@ dist_patch_DATA =
\
%D%/packages/patches/teensy-loader-cli-help.patch \
%D%/packages/patches/texinfo-5-perl-compat.patch \
%D%/packages/patches/texlive-bin-poppler-0.83.patch \
+ %D%/packages/patches/texlive-bin-poppler-0.86.patch \
%D%/packages/patches/telegram-purple-adjust-test.patch \
%D%/packages/patches/telepathy-glib-channel-memory-leak.patch \
%D%/packages/patches/texi2html-document-encoding.patch \
diff --git a/gnu/packages/patches/texlive-bin-poppler-0.86.patch
b/gnu/packages/patches/texlive-bin-poppler-0.86.patch
new file mode 100644
index 0000000..b1adca6
--- /dev/null
+++ b/gnu/packages/patches/texlive-bin-poppler-0.86.patch
@@ -0,0 +1,17 @@
+Fix build with Poppler 0.86 and later.
+
+Taken from Arch Linux, but adjusted to patch the versioned Poppler
+files, as upstream applies it after copying them in place.
+https://git.archlinux.org/svntogit/packages.git/tree/trunk/texlive-poppler-0.86.patch?h=packages/texlive-bin
+
+--- a/texk/web2c/pdftexdir/pdftoepdf-poppler0.76.0.cc 2020-03-03
21:11:35.102711802 +0000
++++ b/texk/web2c/pdftexdir/pdftoepdf-poppler0.76.0.cc 2020-03-03
21:13:13.057420111 +0000
+@@ -757,7 +757,7 @@
+ if (page_name) {
+ // get page by name
+ GString name(page_name);
+- LinkDest *link = pdf_doc->doc->findDest(&name);
++ LinkDest *link = pdf_doc->doc->findDest(&name).get();
+ if (link == 0 || !link->isOk())
+ pdftex_fail("PDF inclusion: invalid destination <%s>", page_name);
+ Ref ref = link->getPageRef();
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index d95434a..dd90ab2 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -255,7 +255,8 @@ files from LOCATIONS with expected checksum HASH. CODE is
not currently in use.
"03vc88dz37mjjyaspzv0fik2fp5gp8qv82114869akd1dhszbaax")
(search-patch "texlive-bin-poppler-0.83.patch")
(arch-patch "texlive-poppler-0.84.patch" arch-revision
-
"1ia6cr99krk4ipx4hdi2qdb98bh2h26mckjlpxdzrjnfhlnghksa"))))
+ "1ia6cr99krk4ipx4hdi2qdb98bh2h26mckjlpxdzrjnfhlnghksa")
+ (search-patch "texlive-bin-poppler-0.86.patch"))))
(modules '((guix build utils)
(ice-9 ftw)))
(snippet
- branch core-updates updated (ebb7cf9 -> aca00b0), guix-commits, 2020/03/05
- 02/19: gnu: librsvg: Incorporate grafted changes., guix-commits, 2020/03/05
- 03/19: gnu: qemu-minimal: Fix build., guix-commits, 2020/03/05
- 01/19: gnu: zziplib: Incorporate grafted changes., guix-commits, 2020/03/05
- 06/19: gnu: Python: Update to 3.8.2., guix-commits, 2020/03/05
- 07/19: gnu: glib: Update to 2.62.5., guix-commits, 2020/03/05
- 08/19: gnu: meson: Update to 0.53.2., guix-commits, 2020/03/05
- 10/19: gnu: cURL: Update to 7.69.0., guix-commits, 2020/03/05
- 05/19: gnu: clang-runtime: Fix build with glibc 2.31., guix-commits, 2020/03/05
- 13/19: gnu: texlive-bin: Fix build with Poppler 0.86.,
guix-commits <=
- 14/19: gnu: coreutils: Update to 8.32., guix-commits, 2020/03/05
- 04/19: gnu: clang-runtime: Adjust for CPLUS_INCLUDE_PATH changes., guix-commits, 2020/03/05
- 09/19: gnu: fribidi: Update to 1.0.9., guix-commits, 2020/03/05
- 11/19: gnu: OpenBLAS: Update to 0.3.9., guix-commits, 2020/03/05
- 12/19: gnu: Poppler: Update to 0.86.1., guix-commits, 2020/03/05
- 15/19: gnu: bzip2: Do not retain a reference to the bootstrap bzip., guix-commits, 2020/03/05
- 16/19: gnu: ed: Update to 1.16., guix-commits, 2020/03/05
- 17/19: gnu: ld-wrapper: Add support for quoted arguments in response files., guix-commits, 2020/03/05
- 19/19: gnu: CMake: Update to 3.16.5., guix-commits, 2020/03/05
- 18/19: gnu: Remove ld-wrapper-next., guix-commits, 2020/03/05