diff options
Diffstat (limited to 'gnu/packages/language.scm')
-rw-r--r-- | gnu/packages/language.scm | 123 |
1 files changed, 62 insertions, 61 deletions
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index 78fcba4287..e1df008d77 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -10,6 +10,8 @@ ;;; Copyright © 2023 gemmaro <gemmaro.dev@gmail.com> ;;; Copyright © 2024 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2024 Charles <charles@charje.net> +;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr> +;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -338,7 +340,7 @@ method, one of the most popular choices for Traditional Chinese users.") (define-public liblouis (package (name "liblouis") - (version "3.15.0") + (version "3.31.0") (source (origin (method git-fetch) @@ -348,34 +350,30 @@ method, one of the most popular choices for Traditional Chinese users.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1ljy5xsy7vf2r0ix0d7bqcr6qvr6897f8madsx9zlm1mrj31n5px")))) + (base32 "02bga2l4jiyrgfqdl27wszz5yd6h80n2dmq3p6nb2br83jywisfh")))) (build-system gnu-build-system) (outputs '("out" "bin" "doc" "python")) (arguments - `(#:configure-flags - (list - "--disable-static" - "--enable-ucs4") - #:phases - (modify-phases %standard-phases - (add-after 'install 'install-python-extension - (lambda* (#:key outputs #:allow-other-keys) - (with-directory-excursion "python" - (invoke "python" "setup.py" "install" - (string-append "--prefix=" - (assoc-ref outputs "python")) - "--root=/"))))))) + (list + #:configure-flags #~(list "--disable-static" "--enable-ucs4") + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-python-extension + (lambda _ + (with-directory-excursion "python" + (invoke "python3" "setup.py" "install" "--root=/" + (string-append "--prefix=" #$output:python)))))))) (native-inputs - `(("autoconf" ,autoconf) - ("automake" ,automake) - ("clang-format" ,clang) - ("help2man" ,help2man) - ("libtool" ,libtool) - ("libyaml" ,libyaml) - ("makeinfo" ,texinfo) - ("perl" ,perl) - ("pkg-config" ,pkg-config) - ("python" ,python-wrapper))) + (list autoconf + automake + clang + help2man + libtool + libyaml + texinfo + perl + pkg-config + python-minimal)) (synopsis "Braille translator and back-translator") (description "Liblouis is a braille translator and back-translator named in honor of Louis Braille. It features support for computer and literary braille, @@ -389,45 +387,48 @@ Marburg.") license:gpl3+)))) ; tools (define-public liblouisutdml - (package - (name "liblouisutdml") - (version "2.9.0") - (source - (origin - (method git-fetch) - (uri - (git-reference - (url "https://github.com/liblouis/liblouisutdml") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0c32cfcfp0lyfd655c9ihhh3p7lhrb9q3xbll7q5dw4km86gaq6w")))) - (build-system gnu-build-system) - (outputs '("out" "bin" "doc")) - (arguments - `(#:configure-flags - (list "--disable-static"))) - (native-inputs - `(("autoconf" ,autoconf) - ("automake" ,automake) - ("help2man" ,help2man) - ("jdk" ,icedtea "jdk") - ("libtool" ,libtool) - ("makeinfo" ,texinfo) - ("pkg-config" ,pkg-config))) - (inputs - (list libxml2)) - (propagated-inputs - `(("liblouis" ,liblouis) - ("liblouis:bin" ,liblouis "bin"))) - (synopsis "Braille transcription services") - (description "Liblouisutdml is a library providing complete braille + ;; Use the latest commit, which includes test suite fixes not yet released. + (let ((commit "00ca7838e30ebd5ed6f635236aa235e2c8f089c1") + (revision "0")) + (package + (name "liblouisutdml") + (version (git-version "2.12.0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/liblouis/liblouisutdml") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1pr3wys48bzblr6kav24gr8slsp409f81iqxw19922k24y5y31l7")))) + (build-system gnu-build-system) + (outputs '("out" "bin" "doc")) + (arguments + (list #:configure-flags + #~(list "--disable-static"))) + (native-inputs + (list autoconf + automake + help2man + `(,icedtea "jdk") + libtool + texinfo + pkg-config)) + (inputs + (list libxml2)) + (propagated-inputs + (list liblouis + `(,liblouis "bin"))) + (synopsis "Braille transcription services") + (description "Liblouisutdml is a library providing complete braille transcription services for xml, html and text documents. It translates into appropriate braille codes and formats according to its style sheet and the specifications in the document.") - (home-page "http://liblouis.org/") - (license (list license:lgpl3+ ; library - license:gpl3+)))) ; tools + (home-page "http://liblouis.org/") + (license (list license:lgpl3+ ; library + license:gpl3+))))) ; tools (define-public libstemmer (package |