gnu: font-gnu-unifont: Update to 15.1.01.
* gnu/packages/fonts.scm (font-gnu-unifont): Update to 15.1.01. [source]: Adjust snippet to not remove non-existent precompiled files. [arguments]: Disable parallel build. Adjust custom 'install phase to not duplicate actions from the Makefile.
This commit is contained in:
parent
83598dafb9
commit
9c98e144ff
@ -933,7 +933,7 @@ for use at smaller text sizes")))
|
||||
(define-public font-gnu-unifont
|
||||
(package
|
||||
(name "font-gnu-unifont")
|
||||
(version "15.0.01")
|
||||
(version "15.1.01")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@ -943,12 +943,11 @@ for use at smaller text sizes")))
|
||||
(string-append "mirror://gnu/unifont/unifont-"
|
||||
version "/unifont-" version ".tar.gz")))
|
||||
(sha256
|
||||
(base32 "1m9lfss6sbmcr0b6h7pxxmdl71j9dmnvk8idvxzylqrwpwjaj4bx"))
|
||||
(base32 "1dydcqa2nvmnij5jzj10carrzssd3ar24i8zd18pk4zpl84l4pz1"))
|
||||
(snippet
|
||||
'(begin
|
||||
(use-modules (guix build utils))
|
||||
(delete-file-recursively "font/precompiled")
|
||||
(delete-file-recursively "hangul/precompiled")))))
|
||||
(delete-file-recursively "font/precompiled")))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out" ; TrueType/OpenType version
|
||||
"pcf" ; PCF (bitmap) version
|
||||
@ -956,6 +955,7 @@ for use at smaller text sizes")))
|
||||
"bin")) ; Utilities to manipulate '.hex' format
|
||||
(arguments
|
||||
`(#:tests? #f ; no check target
|
||||
#:parallel-build? #f ; Race condition in the font Makefile
|
||||
#:make-flags
|
||||
(list (string-append "CC=" ,(cc-for-target))
|
||||
"BUILDFONT=TRUE")
|
||||
@ -977,20 +977,13 @@ for use at smaller text sizes")))
|
||||
(psf (string-append (assoc-ref outputs "psf")
|
||||
"/share/consolefonts"))
|
||||
(bin (assoc-ref outputs "bin")))
|
||||
;; This directory isn't created in fonts/Makefile.
|
||||
(mkdir-p otf)
|
||||
(apply invoke "make" "install"
|
||||
(string-append "PREFIX=" bin)
|
||||
(string-append "TTFDEST=" ttf)
|
||||
(string-append "OTFDEST=" otf)
|
||||
(string-append "PCFDEST=" pcf)
|
||||
(string-append "CONSOLEDEST=" psf)
|
||||
make-flags)
|
||||
;; Move Texinfo file to the right place.
|
||||
(mkdir (string-append bin "/share/info"))
|
||||
(invoke "gzip" "-9n" "doc/unifont.info")
|
||||
(install-file "doc/unifont.info.gz"
|
||||
(string-append bin "/share/info"))))))))
|
||||
make-flags)))))))
|
||||
(native-inputs
|
||||
(list bdftopcf console-setup fontforge))
|
||||
(inputs
|
||||
|
Loading…
Reference in New Issue
Block a user