[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/10: gnu: lilypond: Fix build with Ghostscript 9.54.
From: |
guix-commits |
Subject: |
09/10: gnu: lilypond: Fix build with Ghostscript 9.54. |
Date: |
Thu, 21 Oct 2021 17:57:31 -0400 (EDT) |
rekado pushed a commit to branch core-updates-frozen
in repository guix.
commit 751b68981c57031d6f093dda688f92ebdbf50848
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Oct 21 21:53:46 2021 +0000
gnu: lilypond: Fix build with Ghostscript 9.54.
* gnu/packages/music.scm (lilypond)[arguments]: Add build phase
'adjust-to-API-change.
---
gnu/packages/music.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 30578e7..d985e29 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1460,6 +1460,15 @@ and auto-mapping slices to MIDI note numbers.")
(("\"/bin/sh\"")
(string-append "\"" (which "sh") "\"")))
#t))
+ (add-after 'fix-path-references 'adjust-to-API-change
+ (lambda _
+ (substitute* '("Documentation/pictures/GNUmakefile"
+ "stepmake/stepmake/tex-rules.make")
+ ((".*-c .setpdfwrite.*") ""))
+ (substitute* "scm/backend-library.scm"
+ (("\"-c.setpdfwrite\"") ""))
+ (substitute* "scm/framework-ps.scm"
+ (("\".setpdfwrite ") "\""))))
(add-before 'configure 'prepare-configuration
(lambda _
(substitute* "configure"
- branch core-updates-frozen updated (727f05e -> bcad95d), guix-commits, 2021/10/21
- 01/10: gnu: peek: Add missing input., guix-commits, 2021/10/21
- 04/10: gnu: gtksheet: Fix build., guix-commits, 2021/10/21
- 05/10: gnu: geda-gaf: Update to 1.10.2., guix-commits, 2021/10/21
- 06/10: gnu: lepton-eda: Pass -fcommon., guix-commits, 2021/10/21
- 02/10: gnu: gerbv: Fix linker error by adding -fcommon to CFLAGS., guix-commits, 2021/10/21
- 03/10: gnu: gxtuner: Add phase to target specific glib API version., guix-commits, 2021/10/21
- 07/10: gnu: texlive-lh: Install more files., guix-commits, 2021/10/21
- 10/10: gnu: lilypond: Remove trailing #t from build phases., guix-commits, 2021/10/21
- 08/10: gnu: pdfpc: Update to 4.5.0., guix-commits, 2021/10/21
- 09/10: gnu: lilypond: Fix build with Ghostscript 9.54.,
guix-commits <=