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
1 changed files with 5 additions and 12 deletions
|
@ -933,7 +933,7 @@ for use at smaller text sizes")))
|
||||||
(define-public font-gnu-unifont
|
(define-public font-gnu-unifont
|
||||||
(package
|
(package
|
||||||
(name "font-gnu-unifont")
|
(name "font-gnu-unifont")
|
||||||
(version "15.0.01")
|
(version "15.1.01")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -943,12 +943,11 @@ for use at smaller text sizes")))
|
||||||
(string-append "mirror://gnu/unifont/unifont-"
|
(string-append "mirror://gnu/unifont/unifont-"
|
||||||
version "/unifont-" version ".tar.gz")))
|
version "/unifont-" version ".tar.gz")))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1m9lfss6sbmcr0b6h7pxxmdl71j9dmnvk8idvxzylqrwpwjaj4bx"))
|
(base32 "1dydcqa2nvmnij5jzj10carrzssd3ar24i8zd18pk4zpl84l4pz1"))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
(use-modules (guix build utils))
|
(use-modules (guix build utils))
|
||||||
(delete-file-recursively "font/precompiled")
|
(delete-file-recursively "font/precompiled")))))
|
||||||
(delete-file-recursively "hangul/precompiled")))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(outputs '("out" ; TrueType/OpenType version
|
(outputs '("out" ; TrueType/OpenType version
|
||||||
"pcf" ; PCF (bitmap) version
|
"pcf" ; PCF (bitmap) version
|
||||||
|
@ -956,6 +955,7 @@ for use at smaller text sizes")))
|
||||||
"bin")) ; Utilities to manipulate '.hex' format
|
"bin")) ; Utilities to manipulate '.hex' format
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no check target
|
`(#:tests? #f ; no check target
|
||||||
|
#:parallel-build? #f ; Race condition in the font Makefile
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list (string-append "CC=" ,(cc-for-target))
|
(list (string-append "CC=" ,(cc-for-target))
|
||||||
"BUILDFONT=TRUE")
|
"BUILDFONT=TRUE")
|
||||||
|
@ -977,20 +977,13 @@ for use at smaller text sizes")))
|
||||||
(psf (string-append (assoc-ref outputs "psf")
|
(psf (string-append (assoc-ref outputs "psf")
|
||||||
"/share/consolefonts"))
|
"/share/consolefonts"))
|
||||||
(bin (assoc-ref outputs "bin")))
|
(bin (assoc-ref outputs "bin")))
|
||||||
;; This directory isn't created in fonts/Makefile.
|
|
||||||
(mkdir-p otf)
|
|
||||||
(apply invoke "make" "install"
|
(apply invoke "make" "install"
|
||||||
(string-append "PREFIX=" bin)
|
(string-append "PREFIX=" bin)
|
||||||
(string-append "TTFDEST=" ttf)
|
(string-append "TTFDEST=" ttf)
|
||||||
(string-append "OTFDEST=" otf)
|
(string-append "OTFDEST=" otf)
|
||||||
(string-append "PCFDEST=" pcf)
|
(string-append "PCFDEST=" pcf)
|
||||||
(string-append "CONSOLEDEST=" psf)
|
(string-append "CONSOLEDEST=" psf)
|
||||||
make-flags)
|
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"))))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list bdftopcf console-setup fontforge))
|
(list bdftopcf console-setup fontforge))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Reference in a new issue