guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

129/295: gnu: enchant: Update package definition.


From: guix-commits
Subject: 129/295: gnu: enchant: Update package definition.
Date: Mon, 27 Jul 2020 06:25:49 -0400 (EDT)

dannym pushed a commit to branch wip-desktop
in repository guix.

commit 2e66ce4d083ca91e9093e47a689f5372d03c14fa
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Sat May 30 16:28:25 2020 -0400

    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.
    
    Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
 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 375df98..4cd76a2 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+)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]