mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: font-culmus: Update to 0.140.
* gnu/packages/fonts.scm (font-culmus): Update to 0.140. [arguments]: Update 'build phase to use included scripts. Change-Id: I6dc1d3d06c57a7d6305467db23bcff220961c014
This commit is contained in:
parent
b6d5a7f583
commit
59b6be9133
1 changed files with 6 additions and 18 deletions
|
@ -2362,7 +2362,7 @@ (define-public font-dosis
|
|||
(define-public font-culmus
|
||||
(package
|
||||
(name "font-culmus")
|
||||
(version "0.133")
|
||||
(version "0.140")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -2371,7 +2371,7 @@ (define-public font-culmus
|
|||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"02akysgsqhi15cck54xcacm16q5raf4l7shgb8fnj7xr3c1pbfyp"))))
|
||||
"0fn79vndpa45gqr4mjmxzwy910x4ls1s6wbnycyf44bhpz4b4z5s"))))
|
||||
(build-system font-build-system)
|
||||
(arguments
|
||||
`(#:license-file-regexp "^GNU-GPL|LICENSE"
|
||||
|
@ -2379,22 +2379,10 @@ (define-public font-culmus
|
|||
(modify-phases %standard-phases
|
||||
(add-before 'install 'build
|
||||
(lambda _
|
||||
(let ((compile
|
||||
(lambda (name ext)
|
||||
(invoke
|
||||
"fontforge" "-lang=ff"
|
||||
"-c" (string-append "Open('" name "');"
|
||||
"Generate('"
|
||||
(basename name "sfd") ext
|
||||
"')")))))
|
||||
;; This part based on the fonts shipped in the non-source package.
|
||||
(for-each (lambda (name)
|
||||
(compile name "ttf"))
|
||||
(find-files "." "^[^Nachlieli].*\\.sfd$"))
|
||||
(for-each (lambda (name)
|
||||
(compile name "otf"))
|
||||
(find-files "." "^Nachlieli.*\\.sfd$"))
|
||||
#t))))))
|
||||
(for-each (lambda (font)
|
||||
(invoke "./GenerateOTF.py" font)
|
||||
(invoke "./GenerateTTF.py" font))
|
||||
(find-files "." "\\.sfd$")))))))
|
||||
(native-inputs
|
||||
(list fontforge))
|
||||
(home-page "https://culmus.sourceforge.io/")
|
||||
|
|
Loading…
Reference in a new issue