[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
43/44: gnu: dblatex: Use texlive-union.
From: |
Ricardo Wurmus |
Subject: |
43/44: gnu: dblatex: Use texlive-union. |
Date: |
Sun, 9 Jul 2017 11:09:15 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit b81dd94a790636fea9ac59ad1c63d78420fad54a
Author: Ricardo Wurmus <address@hidden>
Date: Sun Jul 9 16:20:38 2017 +0200
gnu: dblatex: Use texlive-union.
* gnu/packages/patches/dblatex-remove-multirow.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/docbook.scm (dblatex)[source]: Use patch.
[inputs]: Replace "texlive" with a texlive-union.
---
gnu/local.mk | 1 +
gnu/packages/docbook.scm | 34 ++++++++++++++++++++--
gnu/packages/patches/dblatex-remove-multirow.patch | 30 +++++++++++++++++++
3 files changed, 63 insertions(+), 2 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 20c78af..32b6219 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -559,6 +559,7 @@ dist_patch_DATA =
\
%D%/packages/patches/clucene-contribs-lib.patch \
%D%/packages/patches/cursynth-wave-rand.patch \
%D%/packages/patches/cyrus-sasl-CVE-2013-4122.patch \
+ %D%/packages/patches/dblatex-remove-multirow.patch \
%D%/packages/patches/dbus-helper-search-path.patch \
%D%/packages/patches/dfu-programmer-fix-libusb.patch \
%D%/packages/patches/diffutils-gets-undeclared.patch \
diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm
index 7a309b0..189ece0 100644
--- a/gnu/packages/docbook.scm
+++ b/gnu/packages/docbook.scm
@@ -180,11 +180,41 @@ by no means limited to these applications.) This package
provides XML DTDs.")
version ".tar.bz2"))
(sha256
(base32
- "0pdizc5rjywwzxa1qqhdmba5zr35pbmdwbysalsid7xw87w3kq06"))))
+ "0pdizc5rjywwzxa1qqhdmba5zr35pbmdwbysalsid7xw87w3kq06"))
+ (patches (search-patches "dblatex-remove-multirow.patch"))))
(build-system python-build-system)
;; TODO: Add xfig/transfig for fig2dev utility
(inputs
- `(("texlive" ,texlive)
+ `(("texlive" ,(texlive-union (list texlive-latex-amsfonts
+ texlive-latex-anysize
+ texlive-latex-appendix
+ texlive-latex-changebar
+ texlive-latex-colortbl
+ texlive-latex-eepic
+ texlive-latex-eso-pic
+ texlive-latex-fancybox
+ texlive-latex-fancyhdr
+ texlive-latex-fancyvrb
+ texlive-latex-float
+ texlive-latex-footmisc
+ texlive-latex-hyperref
+ texlive-latex-jknapltx
+ texlive-latex-listings
+ texlive-latex-multirow
+ texlive-latex-oberdiek
+ texlive-latex-overpic
+ texlive-latex-pdfpages
+ texlive-latex-subfigure
+ texlive-latex-titlesec
+ texlive-latex-url
+ texlive-latex-wasysym
+
+ texlive-fonts-amsfonts
+ texlive-fonts-ec
+ texlive-fonts-rsfs
+ texlive-fonts-stmaryrd
+
+ texlive-generic-ifxetex)))
("imagemagick" ,imagemagick) ;for convert
("inkscape" ,inkscape) ;for svg conversion
("docbook" ,docbook-xml)
diff --git a/gnu/packages/patches/dblatex-remove-multirow.patch
b/gnu/packages/patches/dblatex-remove-multirow.patch
new file mode 100644
index 0000000..62d1c64
--- /dev/null
+++ b/gnu/packages/patches/dblatex-remove-multirow.patch
@@ -0,0 +1,30 @@
+This patch is needed to fix dblatex with newer versions of TeX Live.
+It was taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840189
+
+--- a/latex/style/dbk_table.sty Sun Oct 02 23:21:03 2016 +0200
++++ b/latex/style/dbk_table.sty Mon Oct 10 21:31:00 2016 +0200
+@@ -9,7 +9,6 @@
+ \usepackage{longtable}
+ \usepackage{lscape}
+ \usepackage{colortbl}
+-\usepackage{multirow}
+ \usepackage{calc}
+ \usepackage{hhline}
+
+@@ -21,16 +20,6 @@
+ \expandafter[\expandafter3\expandafter]\expandafter{%
+ \multicolumn{#1}{#2}{#3}}
+
+-% Make address@hidden long
+-\expandafter\long\expandafter\def%
address@hidden
+-\expandafter#\expandafter1%
+-\expandafter[\expandafter#\expandafter2\expandafter]%
+-\expandafter#\expandafter3%
+-\expandafter[\expandafter#\expandafter4\expandafter]%
+-\expandafter#\expandafter5%
address@hidden
+-
+ % For the newtbl code
+ \newdimen\newtblstarfactor%
+ \newdimen\newtblsparewidth%
- 32/44: gnu: Add texlive-latex-wasysym., (continued)
- 32/44: gnu: Add texlive-latex-wasysym., Ricardo Wurmus, 2017/07/09
- 39/44: gnu: lilypond: Update to 2.19.63., Ricardo Wurmus, 2017/07/09
- 38/44: gnu: Add texlive-metapost., Ricardo Wurmus, 2017/07/09
- 42/44: gnu: Add texlive-fonts-rsfs., Ricardo Wurmus, 2017/07/09
- 37/44: gnu: Add texlive-latex-lh., Ricardo Wurmus, 2017/07/09
- 16/44: gnu: Add texlive-latex-appendix., Ricardo Wurmus, 2017/07/09
- 20/44: gnu: Add texlive-latex-fancyhdr., Ricardo Wurmus, 2017/07/09
- 22/44: gnu: Add texlive-latex-float., Ricardo Wurmus, 2017/07/09
- 24/44: gnu: Add texlive-latex-listings., Ricardo Wurmus, 2017/07/09
- 26/44: gnu: Add texlive-latex-multirow., Ricardo Wurmus, 2017/07/09
- 43/44: gnu: dblatex: Use texlive-union.,
Ricardo Wurmus <=