[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
227/244: gnu: ijs: Fix cross-building to riscv64-linux.
From: |
guix-commits |
Subject: |
227/244: gnu: ijs: Fix cross-building to riscv64-linux. |
Date: |
Wed, 12 Apr 2023 08:49:36 -0400 (EDT) |
apteryx pushed a commit to branch staging
in repository guix.
commit 54372b289a549bf9fa0f1954b9ef084045cf7e39
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 10 23:14:25 2023 +0300
gnu: ijs: Fix cross-building to riscv64-linux.
* gnu/packages/ghostscript.scm (ijs)[arguments]: When building for
riscv64-linux replace config.guess and config.sub.
[native-inputs]: When building for riscv64-linux add config.
---
gnu/packages/ghostscript.scm | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm
index 55f3ab9364..dfd43d8ed0 100644
--- a/gnu/packages/ghostscript.scm
+++ b/gnu/packages/ghostscript.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2013, 2015, 2016, 2017, 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
-;;; Copyright © 2017, 2018, 2019, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017, 2018, 2019, 2021, 2023 Efraim Flashner
<efraim@flashner.co.il>
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018, 2020 Marius Bakke <mbakke@fastmail.com>
@@ -313,7 +313,10 @@ output file formats and printers.")
(source (package-source ghostscript))
(build-system gnu-build-system)
(native-inputs
- (list libtool automake autoconf))
+ (append (if (target-riscv64?)
+ (list config)
+ '())
+ (list libtool automake autoconf)))
(arguments
`(#:phases
(modify-phases %standard-phases
@@ -331,7 +334,17 @@ output file formats and printers.")
(substitute* "autogen.sh"
(("^.*\\$srcdir/configure.*") "")
(("^ + && echo Now type.*$") ""))
- (invoke "bash" "autogen.sh"))))))
+ (invoke "bash" "autogen.sh")))
+ ,@(if (target-riscv64?)
+ `((add-after 'unpack 'update-config-scripts
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
+ (for-each (lambda (file)
+ (install-file
+ (search-input-file
+ (or native-inputs inputs)
+ (string-append "/bin/" file)) "ijs"))
+ '("config.guess" "config.sub")))))
+ '()))))
(synopsis "IJS driver framework for inkjet and other raster devices")
(description
"IJS is a protocol for transmission of raster page images. This package
- 164/244: gnu: fet: Update to 6.8.7., (continued)
- 164/244: gnu: fet: Update to 6.8.7., guix-commits, 2023/04/12
- 185/244: gnu: xcb-imdkit: Update to 1.0.5., guix-commits, 2023/04/12
- 208/244: gnu: emacs-gptel: Update to 0.3.2., guix-commits, 2023/04/12
- 216/244: gnu: skalibs: Update to 2.13.1.1., guix-commits, 2023/04/12
- 151/244: packages: Remove 'origin-sha256' procedure., guix-commits, 2023/04/12
- 184/244: gnu: fcitx-qt5: Update to 1.2.7., guix-commits, 2023/04/12
- 217/244: gnu: execline: Update to 2.9.3.0., guix-commits, 2023/04/12
- 191/244: gnu: fcitx5-chinese-addons: Update to 5.0.17., guix-commits, 2023/04/12
- 195/244: gnu: garcon: Update to 4.18.1., guix-commits, 2023/04/12
- 157/244: gnu: seer-gdb: Update to 1.16., guix-commits, 2023/04/12
- 227/244: gnu: ijs: Fix cross-building to riscv64-linux.,
guix-commits <=
- 213/244: gnu: haproxy: Update to 2.7.6., guix-commits, 2023/04/12
- 188/244: gnu: fcitx5-gtk: Update to 5.0.23., guix-commits, 2023/04/12
- 203/244: gnu: xfburn: Update to 0.7.0., guix-commits, 2023/04/12
- 165/244: gnu: pyzo: Update to 4.12.8., guix-commits, 2023/04/12
- 238/244: gnu: heimdal: Apply patch to fix CVE-2022-45142., guix-commits, 2023/04/12
- 237/244: gnu: heimdal: Update to 7.8.0 [fixes CVE-2022-44640]., guix-commits, 2023/04/12
- 244/244: gnu: ruby-rubyzip: Re-instate all tests., guix-commits, 2023/04/12
- 241/244: services: nginx: Make logging level configurable., guix-commits, 2023/04/12
- 228/244: gnu: qpdf: Fix cross-building., guix-commits, 2023/04/12
- 234/244: gnu: opendht: Update to 2.5.2., guix-commits, 2023/04/12