diff options
-rw-r--r-- | whispers/packages/dict.scm | 98 | ||||
-rw-r--r-- | whispers/services/dict.scm | 1 |
2 files changed, 50 insertions, 49 deletions
diff --git a/whispers/packages/dict.scm b/whispers/packages/dict.scm index f80f912..9e403ba 100644 --- a/whispers/packages/dict.scm +++ b/whispers/packages/dict.scm @@ -153,56 +153,56 @@ Guix package is installed.") (home-page "https://freedict.org") (license gpl2+))) -(define-public freedict-dictionaries - (package - (name "freedict-dictionaries") - (version "914b5f7") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/freedict/fd-dictionaries") - (commit "914b5f754b695e9422bf951837b0682a077e244e"))) - (sha256 - (base32 "0a8k5rq94rl1nmz0354sx2gmyqica0yjavirh5v5wdybkfq8nv83")))) - (inputs (list espeak-ng - python perl - gzip - tar - libxslt - dictd-1.13.1 - perl-libxml - freedict-tools-0.6.0)) - (arguments - (list #:tests? #f - #:make-flags - #~(list (string-append "PREFIX=" - #$output)) - #:phases - #~(modify-phases - %standard-phases - (delete 'configure) - (add-before 'build 'set-tools-prefix-in-makefile - (lambda* (#:key inputs #:allow-other-keys) - (substitute* - "Makefile" - (("FREEDICT_TOOLS \\?= ../tools") - (string-append "export FREEDICT_TOOLS = " - #$(file-append - freedict-tools-0.6.0 - "/share/freedict"))))))))) - (build-system gnu-build-system) - (synopsis "Multilingual dictionaries of the Freedict project, - compiled to the dictd format.") - (description "FreeDict is a project that offers over 140 free - dictionaries in about 45 languages, with the right to study, change and - modify them. You can use them offline on your computer or mobile phone - and export them to any format and application. +;; (define-public freedict-dictionaries +;; (package +;; (name "freedict-dictionaries") +;; (version "914b5f7") +;; (source +;; (origin +;; (method git-fetch) +;; (uri (git-reference +;; (url "https://github.com/freedict/fd-dictionaries") +;; (commit "914b5f754b695e9422bf951837b0682a077e244e"))) +;; (sha256 +;; (base32 "0a8k5rq94rl1nmz0354sx2gmyqica0yjavirh5v5wdybkfq8nv83")))) +;; (inputs (list espeak-ng +;; python perl +;; gzip +;; tar +;; libxslt +;; dictd-1.13.1 +;; perl-libxml +;; freedict-tools-0.6.0)) +;; (arguments +;; (list #:tests? #f +;; #:make-flags +;; #~(list (string-append "PREFIX=" +;; #$output)) +;; #:phases +;; #~(modify-phases +;; %standard-phases +;; (delete 'configure) +;; (add-before 'build 'set-tools-prefix-in-makefile +;; (lambda* (#:key inputs #:allow-other-keys) +;; (substitute* +;; "Makefile" +;; (("FREEDICT_TOOLS \\?= ../tools") +;; (string-append "export FREEDICT_TOOLS = " +;; #$(file-append +;; freedict-tools-0.6.0 +;; "/share/freedict"))))))))) +;; (build-system gnu-build-system) +;; (synopsis "Multilingual dictionaries of the Freedict project, +;; compiled to the dictd format.") +;; (description "FreeDict is a project that offers over 140 free +;; dictionaries in about 45 languages, with the right to study, change and +;; modify them. You can use them offline on your computer or mobile phone +;; and export them to any format and application. -This Guix package only installs the output dictionnaires in dictd -format.") - (home-page "https://freedict.org") - (license gpl2+))) +;; This Guix package only installs the output dictionnaires in dictd +;; format.") +;; (home-page "https://freedict.org") +;; (license gpl2+))) (define-public cc-cedict (package diff --git a/whispers/services/dict.scm b/whispers/services/dict.scm index d186f5a..10bbcbd 100644 --- a/whispers/services/dict.scm +++ b/whispers/services/dict.scm @@ -19,6 +19,7 @@ (define-module (whispers services dict) #:use-module (guix gexp) #:use-module (gnu services dict) + #:use-module (whispers packages dict) #:use-module (gnu packages dictionaries) #:export (%dictorg-handler freedict-dictorg-database |