[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
32/40: gnu: fontutils: Add 'bash' input for 'wrap-program'.
From: |
guix-commits |
Subject: |
32/40: gnu: fontutils: Add 'bash' input for 'wrap-program'. |
Date: |
Sat, 21 Oct 2023 01:53:18 -0400 (EDT) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 3f2c6cc3933bc01077383e4ff83b6a5d00f83129
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Fri Jul 2 12:07:02 2021 +0200
gnu: fontutils: Add 'bash' input for 'wrap-program'.
It is required for cross-compilation.
* gnu/packages/fontutils.scm
(fontforge): Adjust indentation.
[inputs]: Add 'bash-minimal'. Remove labels.
(fntsample)[inputs]: Add 'bash-minimal'.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ib3498e8ab1e499db6bc512da31718690e46f90f1
---
gnu/packages/fontutils.scm | 95 +++++++++++++++++++++++-----------------------
1 file changed, 48 insertions(+), 47 deletions(-)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index c781ae2baf..9a0f09b1e1 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -1510,44 +1510,46 @@ definitions.")
(define-public fontforge
(package
- (name "fontforge")
- (version "20220308")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/fontforge/fontforge/releases/download/"
- version "/fontforge-" version ".tar.xz"))
- (sha256
- (base32 "0ncfc4ajwy4ng6b6h79w52jh9z3lngvf3f3ldi1wzkhcg9zh3r01"))))
- (build-system cmake-build-system)
- (native-inputs
- (list pkg-config))
- (inputs `(("cairo" ,cairo)
- ("fontconfig" ,fontconfig) ;dlopen'd
- ("freetype" ,freetype)
- ("gettext" ,gettext-minimal)
- ("libICE" ,libice)
- ("libSM" ,libsm)
- ("libX11" ,libx11)
- ("libXi" ,libxi)
- ("libjpeg" ,libjpeg-turbo)
- ("libltdl" ,libltdl)
- ("libpng" ,libpng)
- ("libspiro" ,libspiro)
- ("libtiff" ,libtiff)
- ("libungif" ,libungif)
- ("libxft" ,libxft)
- ("libxml2" ,libxml2)
- ("pango" ,pango)
- ("potrace" ,potrace)
- ("python" ,python)
- ("zlib" ,zlib)))
- (arguments
- (list
- #:configure-flags #~'( ;; TODO: Provide GTK+ for the Wayland-friendly GDK
- ;; backend, instead of the legacy X11 backend.
- ;; Currently it introduces a circular dependency.
- "-DENABLE_X11=ON")
+ (name "fontforge")
+ (version "20220308")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/fontforge/fontforge/releases/download/"
+ version "/fontforge-" version ".tar.xz"))
+ (sha256
+ (base32
"0ncfc4ajwy4ng6b6h79w52jh9z3lngvf3f3ldi1wzkhcg9zh3r01"))))
+ (build-system cmake-build-system)
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list cairo
+ bash-minimal
+ fontconfig ;dlopen'd
+ freetype
+ gettext-minimal
+ libice
+ libsm
+ libx11
+ libxi
+ libjpeg-turbo
+ libltdl
+ libpng
+ libspiro
+ libtiff
+ libungif
+ libxft
+ libxml2
+ pango
+ potrace
+ python
+ zlib))
+ (arguments
+ (list
+ #:configure-flags #~'( ;; TODO: Provide GTK+ for the Wayland-friendly GDK
+ ;; backend, instead of the legacy X11 backend.
+ ;; Currently it introduces a circular dependency.
+ "-DENABLE_X11=ON")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'do-not-override-RPATH
@@ -1556,8 +1558,7 @@ definitions.")
;; already does the right thing.
(substitute* "CMakeLists.txt"
(("^set_default_rpath\\(\\)")
- ""))
- #t))
+ ""))))
#$@(if (target-hurd?)
#~((add-after 'unpack 'apply-hurd-patch
(lambda _
@@ -1600,15 +1601,14 @@ definitions.")
"libxml2" "zlib" "libspiro" "freetype"
"pango" "cairo" "fontconfig")))
;; Checks for potrace program at runtime
- `("PATH" ":" prefix (,potrace)))
- #t))))))
- (synopsis "Outline font editor")
- (description
- "FontForge allows you to create and modify postscript, truetype and
+ `("PATH" ":" prefix (,potrace)))))))))
+ (synopsis "Outline font editor")
+ (description
+ "FontForge allows you to create and modify postscript, truetype and
opentype fonts. You can save fonts in many different outline formats, and
generate bitmaps.")
- (license license:gpl3+)
- (home-page "https://fontforge.github.io")))
+ (license license:gpl3+)
+ (home-page "https://fontforge.github.io")))
;; This is the last version that supports Python 2, which is needed for
;; GNU FreeFont. Remove once no longer required.
@@ -1923,6 +1923,7 @@ work well with other GTK+ desktop environments.")
("gettext" ,gettext-minimal)))
(inputs
`(("cairo" ,cairo)
+ ("bash-minimal", bash-minimal)
("fontconfig" ,fontconfig)
("freetype" ,freetype)
("glib" ,glib)
- branch core-updates updated (66b7d3b45b -> 90b7c33dbf), guix-commits, 2023/10/21
- 17/40: gnu: networking: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 14/40: gnu: cuirass: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 03/40: gnu: tryton: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 02/40: gnu: debug: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 10/40: gnu: video: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 15/40: gnu: music: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 26/40: gnu: jack2: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 31/40: gnu: electron-cash: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 32/40: gnu: fontutils: Add 'bash' input for 'wrap-program'.,
guix-commits <=
- 33/40: gnu: wordnet: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 35/40: gnu: protonvpn-cli: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 04/40: gnu: pdf: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 09/40: gnu: geo: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 06/40: gnu: cdrom: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 01/40: gnu: animation: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 13/40: gnu: chromium: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 11/40: gnu: qbittorrent: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 07/40: gnu: emacs-xyz: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21
- 05/40: gnu: patchutils: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/21