aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ghostscript.scm
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2021-07-15 18:56:47 +0200
committerMathieu Othacehe <othacehe@gnu.org>2021-07-25 17:52:36 +0200
commita682fea916b9f3ff101a76273aa754e11d53244d (patch)
tree21643a3ecab782ddaafbe21b65efabcfa6347262 /gnu/packages/ghostscript.scm
parent52cc6394033546406b81c146d38104c1d80dc68f (diff)
downloadguix-a682fea916b9f3ff101a76273aa754e11d53244d.tar
guix-a682fea916b9f3ff101a76273aa754e11d53244d.tar.gz
gnu: gs-font: Rename to 'font-ghostscript'.
According to (guix)Fonts, font package names must be prefixed with 'font-'. Adjust 'gs-fonts' to follow this convention. * gnu/packages/fontutils.scm (gs-fonts)[name]: Set to "font-ghostscript". (gs-fonts): Rename variable to 'font-ghostscript'. (gs-fonts): Add deprecated package. * gnu/packages/ghostscript.scm (ghostscript)[arguments]<#:configure-flags>: Replace 'gs-fonts' with 'font-ghostscript'. (ghostscript)[inputs]: Likewise. * gnu/packages/fontutils.scm (fontconfig)[inputs]: Likewise. * gnu/packages/gtk.scm (pango-1.42)[arguments]{disable-layout-test}: Likewise. * gnu/packages/imagemagick.scm (graphicsmagick)[arguments]{configure-flags}: Likewise. (graphicsmagick)[inputs]: Likewise. * gnu/packages/mp3.scm (ripperx)[propagated-inputs]: Likewise. * doc/guix.texi (X11 Fonts): Likewise. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'gnu/packages/ghostscript.scm')
-rw-r--r--gnu/packages/ghostscript.scm11
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm
index 378ff6b37d..35e637648c 100644
--- a/gnu/packages/ghostscript.scm
+++ b/gnu/packages/ghostscript.scm
@@ -204,7 +204,7 @@ printing, and psresize, for adjusting page sizes.")
"--enable-dynamic"
"--disable-compile-inits"
(string-append "--with-fontpath="
- (assoc-ref %build-inputs "gs-fonts")
+ (assoc-ref %build-inputs "font-ghostscript")
"/share/fonts/type1/ghostscript")
,@(if (%current-target-system)
@@ -278,7 +278,7 @@ printing, and psresize, for adjusting page sizes.")
(inputs
`(("fontconfig" ,fontconfig)
("freetype" ,freetype)
- ("gs-fonts" ,gs-fonts)
+ ("font-ghostscript" ,font-ghostscript)
("jbig2dec" ,jbig2dec)
("libjpeg" ,libjpeg-turbo)
("libpaper" ,libpaper)
@@ -343,9 +343,9 @@ architecture.")
(license license:expat)
(home-page (package-home-page ghostscript))))
-(define-public gs-fonts
+(define-public font-ghostscript
(package
- (name "gs-fonts")
+ (name "font-ghostscript")
(version "8.11")
(source (origin
(method url-fetch)
@@ -384,6 +384,9 @@ Ghostscript. It currently includes the 35 standard PostScript fonts.")
(license license:gpl2)
(home-page "https://sourceforge.net/projects/gs-fonts/")))
+(define-public gs-fonts
+ (deprecated-package "gs-fonts" font-ghostscript))
+
(define-public libspectre
(package
(name "libspectre")