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:
Efraim Flashner 2024-09-11 14:27:23 +03:00
parent b6d5a7f583
commit 59b6be9133
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -2362,7 +2362,7 @@ ExtraLight, Light, Book, Medium, Semibold, Bold & ExtraBold")
(define-public font-culmus
(package
(name "font-culmus")
(version "0.133")
(version "0.140")
(source
(origin
(method url-fetch)
@ -2371,7 +2371,7 @@ ExtraLight, Light, Book, Medium, Semibold, Bold & ExtraBold")
version ".tar.gz"))
(sha256
(base32
"02akysgsqhi15cck54xcacm16q5raf4l7shgb8fnj7xr3c1pbfyp"))))
"0fn79vndpa45gqr4mjmxzwy910x4ls1s6wbnycyf44bhpz4b4z5s"))))
(build-system font-build-system)
(arguments
`(#:license-file-regexp "^GNU-GPL|LICENSE"
@ -2379,22 +2379,10 @@ ExtraLight, Light, Book, Medium, Semibold, Bold & ExtraBold")
(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/")