[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/11: gnu: perl-gd: Use gexps.
From: |
guix-commits |
Subject: |
04/11: gnu: perl-gd: Use gexps. |
Date: |
Fri, 24 Feb 2023 18:07:35 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 5c4240442cd39fd5d279e080184f0ee2fb1c8af4
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Feb 24 14:53:56 2023 +0100
gnu: perl-gd: Use gexps.
This helps cross-compilation: in that case, '%build-inputs' was unbound.
* gnu/packages/gd.scm (perl-gd)[arguments]: Rewrite using gexps.
---
gnu/packages/gd.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/gd.scm b/gnu/packages/gd.scm
index 02e05c6072..90023ddc84 100644
--- a/gnu/packages/gd.scm
+++ b/gnu/packages/gd.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2016 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2013, 2016, 2023 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
@@ -23,6 +23,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages gd)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix build-system gnu)
#:use-module (guix build-system perl)
@@ -117,9 +118,9 @@ most common applications of GD involve website
development.")
(native-inputs
(list perl-extutils-pkgconfig))
(arguments
- `(#:make-maker-flags
- (list (string-append "--lib_jpeg_path="
- (assoc-ref %build-inputs "libjpeg")))))
+ (list #:make-maker-flags
+ #~(list (string-append "--lib_jpeg_path="
+ #$(this-package-input "libjpeg-turbo")))))
(home-page "https://metacpan.org/release/GD")
(synopsis "Perl interface to the GD graphics library")
(description "GD.pm is an autoloadable interface module for libgd, a
- branch master updated (df8b8f0c76 -> b12ee1ee5b), guix-commits, 2023/02/24
- 02/11: gnu: binutils-gold: Remove input label., guix-commits, 2023/02/24
- 07/11: gnu: python-paste: Update to 3.5.2., guix-commits, 2023/02/24
- 03/11: gnu: perl-gd: Remove input labels., guix-commits, 2023/02/24
- 04/11: gnu: perl-gd: Use gexps.,
guix-commits <=
- 05/11: gnu: goffice@0.8: Remove input labels., guix-commits, 2023/02/24
- 08/11: gnu: guix-icons: Never cross-compile., guix-commits, 2023/02/24
- 06/11: gnu: libgc: Define properties for the 'generic-html' updater., guix-commits, 2023/02/24
- 09/11: services: console-font, kmscon: Refer to native 'font-gnu-unifont' builds., guix-commits, 2023/02/24
- 10/11: gnu: Add postmarketos-theme., guix-commits, 2023/02/24
- 11/11: gnu: Add python-spherical-geometry., guix-commits, 2023/02/24
- 01/11: gnu: python: Remove input labels., guix-commits, 2023/02/24