From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gF3aAfMWTWN4UwAAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 10:48:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cGvsAPMWTWPbmgAAG6o9tA (envelope-from ) for ; Mon, 17 Oct 2022 10:48:51 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5FF953F293 for ; Mon, 17 Oct 2022 10:48:50 +0200 (CEST) Received: from localhost ([::1]:36528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okLnl-0000cy-6G for larch@yhetil.org; Mon, 17 Oct 2022 04:48:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okLl4-000858-NX for guix-patches@gnu.org; Mon, 17 Oct 2022 04:46:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48170) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okLl4-0004ke-FP for guix-patches@gnu.org; Mon, 17 Oct 2022 04:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okLl4-0004gt-3c for guix-patches@gnu.org; Mon, 17 Oct 2022 04:46:02 -0400 Subject: bug#58436: [PATCH] gnu: Add hunspell-dict-hu. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Mon, 17 Oct 2022 08:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 58436 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Attila Lendvai Cc: 58436-done@debbugs.gnu.org Mail-Followup-To: 58436@debbugs.gnu.org, ludo@gnu.org, attila@lendvai.name Received: via spool by 58436-done@debbugs.gnu.org id=D58436.166599630417948 (code D ref 58436); Mon, 17 Oct 2022 08:46:01 +0000 Received: (at 58436-done) by debbugs.gnu.org; 17 Oct 2022 08:45:04 +0000 Received: from localhost ([127.0.0.1]:47247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okLk8-0004fP-D9 for submit@debbugs.gnu.org; Mon, 17 Oct 2022 04:45:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okLk6-0004ec-8k for 58436-done@debbugs.gnu.org; Mon, 17 Oct 2022 04:45:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58500) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okLk0-0004OO-JU; Mon, 17 Oct 2022 04:44:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=ieFrFyqMSCsw1wi5yuwyVfd7yWM4E/e8rEjFQsyvhww=; b=h6PwXn0FzRiw4864lDCQ +x05uzet+eNOW9RLVpIoV6CW7y0rdxml7FFag1gOjGsEGrzcc+bdEul6XcWIvzRSMwWvwYuX7xqoa qSnajeun3n59d7foY+QcGg5YTCJQKAIDu/NoexN0RWRgu+++pCCY04tXfdT7MZFCM3RxOdzPHDCQo J/UDISctvzakkfnQoPQZaH/HetRCY7HieuyIs1KKQSwUvibfHJvyE9K7Xx8Upv4bUK4g2i3X95U7q drXNjK7J2Eza5R6Lv5crqesH9uqeS1XNulccs1ckOkVbZbYG7gF3SD/Sxue2StHBVf9dreys1dY85 wXqkwxEydrhSgQ==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=52990 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okLk0-0001TD-14; Mon, 17 Oct 2022 04:44:56 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20221011120218.22347-1-attila@lendvai.name> Date: Mon, 17 Oct 2022 10:44:53 +0200 In-Reply-To: <20221011120218.22347-1-attila@lendvai.name> (Attila Lendvai's message of "Tue, 11 Oct 2022 14:02:19 +0200") Message-ID: <878rlehm9m.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665996530; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=ieFrFyqMSCsw1wi5yuwyVfd7yWM4E/e8rEjFQsyvhww=; b=AO5pwTUpp8HimJVAwgQengt7njpy48AEbABPjj36DmVu8zHH5fM6SGSsasnthfO3AHHXnR EM1Rsk3d3NABkkj6OwtXvIZ6wEjeOzoTRHtL2BmLnNRaRfJGB6HS6KIy+nUG3Sfh0cjjOB TgNfKyZMiSb+c8jnBN5IX+16W8DX0k69vnL1bnZV+sQ1Hp+7QlBvypl7NmEtiXlEksjtjC M1ZPQB0zHEw/rQnh5dAX9Q91xaARPnHbsRE5CjPmrLi2JJAfdha3R4msChnKBYAKqVSoLf AfGpExZgAbYgF9Pngi33c17EG8ukZBPlN3xXaA6G4ybUZeaIi21BwjPZft07fA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665996530; a=rsa-sha256; cv=none; b=LopfV7xUTNKAu/VH3jwVyzEDPWM09WLdiNlBfNFToLupaZpLD9v+Wv9dRJWPO/t+BBBmKe n2pgMzf8Nvkq4l0BYfZp+SbTqCzjGzYdBi0udRntJNZOg7gSC9TfHt4aYxsWQ2Uz0rsjft CmmlFH56/XOCST04/Wq7VvXPm7bmveHt07p41nH3ihEU4e8RlyH/LHcwmDdoY0nrDgiYCJ hAD5pK9CJTMqg6R8OBPwzfDb93r1UIvr8gZi/i2sm3ydqcTgY2HOVkl52lYJ56nWOOJN1M /v5SyGHmdWTUTgd2I7WeCv+VexBORaF4nSN8lh8JBiLZ8O3UxYCHKT9ow76KxQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=h6PwXn0F; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.82 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=h6PwXn0F; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5FF953F293 X-Spam-Score: -2.82 X-Migadu-Scanner: scn1.migadu.com X-TUID: oplVuG7mks+e --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Attila Lendvai skribis: > --- > > builds it from source. Applied with the simplifications below and a commit log. > testing method: after including this in the profile, LibreOffice Writer s= tarted to underline typos in hungarian paragraphs. Last time I tried, Hunspell dictionaries were not found in LibreOffice: . Is this problem gone for you? Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm index fdb987af59..8343f8ffc6 100644 --- a/gnu/packages/libreoffice.scm +++ b/gnu/packages/libreoffice.scm @@ -46,7 +46,6 @@ (define-module (gnu packages libreoffice) #:use-module (gnu packages aspell) #:use-module (gnu packages autotools) #:use-module (gnu packages base) - #:use-module (gnu packages bash) #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages check) @@ -61,7 +60,6 @@ (define-module (gnu packages libreoffice) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) #:use-module (gnu packages game-development) - #:use-module (gnu packages gawk) #:use-module (gnu packages ghostscript) #:use-module (gnu packages gl) #:use-module (gnu packages glib) @@ -1016,30 +1014,31 @@ (define-public hunspell-dict-hu (base32 "0r22rvqrp5bzgr9sqyap82kibi5z9n6xy5b06si28idqijw7c772")))) (build-system gnu-build-system) (arguments - (list - #:make-flags - #~(list - "myspell" - "--jobs=1" ; the Makefile is not ready for parallelism - (string-append "SH=" (search-input-file %build-inputs "/bin/bash")) - (string-append "AWK=" (search-input-file %build-inputs "/bin/awk"))) - #:phases - #~(modify-phases %standard-phases - (replace 'configure - (lambda* (#:key outputs #:allow-other-keys) - (substitute* "config" - (("/usr/bin/awk") - (search-input-file %build-inputs "/bin/awk"))))) - (replace 'install ;no install target - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (share (string-append out "/share/hunspell/"))) - (install-file "hu_HU.aff" share) - (install-file "hu_HU.dic" share) - #t)))) - #:tests? #f)) ; no tests + (list #:make-flags + #~(list "myspell" + "--jobs=1" ;the Makefile is not ready for parallelism + (string-append "SH=" + (search-input-file %build-inputs + "/bin/bash")) + (string-append "AWK=" + (search-input-file %build-inputs + "/bin/awk"))) + #:phases + #~(modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "config" + (("/usr/bin/awk") + (which "awk"))))) + (replace 'install ;no install target + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share/hunspell/"))) + (install-file "hu_HU.aff" share) + (install-file "hu_HU.dic" share))))) + #:tests? #f)) ; no tests (native-inputs - (list bash-minimal gawk hunspell m4 recode)) + (list hunspell m4 recode)) (synopsis "Hunspell dictionary for Hungarian (hu_HU)") (description "This package provides a dictionary for the Hunspell spell-checking library.") --=-=-=--