From unknown Sun Jul 20 12:25:57 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#58436 <58436@debbugs.gnu.org> To: bug#58436 <58436@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add hunspell-dict-hu. Reply-To: bug#58436 <58436@debbugs.gnu.org> Date: Sun, 20 Jul 2025 19:25:57 +0000 retitle 58436 [PATCH] gnu: Add hunspell-dict-hu. reassign 58436 guix-patches submitter 58436 Attila Lendvai severity 58436 normal tag 58436 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 11 08:04:25 2022 Received: (at submit) by debbugs.gnu.org; 11 Oct 2022 12:04:25 +0000 Received: from localhost ([127.0.0.1]:51289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiDzl-0000Zs-Dy for submit@debbugs.gnu.org; Tue, 11 Oct 2022 08:04:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:40440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiDzg-0000Zg-Lp for submit@debbugs.gnu.org; Tue, 11 Oct 2022 08:04:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiDzM-00061k-UO for guix-patches@gnu.org; Tue, 11 Oct 2022 08:04:09 -0400 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]:34324) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiDzK-0002no-9s for guix-patches@gnu.org; Tue, 11 Oct 2022 08:04:00 -0400 Received: by mail-ej1-x630.google.com with SMTP id ot12so30917446ejb.1 for ; Tue, 11 Oct 2022 05:03:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=lHTocMcgnktRJm4ysIuWpNw4wJpMAKNiNLCz5SmDmIg=; b=j6lpkxvG6GJasEoD1gIKQikcfm/tYsBLUKpQo6ME3kIEzq7tHdLkFjInjlUOvJEiIQ rNiUUt7LfLWJQ3eQTLEyZ7Q63+LWk5Oermyjcrh0adakTvE75fxIrm6fi+gOMI1lczyx 3NrLbO2VEJFAkjpdmIm/Ui+T+q1evI9QCt7GgAb9MwMvCXoZjWLnZBXMzEFnXzYc/7Of FPnKGSzJYYsSQuxOHYh5RcmXvAUQpA/DfU8SxZVJvTnXTNDBEXlLzbnzD/NJyhzMphhA eQM/Ql7rqx0mRcg2ika79Aqm6xUOLoR6/ZcP+FDoIzW3Ks/YOwHSDBw3lVkvbAIRgNt0 vN9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=lHTocMcgnktRJm4ysIuWpNw4wJpMAKNiNLCz5SmDmIg=; b=xwGtP5EwXZlkMehBQob8++oQOdLaA3/dVv9uVQH/uLasNfhq4u9ql2meMErxuQOO/J S6zFENeKm8FPVhCwoukMFC51tm3gwCsbU/MTp38exdm9s/OduFsnuHNqEtcxEsCTmwdF xWPus79X90EVElJeN+6o17p8LhEZK7hen+s+SsYCtFfmodOtvhV7Uuev3ecvexB93hbc t4ao3+rBNKKIn5LgHA82lwQ545ns1jdDUmPPOWN6dqSVHyyQ4Mpkd3BFYQfW9OnCGpax QwOmfVcPHmVxMa3uGyaG2gdn5AndiUzmKlFrkGdCjFt2isqVw8f3CVIgdJKzGXGTnREx FgSA== X-Gm-Message-State: ACrzQf3+zoGTulmMNHXdC9zVVGIUeB1uTP64N7KoF4ACfd2QsTzftGnJ g7bdgqeNDUitk0DbC3vjDeRmqoSLs/I= X-Google-Smtp-Source: AMsMyM7LaEZER7ZPeAWeguGsQu21a184GfvOBdvatYK94xZvIDSyt7AjJ6oSF0N5CTWOHnZy1lI6QA== X-Received: by 2002:a17:907:968b:b0:78d:c3cb:8b9b with SMTP id hd11-20020a170907968b00b0078dc3cb8b9bmr6129212ejc.252.1665489835138; Tue, 11 Oct 2022 05:03:55 -0700 (PDT) Received: from lelap.lan (catv-86-101-126-246.catv.fixed.vodafone.hu. [86.101.126.246]) by smtp.gmail.com with ESMTPSA id d6-20020a50f686000000b00459e3a3f3ddsm9158538edn.79.2022.10.11.05.03.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 05:03:53 -0700 (PDT) From: Attila Lendvai To: guix-patches@gnu.org Subject: [PATCH] gnu: Add hunspell-dict-hu. Date: Tue, 11 Oct 2022 14:02:19 +0200 Message-Id: <20221011120218.22347-1-attila@lendvai.name> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=attila.lendvai@gmail.com; helo=mail-ej1-x630.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.8 (/) X-Debbugs-Envelope-To: submit Cc: Attila Lendvai X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) --- builds it from source. testing method: after including this in the profile, LibreOffice Writer started to underline typos in hungarian paragraphs. gnu/packages/libreoffice.scm | 50 ++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm index 46eba12431..1991be9193 100644 --- a/gnu/packages/libreoffice.scm +++ b/gnu/packages/libreoffice.scm @@ -46,6 +46,7 @@ (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) @@ -60,6 +61,7 @@ (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) @@ -73,6 +75,7 @@ (define-module (gnu packages libreoffice) #:use-module (gnu packages java) #:use-module (gnu packages linux) #:use-module (gnu packages logging) + #:use-module (gnu packages m4) #:use-module (gnu packages maths) #:use-module (gnu packages nss) #:use-module (gnu packages openldap) @@ -83,6 +86,7 @@ (define-module (gnu packages libreoffice) #:use-module (gnu packages python) #:use-module (gnu packages rdf) #:use-module (gnu packages scanner) + #:use-module (gnu packages textutils) #:use-module (gnu packages tls) #:use-module (gnu packages version-control) #:use-module (gnu packages xml) @@ -996,6 +1000,52 @@ (define-public hyphen (license (list license:mpl1.1 license:mpl2.0 license:gpl2+ license:lgpl2.1+)))) +(define-public hunspell-dict-hu + (let ((revision "2") + (major+minor "1.7")) + (package + (name "hunspell-dict-hu") + (version (string-append major+minor "-" revision)) + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/magyarispell/Magyar Ispell/" + major+minor + "/magyarispell-" version ".tar.gz")) + (sha256 + (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 + (native-inputs + (list bash-minimal gawk hunspell m4 recode)) + (synopsis "Hunspell dictionary for Hungarian (hu_HU)") + (description "This package provides a dictionary for the Hunspell +spell-checking library.") + (home-page "http://magyarispell.sourceforge.net/") + (license (list license:gpl2 license:gpl3))))) + (define-public mythes (package (name "mythes") -- 2.35.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 17 04:45:04 2022 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Attila Lendvai Subject: Re: bug#58436: [PATCH] gnu: Add hunspell-dict-hu. 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58436-done Cc: 58436-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= 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.") --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 17 10:40:09 2022 Received: (at 58436-done) by debbugs.gnu.org; 17 Oct 2022 14:40:09 +0000 Received: from localhost ([127.0.0.1]:49624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okRHl-0002XH-Iz for submit@debbugs.gnu.org; Mon, 17 Oct 2022 10:40:09 -0400 Received: from mail-4323.proton.ch ([185.70.43.23]:12161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okRHh-0002WU-IW for 58436-done@debbugs.gnu.org; Mon, 17 Oct 2022 10:40:08 -0400 Date: Mon, 17 Oct 2022 14:39:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail; t=1666017599; x=1666276799; bh=izsviJy/TaBH/HBcQPtcMKBnuMIJDmKZgegtqYKhQ5w=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=f9wn7SdQV6h/LmtIb4r4LB80fRI/tkObDKFzi5l2s1AB9d+Ycl1a1Ll7P6+TUMUtk qvFoVDlMd5OOKka5MwaLEpMRVgdmMrq+pRQmAcalZ/27K0o30Xbc0oJ3FuFvq+W7tY UL+6YoHhfzSfRfhFKb+YdiSfapklJ/vaKbWGVM4aMH7k8gQFrCgTsFvjMKou+ffbVS RGXeniL88RqYtyoar8kR/9whLituQG+Ob8it+5xkKB8QSK6ymr1I0FZ0QWkLckaiNs caTW7kmb4waHYmWUUE2wwP9Xwp2G2NNx/mMJ1oGvbf5zqII+CtauRoATjx1k4hkzNm /QUPSzC4kINbA== To: =?utf-8?Q?Ludovic_Court=C3=A8s?= From: Attila Lendvai Subject: Re: bug#58436: [PATCH] gnu: Add hunspell-dict-hu. Message-ID: In-Reply-To: <878rlehm9m.fsf@gnu.org> References: <20221011120218.22347-1-attila@lendvai.name> <878rlehm9m.fsf@gnu.org> Feedback-ID: 28384833:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58436-done Cc: 58436-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Last time I tried, Hunspell dictionaries were not found in LibreOffice: > https://issues.guix.gnu.org/53147. >=20 > Is this problem gone for you? i don't see any issues with LibreOffice Writer. it's a bit tricky to set th= e paragraph's language to anything else than english for the first time in = a document, but i think it all works as expected. --=20 =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CCivilization is in a race between education and catastrophe. Let u= s learn the truth and spread it as far and wide as our circumstances allow.= For the truth is the greatest weapon we have.=E2=80=9D =09=E2=80=94 H.G. Wells (1866=E2=80=931946) From unknown Sun Jul 20 12:25:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 15 Nov 2022 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator