From patchwork Wed Mar 27 09:40:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Goaziou X-Patchwork-Id: 62265 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3664327BBEA; Wed, 27 Mar 2024 09:42:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B65BA27BBE2 for ; Wed, 27 Mar 2024 09:42:22 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpPnL-0007rz-Q3; Wed, 27 Mar 2024 05:42:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpPnH-0007qj-DA for guix-patches@gnu.org; Wed, 27 Mar 2024 05:42:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rpPnH-0004RM-35 for guix-patches@gnu.org; Wed, 27 Mar 2024 05:42:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rpPnH-0007vR-4m for guix-patches@gnu.org; Wed, 27 Mar 2024 05:42:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70024] [PATCH core-updates 3/4] gnu: enchant: Improve package style. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Mar 2024 09:42:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70024 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70024@debbugs.gnu.org Cc: Nicolas Goaziou Received: via spool by 70024-submit@debbugs.gnu.org id=B70024.171153250830423 (code B ref 70024); Wed, 27 Mar 2024 09:42:03 +0000 Received: (at 70024) by debbugs.gnu.org; 27 Mar 2024 09:41:48 +0000 Received: from localhost ([127.0.0.1]:35816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpPn1-0007uc-Vk for submit@debbugs.gnu.org; Wed, 27 Mar 2024 05:41:48 -0400 Received: from msg-4.mailo.com ([213.182.54.15]:58306 helo=mailo.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpPmz-0007uN-OG for 70024@debbugs.gnu.org; Wed, 27 Mar 2024 05:41:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nicolasgoaziou.fr; s=mailo; t=1711532500; bh=XkWnbdJ9BUtkBe+dLSgqI/rTHTg9a/K6J7GqQr9DMbg=; h=X-EA-Auth:From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To: References:MIME-Version:Content-Transfer-Encoding; b=P3YeGTkvfE9UvQCGaUT2Q8F1JNbeSacT5v7xxQO9YuM0c2WtrUtGN3uAx3Ua8J0gJ tc7k7a70gtSPzsKUTNsMnLoVgJJIU9vxz5ubHQdJyJnF9SZICutL6QQzGoZGzqMJs1 1ExOQQ0Wi1j9a5PYFLdvVk3PBkp3w5LaEwHF6GfI= Received: by b221-1.in.mailobj.net [192.168.90.21] with ESMTP via ip-20.mailobj.net [213.182.54.20] Wed, 27 Mar 2024 10:41:39 +0100 (CET) X-EA-Auth: 3qnH44QeThfE7zJiOtxR+A8+tkVW16i95gfld2w5IBF+x7MdM0qElZ7S2rq2fMvtZ9bNEWK1jzG1X2Gu6w80FHkLkSBUw6Inr2bq3OZkHs4= Date: Wed, 27 Mar 2024 10:40:40 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Goaziou X-ACL-Warn: , Nicolas Goaziou via Guix-patches X-Patchwork-Original-From: Nicolas Goaziou via Guix-patches via From: Nicolas Goaziou Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/enchant.scm (enchant)[arguments]: Use G-expressions. [native-inputs]: Drop input labels. [description]: Be more informative and less technical. Change-Id: I908fbbfcdc9f21beb1d6e05eec2dbc154b429831 --- gnu/packages/enchant.scm | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/gnu/packages/enchant.scm b/gnu/packages/enchant.scm index ca44b7c24d..417b5ce2e1 100644 --- a/gnu/packages/enchant.scm +++ b/gnu/packages/enchant.scm @@ -32,6 +32,7 @@ (define-module (gnu packages enchant) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages version-control) + #:use-module (guix gexp) #:use-module (guix packages) #:use-module (guix git-download) #:use-module (guix download) @@ -91,29 +92,27 @@ (define-public enchant "1bn7z8155czgzlnq2n4c915cl1vd3v95h1bghic3szy7c8q94rgm")))) (build-system gnu-build-system) (arguments - '(#:configure-flags '("--disable-static" - ;; Tests require a relocatable build. - "--enable-relocatable"))) + (list + #:configure-flags + #~(list"--disable-static" + ;; Tests require a relocatable build. + "--enable-relocatable"))) (inputs (list aspell hunspell)) (propagated-inputs ;; Required by enchant.pc. (list glib)) (native-inputs - `(("glib:bin" ,glib "bin") - ("groff" ,groff) - ("pkg-config" ,pkg-config) - ("unittest-cpp" ,unittest-cpp))) + (list `(,glib "bin") groff pkg-config 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\".") + "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 +specialized for particular languages, without needing to program to each +library's interface. If it's not convenient to call a C library, you can +access most of Enchant's functionality via the enchant program, which +communicates over a pipe, like Ispell, and is indeed Ispell-compatible.") (home-page "https://abiword.github.io/enchant/") (license lgpl2.1+)))