From bd695b64ff7214d0b494d70d96ba0df659c31f4c Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Sat, 30 May 2020 16:28:25 -0400 Subject: [PATCH 10/10] gnu: enchant: Update package definition. * gnu/packages/enchant.scm (enchant): Update package definition. [build-system]: Change from gnu to glib-or-gtk. [inputs]: Add hunspell. [synopsis]: Modify. [description]: Modify. --- gnu/packages/enchant.scm | 53 ++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 27 deletions(-) diff --git a/gnu/packages/enchant.scm b/gnu/packages/enchant.scm index 64eaa37cff..a91ace8c29 100644 --- a/gnu/packages/enchant.scm +++ b/gnu/packages/enchant.scm @@ -81,38 +81,37 @@ dictionaries.") (package (name "enchant") (version "2.2.8") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/AbiWord/enchant/releases" - "/download/v" version "/enchant-" - version ".tar.gz")) - (sha256 - (base32 - "0m9m564qqwbssvvf7y3dlz1yxzqsjiqy1yd2zsmb3l0d7y2y5df7")))) - (build-system gnu-build-system) + (source + (origin + (method url-fetch) + (uri + (string-append "https://github.com/AbiWord/enchant/releases" + "/download/v" version "/enchant-" + version ".tar.gz")) + (sha256 + (base32 "0m9m564qqwbssvvf7y3dlz1yxzqsjiqy1yd2zsmb3l0d7y2y5df7")))) + (build-system glib-or-gtk-build-system) (arguments - '(#:configure-flags '("--disable-static" - ;; Tests require a relocatable build. - "--enable-relocatable"))) - (inputs - `(("aspell" ,aspell))) ;; Currently, the only supported backend in Guix - (propagated-inputs ;; is aspell. (This information might be old) - ;; Required by enchant.pc. - `(("glib" ,glib))) + '(#:configure-flags + (list + "--disable-static" + ;; Tests require a relocatable build. + "--enable-relocatable"))) (native-inputs `(("glib:bin" ,glib "bin") ("pkg-config" ,pkg-config) ("unittest-cpp" ,unittest-cpp))) - (synopsis "Multi-backend spell-checking library wrapper") - (description - "On the surface, Enchant appears to be a generic spell checking library. -Looking closer, you'll see the Enchant is more-or-less a fancy wrapper around -the dlopen() system call. - -Enchant steps in to provide uniformity and conformity on top of these libraries, -and implement certain features that may be lacking in any individual provider -library. Everything should \"just work\" for any and every definition of \"just -working\".") + (inputs + `(("aspell" ,aspell) + ("hunspell" ,hunspell))) + (propagated-inputs + `(("glib" ,glib))) + (synopsis "Generic spell checking library and program") + (description "Enchant is a library and command-line program, that wraps a +number of different spelling libraries and programs with a consistent +interface. By using Enchant, you can use a wide range of spelling libraries, +including some specialised for particular languages, without needing to program +to each library's interface.") (home-page "https://abiword.github.io/enchant/") (license lgpl2.1+))) -- 2.26.2